CN215953711U - Dying Gasp early warning circuit - Google Patents

Dying Gasp early warning circuit Download PDF

Info

Publication number
CN215953711U
CN215953711U CN202121320668.6U CN202121320668U CN215953711U CN 215953711 U CN215953711 U CN 215953711U CN 202121320668 U CN202121320668 U CN 202121320668U CN 215953711 U CN215953711 U CN 215953711U
Authority
CN
China
Prior art keywords
resistor
output end
switch
module
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
CN202121320668.6U
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 Lianzhou International Technology Co Ltd
Original Assignee
Shenzhen Lianzhou International 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 Lianzhou International Technology Co Ltd filed Critical Shenzhen Lianzhou International Technology Co Ltd
Priority to CN202121320668.6U priority Critical patent/CN215953711U/en
Application granted granted Critical
Publication of CN215953711U publication Critical patent/CN215953711U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

The utility model discloses a Dying Gasp early warning circuit, which comprises a circuit input end, a voltage division switch module, a voltage detection module, an early warning signal output end, an early warning time adjusting module, a power supply switch module and a circuit output end, wherein the voltage division switch module is connected with the circuit input end; the input end of the voltage division switch module, the input end of the voltage detection module, the second input end of the early warning time adjusting module and the input end of the power supply switch module are connected with the circuit input end, the first output end of the voltage division switch module is connected with the control end of the power supply switch module through the early warning time adjusting module, the second output end of the voltage division switch module is connected with the early warning signal output end through the voltage detection module, and the third output end of the voltage division switch module is grounded; the second output end of the voltage detection module is grounded; the output end of the power supply switch module is connected with the output end of the circuit. According to the utility model, the Dying Gasp early warning can be rapidly triggered after the power supply is powered off, so that the timeliness of the power failure early warning is improved, and the proper power failure early warning time is ensured.

Description

Dying Gasp early warning circuit
Technical Field
The utility model relates to the technical field of voltage detection, in particular to a Dying Gasp early warning circuit.
Background
In designs such as GPON (Gigabit-Capable Passive Optical Networks), dsl (digital Subscriber line), etc., a Dying Gasp warning circuit is often present, and when a power supply is turned off, the Dying Gasp warning circuit is required to notify a main control chip (such as a CPU) of the system, and a corresponding power failure warning signal is sent out, so that a local side releases resources that need to be allocated to a terminal customer. Generally, a driving Gasp early warning circuit comprises a power-down early warning circuit and an energy storage circuit, the power-down early warning circuit is a power-down detection circuit for realizing the driving Gasp function, and the basic principle of the power-down early warning circuit is to detect a certain voltage in a system, for example, detect the output voltage of a switching power supply, and send a power-down early warning signal to a CPU when the detected voltage is lower than a preset threshold value, so that the CPU has time to perform some protection operations before power-down.
The time from the occurrence of the power failure early warning to the failure of the system is the power failure early warning time, and the time needs to be long enough so as to start a corresponding program to process the signal. Referring to FIG. 1, the power failure warning time is t0Time to t2The time (i.e. safety Window in fig. 1) and the power-down early warning time are composed of two parts, the first part is t0Time to t1Time of day t0Time corresponds to VUNREGGenerating a power down warning signal t when falling to a threshold level (PFI)1Time corresponds to VCCThe reason for the initial falling and the first part of the delay and VUNREGOutput capacitance, VCCThe input capacitance of the voltage conversion circuit is related to the lowest working voltage of the voltage conversion circuit in the system; the second part is t1Time to t2Time of day t1Time corresponds to VCCBeginning to fall, t2Time corresponds to VCCBelow the reset monitoring level VPFDThe reason for the second part of the delay and VCCIs related to the output capacitance.
The Dying Gasp early warning circuit provided by the prior art generally detects voltage through two divider resistors, and the voltage ratio of the two divider resistors can be adjusted to correspondingly adjust the size of the detected voltage, however, if the detected voltage is too high, the fault tolerance of noise of power supply voltage can be reduced, the Dying Gasp early warning is triggered mistakenly, and if the detected voltage is too low, the power failure early warning time is too short, and the protection and processing of field data can not be completed. In addition, the energy storage circuit generally comprises an energy storage capacitor, when the power supply is turned off and power supply is stopped, the energy storage capacitor starts discharging, the detected voltage slowly drops, and the Dying Gasp early warning is triggered until the detected voltage drops to a certain threshold value, so that a long time is provided from stopping power supply to triggering the Dying Gasp early warning, and the time for sending the power failure early warning signal is later.
SUMMERY OF THE UTILITY MODEL
The utility model aims to provide a Dying Gasp early warning circuit which can quickly trigger Dying Gasp early warning after a power supply is powered off, so that the timeliness of power failure early warning is improved, and the proper power failure early warning time is ensured.
In order to achieve the above purpose, the embodiment of the utility model adopts the following technical scheme: the provided Dying Gasp early warning circuit comprises a circuit input end, a voltage division switch module, a voltage detection module, an early warning signal output end, an early warning time adjusting module, a power supply switch module and a circuit output end;
the input end of the circuit is used for connecting a power supply; the circuit output end is used for connecting a power supply input end of a power receiving system;
the input end of the voltage division switch module is connected with the input end of the circuit, the first output end of the voltage division switch module is connected with the first input end of the early warning time adjusting module, the second output end of the voltage division switch module is connected with the control end of the voltage detection module, and the third output end of the voltage division switch module is grounded;
the input end of the voltage detection module is connected with the input end of the circuit, the first output end of the voltage detection module is connected with the early warning signal output end, and the second output end of the voltage detection module is grounded;
the second input end of the early warning time adjusting module is connected with the circuit input end, and the output end of the early warning time adjusting module is connected with the control end of the power supply switch module;
the input end of the power supply switch module is connected with the input end of the circuit, and the output end of the power supply switch module is connected with the output end of the circuit.
In one possible embodiment, the voltage division switching module includes a voltage division unit and a first switching unit;
the input end of the voltage division unit is connected with the input end of the voltage division switch module, the first output end of the voltage division unit is connected with the first output end of the voltage division switch module, and the second output end of the voltage division unit is connected with the second output end of the voltage division switch module;
the input end of the first switch unit is connected with the second output end of the voltage division unit, and the output end of the first switch unit is connected with the third output end of the voltage division switch module.
In another possible embodiment, the voltage dividing unit includes a first resistor and a second resistor;
the first end of the first resistor is connected with the input end of the voltage division unit, the second end of the first resistor is connected with the first output end of the voltage division unit, the first end of the second resistor is connected with the second end of the first resistor, and the second end of the second resistor is connected with the second output end of the voltage division unit.
In yet another possible embodiment, the first switching unit includes a first switch;
the input end of the first switch is connected with the input end of the first switch unit, and the output end of the first switch is connected with the output end of the first switch unit.
In yet another possible embodiment, the voltage detection module includes a third resistor, a fourth resistor and a first switch tube;
the first end of the third resistor is connected with the input end of the voltage detection module, and the second end of the third resistor is connected with the first output end of the voltage detection module;
a first end of the fourth resistor is connected with a second end of the third resistor, and a second end of the fourth resistor is connected with a second output end of the voltage detection module;
the control end of the first switch tube is connected with the control end of the voltage detection module, the input end of the first switch tube is connected with the second end of the third resistor, and the output end of the first switch tube is connected with the second end of the fourth resistor.
In a further possible embodiment, the warning time adjusting module includes a fifth resistor, a sixth resistor, a seventh resistor, a first diode, a second switch tube, and a first capacitor;
a first end of the fifth resistor is connected with a first input end of the early warning time adjusting module, and a second end of the fifth resistor is connected with a control end of the second switching tube;
a first end of the sixth resistor is connected with a second input end of the early warning time adjusting module, and a second end of the sixth resistor is connected with an input end of the second switching tube;
the first end of the seventh resistor is connected with the control end of the second switching tube, the second end of the seventh resistor is connected with the output end of the second switching tube, and the second end of the seventh resistor is also connected with the output end of the early warning time adjusting module;
the anode of the first diode is connected with the first end of the fifth resistor, and the cathode of the first diode is connected with the second end of the fifth resistor;
the cathode of the second diode is connected with the cathode of the first diode, and the anode of the second diode is connected with the second end of the seventh resistor;
the first end of the first capacitor is connected with the first end of the sixth resistor, and the second end of the first capacitor is connected with the output end of the second switch tube.
In a further possible embodiment, the power supply switch module comprises a second switch unit and a third switch unit;
the control end of the second switch unit is connected with the control end of the power supply switch module, the input end of the second switch unit is connected with the input end of the power supply switch module, the output end of the second switch unit is connected with the input end of the third switch unit, and the output end of the third switch unit is connected with the output end of the power supply switch module.
In yet another possible embodiment, the second switching unit includes a third switching tube;
the control end of the third switching tube is connected with the control end of the second switching unit, the input end of the third switching tube is connected with the input end of the second switching unit, and the output end of the third switching tube is connected with the output end of the second switching unit.
In yet another possible embodiment, the third switching unit includes a third diode;
the anode of the third diode is connected with the input end of the third switching unit, and the cathode of the third diode is connected with the output end of the third switching unit.
In yet another possible embodiment, the circuit further comprises an energy storage module; the first end of the energy storage module is connected with the output end of the circuit, and the second end of the energy storage module is grounded.
Compared with the prior art, the embodiment of the utility model provides a Dying Gasp early warning circuit, which comprises a circuit input end, a voltage division switch module, a voltage detection module, an early warning signal output end, an early warning time adjusting module, a power supply switch module and a circuit output end; the input end of the circuit is used for connecting a power supply; the circuit output end is used for connecting a power supply input end of a power receiving system; the input end of the voltage division switch module is connected with the input end of the circuit, the first output end of the voltage division switch module is connected with the first input end of the early warning time adjusting module, the second output end of the voltage division switch module is connected with the control end of the voltage detection module, and the third output end of the voltage division switch module is grounded; the input end of the voltage detection module is connected with the input end of the circuit, the first output end of the voltage detection module is connected with the early warning signal output end, and the second output end of the voltage detection module is grounded; the second input end of the early warning time adjusting module is connected with the circuit input end, and the output end of the early warning time adjusting module is connected with the control end of the power supply switch module; the input end of the power supply switch module is connected with the input end of the circuit, and the output end of the power supply switch module is connected with the output end of the circuit. By using the Dying Gasp early warning circuit, the Dying Gasp early warning can be triggered quickly after the power supply is powered off, so that the timeliness of the power failure early warning is improved, and the proper power failure early warning time is ensured.
Drawings
FIG. 1 is a schematic diagram of the FPI functional principle provided by the prior art;
FIG. 2 is a schematic structural diagram of a preferred embodiment of a Dying Gasp warning circuit provided by the present invention;
FIG. 3 is a schematic circuit diagram of one possible embodiment of a Dying Gasp warning circuit provided by the present invention;
fig. 4 is a schematic diagram of a level change situation provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without any inventive step, are within the scope of the present invention.
The embodiment of the utility model provides a Dying Gasp early warning circuit, which is shown in fig. 2 and is a schematic structural diagram of a preferred embodiment of the Dying Gasp early warning circuit, and the circuit comprises a circuit input end Vin, a voltage division switch module, a voltage detection module, an early warning signal output end Vref, an early warning time adjusting module, a power supply switch module and a circuit output end Vout;
the circuit input end Vin is used for being connected with a power supply; the circuit output end Vout is used for connecting a power supply input end of a power receiving system;
the input end of the voltage division switch module is connected with the circuit input end Vin, the first output end of the voltage division switch module is connected with the first input end of the early warning time adjusting module, the second output end of the voltage division switch module is connected with the control end of the voltage detection module, and the third output end of the voltage division switch module is grounded;
the input end of the voltage detection module is connected with the circuit input end Vin, the first output end of the voltage detection module is connected with the early warning signal output end Vref, and the second output end of the voltage detection module is grounded;
a second input end of the early warning time adjusting module is connected with the circuit input end Vin, and an output end of the early warning time adjusting module is connected with a control end of the power supply switch module;
the input end of the power supply switch module is connected with the circuit input end Vin, and the output end of the power supply switch module is connected with the circuit output end Vout.
In practical application, the circuit input end Vin is connected with a power supply to be warned (for example, connected with the output end of the switch power supply to be warned), the voltage division switch module is used for carrying out voltage division and current limiting processing on the power supply, and the voltage detection module is used for monitoring whether the power supply triggers the Dying Gasp warning according to the voltage after the voltage division and current limiting processing; if not, a corresponding power failure early warning signal does not need to be sent to the power receiving system through the early warning signal output end Vref, and the power supply switch module is in a closed state under the action of the power supply and the early warning time adjusting module, so that the power supply can normally supply power to the power receiving system through the power supply switch module; if, then send corresponding power down early warning signal to the receiving system through early warning signal output Vref, and through the effect of early warning time adjusting module for power supply switch module is in the off-state, and power supply can't be through power supply switch module to the receiving system normal power supply, simultaneously, through carrying out corresponding adjustment to the circuit parameter in the early warning time adjusting module, can influence the off-time of power supply switch module, thereby avoid leading to the power down early warning time not enough because of the power off time is too fast.
In another possible embodiment, the voltage division switching module includes a voltage division unit and a first switching unit;
the input end of the voltage division unit is connected with the input end of the voltage division switch module, the first output end of the voltage division unit is connected with the first output end of the voltage division switch module, and the second output end of the voltage division unit is connected with the second output end of the voltage division switch module;
the input end of the first switch unit is connected with the second output end of the voltage division unit, and the output end of the first switch unit is connected with the third output end of the voltage division switch module.
Specifically, in combination with the above embodiment, the voltage division switch module mainly includes a voltage division unit and a first switch unit, and in practical application, the power supply is connected to the first switch unit through the voltage division unit, wherein the voltage division unit is mainly used for performing voltage division and current limiting processing on the power supply, and the first switch unit is mainly used for performing on-off control on the power supply, that is, changing the power supply state of the power supply.
Referring to fig. 3, which is a schematic circuit diagram of a possible embodiment of a Dying Gasp warning circuit provided by the present invention, as an improvement of the foregoing solution, the voltage dividing unit includes a first resistor R1 and a second resistor R2;
the first end of the first resistor R1 is connected with the input end of the voltage dividing unit, the second end of the first resistor R1 is connected with the first output end of the voltage dividing unit, the first end of the second resistor R2 is connected with the second end of the first resistor, and the second end of the second resistor R2 is connected with the second output end of the voltage dividing unit.
Specifically, in combination with the above embodiments, the voltage dividing unit mainly includes the first resistor R1 and the second resistor R2 connected in series, and in practical applications, the first resistor R1 and the second resistor R2 are used as voltage dividing and current limiting resistors to reflect real-time changes of the power supply.
As a modification of the above, as shown in fig. 3, the first switching unit includes a first switch SW 1;
an input terminal of the first switch SW1 is connected to an input terminal of the first switch unit, and an output terminal of the first switch SW1 is connected to an output terminal of the first switch unit.
Specifically, in combination with the above-mentioned embodiment, the first switch unit mainly comprises the first switch SW1, and in practical applications, the first switch SW1 may be a push button switch, taking the physical button switch SW1 shown in fig. 3 as an example, it can be understood that when the SW1 is pressed, the power supply can supply power normally, and when the SW1 is released, the power supply can stop supplying power.
It should be noted that, in this embodiment, a physical key switch is taken as an example of the first switch SW1, and an operation principle of the first switch unit is described, the first switch SW1 may adopt the physical key switch shown in fig. 3, or may adopt other types of switch devices, and the embodiment of the present invention is not limited in particular.
In yet another possible embodiment, as shown in fig. 3, the voltage detection module includes a third resistor R3, a fourth resistor R4, and a first switch Q1;
a first end of the third resistor R3 is connected with the input end of the voltage detection module, and a second end of the third resistor R3 is connected with the first output end of the voltage detection module;
a first end of the fourth resistor R4 is connected with a second end of the third resistor R3, and a second end of the fourth resistor R4 is connected with a second output end of the voltage detection module;
a control terminal of the first switch transistor Q1 is connected to a control terminal of the voltage detection module, an input terminal of the first switch transistor Q1 is connected to a second terminal of the third resistor R3, and an output terminal of the first switch transistor Q1 is connected to a second terminal of the fourth resistor R4.
Specifically, in combination with the above embodiment, the voltage detection module mainly includes a third resistor R3, a fourth resistor R4, and a first switch tube Q1, where the third resistor R3 and the fourth resistor R4 form a voltage dividing circuit for collecting a monitoring level, in practical applications, when the SW1 is pressed, the power supply may normally supply power, at this time, the third resistor R3 serves as a current-limiting resistor, the control terminal of the first switch tube Q1 is directly pulled to a low level, the first switch tube Q1 is not turned on, the warning signal output terminal Vref is disposed between the third resistor R3 and the fourth resistor R4, and the monitoring power supply triggers a Dying Gasp warning; when the monitoring level acquired by the early warning signal output end Vref is not lower than a preset threshold level, judging that the Dying Gasp early warning is not triggered; when the monitoring level acquired by the early warning signal output end Vref is lower than a preset threshold level, judging that the Dying Gasp early warning is triggered; when the SW1 is released, the monitoring level acquired by the early warning signal output end Vref is quickly pulled down to a low level and is lower than a preset threshold level, and the Dying Gasp early warning is triggered.
For example, assuming that the trigger level of Vref is 1.2V, the third resistor R3 is 6.19k Ω, and the fourth resistor R4 is 1k Ω, when the voltage Vin of the power supply is lower than 8.6V, the monitored level collected at the Vref terminal will be lower than 1.2V, and accordingly, the driving Gasp is triggered.
It should be noted that, in this embodiment, an NPN-type transistor is taken as an example of the first switching tube Q1, and the working principle of the voltage detection module is described, the first switching tube Q1 may be an NPN-type transistor as shown in fig. 3, or may also be another type of switching tube, which is not limited in the embodiment of the present invention.
In a further possible embodiment, as shown in fig. 3, the warning time adjusting module includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first diode D1, a second diode D2, a second switch tube Q2, and a first capacitor C1;
a first end of the fifth resistor R5 is connected to a first input end of the warning time adjusting module, and a second end of the fifth resistor R5 is connected to a control end of the second switch tube Q2;
a first end of the sixth resistor R6 is connected to the second input end of the warning time adjusting module, and a second end of the sixth resistor R6 is connected to the input end of the second switch tube Q2;
a first end of the seventh resistor R7 is connected to the control end of the second switch Q2, a second end of the seventh resistor R7 is connected to the output end of the second switch Q2, and a second end of the seventh resistor R7 is further connected to the output end of the warning time adjusting module;
an anode of the first diode D1 is connected with a first end of the fifth resistor R5, and a cathode of the first diode D1 is connected with a second end of the fifth resistor R5;
a cathode of the second diode D2 is connected with a cathode of the first diode D1, and an anode of the second diode D2 is connected with a second end of the seventh resistor R7;
a first end of the first capacitor C1 is connected to a first end of the sixth resistor R6, and a second end of the first capacitor C1 is connected to an output end of the second switch Q2.
Specifically, in combination with the above embodiment, the early warning time adjusting module mainly includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, a first diode D1, a second diode D2, a second switch tube Q2, and a first capacitor C1, where the fifth resistor R5 and the seventh resistor R7 form a voltage divider circuit, which is used to set the voltage of the control terminal of the second switch tube Q2 and limit the current of the control terminal of the second switch tube Q2; the sixth resistor R6 is a current-limiting resistor, the first capacitor C1 is an energy-storage capacitor, the second switch tube Q2 is used for providing a discharge path for the first capacitor C1 when being turned on, when the second switch tube Q2 is turned on, the first capacitor C1 discharges through the sixth resistor R6 and the second switch tube Q2, and the discharge speed of the first capacitor C1 can be adjusted by adjusting the resistance value of the sixth resistor R6 or/and the capacitance value of the first capacitor C1, so that the change speed of the voltage at the two ends of the first capacitor C1 is adjusted, and the turn-off time of the power supply switch module is adjusted; it can be understood that the resistance of the sixth resistor R6 or/and the capacitance of the first capacitor C1 can be adjusted accordingly according to actual circuit requirements.
The first diode D1 and the second diode D2 are schottky diodes, which function to accelerate the level change, for example, when the SW1 key is pressed to be released (i.e., turned on to off), the level of the control terminal of the second switch Q2 can be raised from low level to high level more quickly, and when the SW1 key is changed from off to on, the second diode D2 can also replace the seventh resistor R7 to provide a charging path for the first capacitor C1, so as to accelerate the closing of the power supply switch module.
In practical application, when the SW1 is pressed, the power supply can normally supply power, at this time, the first resistor R1, the second resistor R2, the fifth resistor R5 and the seventh resistor R7 constitute a voltage division circuit, and limit the current of the control terminal of the second switch Q2, the control terminal of the second switch Q2 is pulled down to a low level, the second switch Q2 is not turned on, and at the same time, the control terminal of the power supply switch module is pulled down to a low level by the second resistor R2, the fifth resistor R5 and the seventh resistor R7, so that the power supply switch module is in a closed state, and the power supply can normally supply power to the powered system through the power supply switch module; when the SW1 is released, the power supply stops supplying power, at this time, the control terminal of the second switch Q2 changes from low level to high level (combining the actions of the first diode D1 and the second diode D2, the control terminal can be raised from low level to high level more quickly), the second switch Q2 is turned on, the first capacitor C1 starts to discharge through the sixth resistor R6 and the second switch Q2, so that the level of the control terminal of the power supply switch module is gradually raised, after a period of time, the power supply switch module is in an off state, and the power supply cannot normally supply power to the power receiving system through the power supply switch module.
It should be noted that, in this embodiment, an NPN-type transistor is taken as an example of the second switching tube Q2, and the working principle of the warning time adjusting module is described, the second switching tube Q2 may be an NPN-type transistor as shown in fig. 3, or may also be another type of switching tube, which is not limited in the embodiment of the present invention.
In yet another possible embodiment, the power supply switch module includes a second switch unit and a third switch unit;
the control end of the second switch unit is connected with the control end of the power supply switch module, the input end of the second switch unit is connected with the input end of the power supply switch module, the output end of the second switch unit is connected with the input end of the third switch unit, and the output end of the third switch unit is connected with the output end of the power supply switch module.
Specifically, with reference to the foregoing embodiment, the power supply switch module mainly includes the second switch unit and the third switch unit, and in practical application, the power supply is connected to the power input end of the power receiving system through the second switch unit and the third switch unit in sequence, where the second switch unit is mainly used to control on/off of the power supply path from the power supply to the power receiving system, and if the second switch unit is in a closed state, the power supply path is connected, and if the second switch unit is in an open state, the power supply path is disconnected; the third switch unit is mainly used for preventing the power of the rear stage (for example, the power stored in the energy storage capacitor of the rear stage) from being discharged through the first resistor R1, the second resistor R2, the sixth resistor R6, the first capacitor C1 and the like in the front stage circuit.
As a modification of the above scheme, as shown in fig. 3, the second switching unit includes a third switching tube Q3;
a control terminal of the third switching tube Q3 is connected with a control terminal of the second switching unit, an input terminal of the third switching tube Q3 is connected with an input terminal of the second switching unit, and an output terminal of the third switching tube Q3 is connected with an output terminal of the second switching unit.
Specifically, with reference to the above embodiment, the second switch unit mainly includes the third switch tube Q3, when the SW1 is pressed, the power supply source can normally supply power, at this time, the first resistor R1, the second resistor R2, the fifth resistor R5 and the seventh resistor R7 form a voltage dividing and current limiting circuit, the control terminal of the third switch tube Q3 is pulled down to a low level, the third switch tube Q3 is turned on, and the power supply source can normally supply power to the power receiving system through the third switch tube Q3; when the SW1 is released, the power supply source stops supplying power, at this time, the second switch tube Q2 is turned on, the first capacitor C1 starts discharging through the sixth resistor R6 and the second switch tube Q2, so that the level of the control end of the third switch tube Q3 gradually rises, after a period of time, the third switch tube Q3 is turned off, and the power supply source cannot normally supply power to the power receiving system through the power supply switch module.
In this embodiment, a P-channel MOS transistor is taken as an example of the third switching transistor Q3, and the operating principle of the second switching unit is described, the P-channel MOS transistor shown in fig. 3 may be used as the third switching transistor Q3, and other types of switching transistors may also be used, and the embodiment of the present invention is not limited in particular.
As a modification of the above scheme, as shown in fig. 3, the third switching unit includes a third diode D3;
an anode of the third diode D3 is connected to an input terminal of the third switching unit, and a cathode of the third diode D3 is connected to an output terminal of the third switching unit.
Specifically, with reference to the above embodiment, the third switching unit mainly includes the third diode D3, and through the unidirectional conduction of the diode, the discharge of the rear-stage electric energy (e.g., the electric energy stored in the rear-stage energy storage capacitor) through the first resistor R1, the second resistor R2, the sixth resistor R6, the first capacitor C1, and the like in the front-stage circuit can be effectively avoided, and meanwhile, the shortage of Dying Gasp time caused by too fast power-down time can also be avoided.
In yet another possible embodiment, the circuit further comprises an energy storage module; the first end of the energy storage module is connected with the output end Vout of the circuit, and the second end of the energy storage module is grounded.
Specifically, as shown in fig. 3, the energy storage module mainly includes a second capacitor C2 and a third capacitor C3, a first end of the second capacitor C2 is connected to the first end of the energy storage module, a second end of the second capacitor C2 is connected to the second end of the energy storage module, a first end of the third capacitor C3 is connected to the first end of the energy storage module, and a second end of the third capacitor C3 is connected to the second end of the energy storage module.
In practical application, the second capacitor C2 and the third capacitor C3 are energy storage capacitors, and the capacitance values are generally large, and in combination with the above embodiments, when the power supply is powered off, the power can be continuously supplied to the power receiving system through the electric energy stored in the second capacitor C2 and the third capacitor C3, so that sufficient power failure processing can be performed on the power receiving system.
It should be noted that the schematic circuit diagram shown in fig. 3 further includes an interface J1, a capacitor C0, a capacitor C4, and a capacitor C5, where the interface J1 may be a power socket, and is used to connect a power adapter of a powered system, so that the powered system obtains a power supply, and it can be understood that, when the power adapter is powered off, the power adapter is pulled out from the interface J1, or the key SW1 is released (or pressed to an off-gear), the power supply is stopped, and the voltage at the Vin end starts to drop; the capacitor C0 is a filter capacitor and is used for filtering high-frequency noise of the power supply; the capacitor C4 and the capacitor C5 are also filter capacitors, and the capacitance value is generally small.
In practical applications, the values of the components in the schematic circuit diagram shown in fig. 3 are preferably as follows: r1 ═ 2k Ω, R2 ═ 75 Ω, R3 ═ 6.19k Ω, R4 ═ 1k Ω, R5 ═ 30k Ω, R6 ═ 100 Ω, R7 ═ 30k Ω, C0 ═ 0.01 μ F, C2 ═ 470 μ F, C3 ═ 1000 μ F, C4 ═ 0.01 μ F, and C5 ═ 0.01 μ F.
As can be seen from the foregoing embodiments, the driving Gasp warning circuit provided in the embodiments of the present invention mainly has the function of adjusting the relationship between the monitoring level (i.e., the driving Gasp trigger signal) acquired by the warning signal output terminal Vref and the turn-off time of the third switching tube Q3; when the SW1 is pressed, the power supply source supplies power to the power receiving system; when the SW1 is released, the base of the Q1 is at a high level, the Vref is pulled down to a low level, the Dying Gasp warning circuit can quickly give a power failure warning signal, correspondingly, the C1 needs to discharge through the R6 and the Q2, so that the grid potential of the Q3 rises, when the grid potential of the Q3 rises above a threshold, the grid and the source of the Q3 are disconnected, the power supply path is disconnected, and the power supply does not supply power to the power receiving system any more; the larger the value of R6 is, the slower the discharge rate of C1 is, the longer the turn-off time of Q3 is, and the correspondingly longer the Dying Gasp time (namely, power-down early warning time) is, otherwise, the smaller the value of R6 is, the shorter the Dying Gasp time is; therefore, the discharge rate of the C1 can be adjusted by adjusting the resistance value of the R6, so that the time difference from triggering power failure early warning to power supply interruption is adjusted, the Dying Gasp time is sufficient, and the capacities of the rear-stage energy storage capacitors C2 and C3 can be properly reduced.
In addition, if the power supply is not interrupted by the SW1, but the AC input terminal is disconnected (i.e. the input terminal of the power adapter is powered off, but the SW1 is kept pressed), the R1 and the R2 can provide a faster discharge path for the output capacitor C1 of the SW1, the power-down speed becomes faster, and accordingly, Vref is faster and lower than the preset threshold level, the power-down warning signal can be given in time, and due to the existence of D3, after the power-down of the front stage, the charges of the capacitors of the rear stages C4 and C5 cannot flow back to the devices of the C1, and the discharge rates of the capacitors of the C4 and C5 are relatively fixed, so that the earlier trigger time of the power-down warning signal is, the longer the Dying Gasp time is.
Referring to fig. 4, assuming that at a certain time point, SW1 is turned off from on, the Vref level is rapidly changed from high level to low level by the presence of Q1 (assuming that the time corresponding to the time from SWI off to Vref level is T0), Vref triggers the Dying Gasp program in the main control chip of the power receiving system, the main control chip can perform data protection and processing, because of the presence of C1, the potentials of the emitter of Q2 and the gate of Q3 are gradually changed from low level to high level, when the gate level of Q3 (Q3_ G) is high enough (assuming that the gate level of Q3 is increased from 0 until the time corresponding to the threshold value is T1), the source and drain of Q3 are turned off, before Q3 is turned off, that is, VinDC is kept powered during the on time of Q3, and after Q3 is turned off, the VinDC level is gradually decreased (assuming that the time corresponding to the VinDC level is decreased from the beginning to the time corresponding to the time of system operation is T2), the total time T of the dyeing Gasp is: T-T1 + T2-T0.
To sum up, the Dying Gasp early warning circuit provided by the embodiment of the utility model comprises a circuit input end, a voltage division switch module, a voltage detection module, an early warning signal output end, an early warning time adjusting module, a power supply switch module and a circuit output end; the input end of the circuit is used for connecting a power supply; the circuit output end is used for connecting a power supply input end of a power receiving system; the input end of the voltage division switch module is connected with the input end of the circuit, the first output end of the voltage division switch module is connected with the first input end of the early warning time adjusting module, the second output end of the voltage division switch module is connected with the control end of the voltage detection module, and the third output end of the voltage division switch module is grounded; the input end of the voltage detection module is connected with the input end of the circuit, the first output end of the voltage detection module is connected with the early warning signal output end, and the second output end of the voltage detection module is grounded; the second input end of the early warning time adjusting module is connected with the circuit input end, and the output end of the early warning time adjusting module is connected with the control end of the power supply switch module; the input end of the power supply switch module is connected with the input end of the circuit, and the output end of the power supply switch module is connected with the output end of the circuit. By using the Dying Gasp early warning circuit, the Dying Gasp early warning can be triggered quickly after the power supply is powered off, so that the timeliness of the power failure early warning is improved, and the proper power failure early warning time is ensured.
The above description is only a possible embodiment of the present invention, and it should be noted that, for those skilled in the art, many modifications and substitutions can be made without departing from the technical principle of the present invention, and these modifications and substitutions should also be regarded as the protection scope of the present invention.

Claims (10)

1. A Dying Gasp early warning circuit is characterized by comprising a circuit input end, a voltage division switch module, a voltage detection module, an early warning signal output end, an early warning time adjusting module, a power supply switch module and a circuit output end;
the input end of the circuit is used for connecting a power supply; the circuit output end is used for connecting a power supply input end of a power receiving system;
the input end of the voltage division switch module is connected with the input end of the circuit, the first output end of the voltage division switch module is connected with the first input end of the early warning time adjusting module, the second output end of the voltage division switch module is connected with the control end of the voltage detection module, and the third output end of the voltage division switch module is grounded;
the input end of the voltage detection module is connected with the input end of the circuit, the first output end of the voltage detection module is connected with the early warning signal output end, and the second output end of the voltage detection module is grounded;
the second input end of the early warning time adjusting module is connected with the circuit input end, and the output end of the early warning time adjusting module is connected with the control end of the power supply switch module;
the input end of the power supply switch module is connected with the input end of the circuit, and the output end of the power supply switch module is connected with the output end of the circuit.
2. The Dying Gasp warning circuit of claim 1, wherein the voltage division switch module comprises a voltage division unit and a first switch unit;
the input end of the voltage division unit is connected with the input end of the voltage division switch module, the first output end of the voltage division unit is connected with the first output end of the voltage division switch module, and the second output end of the voltage division unit is connected with the second output end of the voltage division switch module;
the input end of the first switch unit is connected with the second output end of the voltage division unit, and the output end of the first switch unit is connected with the third output end of the voltage division switch module.
3. The Dying Gasp warning circuit of claim 2, wherein the voltage dividing unit includes a first resistor and a second resistor;
the first end of the first resistor is connected with the input end of the voltage division unit, the second end of the first resistor is connected with the first output end of the voltage division unit, the first end of the second resistor is connected with the second end of the first resistor, and the second end of the second resistor is connected with the second output end of the voltage division unit.
4. The Dying Gasp warning circuit of claim 2, wherein the first switching unit includes a first switch;
the input end of the first switch is connected with the input end of the first switch unit, and the output end of the first switch is connected with the output end of the first switch unit.
5. The Dying Gasp warning circuit of claim 1, wherein the voltage detection module comprises a third resistor, a fourth resistor and a first switch tube;
the first end of the third resistor is connected with the input end of the voltage detection module, and the second end of the third resistor is connected with the first output end of the voltage detection module;
a first end of the fourth resistor is connected with a second end of the third resistor, and a second end of the fourth resistor is connected with a second output end of the voltage detection module;
the control end of the first switch tube is connected with the control end of the voltage detection module, the input end of the first switch tube is connected with the second end of the third resistor, and the output end of the first switch tube is connected with the second end of the fourth resistor.
6. The Dying Gasp warning circuit of claim 1, wherein the warning time adjusting module comprises a fifth resistor, a sixth resistor, a seventh resistor, a first diode, a second switch tube and a first capacitor;
a first end of the fifth resistor is connected with a first input end of the early warning time adjusting module, and a second end of the fifth resistor is connected with a control end of the second switching tube;
a first end of the sixth resistor is connected with a second input end of the early warning time adjusting module, and a second end of the sixth resistor is connected with an input end of the second switching tube;
the first end of the seventh resistor is connected with the control end of the second switching tube, the second end of the seventh resistor is connected with the output end of the second switching tube, and the second end of the seventh resistor is also connected with the output end of the early warning time adjusting module;
the anode of the first diode is connected with the first end of the fifth resistor, and the cathode of the first diode is connected with the second end of the fifth resistor;
the cathode of the second diode is connected with the cathode of the first diode, and the anode of the second diode is connected with the second end of the seventh resistor;
the first end of the first capacitor is connected with the first end of the sixth resistor, and the second end of the first capacitor is connected with the output end of the second switch tube.
7. The Dying Gasp warning circuit of claim 1, wherein the power supply switch module includes a second switch unit and a third switch unit;
the control end of the second switch unit is connected with the control end of the power supply switch module, the input end of the second switch unit is connected with the input end of the power supply switch module, the output end of the second switch unit is connected with the input end of the third switch unit, and the output end of the third switch unit is connected with the output end of the power supply switch module.
8. The Dying Gasp warning circuit of claim 7, wherein the second switching unit includes a third switching tube;
the control end of the third switching tube is connected with the control end of the second switching unit, the input end of the third switching tube is connected with the input end of the second switching unit, and the output end of the third switching tube is connected with the output end of the second switching unit.
9. The Dying Gasp warning circuit of claim 7, wherein the third switching unit includes a third diode;
the anode of the third diode is connected with the input end of the third switching unit, and the cathode of the third diode is connected with the output end of the third switching unit.
10. The Dying Gasp warning circuit of any one of claims 1 to 9, wherein the circuit further comprises an energy storage module; the first end of the energy storage module is connected with the output end of the circuit, and the second end of the energy storage module is grounded.
CN202121320668.6U 2021-06-11 2021-06-11 Dying Gasp early warning circuit Active CN215953711U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202121320668.6U CN215953711U (en) 2021-06-11 2021-06-11 Dying Gasp early warning circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202121320668.6U CN215953711U (en) 2021-06-11 2021-06-11 Dying Gasp early warning circuit

Publications (1)

Publication Number Publication Date
CN215953711U true CN215953711U (en) 2022-03-04

Family

ID=80565484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202121320668.6U Active CN215953711U (en) 2021-06-11 2021-06-11 Dying Gasp early warning circuit

Country Status (1)

Country Link
CN (1) CN215953711U (en)

Similar Documents

Publication Publication Date Title
CN201435598Y (en) Short-circuit protective circuit of switch power supply PWM controller
CN102981425B (en) Startup and shutdown circuit
CN108023582B (en) Automatic reset circuit and electronic product
CN112615425B (en) Detection control circuit
JPH10511492A (en) Power down reset circuit
CN113471938A (en) Suspended power supply logic control backflow prevention circuit
CN103050932A (en) Electronic switch circuit for power over Ethernet
CN113541454B (en) Switching power supply control circuit, and control method and device of switching power supply
CN111190762A (en) Automatic resetting and state keeping device and method of intelligent household equipment and application
CN215953711U (en) Dying Gasp early warning circuit
CN210742886U (en) Startup and shutdown circuit
CN217467616U (en) Power supply control circuit and electronic device
CN113241751B (en) Power supply circuit
CN211018245U (en) Current monitoring circuit based on CP L D
CN112003363B (en) Embedded power supply system management circuit
CN104317378A (en) Rack-mounted server system
CN212726976U (en) Display outage system and display
CN202111676U (en) System and circuit device for restarting equipment
CN113206536A (en) A charger
CN106484064B (en) Power supply control circuit of singlechip system
CN112290512A (en) Switch power supply overcurrent protection circuit capable of preventing false triggering
CN213585565U (en) Discharge circuit and power supply device of chip
CN211556968U (en) Power-down holding circuit
CN111293763A (en) Airplane direct-current power supply system with power failure protection function
CN110850953B (en) Overvoltage-resistant surge circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant