CN101232279B - Touching type switch apparatus of electronic cook ware and input method thereof - Google Patents

Touching type switch apparatus of electronic cook ware and input method thereof Download PDF

Info

Publication number
CN101232279B
CN101232279B CN2007100072870A CN200710007287A CN101232279B CN 101232279 B CN101232279 B CN 101232279B CN 2007100072870 A CN2007100072870 A CN 2007100072870A CN 200710007287 A CN200710007287 A CN 200710007287A CN 101232279 B CN101232279 B CN 101232279B
Authority
CN
China
Prior art keywords
timing
oscillator
counters
timing counter
control unit
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
CN2007100072870A
Other languages
Chinese (zh)
Other versions
CN101232279A (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.)
Holtek Semiconductor Inc
Original Assignee
Holtek Semiconductor Inc
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=39898507&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=CN101232279(B) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Holtek Semiconductor Inc filed Critical Holtek Semiconductor Inc
Priority to CN2007100072870A priority Critical patent/CN101232279B/en
Publication of CN101232279A publication Critical patent/CN101232279A/en
Application granted granted Critical
Publication of CN101232279B publication Critical patent/CN101232279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a touch switch gear and an input method of an electronic cooker. The touch switch gear comprises: an oscillator used for generating a reference clock pulse needed by the touch switch gear; a plurality of touch switches, wherein the frequency of the oscillator changes after human contracting, thus one operation in the touch switches is admitted; a plurality of analog switches, which is used for controlling only one operation at the same time to detect one state among the touch switches at the same time; and a plurality of timing counters, wherein when one timing counter generates overflow, all timing counters stop count at the same time, and the values of the timing counters are read at the same time. By adopting the structure of the invention, software is utilized to set at least more than one analog switch as the start-requiring to be used as the input of the touch switches; then the state of each touch switch is detected, and the software is utilized to conduct the analog switches one by one so as to form the detecting state of the touch switches. The invention can simplify the circuit of the touch switches and increase the stability.

Description

The touching type switch apparatus of electronic cook ware and input method
Technical field
The present invention relates to a kind of touching type switch apparatus and input method of electronic cook ware, relate in particular to and a kind of the micro-control unit indoor design is contained: RC oscillator (RC OSC), at least one group of above analog switch and the contact witch of relative group of number, two groups of 16 timing counters.Can simplify peripheral number of electronic components, and utilize Control Software to adjust the sensitivity of contact witch, again with software interrupt mode to obtain the frequency of oscillation of accurate RC oscillator, the variation of the frequency of oscillation by detecting this RC oscillator, can judge that contact witch is in unlatching or closing state, these 16 timing counters can accurately obtain the frequency of oscillation of RC oscillator, to reach the purpose of simplifying the contact witch circuit and increasing stability.
Background technology
Nowadays, 3C Product in the electronic industry occupies great status in modern's life, wherein the consumer electronics trend is light, thin, short, little, and has high practicality, therefore being subjected to ordinary consumer favors, has splendid business opportunity, for example: electromagnetic oven or the electric cooker (product of similar electronic pot, but possess the functions that boil arranged more) etc. electronic cook ware, it only needs to provide household power, can carry out the heating work of food, the inconvenience of using traditional gas oven of having forgone (for example: methane gas has danger ... etc.), and its price is also very cheap, for general family can easily purchase.
Generally speaking, the input unit of conditional electronic cooker mostly is the mechanical type button, and its shortcoming is after using a period of time, the tired or flow of metal that high temperature produces because of metallic elastic, and make this mechanical type button produce phenomenon of the failure, this is the shortcoming of mechanical type button.
Also have the dealer to adopt the touch-key of electronic type, but its member is very complicated, except basic micro-control unit (MCU), the different electronic components of many groups of also need arranging in pairs or groups can be finished, also because of adopting more member, so also raising thereupon of production cost.And, detector also needs extra electronic component to adjust sensitivity, based on the disappearance of traditional electrical minor touch-key when senses touch formula switch, the present invention is solution just, can effectively reduce the stability of matching element quantity and raising touch-key.
See also shown in Figure 1, function block schematic diagram for known electronic cooker master control borad and panel control, wherein the micro-control unit of master control borad (MCU) 11 needs to do with light-emitting diode (LED) drive circuit 12 and panel micro-control unit (MCU) 14 transmission of data, panel micro-control unit 14 sends the state of contact witch to master control borad micro-control unit 11, master control borad micro-control unit 11 shows that with desire the light-emitting diode data pass to LED driving circuit 12, can be in order to driven for emitting lights diode circuit 13, and the output signal of the state of panel micro-control unit 14 control analog switches 15 and processing RC oscillator 17, the frequency of oscillation of RC oscillator 17 depends on the combination of RC circuit 18, open or closing state to judge that contact witch 16 is in, the mechanism of this judgement is handled by the program of panel micro-control unit 14.But its shortcoming is the error that program command produced, and causes calculating RC oscillator 17 frequencies accurate inadequately, is subject to noise jamming, and then causes erroneous judgement contact witch 16 states; And panel micro-control unit 14 and peripheral circuit thereof ( circuit 15,16,17,18) need to utilize than complicated process and circuit, so increase production cost, remain to be engaged in this journey dealer and are improved.
Please consult Fig. 2 and shown in Figure 3 simultaneously, detect the flow chart of 16 contact witches for conditional electronic appliance panel micro-control unit, its step is respectively by 191 to 203, the frequency of the measured RC oscillator of flow chart wherein, must be after 16 timing counters begin counting, need to postpone several milliseconds~tens of milliseconds times of not waiting (step 193), stop the counting (step 197) of 16 timing counters afterwards again, read the value of including of 16 timing counters afterwards again, the last correlated frequency that just obtains the RC oscillator, more by understanding the conditional electronic cooker among this two figure because of element, so its handling procedure is very complicated, there is problem of unstable simultaneously.
Summary of the invention
In order to solve the disappearance of the above known technology, the present invention is the touching type switch apparatus and the input method of electronic cook ware, and main purpose of the present invention is the micro-control unit indoor design is contained: RC oscillator (RC OSC), the analog switch more than at least one group and the contact witch of relative group of number, two groups of 16 timing counters.Can simplify peripheral number of electronic components, and utilize Control Software to adjust the sensitivity of contact witch, again with software interrupt mode to obtain the frequency of oscillation of accurate RC oscillator, by detecting the frequency of oscillation of this RC oscillator, can judge that contact witch is in the state of unlatching or switch, these 16 timing counters can accurately be set the time of RC oscillator vibration, to reach the purpose that contact witch circuit reduction and stability increase.
To achieve the above object of the invention, the present invention proposes a kind of touch formula switching device of electronic cook ware, and it comprises: the panel micro-control unit, and in order to the signal condition of processing and senses touch formula switch, and the output electronic signal, and it also comprises control integrated circuit; And main micro-control unit, accept the electronic signal that the panel micro-control unit is exported, control electronic cook ware power and protection mechanism simultaneously; The framework of this panel micro-control unit wherein comprises: the RC oscillator, and needed in order to produce contact witch with reference to clock pulse; The frequency shift that some contact witches, human body contact back produce the RC oscillator is to admit one of them the operation of its some contact witches; Some analog switches are controlled the same time and are had only one of them operation, and with as detecting one of them state of some soft-touch controls of same time, and the number of the number of described analog switch and described contact witch is equal; And two timing counters, when one of them timing counter produced overflow, described two timing counters stopped counting simultaneously, and read the numerical value of described two timing counters simultaneously; One end of each described contact witch and each described analog switch couples respectively, and the other end of each described analog switch is coupled to the input of described RC oscillator, and the output of described RC oscillator is coupled to described two timing counters; By above-mentioned formation, one of them needs to open to utilize software to set more than one at least analog switch again, with as selecting one of them the input of corresponding contact witch, detect the state of each contact witch again, utilize software one by one with the analog switch conducting again, to form the detected state of contact witch, wherein, it is the frequency of oscillation that obtains accurate RC oscillator with software interrupt mode, by detecting the frequency of oscillation of this RC oscillator, judge that contact witch is in unlatching or closed condition.
According to the touch formula switching device of electronic cook ware of the present invention, wherein the touch formula switching device of this electronic cook ware also comprises circuit of LED, and utilizes this main micro-control unit to carry out the control action of circuit of LED.
According to the touch formula switching device of electronic cook ware of the present invention, wherein this circuit of LED also includes light-emitting diode and current-limiting resistance.
Touch formula switching device according to electronic cook ware of the present invention, the wherein input of this control integrated circuit, reference resistance, three pins of reference capacitance are promptly formed the RC oscillator, change the frequency of RC oscillator according to the state of set resistance, capacitance and contact witch in these three pins.
For reaching above-mentioned purpose, the invention provides a kind of method of detection of electronic cook ware contact witch, it comprises: set will detect which touch-key at present; Set the source of 16 first timing counters, and the input source of setting 16 second timing counters is the output of RC oscillator; 16 first timing counters and 16 second timing counters stop counting when setting 16 first timing counter overflows; The initial value of setting 16 first timing counters and 16 second timing counters is 0; Start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting; Inquire whether 16 first timing counters and 16 second timing counter timing countings stop, then carry out next step if yes, if otherwise continue to carry out this step; The value of the including X0 of 16 second timing counters is read and deposits in the micro-control unit data storage; Set the initial value of 16 first timing counters; The initial value of setting 16 second timing counters is 0; Start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting; Inquire whether 16 first timing counters and 16 second timing counter timing countings finish, then carry out next step if yes, if otherwise continue to carry out this step; The value of the including X1 of 16 second timing counters is read and deposits in the micro-control unit data storage; X0-X1 then represents contact witch at the state that closes if yes whether greater than the set point of sensitivity, if otherwise the state that the expression contact witch is being opened; And repeat (i)~(m) then always the state of senses touch formula switch at the state of holding or closing.
For further the present invention being had more deep explanation, by the explanation and the detailed description of the present invention of the following drawings, Reference numeral, hope can be helpful to auditor's censorship.
Description of drawings
Fig. 1 is the function block schematic diagram of known electronic cooker master control borad and panel control;
Fig. 2 is the first pass figure that conditional electronic appliance panel micro-control unit detects 16 contact witches;
Fig. 3 is second flow chart that conditional electronic appliance panel micro-control unit detects 16 contact witches;
Fig. 4 is the function block schematic diagram of electronic cook ware master control borad of the present invention and panel control;
Fig. 5 includes the control calcspar of the electronic cook ware panel micro-control unit of contact witch testing circuit for the present invention has;
Fig. 6 utilizes the functional block diagram of two 16 timing counters for the present invention;
Fig. 7 is input to the oscillogram of the value of including of 16 timing counters for the RC oscillator;
Fig. 8 A and Fig. 8 B are first action flow chart of contact witch testing circuit of the present invention;
Fig. 9 is second action flow chart of contact witch testing circuit of the present invention;
Figure 10 is the oscillogram of the host-host protocol of panel micro-control unit of the present invention and electronic cook ware master control borad micro-control unit;
Figure 11 is the transmission data format figure of panel micro-control unit of the present invention and electronic cook ware master control borad micro-control unit.
Wherein, description of reference numerals is as follows:
11~master control borad micro-control unit
12~LED driving circuit
13~circuit of LED
14~panel micro-control unit
15~analog switch
16~contact witch
17~RC oscillator
18~RC circuit
191~program begins
192~set first analog switch conducting, the initial value of setting 16 timing counters is zero, RC oscillator and 16 timing counters begin counting
193~postponing circulation (several milliseconds~tens of milliseconds do not wait), 16 timing counters stop counting, read 16 timing counter values of including and deposit random access memory (X1~X16)
194~finish and set the 16th analog switch conducting?
195~set next analog switch conducting, the initial value of setting 16 timing counters is zero, RC oscillator and 16 timing counters begin counting
196~set first analog switch conducting, the initial value of setting 16 timing counters is zero, RC oscillator and 16 timing counters begin counting
197~postponing circulation (several milliseconds~tens of milliseconds do not wait), 16 timing counters stop counting, read 16 timing counter values of including and deposit random access memory (Y1~Y16)
198~(X1-Y1) greater than 50?
199~contact witch has finger to touch
200~contact witch does not have finger and touches
201~finish and set the 16th analog switch conducting?
202~set next analog switch conducting, the initial value of setting 16 timing counters is zero, RC oscillator and 16 timing counters begin counting
203~set first analog switch conducting, the initial value of setting 16 timing counters is zero, RC oscillator and 16 timing counters begin counting
21~master control borad micro-control unit
22~panel micro-control unit
221~control integrated circuit
2211~analog switch control register
2212~RC oscillator
2213~the first timing counters
2214~the second timing counters
23~circuit of LED
24~contact witch
25~RC circuit
31~system clock signal
32~1/4 system's clock signals
33~the first timing counters
34~the second timing counters
35~start-up control register
The output of 36~RC oscillator
Produce interrupt action during 37~wherein timing counter overflows
38~replacement start-up control register
41~program begins
42~16 timing counters interrupt enabling, and set first analog switch conducting, are set as pattern 0, set the initial value of first timing counter, and the initial value of setting second timing counter is 0, and RC oscillator and two timing counters pick up counting
43~whether finish pattern 0
The non-pattern 0 of 44~setting
45~16 timing counter interruption subroutines
46~whether be pattern 0
47~read second timing counter value of including and deposit at any time access memory (X1~X16)
48~finish and set the 16th analog switch conducting?
49~set first analog switch conducting, set the initial value of first timing counter, the initial value of setting second timing counter is 0, RC oscillator and two timing counters pick up counting
50~finish pattern 0
51~leave interruption subroutine
52~read second timing counter value of including and deposit random access memory (Y1~Y16)
53~(X1-Y1) greater than 50?
54~contact witch does not have finger and touches
55~contact witch has finger to touch
56~finish and set the 16th analog switch conducting?
57~set first analog switch conducting, set the initial value of first timing counter, the initial value of setting second timing counter is 0, RC oscillator and two timing counters pick up counting
58~set first analog switch conducting, set the initial value of first timing counter, the initial value of setting second timing counter is 0, RC oscillator and two timing counters pick up counting
Embodiment
Now, cooperate following description of drawings detailed structure of the present invention, and annexation.
See also shown in Figure 4, function block schematic diagram for electronic cook ware master control borad of the present invention and panel control, it comprises: contact witch 24, utilize human body contact back to produce the electronic switch of the frequency shift of RC oscillator, and the frequency of oscillation of RC oscillator depends on the combination of RC circuit 25; Panel micro-control unit 22, signal condition in order to processing and senses touch formula switch 24, and output electronic signal, and it also comprises control integrated circuit 221 (this element will be done detailed description in Fig. 5), three pins of the IN of this control integrated circuit 221, RREF and CREF are promptly formed RC oscillator (RC OSC), and according to the frequency of set resistance, capacitance and change RC oscillator in these three pins; Main micro-control unit 21 is accepted the electronic signal that panel micro-control unit 22 is exported, and controls electronic cook ware power and protection mechanism simultaneously; Circuit of LED 23, and utilize this main micro-control unit 21 to carry out the control action of circuit of LED, this circuit of LED 23 also includes light-emitting diode and current-limiting resistance (not shown).
According to the formation of said elements, main 21 need of micro-control unit and panel micro-control unit 22 are done the transmission of data, just can finish the human-machine interface function that electronic cook ware contact witch 24 testing circuits and circuit of LED 23 show.Panel micro-control unit 22 is passed to main micro-control unit 21 with the state of contact witch 24, and receives the light-emitting diode data that main micro-control unit 21 will show and light light-emitting diode.Panel micro-control unit 22 receives the signal of contact witch 24, the RC oscillator that utilizes program and panel micro-control unit 22 to be included, and two specially designed 16 timing counters of process, 16 analog switches are finished the detection of 16 contact witches.This new invention has not only reduced peripheral part than traditional solution, and special 16 timing counters through design, makes program development simpler, and the frequency of measure R C oscillator is more accurate, makes that the detection of contact witch is more reliable.Panel micro-control unit 22 utilizes 8 built-in timing counters and 16 Gent other places reason itself to strengthen the output pin of driving force, finishes the function of lighting of 64 light-emitting diodes.The main micro-control unit of cause only need be done with the panel micro-control unit and communicate by letter, and can utilize 3 pins to come simultaneously the state of contact witch and the data of diode displaying to be passed to the panel micro-control unit, realize the function of the input and output man-machine interface of electronic cook ware.
See also shown in Figure 5, for having the control calcspar of the electronic cook ware panel micro-control unit that includes the contact witch testing circuit, wherein (specification of present embodiment is 16 for RC oscillator and two timing counters, certainly those skilled in the art also can utilize other to implement as 8 or 32 digit counters) have a signal controlling source that starts (Start) simultaneously, to start RC oscillator and two timing counter (first timing counters, second timing counter), one of them decides by timing counter in its timing, present embodiment makes a decision for utilizing first timing counter, the inner institute of this timing counter comprises preset value, can cooperate the software input to finish, when 16 first timing counters produce overflow, two timing counters stop counting simultaneously, and read the numerical value of two timing counters simultaneously.
One of them needs conducting to set more than one at least analog switch by software, with as selecting one of them the input of corresponding contact witch, detect the state of this contact witch again, utilize software again, to form the detected state of contact witch one by one with the analog switch conducting.
Wherein K1~K16 is control integrated circuit (IC) 221 pins, (can be the thin metal (conductor) of circle or arbitrary shape, its upper berth upper insulator such as acryl, glass etc. in order to connect external touch switch element; Or directly on circuit board, form its upper berth upper insulator such as acryl, glass etc.) with the circle or the Copper Foil of arbitrary shape; KOUT is control integrated circuit (IC) 221 pins, via T.G.1~T.G.16 (16 analog switches), in order to connect KOUT be connected to K1~K16 one of them; An analog switch control register (Analog Switch ON or OFF Control Register, ASON) 2211 in order to control T.G.1~one of them conducting of T.G.16 analog switch, one of them conducting of T.G.1~T.G.16, one of them can be connected to control integrated circuit (IC) 221 pin KOUT its corresponding K1~K16, one of them changes the frequency of oscillation of RC oscillator because of human body touches contact witch K1~K16 to control the RC oscillator by this, via control analog switch control register 2211, make T.G.1~T.G.16 opening and closing one by one, only open an analog switch (its value of ASON and analog switch conducting corresponded manner please refer to shown in the following table at every turn, Analog switch 1 expression T.G.1, the rest may be inferred, and Analog switch 16 represents T.G.16); And three pins of the IN of control integrated circuit 221, RREF and CREF are promptly formed RC oscillator (RC OSC) 2212, and change the frequency of RC oscillator according to institute's outer meeting resistance, capacitance in these three pins.
Analog switch conducting reference table:
Bit?No. Label Function
0~4 ASON Defines?the?analog?switch?forK1~K16which?is?on.ASON= 00000b=Analog?switch?1?on,other?analog?switch?off 00001b=Analog?switch?2?on,other?analog?switch?off 00010b=Analog?switch?3?on,other?analog?switch?off 00011b=Analog?switch?4?on,other?analog?switch?off 00100b=Analog?switch?5?on,other?analog?switch?off 00101b=Analog?switch?6?on,other?analog?switch?off 00110b=Analog?switch?7?on,other?analog?switch?off 00111b=Analog?switch?8?on,other?analog?switch?off 01000b=Analog?switch?9?on,other?analog?switch?off 01001b=Analog?switch?10?on,other?analog?switch?off 01010b=Analog?switch?11?on,other?analog?switch?off 01011b=Analog?switch?12?on,other?analog?switch?off 01100b=Analog?switch?13?on,other?analog?switch?off 01101b=Analog?switch?14?on,other?analog?switch?off 01110b=Analog?switch?15?on,other?analog?switch?off 01111b=Analog?switch?16?on,other?analog?switch?off 1xxxxb=All?analog?switch?off
5~7 - Unused?bit,read?as″0″
See also shown in Figure 6, it utilizes the functional block diagram of two 16 timing counters for the present invention, element comprises: system's pulse signal, 1/4 system's pulse signal, first timing counter, second timing counter, the output of RC oscillator and start-up control register (T1ON), utilize numerical value that said elements produces in order to judge whether this contact witch is operated, and its sequence of movement is as follows:
A.16 the input source of position first timing counter is that system frequency or system frequency are divided by 4;
B.16 the input source of position second timing counter is the output of RC oscillator;
When the c.OVB control register can be selected first timing counter or the second timing counter overflow, can produce and interrupt, and the numerical value of start-up control register is reset to 0 (RESET T1ON), can make first timing counter and second timing counter stop counting.
D. can utilize the start-up control register of T1ON control " two 16 timing counters " among the above-mentioned steps c., when T1ON is " 1 ", " two 16 timing counters " counting that will pick up counting, when T1ON was " 0 ", " two 16 timing counters " will stop the timing counting.
Above-mentioned cited embodiment is the detection method of contact witch, also can be suitable for a plurality of contact witches, by a plurality of analog switch control register of change setting, scans in regular turn and detects different contact witches.
See also shown in Figure 7ly, it reads the value of including that the RC oscillator is input to 16 timing counters in the set time, just can calculate the frequency of RC oscillator, and its formula is as follows:
The frequency of RC oscillator=(values of including of 16 timing counters)/(several milliseconds~tens of milliseconds)
See also Fig. 8 A, Fig. 8 B and shown in Figure 9, wherein utilize the contact witch testing circuit after improving, its steps flow chart is by carrying out in the figure number 41 to 58, handle the flow process that electronic cook ware panel micro-control unit detects 16 contact witches, in flow chart, want the frequency of measure R C oscillator, just can utilize 16 timing counters to interrupt the state of senses touch formula switch, except provide more accurate measured value, also reduce the workload of electronic cook ware panel micro-control unit at senses touch formula switch, electronic cook ware panel micro-control unit just can attentively be handled the sequence transmission with the electronic cook ware master control borad.
It is as follows to put out step in order according to Fig. 8 A, Fig. 8 B and Fig. 9:
A. set and to detect which touch-key (setting analog switch control register (ASON)) at present;
B. set the source of 16 first timing counters;
16 first timing counters and 16 second timing counters stop counting when c. setting 16 first timing counter overflows;
D. set the initial value of 16 first timing counters;
E. the initial value of setting 16 second timing counters is 0;
F. start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting;
G. inquire whether 16 first timing counters and 16 second timing counter timing countings stop? stopping then down, (h.) also do not stop then to continue g.;
H. the value of including with 16 second timing counters reads and deposits (X0) in the micro-control unit data storage;
I. set the initial value of 16 first timing counters;
J. the initial value of setting 16 second timing counters is 0;
K. start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting;
L. inquire whether 16 first timing counters and 16 second timing counter timing countings finish? finishing then down, (m.) do not finish then to continue l.;
M. the value of including with 16 second timing counters reads and deposits (X1) in the micro-control unit data storage;
N. be (X0-X1) greater than the set point of sensitivity? be then to represent contact witch at the state that closes, otherwise the state that the expression contact witch is being opened;
O. repeat i.~n. then always the state of senses touch formula switch at the state of holding or closing.
See also shown in Figure 10, the host-host protocol of electronic cook ware panel micro-control unit and electronic cook ware master control borad micro-control unit wherein, pulse (Clock) is sent by master, wherein electronic cook ware panel micro-control unit is owner (Master), main micro-control unit is subordinate (Slave), Master delivers to input or output pin with the data of transmission and the data of reception in pulse before by high (High) step-down (Low), Slave delivers to input or output pin with the data of transmission and the data of reception after pulse is by high step-down, finish the communication protocol of Master and Slave.The flow process of communication is that Master judged whether the data input pin of Master is low signal earlier before giving first Clock, for low signal just starts first pulse, for high signal does not just start first pulse, first pulse one is sent, and can in regular turn data all have been sent just and finish.
See also shown in Figure 11, the transmission data format of electronic cook ware panel micro-control unit and electronic cook ware master control borad micro-control unit wherein, with eight 8 bit data, can be encoded into 81 bit data (containing data bit), the data of each have a coordination position, so eight data have 8 sync bits, also distinctly there is a coordination position (D72~D79) position 0 of these eight data~position 7, (D72~D79) can produce a coordination position (D80) is so if just have the data of M N position can produce M+N+1 coordination position in these 8 coordination positions.
The time principle that RC oscillator first timing counter is set:
The RC oscillator will be measured its frequency of oscillation, need be set in regular time, measure the number of times of its concussion, on general household electrical appliances are used, have 60Hz or 50Hz AC power supplies interference of noise, in order to solve 60Hz or 50Hz AC power supplies interference of noise, usually need to use an external interrupt pin, be 50Hz or 60Hz is synchronous,, therefore utilize setting-up time with measure R C oscillator to be decided to be the interference problem that 50Hz or 60Hz solve alternating-current power supply in order to improve the method.
When contact witch is more and more, then the speed of Jian Ceing also can be more and more slower, speed with 50Hz (20ms) detects a contact witch, 16 contact witches just need 0.32 second, generally so can not allow the user accept, because the reaction of contact witch is too slow, in order to improve this problem, we can be made as 4 times of 50Hz to the time of detecting a contact witch, thus, then 16 contact witches just only need 0.08 second, ought detect some contact witches then is the state that is closing, then again with 50Hz (20ms) the time ask the state that detects this contact witch, the time of therefore finishing 16 contact witches of scanning just only needs 0.1 second (0.08 second+0.02 second).Only need 0.32 second original 1/3rd times.
According to disclosing of above-mentioned Fig. 4 to Figure 11, can understand touching type switch apparatus and the input method of the present invention for electronic cook ware, main purpose of the present invention is the micro-control unit indoor design is contained: the contact witch input of RC oscillator (RC OSC), at least one group of above analog switch and relative group of number, two groups of 16 timing counters.Can simplify peripheral number of electronic components, and utilize Control Software to adjust the sensitivity of contact witch, again with software interrupt mode to obtain the frequency of oscillation of accurate RC oscillator, by detecting the frequency of oscillation of this RC oscillator, can judge that contact witch is in unlatching or closing state, these 16 timing counters can accurately be set the duration of oscillation of RC oscillator, to reach the purpose that contact witch circuit reduction and stability increase.On market, has high commercial value, so propose patent application to seek Patent right protection.
In sum, architectural feature of the present invention and each embodiment disclose in detail, and can fully demonstrate the present invention's all dark well-off progressive of executing on purpose and effect, the value that has industry, and be utilization not seen before on the market at present, spiritual described according to Patent Law, the present invention meets the important document of patent of invention fully.
But the above only is the preferred embodiments of the present invention, can not limit the scope that the present invention implements with it, and promptly the equalization of doing according to claim of the present invention generally changes and revises, and all should belong to the scope that patent of the present invention contains.

