CN106352378B - Rotary switch, control method thereof and induction cooker - Google Patents

Rotary switch, control method thereof and induction cooker Download PDF

Info

Publication number
CN106352378B
CN106352378B CN201510425301.3A CN201510425301A CN106352378B CN 106352378 B CN106352378 B CN 106352378B CN 201510425301 A CN201510425301 A CN 201510425301A CN 106352378 B CN106352378 B CN 106352378B
Authority
CN
China
Prior art keywords
light
led
rotary switch
intensity
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510425301.3A
Other languages
Chinese (zh)
Other versions
CN106352378A (en
Inventor
周宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Original Assignee
Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd filed Critical Zhejiang Shaoxing Supor Domestic Electrical Appliance Co Ltd
Priority to CN201510425301.3A priority Critical patent/CN106352378B/en
Publication of CN106352378A publication Critical patent/CN106352378A/en
Application granted granted Critical
Publication of CN106352378B publication Critical patent/CN106352378B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Rotary Switch, Piano Key Switch, And Lever Switch (AREA)
  • Switch Cases, Indication, And Locking (AREA)

Abstract

The invention relates to a rotary switch, a control method thereof and an induction cooker, wherein the rotary switch comprises: the knob piece is rotatably arranged on one surface of a light-transmitting panel of the household appliance, the base plate is arranged on the other surface of the light-transmitting panel, and the base plate and the knob piece are correspondingly arranged; the substrate is provided with at least one luminous source and at least one light detection element, wherein the luminous source and the light detection element are both electrically connected with the controller; the knob member is provided with a reflection block facing the substrate, the reflection block is used for reflecting the light emitted by the light emitting source to the light detection member, and the controller is used for determining the rotation direction and the angle of the knob member according to the intensity of the reflected light detected by the light detection member. The rotary switch solves the problem that the existing power adjusting knob cannot be waterproof due to the opening when applied in the induction cooker, and meanwhile, the rotary switch is low in production cost, so that the cost of the induction cooker is reduced.

Description

Rotary switch, control method thereof and induction cooker
Technical Field
The invention relates to a switch technology, in particular to a rotary switch for adjusting power, a control method thereof and an induction cooker.
Background
The electromagnetic oven is a cooker which utilizes an electromagnetic coil to generate electromagnetic waves and utilizes the principle of electromagnetic induction to enable an iron pan and the like placed on the electromagnetic oven to generate heat, and the power of the electromagnetic oven is generally adjusted through a power adjusting knob in the using process.
At present, a mechanical power adjusting knob is widely applied to an induction cooker for adjusting the power of the induction cooker, wherein when the mechanical power adjusting knob is applied to the induction cooker, a through hole needs to be formed in a panel of the induction cooker, then a rotating shaft of the mechanical power adjusting knob penetrates through the through hole to be connected with an internal and external mechanical rotating structure of the panel of the induction cooker, and the power of the induction cooker is adjusted through the rotating action of the knob structure.
However, when the mechanical power adjusting knob is installed on the electromagnetic oven, a through hole needs to be formed in the panel of the electromagnetic oven, so that once liquid is on the panel of the electromagnetic oven, the liquid can permeate into the electromagnetic oven through the through hole, the electromagnetic oven cannot be waterproof, and the internal elements of the electromagnetic oven are easily damaged.
Disclosure of Invention
The invention provides a rotary switch, a control method thereof and an induction cooker, which solve the technical problem that the existing power adjusting knob cannot be waterproof due to the fact that a hole is formed when the existing power adjusting knob is applied to the induction cooker, and reduce the production cost of the induction cooker.
The invention provides a rotary switch, set up on the household electrical appliance, is used for regulating the said household electrical appliance, this rotary switch includes:
the household appliance light-transmitting panel comprises a knob piece, a base plate and a controller, wherein the knob piece is rotatably arranged on one surface of the light-transmitting panel of the household appliance, the base plate is arranged on the other surface of the light-transmitting panel, and the base plate and the knob piece are correspondingly arranged;
the substrate is provided with at least one luminous source and at least one light detection element, wherein the luminous source and the light detection element are both electrically connected with the controller;
the rotary knob piece is provided with a reflection block facing the substrate, the reflection block is used for reflecting light emitted by the light emitting source to the light detection piece, the controller is used for determining the rotation direction and the angle of the rotary knob piece according to the intensity of the reflected light detected by the light detection piece, and the rotation direction and the angle of the rotary knob piece correspond to specific parameters of the household appliance.
In a specific embodiment of the present invention, the knob member and the base plate are provided with magnets, the knob member and the base plate are attracted to both sides of the light-transmitting panel by the magnets, and the knob member rotates around the magnets provided on the knob member.
In a specific embodiment of the invention, the number of the light sources and the number of the light detectors are both multiple, the multiple light sources and the multiple light detectors are alternately arranged around a magnet arranged on the substrate as a circle center to form a circular ring, the reflected light of each light source is received by an adjacent light detector, and the controller is configured to determine the rotation direction and the angle of the knob member according to the intensity of the reflected light detected by each light detector.
In a specific embodiment of the present invention, a movement track of the reflective block during the rotation of the knob member coincides with a circular ring formed by the light-emitting source and the light-detecting member alternately arranged.
In a specific implementation manner of the present invention, the light detecting element is a first light emitting diode LED, and the first LED is configured to perform discharge according to intensity of received reflected light, wherein a negative electrode of the first LED is connected to the controller, a positive electrode of the first LED is connected to one end of a first resistor, another end of the first resistor is connected to a collector of a first triode, and a base and an emitter of the first triode are connected to the controller;
the controller is used for determining the intensity of the reflected light received by the first LED according to the discharge time of the first LED, and determining the rotating direction and the rotating angle of the knob piece according to the intensity of the reflected light received by the first LED.
In a specific implementation manner of the present invention, the light emitting source is a second LED, wherein a negative electrode of the second LED is connected to the controller, a positive electrode of the second LED is connected to one end of a second resistor, the other end of the second resistor is connected to a collector of a second triode, and a base and an emitter of the second triode are connected to the controller;
the controller is used for controlling the first LED to be changed from non-luminous to luminous after the first LED finishes discharging, controlling the second LED to be changed from luminous to non-luminous, and enabling the non-luminous second LED to discharge according to the intensity of the received reflected light, wherein the controller controls the first LED and the second LED to alternately emit light according to the discharging time of the first LED and the second LED;
the controller is further configured to determine the intensity of the reflected light received by the first LED and the intensity of the reflected light received by the second LED according to the discharge time of the first LED and the discharge time of the second LED, and determine the rotation direction and the angle of the knob member according to the intensity of the reflected light received by the first LED and the intensity of the reflected light received by the second LED.
In a specific embodiment of the present invention, the first LED and the second LED are red LEDs of the same type.
In a specific embodiment of the present invention, the substrate is a printed circuit board PCB.
In a specific embodiment of the present invention, the light emitting diode is a standard type light emitting diode or a high-directional type light emitting diode.
In a specific embodiment of the present invention, the light source and the light detector are both light emitting diodes, and the controller is configured to control two adjacent light emitting diodes to be in two opposite states of emitting light and detecting light, respectively.
The invention also provides a control method of the rotary switch, wherein the rotary switch is the rotary switch, the rotary switch is arranged on the household appliance, and the control method comprises the following steps:
the controller controls the light emitting source to emit light, wherein light emitted by the light emitting source is reflected to the light detection piece through the reflection block, and the light detection piece detects the intensity of the reflected light;
the controller determines the rotating direction and angle of the knob member according to the intensity of the reflected light detected by the light detecting member, wherein the rotating direction and angle of the knob member correspond to specific parameters of the household appliance.
In a specific embodiment of the present invention, when the light-emitting source and the light-detecting element are both a plurality of light-emitting diodes LEDs, the controller controls two adjacent LEDs to be in two opposite states of light-emitting and non-light-emitting, respectively, and light emitted by the light-emitting LED is reflected to one adjacent non-light-emitting LED through the reflecting block, and the non-light-emitting LED detects intensity of the reflected light;
the controller determines the direction and angle of rotation of the knob member based on the intensity of the reflected light detected by each non-emitting LED.
In a specific embodiment of the present invention, the detecting the intensity of the reflected light by the non-luminous LED includes:
the non-luminous LED receives the reflected light and discharges according to the intensity of the reflected light;
the controller determines the intensity of the reflected light received by each non-emitting LED based on the discharge time of each non-emitting LED.
In an embodiment of the present invention, after the discharging of the non-light emitting LED, the method further includes:
the controller controls the non-luminous LED to change from non-luminous to luminous and controls the luminous LED to change from luminous to non-luminous, wherein the controller controls the adjacent two LEDs to alternately emit light according to the discharge time of the non-luminous LED.
The invention also provides an induction cooker which comprises a cooker body, wherein a light-transmitting panel is arranged on the cooker body, and the induction cooker also comprises the rotary switch, wherein a substrate of the rotary switch is positioned on one surface, facing the cooker body, of the light-transmitting panel, the rotary switch is used for adjusting the power of the induction cooker, the substrate of the rotary switch is arranged on one surface, facing the cooker body, of the light-transmitting panel, a knob piece of the rotary switch is rotatably arranged on the other surface of the light-transmitting panel, and the knob piece and the substrate are correspondingly arranged on the two surfaces of the light-transmitting panel.
The invention provides a rotary switch and a control method thereof and an induction cooker, wherein the rotary switch comprises a knob piece, a substrate and a controller, the knob piece is rotatably arranged on one surface of a light-transmitting panel of a household appliance, the substrate is arranged on the other surface of the light-transmitting panel, and the substrate and the knob piece are correspondingly arranged, so that holes on the panel of the household appliance are avoided, and the problem that the existing power adjusting button cannot be waterproof due to the holes when being applied in the induction cooker is solved. The rotating direction and the angle of the knob piece correspond to specific parameters of the household appliance, so that the knob switch provided by the invention can realize the adjustment of the specific parameters of the household appliance, has a simple structure and lower generation cost, and can reduce the production cost of the induction cooker when the rotary switch is used in the induction cooker.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic view of a rotary switch according to the present invention;
FIG. 2 is a schematic view of a knob member of the rotary switch of the present invention;
FIG. 3 is a schematic structural diagram of a base plate in the rotary switch of the present invention;
FIG. 4 is a schematic view of a controller in the rotary switch of the present invention;
FIG. 5 is a circuit diagram of a first LED in the rotary switch of the present invention;
FIG. 6 is a circuit diagram of a second LED in the rotary switch of the present invention;
FIG. 7 is a graph of time versus voltage for a rotary switch according to the present invention;
fig. 8 is a flow chart illustrating a control method of the rotary switch according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The knob switch provided by the embodiment is arranged on the household appliance, and can be used for adjusting the power of the household appliance (for example, the knob switch is applied to the household appliance such as an electromagnetic oven and a microwave oven to adjust the power), adjusting the temperature of the household appliance, and adjusting specific parameters such as the working time of the household appliance.
Fig. 1 is a schematic structural diagram of a rotary switch of the present invention, fig. 2 is a schematic structural diagram of a knob member in the rotary switch of the present invention, fig. 3 is a schematic structural diagram of a base plate in the rotary switch of the present invention, as shown in fig. 1 to 3, the rotary switch is disposed on a household appliance, and may be particularly disposed on a light-transmitting panel 1 of the household appliance, and in this embodiment, the rotary switch includes: a knob member 3, a base plate 2 and a controller (see the following figure 4), wherein the knob member 3 is rotatably disposed on one side of a light-transmitting panel 1 of a household appliance, the base plate 2 is disposed on the other side of the light-transmitting panel 1, as shown in figure 1, the knob member 3 is disposed on the upward side (the side facing the user) of the light-transmitting panel 1, the base plate 2 is disposed on the downward side (the side facing away from the user) of the light-transmitting panel 1, it should be noted that, when the knob member 3 and the base plate 2 are disposed on both sides of the light-transmitting panel 1, it is not necessary to provide a through hole on the light-transmitting panel 1 for installing the knob member 3 and the base plate 2, for example, a base or a connecting member can be fixed on both sides of the light-transmitting panel 1, the knob member 3 and the base plate 2 can be disposed on both sides of the light-transmitting panel 1 through a base or connecting member, for, attract through magnet mutually and adsorb on the two sides of printing opacity panel, like this, when knob switch sets up on domestic appliance, need not to set up the through-hole on domestic appliance's panel to just can avoid leading to unable waterproof problem because of set up the through-hole on the panel. In the present embodiment, when the substrate 2 and the knob member 3 are disposed on both sides of the light-transmissive panel 1, the substrate 2 and the knob member 3 are disposed correspondingly, that is, the knob member 3 and the substrate 2 are disposed at the same position on both sides of the light-transmissive panel 1.
In this embodiment, in order to realize the adjustment of specific parameters (such as power level) of the household appliance by the rotary switch, at least one light emitting source a and at least one light detecting element B are disposed on the substrate 2, wherein both the light emitting source a and the light detecting element B are electrically connected to the controller, in this embodiment, the surface of the knob member 3 facing the substrate 2 cannot reflect light, and in order to reflect light emitted from the light emitting source a, in this embodiment, a reflective block 31 facing the substrate 2 is disposed on the knob member 3, and the reflective block 31 is used to reflect light, wherein the reflective block 31 can be disposed by directly disposing on the plane of the knob member 3 facing the substrate 2, for example, by selecting a reflective layer material on a certain area on the plane of the knob member 3 facing the substrate 2, the reflective layer is used as the reflective block 31, or by forming a groove on the plane of the knob member 3 facing the substrate 2, in the embodiment, in the rotating process of the knob member 3, the reflecting block 31 reflects the light emitted by the light emitting source a to the light detecting member B, the light detecting member B detects the received reflected light, the controller determines the rotating direction and angle of the knob member 3 according to the intensity of the reflected light detected by the light detecting member B, and then adjusts the household appliance to corresponding parameters according to the corresponding relationship between the rotating direction and angle of the knob member 3 and the specific parameters of the household appliance.
In this embodiment, the number of the light emitting sources a and the light detecting elements B disposed on the substrate 2 may be one, or may be multiple (as shown in fig. 3), wherein when the number of the light emitting sources a and the light detecting elements B disposed on the substrate 2 is one, the light detecting elements B may detect the reflected light beams with different intensities during the rotation of the knob member 3, the controller determines the rotation direction and the angle of the knob member 3 according to the reflected light beams with different intensities detected by the light detecting elements B, and when there are multiple light emitting sources a and multiple light detecting elements B on the substrate 2, the detailed description in the following embodiments may be specifically referred to.
The rotary switch provided by this embodiment, the knob member is rotatably disposed on one side of the translucent panel of the household appliance, the substrate is disposed on the other side of the translucent panel, and the substrate and the knob member are disposed correspondingly, thereby avoiding the opening on the panel of the household appliance, and solving the problem that the existing power adjusting button cannot be waterproof due to the opening when applied in the electromagnetic oven, meanwhile, at least one light source and at least one light detecting member are disposed on the substrate, the light source and the detecting member are electrically connected by a controller, a reflecting block facing the substrate is disposed on the knob member, the reflecting block reflects the light emitted by the light source to the light detecting member, the controller determines the rotation direction and angle of the knob member according to the intensity of the reflected light detected by the light detecting member, the rotation direction and angle of the knob member correspond to specific parameters of the household appliance, therefore, the knob switch provided by the embodiment can realize the adjustment of specific parameters of the household appliance, and the rotary switch has a simple structure and lower generation cost.
On the basis of the above embodiments, in the present embodiment, as shown in fig. 2 and fig. 3, the magnet 32 is disposed on the knob member 3, the magnet 22 is disposed on the substrate 2, and the knob member 3 and the substrate 2 are attracted and adsorbed on both sides of the light-transmitting panel 1 through the magnet 32 and the magnet 22, in the present embodiment, the knob member 3 and the magnet 32 and the substrate 2 and the magnet 22 may be fixedly connected, or may be connected in a snap-in manner, for example, by forming a groove on a surface of the knob member 3 facing the substrate 1, and snapping the magnet 32 in the groove, or forming a groove on a surface of the substrate 2 facing the knob member 3, and snapping the magnet 22 in the groove, in the present embodiment, the knob member 3 rotates around the magnet 32 during the rotation process, and the magnet 32 attracts the magnet 22 on one hand, and rotates with the knob member 2 as a rotation shaft, in the present embodiment, the knob member 3 and the substrate 2 are disposed on both sides of the light-transmitting panel 1 through the attraction of the, avoided offering the through-hole on printing opacity panel 1, and then solved and caused the inside unable waterproof problem of domestic appliance because of offering the through-hole on printing opacity panel, when inhaling installation knob switch through magnet mutually moreover, easy operation, convenience, simultaneously, can change knob switch position on printing opacity panel at any time, it is more convenient when wasing printing opacity panel 1 like this.
Further, on the basis of the above-mentioned embodiment, in this embodiment, as shown in fig. 3, the number of the light-emitting sources a and the light-detecting elements B is multiple, the light-emitting sources a and the light-detecting elements B are alternately arranged around the magnet 22 disposed on the substrate 2 to form a circular ring, and the reflected light of each light-emitting source a is received by an adjacent one of the light-detecting elements B, the controller determines the rotation direction and angle of the knob member 3 according to the intensity of the reflected light detected by each of the light-detecting elements B, in this embodiment, in order to receive the reflected light of each light-emitting source a by an adjacent one of the light-detecting elements B, the reflected angle is specifically defined when the light is reflected by the reflection block 31, so that the reflected light of each light-emitting source a can only be received by an adjacent one of the light-detecting elements B, after the rotation of the knob member 3 is completed, the controller determines the rotation direction and angle of the knob member 3 according to the intensity of the reflected, in this embodiment, the accuracy of the position determination of the knob member 3 is improved by providing the plurality of light-emitting sources a and the plurality of light-detecting members B on the substrate 2.
Further, on the basis of the above embodiment, in the present embodiment, the movement track of the reflection block 31 during the rotation of the knob member 3 is overlapped with the circular ring formed by the plurality of light emitting sources a and the plurality of light detecting elements B arranged alternately, so that the light emitted from the light emitting sources a is reflected to the light detecting elements B more accurately by the reflection block 31.
Fig. 4 is a schematic diagram of a controller in the rotary switch of the present invention, fig. 5 is a Circuit diagram of a first LED in the rotary switch of the present invention, in this embodiment, the controller is specifically a Micro Control Unit (MCU), in this embodiment, the substrate 2 is a Printed Circuit Board (PCB), in this embodiment, the light detector B is a first Light Emitting Diode (LED), that is, the light detector B is a light emitting diode, and the light emitting diode is used for detecting the intensity of the reflected light, and the specific principle is as follows: in this embodiment, 6 optical detectors B and 6 light sources a are taken as an example for explanation, as shown in fig. 5, the 6 optical detectors are light emitting diodes D0 to D5 (i.e., first LEDs), wherein negative IO interfaces of light emitting diodes D0 to D5 are IO0 to IO5, in this embodiment, negative IO interfaces (i.e., IO0 to IO 0) of D0 to D0 are connected to IO0 provided on a controller (e.g., an MCU shown in fig. 4), positive electrodes of first LEDs (D0 to D0) are connected to first resistors (i.e., R0 to R0), the other ends of the first resistors (i.e., R0 to R0) are connected to a collector of the first transistor Q0, a base of the first transistor Q0 is connected in series to a resistor R0 and is connected to the IO0 interface of the MCU through the IO0 interface, a base of the first transistor Q0 is connected to a voltage VCC of the first transistor Q0, and an equivalent resistor (i.e., a base of the first transistor R0) is connected to an emitter 0, and an equivalent resistor D0 is provided between the first transistor D0 and an emitter of the first transistor R0, and an equivalent resistor R0, the first transistor R0, the first Wherein, when the high level is inputted from IO 0-IO 5 and IO7, the LEDs D0-D5 are reversely biased and do not emit light, and are internally charged, and when light is received, the internal discharge is performed, and the stronger the received light is, the faster the discharge is, in this embodiment, the controller detects the intensity of the reflected light according to the discharge time of the LEDs, specifically, the controller first controls the light emitting source a to emit light, and inputs the high level (+5V) to the IO 0-IO 5 and IO7 interfaces, at this time, the first LEDs (D0-D5) do not emit light as the light detecting element, when the light emitted from a certain light emitting source is reflected to an adjacent first LED (one of D0-D5) through the reflecting block 31, the first LED discharges according to the intensity of the received reflected light, after the rotation is finished, the controller determines the intensity of the reflected light received by each first LED according to the discharge time of the first LED, and determines the rotation direction and the rotation angle of the button 3 according to the intensity received by each first LED, specifically, the intensity of the reflected light received by each first LED can determine a corresponding rotation angle, the rotation angles determined by each first LED are added to obtain the rotation angle of the knob piece 3, and the rotation direction of the knob piece 3 is judged according to the discharging sequence of the first LEDs.
Fig. 6 is a circuit diagram of a second LED in the rotary switch of the present invention, fig. 7 is a graph illustrating time and voltage curves in the rotary switch of the present invention, referring to fig. 5-7, in this embodiment, the light source a is a second LED, i.e., in this embodiment, the light detecting element B is a light emitting diode, and in order to distinguish the light source a from the first LED of the light detecting element B, in this embodiment, the light emitting diode corresponding to the light source a is defined as a second LED, i.e., the first LED and the second LED are only for distinguishing LEDs, and are not used to limit LEDs, in this embodiment, 6 light sources a and 6 light detecting elements B (as shown in fig. 3) are taken as an example for explanation, and as shown in fig. 3, 6 light sources a and 6 light detecting elements B are alternately arranged to form a ring, i.e., the first LED and the second LED are alternately arranged to form a ring, and as shown in fig. 6, 6 light emitting diodes D10 to D15 (i.e., the, wherein the negative IO interfaces of the light emitting diodes D-D are IO-IO respectively, in this embodiment, the negative IO interfaces (i.e. IO-IO) of D-D are connected with IO-IO corresponding to the controller (such as MCU shown in FIG. 4), the positive electrodes of the second LEDs (i.e. D-D) are connected with the second resistors (i.e. R-R) respectively, the other ends of the second resistors (i.e. R-R) are connected with the collector of the second transistor Q, the base of the second transistor Q is connected with the base of the MCU in series via the IO interface, the emitter of the second transistor Q is connected with the Voltage (VCC) interface of the MUC, a resistor R is arranged between the base and the emitter of the second transistor Q, the second LEDs (D-D), the second resistors (R-R) and the second transistor Q form an equivalent circuit, wherein, when IO input is low (0V), the second LEDs (D-D) are turned on, the second LEDs (D10-D15) emit light, when the IO 10-IO 15 and IO17 input high level (+5V), D10-D15 are reversely biased and do not emit light, and are internally charged, and when receiving light, the internal discharge is performed, and the stronger the received light is, the faster the discharge is, in this embodiment, the second LEDs can emit light and can detect the intensity of the reflected light according to the discharge time of the light emitting diode, and the specific implementation manner is as follows:
the controller (MUC) firstly inputs a low level (0V) to interfaces IO 10-IO 15 and IO17, inputs a high level (+5V) to interfaces IO 0-IO 5 and IO7, the second triode Q11 is conducted, the second LED (D10-D15) starts to emit light (light emitting source at this time), the first diode Q1 is not conducted, the first LED (D0-D5) does not emit light (light detecting element at this time), the first LED is internally charged, light emitted by the second LED which emits light is reflected to an adjacent first LED which does not emit light through the reflecting block 31 during the rotation of the knob element 3, the first LED which receives the reflected light starts to discharge according to the intensity of the reflected light, after the first LED finishes discharging, the controller inputs a low level (0V) to interfaces IO 5-IO 7, inputs a high level (+5V) to interfaces IO 10-IO 15 and IO17, and the first LED is changed from light emitting diode to an LED 5 which emits light when the first LED is conducted, the second triode Q11 is not turned on, the second LEDs (D10-D15) change from emitting light to non-emitting light, the light emitted by the first LED (D0-D5) emitting light is reflected to an adjacent second LED (D10-D15) emitting no light through the reflection block 31, the second LED emitting no light discharges according to the intensity of the received reflected light, after the second LED (D10-D15) discharges, the controller inputs a low level (0V) to the IO 10-IO 15 and IO17 interfaces, inputs a high level (+5V) to the IO 0-IO 5 and IO7 interfaces, changes the second LED emitting no light to emitting light, changes the first LED emitting light to emitting light, and controls the first LED and the second LED to alternately emit light according to the discharge time of the first LED and the second LED (the difference between t3 and t2 in fig. 7 is the discharge time of the first LED and the second LED, in this embodiment, the controller controls the first LED and the second LED to alternately emit light or the second LED to capture the external MCU, the time difference of subtracting t2 from t3 is calculated to be the discharging time of the LEDs, the controller determines the intensity of the reflected light received by each first LED and the intensity of the reflected light received by each second LED according to the discharging time of each first LED and the discharging time of each second LED, determines the position of the reflection block 31 according to the intensity of the reflected light received by each first LED and each second LED, determines the rotation angle of the reflection block 31 according to the change track of the position of the reflection block 31 along with the corresponding discharging time (the difference between t3 and t 2), sums up all the rotation angles of the reflection block 31 to obtain the rotation angle of the knob piece 3, and the rotation direction of the knob piece 3 is determined according to the discharging sequence of the LEDs.
In this embodiment, when the first LED emits light, the second LED serves as a light detector to detect the intensity of the received reflected light, and when the second LED emits light, the first LED serves as a light detector to detect the intensity of the received reflected light.
In this embodiment, the light source and the light detecting element are both LEDs, and the controller controls the first LED and the second LED to alternately emit light according to the discharge time of the first LED and the second LED, so that the accuracy of the position determination of the knob member 3 is greatly improved.
Further, on the basis of the above embodiment, in this embodiment, since the LED emits light with a large wavelength, it can receive the light with the wavelength well, so that the light energy emitted by the LED can be received well by the LEDs of the same type, in this embodiment, the first LED and the second LED are the LEDs of the same type, and in addition, the energy transfer of the infrared light is the best according to the light energy characteristics and the reflection properties, therefore, in this embodiment, the red LED may be preferred, further, in this embodiment, the LED may be a standard type LED, may be a high-directional type LED, and the scattering angle of the standard type LED or the high-directional type LED may be reduced, thereby improving the reflection sensitivity, reducing the interference, and improving the accuracy of the judgment.
Fig. 8 is a schematic flow chart of a control method of a rotary switch according to the present invention, and as shown in fig. 8, the specific structure of the rotary switch refers to the rotary switch described in any of the above embodiments, the rotary switch is disposed on a household appliance, and when the household appliance is used, the specific control method includes the following steps:
step 801, a controller controls a luminous source to emit light, wherein light emitted by the luminous source is reflected to a light detection element through a reflection block, and the light detection element detects the intensity of the reflected light;
in this embodiment, referring to fig. 1-3, the controller first controls all the light emitting sources a on the substrate 2 to emit light, during the rotation of the knob member 3, the light emitted by the light emitting sources a after emitting light is reflected to the light detecting element B through the reflecting block 31, and the light detecting element B detects the intensity of the received reflected light.
And step 802, the controller determines the rotating direction and angle of the knob piece according to the intensity of the reflected light detected by the light detecting piece, wherein the rotating direction and angle of the knob piece correspond to specific parameters of the household appliance.
In this embodiment, the controller determines the rotation direction and angle of the knob member 3 according to the intensity of the reflected light detected by the light detector B, and then adjusts the household appliance to corresponding parameters according to the corresponding relationship between the rotation direction and angle of the knob member 3 and the specific parameters of the household appliance.
In the control method of the rotary switch provided by this embodiment, the controller controls the light-emitting source to emit light, the light emitted by the light-emitting source is reflected onto the light-detecting element through the reflecting block, the light-detecting element detects the intensity of the reflected light, and the controller determines the rotation direction and angle of the knob element according to the intensity of the reflected light detected by the light-detecting element, so that the rotary switch can adjust specific parameters of the household appliance.
Further, on the basis of the above-mentioned embodiments, in this embodiment, referring to fig. 4-6, the light emitting source a and the light detecting element B are both LEDs, such as the light emitting diodes D0-D5 and D10-D15 shown in fig. 5-6, wherein the light emitting diodes D0-D5 and D10-D15 are alternately arranged to form a ring as shown in fig. 3, the controller may first control the light emitting diodes D0-D5 to emit light and the light emitting diodes D10-D15 to not emit light, or may first control the light emitting diodes D10-D15 to emit light and the light emitting diodes D0-D5 to not emit light, that is, the controller controls the adjacent two LEDs to emit light and not emit light respectively in opposite states, and in this embodiment, the light emitted by the light emitting LED in the two adjacent LEDs is reflected to the adjacent one non-emitting LED through the reflecting block 31, and the non-emitting LED detects the intensity of the reflected light, in this embodiment, it should be noted that, when the light emitted from the LED emitting light is reflected by the reflection block 31, the reflection angle is set so that the reflected light can only be reflected to an adjacent LED not emitting light, for example, when D10 is between the LEDs D0 and D1, if D10 emits light and D0 and D1 do not emit light, the emission block 31 rotates to a position between D0 and D1, the light emitted from D10 is reflected to D0 or D1 through the reflection block 31 but not reflected to D0 and D1 at the same time, and when the LED not emitting light detects the intensity of the reflected light, the controller determines the rotation direction and angle of the knob member 3 according to the intensity of the reflected light detected by each LED not emitting light. In this embodiment, the connection relationship between the LEDs (i.e., D0-D5 and D10-D15) and the controller and how the controller controls the LEDs to emit light and not emit light are specifically described in the above embodiments, and are not described in detail in this embodiment.
In the embodiment, the light emitting source and the light detecting element are both selected to be LEDs, the controller controls the LEDs, so that the household appliance can be adjusted by the rotary switch, the whole control circuit is simple, and the cost of devices used in the control circuit is low, so that the cost of the rotary switch is reduced.
Further, in this embodiment, the non-light-emitting LEDs detect the intensity of the reflected light, specifically, since the LEDs are connected to the controller through the triodes to form an equivalent circuit, after the non-light-emitting LEDs receive the reflected light, the non-light-emitting LEDs discharge under the action of the intensity of the reflected light, wherein the greater the intensity of the reflected light, the faster the discharge time, and thus, the intensity of the reflected light can be determined according to the discharge time of the LEDs; therefore, in this embodiment, the controller determines the intensity of the reflected light received by each non-emitting LED according to the discharge time of each non-emitting LED.
Further, on the basis of the above embodiment, in this embodiment, after the LED that does not emit light is discharged, the method further includes: the controller controls the non-luminous LED to change from non-luminous to luminous and the luminous LED to change from luminous to non-luminous, so that in the rotation process of the knob member 3, the LED can change from non-luminous to luminous or from luminous to non-luminous according to the intensity of the received reflected light, it should be noted that when the LED emits light, only light can be emitted, light cannot be detected, and the intensity of the reflected light can only be detected by the non-luminous LED, therefore, the controller determines the intensity of the reflected light received by the non-luminous LED according to the discharge time of each non-luminous LED, meanwhile, in the embodiment, after the discharge of a certain non-luminous LED is finished, the controller controls all the non-luminous LEDs to emit light and controls all the LEDs which emit light before, in the embodiment, the controller controls two adjacent LEDs to alternately emit light according to the discharge time of the non-luminous LED, the controller controls the adjacent two LEDs to alternately emit light, so that the determination of the rotation position of the rotating member 3 is more accurate.
Further, the present invention also provides an electromagnetic oven, which includes an oven body, a light-transmitting panel (similar to the household electrical appliance light-transmitting panel 1 in fig. 1) disposed on the oven body, and the electromagnetic oven further includes a rotary switch as described in any of the above embodiments, and relevant parameters of the electromagnetic oven, such as power, operating time, and temperature of the electromagnetic oven, can be adjusted by the rotary switch in the above embodiments, in this embodiment, a substrate 2 of the rotary switch is disposed on one side of the light-transmitting panel facing the oven body, i.e., the back side of the light-transmitting panel, a knob member 3 of the rotary switch is disposed on the other side of the light-transmitting panel, i.e., the front side of the light-transmitting panel, and the knob member 3 and the substrate 2 are disposed on the two sides of the light-transmitting panel, in this embodiment, the knob member 3 and the substrate 2 can be attracted and adsorbed on the two sides of the light-transmitting panel by a magnet 32 and a, therefore, the through holes are prevented from being formed in the light-transmitting panel of the induction cooker, in the embodiment, the light-transmitting panel can be a glass panel and can also be other light-transmitting panels, when the induction cooker is used, the specific parameters of the induction cooker can be adjusted by rotating the knob piece 3, the specific implementation mode of the knob switch refers to the embodiment, and the detailed description is omitted in the embodiment.
The electromagnetism stove that this embodiment provided, through including knob switch, and this knob switch includes knob piece and base plate, and knob piece and base plate setting have avoided trompil on the electromagnetism stove on the two planes of printing opacity panel to solved among the prior art electromagnetism stove and caused unable waterproof problem because of the trompil, this knob switch cost is lower simultaneously, and then has reduced the manufacturing cost of electromagnetism stove.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A rotary switch for adjusting a household appliance, comprising:
the household appliance light-transmitting panel comprises a knob piece, a base plate and a controller, wherein the knob piece is rotatably arranged on one surface of the light-transmitting panel of the household appliance, the base plate is arranged on the other surface of the light-transmitting panel, and the base plate and the knob piece are correspondingly arranged;
the substrate is provided with at least one luminous source and at least one light detection element, wherein the luminous source and the light detection element are both electrically connected with the controller;
the knob piece is provided with a reflection block facing the substrate, the reflection block is used for reflecting light rays emitted by the light emitting source to the light detection piece, the controller is used for determining the rotation direction and the angle of the knob piece according to the intensity of the reflected light rays detected by the light detection piece, and the rotation direction and the angle of the knob piece correspond to specific parameters of the household appliance;
the light emitting source and the light detecting element are both light emitting diodes, and the controller is used for controlling the two adjacent light emitting diodes to be in two opposite states of emitting light rays and detecting light rays respectively.
2. The rotary switch according to claim 1, wherein the knob member and the base plate are provided with magnets, the knob member and the base plate are attracted to both sides of the light-transmitting panel by the magnets, and the knob member rotates around the magnets provided on the knob member.
3. The rotary switch according to claim 2, wherein the number of the light sources and the light detectors is plural, and the plural light sources and the plural light detectors are alternately arranged around a magnet disposed on the substrate to form a circular ring, and the reflected light from each light source is received by an adjacent one of the light detectors, and the controller is configured to determine the rotation direction and the angle of the knob member according to the intensity of the reflected light detected by each light detector.
4. The rotary switch according to claim 3, wherein the movement locus of the reflective block during the rotation of the knob member coincides with a circular ring formed by the alternate arrangement of the light emitting source and the light detecting member.
5. The rotary switch according to claim 1 or 3, wherein the light detecting element is a first Light Emitting Diode (LED) and the first LED is configured to discharge according to the intensity of the received reflected light, wherein a cathode of the first LED is connected to the controller, an anode of the first LED is connected to one end of a first resistor, another end of the first resistor is connected to a collector of a first triode, and a base and an emitter of the first triode are connected to the controller;
the controller is used for determining the intensity of the reflected light received by the first LED according to the discharge time of the first LED, and determining the rotating direction and the rotating angle of the knob piece according to the intensity of the reflected light received by the first LED.
6. The rotary switch according to claim 5, wherein the light source is a second LED, wherein a cathode of the second LED is connected to the controller, an anode of the second LED is connected to one end of a second resistor, the other end of the second resistor is connected to a collector of a second transistor, and a base and an emitter of the second transistor are connected to the controller;
the controller is used for controlling the first LED to be changed from non-luminous to luminous after the first LED finishes discharging, controlling the second LED to be changed from luminous to non-luminous, and enabling the non-luminous second LED to discharge according to the intensity of the received reflected light, wherein the controller controls the first LED and the second LED to alternately emit light according to the discharging time of the first LED and the second LED;
the controller is further configured to determine the intensity of the reflected light received by the first LED and the intensity of the reflected light received by the second LED according to the discharge time of the first LED and the discharge time of the second LED, and determine the rotation direction and the angle of the knob member according to the intensity of the reflected light received by the first LED and the intensity of the reflected light received by the second LED.
7. The rotary switch of claim 6, wherein the first LED and the second LED are red LEDs of the same type.
8. The rotary switch of claim 1, wherein the substrate is a Printed Circuit Board (PCB).
9. A control method of a rotary switch, wherein the rotary switch is the rotary switch according to any one of claims 1 to 8, the rotary switch being provided on a household appliance, the control method comprising:
the controller controls the light emitting source to emit light, wherein light emitted by the light emitting source is reflected to the light detection piece through the reflection block, and the light detection piece detects the intensity of the reflected light;
the controller determines the rotating direction and angle of the knob member according to the intensity of the reflected light detected by the light detecting member, wherein the rotating direction and angle of the knob member correspond to specific parameters of the household appliance.
10. The control method according to claim 9, wherein when the light-emitting source and the light-detecting element are both a plurality of light-emitting diodes (LEDs), the controller controls two adjacent LEDs to be in opposite states of emitting light and not emitting light, and the light emitted from the light-emitting LED is reflected to an adjacent non-light-emitting LED via the reflection block, and the non-light-emitting LED detects the intensity of the reflected light;
the controller determines the direction and angle of rotation of the knob member based on the intensity of the reflected light detected by each non-emitting LED.
11. The method of claim 10, wherein the detecting of the intensity of the reflected light by the non-emitting LED comprises:
the non-luminous LED receives the reflected light and discharges according to the intensity of the reflected light;
the controller determines the intensity of the reflected light received by each non-emitting LED based on the discharge time of each non-emitting LED.
12. The method of claim 11, wherein after discharging the non-emitting LED, further comprising:
the controller controls the non-luminous LED to change from non-luminous to luminous and controls the luminous LED to change from luminous to non-luminous, wherein the controller controls the adjacent two LEDs to alternately emit light according to the discharge time of the non-luminous LED.
13. An electromagnetic oven, comprising an oven body, a light transmission panel arranged on the oven body, characterized in that, it also comprises a rotary switch of any of the above claims 1-8, the rotary switch is used to adjust the power of the electromagnetic oven, the base plate of the rotary switch is arranged on one side of the light transmission panel facing the oven body, the knob piece of the rotary switch is rotatably arranged on the other side of the light transmission panel, wherein, the knob piece and the base plate are correspondingly arranged on the two sides of the light transmission panel.
CN201510425301.3A 2015-07-17 2015-07-17 Rotary switch, control method thereof and induction cooker Active CN106352378B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510425301.3A CN106352378B (en) 2015-07-17 2015-07-17 Rotary switch, control method thereof and induction cooker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510425301.3A CN106352378B (en) 2015-07-17 2015-07-17 Rotary switch, control method thereof and induction cooker

Publications (2)

Publication Number Publication Date
CN106352378A CN106352378A (en) 2017-01-25
CN106352378B true CN106352378B (en) 2020-03-24

Family

ID=57842719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510425301.3A Active CN106352378B (en) 2015-07-17 2015-07-17 Rotary switch, control method thereof and induction cooker

Country Status (1)

Country Link
CN (1) CN106352378B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107301927B (en) * 2017-08-24 2019-07-09 福鼎诺一家居设计有限公司 Photoelectric power switch
CN114216393B (en) * 2022-02-21 2022-05-17 泉州昆泰芯微电子科技有限公司 Rotation angle detection device, knob, learning tool, and entertainment tool

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4414452A (en) * 1982-12-13 1983-11-08 Oak Industries Inc. Means for attaching auxiliary devices to a membrane switch
CN1744004A (en) * 2004-08-31 2006-03-08 保力马科技株式会社 Key switch and electronic device
CN101826863A (en) * 2010-05-10 2010-09-08 浙江苏泊尔家电制造有限公司 Sucker type knob switch for electrical appliance
CN201699676U (en) * 2010-05-05 2011-01-05 浙江苏泊尔家电制造有限公司 Knob switch
CN204786647U (en) * 2015-07-17 2015-11-18 浙江绍兴苏泊尔生活电器有限公司 Rotary switch and induction cooker

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4414452A (en) * 1982-12-13 1983-11-08 Oak Industries Inc. Means for attaching auxiliary devices to a membrane switch
CN1744004A (en) * 2004-08-31 2006-03-08 保力马科技株式会社 Key switch and electronic device
CN201699676U (en) * 2010-05-05 2011-01-05 浙江苏泊尔家电制造有限公司 Knob switch
CN101826863A (en) * 2010-05-10 2010-09-08 浙江苏泊尔家电制造有限公司 Sucker type knob switch for electrical appliance
CN204786647U (en) * 2015-07-17 2015-11-18 浙江绍兴苏泊尔生活电器有限公司 Rotary switch and induction cooker

Also Published As

Publication number Publication date
CN106352378A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
US11044794B2 (en) Intelligent lighting control system zone identification apparatuses, systems, and methods
US10716193B2 (en) Intelligent lighting control method and apparatus for spatial location determination
US20200015336A1 (en) Control device having buttons with multiple-level backlighting
CA2987406C (en) Control device having an integral reflecting structure for a sensing circuit
CN106352378B (en) Rotary switch, control method thereof and induction cooker
JP5931285B2 (en) Lighting fixture with touch-sensitive light emitting surface
EP4039066A1 (en) Intelligent lighting control multi-load systems apparatuses and methods
CN204786647U (en) Rotary switch and induction cooker
CN109861680B (en) Inductive switch structure for household appliances
CN111043630A (en) Operating device of stove and stove
TWM448046U (en) Touch type linear adjustable switch
US11265982B2 (en) Intelligent lighting control system phase cutting apparatuses, systems, and methods
KR20130107213A (en) Load controller
TWM625605U (en) non-contact control switch
CN203039660U (en) Infrared touch button device used in water outlet mechanism
CN109859971B (en) Luminous inductive switch structure for household appliances
CN102588765A (en) Induction control lamp device
CN217506794U (en) Display device and household appliance
CN208892310U (en) Touch-control display component and cooking apparatus
JP2010123324A (en) Cooker
CN220453735U (en) Knob and kitchen range
CN111503731B (en) Embedded air conditioner and remote control device of air conditioner
KR100794824B1 (en) Control unit for oven and the oven including the same
US10973104B2 (en) Intelligent lighting control system detection apparatuses, systems, and methods
KR20230002223U (en) Lamp that can be fitted with selectively replacable light plate

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant