CN110888518A - Control system and method of standby power system - Google Patents

Control system and method of standby power system Download PDF

Info

Publication number
CN110888518A
CN110888518A CN201911089938.4A CN201911089938A CN110888518A CN 110888518 A CN110888518 A CN 110888518A CN 201911089938 A CN201911089938 A CN 201911089938A CN 110888518 A CN110888518 A CN 110888518A
Authority
CN
China
Prior art keywords
signal
electric energy
level
power
main controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911089938.4A
Other languages
Chinese (zh)
Inventor
华要宇
王瑞杰
张兆峰
孙元帅
孔维凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201911089938.4A priority Critical patent/CN110888518A/en
Priority to PCT/CN2020/073402 priority patent/WO2021088259A1/en
Publication of CN110888518A publication Critical patent/CN110888518A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3296Power saving characterised by the action undertaken by lowering the supply or operating voltage

Abstract

The invention discloses a control system of a standby power system, which is characterized in that a NOT gate circuit is arranged between a main controller and a standby battery, so that the main controller can output a high level when controlling to start the electric energy output function of the standby battery, and can output a low level when controlling to close the electric energy output function of the standby battery, namely, when the main controller executes a standby power program and controls computer equipment to power off, even if the main controller outputs a low level due to insufficient power supply voltage, the low level still controls the electric energy output function of the standby battery to be closed after the high-low inversion of the NOT gate circuit, the electric energy output function of the standby battery cannot be enabled again, the power off operation can be smoothly executed, the electric energy is saved, and the service lives of related devices such as the standby battery and the like are prolonged. The invention also discloses a control method of the standby power system, which has the same beneficial effects as the control system of the standby power system.

Description

Control system and method of standby power system
Technical Field
The invention relates to the field of computers, in particular to a control system of a standby power system and a control method of the standby power system.
Background
A standby power system is usually provided in a computer device such as a storage device or a server, a main controller of the computer device can control a standby battery to supply power for a period of time when a main power supply of the computer device is powered off, and finish storage of related data and control power-off of the computer device during the period of time, under normal conditions, the main controller will output a low-level control signal to the standby battery to finish enabling of a power output function of the standby battery, and during finishing a standby power program and controlling power-off of the computer device, the main controller will output a high-level control signal to control a discharging function of the standby battery to be turned off, however, during the power-off process, along with reduction of a power supply voltage of the main controller, a high level originally output by the main controller may be reduced to a low level, and thus the power output function of the standby battery may be enabled again, and the computer equipment is powered on again and executes the standby power flow, which is obviously unnecessary, thereby increasing the waste of electric energy and reducing the service life of related devices such as a standby battery and the like.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a control system of a standby power system, which saves electric energy and prolongs the service life of related devices such as a standby battery and the like; another object of the present invention is to provide a method for controlling a standby power system, which saves power and prolongs the life of the standby battery and other related devices.
In order to solve the above technical problem, the present invention provides a control system of a standby power system, including:
the electric energy sensor is connected with a main power supply of the computer equipment and the main controller and is used for detecting preset type electric energy parameters of the main power supply;
the main controller is used for outputting a high level and executing a standby power program when the electric energy parameter is lower than a first preset threshold value, and outputting a low level when the standby power program is executed;
the NOT gate circuit is connected with the main controller and is used for transmitting the high level and the low level to a standby battery after high-low inversion;
and the standby battery is connected with the NOT gate circuit and used for starting the electric energy output function when receiving the high level after high-low inversion and closing the electric energy output function when receiving the low level after high-low inversion.
Preferably, the control system further comprises:
and the signal shaping device is respectively connected with the electric energy sensor and the main controller and is used for shaping the signal corresponding to the preset type of electric energy parameter and eliminating interference and then sending the signal to the main controller.
Preferably, the signal shaping device is a schmitt trigger.
Preferably, the control system of the power backup system further includes:
the controllable switches are respectively connected with the electric energy output end of the standby battery, the electric energy output end of the main controller and the control end of the main controller and are used for conducting under the control of a switch control signal output by the main controller so that the main controller can execute a standby power program;
and the bootstrap capacitor is connected with the main control unit and used for setting the capacitance value of the bootstrap capacitor by a user so as to increase the current value of the switch control signal.
Preferably, the control system of the power backup system further includes:
the communication loops are respectively connected with the main controller and the standby battery and are used for realizing interaction of preset information between the main controller and the standby battery;
and the surge current absorbing device is connected with the communication loop at the negative electrode and grounded at the positive electrode and is used for absorbing instant surge current.
Preferably, the surge current absorbing device is a transient diode TVS.
Preferably, the control system of the power backup system further includes:
and the current limiting resistor is connected in series with the communication loop and is used for limiting the current value in the communication loop.
Preferably, the control system of the power backup system further includes:
and the filter circuit is connected in series with the communication loop and is used for filtering the signals in the communication loop.
Preferably, the master controller is further configured to:
and the high-level signal, the low-level signal, the switch control signal with the electric energy output function and the signal to be sent to the communication loop are output after being processed by a filtering algorithm in advance.
Preferably, when the electric energy parameter is lower than a first preset threshold, the method specifically includes:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for the preset duration, judging that the electric energy parameter is lower than a first preset threshold value, and powering down the main power supply.
Preferably, the determining whether the level of the electric energy parameter is changed from a high level to a low level specifically includes:
acquiring two continuous sampling signals of the electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than the first preset threshold value, determining that the level of the electric energy parameter is changed from a high level to a low level.
Preferably, the outputting of the high-level signal, the low-level signal, the switch control signal with the power output function, and the signal to be sent to the communication loop after being processed by the filtering algorithm in advance is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop through the filtering device;
and outputting the filtered high-level signal, the filtered low-level signal, the filtered switch control signal and a signal to be sent to the communication loop.
Preferably, the inverter circuit comprises a first resistor, a second resistor, a direct current power supply and a metal oxide semiconductor field effect transistor (MOS) transistor;
the first end of the first resistor is connected with the direct current power supply, the second end of the first resistor is connected with the drain electrode of the MOS tube, the grid electrode of the MOS tube is respectively connected with the first end of the second resistor and the main controller, and the source electrode of the MOS tube is connected with the second end of the second resistor in common.
In order to solve the above technical problem, the present invention further provides a control method of a standby power system, including:
acquiring a preset type of electric energy parameter of the main power supply;
judging whether the electric energy parameter is lower than a first preset threshold value or not;
if yes, sending a high level to a NOT gate circuit with an output end connected with the standby battery and executing a standby power program;
and sending a low level to the NOT gate circuit when the standby power program is executed.
Preferably, the acquiring of the preset type of the electric energy parameter of the main power supply specifically includes:
and acquiring the preset type of electric energy parameters of the main power supply after the electric energy parameters are shaped by the signal shaping device and the interference is eliminated.
Preferably, the control method of the power backup system further includes:
the method comprises the following steps of outputting a high-level signal, a low-level signal, a switch control signal with an electric energy output function and a signal to be sent to a communication loop after being processed by a filtering algorithm in advance;
the communication loops are a plurality of communication loops which are respectively connected with the main controller and the standby battery and used for realizing interaction of preset information between the main controller and the standby battery.
Preferably, the determining whether the electric energy parameter is lower than a first preset threshold specifically includes:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for the preset duration, judging that the electric energy parameter is lower than a first preset threshold value, and powering down the main power supply.
Preferably, the determining whether the level of the electric energy parameter is changed from a high level to a low level specifically includes:
acquiring two continuous sampling signals of the electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than the first preset threshold value, determining that the level of the electric energy parameter is changed from a high level to a low level.
Preferably, the outputting of the high-level signal, the low-level signal, the switch control signal with the power output function, and the signal to be sent to the communication loop after being processed by the filtering algorithm in advance is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop through the filtering device;
and outputting the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop.
The invention provides a control system of a standby power system, which is characterized in that a NOT gate circuit is arranged between a main controller and a standby battery, so that the main controller can output a high level when controlling to start the electric energy output function of the standby battery, and can output a low level when controlling to close the electric energy output function of the standby battery, namely, when the main controller executes a standby power program and controls computer equipment to power off, even if the main controller outputs a low level due to insufficient power supply voltage, the low level still controls the electric energy output function of the standby battery to be closed after the high-low inversion of the NOT gate circuit, the electric energy output function of the standby battery cannot be enabled again, the power off operation can be smoothly executed, the electric energy is saved, and the service lives of related devices such as the standby battery and the like are prolonged.
The invention also provides a control method of the standby power system, which has the same beneficial effects as the control system of the standby power system.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a control system of a power backup system according to the present invention;
fig. 2 is a schematic structural diagram of a control system of another standby power system provided in the present invention;
fig. 3 is a schematic structural diagram of a schmitt trigger and its peripheral circuits according to the present invention;
fig. 4 is a schematic structural diagram of a discharge enable control loop of a backup battery according to the present invention;
fig. 5 is a schematic flow chart of a control method of a power backup system according to the present invention.
Detailed Description
The core of the invention is to provide a control system of a standby power system, which saves electric energy and prolongs the service life of related devices such as a standby battery and the like; the other core of the invention is to provide a control method of the standby power system, which saves electric energy and prolongs the service life of related devices such as standby batteries and the like.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a control system of a standby power system provided in the present invention, including:
the electric energy sensor 1 is connected with a main power supply of the computer equipment and the main controller 2 and is used for detecting preset type electric energy parameters of the main power supply;
the main controller 2 is used for outputting a high level and executing a standby power program when the electric energy parameter is lower than a first preset threshold value, and outputting a low level when the standby power program is executed;
the NOT gate circuit 3 is connected with the main controller 2 and is used for transmitting the high level and the low level to the standby battery 4 after reversing the high level and the low level;
and the standby battery 4 is connected with the NAND gate circuit 3 and used for starting the power output function when receiving a high level after high-low inversion and closing the power output function when receiving a low level after high-low inversion.
Specifically, the electric energy sensor 1 and the preset type of electric energy parameter detected by the electric energy sensor may be of various types, for example, a voltage sensor or a current sensor, and the corresponding electric energy parameter may be a voltage value or a current value, and the preset threshold value may be set autonomously according to actual experience, which is not limited herein in the embodiment of the present invention.
Specifically, in order to solve the problem that the low level automatically output by the main controller 2 will cause the power output function of the backup battery 4 to be turned on again due to the excessively low power supply voltage in the power-down process of the main controller 2, the embodiment of the present invention provides the not-gate circuit 3, the not-gate circuit 3 is disposed between the main controller 2 and the backup battery 4, and the high-low inversion function of the not-gate circuit 3 is utilized to convert the low level automatically output by the main controller 2 due to the excessively low power supply voltage into the high level and then transmit the high level to the backup battery 4, so that when the main controller 2 uncontrollably outputs the low level due to the excessively low power supply voltage, the power output function of the backup battery 4 will not be turned on any more, the power in the backup battery 4 is saved, and the service lives of the relevant devices such as the backup battery 4 are prolonged.
The not gate circuit 3 is arranged, and the enabling of the electric energy output function of the backup battery 4 needs low level to trigger, so that the program in the main controller 2 can be changed, and the output level is changed from low level to high level when the electric energy output function of the backup battery 4 is to be controlled to be started, and thus, the high level is output when the main controller 2 is to control the electric energy output function of the backup battery 4 to be started, and the high level can be converted into low level through the not gate circuit 3 and control the electric energy output function of the backup battery 4 to be started, so that the control function of the original main controller 2 on the electric energy output function of the backup battery 4 can be smoothly realized, and the technical problems are solved.
The invention provides a control system of a standby power system, which is characterized in that a NOT gate circuit is arranged between a main controller and a standby battery, so that the main controller can output a high level when controlling to start the electric energy output function of the standby battery, and can output a low level when controlling to close the electric energy output function of the standby battery, namely, when the main controller executes a standby power program and controls computer equipment to power off, even if the main controller outputs a low level due to insufficient power supply voltage, the low level still controls the electric energy output function of the standby battery to be closed after the high-low inversion of the NOT gate circuit, the electric energy output function of the standby battery cannot be enabled again, the power off operation can be smoothly executed, the electric energy is saved, and the service lives of related devices such as the standby battery and the like are prolonged.
For better explaining the embodiment of the present invention, please refer to fig. 2, fig. 2 is a schematic structural diagram of a control system of another standby power system provided by the present invention, and on the basis of the above embodiment:
as a preferred embodiment, the control system further comprises:
and the signal shaping device 5 is respectively connected with the electric energy sensor 1 and the main controller 2 and is used for shaping signals corresponding to preset electric energy parameters, eliminating interference and then sending the signals to the main controller 2.
Specifically, the shaping may refer to shaping a waveform of the analog signal, so that the main controller 2 can better process the signal, and stability is improved, and the interference resistance may refer to interference caused by an interference amount in an external environment on a signal corresponding to the electric energy parameter, such as electromagnetic interference, and the like, which is not limited herein in the embodiment of the present invention.
Wherein, no matter the plastic or eliminate the interference, all can be so that the signal that the electric energy parameter corresponds is more stable, and the main control unit 2 of being convenient for judges and handles, has guaranteed the normal clear of the work of being equipped with electricity.
For better explaining the embodiment of the present invention, please refer to fig. 3, fig. 3 is a schematic structural diagram of a schmitt trigger U1 and its peripheral circuits according to the present invention, and as a preferred embodiment, the signal shaping device 5 is a schmitt trigger U1.
Specifically, the schmitt trigger U1 has a function of shaping an analog signal, can shape a waveform of the analog signal into a square waveform that can be processed by a digital circuit, and is usable for interference resistance because the schmitt trigger U1 has hysteresis characteristics, and the schmitt trigger U1 also has advantages of small size and low price.
Of course, the signal shaping device 5 may be of various types other than the schmitt trigger U1, and the embodiment of the present invention is not limited herein.
The AC GOOD in fig. 3 may refer to a signal corresponding to the electric energy parameter collected by the electric energy sensor 1.
As a preferred embodiment, the control system of the power backup system further includes:
the controllable switches 6 are respectively connected with the electric energy output end of the standby battery 4, the electric energy input end of the main controller 2 and the control end of the main controller 2, and are used for conducting under the control of the switch control signal output by the main controller 2 so that the main controller 2 can execute a standby power program;
and the bootstrap capacitor 7 is connected with the main control unit, and is used for setting the capacitance value of the bootstrap capacitor 7 by a user so as to increase the current value of the switch control signal.
Specifically, the controllable switches 6 disposed between the power output end of the backup battery 4 and the main controller 2 may be of various types, such as MOS (Metal-Oxide-semiconductor field-effect transistor, etc.), the main controller 2 may generally output a current signal to drive the controllable switches 6 to conduct, so that the backup battery 4 supplies power to the main controller 2, and the larger the current value (within a certain range) of the current signal is, the more quickly the current signal can drive the controllable switches 6 to conduct, the operator may preset the capacitance value of the bootstrap capacitor 7 connected to the main controller 2 according to the specific type of the controllable switches 6, and by setting an appropriate capacitance value, the current value of the switch control signal output by the main controller 2 may be a larger value, so that the switch control signal has a stronger driving capability, the controllable switch 6 can be driven to be switched on quickly, so that the electric energy output of the standby battery 4 is accelerated, the switching from the main power supply to the power supply of the standby battery 4 can be completed quickly, the standby power program is executed, and the data safety is improved.
The capacitance value of the bootstrap capacitor 7 corresponds to the current value of the switch control signal output by the main controller 2, and the conduction speeds of the different types of controllable switches 6 driven by the switch control signals with different current values are different, so that a worker can autonomously set the capacitance value of the bootstrap capacitor 7 according to experience, which is not limited in the embodiment of the present invention.
The MOS transistor type controllable switch 6 may be two MOS transistors connected in parallel, each MOS transistor may include any number of MOS transistors, for example, one or two MOS transistors may be included, and the embodiment of the present invention is not limited herein.
For better explaining the embodiment of the present invention, please refer to fig. 4, fig. 4 is a schematic structural diagram of a discharge enable control loop of a backup battery 4 according to the present invention, and as a preferred embodiment, the control system of the backup system further includes:
the communication loops are respectively connected with the main controller 2 and the standby battery 4 and are used for realizing interaction of preset information between the main controller 2 and the standby battery 4;
and the surge current absorbing device D1 with the negative electrode connected with the communication loop and the positive electrode grounded is used for absorbing instant surge current.
Specifically, during and before the power backup process, the main controller 2 needs to perform various types of information interaction with the backup battery 4, for example, the main controller 2 may perform signal interaction with the backup battery 4 through the I2C bus and acquire the operating state (for example, power information and fault condition) of the backup battery 4, and may also send a test signal bbitest of the backup battery 4, a charging signal bbarge of the backup battery 4, a system preparation signal SYSPRE, and an electric energy output function enabling signal bbenable to the backup battery 4, and almost every signal has its own dedicated communication loop.
In order to ensure the correctness and stability of signal transmission in each communication loop, in the embodiment of the present invention, a surge current absorption device D1 is disposed in each communication loop, and can absorb an instantaneous surge current, such as external electrostatic interference and lightning interference, for example, which is not limited herein.
As a preferred embodiment, the surge current absorbing device D1 is a TVS (transient voltage supply, transient diode).
The TVS has the advantages of small volume, low price, long service life and the like.
Of course, the surge current absorbing device D1 may be other types besides TVS, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the control system of the power backup system further includes:
and the current limiting resistor R2 is connected in series in the communication loop and is used for limiting the current value in the communication loop.
Specifically, although the TVS can clamp the high voltage at a lower value, for example, 2V when the high voltage is generated outside, the current in the communication loop is still increased by the smaller voltage value after clamping, and the communication loop is generally a loop with a small current load, and if the current value in the communication loop is too large, the relevant devices may be damaged, so that the current limiting resistor R2 may be connected in series in the communication loop, thereby limiting the current value in the communication loop and protecting the relevant devices in the communication loop.
The current limiting resistor R2 may be of various types, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the control system of the power backup system further includes:
and the filter circuit 8 is connected in series with the communication loop and is used for filtering signals in the communication loop.
Specifically, filter circuit 8 can carry out filtering processing to the signal in the communication return circuit, filters clutter interference wherein to make main control unit 2 and reserve battery 4 can receive more stable accurate signal, strengthen the stability and the reliability of stand-by power system, further improved the data security of computer equipment after the main power source falls the electricity.
The filter circuit 8 may be of various types, for example, the filter circuit may be an RC filter circuit 8, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the main controller 2 is further configured to:
and the high-level signal, the low-level signal, the switch control signal and the signal to be sent to the communication loop are output after being processed by a filtering algorithm in advance.
Specifically, considering that only filtering the signal from hardware is not enough to completely eliminate the interference amount and the instability factor in the signal, the main controller 2 in the embodiment of the present invention may eliminate jitter from the signal to be transmitted through a filtering algorithm before outputting the signal, and then output the signal, so that the signal circulating in the standby power system is more stable and reliable, and the reliability of the standby power system is further improved.
The filtering algorithm may eliminate rising edge ringing, glitch, external interference influence, and the like of the signal, and a specific execution main body for executing the filtering algorithm in the main controller 2 may be an FPGA (field programmable Gate Array), and the like, which is not limited herein in the embodiment of the present invention.
The filtering algorithm may be of various types, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, when the power parameter is lower than the first preset threshold, specifically:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for a preset time, judging that the electric energy parameter is lower than a first preset threshold value, and powering off the main power supply.
Specifically, in order to prevent the influence of the level change caused by fluctuation on the judgment result, in the embodiment of the invention, after the level of the electric energy parameter is changed from the high level to the low level, and the low level can be kept stable for a preset time, the electric energy parameter is judged to be lower than a first preset value, namely, the power failure of the main power supply is judged.
The preset duration may be set autonomously, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the step of determining whether the level of the power parameter changes from the high level to the low level specifically includes:
acquiring two continuous sampling signals of electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than a first preset threshold value, judging that the level of the electric energy parameter is changed from a high level to a low level.
Specifically, the two continuous sampling signals of the electrical energy parameter are obtained because whether the level of the electrical energy parameter changes in a low-high manner or a high-low manner can be determined through the two continuous sampling signals of the electrical energy parameter, wherein if an absolute value of a voltage difference between the two sampling signals is greater than a second preset threshold, it can be proved that the voltage difference between the two sampling signals is too large, that is, it can be proved that the level of the electrical energy parameter changes in a low-high manner or a high-low manner.
Specifically, after the level of the electric energy parameter is judged to be changed from low to high or from high to low, the voltage value of the sampling signal acquired last time in the two sampling signals is judged to be smaller than a first preset threshold value, and the sampling signal acquired last time can be randomly proved to belong to a low level, so that the level of the electric energy parameter can be proved to be changed from high to low.
Of course, in addition to the method for determining that the level of the power parameter changes from high to low in the embodiment of the present invention, the method for determining that the level of the power parameter changes from high to low may also be in other specific forms, and the embodiment of the present invention is not limited herein.
Specifically, the determination of whether the low level converted from the high level can last for the preset duration may be performed by using continuous sampling signals, for example, a new sampling signal may be sampled again on the basis of the previous two sampling signals, and each sampling operation to obtain a new sampling signal may compare the two recently acquired sampling signals, and if the voltage difference between the two recently acquired sampling signals is not greater than the second preset threshold, it may be proved that the level of the electrical energy parameter does not change at the time corresponding to the two sampling points, that is, it is proved that the signal of the electrical energy parameter remains at the low level in one sampling period, and the determination may be repeated until a determination result of "whether the low level converted from the high level can last for the preset duration" is obtained.
Wherein, the second preset threshold may be set autonomously, for example, the second preset threshold may be set to 20% of the high level standard value, and the like, and of course, when determining the absolute value of the voltage difference between two consecutive sampling signals, specifically, "determine whether the absolute value of the voltage difference between two consecutive sampling signals is greater than the second preset threshold and less than the third preset threshold", considering that the absolute value of the voltage difference between two consecutive sampling signals is usually not too large unless encountering signal fluctuation, therefore, the subsequent steps may be performed under the condition that "the absolute value of the voltage difference between two consecutive sampling signals is greater than the second preset threshold and less than the third preset threshold", when the absolute value of the voltage difference between two consecutive sampling signals is less than the second threshold, it may be determined that the level is not changed, and when the absolute value of the voltage difference between two consecutive sampling signals is greater than the third preset threshold, it may be determined that the latest sampling signal is an interference signal, the third preset threshold may also be set autonomously, for example, the third preset threshold may be set to 120% of the high-level standard value, and the embodiment of the present invention is not limited herein.
The first preset threshold may be autonomously set, for example, may be set to 40% of a standard value of a high level, and when a voltage value of a sampling signal obtained last time in two consecutive sampling signals is smaller than the first preset threshold, it may be determined that a sampling signal acquired last time is a low level, otherwise, the sampling signal is a high level.
As a preferred embodiment, the outputting of the high-level signal, the low-level signal, the switch control signal with the power output function and the signal to be sent to the communication loop after being processed by the filtering algorithm in advance is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to a communication loop through a filtering device;
and outputting the filtered high-level signal, low-level signal, switch control signal and signal to be sent to the communication loop.
Specifically, some hardware devices (such as an FPGA) may construct a virtual filtering device through an algorithm, where the virtual filtering device formed by connecting even number of nand gates in series has the advantages of simple structure and good filtering effect.
Of course, except for the virtual filtering device formed by connecting even number of nand gates in series, the high level signal, the low level signal, the switch control signal with the power output function and the signal to be sent to the communication loop may be processed in advance through a filtering algorithm in other specific forms.
As a preferred embodiment, the not-gate circuit 3 includes a first resistor R3, a second resistor R4, a dc power supply, and a mosfet Q1;
a first end of the first resistor R3 is connected to the dc power supply, a second end of the first resistor R3 is connected to the drain of the MOS transistor Q1, the gate of the MOS transistor Q1 is connected to the first end of the second resistor R4 and the main controller 2, respectively, and the source of the MOS transistor Q1 is grounded to the second end of the second resistor R4.
Specifically, the not-gate circuit 3 based on the MOS transistor Q1 has the advantages of small size, low cost, long service life, and the like.
Of course, the not gate circuit 3 may be of various types other than the not gate circuit 3 based on the MOS transistor Q1, and the embodiment of the present invention is not limited herein.
Wherein bbenable in fig. 4 may be a high-level signal or a low-level signal output by the main controller 2, BBUENL may be a high-level signal or a low-level signal received by the backup battery 4, and 3.3V in fig. 3 may be used as the dc power supply.
Referring to fig. 5, fig. 5 is a schematic flow chart of a control method of a power backup system according to the present invention, including:
step S1: acquiring an electric energy parameter of a preset type of a main power supply;
step S2: judging whether the electric energy parameter is lower than a first preset threshold value or not;
step S3: if yes, sending a high level to a NOT gate circuit 3 of which the output end is connected with a standby battery 4 and executing a standby power program;
step S4: and sending low level to the NOT circuit 3 when the standby power program is executed.
As a preferred embodiment, the obtaining of the preset type of power parameter of the main power supply specifically includes:
and acquiring the preset type of electric energy parameters of the main power supply after the main power supply is shaped by the signal shaping device and interference is eliminated.
As a preferred embodiment, the control method of the power backup system further includes:
the method comprises the following steps of outputting a high-level signal, a low-level signal, a switch control signal with an electric energy output function and a signal to be sent to a communication loop after being processed by a filtering algorithm in advance;
the communication loops are a plurality of communication loops respectively connected with the main controller 2 and the backup battery 4, and are used for realizing interaction of preset information between the main controller 2 and the backup battery 4.
As a preferred embodiment, the step of determining whether the power parameter is lower than the first preset threshold specifically includes:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for a preset time, judging that the electric energy parameter is lower than a first preset threshold value, and powering off the main power supply.
As a preferred embodiment, the step of determining whether the level of the power parameter changes from the high level to the low level specifically includes:
acquiring two continuous sampling signals of electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than a first preset threshold value, judging that the level of the electric energy parameter is changed from a high level to a low level.
As a preferred embodiment, the outputting of the high-level signal, the low-level signal, the switch control signal with the power output function and the signal to be sent to the communication loop after being processed by the filtering algorithm in advance is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to a communication loop through a filtering device;
and outputting the high-level signal, the low-level signal, the switch control signal and the signal to be sent to the communication loop.
For the introduction of the control method of the standby power system provided in the embodiment of the present invention, reference is made to the foregoing embodiment of the control system of the standby power system, and details of the embodiment of the present invention are not repeated herein.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (19)

