CN101399536A - On/off control circuit for light touch switch in micro-controller system and control method - Google Patents

On/off control circuit for light touch switch in micro-controller system and control method Download PDF

Info

Publication number
CN101399536A
CN101399536A CNA2007100613316A CN200710061331A CN101399536A CN 101399536 A CN101399536 A CN 101399536A CN A2007100613316 A CNA2007100613316 A CN A2007100613316A CN 200710061331 A CN200710061331 A CN 200710061331A CN 101399536 A CN101399536 A CN 101399536A
Authority
CN
China
Prior art keywords
circuit
switch
chip microcomputer
touch
single chip
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.)
Pending
Application number
CNA2007100613316A
Other languages
Chinese (zh)
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.)
YANXIANG ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd TIANJIN CITY
Original Assignee
YANXIANG ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd TIANJIN CITY
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by YANXIANG ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd TIANJIN CITY filed Critical YANXIANG ELECTRONIC SCIENCE AND TECHNOLOGY Co Ltd TIANJIN CITY
Priority to CNA2007100613316A priority Critical patent/CN101399536A/en
Publication of CN101399536A publication Critical patent/CN101399536A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention relates to a touch switch power on-of control circuit in a monolithic system and a control method. The circuit comprises a power circuit, a switch circuit, a DC/DC converting circuit, a single chip circuit, a switch drive circuit and a touch switch circuit. The power circuit is connected with the DC/DC converting circuit by the switch circuit. The DC/DC converting circuit outputs regulated voltage and supplies power for the system. One output end of the touch switch circuit is connected with a control end of the switch circuit while the other output end is connected with an interruption interface in the single chip circuit. One I/O interface of the single chip circuit is connected with a control end of the switch circuit by the switch drive circuit. After the touch switch is pressed, the power is connected and the system is electrified and works; after the touch switch is pressed again, the single chip goes into the interruption procedure, the level of the I/O interface becomes low level, the switch drive circuit stops, and the power is closed. The invention has the advantage that after power source of a power source circuit using the touch switch is shut off, a work circuit which consumes electrical energy is not existed in the circuit of the single chip system, thus saving electric energy.

Description

On/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system and control method
Technical field
The present invention relates to the power technique fields in the Single Chip Microcomputer (SCM) system, relate in particular to on/off control circuit for light touch switch and control method in a kind of Single Chip Microcomputer (SCM) system.
Background technology
The deenergization power supply circuits quit work single chip circuit, and simple effective method is switch of polyphone on power-supplying circuit, general at present adopt toggle switch, band self-locking push away buck switch or toggle switch etc.These switches are to need not external force can rest on arbitrary position of connecting or turn-offing two states.But the switch of these types all has certain mechanical structure, and stretches out an operating grip or knob outside guidance panel, makes to be difficult to obtain sealing property in having than the application of high-protection level requirement.And be produced on touch-switch in the film face-plate take up room little, long service life, compliance with environmental protection requirements, can be produced on other action button of system control panel in the same film face-plate, be easy to realize appearance design attractive in appearance, obtain operating characteristics preferably.But touch-switch can only be sent one with the different pulse signal of compressing time distinct pulse widths to control circuit.Prior art generally is bistable circuit of design for realizing the switch of touch-switch control power supply, and the trigger end of bistable circuit connects a touch-switch.Push touch-switch, the trigger end of bistable circuit obtains a pulse signal, makes the bistable circuit upset, the state that bistable circuit is different, and the control switch circuit turns on and off power circuit.But this bistable circuit will connect power supply all the time, and no matter system and power circuit are connected still and turn-offed, and power circuit must be always this bistable circuit power supply.Though the bistable circuit power consumption is faint, for battery powered system, but be a consumption that can not be ignored, directly influence the service time of battery.
And for example the patent No. is in the technology of announcing in " intellective IC card gas meter automatic measurement and control device " patent of ZL 97236092.1, the signal input part of its microcontroller power supply control circuit is divided into a four-input terminal and door, four-input terminal is connected the battery switch that is in place with first input of door, second input connects the switch of IC-card plug-in card testing circuit, the 3rd input connects the output of voltage detection circuit, the 4th input connects the output of metering signal receiving circuit, when four inputs are low level, four-input terminal and door output low level, the work of single-chip microcomputer energized.The device of this utility model is a powered battery, for reduce power consumption do not insert IC-card, the single-chip microcomputer working power is not cut off when having metering signal output, but four-input terminal is connected with battery all the time with circuit such as door, voltage detection circuits, is still consuming the electric energy of battery.
Summary of the invention
Main purpose of the present invention be at the power control circuit that adopts touch-switch in the existing Single Chip Microcomputer (SCM) system fully the power cutoff power supply circuits cause the defective of system's non operating state electric consumption electric weight, on/off control circuit for light touch switch and control method in a kind of Single Chip Microcomputer (SCM) system are provided, behind control circuit power cutoff circuit, the operating circuit that does not have the electric consumption electric weight in the whole Single Chip Microcomputer (SCM) system, thus realize power savings; For battery powered system, can effectively prolong battery service time.
Single-chip microcomputer is widely used in industry, civilian each field product at present, comprise central processor CPU, memory and bus structures in the single-chip microcomputer, under central processor CPU control, carry out the program that is stored in the memory, finish control the operation of whole system each several part.The present invention has designed on/off control circuit for light touch switch and the corresponding control programs in using Single Chip Microcomputer (SCM) system, utilize single-chip microcomputer in realizing in the application control to system, the break-make control of the power supply that realization is used self reaches the power savings of expection.
The technical scheme that is adopted that the present invention solves its technical problem is:
On/off control circuit for light touch switch in a kind of Single Chip Microcomputer (SCM) system, comprise touch-switch, power supply, it is characterized in that it being by power circuit, switching circuit, the DC/DC translation circuit, single chip circuit, switch driving circuit and touch-switch circuit are formed, it leads to described power circuit and control, the input of disconnected switching circuit connects, the output of switching circuit is connected to the input of the DC/DC translation circuit that produces stable DC voltage, the output of DC/DC translation circuit is connected to the power input of single chip circuit, an input/output end port of single chip circuit is connected with the input of switch driving circuit, the output of switch driving circuit and providing out, an output that closes the touch-switch circuit of triggering signal is connected to the control end of switching circuit, and another output of touch-switch circuit is connected with an interruptive port of single chip circuit.
Described power circuit is made up of power supply E, filter capacitor C1, C2 and Schottky diode D1; Switching circuit is made up of PNP triode Q1 and resistance R 1; The DC/DC translation circuit is made up of DC/DC conversion integrated circuit IC1 and filter capacitor C3, C4, inductance L 1, Schottky diode D2; Single chip circuit is made up of single-chip microcomputer IC2, pull-up resistor R2, R5; Switch driving circuit is made up of NPN triode Q2, integrating capacitor C5, resistance R 3, R4, and the touch-switch circuit is made up of touch-switch S and two diode D3, D4; Being connected to of above-mentioned each circuit: an anodal end of capacitor C 1 and the positive pole of Schottky diode D1 of connecting of power supply E, the negative pole of Schottky diode D1 connects an end of capacitor C 2 and the emitter of triode Q1, and the other end of capacitor C 1, C2 connects power supply E negative pole and ground connection; The collector electrode of triode Q1 connects an end of capacitor C 3 and an end of inductance L 1, the other end of inductance L 1 connects the input port LX of DC/DC conversion integrated circuit IC1 and the anode of Schottky diode D2, one end of the power input VDD of the output end vo ut of the negative electrode connection DC/DC conversion integrated circuit IC1 of Schottky diode D2, an end of capacitor C 4, single-chip microcomputer IC2, an end, resistance R 2 and the resistance R 5 of capacitor C 5, the Vss end ground connection of the other end of capacitor C 4 and DC/DC conversion integrated circuit IC1; The end of touch-switch S connects the negative electrode of diode D3, D4, the other end ground connection of touch-switch S, the anode of diode D3 connects the other end of resistance R 2 and the interruptive port INTO of single-chip microcomputer IC2, the anode of diode D4 connects the collector electrode of triode Q2 and connects the base stage of triode Q1 by the base resistance R1 of triode Q1, the base stage of triode Q2 connects an end of the other end, resistance R 3 and the resistance R 4 of capacitor C 5, and the other end of resistance R 3 connects emitter and the ground connection of triode Q2; The other end of resistance R 4 connects the other end of resistance R 5 and the input and output I/O port of single-chip microcomputer IC2; The Vss end ground connection of single-chip microcomputer IC2.
The control method of the on/off control circuit for light touch switch in a kind of Single Chip Microcomputer (SCM) system is characterized in that comprising the steps:
(1). start single-chip microcomputer, energized also enters power supply power supply hold mode:
Push touch-switch S, energized E, single-chip microcomputer IC2 starts, carry out main program, at first the I/O port initialization with control switch drive circuit 5 in the single chip circuit 4 is that high level is finished power management registers initialization and other state of system and initialization of variable then, afterwards, single-chip microcomputer IC2 enters the major cycle operation; Under the situation of no cut-off signals input, the I/O port of control switch drive circuit 5 keeps high level in the single chip circuit 4, and power supply E keeps power supply, single chip circuit 4 operate as normal;
(2). powered-down:
Keep power supply at power supply, under single chip circuit 4 normal operating conditionss, push touch-switch S, interruptive port INTO receives cut-off signals, and single-chip microcomputer IC2 enters the mains switch interrupt routine, through anti-shake time-delay, as confirm cut-off signals input, other functional circuit of shutdown system at first drags down the I/O port of control switch drive circuit 5 in the single chip circuit 4 and is low level, the power management registers power-down mode is set simultaneously, and 5 control power supply E close through switch driving circuit; Through anti-shake time-delay, as confirming no cut-off signals input, single-chip microcomputer IC2 withdraws from the mains switch interrupt routine.
The invention has the beneficial effects as follows: on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system provided by the invention and control method have realized using the power circuit of touch-switch behind the power cutoff circuit, the operating circuit that does not have the electric consumption electric weight in the circuit of whole Single Chip Microcomputer (SCM) system, especially in battery powered Single Chip Microcomputer (SCM) system, can the significant prolongation battery useful life, reach both use appearance looks elegant, the touch-switch of little, the long service life of taking up room, compliance with environmental protection requirements, save the good effect of the energy again.
Description of drawings
Fig. 1 is the on/off control circuit for light touch switch block diagram in the Single Chip Microcomputer (SCM) system;
Fig. 2 is the electrical schematic diagram of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system;
Fig. 3 is the single-chip microcomputer main program flow chart of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system;
Fig. 4 is the power interruptions program flow diagram of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system.
Below in conjunction with drawings and Examples to the detailed description of the invention.
Embodiment
Fig. 1 is the on/off control circuit for light touch switch block diagram in the Single Chip Microcomputer (SCM) system; Fig. 2 is the electrical schematic diagram of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system.As Fig. 1-shown in Figure 2, it is the on/off control circuit for light touch switch in a kind of Single Chip Microcomputer (SCM) system, comprise touch-switch S, power supply E, it is characterized in that it being by power circuit 1, switching circuit 2, DC/DC translation circuit 3, single chip circuit 4, switch driving circuit 5 and touch-switch circuit 6 are formed, it leads to described power circuit 1 and control, the input of disconnected switching circuit 2 connects, the output of switching circuit 2 is connected to the input of the DC/DC translation circuit 3 that produces stable DC voltage, the output of DC/DC translation circuit 3 is connected to the power input of single chip circuit 4, an input/output end port of single chip circuit 4 is connected with the input of switch driving circuit 5, the output of switch driving circuit 5 and providing out, an output that closes the touch-switch circuit 6 of triggering signal is connected to the control end of switching circuit, and another output of touch-switch circuit 6 is connected with an interruptive port of single chip circuit 4.
Above-mentioned power circuit is made up of power supply E, filter capacitor C1, C2 and Schottky diode D1; Switching circuit is made up of PNP triode Q1 and resistance R 1; The DC/DC translation circuit is made up of DC/DC conversion integrated circuit IC1 and filter capacitor C3, C4, inductance L 1, Schottky diode D2; Single chip circuit is made up of single-chip microcomputer IC2, pull-up resistor R2, R5; Switch driving circuit is made up of NPN triode Q2, integrating capacitor C5, resistance R 3, R4, and the touch-switch circuit is made up of touch-switch S and two diode D3, D4; Being connected to of above-mentioned each circuit: an anodal end of capacitor C 1 and the positive pole of Schottky diode D1 of connecting of power supply E, the negative pole of Schottky diode D1 connects an end of capacitor C 2 and the emitter of triode Q1, and the other end of capacitor C 1, C2 connects power supply E negative pole and ground connection; The collector electrode of triode Q1 connects an end of capacitor C 3 and an end of inductance L 1, the other end of inductance L 1 connects the input port LX of DC/DC conversion integrated circuit IC1 and the anode of Schottky diode D2, one end of the power input VDD of the output end vo ut of the negative electrode connection DC/DC conversion integrated circuit IC1 of Schottky diode D2, an end of capacitor C 4, single-chip microcomputer IC2, an end, resistance R 2 and the resistance R 5 of capacitor C 5, the Vss end ground connection of the other end of capacitor C 4 and DC/DC conversion integrated circuit IC1; The end of touch-switch S connects the negative electrode of diode D3, D4, the other end ground connection of touch-switch S, the anode of diode D3 connects the other end of resistance R 2 and the interruptive port INT0 of single-chip microcomputer IC2, the anode of diode D4 connects the collector electrode of triode Q2 and connects the base stage of triode Q1 by the base resistance R1 of triode Q1, the base stage of triode Q2 connects an end of the other end, resistance R 3 and the resistance R 4 of capacitor C 5, and the other end of resistance R 3 connects emitter and the ground connection of triode Q2; The other end of resistance R 4 connects the other end of resistance R 5 and the input and output I/O port of single-chip microcomputer IC2; The Vss end ground connection of single-chip microcomputer IC2.
In the present embodiment, power supply E adopts commercially available 3.6V lithium ion battery the most commonly used at present; DC/DC conversion integrated circuit IC1 adopts commercially available efficient DC/DC conversion integrated circuit CE8301, this integrated circuit can obtain galvanic current during for 0.9V at input voltage and press output, this integrated circuit has Enable Pin EN, do not use this end in the present embodiment, so the collector electrode that Enable Pin EN directly is connected to Q1 is a positive source; Single-chip microcomputer IC2 can adopt any single-chip microcomputer, has adopted AT89C52 in this example.
Fig. 3 is the single-chip microcomputer main program flow chart of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system; Fig. 4 is the power interruptions program flow diagram of the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system.As Fig. 3-shown in Figure 4, the invention provides out the control method of the on/off control circuit for light touch switch in the above-mentioned Single Chip Microcomputer (SCM) system, it is characterized in that comprising the steps: (1). start single-chip microcomputer, energized also enters power supply power supply hold mode: push touch-switch S, energized E, single-chip microcomputer IC2 starts, carry out main program, at first the I/O port initialization with the single-chip microcomputer IC2 of control switch drive circuit 5 in the single chip circuit 4 is a high level, finish other state of power management registers initialization and system and initialization of variable then, in existing Single Chip Microcomputer (SCM) system, other state and initialization of variable generally comprise initialization and calculate variable and system mode flag bit and start timer and external hardware resource etc.; After the initialization, single-chip microcomputer IC2 enters the major cycle operation, and major cycle comprises that mainly instruction is carried out data processing, operational processes and carried out data transmission and data demonstration etc. according to main program; At this moment, under the situation of no cut-off signals input, the I/O port of the single-chip microcomputer IC2 of control switch drive circuit 5 keeps high level in the single chip circuit 4, and power supply E keeps power supply, single chip circuit 4 operate as normal; (2). powered-down: keep power supply at power supply, under single chip circuit 4 normal operating conditionss, push touch-switch S, interruptive port INTO receives cut-off signals, single-chip microcomputer IC2 enters the mains switch interrupt routine, through anti-shake time-delay, be generally 20ms, as confirm cut-off signals input, other functional circuit of shutdown system is at first reduced to low level with the I/O port of the single-chip microcomputer IC2 of control switch drive circuit 5 in the single chip circuit 4 again, and the power management registers power-down mode is set simultaneously, at this moment, close through switch driving circuit 5 control power supply E; Through anti-shake time-delay, as confirming no cut-off signals input, single-chip microcomputer IC2 withdraws from the mains switch interrupt routine.
Below, specifically set forth its operation principle in conjunction with on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system of present embodiment and control method:
During start, pressing touch-switch S discharges then, because pressing of touch-switch, the base potential of positive-negative-positive triode Q1 is dragged down closely level by resistance R 1 and diode D4, triode Q1 conducting immediately, the input LX of DC/DC conversion integrated circuit IC1 obtains the voltage of power supply E, power input VDD and the whole system of single-chip microcomputer IC2 pressed and is transported in the output end vo ut output of DC/DC conversion integrated circuit IC1 through the galvanic current of conversion, the voltage of DC/DC conversion integrated circuit IC1 output is through resistance R 5, R4 delivers to the base stage of NPN triode Q2, make triode Q2 conducting, cause the collector electrode of triode Q2 to become low level, even discharge again after therefore pressing touch-switch S, because the low level of triode Q2 collector electrode makes triode Q1 keep the state of conducting, the power supply E of system connects, single-chip microcomputer IC2 starts, carry out main program, is high level according to flow process shown in Figure 3 with the I/O port initialization of the control switch drive circuit 5 of single-chip microcomputer IC2 in the single chip circuit 4, finishes other state of power management registers state and system and initialization of variable then; Single-chip microcomputer IC2 finishes that initialization is laggard goes into major cycle, under the situation of no cut-off signals input, the I/O port of the single-chip microcomputer IC2 of control switch drive circuit 5 keeps high level in the single chip circuit 4, and power supply E is in the power supply hold mode, single chip circuit 4 operate as normal; Keep power supply at power supply E, under single chip circuit 4 normal operating conditionss, push touch-switch S, the operation of execution powered-down, because touch-switch S presses, the middle fracture INT0 of single-chip microcomputer IC2 obtains the i.e. negative pulse of a cut-off signals by diode D3, single-chip microcomputer IC2 enters mains switch interrupt routine as shown in Figure 4, through anti-shake time-delay, be generally 20ms, as confirm cut-off signals input, other functional circuit of shutdown system at first, again the level of the I/O port of single-chip microcomputer is dragged down and be low level, the power management registers power-down mode is set simultaneously, at this moment, make the base stage of triode Q2 become low level by resistance R 4, triode Q2 ends, the collector electrode of triode Q2 becomes high level, make the base stage of triode Q1 become high level by resistance R 1, triode Q1 is become by conducting and ends, the path of power supply E power supply is cut off, the output end vo ut of DC/DC conversion integrated circuit IC1 reduces to 0V by the voltage of normal output, because the effect of integrating capacitor C5, voltage drop at the output of DC/DC conversion integrated circuit IC1 is low to moderate in the process of 0V, the base stage of triode Q2 is maintained at low level always, thereby makes triode Q2 be in cut-off state always, is thoroughly turn-offed until power circuit.Otherwise through anti-shake time-delay, as confirming no cut-off signals input, single-chip microcomputer IC2 withdraws from the mains switch interrupt routine, continues to carry out the major cycle operation.
In the process of above-mentioned said energized, when not pressing touch-switch S, single-chip microcomputer IC2 does not have the power supply power supply, do not enter operating state, when pressing touch-switch S, power supply E just connects, single-chip microcomputer IC2 is in the initialized process, therefore can not respond the undersuing that touch-switch S provides, even press touch-switch for a long time, after entering operating state, single-chip microcomputer discharges touch-switch S again, and single-chip microcomputer IC2 only can detect the rising edge of the undersuing that touch-switch provides, can not enter interrupt routine, power control circuit provided by the invention and control method can be controlled the break-make of power supply reliably.

Claims (5)

1, on/off control circuit for light touch switch in a kind of Single Chip Microcomputer (SCM) system, comprise touch-switch, power supply, it is characterized in that it being by power circuit, switching circuit, the DC/DC translation circuit, single chip circuit, switch driving circuit and touch-switch circuit are formed, it leads to described power circuit and control, the input of disconnected switching circuit connects, the output of switching circuit is connected to the input of the DC/DC translation circuit that produces stable DC voltage, the output of DC/DC translation circuit is connected to the power input of single chip circuit, an input/output end port of single chip circuit is connected with the input of switch driving circuit, the output of switch driving circuit and providing out, an output that closes the touch-switch circuit of triggering signal is connected to the control end of switching circuit, and another output of touch-switch circuit is connected with an interruptive port of single chip circuit.
2, the on/off control circuit for light touch switch in the Single Chip Microcomputer (SCM) system according to claim 1 is characterized in that described power circuit is made up of power supply E, filter capacitor C1, C2 and Schottky diode D1; Switching circuit is made up of PNP triode Q1 and resistance R 1; The DC/DC translation circuit is made up of DC/DC conversion integrated circuit IC1 and filter capacitor C3, C4, inductance L 1, Schottky diode D2; Single chip circuit is made up of single-chip microcomputer IC2, pull-up resistor R2, R5; Switch driving circuit is made up of NPN triode Q2, integrating capacitor C5, resistance R 3, R4, and the touch-switch circuit is made up of touch-switch S and two diode D3, D4; Being connected to of above-mentioned each circuit: an anodal end of capacitor C 1 and the positive pole of Schottky diode D1 of connecting of power supply E, the negative pole of Schottky diode D1 connects an end of capacitor C 2 and the emitter of triode Q1, and the other end of capacitor C 1, C2 connects power supply E negative pole and ground connection; The collector electrode of triode Q1 connects an end of capacitor C 3 and an end of inductance L 1, the other end of inductance L 1 connects the input port LX of DC/DC conversion integrated circuit IC1 and the anode of Schottky diode D2, one end of the power input VDD of the output end vo ut of the negative electrode connection DC/DC conversion integrated circuit IC1 of Schottky diode D2, an end of capacitor C 4, single-chip microcomputer IC2, an end, resistance R 2 and the resistance R 5 of capacitor C 5, the Vss end ground connection of the other end of capacitor C 4 and DC/DC conversion integrated circuit IC1; The end of touch-switch S connects the negative electrode of diode D3, D4, the other end ground connection of touch-switch S, the anode of diode D3 connects the other end of resistance R 2 and the interruptive port INT0 of single-chip microcomputer IC2, the anode of diode D4 connects the collector electrode of triode Q2 and connects the base stage of triode Q1 by the base resistance R1 of triode Q1, the base stage of triode Q2 connects an end of the other end, resistance R 3 and the resistance R 4 of capacitor C 5, and the other end of resistance R 3 connects emitter and the ground connection of triode Q2; The other end of resistance R 4 connects the other end of resistance R 5 and the input and output I/O port of single-chip microcomputer IC2; The Vss end ground connection of single-chip microcomputer IC2.
3, the control method of the on/off control circuit for light touch switch in a kind of Single Chip Microcomputer (SCM) system is characterized in that comprising the steps:
(1). start single-chip microcomputer, energized also enters power supply power supply hold mode:
Push touch-switch S, energized E, single-chip microcomputer IC2 starts, carry out main program, at first the I/O port initialization with control switch drive circuit (5) in the single chip circuit is a high level, finish other state of power management registers initialization and system and initialization of variable then, afterwards, single-chip microcomputer IC2 enters the major cycle operation; Under the situation of no cut-off signals input, the I/O port of control switch drive circuit (5) keeps high level in the single chip circuit (4), and power supply E keeps power supply, single chip circuit (4) operate as normal;
(2). powered-down:
Keep power supply at power supply, under single chip circuit (4) normal operating conditions, push touch-switch S, interruptive port INTO receives cut-off signals, and single-chip microcomputer IC2 enters the mains switch interrupt routine, through anti-shake time-delay, as confirm cut-off signals input, other functional circuit of shutdown system at first drags down the I/O port of control switch drive circuit (5) in the single chip circuit (4) and is low level, the power management registers power-down mode is set simultaneously, and E closes through switch driving circuit (5) control power supply; Through anti-shake time-delay, as confirming no cut-off signals input, single-chip microcomputer IC2 withdraws from the mains switch interrupt routine.
CNA2007100613316A 2007-09-30 2007-09-30 On/off control circuit for light touch switch in micro-controller system and control method Pending CN101399536A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100613316A CN101399536A (en) 2007-09-30 2007-09-30 On/off control circuit for light touch switch in micro-controller system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100613316A CN101399536A (en) 2007-09-30 2007-09-30 On/off control circuit for light touch switch in micro-controller system and control method

Publications (1)

Publication Number Publication Date
CN101399536A true CN101399536A (en) 2009-04-01

Family

ID=40517846

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100613316A Pending CN101399536A (en) 2007-09-30 2007-09-30 On/off control circuit for light touch switch in micro-controller system and control method

Country Status (1)

Country Link
CN (1) CN101399536A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101801128A (en) * 2010-01-21 2010-08-11 海洋王照明科技股份有限公司 Command marker lamp and LED control circuit thereof
CN102183898A (en) * 2011-02-25 2011-09-14 深圳Tcl新技术有限公司 Power switch circuit for stereoscopic watching device and related device
CN102662424A (en) * 2012-03-23 2012-09-12 上海信耀电子有限公司 Precise voltage stabilizing circuit for singlechip
CN103176416A (en) * 2011-12-23 2013-06-26 闻泰通讯股份有限公司 Portable projector power supply management system
CN103295298A (en) * 2013-05-13 2013-09-11 浙江杰程机车部件有限公司 Key
CN103840680A (en) * 2014-03-06 2014-06-04 安徽问天量子科技股份有限公司 Switching power supply based on single-chip microcomputer
CN106557142A (en) * 2017-01-17 2017-04-05 淮安信息职业技术学院 Embedded system power on-off control circuit
CN107505878A (en) * 2017-09-26 2017-12-22 惠州拓邦电气技术有限公司 A kind of control circuit
CN113688092A (en) * 2021-07-21 2021-11-23 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Low-power-consumption safety protection control device and algorithm based on single chip microcomputer
CN114866078A (en) * 2022-07-08 2022-08-05 深之蓝(天津)水下智能科技有限公司 Reset switch power on-off control circuit and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101801128B (en) * 2010-01-21 2013-10-09 海洋王照明科技股份有限公司 Command marker lamp and LED control circuit thereof
CN101801128A (en) * 2010-01-21 2010-08-11 海洋王照明科技股份有限公司 Command marker lamp and LED control circuit thereof
CN102183898A (en) * 2011-02-25 2011-09-14 深圳Tcl新技术有限公司 Power switch circuit for stereoscopic watching device and related device
CN103176416B (en) * 2011-12-23 2017-09-29 闻泰通讯股份有限公司 A kind of power-supply management system of portable projector
CN103176416A (en) * 2011-12-23 2013-06-26 闻泰通讯股份有限公司 Portable projector power supply management system
CN102662424B (en) * 2012-03-23 2014-12-03 上海信耀电子有限公司 Precise voltage stabilizing circuit for singlechip
CN102662424A (en) * 2012-03-23 2012-09-12 上海信耀电子有限公司 Precise voltage stabilizing circuit for singlechip
CN103295298A (en) * 2013-05-13 2013-09-11 浙江杰程机车部件有限公司 Key
CN103840680A (en) * 2014-03-06 2014-06-04 安徽问天量子科技股份有限公司 Switching power supply based on single-chip microcomputer
CN106557142A (en) * 2017-01-17 2017-04-05 淮安信息职业技术学院 Embedded system power on-off control circuit
CN106557142B (en) * 2017-01-17 2019-09-10 淮安信息职业技术学院 Embedded system power on-off control circuit
CN107505878A (en) * 2017-09-26 2017-12-22 惠州拓邦电气技术有限公司 A kind of control circuit
CN113688092A (en) * 2021-07-21 2021-11-23 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Low-power-consumption safety protection control device and algorithm based on single chip microcomputer
CN114866078A (en) * 2022-07-08 2022-08-05 深之蓝(天津)水下智能科技有限公司 Reset switch power on-off control circuit and system
CN114866078B (en) * 2022-07-08 2022-11-25 深之蓝(天津)水下智能科技有限公司 Reset switch power on-off control circuit and system

Similar Documents

Publication Publication Date Title
CN101399536A (en) On/off control circuit for light touch switch in micro-controller system and control method
US7765416B2 (en) Control device for a power supply with zero power consumption in standby mode
CN203643779U (en) Outage wake-up circuit of ammeter metering terminal
CN203982116U (en) A kind of switching on and shutting down control circuit of electronic equipment
CN103576816B (en) Switching on and shutting down control circuit
CN201813355U (en) Single chip-based switch circuit with low stand-by power consumption
CN106557142B (en) Embedded system power on-off control circuit
CN101957646B (en) Computer power supply for quasi-zero-power consumption standby
CN211653439U (en) Key awakening circuit and electronic equipment
CN210780130U (en) Power-off control circuit
CN204089330U (en) A kind of adaptive power-supply battery supplies power with double circuit device
CN204290714U (en) Power control circuit and electrical equipment
CN112649724A (en) Power failure detection circuit and method and MCU chip
CN203104091U (en) Low power-consumption standby circuit
CN205353647U (en) Low -power consumption button awakening circuit
CN101801128B (en) Command marker lamp and LED control circuit thereof
CN203350340U (en) Full-range low power consumption DC voltage detecting circuit
CN211351757U (en) Low-power consumption standby circuit, mobile power supply and robot
CN207968448U (en) A kind of switch and reset circuit of power supply
CN207896719U (en) A kind of low-power consumption double supply automatic switch-over circuit
CN201926699U (en) Low-voltage circuit for power failure detection
CN201392483Y (en) Voltage reducing type voltage stabilizing circuit
CN112578888B (en) Singlechip is reset circuit independently
CN202997691U (en) An automatic switching circuit capable of switching power between a power supply and a battery in an electronic switch
CN204440068U (en) A kind of 24L Control card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090401