US20110036827A1 - Apparatus for controlling an electrical cooker and related method thereof - Google Patents
Apparatus for controlling an electrical cooker and related method thereof Download PDFInfo
- Publication number
- US20110036827A1 US20110036827A1 US12/859,936 US85993610A US2011036827A1 US 20110036827 A1 US20110036827 A1 US 20110036827A1 US 85993610 A US85993610 A US 85993610A US 2011036827 A1 US2011036827 A1 US 2011036827A1
- Authority
- US
- United States
- Prior art keywords
- control unit
- counters
- counter
- panel control
- touch
- 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.)
- Abandoned
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/962—Capacitive touch switches
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K2217/00—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
- H03K2217/94—Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
- H03K2217/96—Touch switches
- H03K2217/9607—Capacitive touch switches
- H03K2217/96071—Capacitive touch switches characterised by the detection principle
- H03K2217/960715—Rc-timing; e.g. measurement of variation of charge time or discharge time of the sensor
Definitions
- the invention relates to an apparatus for controlling an electrical cooker and a method for detecting states of a plurality of touch switches, and more particularly to a micro-control device comprises a RC oscillator, a plurality of touch switches, a plurality of analog switches and two counters to simplify peripheral devices and utilize a software to adjust the sensitivity of the touch switches.
- 3C products hold a large part of modern life.
- the consumer electronics become light, thin, short, small and smart.
- an electrical magnetic cooker, a hotplate or a rice cooker it is easy to use for cooking or heating food and only need electrical power. It is also safe than a cooker with gas and fire.
- input devices of conventional electrical cookers are mechanical button.
- the shortage of the mechanical button is elasticity fatigue by frequently pressing, or shape changed because of high temperature.
- some electrical cookers have touch switches, but it is complicated to design.
- many different electric devices for example, a device for adjusting the sensitivity of the touch switch, are also need. Consequently, it causes the higher cost.
- FIG. 1 it is a functional block diagram of a conventional controller of an electrical cooker.
- the controller comprises a major micro-control unit 11 , a driving circuit 12 coupled to the major micro-control unit 11 for driving a light-emitting diode 13 , a panel control unit 14 coupled to coupled to the major micro-control unit 11 for data transmission, an analog switch 15 coupled to the panel control unit 14 for passing a signal received from a touch switch 16 , a RC oscillator 17 for generating a frequency according to the composition of a RC circuit 18 .
- the panel control unit 14 is able to determine the states (ON/OFF) of the touch switch 16 with software and transmits the states of the touch switch 16 to the major micro-control unit 11 , and the driving circuit 12 is controlled by the major micro-control unit 11 to drive light-emitting diode 13 correspondingly.
- the software may cause error/inaccuracy of the RC oscillator 17 because of timing of executing instructions.
- it is complex to combine the panel control unit 14 with other devices ( 15 , 16 , 17 and 18 ).
- FIG. 2 and FIG. 3 it is a flowchart showing detection of the touch switches of the conventional controller.
- calculating frequency of RC oscillator is after many steps including the counter counts, delay several milliseconds (step 193 ), stop the counter (step 197 ), read the content of the counter (step 197 ) and etc. It is understood that the conventional electrical cooker has many electric devices, the procedure is very complicated and also unstable.
- the present invention provides an apparatus for controlling an electrical cooker, a method for detecting states of a plurality of touch switches and a micro-control unit.
- the present invention also provides an IC circuit comprised in the panel control unit, the IC circuit comprises a RC oscillator for generating a reference clock, a plurality of analog switches coupled to the touch switches for controlling transmission of the transition signal and a plurality of counters for counting time, whereby all of the counters stop counting when one of the counters overflows and content of all counters being read, wherein ON/OFF of the analog switches controlled by a software.
- FIG. 1 is a functional block diagram of a conventional controller of a electrical cooker
- FIG. 2 and FIG. 3 are flowcharts showing detection of the touch switches of the conventional controller
- FIG. 4 is a functional block diagram of an apparatus for controlling a electrical cooker according to an embodiment of the present invention.
- FIG. 5 is a functional block diagram of a panel control unit according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of two counters according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram showing content of the counter transmitted by the RC oscillator according to an embodiment of the present invention.
- FIGS. 8A , 8 B and 9 are flowcharts showing detecting the states of touch switches according to an embodiment of the present invention.
- FIG. 10 is a timing diagram showing the transmission timing between the panel control unit and the micro-control unit according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram showing the data format of the panel control unit and the micro-control unit according to an embodiment of the present invention.
- FIGS. 4 through 11 generally relate to an apparatus for controlling an electrical cooker. It is to be understood that the following disclosure provides various different embodiments as examples for implementing different features of the invention. Specific examples of components and arrangements are described in the following to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various described embodiments and/or configurations.
- the invention discloses an apparatus for controlling an electrical cooker, a method for detecting states of a plurality of touch switches and a micro-control unit.
- FIG. 4 it is a functional block diagram of an apparatus for controlling an electrical cooker according to an embodiment of the present invention.
- the apparatus comprises at least one touch switch 24 , a RC circuit 25 , a panel control unit 22 , a light-emitting diode 23 , and a micro-control unit 21 .
- the touch switch 24 being a electronic switch for generating a transition signal to the panel control unit 24 when the touch switch 24 is touched by human beings.
- the panel control unit 22 is coupled to the touch switch 24 for processing and detecting states (for example, ON/OFF) of the touch switch 24 according to the transition signal, and generating an electric signal according a frequency.
- the micro-control unit 21 is coupled to the panel control unit 22 for receiving the electric signal transmitted by the panel control unit 22 and controlling power the electrical cooker.
- the light-emitting diode (LED) circuit 23 coupled to the panel control unit 22 is controlled by the micro-control unit 21 to drive LEDs (not shown). Further, the panel control unit 22 transmits the states of the touch switch 24 to the micro-control unit 21 and receives information from the micro-control unit 21 to light the LEDs of the LED circuit 23 . Moreover, the panel control unit 22 further comprises a IC circuit having three pins IN, RREF and CREF for forming a RC oscillator so as to the frequency being changed by the RC circuit 25 coupled to IN, RREF and CREF three pins, and wherein the RC circuit 25 includes at least one register and at least one capacitor. With respect to the description of the IC circuit, it will be discussed in detail later.
- the panel control unit 22 detects, for example, 16 touch switches by software, a RC oscillator included in itself, two 16-bits counters and 16 analog switches.
- the panel control unit 22 utilizes two built-in 8-bits counters and 16 pins having enforced driving capability to light 64 LEDs.
- the micro-control unit 21 communicates the panel control unit 22 with 3 pins, and transmits the states of the touch switch 24 and information about lighting LEDs.
- FIG. 5 it is a functional block diagram of an IC circuit in the panel control unit 22 according to an embodiment of the present invention.
- the IC circuit 221 comprises a RC oscillator, a first counter 2213 , a second counter 2214 , three pins (IN, RREF, CREF) 2212 and an analog switch on/off control register (ASON) 2211 .
- the first counter 2213 and the second counter 2214 are, for example, 8-bits counters.
- the RC oscillator and two counters 2213 , 2214 have the same control source to start at the same time.
- the first counter 2213 has a default value could be configured by software. When the first counter 2213 overflows, two counters stop counting at the same time and the content of two counters are stored.
- the software can set which analog switches (T.G. 1 ⁇ T.G.
- K 1 ⁇ K 16 are pins of the IC circuit 221 and coupled to the touch switches like a piece of metal covered glass/acrylic or copper ring covered glass/acrylic on a circuit board.
- KOUT is one of pins of the IC circuit 221 and coupled to K 1 ⁇ K 16 via T.G. 1 ⁇ T.G. 16 .
- the ASON 2211 could turn one of T.G. 1 ⁇ T.G. 16 on and one corresponding pins K 1 ⁇ K 16 will connect to KOUT, the ASON reference table is shown in Table 1.
- the RC oscillator is the combination of resisters and capacitor correspondingly coupled to IN, RREF and CREF pins.
- ASON Defines the analog switch for K1 ⁇ K16 which is on.
- FIG. 6 it is a schematic diagram of two counters according to an embodiment of the present invention.
- the first counter 33 receives a system pulse signal 31 and a 1 ⁇ 4 system pulse signal 32 .
- the second counter 34 receives the output of the RC oscillator 36 .
- a start control register (T1ON) 35 connects to the first counter 33 and the second counter 34 . The operation is as follow:
- the operation described above also could apply to a case of multiple touch switches by increasing multiple ASONs for detecting multiple touch switches one by one.
- FIG. 7 it is a schematic diagram showing content of the counter transmitted by the RC oscillator according to another embodiment of the present invention.
- the frequency of the signal transmitted from the RC oscillator equals the content stored in the counter dividing by the duration (several milliseconds to dozens of milliseconds).
- the flowchart shows detecting the states of touch switches according to an embodiment of the present invention.
- the flowchart is organized to the following steps:
- FIG. 10 it is a timing diagram showing the transmission timing between the panel control unit and the micro-control unit according to an embodiment of the present invention.
- the master presents the panel control unit and the slave presents the micro-control unit.
- the master transmits/receives data from output/input pins before the falling edge of the clock, but the slave transmits/receives data from output/input pins after the falling edge of the clock.
- FIG. 11 it is a schematic diagram showing the data format of the panel control unit and the micro-control unit according to an embodiment of the present invention.
- Eight 8-bits data could be encoded in 81 bits. Each one data has a parity bit (bit D 8 is even parity of bits D 0 ⁇ D 7 ). Also, bit D 72 is even parity of bit D 0 , D 9 , D 18 , D 27 , D 36 , D 45 , D 54 and D 63 . Furthermore, bit D 80 is even parity of bits D 72 ⁇ D 79 . In other word, there are M+N+1 even parity bits if M N-bits data. To prevent the interference from the noise of the AC power (50 Hz or 60 Hz), it should be set the frequency of the RC oscillator to 50 Hz or 60 Hz. More touch switches need detection, less detection speed occurs.
- detecting 16 touch switches needs 0.32 second (one touch switch 20 ms/50 Hz). The time 0.32 seconds is too slow to tolerate by users. It may be set 200 Hz to detect 16 touch switches that needs only 0.08 seconds. Then detecting the state of the touch switch is on or off needs 0.02 seconds. Totally it needs 0.1 seconds faster than 0.32 seconds.
- Methods and systems of the present disclosure may take the form of program code (i.e., instructions) embodied in media, such as floppy diskettes, CD-ROMS, hard drives, firmware, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing embodiments of the disclosure.
- the methods and apparatus of the present disclosure may also be embodied in the form of program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing and embodiment of the disclosure.
- the program code When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to specific logic circuits.
Landscapes
- Electronic Switches (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
Abstract
The present invention provides a micro-control device, which comprises a RC oscillator for generating a reference clock, a plurality of analog switches coupled to the touch switches for controlling transmission of the transition signal and a plurality of counters for counting time, all of the counters stop counting when one of the counters overflows and content of all counters being read, wherein ON/OFF of the analog switches controlled by a software.
Description
- 1. Field of the Invention
- The invention relates to an apparatus for controlling an electrical cooker and a method for detecting states of a plurality of touch switches, and more particularly to a micro-control device comprises a RC oscillator, a plurality of touch switches, a plurality of analog switches and two counters to simplify peripheral devices and utilize a software to adjust the sensitivity of the touch switches.
- 2. Description of the Related Art
- In modern life, 3C products hold a large part of modern life. The consumer electronics become light, thin, short, small and smart. For example, an electrical magnetic cooker, a hotplate or a rice cooker, it is easy to use for cooking or heating food and only need electrical power. It is also safe than a cooker with gas and fire.
- Generally, input devices of conventional electrical cookers are mechanical button. The shortage of the mechanical button is elasticity fatigue by frequently pressing, or shape changed because of high temperature. In other hand, some electrical cookers have touch switches, but it is complicated to design. Besides a basic micro-control unit, many different electric devices, for example, a device for adjusting the sensitivity of the touch switch, are also need. Consequently, it causes the higher cost.
- Referring to
FIG. 1 , it is a functional block diagram of a conventional controller of an electrical cooker. The controller comprises a majormicro-control unit 11, adriving circuit 12 coupled to the majormicro-control unit 11 for driving a light-emitting diode 13, apanel control unit 14 coupled to coupled to the majormicro-control unit 11 for data transmission, ananalog switch 15 coupled to thepanel control unit 14 for passing a signal received from atouch switch 16, aRC oscillator 17 for generating a frequency according to the composition of aRC circuit 18. Thepanel control unit 14 is able to determine the states (ON/OFF) of thetouch switch 16 with software and transmits the states of thetouch switch 16 to the majormicro-control unit 11, and thedriving circuit 12 is controlled by the majormicro-control unit 11 to drive light-emitting diode 13 correspondingly. The software, however, may cause error/inaccuracy of theRC oscillator 17 because of timing of executing instructions. In the other hand, it is complex to combine thepanel control unit 14 with other devices (15, 16, 17 and 18). - Referring to
FIG. 2 andFIG. 3 , it is a flowchart showing detection of the touch switches of the conventional controller. In the flowchart, we can find that calculating frequency of RC oscillator is after many steps including the counter counts, delay several milliseconds (step 193), stop the counter (step 197), read the content of the counter (step 197) and etc. It is understood that the conventional electrical cooker has many electric devices, the procedure is very complicated and also unstable. - To solve the disadvantage of the prior art. The present invention provides an apparatus for controlling an electrical cooker, a method for detecting states of a plurality of touch switches and a micro-control unit.
- The present invention provides an apparatus for controlling an electrical cooker comprises at least one touch switch for generating a transition signal, a panel control unit for processing and detecting states of the touch switch to generate an electric signal and a micro-control unit for receiving the electric signal transmitted by the panel control unit and controlling power the electrical cooker.
- The present invention also provides an IC circuit comprised in the panel control unit, the IC circuit comprises a RC oscillator for generating a reference clock, a plurality of analog switches coupled to the touch switches for controlling transmission of the transition signal and a plurality of counters for counting time, whereby all of the counters stop counting when one of the counters overflows and content of all counters being read, wherein ON/OFF of the analog switches controlled by a software.
- The present invention provides an apparatus for controlling an electrical cooker comprises an apparatus for controlling an electrical cooker, comprises a plurality of touch switches for generating a transition signal indicating one of the touch switches being touched by human beings, a panel control unit coupled to the touch switches and including a IC circuit for processing and detecting states of the touch switch to generate an electronic signal, wherein the IC circuit comprises: a RC oscillator for generating a reference clock; a plurality of analog switches for controlling transmission of the transition signal; and a plurality of counters for counting time, all of the counters stop counting when one of the counters overflows and content of all counters being read; wherein ON/OFF of the analog switches controlled by a software; and a micro-control unit coupled to the panel control unit for receiving the electric signal transmitted by the panel control unit and controlling power the electrical cooker.
- The present invention also provides a method for detecting states of a plurality of touch switches comprises determining one of the touch switches for detection, setting source of a first counter, configuring the first counter and a second counter to stop counting when the first counter overflows, initializing the first counter and the second counter, starting a RC oscillator, the first counter and the second counter, determining whether the first counter and the second counter stop or not, storing content of the first counter in a first memory (X0) of a micro-controller, initializing the first counter, setting content of the second counter to 0, starting the RC oscillator, the first counter and the second counter, determining whether the first counter and the second counter stop or not, storing content of the first counter in a second memory (X1) of the micro-controller and determining whether (X0-X1) is larger than a sensitivity value or not.
- A detailed description is given in the following embodiments with reference to the accompanying drawings.
- The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
-
FIG. 1 is a functional block diagram of a conventional controller of a electrical cooker; -
FIG. 2 andFIG. 3 are flowcharts showing detection of the touch switches of the conventional controller; -
FIG. 4 is a functional block diagram of an apparatus for controlling a electrical cooker according to an embodiment of the present invention; -
FIG. 5 is a functional block diagram of a panel control unit according to an embodiment of the present invention; -
FIG. 6 is a schematic diagram of two counters according to an embodiment of the present invention; -
FIG. 7 is a schematic diagram showing content of the counter transmitted by the RC oscillator according to an embodiment of the present invention; -
FIGS. 8A , 8B and 9 are flowcharts showing detecting the states of touch switches according to an embodiment of the present invention; -
FIG. 10 is a timing diagram showing the transmission timing between the panel control unit and the micro-control unit according to an embodiment of the present invention; and -
FIG. 11 is a schematic diagram showing the data format of the panel control unit and the micro-control unit according to an embodiment of the present invention. - Several exemplary embodiments of the invention are described with reference to
FIGS. 4 through 11 , which generally relate to an apparatus for controlling an electrical cooker. It is to be understood that the following disclosure provides various different embodiments as examples for implementing different features of the invention. Specific examples of components and arrangements are described in the following to simplify the present disclosure. These are, of course, merely examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various described embodiments and/or configurations. - The invention discloses an apparatus for controlling an electrical cooker, a method for detecting states of a plurality of touch switches and a micro-control unit.
- Referring to
FIG. 4 , it is a functional block diagram of an apparatus for controlling an electrical cooker according to an embodiment of the present invention. - The apparatus comprises at least one
touch switch 24, aRC circuit 25, apanel control unit 22, a light-emitting diode 23, and amicro-control unit 21. Thetouch switch 24 being a electronic switch for generating a transition signal to thepanel control unit 24 when thetouch switch 24 is touched by human beings. Thepanel control unit 22 is coupled to thetouch switch 24 for processing and detecting states (for example, ON/OFF) of thetouch switch 24 according to the transition signal, and generating an electric signal according a frequency. Themicro-control unit 21 is coupled to thepanel control unit 22 for receiving the electric signal transmitted by thepanel control unit 22 and controlling power the electrical cooker. The light-emitting diode (LED)circuit 23 coupled to thepanel control unit 22 is controlled by themicro-control unit 21 to drive LEDs (not shown). Further, thepanel control unit 22 transmits the states of thetouch switch 24 to themicro-control unit 21 and receives information from themicro-control unit 21 to light the LEDs of theLED circuit 23. Moreover, thepanel control unit 22 further comprises a IC circuit having three pins IN, RREF and CREF for forming a RC oscillator so as to the frequency being changed by theRC circuit 25 coupled to IN, RREF and CREF three pins, and wherein theRC circuit 25 includes at least one register and at least one capacitor. With respect to the description of the IC circuit, it will be discussed in detail later. In one embodiment, thepanel control unit 22 detects, for example, 16 touch switches by software, a RC oscillator included in itself, two 16-bits counters and 16 analog switches. Thepanel control unit 22 utilizes two built-in 8-bits counters and 16 pins having enforced driving capability to light 64 LEDs. Themicro-control unit 21 communicates thepanel control unit 22 with 3 pins, and transmits the states of thetouch switch 24 and information about lighting LEDs. - Referring to
FIG. 5 , it is a functional block diagram of an IC circuit in thepanel control unit 22 according to an embodiment of the present invention. - The
IC circuit 221 comprises a RC oscillator, afirst counter 2213, asecond counter 2214, three pins (IN, RREF, CREF) 2212 and an analog switch on/off control register (ASON) 2211. Thefirst counter 2213 and thesecond counter 2214 are, for example, 8-bits counters. The RC oscillator and twocounters first counter 2213 has a default value could be configured by software. When thefirst counter 2213 overflows, two counters stop counting at the same time and the content of two counters are stored. The software can set which analog switches (T.G.1˜T.G.16) to turn on and pass the input (K1˜K16) accordingly. K1˜K16 are pins of theIC circuit 221 and coupled to the touch switches like a piece of metal covered glass/acrylic or copper ring covered glass/acrylic on a circuit board. KOUT is one of pins of theIC circuit 221 and coupled to K1˜K16 via T.G.1˜T.G.16. TheASON 2211 could turn one of T.G.1˜T.G.16 on and one corresponding pins K1˜K16 will connect to KOUT, the ASON reference table is shown in Table 1. When one of touch switches K1˜K16 is touched by human beings, the frequency of RC will be changed and a transition signal is transmitted through one of analog switches (T.G.1˜T.G.16) to KOUT. The RC oscillator is the combination of resisters and capacitor correspondingly coupled to IN, RREF and CREF pins. -
TABLE 1 Bit No. Label Function 0~4 ASON Defines the analog switch for K1~K16 which is on. ASON= 00000b = Analog switch 1 on, otheranalog switch off 00001b = Analog switch 2 on, otheranalog switch off 00010b = Analog switch 3 on, otheranalog switch off 00011b = Analog switch 4 on, otheranalog switch off 00100b = Analog switch 5 on, otheranalog switch off 00101b = Analog switch 6 on, otheranalog switch off 00110b = Analog switch 7 on, otheranalog switch off 00111b = Analog switch 8 on, otheranalog switch off 01000b = Analog switch 9 on, otheranalog switch off 01001b = Analog switch 10 on, otheranalog switch off 01010b = Analog switch 11 on, otheranalog switch off 01011b = Analog switch 12 on, otheranalog switch off 01100b = Analog switch 13 on, otheranalog switch off 01101b = Analog switch 14 on, otheranalog switch off 01110b = Analog switch 15 on, otheranalog switch off 01111b = Analog switch 16 on, otheranalog switch off 1xxxxb = All analog switch off 5~7 — Unused bit, read as “0” - Referring to
FIG. 6 , it is a schematic diagram of two counters according to an embodiment of the present invention. - The
first counter 33 receives asystem pulse signal 31 and a ¼system pulse signal 32. Thesecond counter 34 receives the output of theRC oscillator 36. A start control register (T1ON) 35 connects to thefirst counter 33 and thesecond counter 34. The operation is as follow: -
- a. determining the input of the
first counter 33 is thesystem pulse signal 31 or the ¼system pulse signal 32; - b. transmitting signal of the
RC oscillator 36 to thesecond counter 34; - c. generating an interrupt when the
first counter 33 or thesecond counter 34 overflows to resetT1ON 35 to zero whereby stop thefirst counter 33 or thesecond counter 34 counting, wherein thefirst counter 33 and thesecond counter 34 is selected by the OVB control register; - d. In the step c, the
T1ON 35 controls two counters to start counting when T1ON is 1 and to stop counting when T1ON is 0.
- a. determining the input of the
- The operation described above also could apply to a case of multiple touch switches by increasing multiple ASONs for detecting multiple touch switches one by one.
- Referring to
FIG. 7 , it is a schematic diagram showing content of the counter transmitted by the RC oscillator according to another embodiment of the present invention. The frequency of the signal transmitted from the RC oscillator equals the content stored in the counter dividing by the duration (several milliseconds to dozens of milliseconds). - Referring to
FIGS. 8A , 8B and 9, the flowchart shows detecting the states of touch switches according to an embodiment of the present invention. The flowchart is organized to the following steps: -
- a. determining one of the touch switches for detection;
- b. setting source of a first counter;
- c. configuring the first counter and a second counter to stop counting when the first counter overflows;
- d. initializing the first counter;
- e. setting content of the second counter to 0;
- f. starting the RC oscillator, the first counter and the second counter;
- g. determining whether the first counter and the second counter stop or not, if yes, go to h. step; otherwise, keep g. step;
- h. storing content of the first counter in the first memory (X0) of the micro-controller;
- i. initializing the first counter;
- j. setting content of the second counter to 0;
- k. starting the RC oscillator, the first counter and the second counter;
- l. determining whether the first counter and the second counter stop or not, if yes, go to m. step; otherwise, keep l. step;
- m. storing content of the second counter in the second memory (X1) of the micro-controller;
- n. determining whether (X0-X1) is larger than a sensitivity value or not, if yes, the touch switch is off, otherwise, is on; and
- o. repeating the steps i. to step n. to continue detecting the touch switches.
- Referring to
FIG. 10 , it is a timing diagram showing the transmission timing between the panel control unit and the micro-control unit according to an embodiment of the present invention. - In the timing diagram, the master presents the panel control unit and the slave presents the micro-control unit. The master transmits/receives data from output/input pins before the falling edge of the clock, but the slave transmits/receives data from output/input pins after the falling edge of the clock.
- Referring to
FIG. 11 , it is a schematic diagram showing the data format of the panel control unit and the micro-control unit according to an embodiment of the present invention. - Eight 8-bits data, for example, could be encoded in 81 bits. Each one data has a parity bit (bit D8 is even parity of bits D0˜D7). Also, bit D72 is even parity of bit D0, D9, D18, D27, D36, D45, D54 and D63. Furthermore, bit D80 is even parity of bits D72˜D79. In other word, there are M+N+1 even parity bits if M N-bits data. To prevent the interference from the noise of the AC power (50 Hz or 60 Hz), it should be set the frequency of the RC oscillator to 50 Hz or 60 Hz. More touch switches need detection, less detection speed occurs. For example, detecting 16 touch switches needs 0.32 second (one touch switch 20 ms/50 Hz). The time 0.32 seconds is too slow to tolerate by users. It may be set 200 Hz to detect 16 touch switches that needs only 0.08 seconds. Then detecting the state of the touch switch is on or off needs 0.02 seconds. Totally it needs 0.1 seconds faster than 0.32 seconds.
- Methods and systems of the present disclosure, or certain aspects or portions of embodiments thereof, may take the form of program code (i.e., instructions) embodied in media, such as floppy diskettes, CD-ROMS, hard drives, firmware, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing embodiments of the disclosure. The methods and apparatus of the present disclosure may also be embodied in the form of program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing and embodiment of the disclosure. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to specific logic circuits.
- While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Claims (6)
1. An apparatus for controlling an electrical cooker, comprising:
at least one touch switch for generating a transition signal;
a panel control unit coupled to the least one touch switch for processing and detecting states of the touch switch to generate an electric signal; and
a micro-control unit coupled to the panel control unit for receiving the electric signal transmitted by the panel control unit and controlling power the electrical cooker.
2. The apparatus as claimed in claim 1 , further comprising a light-emitting circuit controlled by the micro-control unit.
3. The apparatus as claimed in claim 2 , wherein the light-emitting circuit comprises a light-emitting diode and a resister which restricts current.
4. The apparatus as claimed in claim 1 , wherein the panel controller further comprises a IC circuit, which comprises:
a RC oscillator for generating a reference clock;
a plurality of analog switches for controlling transmission of the transition signal; and
a plurality of counters for counting time, all of the counters stop counting when one of the counters overflows and content of all counters being read; wherein ON/OFF of the analog switches controlled by a software.
5. The apparatus as claimed in claim 4 , wherein the IC circuit further comprises three pins IN, RREF and CREF, coupled to resister and capacitance for changing the frequency of the RC oscillator.
6. An apparatus for controlling an electrical cooker, comprising:
a plurality of touch switches coupled to the least one touch switch for generating a transition signal indicating one of the touch switches being touched by human beings;
a panel control unit, coupled to the touch switches and including a IC circuit for processing and detecting states of the touch switch to generate an electronic signal, wherein the IC circuit comprises:
a RC oscillator for generating a reference clock;
a plurality of analog switches for controlling transmission of the transition signal; and
a plurality of counters for counting time, all of the counters stop counting when one of the counters overflows and content of all counters being read; wherein ON/OFF of the analog switches controlled by a software; and
a micro-control unit coupled to the panel control unit for receiving the electric signal transmitted by the panel control unit and controlling power the electrical cooker.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/859,936 US20110036827A1 (en) | 2007-01-19 | 2010-08-20 | Apparatus for controlling an electrical cooker and related method thereof |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW096102104A TW200832907A (en) | 2007-01-19 | 2007-01-19 | Apparatus for controlling an electrical cooker and related method thereof |
TW096102104 | 2007-01-19 | ||
US11/757,515 US7800025B2 (en) | 2007-01-19 | 2007-06-04 | Apparatus for controlling an electrical cooker and related method thereof |
US12/859,936 US20110036827A1 (en) | 2007-01-19 | 2010-08-20 | Apparatus for controlling an electrical cooker and related method thereof |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/757,515 Division US7800025B2 (en) | 2007-01-19 | 2007-06-04 | Apparatus for controlling an electrical cooker and related method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
US20110036827A1 true US20110036827A1 (en) | 2011-02-17 |
Family
ID=39640229
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/757,515 Active 2029-01-13 US7800025B2 (en) | 2007-01-19 | 2007-06-04 | Apparatus for controlling an electrical cooker and related method thereof |
US12/859,936 Abandoned US20110036827A1 (en) | 2007-01-19 | 2010-08-20 | Apparatus for controlling an electrical cooker and related method thereof |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/757,515 Active 2029-01-13 US7800025B2 (en) | 2007-01-19 | 2007-06-04 | Apparatus for controlling an electrical cooker and related method thereof |
Country Status (2)
Country | Link |
---|---|
US (2) | US7800025B2 (en) |
TW (1) | TW200832907A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI420345B (en) * | 2010-11-09 | 2013-12-21 | Waltop Int Corp | Coordinate detecting system and method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4403302A (en) * | 1980-10-30 | 1983-09-06 | Essex Group Inc. | Automatic resetting of control system for loss of time reference |
US4601004A (en) * | 1981-12-03 | 1986-07-15 | National Controls Corporation | Microcomputer controlled cooking timer and method |
US20030026372A1 (en) * | 2001-07-31 | 2003-02-06 | International Business Machines Corporation | Adaptive phase locked loop |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62159214A (en) | 1986-01-07 | 1987-07-15 | Fujitsu Ltd | Touch input panel device |
TW286371B (en) | 1995-03-31 | 1996-09-21 | Minnesota Mining & Mfg | |
JP3480276B2 (en) | 1997-10-29 | 2003-12-15 | 松下電工株式会社 | Touch switch |
JP3869099B2 (en) | 1997-11-25 | 2007-01-17 | 株式会社リコー | Touch panel coordinate measuring device |
JP2006333148A (en) | 2005-05-26 | 2006-12-07 | Tamura Seisakusho Co Ltd | Touch sensor circuit |
-
2007
- 2007-01-19 TW TW096102104A patent/TW200832907A/en not_active IP Right Cessation
- 2007-06-04 US US11/757,515 patent/US7800025B2/en active Active
-
2010
- 2010-08-20 US US12/859,936 patent/US20110036827A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4403302A (en) * | 1980-10-30 | 1983-09-06 | Essex Group Inc. | Automatic resetting of control system for loss of time reference |
US4601004A (en) * | 1981-12-03 | 1986-07-15 | National Controls Corporation | Microcomputer controlled cooking timer and method |
US20030026372A1 (en) * | 2001-07-31 | 2003-02-06 | International Business Machines Corporation | Adaptive phase locked loop |
Also Published As
Publication number | Publication date |
---|---|
TWI336998B (en) | 2011-02-01 |
US20080173633A1 (en) | 2008-07-24 |
US7800025B2 (en) | 2010-09-21 |
TW200832907A (en) | 2008-08-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110073310B (en) | Apparatus and method for adjusting power mode of display of device | |
AU2002354603B2 (en) | A control indication assembly | |
KR100700143B1 (en) | Device and method for displaying key selection in touch keypad | |
US20120268025A1 (en) | Switching circuit system for adjusting brightness and method thereof | |
KR100967316B1 (en) | Touch sensing apparatus and electronic device connected to touch sensing apparatus thereof | |
EP2887188A1 (en) | Control system for a gesture sensing arrangement and method for controlling a gesture sensing arrangement | |
US20140347172A1 (en) | Logo assembly of an electronic device | |
TW201352012A (en) | Device identification apparatus and remote control system | |
US7800025B2 (en) | Apparatus for controlling an electrical cooker and related method thereof | |
US20170220131A1 (en) | Method for controlling operations of an electronic device through ambient light detection, and associated apparatus | |
JP2014031932A (en) | Refrigerator and operation device | |
CN101232279A (en) | Touching type switch apparatus of electronic cook ware and input method thereof | |
CN109619796B (en) | Switch control method, device, electronic equipment and computer readable storage medium | |
US20060256089A1 (en) | System and method for providing virtual keys in a capacitive technology based user input device | |
US20110199309A1 (en) | Input Device | |
JPH025056B2 (en) | ||
US20140312962A1 (en) | Capacitive switch having high accuracy | |
CN104615377A (en) | Information processing method and electronic equipment | |
WO2021204117A1 (en) | Household appliance control method, household appliance, and computer-readable storage medium | |
CN202041929U (en) | Touch screen control device | |
US20130070444A1 (en) | Control method for backlight of an input device and device thereof | |
TW201508559A (en) | Input device and control unit | |
US20100188003A1 (en) | Electronic device, a control system and a method of controlling a light-emitting element thereof | |
US8199026B2 (en) | Quantification indicating circuit | |
CN110822931A (en) | Control method combining rotation and pressing operation and electric ceramic stove applying control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: HOLTEK SEMICONDUCTOR INC., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIU, WEN-LIANG;YANG, CHIN-HUNG;REEL/FRAME:024867/0513 Effective date: 20070601 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |