A delayed power-off control circuit and electronic equipment

By designing a delayed power-off control circuit and using the current conversion module, delay module and control module, a controllable delayed power-off is achieved, which solves the problems of short power-off time and low capacitor utilization in the existing technology, and is suitable for Equipped with a variety of power converters, it reduces costs and simplifies the circuit structure.

CN118282377BActive Publication Date: 2024-10-11WUHAN MEGMEET ELECTRICAL CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703591.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-10-11
Estimated Expiration
2044-06-03

AI Technical Summary

Technical Problem

Existing delay switch circuits have short power-off time, are uncontrollable, have low capacitor energy utilization, complex circuit structures, require dedicated chips and high costs, and cannot be adapted to a variety of power converters.

Method used

A delayed power-down control circuit is designed, including a current conversion module, a delay module and a control module. The transistor and inductor are used to realize the voltage conversion and delay functions. The on-off of the transistor is controlled through voltage sampling and logic calculation to achieve controllability. delay power off and adapt to a variety of power converters.

Benefits of technology

It achieves controllable delayed power-off time, adapts to a variety of power converters, reduces costs, simplifies the circuit structure, does not require special chips, and improves capacitor energy utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118282377B_ABST
    Figure CN118282377B_ABST
Patent Text Reader

Abstract

The present application provides a delayed power-off control circuit and an electronic device, the circuit comprising: a current conversion module, whose input end is connected to a power supply, and whose output end is connected to a load, and is configured to convert direct current into alternating current, or alternating current into direct current, or to convert direct current voltage; a delay module, connected between the power supply and the current conversion module, or between the current conversion module and the load, the delay module comprising a first transistor, the first end of which serves as the input end of the delay module; a second transistor, the first end of which is connected to the second end of the first transistor, and the second end is grounded; an inductor, the first end of which is connected to the second end of the first transistor, and the second end of which serves as the output end of the delay module; a control module, which connects the control ends of the first and second transistors, and is configured to control the first transistor to be turned on and the second transistor to be turned off when the power is on or in a stable state, and vice versa when the power is off. Through the above method, a wide range of input can be achieved, the adaptation of a variety of power converters can be met, and the controllable delayed power-off of the system circuit can be completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application mainly relates to the technical field of electronic circuits, and in particular to a delayed power-off control circuit and electronic equipment. Background Art

[0002] The time-delay switch circuit is a circuit that can delay the switching on or off of electrical equipment. It is often used in various automatic control systems. It is a comprehensive technical system that involves multiple fields such as electronic technology, computer technology, and control technology. It requires the comprehensive use of multiple technical means to achieve the time-delay switch function.

[0003] Usually, after the server is used, if you want to shut down the server, you need to save the important files in the system operation first, and then shut down the server safely. If the power outage occurs suddenly when the user is using the server, the user will lose power instantly without saving data and shutting down the server system safely. Important files on the server will be lost, and the system is prone to problems. In serious cases, the server memory will be damaged. At present, the method of delaying power-off of the server host on the market is to use the RC circuit to control the delay power-off time. The control of RC delay power-off has short power-off time, is difficult to control, has low capacitor energy utilization, and has complex circuit structure, requires dedicated chips, and has high costs. Summary of the invention

[0004] The main purpose of the present application is to provide a delayed power-off control circuit and an electronic device to solve the problems of short power-off time and uncontrollable time of traditional delay circuits, inability to adapt to a variety of different power converters, low capacitor energy utilization, complex circuit structure, need for dedicated chips and high cost.

[0005] To solve the above problems, the present application provides a delayed power-off control circuit, which includes: a current conversion module, the input end of the current conversion module is connected to a power supply, the output end of the current conversion module is connected to a load, and the current conversion module is configured to convert direct current into alternating current, or convert alternating current into direct current, or perform voltage conversion on direct current; a delay module, connected between the power supply and the current conversion module, or between the current conversion module and the load, the delay module includes a first transistor, a second transistor and an inductor, the first end of the first transistor serves as the input end of the delay module, the first end of the second transistor is connected to the second end of the first transistor, the second end of the second transistor is grounded, the first end of the inductor is connected to the second end of the first transistor, and the second end of the inductor serves as the output end of the delay module; a control module, connected to the control end of the first transistor and the control end of the second transistor, the control module is configured to control the first transistor to be turned on and the second transistor to be turned off when the power is on or in a stable state, and to control the first transistor to be turned off and the second transistor to be turned on when the power is off.

[0006] In one embodiment, the delay module also includes: a first capacitor, a first end of the first capacitor is connected to the first end of the first transistor, and a second end of the first capacitor is grounded; a second capacitor, a first end of the second capacitor is connected to the second end of the inductor, and a second end of the second capacitor is grounded.

[0007] In one embodiment, the delay module also includes: a first resistor, a first end of the first resistor is connected to the first end of the first capacitor, and a second end of the first resistor is grounded; a second resistor, a first end of the second resistor is connected to the first end of the second capacitor, and a second end of the second resistor is grounded.

