A power-off timing control circuit and a power supply circuit
By designing the power-off sequence control circuit in the circuit control system, and using the energy storage module, charge and discharge circuit and delay circuit to manage the voltage drop rate and signal, the problem of uncontrollable power-off caused by sudden power outage is solved and the circuit is ensured to operate as preset. Sequential power off improves system reliability.
Patent Information
- Application Number
- CN201811353748.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-14
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2038-11-14
AI Technical Summary
When the external power supply of the existing circuit control system is suddenly cut off, each power supply module cannot be powered off in the expected sequence, resulting in irreversible failures such as signal processor lockup.
Design a power-off sequence control circuit, including a first energy storage module, a second energy storage module, a charge and discharge circuit, a detection circuit and a delay circuit, by controlling the voltage drop rate of the first energy storage module to be greater than The voltage drop rate of the second energy storage module is determined, and when the voltage difference reaches the preset threshold, a control signal is output to delay the disable enable signal to ensure that the power conversion circuit is powered off in a preset sequence.
Meet the power-off timing requirements when the system is powered off, prevent circuit device damage, and improve the reliability of the circuit control system.
Smart Images

Figure CN109164746B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power management, and in particular to a power-off timing control circuit and a power supply circuit. Background Art
[0002] With the rapid development of electronic technology, the functions of circuit control systems used in electronic equipment are becoming increasingly rich and complex, and the circuits and loads used are becoming increasingly diversified. The power supply voltages required by various circuits or loads are different. Therefore, there are often multiple power supply modules in a circuit control system, which requires each power supply module to have a strict power-off sequence. If the power-off sequence is improper, it will not only affect the reliability of the circuit control system, but may even cause permanent damage to the components of the circuit control system. For example, a signal processor can calculate and process various control signals. Usually, the core and peripherals of the signal processor require power from multiple different power conversion chips, and the output voltage levels of each power conversion chip are different. The power conversion chip can be a switching power conversion chip or a linear power conversion chip.
[0003] At present, the power-off sequence of each power supply module in the circuit control system is realized by the logic circuit in the circuit control system when the circuit control system is shut down normally. However, in the existing circuit control system, when the external power supply of the circuit control system suddenly fails, the circuit control system is basically in an uncontrollable state, and each power supply module in the circuit control system is almost powered off at the same time or cannot be powered off according to the expected sequence, resulting in irreversible failures such as signal processor lockup. Summary of the invention
[0004] The embodiments of the present invention provide a power-off sequence control circuit and a power supply circuit, which can meet the power-off sequence requirements when the system is powered off.
[0005] In a first aspect, an embodiment of the present invention provides a power-off timing control circuit, including:
[0006] A first energy storage module;
[0007] A second energy storage module;
[0008] A charge and discharge circuit, electrically connected to the power supply end of the power-off timing control circuit, electrically connected to the first end of the first energy storage module, and electrically connected to the first end of the second energy storage module, and used to control the voltage drop rate of the first end of the first energy storage module during discharge to be greater than the voltage drop rate of the first end of the second energy storage module during discharge when the power supply end is powered off;
[0009] A detection circuit, wherein a first end of the detection circuit is electrically connected to a first end of the first energy storage module, and a second end of the detection circuit is electrically connected to a first end of the second energy storage module;
[0010] At least two delay circuits, corresponding one to one with at least two output terminals of the power-off timing control circuit, a control terminal of any delay circuit being electrically connected to an output terminal of the detection circuit, and an output terminal of any delay circuit being electrically connected to a corresponding output terminal of the power-off timing control circuit;
[0011] The detection circuit is used to output a control signal when it is detected that the pressure difference between the first end of the second energy storage module and the first end of the first energy storage module reaches a preset threshold;
[0012] The delay circuit is used to output a disable enable signal after a preset delay time under the action of a control signal.
[0013] Furthermore, the control circuit includes: a first switch tube and a first resistor,
[0014] Wherein, the control end of the first switch tube is electrically connected to the first end of the detection circuit, and the first end of the first switch tube is electrically connected to the second end of the detection circuit;
[0015] The first end of the first resistor and the second end of the first switch tube are both electrically connected to the output end of the detection circuit, and the second end of the first resistor is grounded.
[0016] Furthermore, the charge and discharge circuit includes a second resistor, wherein a first end of the second resistor and a first end of the first energy storage module are both electrically connected to the power supply end of the power-off timing control circuit; a second end of the second resistor is electrically connected to the first end of the second energy storage module; and a second end of the first energy storage module and a second end of the second energy storage module are both grounded.
[0017] Furthermore, the charge and discharge circuit includes a first diode, an anode of the first diode, and a first end of the first energy storage module are electrically connected to the power supply end of the power-off timing control circuit; a cathode of the first diode is electrically connected to the first end of the second energy storage module; and a second end of the first energy storage module and a second end of the second energy storage module are both grounded.
[0018] Furthermore, the charge and discharge circuit also includes a third resistor, which is connected in parallel with the second energy storage module.
[0019] Furthermore, the detection circuit also includes a fourth resistor, and the control end of the first switch tube is electrically connected to the first end of the detection circuit via the fourth resistor.
[0020] Furthermore, the detection circuit also includes a fifth resistor, and the first end of the first resistor is electrically connected to the second end of the first switch tube via the fifth resistor.
[0021] Furthermore, the first switch tube is a PNP transistor or a PMOS tube.
[0022] Furthermore, the first energy storage module is a first capacitor, and the second energy storage module is a second capacitor.
[0023] Further, any delay circuit includes a third capacitor, a second switch tube and a sixth resistor.
[0024] Among them, the first end of the second switch tube is grounded through the sixth resistor; the second end of the second switch tube and the first end of the third capacitor are electrically connected to the output end of the delay circuit; the control end of the second switch tube is electrically connected to the control end of the delay circuit; the second end of the third capacitor is grounded.
[0025] Furthermore, it also includes a first power conversion circuit and at least two seventh resistors, wherein the power supply end of the first power conversion circuit is electrically connected to the power supply end of the power-off timing control circuit; the at least two seventh resistors correspond one-to-one to at least two delay circuits, and the first end of the third capacitor of any delay circuit is electrically connected to the output end of the first power conversion circuit via the corresponding seventh resistor.
[0026] In the second aspect, an embodiment of the present invention further provides a power supply circuit, comprising at least two power conversion circuits and a power-off timing control circuit provided by any embodiment of the present invention, wherein at least two output ends of the power-off timing control circuit correspond one-to-one to at least two power conversion circuits, and the output end of the power-off timing control circuit is electrically connected to the enable end of the corresponding power conversion circuit; the first end of the first energy storage module is electrically connected to the power supply end of at least two power conversion circuits, and the power supply end of the power circuit is electrically connected to the power supply end of the power-off timing control circuit.
[0027] Furthermore, a third switch is included, and the power supply end of the power supply circuit is electrically connected to the power supply end of the power-off timing control circuit through the third switch.
[0028] The technical solution of the embodiment of the present invention is provided by setting a first energy storage module, a second energy storage module, a charge and discharge circuit, a detection circuit and at least two delay circuits, wherein the charge and discharge circuit is electrically connected to the power supply end of the power-off timing control circuit, the charge and discharge circuit is electrically connected to the first end of the first energy storage module, and the charge and discharge circuit is electrically connected to the first end of the second energy storage module, and is used to control the voltage drop rate of the first end of the first energy storage module during discharge to be greater than the voltage drop rate of the first end of the second energy storage module during discharge when the power supply end is powered off; the first end of the detection circuit is electrically connected to the first end of the first energy storage module, and the first end of the detection circuit is electrically connected to the first end of the detection circuit. The two ends are electrically connected to the first end of the second energy storage module; at least two delay circuits correspond to at least two output ends of the power-off timing control circuit in a one-to-one manner, the control end of any delay circuit is electrically connected to the output end of the detection circuit, and the output end of any delay circuit is electrically connected to the corresponding output end of the power-off timing control circuit; the detection circuit is used to output a control signal when it is monitored that the voltage difference between the first end of the second energy storage module and the first end of the first energy storage module reaches a preset threshold; the delay circuit is used to output a disable enable signal after a preset time delay under the action of the control signal, so that the power-off timing requirement is met when the system is powered off. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the structure of a power-off timing control circuit provided by an embodiment of the present invention;
[0030] Figure 2 A schematic diagram of the structure of another power-off timing control circuit provided by an embodiment of the present invention;
[0031] Figure 3 A schematic diagram of the structure of another power-off timing control circuit provided by an embodiment of the present invention;
[0032] Figure 4 A schematic diagram of the structure of another power-off timing control circuit provided by an embodiment of the present invention;
[0033] Figure 5 A schematic diagram of a power-off timing signal waveform provided by an embodiment of the present invention;
[0034] Figure 6 A schematic diagram of the structure of a power supply circuit provided by an embodiment of the present invention;
[0035] Figure 7 A schematic diagram of the structure of another power supply circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0037] An embodiment of the present invention provides a power-off timing control circuit. Figure 1 The schematic diagram of the structure of a power-off timing control circuit provided by an embodiment of the present invention is as follows: The power-off timing control circuit 100 comprises: a first energy storage module 110 , a second energy storage module 120 , a charge-discharge circuit 130 , a detection circuit 140 and at least two delay circuits 150 .
[0038] The charge and discharge circuit 130 is electrically connected to the power supply terminal Vi of the power-off timing control circuit 100, the charge and discharge circuit 130 is electrically connected to the first terminal N11 of the first energy storage module 110, and the charge and discharge circuit 130 is electrically connected to the first terminal N21 of the second energy storage module 120. The charge and discharge circuit 130 is used to control the voltage drop rate of the first terminal N11 of the first energy storage module 110 during discharge to be greater than the voltage drop rate of the first terminal N21 of the second energy storage module 120 during discharge when the power supply terminal Vi is powered off; the first terminal N41 of the detection circuit 140 is electrically connected to the first terminal N11 of the first energy storage module 110, and the second terminal N42 of the detection circuit 140 is electrically connected to the first terminal N41 of the second energy storage module 110. One end N21 is electrically connected; at least two delay circuits 150 correspond to at least two output ends Out1 of the power-off timing control circuit 100 one by one, the control end Ctr1 of any delay circuit 150 is electrically connected to the output end Out2 of the detection circuit 140, and the output end Out3 of any delay circuit 150 is electrically connected to the corresponding output end Out1 of the power-off timing control circuit 100; the detection circuit 140 is used to output a control signal when it is monitored that the voltage difference between the first end N21 of the second energy storage module 120 and the first end N11 of the first energy storage module 110 reaches a preset threshold value; the delay circuit 150 is used to output a disable enable signal after a preset time delay under the action of the control signal.
[0039] Among them, the first energy storage module 110 may include a capacitor. The second energy storage module 120 may include a capacitor. The detection circuit 130 may include a switch tube or a relay. The starting time of the delay of at least two delay circuits 150 is the same, but the preset time of the delay is not exactly the same, so that the power-off time of at least two power conversion circuits electrically connected to at least two output terminals Out1 of the power-off timing control circuit is different to meet the required power-off timing. The charge and discharge circuit 130 is also used to control the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 to be less than a preset threshold value when the power supply terminal Vi is normally powered, for example, it can be zero. The control signal can be a high level signal or a low level signal. The detection circuit 140 is used to output a second control signal that is logically opposite to the control signal when it is detected that the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is less than a preset threshold value. The delay circuit 150 is also used to stop outputting the disable enable signal under the action of the second control signal. The disable enable signal may be a high level signal or a low level signal. The first end of the first energy storage module 110 may be electrically connected to the power supply ends of at least two power conversion circuits, so that when the power supply end Vi of the power-off timing control circuit is powered off, the first energy storage module 110 supplies power to at least two power conversion circuits to complete the power-off process.
[0040] Specific working principle: when the power supply terminal Vi of the power-off timing control circuit 100 is normally powered, the first energy storage module 110 is charged through the charging and discharging circuit 130, and the voltage of the first terminal N11 of the first energy storage module 110 is stabilized to the power supply voltage value of the power supply terminal Vi of the power-off timing control circuit; the second energy storage module 120 is charged through the charging and discharging circuit 130, and the voltage of the first terminal N21 of the second energy storage module 120 is stabilized to the power supply voltage value of the power supply terminal Vi of the power-off timing control circuit, so at this time, the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is zero, the detection circuit 140 will output a second control signal that is opposite in logic to the control signal, and the delay circuit 150 stops outputting the disable enable signal under the action of the second control signal. When the power supply terminal Vi of the power-off timing control circuit 100 is powered off, the first energy storage module 110 starts to discharge through the charge-discharge circuit 130, and the second energy storage module 120 starts to discharge through the charge-discharge circuit 130, and controls the voltage drop rate of the first terminal N11 of the first energy storage module 110 during discharge to be greater than the voltage drop rate of the first terminal N21 of the second energy storage module 120 during discharge, then the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 will gradually increase until it reaches a preset threshold value, the detection circuit 140 will output a control signal, and the delay circuit 150, under the action of the control signal, will output a disable enable signal after a delay of a preset time, thereby causing the enable terminals of at least two power conversion circuits to stop working, i.e., power off, after receiving the disable enable signal in sequence according to the power-off sequence, so as to meet the required power-off timing sequence.
[0041] The technical solution of this embodiment is to set up a first energy storage module, a second energy storage module, a charge and discharge circuit, a detection circuit and at least two delay circuits, wherein the charge and discharge circuit is electrically connected to the power supply end of the power-off timing control circuit, the charge and discharge circuit is electrically connected to the first end of the first energy storage module, and the charge and discharge circuit is electrically connected to the first end of the second energy storage module, and is used to control the voltage drop rate of the first end of the first energy storage module during discharge to be greater than the voltage drop rate of the first end of the second energy storage module during discharge when the power supply end is powered off; the first end of the detection circuit is electrically connected to the first end of the first energy storage module, and the second end of the detection circuit is electrically connected to the first end of the detection circuit. The end is electrically connected to the first end of the second energy storage module; at least two delay circuits correspond to at least two output ends of the power-off timing control circuit in a one-to-one manner, the control end of any delay circuit is electrically connected to the output end of the detection circuit, and the output end of any delay circuit is electrically connected to the corresponding output end of the power-off timing control circuit; the detection circuit is used to output a control signal when it is detected that the voltage difference between the first end of the second energy storage module and the first end of the first energy storage module reaches a preset threshold; the delay circuit is used to output a disable enable signal after a preset time delay under the action of the control signal, so that the power-off timing requirement is met when the system is powered off.
[0042] An embodiment of the present invention provides another power-off timing control circuit. Figure 2 A structural schematic diagram of another power-off timing control circuit provided by an embodiment of the present invention. Based on the above embodiment, the charge-discharge circuit 130 includes a second resistor R2, wherein the first end of the second resistor R2 and the first end N11 of the first energy storage module 110 are both electrically connected to the power supply end Vi of the power-off timing control circuit; the second end of the second resistor R2 is electrically connected to the first end N21 of the second energy storage module 120; the second end N12 of the first energy storage module 110 and the second end N22 of the second energy storage module 120 are both grounded.
[0043] in, Figure 2 The first energy storage module 110 is exemplarily shown as a first capacitor C1. Figure 2 The second energy storage module 120 is exemplarily shown as a second capacitor C2. Figure 2 The diagram exemplarily shows a situation where the power supply terminal Vi of the power-down timing control circuit 100 is electrically connected to the power supply terminals V2 of at least two power conversion circuits 200. The at least two power conversion circuits 200 may be equivalent to a larger resistor.
[0044] It should be noted that when the power supply terminal Vi of the power-off timing control circuit 100 is normally powered, the voltage of the first terminal N11 of the first energy storage module 110 and the voltage of the first terminal N21 of the second energy storage module 120 are both stabilized to the power supply voltage value of the power supply terminal Vi of the power-off timing control circuit. Therefore, at this time, the voltage of the first terminal N21 of the second energy storage module 120 is equal to the voltage of the first terminal N11 of the first energy storage module 110, and the voltage difference is zero. When the power supply terminal Vi of the power-off timing control circuit 100 is powered off, the first energy storage module 110 and the second energy storage module 120 both start to discharge, and the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is Wherein, V1 is the ground voltage of the first terminal N11 of the first energy storage module 110, V2 is the ground voltage of the first terminal N21 of the second energy storage module 120, C1 is the capacitance of the first capacitor C1, C2 is the capacitance of the second capacitor C2, R2 is the resistance of the second resistor R2, R load is the equivalent impedance of at least two power conversion circuits 200, V s is the supply voltage value of the power supply terminal Vi of the power-off timing control circuit when the power is normally supplied. The voltage drop rate of the first terminal N11 of the first energy storage module 110 is jointly determined by the equivalent impedance of at least two power conversion circuits 200 and the first capacitor C1. The time constant is R load*C1; The voltage drop rate of the first terminal N21 of the second energy storage module 120 is mainly determined by the second resistor R2 and the second capacitor C2. When the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 increases to a preset threshold, the output terminal Out2 of the detection circuit 140 will output a control signal; under the control signal input from the control terminal Ctr1, the delay circuit 150 outputs a disable enable signal after a delay of a preset time. Among them, the resistance value of the second resistor R2 can be set as needed to adjust the voltage drop rate of the first terminal N21 of the second energy storage module 120 to prevent the circuit from being falsely triggered by external interference.
[0045] An embodiment of the present invention provides another power-off timing control circuit. Figure 3 A structural schematic diagram of another power-off timing control circuit provided by an embodiment of the present invention. Based on the above embodiment, the charge-discharge circuit 130 includes a first diode D1, an anode of the first diode D1, a first terminal N11 of the first energy storage module 110 is electrically connected to the power supply terminal Vi of the power-off timing control circuit; a cathode of the first diode D1 is electrically connected to a first terminal N21 of the second energy storage module 120; a second terminal N12 of the first energy storage module 110, and a second terminal N22 of the second energy storage module 120 are both grounded.
[0046] Among them, when the power supply terminal Vi of the power-off timing control circuit 100 changes from power off to normal power supply, the first diode D1 is turned on, and the voltage of the first terminal N11 of the first energy storage module 110 and the voltage of the first terminal N21 of the second energy storage module 120 are gradually stabilized to the power supply voltage value of the power supply terminal Vi of the power-off timing control circuit 100. Therefore, at this time, the voltage of the first terminal N21 of the second energy storage module 120 is approximately equal to the voltage of the first terminal N11 of the first energy storage module 110, and the voltage difference is approximately zero. When the power supply terminal Vi of the power-off timing control circuit 100 is powered off, the first energy storage module 110 provides electrical energy to at least two power conversion circuits 200, that is, discharges, and the first diode D1 will be turned off, the second energy storage module 120 is almost not discharged, and the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is Wherein, V1 is the ground voltage of the first terminal N11 of the first energy storage module 110, V2 is the ground voltage of the first terminal N21 of the second energy storage module 120, C1 is the capacitance of the first capacitor C1, R load is the equivalent impedance of at least two power conversion circuits 200, V s is the supply voltage value of the power supply terminal Vi of the power-off timing control circuit when the power is normally supplied. The voltage drop rate of the first terminal N11 of the first energy storage module 110 is jointly determined by the equivalent impedance of at least two power conversion circuits 200 and the first capacitor C1. The time constant is R load*C1; the voltage drop rate of the first terminal N21 of the second energy storage module 120 is approximately zero. When the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 increases to a preset threshold, the output terminal Out2 of the detection circuit 140 will output a control signal; under the control signal input from the control terminal Ctr1, the delay circuit 150 outputs a disable enable signal after a delay of a preset time. Optionally, the charge and discharge circuit may further include an eighth resistor connected in parallel with the first diode, and the resistance value of the eighth resistor may be set as needed to adjust the voltage drop rate of the first terminal of the second energy storage module to prevent the circuit from being falsely triggered by external interference.
[0047] An embodiment of the present invention provides another power-off timing control circuit. Figure 4 A schematic diagram of another power-off timing control circuit provided by an embodiment of the present invention. Based on the above embodiment, the charge-discharge circuit 130 further includes a third resistor R3 , and the third resistor R3 is connected in parallel with the second energy storage module 120 .
[0048] Among them, when the power supply terminal Vi of the power-off timing control circuit is powered normally, the first diode D1 is turned on, and the voltage of the first terminal N11 of the first energy storage module 110 and the voltage of the first terminal N21 of the second energy storage module 120 are both stabilized to the power supply voltage value of the power supply terminal Vi of the power-off timing control circuit. Therefore, at this time, the voltage of the first terminal N21 of the second energy storage module 120 is approximately equal to the voltage of the first terminal N11 of the first energy storage module 110, and the voltage difference is approximately zero. At this time, the current flowing through the third resistor R3 is not zero (that is, there is additional static current loss). When the power supply terminal Vi of the power-off timing control circuit is powered off, the first energy storage module 110 and the second energy storage module 120 both start to discharge, the first diode D1 is turned off, and the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is Wherein, V1 is the ground voltage of the first terminal N11 of the first energy storage module 110, V2 is the ground voltage of the first terminal N21 of the second energy storage module 120, C1 is the capacitance of the first capacitor C1, C2 is the capacitance of the second capacitor C2, R3 is the resistance of the third resistor R3, R load is the equivalent impedance of at least two power conversion circuits 200, V s is the supply voltage value of the power supply terminal Vi of the power-off timing control circuit when the power is normally supplied. The voltage drop rate of the first terminal N11 of the first energy storage module 110 is jointly determined by the equivalent impedance of at least two power conversion circuits 200 and the first capacitor C1. The time constant is R load*C1; The voltage drop rate of the first terminal N21 of the second energy storage module 120 is mainly determined by the third resistor R3 and the second capacitor C2. When the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 increases to a preset threshold, the output terminal Out2 of the detection circuit 140 will output a control signal; under the control signal input from the control terminal Ctr1, the delay circuit 150 outputs a disable enable signal after a delay of a preset time. Among them, the resistance value of the third resistor R3 can be set as needed to adjust the voltage drop rate of the first terminal N21 of the second energy storage module 120 to prevent the circuit from being falsely triggered by external interference.
[0049] It should be noted that Figure 2 and Figure 3 The charge and discharge circuit 130 provided in the embodiment has no additional static current loss when the power supply terminal Vi of the power-off timing control circuit supplies power normally, that is, the current flowing through the second resistor R2 or the first diode D1 is zero.
[0050] The embodiment of the present invention provides another power-off timing control circuit. Figure 2 , the detection circuit 140 includes: a first switch tube Q1 and a first resistor R1.
[0051] Among them, the control end of the first switch tube Q1 is electrically connected to the first end N41 of the detection circuit 140, and the first end of the first switch tube Q1 is electrically connected to the second end N42 of the detection circuit 140; the first end of the first resistor R1 and the second end of the first switch tube Q1 are both electrically connected to the output end Out2 of the detection circuit 140, and the second end of the first resistor R1 is grounded.
[0052] Optionally, the first switch tube Q1 is a PNP transistor or a PMOS tube. Figure 2 The case where the first switch tube Q1 is a PNP transistor is exemplarily drawn. When the power supply terminal Vi of the power-off timing control circuit is powered normally, the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 is very small, less than the preset threshold value, and less than the absolute value of the conduction threshold voltage of the first switch tube Q1. Therefore, the first terminal and the second terminal of the first switch tube Q1 are in an off state, and the voltage to ground of the first terminal of the first resistor R1 is zero. Therefore, the output terminal Out2 of the detection circuit 140 will output a low-level signal, which is equivalent to the second control signal. Under the action of the second control signal, the delay circuit 150 stops outputting the disable enable signal; Figure 5A schematic diagram of a power-off timing signal waveform provided by an embodiment of the present invention. The horizontal axis represents time t, and the vertical axis represents the signal s1 outputted from the output terminal Out2 of the detection circuit 140, and the signals s2 and s3 outputted from the output terminals Out3 of the two delay circuits 150, respectively. The delay time of the delay circuit corresponding to the signal s2 is greater than the delay time of the delay circuit corresponding to the signal s3. Figure 5 As shown, when the power supply terminal Vi of the power-off timing control circuit is powered off at time t1, the voltage difference between the first terminal N21 of the second energy storage module 120 and the first terminal N11 of the first energy storage module 110 gradually increases, and reaches a preset threshold at time t2, which is greater than or equal to the absolute value of the conduction threshold voltage of the first switch tube Q1, so the first switch tube Q1 will be turned on, and the voltage of the first end of the first resistor R1 to the ground is close to the voltage of the first terminal N21 of the second energy storage module 120, so the output terminal Out2 of the detection circuit 140 will output a high level signal (see Figure 5 The signal s1 is equivalent to the control signal. Under the action of the control signal, the delay circuit 150 outputs a disable enable signal (see Figure 5 The signals s2 and s3 are used to power off the two power conversion circuits corresponding to the two delay circuits at time t4 and time t3 respectively).
[0053] Optionally, based on the above embodiment, continue to refer to Figure 3 or Figure 4 The detection circuit 140 further includes a fourth resistor R4, and the control end of the first switch tube Q1 is electrically connected to the first end N41 of the detection circuit 140 via the fourth resistor R4. The fourth resistor R4 plays a role of current limiting.
[0054] Optionally, based on the above embodiment, continue to refer to Figure 3 or Figure 4 The detection circuit 140 further includes a fifth resistor R5, and the first end of the first resistor R1 is electrically connected to the second end of the first switch tube Q1 via the fifth resistor R5. The first resistor R1 and the fifth resistor R5 form a voltage divider network to reduce the voltage of the output terminal Out2 of the detection circuit 140 when the first switch tube Q1 is turned on, so as to meet the voltage level range required by the subsequent circuit.
[0055] The embodiment of the present invention provides another power-off timing control circuit. Figure 2 , Figure 3 or Figure 4 Any delay circuit 150 includes a third capacitor C3, a second switch tube Q2 and a sixth resistor R6.
[0056] Among them, optional, such as Figure 2As shown, the first end of the second switch tube Q2 is grounded via the sixth resistor R6; the second end of the second switch tube Q2 and the first end of the third capacitor C3 are both electrically connected to the output end Out3 of the delay circuit 150; the control end of the second switch tube Q2 is electrically connected to the control end Ctr1 of the delay circuit 150; and the second end of the third capacitor C3 is grounded. Optionally, as Figure 3 As shown, the first end of the second switch tube Q2 is grounded; the second end of the second switch tube Q2 is electrically connected to the output end Out3 of the delay circuit 150 via the sixth resistor R6, and the output end Out3 of the delay circuit 150 is grounded via the third capacitor C3; the control end of the second switch tube Q2 is electrically connected to the control end Ctr1 of the delay circuit 150. The second switch tube Q2 can be a MOS tube or a triode. Figure 2 and Figure 3 The second switch tube Q2 is exemplarily drawn as an NMOS tube. It should be noted that electrical nodes with the same label are electrically connected, such as N1, N2 and N3, for example, terminals marked with N1 are electrically connected, electrical nodes marked with N2 are electrically connected, and electrical nodes marked with N3 are electrically connected.
[0057] The second switch tube Q2 is turned on under the control signal (eg, a high level signal) to discharge the third capacitor C3 (then the voltage at the output terminal Out3 of the delay circuit 150 will gradually decrease, see Figure 5 , signal s2 and signal s3 begin to decrease after time t2), the discharge speed is determined by the third capacitor C3 and the sixth resistor R6, that is, the delay time is determined, until the third capacitor C3 is discharged to a value lower than the second preset threshold value (equivalent to a low-level signal), the disable enable signal is output. The larger the delay time constant (i.e., the product of the capacitance of the third capacitor C3 and the resistance of the sixth resistor R6), the longer the delay time. The second switch tube Q2 is turned off under the action of the second control signal that is opposite to the logic of the control signal, that is, the third capacitor C3 is not discharged, and the voltage across the third capacitor C3 is higher than the second preset threshold value (equivalent to a high-level signal), that is, the disable enable signal is stopped from being output. The sixth resistance value R6 of each delay circuit 150 can be set to be equal, and the capacitance of the third capacitor C3 is set according to the requirements of the delay time.
[0058] Optionally, based on the above embodiment, continue to refer to Figure 2 The power-off timing control circuit also includes a first power conversion circuit 160 and at least two seventh resistors R7, wherein a power supply terminal V1 of the first power conversion circuit 160 is electrically connected to a power supply terminal Vi of the power-off timing control circuit 100; at least two seventh resistors R7 correspond one-to-one to at least two delay circuits 150, and a first end of a third capacitor C3 of any delay circuit 150 is electrically connected to an output terminal Out4 of the first power conversion circuit 160 via the corresponding seventh resistor R7.
[0059] Among them, when the power supply terminal Vi of the power-off timing control circuit 100 is powered normally, the second switch tube Q2 is turned off, and the voltage across the third capacitor C3 is stabilized to the output voltage of the output terminal Out4 of the first power conversion circuit 160, that is, higher than the second preset threshold value (equivalent to a high level signal), that is, the output of the disable enable signal is stopped. The resistance value of the sixth resistor R6 is much smaller than the resistance value of the seventh resistor R7. When the power supply terminal Vi of the power-off timing control circuit 100 is powered off, the second switch tube Q2 is turned on, regardless of whether the first power conversion circuit 160 stops working or not, since the resistance value of the sixth resistor R6 is smaller than the resistance value of the seventh resistor R7, the voltage of the third capacitor C3 at the end of discharge is the divided voltage of the sixth resistor R6, and its value is very small, which can be less than the second preset threshold value (equivalent to a low level signal), so as to ensure that the delay circuit 150 outputs the disable enable signal after delaying the preset time. It should be noted that the first power conversion circuit can be one of the at least two power conversion circuits.
[0060] It should be noted that the power-off timing control circuit provided in the embodiment of the present invention only requires signal-level MOS tubes, triodes, and resistor-capacitor devices, and has low cost.
[0061] An embodiment of the present invention provides a power supply circuit. Figure 6 A schematic diagram of the structure of a power supply circuit provided in an embodiment of the present invention. The power supply circuit 10 includes at least two power conversion circuits 200 and a power-off timing control circuit 100 provided in any embodiment of the present invention, at least two output terminals Out1 of the power-off timing control circuit 100 correspond to at least two power conversion circuits 200 one by one, and the output terminal Out1 of the power-off timing control circuit 100 is electrically connected to the enable terminal EN of the corresponding power conversion circuit 200; the first terminal N11 of the first energy storage module 110 is electrically connected to the power supply terminal V2 of at least two power conversion circuits 200, and the power supply terminal V3 of the power supply circuit 10 is electrically connected to the power supply terminal Vi of the power-off timing control circuit.
[0062] Among them, any power conversion circuit 200 can be a switching power supply circuit or a linear power supply circuit. When the enable terminal EN of the power conversion circuit 200 receives an enable signal, it starts to work, and converts the voltage input from the power supply terminal V2 into a required voltage through a step-up or step-down effect to power the subsequent circuit. The subsequent circuit may include a signal processor core and its peripheral circuits, etc. For example, the signal processor may be a field programmable gate array (Field-Programmable Gate Array, FPGA) or a microcontroller unit (Microcontroller Unit, MCU), and the peripheral circuit may include at least one of the following: an analog-to-digital converter, a digital-to-analog converter, and a flash memory, etc. When the enable terminal EN of the power conversion circuit 200 receives a disable enable signal, it stops working and the output voltage is zero.
[0063] The power supply circuit provided in the embodiment of the present invention includes the power-off timing control circuit in the above embodiment. Therefore, the power supply circuit provided in the embodiment of the present invention also has the beneficial effects described in the above embodiment, which will not be described in detail here.
[0064] An embodiment of the present invention provides yet another power supply circuit. Figure 7 A schematic diagram of another power supply circuit provided by an embodiment of the present invention. Based on the above embodiment, the power supply circuit 10 further includes a third switch 300, and the power supply terminal V3 of the power supply circuit is electrically connected to the power supply terminal Vi of the power-down timing control circuit 100 through the third switch 300.
[0065] The third switch 300 may be a self-locking button switch. When the power supply terminal Vi of the power-off timing control circuit supplies power normally, even if the third switch 300 is disconnected, the power supply circuit can meet the power-off timing requirement.
[0066] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A power-off timing control circuit, characterized in that: include: a first energy storage module; a second energy storage module; a charge-discharge circuit, electrically connected to the power supply end of the power-off timing control circuit, electrically connected to the first end of the first energy storage module, and electrically connected to the first end of the second energy storage module, and configured to control the voltage drop rate of the first end of the first energy storage module during discharge to be greater than the voltage drop rate of the first end of the second energy storage module during discharge when the power supply end is powered off; a detection circuit, wherein a first end of the detection circuit is electrically connected to a first end of the first energy storage module, and a second end of the detection circuit is electrically connected to a first end of the second energy storage module; At least two delay circuits, corresponding one-to-one to at least two output terminals of the power-down timing control circuit, wherein a control terminal of any delay circuit is electrically connected to an output terminal of the detection circuit, and an output terminal of any delay circuit is electrically connected to a corresponding output terminal of the power-down timing control circuit; The detection circuit is configured to output a control signal when detecting that the voltage difference between the first end of the second energy storage module and the first end of the first energy storage module reaches a preset threshold; The delay circuit is used to output a disable enable signal after a preset delay time under the action of the control signal; The starting time of delay of at least two of the delay circuits is the same, but the preset delay time is different.
2. The power-off timing control circuit according to claim 1, characterized in that: The detection circuit includes: a first switch tube and a first resistor, Wherein, the control end of the first switch tube is electrically connected to the first end of the detection circuit, and the first end of the first switch tube is electrically connected to the second end of the detection circuit; The first end of the first resistor and the second end of the first switch tube are both electrically connected to the output end of the detection circuit, and the second end of the first resistor is grounded.
3. The power-off timing control circuit according to claim 1, wherein: The charge and discharge circuit includes a second resistor, wherein the first end of the second resistor and the first end of the first energy storage module are both electrically connected to the power supply end of the power-off timing control circuit; the second end of the second resistor is electrically connected to the first end of the second energy storage module; the second end of the first energy storage module and the second end of the second energy storage module are both grounded.
4. The power-off timing control circuit according to claim 1, wherein: The charge and discharge circuit includes a first diode, an anode of the first diode, and a first end of the first energy storage module are electrically connected to the power supply end of the power-off timing control circuit; a cathode of the first diode is electrically connected to the first end of the second energy storage module; and a second end of the first energy storage module and a second end of the second energy storage module are both grounded.
5. The power-off timing control circuit according to claim 4, characterized in that: The charge and discharge circuit further includes a third resistor, which is connected in parallel with the second energy storage module.
6. The power-off timing control circuit according to claim 2, characterized in that: The detection circuit further includes a fourth resistor, and the control end of the first switch tube is electrically connected to the first end of the detection circuit via the fourth resistor.
7. The power-off timing control circuit according to claim 2, wherein: The detection circuit further includes a fifth resistor, and the first end of the first resistor is electrically connected to the second end of the first switch tube via the fifth resistor.
8. The power-off timing control circuit according to claim 2, wherein: The first switch tube is a PNP transistor or a PMOS tube.
9. The power-off timing control circuit according to claim 1, wherein: The first energy storage module is a first capacitor, and the second energy storage module is a second capacitor.
10. The power-off timing control circuit according to claim 1, wherein: Any of the delay circuits includes a third capacitor, a second switch tube and a sixth resistor, Among them, the first end of the second switching tube is grounded via the sixth resistor; the second end of the second switching tube and the first end of the third capacitor are both electrically connected to the output end of the delay circuit; the control end of the second switching tube is electrically connected to the control end of the delay circuit; and the second end of the third capacitor is grounded.
11. The power-off timing control circuit according to claim 10, characterized in that: It also includes a first power conversion circuit and at least two seventh resistors, wherein the power supply end of the first power conversion circuit is electrically connected to the power supply end of the power-off timing control circuit; the at least two seventh resistors correspond one-to-one to the at least two delay circuits, and the first end of the third capacitor of any delay circuit is electrically connected to the output end of the first power conversion circuit via the corresponding seventh resistor.
12. A power supply circuit, characterized in that: It comprises at least two power conversion circuits and the power-off timing control circuit described in any one of claims 1-11, wherein at least two output ends of the power-off timing control circuit correspond one-to-one with the at least two power conversion circuits, and the output end of the power-off timing control circuit is electrically connected to the enable end of the corresponding power conversion circuit; the first end of the first energy storage module is electrically connected to the power supply end of the at least two power conversion circuits, and the power supply end of the power circuit is electrically connected to the power supply end of the power-off timing control circuit.
13. The power supply circuit according to claim 12, wherein: It also includes a third switch, and the power supply end of the power supply circuit is electrically connected to the power supply end of the power-down timing control circuit through the third switch.
