CN209055948U - A kind of power-down protection circuit - Google Patents

A kind of power-down protection circuit Download PDF

Info

Publication number
CN209055948U
CN209055948U CN201822213408.3U CN201822213408U CN209055948U CN 209055948 U CN209055948 U CN 209055948U CN 201822213408 U CN201822213408 U CN 201822213408U CN 209055948 U CN209055948 U CN 209055948U
Authority
CN
China
Prior art keywords
resistance
power
cpu
oxide
metal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201822213408.3U
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.)
Sichuan Andi Technology Industrial Co Ltd
Original Assignee
Sichuan Andi Technology Industrial 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 Sichuan Andi Technology Industrial Co Ltd filed Critical Sichuan Andi Technology Industrial Co Ltd
Priority to CN201822213408.3U priority Critical patent/CN209055948U/en
Application granted granted Critical
Publication of CN209055948U publication Critical patent/CN209055948U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

A kind of power-down protection circuit, comprising: metal-oxide-semiconductor Q1, for controlling cut-offfing for power supply;Metal-oxide-semiconductor control circuit is connect with the pole G of metal-oxide-semiconductor;CPU detection circuit, for the folding condition of power control switch K1 to be converted to low level signal or high level signal;Cpu control circuit is connect with metal-oxide-semiconductor control circuit;CPU detection circuit connects CPU with cpu control circuit;The high level signal that CPU is fed back according to CPU detection circuit carries out power operation to the equipment of access power supply;Cpu control circuit, according to the power blackout situation of the equipment of access power supply to metal-oxide-semiconductor control circuit input high level signal or low level signal;Metal-oxide-semiconductor control circuit makes the G extremely low level or high level of metal-oxide-semiconductor Q1 according to the level signal for cut-offfing signal and cpu control circuit of power control switch K1 to control the on or off of metal-oxide-semiconductor Q1.Cut-offfing through a metal-oxide-semiconductor for power supply controls, and the conducting of metal-oxide-semiconductor is codetermined by equipment power switch and several Sofe Switch.

Description

A kind of power-down protection circuit
Technical field
The present invention relates to power down/power-off protection more particularly to a kind of equipment shut down firmly in power-down protection circuit.
Background technique
It in hardware system used at present, directly connects using on & off switch on the power line, electricity is connected in booting Source, device power, shutdown are then directly cut off the power, and device powers down is out of service, even if software systems are handling data and do not having also There is preservation.Equipment is often shut down firmly in this way, and the service life of electronic building brick can have a greatly reduced quality, and is being handled or untreated complete data It can not save in time.Therefore, it is necessary to for this equipment in software and hardware system shut down firmly be easily damaged hardware and not can oneself It dynamic the problem of saving data, is efficiently modified.
Summary of the invention
It is an object of the invention to overcome that data and hard shutdown can not be automatically saved under hard power down condition to hardware damage The problem of, a kind of power-down protection circuit is provided, cut-offfing through a metal-oxide-semiconductor for power supply controls, and the conducting of metal-oxide-semiconductor is by equipment Power switch and several Sofe Switch codetermine.
The invention is realized by the following technical scheme:
A kind of power-down protection circuit, the power control switch K1 including connecting input power, which is characterized in that further include:
Metal-oxide-semiconductor Q1, is set between input power and out-put supply, for controlling cut-offfing for power supply;
Metal-oxide-semiconductor control circuit is connect with the pole G of the metal-oxide-semiconductor, is also connect with the power control switch K1 other end;
CPU detection circuit is connect with the metal-oxide-semiconductor control circuit, for by the folding shape of the power control switch K1 State is converted to low level signal or high level signal;
Cpu control circuit is connect with the metal-oxide-semiconductor control circuit;
The CPU detection circuit connects CPU with the cpu control circuit;
The CPU carries out power operation according to equipment of the high level signal of CPU detection circuit feedback to access power supply;
The cpu control circuit, according to the power blackout situation of the equipment of access power supply to metal-oxide-semiconductor control circuit input high level Signal or low level signal;
The metal-oxide-semiconductor control circuit, according to the level signal for cut-offfing signal and cpu control circuit of power control switch K1 Make the G extremely low level or high level of metal-oxide-semiconductor Q1 to control the on or off of metal-oxide-semiconductor Q1.
According to above-mentioned design, the metal-oxide-semiconductor control circuit, comprising:
The current-limiting resistance R2 connecting with input power is connected in parallel on the voltage-stabiliser tube D1 at the both ends current-limiting resistance R2, with current-limiting resistance The concatenated current-limiting resistance R5 of R2, the pole C connects the triode Q2 of the pole current-limiting resistance R5, E connection SGND, another with power control switch K1 The divider resistance R3 of one end connection, with the concatenated divider resistance R8 of divider resistance R3;
The pole B of triode Q2 is connected between divider resistance R3 and divider resistance R8;
The pole G of metal-oxide-semiconductor Q1 is connected between current-limiting resistance R2 and current-limiting resistance R5;
It further include photoelectrical coupler U3, the pole C of the 4 connecting triode Q2 of pin of photoelectrical coupler U3, three poles of the connection of pin 3 The pole E of pipe Q2, pin 2 connect GND, and pin 1 connects cpu control circuit.
According to above-mentioned design, the CPU detection circuit, including photoelectrical coupler U2 and draw high resistance R4, photoelectrical coupler The pin 1 and pin 2 of U2 is connected between divider resistance R3 and divider resistance R8, the pole B of 2 connecting triode Q2 of pin, pin 3 GND is connected, the connection of pin 4 draws high resistance R4 and CPU, draws high resistance R4 connection power vd D2.
According to above-mentioned design, the cpu control circuit, the control being connect respectively with the equipment of access power supply including several groups Component, the control assembly, including be sequentially connected in series switching diode, first resistor, second resistance, second resistance connect GND, The junction of the pin 1 of the connection photoelectrical coupler U3 of switching diode, first resistor and second resistance is electric with corresponding access The equipment in source connects.
Further, the cpu control circuit, the control assembly being connect respectively with the equipment of access power supply including two groups:
First group of control assembly, including the switching diode D2, resistance R6, resistance R9 being sequentially connected in series, resistance R9 connection The pin 1 of the connection photoelectrical coupler U3 of GND, switching diode D2, the junction of resistance R6 and resistance R9 and corresponding access The equipment of power supply connects;
Second control assembly, including the switching diode D3, resistance R7, resistance R10 being sequentially connected in series, resistance R10 connection The pin 1 of the connection photoelectrical coupler U3 of GND, switching diode D3, the junction of resistance R7 and resistance R10 and corresponding access The equipment of power supply connects.
Specifically, the metal-oxide-semiconductor Q1 is PMOS tube.
Specifically, the triode Q2 is NPN type.
Specifically, the CPU, carries out the synchronous preservation data of disk according to the high level signal of CPU detection circuit feedback, protects Power operation is carried out to the equipment of access power supply after depositing.
The beneficial effects of the present invention are:
1), facility switching control power-off will not direct forced shutdown, avoid hardware fault caused by directly hard shut down;
2), facility switching control power-off can be ensure that shutdown software data is not lost, be kept away by triggering after software end of operation Exempt from by the caused software fault that directly shuts down firmly;
3), increase CPU detection circuit, CPU can detecte user's shutdown movement, to do respective handling;
4), power circuit and control circuit isolation, may be implemented the control to different input voltages;
5) more equipment/mainboards, may be implemented to jointly control power supply, do not interfere with each other.
Detailed description of the invention
Fig. 1 is circuit structure block diagram of the invention.
Fig. 2 is work flow diagram of the invention.
Fig. 3 is one embodiment of the present invention circuit diagram.
Specific embodiment
The utility model provides a kind of scheme that hard shutdown is combined with soft-off.Power supply is cut-off through a metal-oxide-semiconductor It controls, the conducting of metal-oxide-semiconductor is codetermined by the software switch of facility switching and several master control borads: facility switching and several Software switch has an opening, then metal-oxide-semiconductor powers on;Facility switching and several software switch all disconnect, then metal-oxide-semiconductor cutting electricity Source.
This programme realizes hardware and software and jointly controls to power supply, when user stir equipment power switch carry out it is powered-down After operation, software carries out that disk is synchronous to save data, after carry out dragging down software switch and close power supply, when all softwares are opened After pass all drags down, metal-oxide-semiconductor, which is cut off the power, realizes power-off.
It is as shown in Figure 1 circuit structure block diagram of the invention.
The utility model uses on-off switch of the PMOS tube as power supply, and the VGS of PMOS is negative level driving.
After someone, which stirs power control switch K1, to be powered on, it is preset low that metal-oxide-semiconductor control circuit, which draws the pole G of PMOS tube, Level, driving PMOS tube conducting, CPU are powered on.After CPU is powered on, detect that K1 switch is closed state by CPU detection circuit, Pwrctl is drawn as high level simultaneously, is drawn the pole G of PMOS for low level (if there is multiple mainboards/set by MOS control circuit Standby, then board2, board3 ..., which is realized, drags down the pole G of PMOS), keep PMOS open state.
After someone, which stirs power control switch K1, disconnects it, no longer drawing at K1 is high level, but at Pwrctl still It is high level, i.e., metal-oxide-semiconductor control circuit still draws the pole G of PMOS for low level, and PMOS continues to be held on, and equipment power supply is protected It holds normal.After K1 disconnection, CPU detection circuit can detect the disconnection of K1, indicate that someone will shut down, then CPU enters shutdown stream Journey: saving data, and it is synchronous to carry out disk, after drag down Pwrctl pin and cut off the power with controlling PMOS, when all equipment/ After mainboard all drags down Pwrctl, PMOS, which cuts off the power, completes device powers down.
Metal-oxide-semiconductor control circuit first part is controlled by a NPN triode switching circuit, when K1 closure, triode base Pole is raised, BE conducting, and control CE conducting powers on to control PMOS conducting.
Metal-oxide-semiconductor control circuit second part is optocoupler circuit composition, and there are two the effects of photoelectrical coupler:
First effect is switch control PMOS, and after Pwrctl pin is raised, i.e. the input terminal of optocoupler receives Signal is controlled, the output end of optocoupler will drag down the pole G of PMOS, keep the conducting of PMOS;
Second effect is exactly by the low electricity of high-voltage power supply (48V is also possible to other voltages) and CPU of equipment input Voltage source (3.3V and following) is kept apart.
The input terminal of photoelectrical coupler uses the multiple input circuit of diodes in parallel, and effect is that multiple input terminals are not done mutually Disturb, and input value reach multiple input values "or" relationship (as long as have one input for height, output for height;Only all Input is that the output of its low circuit is just low).
CPU detection circuit also using with the concatenated photoelectric coupling circuit of K1, when K1 closure after, the input of optocoupler End has electric current to pass through, and the output end CPU pin of optocoupler is pulled to low level;After K1 is disconnected, the input terminal of optocoupler does not have electric current Pass through, then its output end disconnects, and CPU pin is pulled up as high level.
CPU detects the folding condition of K1 by detecting different level values.Here photoelectric coupling circuit also there are two Effect: one is the switch state for detecting K1 as switching circuit, another effect is also by the high voltage power supply and CPU of equipment Low-tension supply to being kept apart.
Specifically, workflow of the invention is as shown in Figure 2.
As shown in figure 3, being a kind of embodiment of the invention.
User's toggle switch K1 causes the input of U2 to be connected, is made by the partial pressure of R3 and R8 to device power after K1 is closed The V of Q2BEThe current limliting of=0.6V(R3 and R8 makes U2 work in normal current range), so that the pole CE of Q2 is connected.The pole CE of Q2 is connected Later, voltage-stabiliser tube D1 starts to work (current limliting of R2 and R5 make Q2 and Q1 work in normal current range), and the effect of D1 is Q1 VGSStablize the normal voltage range that Q1 is connected in -16V(), so that Q1 is connected, rear class DC-DC power source is powered on, after VDD is powered on Each master control borad/each equipment is started to work, and CPU, which is detected, pulls up respective Pwrctl for height after U2 drags down PWR_Status Level, U3 and Q2 is acted on draw R5 for low level simultaneously at this time, and Q1 working condition is constant, and system electrification finishes.
When user's toggle switch K1 is by device powers down, K1 is disconnected, and U2 is without input=0V, the V of Q2 at this timeBEThe pole CE of=0V, Q2 It disconnects, but since U3 also keeps original state to work on, R5 is still pulled to low level, and Q1 continues to keep original state It powers to rear class DC-DC, each master control borad/each equipment is working properly.Since U2 input is 0, then its output disconnects, and R4 is by PWR_ It is high level that Status, which is drawn, and CPU detects PWR_Status after high level, to start to power off process: saving the number to work According to, it is synchronous to carry out disk, after corresponding Pwrctl is drawn as low level.After it is low level that Board1_Pwrctl, which is drawn, Board1_Pwrctl no longer inputs any voltage to U3, but due to the effect of D2, if Board2_Pwrctl is not drawn as low electricity Flat, the input of U3 will not be drawn is low level, and U3 continues to keep original working condition.Only Board1_Pwrctl and Board2_Pwrctl draws as after low level, U3 input voltage=0V, the output stage of U3 and Q2, which works, at this time disconnects shape State, the at this time V of Q1GS=0V, so that Q1 disconnects rear level power supply, system cut-off is finished.
The equipment input voltage of support is controlled by current-limiting resistance, and equipment supports the DC supply input of 18V ~ 72V, works as R3 (different series-parallel combinations can be carried out according to different resistor powers to realize) when=16.2K,
IR3=(UVCC_IN-0.6V-1.2V)/R3=(UVCC_IN-1.8V)/R3,
(pressure drop of U2 is 1.2V, the V of Q2 to its electric current passed through between 1 mA ~ 4.3mA at this timebe=0.6V).R2 and R5 points It is not set as 16K, the V of Q2CE=0.4V, when VCC_IN is in 18V ~ 32.4V:
IR2=IR5=(UVCC_IN-0.4V) /(R2+R5)= (UVCC_IN-0.4V)/16k;
Between 0.55mA ~ 1mA;
When VCC_IN is in 32.4V ~ 72V:
IR2=16V/16K=1mA,
IR5=(UVCC_IN-0.4V-16V)/R5=(UVCC_IN- 16.4V)/R5,
IR5Between 1mA ~ 3.48mA.
Application of the invention, can solve satellite modem equipment can not automatically save number under hard power down condition According to, and hard the problem of shutting down to hardware damage.
It should be understood that the foregoing is merely a specific embodiment of the invention, it is not intended to limit the present invention Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in Within protection scope of the present invention.

Claims (8)

1. a kind of power-down protection circuit, the power control switch K1 including connecting input power, which is characterized in that further include:
Metal-oxide-semiconductor Q1, is set between input power and out-put supply, for controlling cut-offfing for power supply;
Metal-oxide-semiconductor control circuit is connect with the pole G of the metal-oxide-semiconductor, is also connect with the power control switch K1 other end;
CPU detection circuit is connect with the metal-oxide-semiconductor control circuit, for turning the folding condition of the power control switch K1 It is changed to low level signal or high level signal;
Cpu control circuit is connect with the metal-oxide-semiconductor control circuit;
The CPU detection circuit connects CPU with the cpu control circuit;
The CPU carries out power operation according to equipment of the high level signal of CPU detection circuit feedback to access power supply;
The cpu control circuit, according to the power blackout situation of the equipment of access power supply to metal-oxide-semiconductor control circuit input high level signal Or low level signal;
The metal-oxide-semiconductor control circuit makes according to the level signal for cut-offfing signal and cpu control circuit of power control switch K1 The G of metal-oxide-semiconductor Q1 extremely low level or high level are to control the on or off of metal-oxide-semiconductor Q1.
2. power-down protection circuit according to claim 1, which is characterized in that the metal-oxide-semiconductor control circuit, comprising:
The current-limiting resistance R2 connecting with input power is connected in parallel on the voltage-stabiliser tube D1 at the both ends current-limiting resistance R2, goes here and there with current-limiting resistance R2 The triode Q2 of the current-limiting resistance pole R5, the C connection pole current-limiting resistance R5, E connection SGND of connection, with the power control switch K1 other end The divider resistance R3 of connection, with the concatenated divider resistance R8 of divider resistance R3;
The pole B of triode Q2 is connected between divider resistance R3 and divider resistance R8;
The pole G of metal-oxide-semiconductor Q1 is connected between current-limiting resistance R2 and current-limiting resistance R5;
It further include photoelectrical coupler U3, the pole C of the 4 connecting triode Q2 of pin of photoelectrical coupler U3,3 connecting triode Q2 of pin The pole E, pin 2 connect GND, pin 1 connect cpu control circuit.
3. power-down protection circuit according to claim 2, which is characterized in that the CPU detection circuit, including photoelectric coupling Device U2 and resistance R4 being drawn high, the pin 1 and pin 2 of photoelectrical coupler U2 is connected between divider resistance R3 and divider resistance R8, The pole B of 2 connecting triode Q2 of pin, pin 3 connect GND, and the connection of pin 4 draws high resistance R4 and CPU, draw high resistance R4 connection electricity Source VDD2.
4. power-down protection circuit according to claim 2, which is characterized in that the cpu control circuit, including several components The control assembly not connect with the equipment of access power supply, the control assembly, including switching diode, the first electricity being sequentially connected in series Resistance, second resistance, second resistance connect GND, the pin 1 of the connection photoelectrical coupler U3 of switching diode, first resistor and the The junction of two resistance is connected with the equipment of corresponding access power supply.
5. power-down protection circuit according to claim 4, which is characterized in that the cpu control circuit, including two groups of difference The control assembly being connect with the equipment of access power supply:
First group of control assembly is opened including the switching diode D2, resistance R6, resistance R9 being sequentially connected in series, resistance R9 connection GND Close the pin 1 of the connection photoelectrical coupler U3 of diode D2, the junction of resistance R6 and resistance R9 and the corresponding power supply that accesses Equipment connection;
Second control assembly is opened including the switching diode D3, resistance R7, resistance R10 being sequentially connected in series, resistance R10 connection GND Close the pin 1 of the connection photoelectrical coupler U3 of diode D3, the junction of resistance R7 and resistance R10 and the corresponding power supply that accesses Equipment connection.
6. power-down protection circuit according to claim 1, which is characterized in that the metal-oxide-semiconductor Q1 is PMOS tube.
7. power-down protection circuit according to claim 1, which is characterized in that the triode Q2 is NPN type.
8. power-down protection circuit according to claim 1, which is characterized in that the CPU is fed back according to CPU detection circuit High level signal carry out that disk is synchronous to save data, power operation is carried out to the equipment of access power supply after preservation.
CN201822213408.3U 2018-12-27 2018-12-27 A kind of power-down protection circuit Active CN209055948U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201822213408.3U CN209055948U (en) 2018-12-27 2018-12-27 A kind of power-down protection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201822213408.3U CN209055948U (en) 2018-12-27 2018-12-27 A kind of power-down protection circuit

Publications (1)

Publication Number Publication Date
CN209055948U true CN209055948U (en) 2019-07-02

Family

ID=67055448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201822213408.3U Active CN209055948U (en) 2018-12-27 2018-12-27 A kind of power-down protection circuit

Country Status (1)

Country Link
CN (1) CN209055948U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134813A1 (en) * 2020-12-23 2022-06-30 微创优通医疗科技(嘉兴)有限公司 Switch control circuit and endoscope system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022134813A1 (en) * 2020-12-23 2022-06-30 微创优通医疗科技(嘉兴)有限公司 Switch control circuit and endoscope system

Similar Documents

Publication Publication Date Title
CN104331141B (en) Overcurrent protection circuit and server thereof
CN103490374B (en) Mass production test device and short-circuit current foldback circuit thereof
CN206272219U (en) A kind of overvoltage and reverse-connection protection circuit and its equipment
CN110166259A (en) For supporting the observation circuit of a receiving end equipment of Ethernet power supply
CN205509647U (en) Switch control device
CN102541238A (en) Outage protector used for embedded computer and realization method thereof
CN109494120A (en) Control relay circuit
CN209055948U (en) A kind of power-down protection circuit
CN103294159A (en) Method and device for realizing shutdown zero power consumption of electronic equipment
CN105515559B (en) A kind of voltage commutation circuit applied to PSE interchangers
CN108488948B (en) Air conditioner, air conditioner control system and outdoor unit switch circuit
CN206313431U (en) Electronic equipment and its overvoltage crowbar
CN206559040U (en) A kind of electric equipment and its power supply output overvoltage regulating circuit
CN104218927B (en) Soft-start circuit and optical module with it
CN109613968A (en) Power supply redundant output circuit with short-circuit protection
CN203800576U (en) Protection circuit of overcurrent and under current for MOS transistor output
CN105680678A (en) Discharge circuit and AC power supply device
CN209515563U (en) Control relay circuit
CN206209032U (en) Power failure detection circuit and switching power supply circuit
CN210577772U (en) Low-power-consumption under-voltage locking circuit
CN208862634U (en) A kind of power supply switching power supply circuit
CN215267612U (en) Protection circuit and medical equipment
CN105511298B (en) A kind of low-power consumption standby control circuit, Switching Power Supply and power electrical appliance
CN102830303A (en) Ethernet power supply testing equipment
CN207265995U (en) It is a kind of to use the key switch electromechanics road with ena-bung function linear voltage regulator

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant