Rotary switch, electromagnetic oven and electromagnetism furnace operation method
Technical field
The invention belongs to field of home appliance technology, in particular to a kind of rotary switch, electromagnetic oven and electromagnetic oven operation side
Method.
Background technique
Electromagnetic oven is that a kind of generated using electromagnetic coil and to put on electromagnetic oven electromagnetic wave using the principle of electromagnetic induction
In use process, the watt level of electromagnetic oven is adjusted generally by power regulating knob for the kitchen range of the fevers such as the iron pan set.
Currently, sold electromagnetic oven control mode mostly uses button on the market, it is divided into touch key-press and mechanical key two
Kind.Wherein touch key-press product causes operation to be believed in use often because operating position is stained with the substances such as vegetable soup or water
Number can not by main control chip receive operation failure;And mechanical key is then often because the PET elasticity bulge being arranged on panel is long-term
Key rupture or failure caused by corroding in use process because of mechanical fatigue and greasy dirt.
And if button operation is changed to the knob-operated mode of built-in rotary encoder, but thus bring again new
Problem: because knob is lofty, make user can be more troublesome because of the knob structure of protrusion when cleaning.
Summary of the invention
The present invention is directed to keys deactivation existing in the prior art, failure, does not allow the technical problems such as cleaning, provides a kind of appearance
Rotary switch that is easy to clean and being able to extend service life, uses the electromagnetic oven of the rotary switch and the operating method of electromagnetic oven.
In order to solve the above technical problems, the technical solution adopted by the present invention is that:
A kind of rotary switch, is set on household electrical appliance, and for adjusting the household electrical appliance, the rotary switch includes
Door lock is set in the household electrical appliance;
Reset spring is connected between rotary components, with door lock;
Buckle is set to the rotary components close to one end of the door lock;
The rotary components make the buckle fasten or be detached from door lock by pressing, corresponding to make the rotary components in contracting
It returns or stretches out state, and rotate the rotary components to input the control signal for adjusting the household electrical appliance.
Preferably, the rotary components include set button, rotary encoder, internal frame and the printing for being integrated with micro-control unit
Circuit board, the sequentially coaxially heart set setting from outside to inside of the set button, rotary encoder and internal frame, and distinguish between the two adjacent
Equipped with for preventing the opposite position limiting structure circumferentially rotated;The printed circuit board is fixed in one end of the rotary encoder
In first plate face, internal frame tubular structure in the shape of a " convex ", to be extended back in the first plate face for resisting the printed circuit board
The printed circuit board out.
Preferably, the door lock includes mounting plate and the Y-shaped being connected on mounting plate lock, the buckle is in
The buckle of T-shape, T-shape is fixed on the lateral wall of the internal frame, and passes through the printed circuit board;The reset bullet
One end of spring is fixed in the plate face of the mounting plate, and the other end is fixed on the inner sidewall of the internal frame.
Preferably, the position limiting structure between the set button and rotary encoder includes along the rotary encoder
At least one external groove and the set button that outer wall is axially arranged are arranged at least in one end close to the printed circuit board
One bolt, the bolt and groove correspond grafting;The position limiting structure packet between the internal frame and rotary encoder
At least one inner groovy being axially arranged along the inner wall of the rotary encoder is included, and axial therewith along the outer wall of the internal frame
At least one convex ribs being correspondingly arranged, the convex ribs and inner groovy, which correspond, to be clamped.
Preferably, the rotary components are equipped with signal element, the signal element includes signal transmitter unit, signal
Receiving unit and signal shielding unit, and when the rotary components are in stretching state, described in the signal shielding unit shielding
Signal between signal receiving unit and signal transmitter unit, to adjust the household electric by rotating the rotary components input
The control signal of device.
As further preferred, the signal element includes combination, magnetic reed switch and the magnet of optoelectronic switch and anti-dazzling screen
Combination and Hall element and magnet combination.
As further preferred, the optoelectronic switch and the opposite set button and the printed circuit board of being respectively arranged on of anti-dazzling screen
In first plate face.
Preferably, a concave station is equipped in the end face of the one end of the internal frame far from the printed circuit board, for embedding
Enter an OLED display screen component, the OLED display screen component is connect by soft arranging wire with the micro-control unit.
A kind of electromagnetic oven, including casing, coil panel, panel and multiple LED light, further include above-mentioned rotary switch, described
Through-hole is offered on casing or panel, so that the door lock and lock is fastened or is taken off by pressure after passing through for the rotary components
From, it is corresponding to make the rotary switch in retracting or stretching out state, to adjust the electromagnetic oven by rotating the rotary components
Heating time and power.
A kind of operating method of electromagnetic oven as described above, includes the following steps:
1) electromagnetic oven is powered, and the rotary components are in initial retracted mode, and the signal receiving unit receives
The signal that signal transmitter unit issues, and signal is passed into the micro-control unit, institute is driven by the micro-control unit
LED light flashing is stated, the electromagnetic circuit is in standby;Meanwhile the timer built in the microcontroller starts timing t1,
When t works as, when institute, the microcontroller drives the LED light to extinguish, to reduce the stand-by power consumption of the electromagnetic oven;
2) when the pressing rotary components are in stretching state, the signal shielding unit shields the signal and receives list
Signal between member and signal transmitter unit, keeps the electromagnetic oven in running order, at this time by rotating the rotary components
The control signal for adjusting the electromagnetic oven is inputted, specifically include: A. rotates clockwise the rotary components, pass through the micro-control
Unit processed detects the waveform of the rotary encoder output, judges direction of rotation to control the power of electromagnetic oven and gradually increase
Greatly, until the maximum power of setting;The rotary components are rotated counterclockwise, the function of the micro-control unit controls electromagnetic oven is passed through
Rate is gradually reduced, until being zero;
B. the rotary components are pressed, the rotary components is made to be in retracted mode, the signal receiving unit receives letter
The signal that number transmitting unit issues, at the same time, the timer built in the micro-control unit starts timing t2, as t≤t2,
If the micro-control unit detects the pulse of the rotary encoder output, the micro-control unit handles this pulse
Signal is adjusted with the operation setup time to electromagnetic oven: t≤t2, if rotating clockwise the set button, the microcontroller
The time that unit driving OLED display screen is shown adjusts toward increased direction, extends to the heating time of default setting;Such as
Fruit rotates counterclockwise set button, then the time that the micro-control unit driving OLED display screen is shown adjusts toward reduced direction, right
The heating time of default setting is shortened;T > t2, if that the rotary encoder has been not detected is defeated for the micro-control unit
When pulse out, determine that electromagnetic oven is standby mode, under this state, the LED light flashing prompts user's electromagnetic oven to be in standby
State, in the standby state, the timer built in the micro-control unit restart timing t1, as t >=t1, the micro-control
Unit driving LED light processed is placed in OFF state, to reduce product stand-by power consumption.
Preferably, the time range of the t1 is 30s≤t1≤90s, the time range of the t2 be 10s≤t2≤
40s。
Compared with prior art, the present invention has the beneficial effects that the present invention is by the way that be arranged to rotary components can
With stretching structure, and the setting signal unit in rotary components, when use need to only click rotary components will automatic spring,
User can adjust watt level and the heating time of electromagnetic oven by rotary components, and use finishes and clicks rotation again later
Button will withdraw inside electric appliance, extend service life, and user is facilitated to clean.
Detailed description of the invention
Fig. 1 is the perspective view of the explosion of the rotary switch in the present invention;
Fig. 2 is schematic perspective view of the door lock of the rotary switch in the present invention under buckling state;
Fig. 3 is the schematic perspective view of the door lock of the rotary switch in the present invention in the on-state;
Fig. 4 is schematic perspective view of the rotary switch under retracted mode in the present invention;
Fig. 5 is schematic cross-sectional view of the rotary switch under retracted mode in the present invention;
Fig. 6 is the schematic perspective view of rotary switch in the extended state in the present invention;
Fig. 7 is the schematic cross-sectional view of rotary switch in the extended state in the present invention;
Fig. 8 is the top view of the internal frame of rotary switch in the present invention;
Fig. 9 is perspective view of the explosion of the rotary switch in the present invention in setting OLED display screen;
Figure 10 is the main control block diagram of the MCU of the rotary switch in the present invention;
Figure 11 is the circuit diagram of the optoelectronic switch of the rotary switch in the present invention;
The circuit diagram when rotary encoder and optoelectronic switch that Figure 12 is the rotary switch in the present invention rotate;
The waveform diagram when rotary encoder and optoelectronic switch that Figure 13 is the rotary switch in the present invention rotate clockwise;
The waveform diagram when rotary encoder and optoelectronic switch that Figure 14 is the rotary switch in the present invention rotate counterclockwise;
Figure 15 is that the firepower of the LED light of the electromagnetic oven in invention indicates driving circuit.
In figure:
1- door lock;11- mounting plate;
12- lock body;13-Y " type lock;
2- buckle;
3- rotary components;31- covers button;
32- rotary encoder;33- internal frame;
331- circular bar;332- concave station;
333- card hole;
34- printed circuit board;The first plate face of 35-;
36- external groove;37- bolt;
38- inner groovy;39- convex ribs;
4- reset spring;5- optoelectronic switch;
6- anti-dazzling screen;7- casing;
8-OLED display screen;9- screen cover;
91- detent.
Specific embodiment
Technical solution in order to enable those skilled in the art to better understand the present invention, in the following with reference to the drawings and specific embodiments
It elaborates to the present invention.
As shown in Figures 1 to 8, embodiment of the invention discloses a kind of rotary switches being set on household electrical appliance, use
In adjusting the household electrical appliance, rotary switch includes door lock 1, buckle 2 and rotary components 3, and door lock 1 is set in household electrical appliance, rotation
Turn to be connected with reset spring 4 between component 3 and door lock 1, buckle 2 is set to rotary components 3 close to one end of door lock 1, by pressing
Pressure rotary components 3 make buckle 2 and door lock 1 fasten or be detached from, corresponding to make rotary components 3 in retraction or stretch out state, and are rotating
When component 3 is in stretching state, rotary components 3 are rotated to input the control signal for adjusting household electrical appliance.
In the present embodiment, continuing with Fig. 1, Fig. 4 to Fig. 7, rotary components 3 include set button 31, rotary encoder 32, internal frame
33 and it is integrated with the printed circuit board (PCB) 34 of microcontroller (MCU), internal frame 33 is tubular structure, covers button 31, rotary encoder
32 and the sequentially coaxially heart set setting from outside to inside of internal frame 33, and it is both adjacent (set button 31 and rotary encoder 32, internal frame 33 with
Rotary encoder 32) between be respectively provided with and prevent the opposite position limiting structure circumferentially rotated.Wherein, button 31 and rotary coding are covered
Position limiting structure between device 32 includes the multiple external grooves 36 being axially arranged along the outer wall of rotary encoder 32, and set button 31 exists
The multiple bolts 37 being arranged close to one end of printed circuit board 34, multiple bolts 37 correspond grafting with groove 36, can be to prevent
Only cover circumferentially rotating between button 31 and rotary encoder 32.Position limiting structure between internal frame 33 and rotary encoder 32 includes edge
Multiple inner groovies 38 that the inner wall of rotary encoder 32 is axially arranged, and multiple convex ribs for being axially arranged of outer wall along internal frame 33
39, multiple convex ribs 39 are corresponded with inner groovy 38 to be clamped, and can prevent the circumferential direction between internal frame 33 and rotary encoder 32 from turning
It is dynamic.It covers inner wall of the button 31 in one end far from printed circuit board 34 and is equipped with flange, to prevent internal frame 33 from detaching.
One end of rotary encoder 32 is fixed on by welding in the first plate face 35 of printed circuit board 34, printing
The through-hole of perforation the first plate face 35 and the plate face opposite with the first plate face 35 is offered on circuit board 34, internal frame 33 is in the shape of a " convex "
Tubular structure, with after the first plate face 35 for resisting printed circuit board 34 from through-hole stretch out printed circuit board 34.
In the present embodiment, continuing with Fig. 2 to Fig. 7, door lock 1 includes mounting plate 11 and the lock body being connected on mounting plate 11
12, lock body 12 is interior to be equipped with Y-shaped lock 13, and buckle 2 is in T-shape, is fixed on the lateral wall of internal frame 33, and across printed circuit
The through-hole of plate 34, to cooperate with Y-shaped lock 13.One end of reset spring 4 is fixed in the plate face of 11 plates of installation, and the other end is solid
Due on the inner sidewall of internal frame 33, shown in Figure 8, the inner wall of internal frame 33 is equipped with circular bar 331, to block reset spring 4.
The movement of rotary components 3 extended and retracted is as follows: the normal condition of household electrical appliance is the retracted mode of rotary components 3, such as Fig. 4
With shown in Fig. 5, the Y-shaped lock 13 of door lock 1 and the buckle 2 for the T-shape being connected on internal frame 33 are fastened at this time, in this case
The Y-shaped lock of user's pressing rotary member 3, door lock 1 13 becomes opening state, as shown in Figure 6 and Figure 7, the card of T-shape at this time
Button 2 is no longer fastened, and internal frame 33 pops up outward under the action of reset spring 4, to drive entire rotary components 3 bullet outward
Out.Set button 31 is higher by the outer surface of household electrical appliance under this state, and user can drive rotary encoder by turning set button 31
32 movements are to carry out operation control to electromagnetic oven.In this case, user pushes rotary components 3 to move inward, in moving to
The buckle 2 of the T-shape of 33 end of frame touches the Y-shaped lock 13 of door lock 1, and Y-shaped lock 13 becomes buckling state again, at this time
Buckle 2 and the Y-shaped lock 13 of T-shape fastens again, and rotary components 3 are in retracted mode again.
In the present embodiment, rotary components 3 are equipped with signal transmitter unit and signal receiving unit, for working as rotary components 3
When by pressure in stretching state, signal receiving unit receives the signal of signal transmitter unit, and by rotation rotary components 3 with
Adjust household electrical appliance.Signal transmitter unit and signal receiving unit include combination and the magnetic red of optoelectronic switch 5 and anti-dazzling screen 6
Switch and combination, Hall element and the combination of magnet of magnet etc., only with the group of optoelectronic switch 5 and anti-dazzling screen 6 in the present embodiment
It is combined into example to be illustrated, wherein signal transmitting terminal hides as signal transmitter unit, signal receiving end as signal receiving unit
Mating plate 6 is used as signal shielding unit, specifically refers to Fig. 4 and Fig. 6, and optoelectronic switch 5 (or anti-dazzling screen 6) is set to printed circuit board 34
The first plate face 35 on, anti-dazzling screen 6 (or optoelectronic switch) is set to rotary components 3 (be provided in the present embodiment set button 31 on) or family
On electrical appliance.The characteristic of optoelectronic switch 5 is, whether there is or not in the state of shading shielding between signal transmitting terminal and signal receiving end, to believe
The level of number transmitting terminal can be converted between low level and high level.When rotary encoder 32 is in retracted mode, photoelectricity is opened
5 are closed far from anti-dazzling screen 6, continuing with shown in Fig. 4, accessible screen between the signal receiving end and signal transmitting terminal of optoelectronic switch 5
It covers, electromagnetic oven state is set as standby mode under this state, if rotating rotary components 3 at this time, household electrical appliance will not receive
Signal;When rotary encoder 32 is in stretching state, continuing with shown in Fig. 6, anti-dazzling screen 6 is inserted into the notch of optoelectronic switch 5
Position, the state setting of household electrical appliance is in working condition under this state, rotates rotary components 3 at this time, household electrical appliance can basis
The rotation position of rotary encoder 32 come carry out it is relevant operation (as adjustment power or adjustment time).
In order to allow user that can easily know the current working condition of electromagnetic oven when operating runner assembly 3,
Without being divided to two regions to go to obtain information with sight, in the present embodiment, OLED (Organic Light is set in runner assembly 3
Emitting Display) display screen 8, i.e. organic light emitting display, user can be through in the set viewing OLED display screen of button 31
Firepower size and heating time.Specifically, a concave station is equipped in the end face of the one end of internal frame 33 far from printed circuit board 34
332, for being embedded in an OLED display screen 8, OLED display screen 8 passes through the soft arranging wire and printed circuit across the inner cavity of internal frame 33
Micro-control unit connection on plate 34.In order to protect OLED display screen 8, screen cover 9, concave station are equipped at the top of OLED display screen
Along multiple buckling position holes 333 that are circumferentially with of side wall on 332 side wall, the lateral wall of screen cover 9 is equipped with matches with multiple buckling position holes 333
It closes with the corresponding button bit 91 for being caught in buckling position hole 333, the arc-shaped strip of button bit 91, section and the button bit 91 of card hole 333
Shape adaptation.OLED screen curtain is dot matrix, and different driving signals can be exported by MCU and shows different information, than tradition
It is more flexible with the scheme of numeral method, in addition, the area that the screen of OLED display screen 8 occupies is also smaller, therefore can save
Save space.
The embodiment of the present invention also discloses a kind of electromagnetic oven, continuing with combine Fig. 4 to Fig. 7, electromagnetic oven include casing 7,
Coil panel, panel, multiple LED light, IGBT (Insulated Gate Bipolar Transistor) module and rotary switch
(casing 7, IGBT module, coil panel, panel and LED light are the prior art, and in addition to casing 7, remaining is not shown),
Continuing with Figure 10, MCU connect respectively with optoelectronic switch 5, rotary encoder 32, OLED display screen and LED light signal casing 7 or
Through-hole is offered on panel, so that door lock 1 and lock 2 is fastened or is detached from by pressure after passing through for rotary components 3, correspondence makes to revolve
Button switch in retract or stretch out state, and in the extended state by rotation rotary components 3 with adjust electromagnetic oven power and when
Between.
In in the present embodiment, the operating method of electromagnetic oven is as follows, and wherein rotary encoder 32 is with liter hollow increment of prestige electronics
It is illustrated for type EC350202.
1) when electromagnetic oven is initially powered, the rotary encoder 32 of rotary components 3 is in retracted mode, the signal of optoelectronic switch 5
Accessible shielding between receiving end and signal transmitting terminal, optoelectronic switch exports high level at this time.The signal warp of optoelectronic switch output
MCU processing, MCU drive LED light flashing, user's electromagnetic oven are prompted to be in standby.Meanwhile the timer built in MCU starts
Timing t1, as t >=t1 (30s≤t1≤90s), MCU drives LED to extinguish, to reduce the stand-by power consumption of electromagnetic oven.In standby shape
State, at this time if turning set button 31, when rotary encoder 32 rotates together therewith, MCU wave-off, MCU drives IGBT mould
Coil panel is placed in not opening state by block.
2) when user is by button 31 of trapping, so that rotary encoder 32 is in stretching state, (namely rotary components 3 are in and stretch
Do well) when, the gap position of optoelectronic switch 5 is blocked by anti-dazzling screen 6, the signal receiving end and signal transmitting terminal of optoelectronic switch 5
Between blocked by anti-dazzling screen 6, at this time optoelectronic switch 5 export low level, at this time by turning set button 31 make rotary encoder 32 revolve
When turning, the pulse signal that rotary encoder 32 exports is handled through MCU, and MCU driving LED light is always on, to prompt at user's electromagnetic oven
In working condition.In the case where electromagnetic oven is in running order, the control for adjusting electromagnetic oven can be inputted by rotation rotary components at this time
Signal processed, specifically includes:
A. if it is rotate clockwise set button 31, MCU driving IGBT module control coil disk power be gradually increased until
The maximum power of coil panel setting, and the quantity that LED light is lighted gradually increases (or brightness gradually increases) until all lighting (this
LED light quantity is set as 9 in embodiment).If rotating counterclockwise set button 31, MCU drives the power of IGBT control coil disk
Being progressively smaller until that coil panel does not open power is zero, and the quantity that LED light is lighted gradually decreases (or brightness gradually weakens) directly
It is bright to only one LED light.
B. so that rotary encoder 32 is in retracted mode by button 31 of trapping as user, (namely rotary components 3, which are in, retracts
State) when, optoelectronic switch 5 is accessible between the signal receiving end and signal transmitting terminal of optoelectronic switch 5 again far from anti-dazzling screen 6
Shielding, optoelectronic switch 5 exports high level at this time.At the same time, the timer built in MCU starts timing t2, when t≤t2 (this reality
Apply 10s≤t2 in example≤40s) when, if MCU detects the pulse that rotary encoder 32 exports, MCU handles this pulse letter
Number be adjusted with the operation setup time to electromagnetic oven: t≤t2, if rotating clockwise set button 31, MCU driving OLED is shown
The time of screen display adjusts toward increased direction, extends to the heating time of default setting;If rotating counterclockwise set button
The time that 31, MCU driving OLED display screens are shown adjusts toward reduced direction, shortens to the heating time of default setting;t
> t2 determines that electromagnetic oven is standby mode if the pulse of the output of rotary encoder 32 is not detected in MCU, under this state,
LED light flashing, prompts user's electromagnetic oven to be in standby, in the standby state, the timer built in MCU restarts timing
T1, as t >=t1 (30s≤t1≤90s), MCU driving LED is placed in OFF state, reduces product stand-by power consumption;In standby shape
State, at this time if turning set button 31, when rotary encoder 32 rotates together therewith, MCU wave-off, MCU drives IGBT will
Coil panel is placed in not opening state.
In the present embodiment, whether MCU has shelter at the fluting by detecting optoelectronic switch 5 to judge that rotary switch is contracting
The state of returning still stretches out state, and as shown in figure 11, MCU is sentenced by the level state of the OUT terminal of the optoelectronic switch 5 of detection groove profile
Disconnected rotary switch is stretching state or retracted mode, that is, when having shelter at fluting, light is isolated, the high electricity of OUT terminal output
It is flat, it slots when shelter removes, light can pass through, and OUT terminal exports low level.MCU judges to revolve by rotary encoder 32
Button switch is rotated clockwise or is rotated counterclockwise, as shown in Figure 12 to Figure 14, when rotary encoder 32 and optoelectronic switch 5 one
When playing rotation, MCU by the waveform variation of the A point and B point of detection rotary encoder 32, judging to rotate clockwise or
It rotates counterclockwise, to adjust the size length of firepower size or time, firepower size is indicated with LED light, and in OLED
The firepower number display time is shown with flare shape on display screen 8.The driving circuit of LED firepower instruction is as shown in figure 15, in order to
Guarantee the brightness of LED light, each LED light is driven with a NPN triode.MCU is that each LED light distributes an IO driving,
When IO exports high level, LED light is lighted, and when IO exports low level, LED light is in OFF state, therefore can flexibly be controlled
The brightness that the number and LED that LED light processed is lighted are lighted.
Above embodiments are only exemplary embodiment of the present invention, are not used in the limitation present invention, protection scope of the present invention
It is defined by the claims.Those skilled in the art can within the spirit and scope of the present invention make respectively the present invention
Kind modification or equivalent replacement, this modification or equivalent replacement also should be regarded as being within the scope of the present invention.