1. A control system for a backup power system, comprising:
the electric energy sensor is connected with a main power supply of the computer equipment and the main controller and is used for detecting preset type electric energy parameters of the main power supply;
the main controller is used for outputting a high level and executing a standby power program when the electric energy parameter is lower than a first preset threshold value, and outputting a low level when the standby power program is executed;
the NOT gate circuit is connected with the main controller and is used for transmitting the high level and the low level to a standby battery after high-low inversion;
and the standby battery is connected with the NOT gate circuit and used for starting the electric energy output function when receiving the high level after high-low inversion and closing the electric energy output function when receiving the low level after high-low inversion.
2. The control system of the power backup system according to claim 1, further comprising:
and the signal shaping device is respectively connected with the electric energy sensor and the main controller and is used for shaping the signal corresponding to the preset type of electric energy parameter and eliminating interference and then sending the signal to the main controller.
3. The control system of the power backup system according to claim 2, wherein the signal shaping device is a schmitt trigger.
4. The control system of the power backup system according to claim 2, further comprising:
the controllable switches are respectively connected with the electric energy output end of the standby battery, the electric energy output end of the main controller and the control end of the main controller and are used for conducting under the control of a switch control signal output by the main controller so that the main controller can execute a standby power program;
and the bootstrap capacitor is connected with the main control unit and used for setting the capacitance value of the bootstrap capacitor by a user so as to increase the current value of the switch control signal.
5. The control system of the power backup system according to claim 4, further comprising:
the communication loops are respectively connected with the main controller and the standby battery and are used for realizing interaction of preset information between the main controller and the standby battery;
and the surge current absorbing device is connected with the communication loop at the negative electrode and grounded at the positive electrode and is used for absorbing instant surge current.
6. The control system of the power backup system according to claim 5, wherein the surge current absorbing device is a transient diode TVS.
7. The control system of the power backup system according to claim 5, further comprising:
and the current limiting resistor is connected in series with the communication loop and is used for limiting the current value in the communication loop.
8. The control system of the power backup system according to claim 5, further comprising:
and the filter circuit is connected in series with the communication loop and is used for filtering the signals in the communication loop.
9. The control system of the power backup system of claim 5, wherein the master controller is further configured to:
and the high-level signal, the low-level signal, the switch control signal with the electric energy output function and the signal to be sent to the communication loop are output after being processed by a filtering algorithm in advance.
10. The control system of the power backup system according to claim 1, wherein when the power parameter is lower than a first preset threshold, the control system is specifically:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for the preset duration, judging that the electric energy parameter is lower than a first preset threshold value, and powering down the main power supply.
11. The control system of the power backup system according to claim 10, wherein the determining whether the level of the power parameter changes from a high level to a low level specifically comprises:
acquiring two continuous sampling signals of the electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than the first preset threshold value, determining that the level of the electric energy parameter is changed from a high level to a low level.
12. The control system of the power backup system according to claim 9, wherein the outputting of the high level signal, the low level signal, the switch control signal of the power output function and the signal to be sent to the communication loop after being processed by the filtering algorithm is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop through the filtering device;
and outputting the filtered high-level signal, the filtered low-level signal, the filtered switch control signal and a signal to be sent to the communication loop.
13. The control system of the power backup system according to any one of claims 1 to 12, wherein the inverter circuit comprises a first resistor, a second resistor, a dc power source and a mosfet;
the first end of the first resistor is connected with the direct current power supply, the second end of the first resistor is connected with the drain electrode of the MOS tube, the grid electrode of the MOS tube is respectively connected with the first end of the second resistor and the main controller, and the source electrode of the MOS tube is connected with the second end of the second resistor in common.
14. A method for controlling a backup power system, comprising:
acquiring a preset type of electric energy parameter of the main power supply;
judging whether the electric energy parameter is lower than a first preset threshold value or not;
if yes, sending a high level to a NOT gate circuit with an output end connected with the standby battery and executing a standby power program;
and sending a low level to the NOT gate circuit when the standby power program is executed.
15. The control method of the power standby system according to claim 14, wherein the obtaining of the preset type of power parameters of the main power supply specifically comprises:
and acquiring the preset type of electric energy parameters of the main power supply after the electric energy parameters are shaped by the signal shaping device and the interference is eliminated.
16. The method for controlling a power backup system according to claim 15, further comprising:
the method comprises the following steps of outputting a high-level signal, a low-level signal, a switch control signal with an electric energy output function and a signal to be sent to a communication loop after being processed by a filtering algorithm in advance;
the communication loops are a plurality of communication loops which are respectively connected with the main controller and the standby battery and used for realizing interaction of preset information between the main controller and the standby battery.
17. The method for controlling the power backup system according to claim 16, wherein the determining whether the power parameter is lower than a first preset threshold specifically comprises:
judging whether the level of the electric energy parameter is changed from a high level to a low level;
if the level of the electric energy parameter is changed from a high level to a low level, judging whether the low level changed from the high level can last for a preset time;
and if the low level converted from the high level can last for the preset duration, judging that the electric energy parameter is lower than a first preset threshold value, and powering down the main power supply.
18. The control system of the power backup system according to claim 17, wherein the determining whether the level of the power parameter changes from a high level to a low level specifically comprises:
acquiring two continuous sampling signals of the electric energy parameters;
judging whether the absolute value of the voltage difference value of two continuous sampling signals is greater than a second preset threshold value or not;
and if the absolute value of the voltage difference value of the two continuous sampling signals is greater than a second preset threshold value, and the voltage value of the sampling signal acquired last time in the two continuous sampling signals is less than the first preset threshold value, determining that the level of the electric energy parameter is changed from a high level to a low level.
19. The control system of the power backup system according to claim 18, wherein the outputting of the high level signal, the low level signal, the switch control signal of the power output function and the signal to be sent to the communication loop after being processed by the filtering algorithm is specifically:
a filtering device formed by connecting an even number of NAND gates in series is constructed in advance through an algorithm;
filtering the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop through the filtering device;
and outputting the high level signal, the low level signal, the switch control signal and a signal to be sent to the communication loop.
CN201911089938.4A 2019-11-08 2019-11-08 Control system and method of standby power system Pending CN110888518A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911089938.4A CN110888518A (en) 2019-11-08 2019-11-08 Control system and method of standby power system
PCT/CN2020/073402 WO2021088259A1 (en) 2019-11-08 2020-01-21 Control system and method for power backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089938.4A CN110888518A (en) 2019-11-08 2019-11-08 Control system and method of standby power system

Publications (1)

Publication Number Publication Date
CN110888518A true CN110888518A (en) 2020-03-17

Family

ID=69747196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089938.4A Pending CN110888518A (en) 2019-11-08 2019-11-08 Control system and method of standby power system

Country Status (2)

Country Link
CN (1) CN110888518A (en)
WO (1) WO2021088259A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162619A (en) * 2020-09-18 2021-01-01 北京浪潮数据技术有限公司 Server, server starting method and device and related equipment
CN113534696A (en) * 2021-06-16 2021-10-22 广东盈科电子有限公司 Toppling detection device for electric appliance and control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202854223U (en) * 2012-10-10 2013-04-03 湖州聚能自动化技术有限公司 Power failure detection device
CN205753617U (en) * 2016-05-20 2016-11-30 深圳市优博讯科技股份有限公司 A kind of intelligent terminal with active and standby battery handoff functionality
US20170237285A1 (en) * 2016-02-16 2017-08-17 Dell Products, L.P. System and method for achieving controlled load transition between power supplies and battery backup units
CN108491058A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of the powered-off fault data guard method and device of Nonvolatile memory
CN109032319A (en) * 2018-07-24 2018-12-18 郑州云海信息技术有限公司 A kind of backup power supply system and storage system storing equipment
CN109065086A (en) * 2018-09-07 2018-12-21 郑州云海信息技术有限公司 A kind of test macro storing power failure protection of equipment circuit

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1982004345A1 (en) * 1981-05-27 1982-12-09 Aswell Cecil James Power supply control for integrated circuit
CN203101494U (en) * 2013-03-15 2013-07-31 深圳市银河表计股份有限公司 AC (alternating current) electric supply power failure detection circuit, equipment and system
CN103678178B (en) * 2013-10-10 2017-06-09 华为技术有限公司 A kind of power down process method and system of storage system
CN105652074B (en) * 2014-12-03 2018-08-10 万国半导体(开曼)股份有限公司 Voltage detecting circuit and the method for detecting voltage change
CN109116964A (en) * 2018-07-26 2019-01-01 郑州云海信息技术有限公司 A kind of server method of supplying power to and its power supply unit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202854223U (en) * 2012-10-10 2013-04-03 湖州聚能自动化技术有限公司 Power failure detection device
US20170237285A1 (en) * 2016-02-16 2017-08-17 Dell Products, L.P. System and method for achieving controlled load transition between power supplies and battery backup units
CN205753617U (en) * 2016-05-20 2016-11-30 深圳市优博讯科技股份有限公司 A kind of intelligent terminal with active and standby battery handoff functionality
CN108491058A (en) * 2018-04-03 2018-09-04 郑州云海信息技术有限公司 A kind of the powered-off fault data guard method and device of Nonvolatile memory
CN109032319A (en) * 2018-07-24 2018-12-18 郑州云海信息技术有限公司 A kind of backup power supply system and storage system storing equipment
CN109065086A (en) * 2018-09-07 2018-12-21 郑州云海信息技术有限公司 A kind of test macro storing power failure protection of equipment circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162619A (en) * 2020-09-18 2021-01-01 北京浪潮数据技术有限公司 Server, server starting method and device and related equipment
CN113534696A (en) * 2021-06-16 2021-10-22 广东盈科电子有限公司 Toppling detection device for electric appliance and control method

Also Published As

Publication number Publication date
WO2021088259A1 (en) 2021-05-14

Similar Documents

Publication Publication Date Title
US11002441B2 (en) Leakage protection circuit, method and drive device
CN110880737B (en) Charging chip, overvoltage protection circuit thereof and portable electronic equipment
CN109194317B (en) Reset circuit and wearable equipment
CN111352534B (en) Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium
CN108123509B (en) Charging control method and related device thereof
CN103905756A (en) Television set failure processing device and television set
CN110888518A (en) Control system and method of standby power system
CN109963394A (en) A kind of flash switch detection circuit and Intelligent lamp
EP4027160B1 (en) Universal plug status detection circuit
CN204190483U (en) Power supply switch circuit
CN203984377U (en) One is with soft start and turn-off switching circuit fast
CN111999662B (en) Method for detecting external switch state of battery of UPS
CN210669590U (en) Lithium battery management application circuit
CN112649724A (en) Power failure detection circuit and method and MCU chip
CN205028661U (en) Supply circuit and power management circuit
CN210427768U (en) Power supply access state detection circuit and electronic device
CN211351688U (en) ACC trigger control's undervoltage protection circuit, two mesh camera devices and autopilot system
CN203502529U (en) Switching on/of judging circuit of electric leakage reclosure breaker
CN205901363U (en) Apparatus for controlling charge
CN112072801A (en) Wireless charging and discharging module control method, kitchen appliance control method and controller
CN110531818A (en) Sequential control method and circuit
CN207459711U (en) Output protection circuit
CN211878084U (en) Power failure warning circuit and electronic equipment
CN111884496B (en) ALD power-on circuit following AISG3.0 protocol
CN110139443B (en) Net clearing device of electrical equipment, lamp equipment and net clearing control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200317

RJ01 Rejection of invention patent application after publication