CN208335133U - A kind of power-fail detection circuit and computer - Google Patents

A kind of power-fail detection circuit and computer Download PDF

Info

Publication number
CN208335133U
CN208335133U CN201820657118.5U CN201820657118U CN208335133U CN 208335133 U CN208335133 U CN 208335133U CN 201820657118 U CN201820657118 U CN 201820657118U CN 208335133 U CN208335133 U CN 208335133U
Authority
CN
China
Prior art keywords
power
unit
electricity consumption
supply unit
detection circuit
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
CN201820657118.5U
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.)
Shenzhen Tongwei Communication Technology Co Ltd
Original Assignee
Shenzhen Tongwei Communication Technology 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 Shenzhen Tongwei Communication Technology Co Ltd filed Critical Shenzhen Tongwei Communication Technology Co Ltd
Priority to CN201820657118.5U priority Critical patent/CN208335133U/en
Application granted granted Critical
Publication of CN208335133U publication Critical patent/CN208335133U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Emergency Protection Circuit Devices (AREA)

Abstract

The utility model provides a kind of power-fail detection circuit and computer, wherein, a kind of power-fail detection circuit, it is connected between power supply unit and processor, which includes: electricity consumption detection unit and power down trigger unit, wherein, electricity consumption detection unit is connected with power supply unit, for detect power supply unit whether output services electricity consumption, and power supply unit stop output services electricity consumption when, generate trigger signal;Power down trigger unit is connected between electricity consumption detection unit and processor; for exporting power-off signal to processor according to trigger signal; so that processor carries out power down protection operation according to power-off signal; it avoids when power is off; because computer can shut down, the text edited is caused the phenomenon that contents lost occur.

Description

A kind of power-fail detection circuit and computer
Technical field
The utility model belongs to electronic technology field more particularly to a kind of power-fail detection circuit and computer.
Background technique
With popularizing for computer, all trades and professions are requiring that computer is utilized to carry out operation.Due to existing desk-top calculating Battery is not provided in machine, therefore when power is off, computer can be because directly shut down, to lead without power supply The text edited is caused the phenomenon that contents lost occur.
Utility model content
The utility model embodiment provides a kind of power-fail detection circuit and computer, can calculate to avoid when power is off There is the phenomenon that contents lost because directly shutting down without power supply so as to cause the text edited in chance.
The purpose of this utility model is to provide a kind of power-fail detection circuits, are connected between power supply unit and processor, The power-fail detection circuit includes:
Electricity consumption detection unit, is connected with said supply unit, for detect said supply unit whether output services electricity consumption, And when said supply unit stops output services electricity consumption, trigger signal is generated;
Power down trigger unit is connected between the electricity consumption detection unit and the processor, for according to the triggering Signal exports power-off signal to the processor, so that the processor carries out power down protection operation according to the power-off signal.
A kind of power-fail detection circuit and computer provided by the utility model, wherein a kind of power-fail detection circuit is connected to Between power supply unit and processor, which includes: electricity consumption detection unit and power down trigger unit, wherein electricity consumption Detection unit is connected with power supply unit, for detect power supply unit whether output services electricity consumption, and power supply unit stop export When work electricity consumption, trigger signal is generated;Power down trigger unit is connected between electricity consumption detection unit and processor, for according to touching It signals to export power-off signal to processor, so that processor carries out power down protection operation according to power-off signal, avoid disconnected When electric, because computer can shut down, the text edited is caused the phenomenon that contents lost occur.
Detailed description of the invention
In order to illustrate more clearly of the utility model embodiment technical solution, will make below to required in embodiment description Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the utility model, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of structural schematic diagram of power-fail detection circuit provided by the embodiment of the utility model;
Fig. 2 is a kind of structural schematic diagram for power-fail detection circuit that another embodiment of the utility model provides;
Fig. 3 is a kind of physical circuit figure for power-fail detection circuit that another embodiment of the utility model provides;
Fig. 4 is a kind of structural schematic diagram of computer provided by the embodiment of the utility model.
Specific embodiment
The following will be combined with the drawings in the embodiments of the present invention, carries out the technical scheme in the embodiment of the utility model It clearly and completely describes, it is clear that the embodiments are a part of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, those of ordinary skill in the art are obtained without making creative work The every other embodiment obtained, fall within the protection scope of the utility model.
Referring to Figure 1, Fig. 1 is a kind of structural schematic diagram of power-fail detection circuit provided by the embodiment of the utility model, is Convenient for explanation, part relevant to the utility model embodiment is illustrated only.
As shown in Figure 1, it should be noted that it is single to be connected to power supply for a kind of power-fail detection circuit 100 provided in this embodiment Between member 110 and processor 120, wherein processor 120 can be the existing hardware mould group in terminal or computer, and power supply is single Member 110 can be existing DC power supply unit or Alternating Current Power Supply unit.
In the present embodiment, power-fail detection circuit 100 includes: electricity consumption detection unit 10 and power down trigger unit 20.
Electricity consumption detection unit 10 is connected with power supply unit 110, for detect power supply unit 110 whether output services electricity consumption, And when power supply unit 110 stops output services electricity consumption, trigger signal is generated.
Power down trigger unit 20 is connected between electricity consumption detection unit 10 and processor 120, for according to trigger signal to Processor 120 exports power-off signal, so that processor 120 carries out power down protection operation according to power-off signal.
In all embodiments of the application, power supply unit 110 can supply for existing DC power supply unit or exchange Electric unit, for providing work electricity consumption for terminal locating for processor 120 and processor 120 or computer.
By the way that electricity consumption detection unit 10 and power supply unit 110 to be attached, it is able to detect that using electro-detection unit 10 The whether normal output services electricity consumption of power supply unit 110.When power supply unit 110 is direct current, power supply unit 110 exports if normal Work electricity consumption, then can persistently export high level to electricity consumption detection unit 10;If power supply unit 110 can not normal output services use Electricity, then electricity consumption detection unit 10 detects that the output of power supply unit 110 is low level, to generate trigger signal.Since power down is touched Bill member 20 is connected between electricity consumption detection unit 10 and processor 120, when electricity consumption detection unit 10 is to power down trigger unit 20 When exporting trigger signal, power down trigger unit 20 exports power-off signal to processor 120 according to the trigger signal, and then makes to handle Device 120 carries out power down protection operation according to the power-off signal.When power supply unit 110 is alternating current, power supply unit 110 is if normal Output services electricity consumption can then continue the fixed ac signal of output frequency to electricity consumption detection unit 10, for example, frequency is 50 hertz Hereby or 60 hertz of ac signal, when power supply unit 110 can not normal output services electricity consumption, then electricity consumption detection unit 10 is examined The electric signal of the output of power supply unit 110 and non-frequency are measured for 50 hertz or 60 hertz of ac signal, to generate triggering Signal exports power-off signal to processor 120 according to the trigger signal from power down trigger unit 20, and then makes processor 120 Power down protection operation is carried out according to the power-off signal.
It is understood that since processor 120 can be processor in existing terminal or computer, this field skill Art personnel can configure control instruction or procedure script into the processor in advance, so that processor 120 is receiving When electric signal, power down protection operation can be carried out according to the power-off signal, for example, saving the text etc. edited.Due to place The specific implementation that reason device 120 carries out power down protection operation can be to be realized by existing procedure script, therefore herein no longer It repeats.
Fig. 2 is a kind of structural schematic diagram for power-fail detection circuit that another embodiment of the utility model provides, with above-mentioned reality It applies unlike example, power-fail detection circuit 100 provided in this embodiment further includes over-current protecting unit 30.
Over-current protecting unit 30 is connected between power supply unit 110 and electricity consumption detection unit 10, and over-current protecting unit 30 is used When the electric current of the work electricity consumption exported in power supply unit 110 is excessive, disconnect between power supply unit 110 and electricity consumption detection unit 10 Connection.
It should be noted that since over-current protecting unit 30 is connected between power supply unit 110 and electricity consumption detection unit 10, Therefore when the electric current for the work electricity consumption that power supply unit 110 exports is excessive, over-current protecting unit 30 disconnects power supply unit 110 and uses Connection between electro-detection unit 10, so that electricity consumption detection unit 10 generates trigger signal, then by power down trigger unit 20 Power-off signal is exported to processor 120 according to the trigger signal, so that processor 120 carries out power down protection behaviour according to power-off signal Make.
As shown in Fig. 2, the input terminal 11 of electricity consumption detection unit 10 passes through over-current protecting unit 30 and 110 phase of power supply unit Even, the output end 12 of electricity consumption detection unit 10 is connected with the input terminal 21 of power down trigger unit 20, power down trigger unit 20 it is defeated Outlet 22 is connected with processor 120.
In practice, when the work electricity consumption that power supply unit 110 exports is unstable, be easy to power-fail detection circuit 100 or Person's processor 120 damages, in order to avoid such phenomenon, by setting between power supply unit 110 and electricity consumption detection unit 10 Over-current protecting unit 30 is set, so that being disconnected when the electric current for the work electricity consumption that power supply unit 110 exports is excessive by protection location 30 Connection between power supply unit 110 and electricity consumption detection unit 10, so that the generation trigger signal of electricity consumption detection unit 10, then by Power down trigger unit 20 exports power-off signal to processor 120 according to the trigger signal, realizes processor 120 and is believed according to power down Number carry out power down protection operation while, it is thus also avoided that because power supply unit 110 export work electricity consumption it is unstable when, caused by fall The phenomenon that power detection circuit 100 or processor 120 damage.
Fig. 3 shows a kind of physical circuit figure for power-fail detection circuit that another embodiment of the utility model provides.Such as Fig. 3 Shown, electricity consumption detection unit 10 includes: first resistor R1, second resistance R2,3rd resistor R3, first diode D1, the first electricity Hold C1 and first switch tube Q1.
The first end of first resistor R1 is the input terminal of electricity consumption detection unit 10, the second end of first resistor R1, the one or two The first end of pole pipe D1 and the first end of first capacitor C1 connect the controlled end of first switch tube Q1 altogether, and the of first diode D1 The cold end at two ends, the second end of first capacitor C1 and first switch tube Q1 is grounded altogether, the first end of second resistance R2 with The first end of 3rd resistor R3 connects the hot end of first switch tube Q1, the second termination power vd D of second resistance R2, third altogether The second end of resistance R3 is the output end of electricity consumption detection unit 10.
As shown in figure 3, power down trigger unit 20 includes: the 4th resistance R4, the 5th resistance R5 and optocoupler D2.
The first termination power vd D of 4th resistance R4, the second end and the first end D21 phase of optocoupler D2 of the 4th resistance R4 Even, the second end D22 of optocoupler D2 is the input terminal of power down trigger unit 20, the third end D23 ground connection of optocoupler D2, the of optocoupler D2 Four end D24 are connected with the first end of the 5th resistance R5, form output node D3, output node D3 is as power down trigger unit 20 Output end, the second termination power vd D of the 5th resistance R5.
It is cathode, first diode as the first end with a kind of mode in the cards of embodiment, first diode D1 The second end of D1 is anode.
In the present embodiment, first switch tube Q1 can manage for metal-oxide-semiconductor, IGBT or the IGBT with body diode is managed.
Preferably, first switch tube Q1 is NPN type triode Q1, and the controlled end of first switch tube Q1 is NPN type triode The base stage of Q1, the hot end of first switch tube Q1 are the collector of NPN type triode Q1, and the controlled end of first switch tube Q1 is The emitter of NPN type triode Q1.
In all embodiments of the application, over-current protecting unit 30 can be fuse.
It is described in detail below in conjunction with working principle of the Fig. 3 to power-fail detection circuit 100 provided in this embodiment.
As shown in figure 3, the output end of power down trigger unit 20 is connected with the GPIO interface of processor 120, work as power supply unit 110 when being direct current, the output services electricity consumption if normal of power supply unit 110, then can be to the lasting high electricity of output of electricity consumption detection unit 10 Flat namely first switch tube Q1 controlled end high level, and first switch tube Q1 is connected, so that optocoupler D2 is connected, and to processing The GPIO interface of device 120 persistently exports high level.If power supply unit 110 can not normal output services electricity consumption, use electro-detection Unit 10 detects that the output of power supply unit 110 is low level, to generate the controlled end of trigger signal namely first switch tube Q1 For low level, so that first switch tube Q1 ends, optocoupler D2 is also switched off, and optocoupler D2 is no longer held to the GPIO interface of processor 120 Continuous output high level, and then processor 120 is made to carry out power down protection operation according to the power-off signal.
When power supply unit 110 is alternating current, the output services electricity consumption if normal of power supply unit 110 then can be to electro-detection Unit 10 continues the fixed ac signal of output frequency, for example, the ac signal that frequency is 50 hertz or 60 hertz, namely The turn-on frequency of first switch tube Q1 and the frequency of ac signal are identical, optocoupler D2 conducting turn-on frequency also with exchange telecommunications Number frequency it is identical, and then the signal frequency persistently exported to the GPIO interface of processor 120 also with the frequency of ac signal It is identical.If power supply unit 110 normally output services electricity consumption, electricity consumption detection unit 10 can not detect 110 nothing of power supply unit When signal exports, generates trigger signal namely the turn-on frequency of first switch tube Q1 and the frequency of ac signal is different, optocoupler The turn-on frequency of D2 is also different from the frequency of ac signal, and optocoupler D2 is persistently exported and handed over to the GPIO interface of processor 120 The frequency of galvanic electricity signal different signal namely power-off signal, and then processor 120 is made to carry out power down guarantor according to the power-off signal Shield operation.Alternatively, first switch tube Q1 ends, optocoupler D2 is also switched off, and optocoupler D2 no longer continues to the GPIO interface of processor 120 Output signal, namely power-off signal is exported to processor 120, and then processor 120 is made to carry out power down guarantor according to the power-off signal Shield operation.
The another object of the utility model is to provide a kind of computer 200, including power supply unit 110 and processor 120, As shown in figure 4, computer 200 further includes the power-fail detection circuit 100 in above-described embodiment.
A kind of specific embodiment related with the utility model of the computer as provided in the present embodiment and work Principle has elaborated in the above-described embodiments, and therefore, details are not described herein again.
A kind of power-fail detection circuit and computer provided by the utility model, wherein power-fail detection circuit is connected to power supply Between unit and processor, which includes: electricity consumption detection unit and power down trigger unit, wherein uses electro-detection Unit is connected with power supply unit, for detect power supply unit whether output services electricity consumption, and power supply unit stop output services When electricity consumption, trigger signal is generated;Power down trigger unit is connected between electricity consumption detection unit and processor, for being believed according to triggering Number to processor export power-off signal so that processor according to power-off signal carry out power down protection operation, avoid when power is off, Because computer can shut down, the text edited is caused the phenomenon that contents lost occur.
Unit in the utility model embodiment terminal can be combined, divided and deleted according to actual needs.
More than, only specific embodiment of the present utility model, but protection scope of the utility model is not limited thereto, Anyone skilled in the art within the technical scope disclosed by the utility model, can readily occur in various equivalent Modifications or substitutions, these modifications or substitutions should be covered within the scope of the utility model.Therefore, the utility model Protection scope should be subject to the protection scope in claims.

Claims (10)

1. a kind of power-fail detection circuit, is connected between power supply unit and processor, which is characterized in that the power-fail detection circuit Include:
Electricity consumption detection unit, is connected with said supply unit, for detect said supply unit whether output services electricity consumption, and When said supply unit stops output services electricity consumption, trigger signal is generated;
Power down trigger unit is connected between the electricity consumption detection unit and the processor, for according to the trigger signal Power-off signal is exported to the processor, so that the processor carries out power down protection operation according to the power-off signal.
2. power-fail detection circuit as described in claim 1, which is characterized in that the power-fail detection circuit further includes overcurrent protection Unit;
The over-current protecting unit is connected between said supply unit and the electricity consumption detection unit, the over-current protecting unit When the electric current of work electricity consumption for exporting in said supply unit is excessive, said supply unit and the electro-detection list are disconnected Connection between member.
3. power-fail detection circuit as claimed in claim 2, which is characterized in that the input terminal of the electricity consumption detection unit passes through institute It states over-current protecting unit to be connected with said supply unit, the output end of the electricity consumption detection unit and the power down trigger unit Input terminal is connected, and the output end of the power down trigger unit is connected with the processor.
4. power-fail detection circuit as claimed in claim 3, which is characterized in that the electricity consumption detection unit include: first resistor, Second resistance, 3rd resistor, first diode, first capacitor and first switch tube;
The first end of the first resistor is the input terminal of the electricity consumption detection unit, the second end of the first resistor, described The first end of the first end of first diode and the first capacitor connects the controlled end of the first switch tube altogether, and described first The cold end of the second end of diode, the second end of the first capacitor and the first switch tube is grounded altogether, and described The first end of the first end of two resistance and the 3rd resistor connects the hot end of the first switch tube, the second resistance altogether The second termination power, the second end of the 3rd resistor is the output end of the electricity consumption detection unit.
5. power-fail detection circuit as claimed in claim 3, which is characterized in that the power down trigger unit include: the 4th resistance, 5th resistance and optocoupler;
The second end of first termination power of the 4th resistance, the 4th resistance is connected with the first end of the optocoupler, institute The second end for stating optocoupler is the input terminal of the power down trigger unit, and the third end of the optocoupler is grounded, the 4th of the optocoupler the End is connected with the first end of the 5th resistance, forms output node, the output node is as the power down trigger unit Output end, the second termination power of the 5th resistance.
6. power-fail detection circuit as claimed in claim 4, which is characterized in that the first end of the first diode is cathode, The second end of the first diode is anode.
7. power-fail detection circuit as claimed in claim 4, which is characterized in that the first switch tube be metal-oxide-semiconductor, IGBT pipe or IGBT pipe with body diode.
8. power-fail detection circuit as claimed in claim 4, which is characterized in that the first switch tube is NPN type triode, institute The controlled end for stating first switch tube is the base stage of the NPN type triode, and the hot end of the first switch tube is the NPN The collector of type triode, the controlled end of first switch tube are the emitter of the NPN type triode.
9. power-fail detection circuit as claimed in claim 2, which is characterized in that the over-current protecting unit is fuse.
10. a kind of computer, including power supply unit and processor, which is characterized in that the computer includes claim 1 to 9 Described in any item power-fail detection circuits.
CN201820657118.5U 2018-05-04 2018-05-04 A kind of power-fail detection circuit and computer Active CN208335133U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820657118.5U CN208335133U (en) 2018-05-04 2018-05-04 A kind of power-fail detection circuit and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820657118.5U CN208335133U (en) 2018-05-04 2018-05-04 A kind of power-fail detection circuit and computer

Publications (1)

Publication Number Publication Date
CN208335133U true CN208335133U (en) 2019-01-04

Family

ID=64776469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820657118.5U Active CN208335133U (en) 2018-05-04 2018-05-04 A kind of power-fail detection circuit and computer

Country Status (1)

Country Link
CN (1) CN208335133U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929013A (en) * 2021-02-01 2021-06-08 四川爱创科技有限公司 Circuit for realizing power failure self-recovery memory function and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929013A (en) * 2021-02-01 2021-06-08 四川爱创科技有限公司 Circuit for realizing power failure self-recovery memory function and control method thereof
CN112929013B (en) * 2021-02-01 2023-07-25 四川爱创科技有限公司 Circuit for realizing power-down self-recovery memory function and control method thereof

Similar Documents

Publication Publication Date Title
CN208335133U (en) A kind of power-fail detection circuit and computer
CN203062057U (en) Input default phase protection circuit for electric welding machine
CN105591534A (en) Single-phase rectification wide region power supply power-on circuit
CN207488440U (en) Pulse generating circuit and power tube test device
CN203870427U (en) Low-electricity consumption control circuit in standby state
CN103117652B (en) Based on the soft electrification circuit of single phase rectifier of thermistor
CN103201638B (en) Supply unit
CN203225836U (en) Zero power consumption standby circuit and display terminal
CN103117651A (en) Thermistor-based three-phase rectifier soft power on circuit
CN106329506A (en) Over-voltage discharge protection device and method for server controller with adjustable protection threshold
CN204089173U (en) A kind of frequency changer direct current bus voltage protection circuit
CN105675977A (en) Electric energy meter and method for pre-stage and post-stage stage power failure detection and control of power switching-off by magnetic latching relay and data storage
CN113075534B (en) Power chip detection circuit, power chip detection method and device and electronic equipment
CN206135406U (en) Servo controller overvoltage protection circuit of releasing
CN211320909U (en) Data center micromodule power distribution system
CN214011337U (en) Relay detection and control circuit
CN101777756B (en) Over-current protection circuit for insulated gate bipolar transistor
CN201570848U (en) Power supply protection circuit and household electric appliance
CN213689867U (en) High-frequency generator switch detection circuit
CN212726976U (en) Display outage system and display
CN210572482U (en) Power supply voltage detection circuit
CN204116503U (en) Intelligent AC distribution equipment accurate monitoring device
CN209541918U (en) A kind of contactless temperature-measuring sensor
CN208314081U (en) A kind of secondary nuclear phase instrument of 10kV switchgear
CN219935985U (en) Three-phase open-phase detection circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant