CN201867606U - Switch circuit - Google Patents

Switch circuit Download PDF

Info

Publication number
CN201867606U
CN201867606U CN2010205920816U CN201020592081U CN201867606U CN 201867606 U CN201867606 U CN 201867606U CN 2010205920816 U CN2010205920816 U CN 2010205920816U CN 201020592081 U CN201020592081 U CN 201020592081U CN 201867606 U CN201867606 U CN 201867606U
Authority
CN
China
Prior art keywords
positive
control unit
electrically connected
negative
micro
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.)
Expired - Lifetime
Application number
CN2010205920816U
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.)
Beijing Watchdata Limited by Share Ltd
Original Assignee
Beijing WatchData System Co Ltd
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 Beijing WatchData System Co Ltd filed Critical Beijing WatchData System Co Ltd
Priority to CN2010205920816U priority Critical patent/CN201867606U/en
Application granted granted Critical
Publication of CN201867606U publication Critical patent/CN201867606U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses a switch circuit and relates to the field of circuits. The switch circuit is invented for solving the problem of power consumption of the prior standby micro control unit. In the switch circuit, one end of a switch key is grounded, and the other end is connected with a base electrode of a first PNP (Precision Navigation Processor) type triode; an emitting electrode of the first PNP type triode is connected with the input end of a power supply, and a collecting electrode is electrically connected with a power supply base pin of the micro control unit and the input end of a phase inverter; the output end of the phase inverter is electrically connected with an interrupted base pin of the micro control unit; an IO (Input/Output) interface of the micro control unit is electrically connected with a base electrode of a second PNP type triode; a collecting electrode of the second PNP type triode is electrically connected with a grid electrode of a first P channel field-effect tube and one end of a first resistance; and the other end of the first resistance is grounded; an emitting electrode of the second PNP type triode is electrically connected with the input end of the power supply and a source electrode of the first P channel field-effect tube; and a drain electrode of the first P channel field-effect tube is electrically connected with the power supply base pin of the micro control unit. The switch circuit is used for electrical equipment.

Description

On-off circuit
Technical field
The utility model relates to electronic circuit field, relates in particular to on-off circuit.
Background technology
Generally all will use on-off circuit in the electric equipment, existing system generally is the interrupt control mouth and the two poles of the earth as switch, ground with micro-control unit MCU.Micro-control unit is in normal operating conditions during start, and micro-control unit is in holding state during shutdown.
State in realization in the process of on-off circuit, the inventor finds that there are the following problems at least in the prior art: the micro-control unit of standby always consumes some energy, is unfavorable for energy savings.
The utility model content
Embodiment of the present utility model provides a kind of on-off circuit, can reduce the energy consumption of micro-control unit, energy savings.
For achieving the above object, embodiment of the present utility model adopts following technical scheme:
A kind of on-off circuit comprises: switch key, the first positive-negative-positive triode, micro-control unit, phase inverter, the second positive-negative-positive triode, the first P-channel field-effect transistor (PEFT) pipe,
Described switch key one end ground connection, the other end is electrically connected with the base stage of the first positive-negative-positive triode, the emitter of the described first positive-negative-positive triode is electrically connected with power input, the collector of the described first positive-negative-positive triode is electrically connected with the power pin of micro-control unit and the input end of phase inverter respectively, the output terminal of phase inverter is electrically connected with the interrupt pin of micro-control unit, the IO interface of micro-control unit is electrically connected with the base stage of the second positive-negative-positive triode, the collector of the second positive-negative-positive triode is electrically connected with the grid of the first P-channel field-effect transistor (PEFT) pipe and an end of first resistance respectively, the other end ground connection of first resistance, the source electrode of the emitter of the second positive-negative-positive triode and the first P-channel field-effect transistor (PEFT) pipe is electrically connected with power input respectively, and the drain electrode of the first P-channel field-effect transistor (PEFT) pipe is electrically connected with the power pin of micro-control unit.
The on-off circuit that the utility model embodiment provides, when micro-control unit is in running status, press switch key and make the switch key conducting, thereby make the first positive-negative-positive triode conducting, the phase inverter input end is a high level, output terminal is a low level, the interrupt pin of micro-control unit receives low level or level negative edge, cause the IO interface of micro-control unit to transfer low level to by high level, the second positive-negative-positive triode conducting, the first P-channel field-effect transistor (PEFT) pipe ends, and it is the power pin power supply of micro-control unit that power input stops by the first P-channel field-effect transistor (PEFT) pipe, at this moment, lift switch key, switch key disconnects, and the first positive-negative-positive triode ends, power input thoroughly stops the power pin power supply to micro-control unit, micro-control unit shutdown.The utility model is supplied with by the power supply that triode thoroughly turn-offs micro-control unit, rather than makes micro-control unit be in holding state, can reduce the energy consumption of micro-control unit, energy savings.
Description of drawings
Fig. 1 is the structural representation of an embodiment of the utility model on-off circuit.
Fig. 2 is the structural representation of another embodiment of the utility model on-off circuit.
Embodiment
So long as electronic equipment will consumed power,, how to avoid unnecessary waste of energy more and more important in the today of advocating environmental protection, low-carbon (LC) life.The utility model is a kind of realization start/shutdown functional circuit of simple possible.The keyswitch of mentioning in the utility model is by the depressing → lift and finish primary circuit and connect of button, and by the depressing → lift and finish primary circuit and close of button, thoroughly turn-offs micro-control unit again.
Below in conjunction with accompanying drawing the utility model embodiment on-off circuit is described in detail.
An embodiment of the utility model on-off circuit as shown in Figure 1, comprising: switch key 11, the first positive-negative-positive triode 12, micro-control unit 13, phase inverter 14, the second positive-negative-positive triode 15, first resistance 16, the first P-channel field-effect transistor (PEFT) pipe 17,
Described switch key 11 1 end ground connection, the other end is electrically connected with the base stage of the first positive-negative-positive triode 12, the emitter of the described first positive-negative-positive triode 12 is electrically connected with power input 21, the collector of the described first positive-negative-positive triode 12 is electrically connected with the power pin 131 of micro-control unit 13 and the input end of phase inverter 14 respectively, the output terminal of phase inverter 14 is electrically connected with the interrupt pin 132 of micro-control unit 13, the IO interface 133 of micro-control unit 13 is electrically connected with the base stage of the second positive-negative-positive triode 15, the collector of the second positive-negative-positive triode 15 is electrically connected with the grid of the first P-channel field-effect transistor (PEFT) pipe 17 and an end of first resistance 16 respectively, the other end ground connection of first resistance 16, the source electrode of the emitter of the second positive-negative-positive triode 15 and the first P-channel field-effect transistor (PEFT) pipe 17 is electrically connected with power input 21 respectively, and the drain electrode of the first P-channel field-effect transistor (PEFT) pipe 17 is electrically connected with the power pin of micro-control unit 131.
The present embodiment implementation procedure is as follows:
When micro-control unit 13 is in off-mode, press switch key 11 and make switch key 11 conductings, the base earth of the first positive-negative-positive triode 12, level reduces, 12 conductings of the first positive-negative-positive triode, the power pin 131 of micro-control unit 13 is placed in high level, the micro-control unit start, the IO interface 133 of the micro-control unit after the start is placed in high level, cause the base stage of the second positive-negative-positive triode 15 to be placed in high level, the second positive-negative-positive triode 15 ends, the grounded-grid of the first P-channel field-effect transistor (PEFT) pipe 17, current potential reduces, 17 conductings of the first P-channel field-effect transistor (PEFT) pipe, power input 21 is directly electrically connected to the power pin 131 of micro-control unit 13, at this moment, lift switch key 11, switch key disconnects, the first positive-negative-positive triode 12 ends, power input 21 is electrically connected to the power pin 131 of micro-control unit 13 by the first P-channel field-effect transistor (PEFT) pipe 17 one tunnel, guarantees that micro-control unit normally moves, and phase inverter 14 input ends are low level, output terminal is a high level, and the interrupt pin 132 of micro-control unit 13 is a high level.
When micro-control unit 13 is in running status, press switch key 11 and make the switch key conducting, the base earth of the first positive-negative-positive triode 12, level reduces, 12 conductings of the first positive-negative-positive triode, phase inverter 14 input ends are high level, output terminal is a low level, the interrupt pin 132 of micro-control unit 13 receives low level or level negative edge, cause the IO interface 133 of micro-control unit 13 to transfer low level to by high level, cause the base stage of the second positive-negative-positive triode 15 to be placed in low level, 15 conductings of the second positive-negative-positive triode, the grid potential of the first P-channel field-effect transistor (PEFT) pipe 17 places high level, the first P-channel field-effect transistor (PEFT) pipe 17 ends, it is power pin 131 power supplies of micro-control unit 13 that power input 21 stops by the first P-channel field-effect transistor (PEFT) pipe 17, at this moment, lifts switch key 11, switch key disconnects, the first positive-negative-positive triode 12 ends, and power input 21 thoroughly stops power pin 131 power supplies to micro-control unit 13, micro-control unit 13 shutdown.
Present embodiment thoroughly turn-offs the power supply supply of micro-control unit by triode when shutdown, rather than make micro-control unit be in holding state, can reduce the energy consumption of micro-control unit, energy savings.
Another embodiment of the utility model on-off circuit, as shown in Figure 2, comprise: IO interface GPIO, the phase inverter U1A of the power pin VCC of switch key S1, the first positive-negative-positive triode T2, micro-control unit, the interrupt pin INTO of micro-control unit, micro-control unit, the second positive-negative-positive triode T1, the first P-channel field-effect transistor (PEFT) pipe Q1, first resistance R 1, second resistance R 2, the 3rd resistance R 3, the 4th resistance R 4, the first diode D1, the second diode D2
Described switch key S1 one end ground connection, the other end is electrically connected with the base stage of the first positive-negative-positive triode T2, the emitter of the described first positive-negative-positive triode T2 is electrically connected with power input VIN, the collector of the described first positive-negative-positive triode T2 is electrically connected with the positive pole of the second diode D2 and the input end of phase inverter U1A respectively, the negative pole of the second diode D2 and the power pin VCC of micro-control unit are electrically connected, the output terminal of phase inverter U1A is electrically connected with the interrupt pin INTO of micro-control unit, the GPIO interface of micro-control unit is electrically connected with an end of second resistance R 2, the other end of second resistance R 2 is electrically connected with the base stage of the second positive-negative-positive triode T1, the collector of the second positive-negative-positive triode T1 is electrically connected with the grid of the first P-channel field-effect transistor (PEFT) pipe Q1 and an end of first resistance R 1 respectively, the other end ground connection of first resistance R 1, the emitter of the second positive-negative-positive triode T1 is electrically connected with the source electrode of the power input VIN and the first P-channel field-effect transistor (PEFT) pipe Q1 respectively, the drain electrode of the first P-channel field-effect transistor (PEFT) pipe Q1 is electrically connected with the power pin VCC of micro-control unit, the 3rd resistance R 3 one ends are electrically connected with power input VIN, the other end is electrically connected with the base stage of the first positive-negative-positive triode T2, the 4th resistance R 4 one ends are electrically connected with the input end of phase inverter U1A, other end ground connection, the first diode D1 plus earth, negative pole connects the drain electrode of the first P-channel field-effect transistor (PEFT) pipe Q1.
Wherein, switch key S1 is used for controlling the opening and closing of micro-control unit, first resistance R 1 is used for limiting the level of the second positive-negative-positive triode T1 collector, second resistance R 2 is used for limiting the electric current of the second positive-negative-positive transistor base, the 3rd resistance R 3 is used for limiting the voltage between the first positive-negative-positive triode T2 base stage and emitter, the 4th resistance R 4 is used for limiting the input end level of phase inverter U1A, the first diode D1 is used for limiting first P-channel field-effect transistor (PEFT) pipe Q1 drain electrode level, prevent reverse leakage, the second diode D2 is used for preventing the reverse leakage from the power pin VCC of micro-control unit.
The present embodiment implementation procedure is as follows:
When equipment is in off-mode, press switch key S1, the first positive-negative-positive triode T2 base earth, level reduces, the T2 conducting; The second diode D2 conducting, VCC powers on, the micro-control unit start; Micro-control unit start back GPIO places high level, and the base stage of the second positive-negative-positive triode T1 is placed in high level, and T1 ends, and the grid of Q1 is a low level, the Q1 conducting, thus finish the start process of micro-control unit.After switch key S1 lifted, T2 ended, and micro-control unit normally moves by Q1 electric connection of power supply input end VIN.
When equipment is in running status, press switch key S1, the T2 conducting, the input end of U1A becomes high level, and output terminal becomes low level, and generation negative edge or low level are interrupted the interrupt pin INTO to micro-control unit, the shutdown of notice micro-control unit.The GPIO of micro-control unit transfers low level to, triode T1 conducting this moment, the grid potential of Q1 places high level, Q1 ends, and it is the power pin VCC power supply of micro-control unit that VIN stops by Q1, at this moment, lift switch key S1, T2 ends, and VIN thoroughly stops the power supply to VCC, the micro-control unit shutdown.Because micro-control unit is shutdown rather than standby thoroughly, so the power consumption during outage is very low.
Controlling of above-mentioned realization on-off circuit can instruct relevant hardware to finish by computer program, corresponding running program realizes according to the corresponding programming language after understanding all or part of operating process that realizes the foregoing description for those of ordinary skills, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or flash memory body (Flash Memory) etc.
The above; only be embodiment of the present utility model, but protection domain of the present utility model is not limited thereto, such as; described micro-control unit can be singlechip chip or ARM chip or dsp chip, and selecting for use of triode also is not limited to type given among the embodiment.Anyly be familiar with those skilled in the art in the technical scope that the utility model discloses, can expect easily changing or replacing, all should be encompassed within the protection domain of the present utility model.Therefore, protection domain of the present utility model should be as the criterion with the protection domain of claim.

Claims (7)

1. an on-off circuit is characterized in that, comprising: switch key, the first positive-negative-positive triode, micro-control unit, phase inverter, the second positive-negative-positive triode, first resistance, the first P-channel field-effect transistor (PEFT) pipe,
Described switch key one end ground connection, the other end is electrically connected with the base stage of the first positive-negative-positive triode, the emitter of the described first positive-negative-positive triode is electrically connected with power input, the collector of the described first positive-negative-positive triode is electrically connected with the power pin of micro-control unit and the input end of phase inverter respectively, the output terminal of phase inverter is electrically connected with the interrupt pin of micro-control unit, the IO interface of micro-control unit is electrically connected with the base stage of the second positive-negative-positive triode, the collector of the second positive-negative-positive triode is electrically connected with the grid of the first P-channel field-effect transistor (PEFT) pipe and an end of first resistance respectively, the other end ground connection of first resistance, the source electrode of the emitter of the second positive-negative-positive triode and the first P-channel field-effect transistor (PEFT) pipe is electrically connected with power input respectively, and the drain electrode of the first P-channel field-effect transistor (PEFT) pipe is electrically connected with the power pin of micro-control unit.
2. on-off circuit according to claim 1 is characterized in that, also comprises: second resistance, described second resistance string are associated between the base stage of the IO interface of micro-control unit and the second positive-negative-positive triode.
3. on-off circuit according to claim 1 is characterized in that, also comprises: the 3rd resistance, and described the 3rd resistance one end is electrically connected with power input, and the other end is electrically connected with the base stage of the first positive-negative-positive triode.
4. on-off circuit according to claim 1 is characterized in that, also comprises: the 4th resistance, described the 4th resistance one end is electrically connected other end ground connection with the input end of phase inverter.
5. on-off circuit according to claim 1 is characterized in that, also comprises: first diode, and the described first diode cathode ground connection, negative pole connects the drain electrode of the first P-channel field-effect transistor (PEFT) pipe.
6. on-off circuit according to claim 1, it is characterized in that, also comprise: second diode, described second diode is connected between the power pin of the collector of the first positive-negative-positive triode and micro-control unit, described second diode cathode connects the collector of the first positive-negative-positive triode, and negative pole connects the power pin of micro-control unit.
7. according to each described on-off circuit of claim 1-6, it is characterized in that described micro-control unit is singlechip chip or ARM chip or dsp chip.
CN2010205920816U 2010-11-04 2010-11-04 Switch circuit Expired - Lifetime CN201867606U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010205920816U CN201867606U (en) 2010-11-04 2010-11-04 Switch circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010205920816U CN201867606U (en) 2010-11-04 2010-11-04 Switch circuit

Publications (1)

Publication Number Publication Date
CN201867606U true CN201867606U (en) 2011-06-15

Family

ID=44138758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010205920816U Expired - Lifetime CN201867606U (en) 2010-11-04 2010-11-04 Switch circuit

Country Status (1)

Country Link
CN (1) CN201867606U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799130A (en) * 2012-07-26 2012-11-28 西安电子科技大学 Low voltage and low power mains switch and control method
CN109901689A (en) * 2019-01-29 2019-06-18 珠海市杰理科技股份有限公司 Hardware switch circuit
CN111654276A (en) * 2020-06-18 2020-09-11 湖南中科电气股份有限公司 Switching value signal control circuit and control method
CN111654276B (en) * 2020-06-18 2024-05-14 湖南中科电气股份有限公司 Switching value signal control circuit and control method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799130A (en) * 2012-07-26 2012-11-28 西安电子科技大学 Low voltage and low power mains switch and control method
CN102799130B (en) * 2012-07-26 2015-01-21 西安电子科技大学 Low voltage and low power mains switch and control method
CN109901689A (en) * 2019-01-29 2019-06-18 珠海市杰理科技股份有限公司 Hardware switch circuit
CN109901689B (en) * 2019-01-29 2021-10-12 珠海市杰理科技股份有限公司 Hardware switch circuit
CN111654276A (en) * 2020-06-18 2020-09-11 湖南中科电气股份有限公司 Switching value signal control circuit and control method
CN111654276B (en) * 2020-06-18 2024-05-14 湖南中科电气股份有限公司 Switching value signal control circuit and control method

Similar Documents

Publication Publication Date Title
CN103138376A (en) Power switching circuit and power switching method thereof
CN217335186U (en) Dual-power automatic switching circuit and dual-power supply circuit
CN105703021A (en) Battery management system with low standby power consumption and battery management system awaking method
CN201867606U (en) Switch circuit
CN208768318U (en) A kind of LED switch power supply fast start circuit
CN101727167B (en) power switching circuit
CN101625588B (en) Supply circuit of PWM controller
CN205750616U (en) A kind of auxiliary power supply of photovoltaic inverter control circuit
CN206490420U (en) A kind of power input over-and under-voltage turns off controller protection circuit
CN216794701U (en) Dual-power automatic switching circuit
CN201145830Y (en) Processing box chip
CN109286237B (en) Circuit for controlling low-power-consumption backup battery to be connected or disconnected
CN212659300U (en) Low-voltage starting circuit for buzzer
CN211236841U (en) Hardware circuit capable of automatically switching power supply
CN101414782B (en) Remote control power-off circuit for PWM switch power supply
CN101281419A (en) Power supply module of computer device
CN201467324U (en) Low power consumption CPU standby commutation circuit
CN201733130U (en) Power supply management module circuit
CN219778495U (en) Circuit for reducing standby power consumption
CN201153295Y (en) Television standby detection power supply circuit
CN217133576U (en) Startup and shutdown circuit and equipment
CN219498950U (en) Battery low voltage protection circuit and PCB board
CN212486187U (en) Power-saving circuit
CN219458659U (en) Zero standby power consumption switching power supply control circuit
CN217984580U (en) Power supply start-stop control circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden

Patentee after: Beijing Watchdata Limited by Share Ltd

Address before: 100015 Beijing city Chaoyang District Dongzhimen West eight Street No. 2 room Wanhong Yan Dong Business Garden

Patentee before: Beijing Woqi Data System Co., Ltd.

CP01 Change in the name or title of a patent holder
CX01 Expiry of patent term

Granted publication date: 20110615

CX01 Expiry of patent term