Claims (6)

1. the touch formula switching device of an electronic cook ware, it comprises:
The panel micro-control unit, in order to the signal condition of processing and senses touch formula switch, and the output electronic signal, and it also comprises control integrated circuit; And
Main micro-control unit is accepted the electronic signal that the panel micro-control unit is exported, and controls electronic cook ware power and protection mechanism simultaneously;
The framework of this panel micro-control unit wherein comprises:
The RC oscillator, needed in order to produce contact witch with reference to clock pulse;
The frequency shift that some contact witches, human body contact back produce the RC oscillator is to admit one of them the operation of its some contact witches;
Some analog switches are controlled the same time and are had only one of them operation, and with as detecting one of them state of some contact witches of same time, and the number of the number of described analog switch and described contact witch is equal; And
First timing counter and second timing counter, when wherein first timing counter produces overflow, described first timing counter and second timing counter stop counting simultaneously, and read the numerical value of described first timing counter and second timing counter simultaneously;
One end of each described contact witch and each described analog switch couples respectively, and the other end of each described analog switch is coupled to the input of described RC oscillator, and the output of described RC oscillator is coupled to described second timing counter;
By above-mentioned formation, one of them needs to open to utilize software to set more than one at least analog switch again, with as selecting one of them the input of corresponding contact witch, detect the state of each contact witch again, utilize software one by one with the analog switch conducting again, to form the detected state of contact witch; During the state of senses touch formula switch, 1) at first set the initial value of described first timing counter and second timing counter, and the initial value of setting described second timing counter is zero; 2) start described RC oscillator, described first timing counter and second timing counter counting that picks up counting; 3) whether inquiry described first timing counter and second timing counter stops, when described first timing counter and second timing counter stop, writing down the value of including of described second timing counter; Repeat above-mentioned steps 1)-3); The difference of calculating the adjacent value of including is then represented contact witch at the state that closes if yes whether greater than the set point of sensitivity, if then represent the state that contact witch is being opened not the time; Wherein, be the frequency of oscillation that obtains accurate RC oscillator with software interrupt mode, by detecting the frequency of oscillation of this RC oscillator, judge that contact witch is in unlatching or closed condition.
2. the touch formula switching device of electronic cook ware as claimed in claim 1, wherein the touch formula switching device of this electronic cook ware also comprises circuit of LED, and utilizes this main micro-control unit to carry out the control action of circuit of LED.
3. the touch formula switching device of electronic cook ware as claimed in claim 2, wherein this circuit of LED also includes light-emitting diode and current-limiting resistance.
4. the touch formula switching device of electronic cook ware as claimed in claim 1, the wherein input of this control integrated circuit, reference resistance, three pins of reference capacitance are promptly formed the RC oscillator, change the frequency of RC oscillator according to institute's outer meeting resistance, capacitance in these three pins.
5. the method for the detection of an electronic cook ware contact witch is applied to the touch formula switching device of the described electronic cook ware of claim 1, and it comprises:
(a) set to detect which touch-key at present;
(b) set the source of 16 first timing counters, and the input source of setting 16 second timing counters is the output of RC oscillator;
16 first timing counters and 16 second timing counters stop counting when (c) setting 16 first timing counter overflows;
(d) initial value of 16 first timing counters of setting and 16 second timing counters, the initial value of wherein setting 16 second timing counters is 0;
(e) start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting;
(f) whether 16 first timing counters of inquiry and 16 second timing counter timing countings stop, and execution in step (g) then if yes is if then continue execution in step (f) not the time;
(g) value of the including X0 with 16 second timing counters reads and deposits in the micro-control unit data storage;
(h) initial value of 16 first timing counters of setting;
(i) initial value of 16 second timing counters of setting is 0;
(j) start the RC oscillator, 16 first timing counters and 16 second timing counters counting that picks up counting;
(k) whether 16 first timing counters of inquiry and 16 second timing counter timing countings finish, execution in step (1) then if yes, if otherwise continue execution in step (k);
(l) value of the including X1 with 16 second timing counters reads and deposits in the micro-control unit data storage;
(m) X0-X1 then represents contact witch at the state that closes if yes whether greater than the set point of sensitivity, if then represent the state that contact witch is being opened not the time; And
(n) repeat (h)~(m) then always the state of senses touch formula switch at the state of holding or closing.
6. the method for the detection of electronic cook ware contact witch as claimed in claim 5, wherein this step (a) sets to detect which touch-key by control analog switch control register.
CN2007100072870A 2007-01-25 2007-01-25 Touching type switch apparatus of electronic cook ware and input method thereof Active CN101232279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100072870A CN101232279B (en) 2007-01-25 2007-01-25 Touching type switch apparatus of electronic cook ware and input method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100072870A CN101232279B (en) 2007-01-25 2007-01-25 Touching type switch apparatus of electronic cook ware and input method thereof