[0008] In one embodiment, the control module includes: a voltage sampling unit connected to the input end and the output end of the delay module, the voltage sampling unit is configured to sample the input voltage of the input end of the delay module and the output voltage of the output end of the delay module; a driving unit connected to the voltage sampling unit, the control end of the first transistor and the control end of the second transistor, the driving unit is configured to determine the corresponding state according to the value of the input voltage and / or the output voltage, when in the power-on or stable state, the first transistor is controlled to be turned on by the first control signal, and the second transistor is controlled to be turned off by the second control signal, and when in the power-off state, the first transistor is controlled to be turned off by the first control signal, and the second transistor is controlled to be turned on by the second control signal.

[0009] In one embodiment, the driving unit includes: a logic unit, the logic unit is connected to the voltage sampling unit, the logic unit is configured to perform logic calculations on the input voltage and the output voltage, when it is detected that the input voltage is greater than a first threshold, the logic unit outputs a first enable signal, when it is detected that the output voltage is less than a second threshold, the logic unit outputs a second enable signal; a control unit, the control unit is connected to the voltage sampling unit, the logic unit and the control end of the first transistor and the control end of the second transistor, the control unit is configured to output a first control signal and a second control signal according to the input voltage, the output voltage, the first enable signal and the second enable signal, the first control signal is used to control the first transistor, and the second control signal is used to control the second transistor.

[0010] In one embodiment, the logic unit includes: a first voltage divider module, a first end of the first voltage divider module is connected to a voltage sampling unit to receive an input voltage, a second end of the first voltage divider module is grounded, and the first voltage divider module includes a first voltage divider node whose voltage is lower than the input voltage; a second voltage divider module, a first end of the second voltage divider module is connected to the voltage sampling unit to receive an output voltage, a second end of the second voltage divider module is grounded, and the second voltage divider module includes a second voltage divider node and a third voltage divider node whose voltages are lower than the output voltage in sequence; a first logic module, the first logic module is connected to the first voltage divider node and the third voltage divider node, and the first logic module is configured to output a first enable signal according to the voltage of the first voltage divider node and the voltage of the third voltage divider node; a second logic module, the second logic module is connected to the second voltage divider node, and the second logic module is configured to output a second enable signal according to the voltage of the second voltage divider node.

[0011] In one embodiment, the first voltage divider module includes: a third resistor, a first end of the third resistor is connected to the voltage sampling unit to receive an input voltage; a fourth resistor, a first end of the fourth resistor is connected to the second end of the third resistor to serve as a first voltage divider node, and a second end of the fourth resistor is grounded.

[0012] In one embodiment, the second voltage divider module includes: a fifth resistor, a first end of the fifth resistor is connected to the voltage sampling unit to receive the output voltage; a sixth resistor, a first end of the sixth resistor is connected to the second end of the fifth resistor to serve as a second voltage divider node; a seventh resistor, a first end of the seventh resistor is connected to the second end of the sixth resistor to serve as a third voltage divider node, and the second end of the seventh resistor is grounded.

[0013] In one embodiment, the first logic module includes: a first comparator, wherein the first input terminal of the first comparator is connected to the third voltage dividing node, and the second input terminal of the first comparator is configured to receive a first reference signal; a second comparator, wherein the first input terminal of the second comparator is configured to receive a second reference signal, and the second input terminal of the second comparator is connected to the first voltage dividing node; a first AND logic gate, wherein the first input terminal of the first AND logic gate is connected to the output terminal of the first comparator, and the second input terminal of the first AND logic gate is connected to the output terminal of the second comparator; an OR logic gate, wherein the first input terminal of the OR logic gate is connected to the output terminal of the first comparator, the second input terminal of the OR logic gate is connected to the output terminal of the first AND logic gate, and the output terminal of the OR logic gate is connected to a control unit to output a first enable signal.

[0014] In one embodiment, the second logic module includes: a third comparator, a first input terminal of the third comparator is configured to receive a third reference signal, a second input terminal of the third comparator is connected to a second voltage dividing node, and an output terminal of the third comparator is connected to a control unit to output a second enable signal.

[0015] In one embodiment, the control unit includes: a first switch, a first end of the first switch is connected to a voltage sampling unit to receive an input voltage, and a control end of the first switch is connected to a logic unit to receive a first enable signal; a second switch, a first end of the second switch is connected to the voltage sampling unit to receive an output voltage, and a control end of the second switch is connected to the logic unit to receive a second enable signal; a fourth comparator, a first input end of the fourth comparator is connected to a second end of the first switch, and a second input end of the fourth comparator is connected to an AC source; a non-logic gate, an input end of the non-logic gate is connected to an output end of the fourth comparator; a second AND logic gate, a first input end of the second AND logic gate is connected to an output end of the fourth comparator, a second input end of the second AND logic gate is connected to a second end of the second switch, and an output end of the second AND logic gate is connected to the control unit to output a second control signal A2; a third AND logic gate, a first input end of the third AND logic gate is connected to an output end of the non-logic gate, a second input end of the third AND logic gate is connected to a second end of the second switch, and an output end of the third AND logic gate is connected to the control unit to output a first control signal.

[0016] In one embodiment, the control unit also includes: a subtractor, a first input end of the subtractor is connected to the second end of the first switch, and the second input end of the subtractor is used to receive the first DC signal; an amplifier, an input end of the amplifier is connected to the output end of the subtractor, and the output end of the amplifier is connected to the first input end of the fourth comparator.

[0017] To solve the above problems, the present application also provides an electronic device, which includes a delayed power-off control circuit, wherein the delayed power-off control circuit adopts the delayed power-off control circuit described in any of the above embodiments.

[0018] Through the above method, it can be adapted to a variety of different power converters to achieve controllable delayed power-off time, and it does not require a dedicated chip, has a simple structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0020] Figure 1 It is a structural schematic diagram of an embodiment of a delayed power-off control circuit provided by the present application;

[0021] Figure 2 It is a structural schematic diagram of the second embodiment of the delayed power-off control circuit provided by the present application;

[0022] Figure 3It is a structural schematic diagram of a third embodiment of a delayed power-off control circuit provided by the present application;

[0023] Figure 4 It is a structural schematic diagram of an embodiment of a logic unit of a delayed power-off control circuit provided by the present application;

[0024] Figure 5 It is a structural schematic diagram of a second embodiment of a logic unit of a delayed power-off control circuit provided by the present application;

[0025] Figure 6 It is a structural schematic diagram of an embodiment of a control unit of a delayed power-off control circuit provided by the present application;

[0026] Figure 7a~7c It is a schematic diagram of the simulation effect of the delayed power-off control circuit 1 implemented in the present application;

[0027] Figure 8 It is a structural schematic diagram of an embodiment of an electronic device provided by the present application. DETAILED DESCRIPTION

[0028] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It will be appreciated that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for ease of description, only some but not all structures related to the present application are shown in the drawings. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the art without making creative work are within the scope of protection of the present application.

[0029] The terms "first", "second", etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0030] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] A power delay circuit is a circuit that can delay the corresponding operation for a period of time after the power is turned on or off. This circuit is very useful in many applications. For example, in audio equipment, a power delay circuit can be used to prevent noise when turning on or off; in vehicles, a power delay circuit can be used to delay the turning off of lights when closing the door, and so on. The background technology of the power delay circuit mainly includes timers, counters, integrated circuits, etc. A timer is a circuit device used to generate a delay signal, which can set the delay time and generate a corresponding output signal after the delay time is reached. A counter is a circuit device used to record time and can be used to implement different delay functions. An integrated circuit is a chip that integrates multiple functional circuits, which can easily implement the design of a power delay circuit. In addition to the above technologies, there are some other technologies that can be used to design a power delay circuit, such as using triggers, comparators, amplifiers, etc. These technologies can be selected according to specific needs and applications to achieve the best power delay effect. Therefore, when designing a power delay circuit, it is necessary to select appropriate technologies and devices according to the specific situation to ensure the stability and reliability of the circuit.

[0032] Usually, after the use of the system server is finished, it is necessary to save the important data files in the operating system before safely shutting down the server. However, if the system server is instantly powered off without completing data storage due to a sudden equipment failure or a sudden power outage, it will cause the loss of important files and damage to the server. Therefore, it is necessary to set a delay circuit to control the delayed power-off of the system so that the system can complete data preservation and shut down safely within a certain period of time. At present, the RC circuit (RC circuit refers to a circuit composed of a resistor R and a capacitor C, which is a commonly used circuit in pulse generation and shaping circuits) is usually used on the market for delayed power-off, but the power-off control time is short, difficult to control, and the utilization rate of the capacitor is low, the circuit structure is complex and the cost is high. Therefore, the present application proposes a delayed power-off control circuit and electronic equipment to solve the above problems.

[0033] See also Figure 1 and Figure 2 As shown, Figure 1 It is a structural schematic diagram of an embodiment of a delayed power-off control circuit provided by the present application; Figure 21 is a schematic diagram of the structure of the second embodiment of the time-delay power-off control circuit provided by the present application; wherein, the time-delay power-off control circuit 100 includes: a current conversion module 10, a delay module 20 and a control module 30; specifically, the input end of the current conversion module 10 is connected to the power supply, the output end of the current conversion module 10 is connected to the load, and the current conversion module 10 is configured to convert direct current into alternating current, or to convert alternating current into direct current, or to perform voltage conversion on direct current; the delay module 20 is connected between the power supply and the current conversion module 10, or between the current conversion module 10 and the load, and the delay module 20 includes a first transistor Q1, a second transistor Q2 and inductor L, the first end of the first transistor Q1 serves as the input end of the delay module 20, the first end of the second transistor Q2 is connected to the second end of the first transistor Q1, the second end of the second transistor Q2 is grounded, the first end of the inductor L is connected to the second end of the first transistor Q1, and the second end of the inductor L serves as the output end of the delay module 20; the control module 30 is connected to the control end of the first transistor Q1 and the control end of the second transistor Q2, and the control module 30 is configured to control the first transistor Q1 to be turned on and the second transistor Q2 to be turned off when the power is on or in a stable state, and to control the first transistor Q1 to be turned off and the second transistor Q2 to be turned on when the power is off.

[0034] It can be understood that the embodiments of the present application are applicable to various power conversion delay schemes. For example, the current conversion module 10 in the present application can be an AC-DC power supply, with AC input (single-phase input or three-phase input, there are many AC-DC topologies, and the actual design is to select the topology according to the use environment), and the AC power is changed to direct power after the power factor correction circuit (PFC, Power Factor Correction), and then the delay module 20 can be placed in the PFC DC circuit to achieve output power-off delay. In some other embodiments, the current conversion module 10 can be a DC-AC power supply implementation method (there are many DC-AC topologies, and the actual design is to select the topology according to the use environment), DC input, and then the DC power is changed to the desired AC output. The delay module 20 can be placed at the input end to achieve output power-off delay. In some other embodiments, the current conversion module 10 can be a DC-DC power supply implementation method (there are many DC-DC topologies, and the actual design is to select the topology according to the use environment), DC input, and then the desired voltage is output after boosting or bucking. The delay module 20 can be placed at the output end to achieve output power-off delay.

[0035] Among them, in the above embodiment, the control module 30 is configured to control the first transistor Q1 to be turned on and the second transistor Q2 to be turned off when the power is turned on or in a stable state, and to control the first transistor Q1 to be turned off and the second transistor Q2 to be turned on when the power is turned off. Specifically, it means that when the power is turned on or in a stable state, the first transistor Q1 is controlled to control its on and off time according to a certain frequency; when the power is turned off, the second transistor Q2 is controlled to control its on and off time according to a certain frequency; in conjunction with the inductor L therein, the inductor L is repeatedly charged and discharged to achieve the purpose of boosting or reducing the voltage.

[0036] See also Figure 3 As shown, Figure 3 It is a structural diagram of the third embodiment of the delayed power-off control circuit provided in the present application; optionally, in one embodiment, the delay module 20 also includes: a first capacitor C1, the first end of the first capacitor C1 is connected to the first end of the first transistor Q1, and the second end of the first capacitor C1 is grounded; a second capacitor C2, the first end of the second capacitor C2 is connected to the second end of the inductor L, and the second end of the second capacitor C2 is grounded.

[0037] The required delay time is calculated through the formula to infer the capacity of the energy storage capacitor so that the voltage after the delay circuit is boosted or reduced can be matched with the capacitor size for selection, thereby realizing the time control of the delayed power-off of the system circuit. Through the volt-second rule, that is, the inductor voltage * on-time when turned on = the inductor voltage * off-time when turned off, the inductor inductance and ripple current when boosting or reducing the voltage are calculated, and the frequency and duty cycle of the MOS tube are controlled to boost or reduce the voltage to the voltage we want.

[0038] The control methods and formulas used for charging boost and buck maintenance include: when boosting, the voltage Vi is extracted from the input, the voltage Vo (energy storage device voltage) that needs to be boosted, the energy required in the delay time after the power is turned off is Wo, the time is T, and the power is P (P=W / T), calculate the inductance of the inductor during boost, the inductor ripple current, control the frequency and duty cycle of the MOS tube, and boost to the voltage we want.

[0039] Among them, using the volt-second law formula:

[0040] Inductor voltage when on * on time = inductor voltage when off * off time

[0041]

[0042] Also known

[0043] Opening time:

[0044] Off time:

[0045] Duty Cycle:

[0046] Since the synchronous step-up and step-down method is adopted, is 0, of which is the input voltage, is the output voltage and f is the switching frequency.

[0047] The energy Wi required for output energy storage, taking capacitor as an example: Wi=2C / (Vo²-Vi²), the energy during the delay time is Wo=P*T=U*I*T, the law of conservation of energy: Wi=Wo.

[0048] The capacity of the energy storage capacitor can be calculated from the delay time (the output voltage Vout current product specification is given, and the voltage after the delay circuit is boosted can be selected in combination with the capacitor size). Similarly, the output control method for step-down stability and the selection of components can be calculated by referring to the above method.

[0049] Optionally, in one embodiment, the delay module 20 also includes: a first resistor R1, a first end of the first resistor R1 is connected to the first end of the first capacitor C1, and a second end of the first resistor R1 is grounded; a second resistor R2, a first end of the second resistor R2 is connected to the first end of the second capacitor C2, and a second end of the second resistor R2 is grounded.

[0050] Optionally, in one embodiment, the control module 30 includes: a voltage sampling unit (not shown) and a driving unit (not shown); wherein the voltage sampling unit is connected to the input end and the output end of the delay module 20, and the voltage sampling unit is configured to sample the input voltage Vin of the input end of the delay module 20 and the output voltage Vout of the output end of the delay module 20; the driving unit is connected to the voltage sampling unit, the control end of the first transistor Q1 and the control end of the second transistor Q2, and the driving unit is configured to determine the corresponding state according to the value of the input voltage Vin and / or the output voltage Vout, and in the startup or stable state, the first transistor Q1 is controlled to be turned on by the first control signal A1, and the second transistor Q2 is controlled to be turned off by the second control signal A2, and in the shutdown state, the first transistor Q1 is controlled to be turned off by the first control signal A1, and the second transistor Q2 is controlled to be turned on by the second control signal A2.

[0051] Optionally, in one embodiment, the driving unit includes: a logic unit 31 and a control unit 32; specifically, the logic unit 31 is connected to the voltage sampling unit, and the logic unit 31 is configured to perform logic calculations on the input voltage Vin and the output voltage Vout. When it is detected that the input voltage Vin is greater than the first threshold, the logic unit 31 outputs a first enable signal EN1, and when it is detected that the output voltage Vout is less than the second threshold, the logic unit 31 outputs a second enable signal EN2; a control unit 32, the control unit 32 is connected to the voltage sampling unit, the logic unit 31 and the control end of the first transistor Q1 and the control end of the second transistor Q2, and the control unit 32 is configured to output a first control signal A1 and a second control signal A2 according to the input voltage Vin, the output voltage Vout, the first enable signal EN1 and the second enable signal EN2, the first control signal A1 is used to control the first transistor Q1, and the second control signal A2 is used to control the second transistor Q2.

[0052] It can be understood that the control part includes two states of boost and buck. The on-off frequency of the first transistor Q1 and the second transistor Q2 is controlled by the output PWM signal to achieve the functions of boost charging and buck stabilization. For example, the frequency is selected as 100KHZ, and the sampled output voltage Vout and input voltage Vin are used to compare the triangular wave, and the PWM signal is output. The first transistor Q1 and the second transistor Q2 of the main power are controlled in a width adjustment manner to achieve the function.

[0053] Optionally, in one embodiment, see Figure 4 As shown, Figure 41 is a structural diagram of an embodiment of a logic unit of a delayed power-off control circuit provided by the present application; the logic unit 31 includes: a first voltage dividing module 311, a second voltage dividing module 312, a first logic module 313 and a second logic module 314; the specific connection relationship and function are as follows: the first end of the first voltage dividing module 311 is connected to the voltage sampling unit to receive the input voltage Vin, the second end of the first voltage dividing module 311 is grounded, and the first voltage dividing module 311 includes a first voltage dividing node Vref1 whose voltage is lower than the input voltage Vin; the second voltage dividing module 312, the first end of the second voltage dividing module 312 is connected to the voltage sampling unit to receive the output voltage Vout, and the second end of the second voltage dividing module 312 is grounded. The end is grounded, the second voltage-dividing module 312 includes a second voltage-dividing node Vref2 and a third voltage-dividing node Vref3, whose voltages are lower than the output voltage Vout in sequence; a first logic module 313, the first logic module 313 is connected to the first voltage-dividing node Vref1 and the third voltage-dividing node Vref3, and the first logic module 313 is configured to output a first enable signal EN1 according to the voltage of the first voltage-dividing node Vref1 and the voltage of the third voltage-dividing node Vref3; a second logic module 314, the second logic module 314 is connected to the second voltage-dividing node Vref2, and the second logic module 314 is configured to output a second enable signal EN2 according to the voltage of the second voltage-dividing node Vref2.

[0054] See also Figure 5 As shown, Figure 5 It is a structural diagram of the second embodiment of the logic unit of the delayed power-off control circuit provided in the present application; optionally, in one embodiment, the first voltage divider module 311 includes: a third resistor R3, the first end of the third resistor R3 is connected to the voltage sampling unit to receive the input voltage Vin; a fourth resistor R4, the first end of the fourth resistor R4 is connected to the second end of the third resistor R3 to serve as the first voltage divider node Vref1, and the second end of the fourth resistor R4 is grounded.

[0055] Optionally, in one embodiment, the second voltage dividing module 312 includes: a fifth resistor R5, a first end of the fifth resistor R5 is connected to the voltage sampling unit to receive the output voltage Vout; a sixth resistor R6, a first end of the sixth resistor R6 is connected to the second end of the fifth resistor R5 to serve as a second voltage dividing node Vref2; a seventh resistor R7, a first end of the seventh resistor R7 is connected to the second end of the sixth resistor R6 to serve as a third voltage dividing node Vref3, and a second end of the seventh resistor R7 is grounded.

[0056] It can be understood that by sampling different voltage-dividing nodes, a series of logic comparisons are performed through the subsequent first logic module 313 and the second logic module 314 to output the first enable signal EN1 and the second enable signal EN2 to output signal feedback to the control unit 32, so as to form a feedback closed loop for signal control after the input voltage Vin and the output voltage Vout meet certain voltage conditions.

[0057] Optionally, in one embodiment, if Figure 5 As shown, the first logic module 313 includes: a first comparator 313a, a second comparator 313b, a first AND logic gate 313c and an OR logic gate 313d; wherein the first input end of the first comparator 313a is connected to the third voltage-dividing node Vref3, and the second input end of the first comparator 313a is configured to receive the first reference signal; the second comparator 313b, the first input end of the second comparator 313b is configured to receive the second reference signal, and the second input end of the second comparator 313b is connected to the first voltage-dividing node Vref 1; a first AND logic gate 313c, a first input end of the first AND logic gate 313c is connected to the output end of the first comparator 313a, and a second input end of the first AND logic gate 313c is connected to the output end of the second comparator 313b; an OR logic gate 313d, a first input end of the OR logic gate 313d is connected to the output end of the first comparator 313a, a second input end of the OR logic gate 313d is connected to the output end of the first AND logic gate 313c, and an output end of the OR logic gate 313d is connected to the control unit 32 to output a first enable signal EN1.

[0058] Optionally, in one embodiment, if Figure 5 As shown, the second logic module 314 includes: a third comparator 314a, a first input terminal of the third comparator 314a is configured to receive a third reference signal, a second input terminal of the third comparator 314a is connected to a second voltage dividing node Vref2, and an output terminal of the third comparator 314a is connected to the control unit 32 to output a second enable signal EN2.

[0059] Optionally, in one embodiment, see Figure 6 As shown, Figure 63 is a schematic diagram of the structure of an embodiment of a control unit of a delayed power-off control circuit provided in the present application; wherein the control unit 32 includes: a first switch 321, a second switch 322, a fourth comparator 325, a non-logic gate 327, a second and logic gate 328, and a third and logic gate 329; wherein the first end of the first switch 321 is connected to a voltage sampling unit to receive an input voltage Vin, and the control end of the first switch 321 is connected to a logic unit 31 to receive a first enable signal EN1; the second switch 322, the first end of the second switch 322 is connected to a voltage sampling unit to receive an output voltage Vout, and the control end of the second switch 322 is connected to a logic unit 31 to receive a second enable signal EN2; the fourth comparator 325, the first input end of the fourth comparator 325 is connected to the first switch 321 The second end, the second input end of the fourth comparator 325 is connected to the AC source 326; the non-logic gate 327, the input end of the non-logic gate 327 is connected to the output end of the fourth comparator 325; the second AND logic gate 328, the first input end of the second AND logic gate 328 is connected to the output end of the fourth comparator 325, the second input end of the second AND logic gate 328 is connected to the second end of the second switch 322, and the output end of the second AND logic gate 328 is connected to the control unit 32 to output the second control signal A2; the third AND logic gate 329, the first input end of the third AND logic gate 329 is connected to the output end of the non-logic gate 327, the second input end of the third AND logic gate 329 is connected to the second end of the second switch 322, and the output end of the third AND logic gate 329 is connected to the control unit 32 to output the first control signal A1. The AC source 326 can be a waveform generator, which is used to generate an AC signal to compare with the fourth comparator 325 to output a PWM waveform.

[0060] It can be understood that the selection control of the first switch 321 and the second switch 322 is determined by the first enable signal EN1 and the second enable signal EN2 output by the corresponding logic unit 31. For example, when the first enable signal EN1 and the second enable signal EN2 are output at a low level, the first switch 321 and the second switch 322 control the first logic module 313 and the second logic module 314 of the logic unit 31 to be connected to the voltage sampling unit; when the first enable signal EN1 and the second enable signal EN2 are output at a high level, the first switch 321 and the second switch 322 are controlled to be disconnected from the first logic module 313 and the second logic module 314, so that the voltage sampling unit is connected to the control unit 32 to control the first transistor Q1 and the second transistor Q2, that is, after the input voltage Vin and the output voltage Vout of the delay module 20 are collected and meet certain threshold conditions, the control unit 32 will regulate the system to step up or step down the voltage, otherwise the control will be cut off to achieve closed-loop feedback regulation.

[0061] Optionally, in one embodiment, if Figure 6As shown, the control unit 32 further includes: a subtractor 323, a first input end of the subtractor 323 is connected to the second end of the first switch 321, and the second input end of the subtractor 323 is used to receive the first DC signal; an amplifier 324, an input end of the amplifier 324 is connected to the output end of the subtractor 323, and the output end of the amplifier 324 is connected to the first input end of the fourth comparator 325. The subtractor 323 superimposes the input signal of the first switch 321 with the received first DC signal, and uses the amplifier 324 at the rear end to amplify the amplitude to output the required signal. It can be understood that in some other embodiments, the optimized design of the amplifier 324 structure may also include: an amplitude amplifier 324a, a comparison amplifier 324b, a third capacitor C3, a fourth capacitor C4 and an eighth resistor R8; specifically, the input end of the amplitude amplifier 324a is connected to the output end of the subtractor 323; the first input end of the comparison amplifier 324b is connected to the output end of the amplitude amplifier 324a, the second input end of the comparison amplifier 324b is connected to the second DC signal, and the output end of the comparison amplifier 324b is connected to the fourth comparator 325; the first end of the third capacitor C3 is connected to the output end of the amplitude amplifier 324a, and the second end of the third capacitor C3 is connected to the output end of the comparison amplifier 324b; the first end of the fourth capacitor C4 is connected to the output end of the amplitude amplifier 324a; the first end of the eighth resistor R8 is connected to the second end of the fourth capacitor C4, and the second end of the eighth resistor R8 is connected to the output end of the comparison amplifier 324b. The amplitude amplifier 324a is used to amplify the amplitude of the input signal of the front end. For example, the first DC signal is a 1.6V DC power supply signal, and the amplitude is amplified by 3 times through the amplifier.

[0062] See also Figure 7a~7c As shown, Figure 7a~7c : is a schematic diagram of the simulation effect of the delayed power-off control circuit 1 implemented in the present application; wherein, Figure 7a This is a schematic diagram of the software interface of the control part. Figure 7b and Figure 7c This is a waveform diagram of the simulation implementation; the frequency is selected as 100KHZ, the sampled output voltage and input voltage are used to compare the triangular wave, the PWM signal is output, and the main power transistor is controlled by the width adjustment method; specifically, the power input voltage is 48V, the capacitor voltage is 160V, and the delay stabilization voltage is 36V, among which Vswm (stable frequency triangular wave), V0 (sampling voltage), and V_GL are (transistor / MOS tube control signals). Vout (capacitor charging voltage), Vin_DC (simulated power on / off), and Vin_FB (capacitor discharge to power supply voltage).

[0063] See also Figure 8 As shown, Figure 8It is a structural diagram of an embodiment of an electronic device provided by the present application; the present application also provides an electronic device 200, which includes a delayed power-off control circuit 100, wherein the delayed power-off control circuit 100 adopts the delayed power-off control circuit 100 as described in any of the above embodiments to solve the problem that the electronic device 200 fails to shut down safely due to an instantaneous power failure in the system due to a system failure, resulting in the loss of important files.

[0064] The present application provides a time-delay power-off control circuit, which includes: a current conversion module 10, the input end of the current conversion module 10 is connected to a power source, the output end of the current conversion module 10 is connected to a load, and the current conversion module 10 is configured to convert direct current into alternating current, or to convert alternating current into direct current, or to perform voltage conversion on direct current; a delay module 20, connected between the power source and the current conversion module 10, or connected between the current conversion module 10 and the load, the delay module 20 includes a first transistor Q1, a second transistor Q2 and an inductor L, and the first end of the first transistor Q1 is connected to the load. As the input end of the delay module 20, the first end of the second transistor Q2 is connected to the second end of the first transistor Q1, the second end of the second transistor Q2 is grounded, the first end of the inductor L is connected to the second end of the first transistor Q1, and the second end of the inductor L serves as the output end of the delay module 20; the control module 30 is connected to the control end of the first transistor Q1 and the control end of the second transistor Q2, and the control module 30 is configured to control the first transistor Q1 to be turned on and the second transistor Q2 to be turned off when the power is on or in a stable state, and to control the first transistor Q1 to be turned off and the second transistor Q2 to be turned on when the power is off.

[0065] Through the above method, the input voltage Vin and the output voltage Vout of the circuit are sampled to determine whether the circuit state is a boost steady state or a buck state, and the delay module 20 is used to adjust and control the boost charging or buck stabilization function, and the energy storage element selected by calculation is used to achieve the effect of controllable delayed power-off of the system circuit, which can meet the adaptation and use of a variety of different power converters, and does not require a separate chip for control, the circuit structure is relatively simple, and it is conducive to cost saving.

[0066] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A delayed power-off control circuit, characterized in that: The delayed power-off control circuit comprises: A current conversion module, wherein an input end of the current conversion module is connected to a power source, an output end of the current conversion module is connected to a load, and the current conversion module is configured to convert direct current into alternating current, or convert alternating current into direct current, or perform voltage conversion on direct current; A delay module is connected between the power supply and the current conversion module, or between the current conversion module and the load, the delay module comprises a first transistor, a second transistor and an inductor, the first end of the first transistor serves as an input end of the delay module, the first end of the second transistor is connected to the second end of the first transistor, the second end of the second transistor is grounded, the first end of the inductor is connected to the second end of the first transistor, and the second end of the inductor serves as an output end of the delay module; a control module connected to a control end of the first transistor and a control end of the second transistor, wherein the control module is configured to control the first transistor to be turned on and the second transistor to be turned off when the device is turned on or in a stable state, and to control the first transistor to be turned off and the second transistor to be turned on when the device is turned off; Wherein, the control module comprises: a voltage sampling unit connected to the input end and the output end of the delay module, the voltage sampling unit being configured to sample the input voltage of the input end of the delay module and the output voltage of the output end of the delay module; a driving unit connected to the voltage sampling unit, the control end of the first transistor and the control end of the second transistor, the driving unit being configured to determine the corresponding state according to the value of the input voltage and / or the output voltage, and in the startup or stable state, controlling the first transistor to be turned on by a first control signal and controlling the second transistor to be turned off by a second control signal, and in the shutdown state, controlling the first transistor to be turned off by the first control signal and controlling the second transistor to be turned on by the second control signal; The driving unit comprises: a logic unit, the logic unit is connected to the voltage sampling unit, the logic unit is configured to perform logic calculation on the input voltage and the output voltage, when it is detected that the input voltage is greater than a first threshold, the logic unit outputs a first enable signal, when it is detected that the output voltage is less than a second threshold, the logic unit outputs a second enable signal; a control unit, the control unit is connected to the voltage sampling unit, the logic unit and the control end of the first transistor and the control end of the second transistor, the control unit is configured to output a first control signal and a second control signal according to the input voltage, the output voltage, the first enable signal and the second enable signal, the first control signal is used to control the first transistor, and the second control signal is used to control the second transistor; Wherein, the logic unit includes: a first voltage-dividing module, a first end of the first voltage-dividing module is connected to the voltage sampling unit to receive the input voltage, a second end of the first voltage-dividing module is grounded, and the first voltage-dividing module includes a first voltage-dividing node with a voltage lower than the input voltage; a second voltage-dividing module, a first end of the second voltage-dividing module is connected to the voltage sampling unit to receive the output voltage, a second end of the second voltage-dividing module is grounded, and the second voltage-dividing module includes a second voltage-dividing node and a third voltage-dividing node, whose voltages are lower than the output voltage in sequence; a first logic module, the first logic module is connected to the first voltage-dividing node and the third voltage-dividing node, and the first logic module is configured to output a first enable signal according to the voltage of the first voltage-dividing node and the voltage of the third voltage-dividing node; a second logic module, the second logic module is connected to the second voltage-dividing node, and the second logic module is configured to output a second enable signal according to the voltage of the second voltage-dividing node.

2. The delayed power-off control circuit according to claim 1, characterized in that: The delay module also includes: A first capacitor, wherein a first end of the first capacitor is connected to a first end of the first transistor, and a second end of the first capacitor is grounded; A second capacitor, wherein a first end of the second capacitor is connected to the second end of the inductor, and a second end of the second capacitor is grounded.

3. The delayed power-off control circuit according to claim 2, characterized in that: The delay module also includes: a first resistor, wherein a first end of the first resistor is connected to a first end of the first capacitor, and a second end of the first resistor is grounded; A second resistor, wherein a first end of the second resistor is connected to a first end of the second capacitor, and a second end of the second resistor is grounded.

4. The delayed power-off control circuit according to claim 1, characterized in that: The first voltage dividing module comprises: a third resistor, a first end of the third resistor being connected to the voltage sampling unit to receive the input voltage; a fourth resistor, wherein a first end of the fourth resistor is connected to the second end of the third resistor to serve as the first voltage dividing node, and a second end of the fourth resistor is grounded.

5. The delayed power-off control circuit according to claim 1, characterized in that: The second voltage dividing module comprises: a fifth resistor, a first end of the fifth resistor being connected to the voltage sampling unit to receive the output voltage; a sixth resistor, wherein a first end of the sixth resistor is connected to the second end of the fifth resistor to serve as the second voltage dividing node; A seventh resistor, wherein a first end of the seventh resistor is connected to the second end of the sixth resistor to serve as the third voltage dividing node, and a second end of the seventh resistor is grounded.

6. The delayed power-off control circuit according to claim 1, characterized in that: The first logic module includes: A first comparator, wherein a first input terminal of the first comparator is connected to the third voltage-dividing node, and a second input terminal of the first comparator is configured to receive a first reference signal; a second comparator, wherein a first input terminal of the second comparator is configured to receive a second reference signal, and a second input terminal of the second comparator is connected to the first voltage dividing node; a first AND logic gate, wherein a first input end of the first AND logic gate is connected to an output end of the first comparator, and a second input end of the first AND logic gate is connected to an output end of the second comparator; An OR logic gate, wherein a first input end of the OR logic gate is connected to an output end of the first comparator, a second input end of the OR logic gate is connected to an output end of the first AND logic gate, and an output end of the OR logic gate is connected to the control unit to output the first enable signal.

7. The delayed power-off control circuit according to claim 1, characterized in that: The second logic module includes: A third comparator, wherein a first input terminal of the third comparator is configured to receive a third reference signal, a second input terminal of the third comparator is connected to the second voltage dividing node, and an output terminal of the third comparator is connected to the control unit to output the second enable signal.

8. The delayed power-off control circuit according to claim 1, characterized in that: The control unit comprises: a first switch, wherein a first end of the first switch is connected to the voltage sampling unit to receive the input voltage, and a control end of the first switch is connected to the logic unit to receive the first enable signal; a second switch, wherein a first end of the second switch is connected to the voltage sampling unit to receive the output voltage, and a control end of the second switch is connected to the logic unit to receive the second enable signal; a fourth comparator, wherein a first input terminal of the fourth comparator is connected to the second terminal of the first switch, and a second input terminal of the fourth comparator is connected to an AC source; a NOT logic gate, wherein an input end of the NOT logic gate is connected to an output end of the fourth comparator; a second AND logic gate, wherein a first input terminal of the second AND logic gate is connected to the output terminal of the fourth comparator, a second input terminal of the second AND logic gate is connected to the second terminal of the second switch, and an output terminal of the second AND logic gate is connected to the control unit to output a second control signal; A third AND logic gate, wherein the first input end of the third AND logic gate is connected to the output end of the non-logic gate, the second input end of the third AND logic gate is connected to the second end of the second switch, and the output end of the third AND logic gate is connected to the control unit to output a first control signal.

9. The delayed power-off control circuit according to claim 8, characterized in that: The control unit also includes: a subtractor, wherein a first input terminal of the subtractor is connected to a second terminal of the first switch, and a second input terminal of the subtractor is used to receive a first DC signal; An amplifier, wherein an input end of the amplifier is connected to an output end of the subtractor, and an output end of the amplifier is connected to a first input end of the fourth comparator.

10. An electronic device, characterized in that: The electronic device comprises a delayed power-off control circuit, and the delayed power-off control circuit is the delayed power-off control circuit as claimed in any one of claims 1 to 9.