Apparatus for controlling an electrical cooker and related method thereof
AssigneeHoltek Semiconductor Inc.
InventorsWen-Liang Liu, Chin-Hung Yang
Life of this patent
Estimating the term…
Abstract
The present invention provides a micro-control unit a RC oscillator for generating a reference clock, a plurality of touch switches for generating a transition signal indicating one of the touch switches being touched by human beings, 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.
Claims12
An apparatus for controlling an electrical cooker, comprising:
- a touch switch for generating a transition signal;
- a panel control unit for processing and detecting states of the touch switch;
- and
- a micro-control unit for receiving an electric signal transmitted by the panel control unit and controlling power the electrical cooker.
A micro-control unit, comprising:
- a RC oscillator for generating a reference clock;
- a plurality of touch switches for generating a transition signal indicating one of the touch switches being touched by human beings;
- 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.
A method for detecting states of a plurality of touch switches, comprising:
- (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 and the second counter;
- (e) starting a RC oscillator, the first counter and the second counter;
- (f) determining whether the first counter and the second counter stop or not;
- (g) storing content of the first counter in a first memory(X0) of a micro-controller;
- (h) initializing the first counter;
- (i) setting content of the second counter to 0;
- (j) starting the RC oscillator, the first counter and the second counter;
- (k) determining whether the first counter and the second counter stop or not;
- (l) storing content of the first counter in a second memory(X1) of the micro-controller;
- (m) determining whether (X0-X1) is larger than a sensitivity value or not;
- and
- (n) repeating the steps (i) to (m).
Dependencies are inferred from the claim text.