Publications (2)

Publication Number Publication Date
CN101232279A CN101232279A (en) 2008-07-30
CN101232279B true CN101232279B (en) 2011-07-06

Family

ID=39898507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100072870A Active CN101232279B (en) 2007-01-25 2007-01-25 Touching type switch apparatus of electronic cook ware and input method thereof

Country Status (1)

Country Link
CN (1) CN101232279B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102998619B (en) * 2012-11-28 2015-07-15 深圳和而泰智能控制股份有限公司 Method, device and system for testing sensing buttons
CN103616589B (en) * 2013-11-28 2016-03-02 广东出入境检验检疫局检验检疫技术中心 A kind of electric cooker reliability detection device
CN104698910A (en) * 2013-12-10 2015-06-10 陈卫斌 Touch key and LED display drive IC (integrated circuit)
CN107788050A (en) * 2016-08-31 2018-03-13 广东美的生活电器制造有限公司 The control method of cook's machine, the control device of cook's machine and cook's machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4441034A (en) * 1981-11-26 1984-04-03 Inventio Ag Contact-controlled capacitive switching apparatus
US4495485A (en) * 1980-12-12 1985-01-22 General Electric Company Touch control arrangement for data entry
CN2217280Y (en) * 1994-12-17 1996-01-10 王科斌 Double wire touch type delay electronic switch
US5499026A (en) * 1990-01-11 1996-03-12 Varitronix Limited Conductive touch pad with capacitive blocking filter
CN2257691Y (en) * 1995-12-21 1997-07-16 刘安祥 Automatic cooking machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4495485A (en) * 1980-12-12 1985-01-22 General Electric Company Touch control arrangement for data entry
US4441034A (en) * 1981-11-26 1984-04-03 Inventio Ag Contact-controlled capacitive switching apparatus
US5499026A (en) * 1990-01-11 1996-03-12 Varitronix Limited Conductive touch pad with capacitive blocking filter
CN2217280Y (en) * 1994-12-17 1996-01-10 王科斌 Double wire touch type delay electronic switch
CN2257691Y (en) * 1995-12-21 1997-07-16 刘安祥 Automatic cooking machine

Also Published As

Publication number Publication date
CN101232279A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
CN101232279B (en) Touching type switch apparatus of electronic cook ware and input method thereof
CN108617043A (en) The control method and control device and cooking appliance of cooking appliance
CN103901910B (en) Heating device and control method thereof
CN107340910A (en) A kind of response method of touch key-press, device, storage medium and electronic equipment
WO2014046667A1 (en) Virtual touch knob assembly
CN103472752A (en) Infrared multiple-gear hand gesture recognition switch and infrared multiple-gear hand gesture recognition method
CN107923112A (en) The household appliance of improved operability with the operation device for being designed as touch-screen
CN100397838C (en) Digital type infrared-bluetooth two-bridge universal remote control device
CN205232186U (en) Touch panel with LED instruction function
CN201904772U (en) Touch-control type button control device for TV set
CN107066918A (en) By the method and its device that detect the operation of environment photocontrol electronic installation
CN209390035U (en) The annular touch control structure of electric appliance
CN202613531U (en) Electromagnetic oven capable of being started in sliding mode
CN204650365U (en) Notebook computer
CN202041929U (en) Touch screen control device
CN205845297U (en) A kind of all-purpose remote controller for information appliances
CN102571057A (en) Non-location touch key control device and method thereof
CN202127390U (en) Touching keyboard plate
CN205232189U (en) Touch circuit
CN108413467A (en) Smoke exhaust ventilator
CN203465704U (en) Touch panel based on protection type capacitive touch screen
CN103714688A (en) Infrared-transmission touch remote controller
CN101573681B (en) A user interface
CN202795743U (en) Touch remote control transmitted through infrared
US7800025B2 (en) Apparatus for controlling an electrical cooker and related method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant