Control method of emergency power supply system, emergency power supply system, and electronic device
By terminating the discharge of the power supply battery in the emergency power supply system and detecting the charging current and relay status, the problem of misjudgment caused by battery over-discharge is solved, ensuring the normal charging of the power supply battery and improving the power supply reliability and stability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- EVE ENERGY CO LTD
- Filing Date
- 2026-02-26
- Publication Date
- 2026-06-09
AI Technical Summary
When the battery voltage is over-discharged, the existing emergency power supply system may cause the battery management system to misjudge that the battery is permanently lost due to command transmission delays, thus stopping charging and affecting the reliability of power supply and system stability.
By terminating the discharge when the battery voltage falls below a first preset threshold and closing the pre-charge relay after the discharge relay is opened, the charging current and relay status are detected to ensure normal charging of the battery and improve system stability.
This solves the problem of misjudgment of power supply battery loss caused by over-discharge, ensuring that the power supply battery can still be charged normally after over-discharge, and improving the power supply reliability and system stability of the emergency power supply system.
Smart Images

Figure CN122178486A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of energy storage system charging and discharging control technology, and particularly to control methods for emergency power supply systems, emergency power supply systems, electronic devices, and computer-readable storage media. Background Technology
[0002] In related technologies, emergency power supply systems often employ a configuration of charging and discharging relays connected in series and a diode connected in parallel to achieve separate control of charging and discharging. Under this architecture, when the battery management system detects that the battery voltage of the emergency power supply system is lower than the relay's disconnection threshold, it controls the discharge relay to disconnect. The system then relies on the battery's voltage naturally recovering to the relay's closing threshold after resting to trigger the discharge relay to close again and resume charging. However, this approach can lead to over-discharging of the battery due to command transmission delays, preventing the voltage from recovering to the relay's closing threshold. This can cause the battery management system to misjudge the battery as permanently lost, stop operating, and refuse to execute charging commands, making it difficult to ensure the reliability and stability of the emergency power supply system. Summary of the Invention
[0003] This application provides a control method for an emergency power supply system, an emergency power supply system, an electronic device, and a computer-readable storage medium.
[0004] This application provides a control method for an emergency power supply system. The emergency power supply system includes a power supply battery and a charge / discharge control circuit. The charge / discharge control circuit controls the charging and discharging of the power supply battery and includes a charging relay, a discharging relay, and a pre-charge relay. The method includes:
[0005] If the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, the power supply battery is controlled to terminate discharge. If it is determined that the power supply battery has terminated its discharge, the discharge relay is disconnected. If it is determined that the discharge relay is open, control the closing of the precharge relay; When the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay is controlled to close, and the level state of the charging relay is detected, the level state including the first level state. When the charging relay is in the first level state, the pre-charge relay is controlled to disconnect.
[0006] Thus, when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, the power supply battery discharge is stopped. Next, upon confirming the power supply battery discharge has stopped, the discharge relay is opened. Then, upon confirming the discharge relay is open, the pre-charge relay is closed. Subsequently, with the pre-charge relay closed and no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay is closed, and the voltage level of the charging relay is detected, including a first voltage level. Finally, with the charging relay in the first voltage level state, the pre-charge relay is opened. In this way, by reusing the pre-charge relay, the problem of misjudging the power supply battery due to over-discharge and inability to detect the battery voltage after the discharge relay is opened can be solved, ensuring that the power supply battery can still charge normally after over-discharge, thus improving the power supply reliability and system stability of the emergency power supply system.
[0007] In some embodiments, controlling the power supply battery to terminate discharge when the voltage of the power supply battery is detected to be less than a first preset voltage threshold includes: If the voltage of the power supply battery is detected to be lower than the first preset voltage threshold, a discharge prohibition command is generated; According to the discharge prohibition command, the power supply battery is controlled to stop discharging.
[0008] Thus, when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, a discharge prohibition command is generated. Then, based on the discharge prohibition command, the power supply battery is controlled to terminate discharge. In this way, by comparing the voltage of the power supply battery with the first preset voltage threshold, discharge can be terminated in time when the power supply battery is close to over-discharge but has not caused substantial damage, thereby protecting the internal structure of the battery and extending its service life.
[0009] In some embodiments, the method further includes: Detect the discharge current flowing out of the power supply battery; If the discharge current flowing out of the power supply battery is less than or equal to the second preset current threshold, the discharge of the power supply battery is determined to be terminated.
[0010] Thus, the discharge current flowing from the power supply battery is detected. Then, if the discharge current flowing from the power supply battery is less than or equal to a second preset current threshold, the discharge of the power supply battery is terminated. In this way, by using the condition that the discharge current is less than or equal to the second preset current threshold, it is ensured that the discharge relay operates under low current conditions when it is coarsely disconnected, thereby avoiding relay contact burning and component damage caused by high current disconnection, thus extending the relay's service life and reducing system maintenance costs.
[0011] In some embodiments, the method further includes: Detect the voltage of the discharge relay; The level state of the discharge relay is determined based on the voltage of the discharge relay, and the level state includes a second level state; When the discharge relay is in the second level state, it is determined that the discharge relay is disconnected.
[0012] Thus, the voltage of the discharge relay is detected. Next, based on the discharge relay voltage, the level state of the discharge relay is determined, including a second level state. Then, if the discharge relay is in the second level state, it is determined that the discharge relay is open. This prevents the pre-charge relay from closing due to the discharge relay not being open, avoiding the large current surge caused by two circuits conducting simultaneously. It protects the pre-charge resistor, pre-charge relay, discharge relay, and other components from burnout or breakdown damage, extending their service life.
[0013] In some embodiments, determining the level state of the discharge relay based on its voltage includes a second level state, comprising: If the voltage of the discharge relay is greater than or equal to a first voltage threshold, the discharge relay is determined to be in the first level state. If the voltage of the discharge relay is less than or equal to the second voltage threshold, the discharge relay is determined to be in the second level state.
[0014] Thus, when the voltage of the discharge relay is greater than or equal to the first voltage threshold, the discharge relay is determined to be in the first level state. Then, when the voltage of the discharge relay is less than or equal to the second voltage threshold, the discharge relay is determined to be in the second level state. In this way, by establishing clear level state determination conditions, a basis can be provided for determining the level state of the discharge relay, thereby avoiding safety accidents such as circuit conflicts and high-current surges to devices caused by mistakenly closing the pre-charge relay due to a misjudgment that the discharge relay has not disconnected.
[0015] In some embodiments, the method further includes: Detect the preset dimensional parameter information of the power supply battery; The existence of the charging fault is determined by comparing the preset dimension parameter information with the preset dimension judgment threshold.
[0016] In this way, the preset dimensional parameter information of the power supply battery is detected. Then, the preset dimensional parameter information is compared with the preset dimensional judgment threshold to determine whether a charging fault exists. In this way, by detecting multiple dimensional parameters and comparing them with thresholds, it is possible to accurately identify whether a charging fault exists in the power supply battery, avoid charging damage caused by abnormal battery conditions, and thus improve the safety of the charging process.
[0017] In some implementations, the preset dimension parameter information includes the temperature of the power supply battery, and the step of comparing the preset dimension parameter information with a preset dimension judgment threshold to determine the existence of the charging fault includes: If the temperature of the power supply battery is greater than or equal to a preset temperature threshold, it is determined that the emergency power supply system has a charging fault. If the temperature of the power supply battery is lower than the preset temperature threshold, it is determined that the emergency power supply system does not have the charging fault.
[0018] Thus, if the battery temperature is greater than or equal to a preset temperature threshold, a charging fault is determined in the emergency power supply system. Conversely, if the battery temperature is less than the preset temperature threshold, no charging fault is determined. By comparing the temperature with the preset temperature threshold, thermal damage to the battery caused by high-temperature charging after discharge can be avoided, thereby reducing the probability of safety accidents such as thermal runaway and bulging, and ensuring battery safety.
[0019] This application also provides an emergency power supply system, which is controlled based on the above-described method.
[0020] Thus, when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, the power supply battery is controlled to terminate discharge. Next, upon confirming the termination of power supply battery discharge, the discharge relay is controlled to open. Then, upon confirming the discharge relay is open, the pre-charge relay is controlled to close. Subsequently, with the pre-charge relay closed and no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay is controlled to close, and the level state of the charging relay is detected, including a first level state. Finally, with the charging relay in the first level state, the pre-charge relay is controlled to open. In this way, by reusing the pre-charge relay, the problem of misjudging power supply battery loss due to the inability to detect the battery voltage in the emergency power supply system after the discharge relay is opened due to over-discharge can be solved, ensuring that the power supply battery can still charge normally after over-discharge, thus improving the power supply reliability and system stability of the emergency power supply system.
[0021] In some embodiments, the emergency power supply system includes a power supply battery and a charge / discharge control circuit, wherein the charge / discharge control circuit is used to control the charging and discharging of the power supply battery; The charging and discharging control circuit includes a main charging and discharging branch, which includes a charging relay and a discharging relay connected in series, as well as a first diode and a second diode. The anode of the first diode is connected to the power supply side of the charging relay, and the cathode of the first diode is connected to the load side of the charging relay. The anode of the second diode is connected to the load side of the discharging relay, and the cathode of the second diode is connected to the power supply side of the discharging relay. The charge and discharge control circuit includes a pre-charge relay branch, which includes a pre-charge relay and a first resistor, wherein the first resistor and the pre-charge relay are connected in series. The main charging / discharging branch is connected in parallel with the pre-charge relay branch.
[0022] Thus, the emergency power supply system includes a power supply battery and a charge / discharge control circuit. The charge / discharge control circuit controls the charging and discharging of the power supply battery. The charge / discharge control circuit includes a main charge / discharge branch, which comprises a charging relay and a discharging relay connected in series, as well as a first diode and a second diode. The anode of the first diode is connected to the power supply side of the charging relay, and the cathode is connected to the load side of the charging relay. The anode of the second diode is connected to the load side of the discharging relay, and the cathode is connected to the power supply side of the discharging relay. The charge / discharge control circuit also includes a pre-charge relay branch, which comprises a pre-charge relay and a first resistor connected in series. The main charge / discharge branch and the pre-charge relay branch are connected in parallel. This reverse parallel diode and relay series design enables unidirectional conduction of the charging and discharging current, avoiding path conflicts and short-circuit risks, and improving the accuracy of charge / discharge control.
[0023] In some embodiments, the emergency power supply system further includes a voltage sensor and a current detection module; The voltage sensor is connected in parallel to the positive and negative terminals of the power supply battery, and the voltage sensor is configured to detect the voltage of the power supply battery; The current detection module is configured to detect the charging / discharging current of the emergency power supply system.
[0024] Thus, a voltage sensor is connected in parallel to the positive and negative terminals of the power supply battery, and is configured to detect the battery voltage. Next, a current detection module is configured to detect the charging / discharging current of the emergency power supply system. In this way, the voltage sensor's detection ensures accurate timing of the discharge termination trigger, and the current detection module ensures reliable relay on / off judgment, thereby avoiding control logic malfunctions caused by data distortion and improving the control accuracy of the emergency power supply system.
[0025] In some implementations, the current detection module includes a Hall sensor and / or a shunt.
[0026] Thus, the current detection module includes a Hall sensor and / or a shunt. The shunt ensures accuracy in detecting large currents, while the Hall sensor improves sensitivity for small and medium currents, thereby preventing control logic malfunctions caused by data distortion and improving the control accuracy of the emergency power supply system.
[0027] This application also provides an electronic device in which a computer program is stored in a memory, and the processor executes the computer program to implement the steps of the above method.
[0028] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described method.
[0029] Additional aspects and advantages of embodiments of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this application. Attached Figure Description
[0030] The above and additional aspects and advantages of this application will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is one of the flowcharts illustrating the control method of an emergency power supply system according to certain embodiments of this application; Figure 2 This is a second schematic flowchart of the control method for an emergency power supply system according to certain embodiments of this application; Figure 3 This is the third flowchart illustrating the control method of an emergency power supply system according to certain embodiments of this application; Figure 4 This is the fourth flowchart illustrating the control method of an emergency power supply system according to certain embodiments of this application; Figure 5 This is the fifth flowchart illustrating the control method of an emergency power supply system according to certain embodiments of this application; Figure 6This is a flowchart of the control method of the emergency power supply system according to certain embodiments of this application, number six. Figure 7 This is the seventh flowchart illustrating the control method of an emergency power supply system according to certain embodiments of this application; Figure 8 This is a schematic diagram of the structure of an emergency power supply system according to certain embodiments of this application. Detailed Implementation
[0031] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of this application, and should not be construed as limiting the embodiments of this application.
[0032] In related technologies, emergency power supply systems are widely used in scenarios with extremely high requirements for power continuity, such as data centers. They can respond quickly when the main power supply is interrupted, releasing energy through built-in batteries to maintain load operation, and recharging promptly after the main power supply is restored for future use. To achieve independent control and safety isolation of the charging and discharging process, emergency power supply systems often employ a configuration of charging and discharging relays connected in series and diodes connected in parallel, enabling separate control of charging and discharging. The series-connected charging and discharging relays serve as the core of the main circuit's on / off switching, responsible for carrying high current transmission and circuit isolation. The parallel-connected diodes utilize their unidirectional conduction characteristics to precisely separate the charging and discharging paths.
[0033] In the control logic of this architecture, the Battery Management System (BMS) is the decision-making unit, which determines the charging and discharging status by monitoring the battery voltage in real time. When the battery voltage is detected to be lower than the preset discharge relay disconnection threshold, the BMS triggers a protection mechanism to disconnect the discharge relay to terminate the discharge and prevent damage from over-discharge. Subsequently, the battery voltage naturally recovers during the resting process. That is, after the battery stops discharging, the internal polarization effect subsides, and the terminal voltage gradually recovers to the discharge relay closing threshold. At this time, the BMS controls the discharge relay to close again, and the Uninterruptible Power Supply (UPS) then starts the charging process.
[0034] However, this approach is insufficient to meet the reliability requirements under complex operating conditions. Firstly, most emergency power supply systems employ a three-tier BMS architecture: the battery management unit (SMBMU) detects the voltage threshold, reports it to the main battery management unit (MBMU), and then the MBMU issues a command to disconnect the discharge relay. This entire process involves unavoidable communication delays. In high-rate discharge scenarios, the battery voltage drops extremely rapidly, especially when the battery is low on charge, causing the voltage to fall below the safety threshold and resulting in deep over-discharge. Secondly, deep over-discharge damages the internal cell structure, making it difficult for the terminal voltage to recover to the discharge relay's closing threshold. More importantly, the unidirectional conduction characteristic of the diodes in the existing architecture further exacerbates the problem. When the discharge relay is disconnected, there is no effective path in the main circuit to provide a voltage signal to the UPS's detection port. Even if the battery voltage recovers slightly, it cannot be detected by the UPS due to the diode's cutoff, resulting in neither the UPS nor the BMS detecting the battery's presence.
[0035] In this situation, the BMS cannot identify the battery status, mistakenly judging it as permanently lost, thus triggering the system protection mechanism, stopping all operating processes and refusing to receive charging commands. Even if the main power supply is subsequently restored, the system cannot automatically start charging, requiring manual intervention for troubleshooting.
[0036] Based on the above issues, please refer to Figure 1 This application provides a control method for an emergency power supply system. The emergency power supply system includes a power supply battery and a charge / discharge control circuit. The charge / discharge control circuit controls the charging and discharging of the power supply battery and includes a charging relay, a discharging relay, and a pre-charge relay. The method includes: 011: If the voltage of the power supply battery is detected to be lower than the first preset voltage threshold, control the power supply battery to stop discharging; 012: When it is determined that the power supply battery has stopped discharging, control the disconnection of the discharge relay; 013: If the discharge relay is confirmed to be open, control the closing of the pre-charge relay; 014: When the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to the first preset current threshold, the discharge relay is controlled to close, and the level status of the charging relay is detected. 015: When the charging relay is in the first level state, control the pre-charge relay to disconnect.
[0037] This application also provides an electronic device, including a memory and a processor. The control method for the emergency power supply system of this application can be implemented by the electronic device of this application. Specifically, the memory stores a computer program, and the processor is used to control the power supply battery to terminate discharge when the voltage of the power supply battery is detected to be less than a first preset voltage threshold. And when the discharge of the power supply battery is determined to have terminated, the processor controls the discharge relay to open. And when the discharge relay is determined to be open, the processor controls the pre-charge relay to close. The processor is also used to, when the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, control the discharge relay to close, and detect the level state of the charging relay. And when the charging relay is in a first level state, the processor controls the pre-charge relay to open.
[0038] This application also provides an emergency power supply system control device. The control method of the emergency power supply system according to this application can be implemented by the emergency power supply system control device. Specifically, the emergency power supply system control device includes a control module, which is used to control the power supply battery to terminate discharge when the voltage of the power supply battery is detected to be less than a first preset voltage threshold. It also controls the discharge relay to open when the discharge relay is determined to have terminated. Furthermore, it controls the pre-charge relay to close when the discharge relay is determined to be open. The control module is also used to, when the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, control the discharge relay to close and detect the level state of the charging relay. Finally, it controls the pre-charge relay to open when the charging relay is in a first level state.
[0039] Specifically, an emergency power supply system refers to a system that can quickly start up and provide continuous power to the load when the main power supply system fails or is interrupted. It can ensure the power continuity of important scenarios such as data centers and consists of power supply batteries and charging and discharging control circuits.
[0040] The power supply battery is the energy source of the emergency power supply system. It provides discharge output to the load and receives external charging to replenish the power. It has multiple protection mechanisms such as overcharge protection, over-discharge protection and over-temperature protection.
[0041] The charge / discharge control circuit refers to the execution unit. By controlling the circuit elements in this circuit, functions such as charge / discharge on / off control, pre-charge protection, and safety protection of the power supply battery can be achieved. The charge / discharge control circuit includes a charging relay, a discharging relay, a pre-charge relay, and a detection module.
[0042] A charging relay is a device that controls the on / off state of the charging circuit. Under normal circumstances, when the system is powered on and there is no alarm, it remains closed. It only opens when the power supply battery is fully charged or a charging fault is triggered, ensuring that the charging circuit is turned on as needed.
[0043] A discharge relay is a device that controls the opening and closing of a discharge circuit. It is normally closed and only opens when the battery triggers the discharge protection threshold and the discharge current drops to a safe range, in order to prevent over-discharge or high current from cutting off and damaging the device.
[0044] A pre-charge relay refers to an auxiliary control device that includes a circulating current relay and a pre-charge resistor. It typically charges the capacitor of an uninterruptible power supply (UPS) to reduce instantaneous inrush current when an emergency power supply system is powered on. In this embodiment, it can also provide a path for battery voltage detection after discharge and output charging current to the power supply battery until the power supply battery resumes normal charging.
[0045] The first preset voltage threshold refers to the critical voltage that triggers the termination of discharge, i.e., the secondary protection threshold for discharge, which is typically 2.8V. When the voltage of the power supply battery is lower than the first preset voltage threshold, it indicates that the power supply battery is approaching or in an over-discharge state, and the discharge must be terminated immediately.
[0046] The first preset current threshold refers to the critical current for determining normal charging startup, which is typically 10A. When the charging current flowing to the power supply battery exceeds this first preset current threshold, it indicates that the UPS is able to stably charge the power supply battery and can switch to the main charging circuit.
[0047] Charging malfunctions refer to abnormal states that hinder safe charging, including overheating during charging. This is to prevent battery damage caused by charging before the battery temperature has cooled down after discharging.
[0048] The first level state refers to the closed state of the relay, i.e., the high level, which is used to confirm whether the charging relay is in a normal conducting state and to provide a basis for the pre-charge relay to disconnect.
[0049] It should be noted that the emergency power supply system also includes a battery management system. As the core control unit, the battery management system can collect key parameters such as the voltage, charging and discharging current, temperature, and level status of each relay in real time. It analyzes and judges the collected parameters, such as whether a discharge alarm is triggered, whether there is a charging fault, and whether the relays are on or off in the correct position. It generates corresponding control signals to achieve coordinated control of the charging and discharging circuit, related control devices, and UPS, ensuring the safe and stable operation of the emergency power supply system during charging and discharging.
[0050] The battery management system monitors the battery voltage in real time. When the battery voltage falls below a first preset voltage threshold, it immediately controls the battery to stop discharging. This accurately detects when the battery is approaching the critical state of over-discharge, preventing premature termination that leads to energy waste or premature termination that causes damage due to over-discharge.
[0051] Subsequently, after the power supply battery stops discharging, the battery management system needs to further confirm that the discharge has completely stopped, that is, by detecting whether the discharge current has dropped to a safe range, and then control the discharge relay to disconnect.
[0052] After the discharge relay is disconnected, the battery management system detects the voltage level of the discharge relay. Once it confirms that the relay is in the disconnected state (i.e., the second voltage level state), it controls the precharge relay to close.
[0053] After the pre-charge relay closes, the control module must simultaneously meet two conditions before controlling the closing of the discharge relay: there is no charging fault in the emergency power supply system and the charging current flowing to the power supply battery is greater than or equal to the first preset current threshold. At the same time, the control module needs to detect the voltage level of the charging relay to confirm it is in the first voltage level state, ensuring the main charging circuit is conducting. The absence of a charging fault in the emergency power supply system ensures that the power supply battery will not be damaged. Detecting that the charging current flowing to the power supply battery is greater than or equal to the first preset current threshold ensures that the UPS has entered a stable charging state. At this point, closing the discharge relay can switch to the main charging circuit, ensuring charging efficiency.
[0054] After the charging relay is in the closed state and the main charging circuit is working normally, the control module controls the pre-charge relay to open. This avoids current diversion or circuit conflict caused by the pre-charge circuit and the main charging circuit working simultaneously, ensuring that all charging current is transmitted through the main circuit, improving charging efficiency, and reducing the ineffective losses of the pre-charge circuit.
[0055] In summary, in the control method and emergency power supply system provided in this application, when the voltage of the power supply battery is detected to be less than a first preset voltage threshold, the power supply battery is controlled to terminate discharge. Next, when it is determined that the power supply battery discharge has terminated, the discharge relay is controlled to open. Then, when it is determined that the discharge relay is open, the pre-charge relay is controlled to close. Subsequently, when the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay is controlled to close, and the level state of the charging relay is detected, including a first level state. Finally, when the charging relay is in the first level state, the pre-charge relay is controlled to open. Thus, by reusing the pre-charge relay, the problem of misjudging the power supply battery loss due to the inability to detect the battery voltage after the discharge relay is opened due to over-discharge can be solved, ensuring that the power supply battery can still charge normally after over-discharge, thereby improving the power supply reliability and system stability of the emergency power supply system.
[0056] Please see Figure 2 In some embodiments, step 011 (controlling the power supply battery to terminate discharge when the voltage of the power supply battery is detected to be less than a first preset voltage threshold) includes: 0111: If the voltage of the power supply battery is detected to be lower than the first preset voltage threshold, a discharge prohibition command is generated; 0112: Based on the command to prohibit discharge, control the power supply battery to stop discharging.
[0057] In some implementations, the control module is further configured to generate a discharge prohibition command when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, and to control the power supply battery to terminate discharge according to the discharge prohibition command.
[0058] In some implementations, the processor is further configured to generate a discharge prohibition command when it detects that the voltage of the power supply battery is less than a first preset voltage threshold, and to control the power supply battery to terminate discharge according to the discharge prohibition command.
[0059] Specifically, the "discharge prohibition command" refers to a digital control signal generated by the battery management system, which is used to clearly inform the UPS and the power supply battery itself to stop discharging.
[0060] Controlling the discharge of the power supply battery refers to the operation of stopping the power supply battery from outputting current to the outside through command transmission and device response. This can prevent the battery from being damaged by over-discharge due to continuous voltage drop, and ensure battery safety and system stability.
[0061] The BMS collects the terminal voltage data of the power supply battery in real time through voltage sensors. The acquisition frequency is matched with the system control precision to ensure that the process of rapid voltage drop can be captured in a timely manner.
[0062] Subsequently, the collected voltage data is compared in real time with the pre-stored first preset voltage threshold to determine whether the discharge termination trigger condition has been met.
[0063] When the voltage data is lower than the first preset voltage threshold, the processor immediately generates a discharge prohibition command and sends it to the UPS through a preset communication interface. Upon receiving the command, the UPS immediately stops drawing power from the battery and disconnects the load from the battery.
[0064] At the same time, the BMS will continuously monitor the discharge current data to confirm that the discharge current has dropped to zero or within a safe range, thus completing the verification of discharge termination.
[0065] Thus, when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, a discharge prohibition command is generated. Then, based on the discharge prohibition command, the power supply battery is controlled to terminate discharge. In this way, by comparing the voltage of the power supply battery with the first preset voltage threshold, discharge can be terminated in time when the power supply battery is close to over-discharge but has not caused substantial damage, thereby protecting the internal structure of the battery and extending its service life.
[0066] Please see Figure 3 In some implementations, the method further includes: 016: Detect the discharge current flowing out of the power supply battery; 017: If the discharge current flowing out of the power supply battery is less than or equal to the second preset current threshold, the discharge of the power supply battery is terminated.
[0067] In some implementations, the processor is also configured to detect the discharge current flowing out of the power supply battery, and determine that the power supply battery discharge has terminated if the discharge current flowing out of the power supply battery is less than or equal to a second preset current threshold.
[0068] In some implementations, the control module is also used to detect the discharge current flowing out of the power supply battery, and to determine that the power supply battery discharge is terminated if the discharge current flowing out of the power supply battery is less than or equal to a second preset current threshold.
[0069] Specifically, the second preset current threshold refers to the critical current value for determining whether the discharge has safely terminated, typically 10A, to prevent damage to high-current disconnection devices. This second preset current threshold is set based on the safe operating characteristics of the relay and is not directly related to the characteristics of the battery itself; it serves only as a criterion for circuit safety control.
[0070] The BMS collects real-time discharge current data from the power supply battery through a shunt and / or Hall sensor. The acquisition frequency is matched with the system control cycle to ensure timely response to current changes.
[0071] The BMS continuously compares and analyzes the real-time current data with the pre-stored second preset current threshold to determine whether the current discharge current has dropped to a safe range.
[0072] If the comparison result shows that the discharge current is greater than the second preset current threshold, the BMS will continue to send a prohibition discharge command to the UPS, maintain the execution state of the discharge termination command, and continue to collect and compare discharge current data.
[0073] If the comparison result shows that the discharge current is less than or equal to the second preset current threshold, the BMS immediately generates a discharge termination confirmation signal to confirm that the power supply battery has stopped discharging, providing a trigger signal for the subsequent operation of disconnecting the discharge relay.
[0074] Thus, the discharge current flowing from the power supply battery is detected. Then, if the discharge current flowing from the power supply battery is less than or equal to a second preset current threshold, the discharge of the power supply battery is terminated. In this way, by using the condition that the discharge current is less than or equal to the second preset current threshold, it is ensured that the discharge relay operates under low current conditions when it is coarsely disconnected, thereby avoiding relay contact burning and component damage caused by high current disconnection, thus extending the relay's service life and reducing system maintenance costs.
[0075] Please see Figure 4 In some implementations, the method further includes: 018: Detect the voltage of the discharge relay; 019: Determine the voltage level of the discharge relay; 020: When the discharge relay is in the second level state, determine that the discharge relay is disconnected.
[0076] In some implementations, the control module is also used to detect the voltage of the discharge relay, determine the voltage level of the discharge relay based on the voltage of the discharge relay, and determine that the discharge relay is open if it is in a second voltage level state.
[0077] In some implementations, the processor is also configured to detect the voltage of the discharge relay, determine the voltage level of the discharge relay based on the voltage of the discharge relay, and determine that the discharge relay is open if the discharge relay is in a second voltage level state.
[0078] Specifically, the voltage of a discharge relay refers to the voltage signal across the two ends of the discharge relay or its control coil, which reflects the working state of the relay. The change in the voltage of the discharge relay is directly related to the on / off state of the discharge relay.
[0079] Level state refers to the electrical signal state used to characterize the on / off state of a relay. It is divided into two types: first level state and second level state, which are defined by the voltage range of the relay.
[0080] The second level state refers to the level signal that indicates the discharge relay is in the open state, i.e., low level. When the discharge relay is open, the voltage at its two ends or the coil voltage drops to a preset low voltage range, corresponding to the low level state, which is a sign that the discharge circuit is cut off.
[0081] After sending the command to disconnect the discharge relay, the BMS immediately starts the voltage detection program. Through preset detection interfaces, such as shunt-assisted detection or direct acquisition of the voltage across the relay, the voltage data of the discharge relay is collected in real time. The acquisition frequency is synchronized with the system control cycle to ensure rapid response to changes in status.
[0082] The BMS compares and analyzes the collected voltage data with the pre-stored level state thresholds in real time to determine the level state of the discharge relay.
[0083] If the discharge relay is in the second level state, the BMS generates a discharge relay disconnection confirmation signal to trigger the subsequent operation of closing the precharge relay.
[0084] Thus, the voltage of the discharge relay is detected. Next, based on the discharge relay voltage, the level state of the discharge relay is determined, including a second level state. Then, if the discharge relay is in the second level state, it is determined that the discharge relay is open. This prevents the pre-charge relay from closing due to the discharge relay not being open, avoiding the large current surge caused by two circuits conducting simultaneously. It protects the pre-charge resistor, pre-charge relay, discharge relay, and other components from burnout or breakdown damage, extending their service life.
[0085] Please see Figure 5 In some embodiments, step 019 (determining the level state of the discharge relay based on the voltage of the discharge relay) includes: 0191: When the voltage of the discharge relay is greater than or equal to the first voltage threshold, the discharge relay is determined to be in the first level state; 0192: When the voltage of the discharge relay is less than or equal to the second voltage threshold, the discharge relay is determined to be in the second level state.
[0086] In some embodiments, the control module is further configured to determine that the discharge relay is in a first level state when the voltage of the discharge relay is greater than or equal to a first voltage threshold, and to determine that the discharge relay is in a second level state when the voltage of the discharge relay is less than or equal to a second voltage threshold.
[0087] In some embodiments, the processor is further configured to determine that the discharge relay is in a first level state when the voltage of the discharge relay is greater than or equal to a first voltage threshold, and to determine that the discharge relay is in a second level state when the voltage of the discharge relay is less than or equal to a second voltage threshold.
[0088] Specifically, the first voltage threshold refers to the critical voltage value for determining that the discharge relay is in the first level state. It is preset based on the system operating voltage conditions and the characteristics of the relay device, and is usually a value close to the system operating voltage or the rated voltage of the coil.
[0089] The second voltage threshold refers to the critical voltage value for determining that the discharge relay is in the second level state. It is usually a value close to 0V or much lower than the rated voltage of the coil, forming a clear judgment range with the first voltage threshold.
[0090] The first level state refers to the level signal corresponding to the closed state of the discharge relay, that is, a high level. When the discharge relay is closed, the voltage reaches or exceeds the first voltage threshold, and the BMS determines it to be the first level state, which indicates that the discharge circuit is conducting.
[0091] The second level state refers to the level signal corresponding to the discharge relay being disconnected, i.e., a low level. When the discharge relay is disconnected, the voltage drops to or below the second voltage threshold, and the BMS determines it to be the second level state, indicating that the discharge circuit is cut off.
[0092] It should be noted that the logic for determining the charging relay level state is the same as that for determining the discharging relay level state, but the voltage threshold value used to determine the level state may be different.
[0093] Thus, when the voltage of the discharge relay is greater than or equal to the first voltage threshold, the discharge relay is determined to be in the first level state. Then, when the voltage of the discharge relay is less than or equal to the second voltage threshold, the discharge relay is determined to be in the second level state. In this way, by establishing clear level state determination conditions, a basis can be provided for determining the level state of the discharge relay, thereby avoiding safety accidents such as circuit conflicts and high-current surges to devices caused by mistakenly closing the pre-charge relay due to a misjudgment that the discharge relay has not disconnected.
[0094] Please see Figure 6 In some implementations, the method further includes: 021: Detect preset dimensional parameter information of the power supply battery; 022: Compare the preset dimension parameter information with the preset dimension judgment threshold to determine the existence of charging fault.
[0095] In some implementations, the control module is also used to detect preset dimensional parameter information of the power supply battery, and to compare the preset dimensional parameter information with preset dimensional judgment thresholds to determine the existence of a charging fault.
[0096] In some implementations, the processor is also used to detect preset dimension parameter information of the power supply battery, and to compare the preset dimension parameter information with a preset dimension judgment threshold to determine the existence of a charging fault.
[0097] Specifically, the preset dimension parameter information refers to the battery status parameters that are pre-set for judging charging safety and need to be monitored, including parameters such as battery temperature and charging circuit insulation resistance, which can reflect whether the power supply battery is suitable for charging.
[0098] The preset dimension judgment threshold refers to the critical value set for each preset dimension parameter, including the fault trigger threshold and the fault recovery threshold. It is a standardized basis for judging whether the parameter is abnormal and whether charging should be prohibited. It is usually pre-calibrated based on battery safety characteristics and system design requirements.
[0099] Charging failure refers to a state in which abnormal preset parameters of the power supply battery may cause battery damage or system failure during the charging process.
[0100] After closing the pre-charge relay, the BMS will initiate a preset dimensional parameter acquisition program. For example, it will collect temperature data of the surface of the power supply battery and related areas through a temperature sensor.
[0101] Subsequently, the real-time parameter values of each preset dimension are compared one by one with the corresponding preset dimension judgment threshold to determine the existence of charging faults.
[0102] In some implementations, the existence of a charging fault can be determined as follows: if the real-time parameter value of any preset dimension exceeds the corresponding judgment threshold, it is determined that a charging prohibition fault exists.
[0103] In this way, the preset dimensional parameter information of the power supply battery is detected. Then, the preset dimensional parameter information is compared with the preset dimensional judgment threshold to determine whether a charging fault exists. In this way, by detecting multiple dimensional parameters and comparing them with thresholds, it is possible to accurately identify whether a charging fault exists in the power supply battery, avoid charging damage caused by abnormal battery conditions, and thus improve the safety of the charging process.
[0104] Please see Figure 7 In some implementations, the preset dimension parameter information includes the temperature of the power supply battery. Step 022 (comparing the preset dimension parameter information with the preset dimension judgment threshold to determine the existence of a charging fault) includes: 0221: If the temperature of the power supply battery is greater than or equal to the preset temperature threshold, it is determined that there is a charging fault in the emergency power supply system; 0222: If the temperature of the power supply battery is lower than the preset temperature threshold, it is determined that there is no charging fault in the emergency power supply system.
[0105] In some implementations, the control module is further configured to determine that a charging fault exists in the emergency power supply system when the temperature of the power supply battery is greater than or equal to a preset temperature threshold.
[0106] In some implementations, the processor is further configured to determine that a charging fault exists in the emergency power supply system when the temperature of the power supply battery is greater than or equal to a preset temperature threshold.
[0107] Specifically, the preset temperature threshold refers to the critical temperature value pre-calibrated based on battery safety characteristics and system design requirements, usually 40°C, used to determine whether charging needs to be prohibited.
[0108] After closing the pre-charge relay, the BMS immediately starts the temperature acquisition program. Through temperature sensors deployed on the surface of the battery cells and related areas, it collects the temperature data of the power supply battery in real time. The acquisition frequency is synchronized with the system control cycle to ensure that temperature changes can be captured in a timely manner.
[0109] Subsequently, the BMS compares the temperature data with pre-stored preset temperature thresholds in real time. If the battery temperature is greater than or equal to the preset temperature threshold, a charging prohibition fault is determined in the emergency power supply system. The BMS immediately generates a charging prohibition command, sends it to the UPS, and disconnects the charging relay, suspending the subsequent charging process. If the battery temperature is less than the preset temperature threshold, it indicates that the battery can proceed with the charging process normally.
[0110] It should be noted that in some implementations, if there is a charging fault in the power supply battery, the BMS will continuously monitor the temperature. When the temperature drops below the preset temperature recovery threshold, it will automatically determine that the fault has been eliminated, generate a charging permission signal, and resume the charging process, ensuring that dynamic temperature control can be achieved without manual intervention.
[0111] It should also be noted that in some implementations, the temperature is continuously monitored while the power supply battery is being charged. When the temperature is detected to rise above a preset temperature threshold, it is determined that there is a charging prohibition fault in the emergency power supply system. The BMS immediately generates a charging prohibition command, sends it to the UPS, disconnects the charging relay, and suspends the subsequent charging process.
[0112] Thus, if the battery temperature is greater than or equal to a preset temperature threshold, a charging fault is determined in the emergency power supply system. Conversely, if the battery temperature is less than the preset temperature threshold, no charging fault is determined. By comparing the temperature with the preset temperature threshold, thermal damage to the battery caused by high-temperature charging after discharge can be avoided, thereby reducing the probability of safety accidents such as thermal runaway and bulging, and ensuring battery safety.
[0113] This application also provides an emergency power supply system 1000, which is controlled based on the above-described method.
[0114] Specifically, when the voltage sensor detects that the battery voltage is lower than a first preset voltage threshold, the battery management system generates a discharge prohibition command and sends it to the UPS to terminate the battery discharge.
[0115] Next, the Hall sensor HES detects that the discharge current is less than or equal to the second preset current threshold. The battery management system confirms that the discharge has stopped and controls the discharge relay K2 to be disconnected.
[0116] Subsequently, the voltage sensor detects the voltage of the discharge relay K2. After the battery management system determines that it is in the second level state and confirms that the relay is open, the pre-charge relay K3 is closed to ensure that the UPS can detect the battery voltage of the power supply battery.
[0117] Next, the temperature sensor detects the battery temperature, and the battery management system compares the battery temperature with a preset temperature threshold. If it is determined that there is no charging fault in the power supply battery, charging is allowed to start.
[0118] Then, the Hall sensor HES detects that the charging current is greater than or equal to the first preset current threshold. The battery management system controls the closing of the discharge relay K2. If the charging relay K1 is detected to be in the first level state, the pre-charge relay K3 is opened and the battery enters the normal charging state.
[0119] Thus, when the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, the power supply battery is controlled to terminate discharge. Next, upon confirming the termination of power supply battery discharge, the discharge relay K2 is controlled to open. Then, upon confirming the discharge relay K2 is open, the pre-charge relay K3 is controlled to close. Subsequently, with the pre-charge relay K3 closed and no charging fault in the emergency power supply system 1000, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay K2 is controlled to close, and the level state of the charging relay K1 is detected, including a first level state. Finally, with the charging relay K1 in the first level state, the pre-charge relay K3 is controlled to open. In this way, by reusing the pre-charge relay K3, the problem of misjudging power supply battery loss due to the inability to detect the battery voltage in the emergency power supply system 1000 after the discharge relay K2 is opened due to over-discharge can be solved, ensuring that the power supply battery can still charge normally after over-discharge, thus improving the power supply reliability and system stability of the emergency power supply system 1000.
[0120] Please see Figure 8 In some embodiments, the emergency power supply system 1000 includes a power supply battery and a charge / discharge control circuit, the charge / discharge control circuit being used to control the charging and discharging of the power supply battery. The charging and discharging control circuit includes a main charging and discharging branch, which includes a charging relay K1 and a discharging relay K2 connected in series, as well as a first diode D1 and a second diode D2. The positive terminal of the first diode D1 is connected to the power supply side of the charging relay K1, and the negative terminal of the first diode D1 is connected to the load side of the charging relay K1. The positive terminal of the second diode D2 is connected to the load side of the discharging relay K2, and the negative terminal of the second diode D2 is connected to the power supply side of the discharging relay K2. The charge and discharge control circuit includes a pre-charge relay K3 branch, which includes a pre-charge relay K3 and a first resistor R1, with the first resistor R1 and the pre-charge relay K3 connected in series. The main charging and discharging branch is connected in parallel with the pre-charge relay K3 branch.
[0121] Specifically, the charging and discharging control circuit refers to the control unit of the emergency power supply system 1000, which is responsible for the on / off state of the charging and discharging circuit, path switching, and current limiting protection. It includes the main charging and discharging branch and the pre-charge relay K3 branch, and is the hardware foundation for achieving precise charging and discharging control.
[0122] The main charging and discharging branch refers to the branch that undertakes the normal charging and discharging power transmission. It consists of charging relay K1, discharging relay K2, first diode D1, and second diode D2, realizing the separation of charging and discharging paths and unidirectional conduction control.
[0123] Charging relay K1 / discharging relay K2 refers to the on / off device of the main charging and discharging branch. It is normally closed and only opens when the protection condition is triggered, and can control the on / off of the main circuit.
[0124] The first diode D1 is a unidirectional conducting device that can be used to separate the charging and discharging paths. The first diode D1 is adapted to the direction of the charging current.
[0125] The second diode D2 is a unidirectional conducting device that can be used to separate the charging and discharging paths. The second diode D2 is adapted to the direction of the discharging current. The first diode D1 and the second diode D2 are connected in parallel in opposite directions across the corresponding relay terminals to ensure that the charging current only flows through the charging path and the discharging current only flows through the discharging path.
[0126] The pre-charge relay K3 branch refers to the auxiliary protection branch, which consists of the pre-charge relay K3 and the first resistor R1 connected in series and connected in parallel across the main charging and discharging branch. It is used to pre-charge the UPS capacitor when the emergency power supply system 1000 is powered on, and to provide a detection voltage to the UPS after discharging, so as to avoid large current surges.
[0127] The first resistor R1 refers to the pre-charge resistor, which has low resistance and high power characteristics and is used to limit the instantaneous current when the pre-charge relay K3 is closed.
[0128] During the power-on phase of the emergency power supply system 1000, after power-on, the BMS first closes the pre-charge relay K3, making the pre-charge relay K3 branch conductive. Current flows through the power supply battery, pre-charge relay K3, first resistor R1, and UPS capacitor, slowly charging the UPS capacitor with a small current to avoid instantaneous large current surges. After the UPS capacitor is fully charged and the current stabilizes, the BMS closes the charging relay K1 and the discharging relay K2, making the main charging and discharging branch conductive, and the pre-charge relay K3 opens, allowing the system to enter normal operation.
[0129] During the normal discharge phase of the emergency power supply system (1000), both charging relay K1 and discharging relay K2 remain closed. The first diode D1 is reverse-biased and cut off, while the second diode D2 is forward-biased and conducts. Current flows from the positive terminal of the power supply battery, through discharging relay K2, the second diode D2, the UPS, and back to the negative terminal of the power supply battery, forming a discharge circuit and achieving power output.
[0130] During the discharge termination phase, when the battery voltage drops to the first preset threshold, the BMS controls the discharge relay K2 to disconnect, cutting off the main discharge path. At this time, the second diode D2 is reverse-biased and cut off, preventing the main charging and discharging branch from providing detection voltage to the UPS. The BMS immediately closes the pre-charge relay K3, transmitting voltage to the UPS through the pre-charge branch to ensure the UPS can continuously detect the battery's presence and prevent battery loss.
[0131] During the recovery charging phase, after the UPS starts charging, if the BMS detects that the charging current is greater than or equal to the first preset threshold and there is no charging prohibition fault, it closes the discharge relay K2, and the main charging and discharging branch resumes conduction. At this time, the first diode D1 is forward-biased, and current flows from the UPS, the first diode D1, the charging relay K1, and the power supply battery to form a charging circuit. After the BMS detects that the charging relay K1 is at a high level, it opens the pre-charge relay K3, and all the charging current is transmitted through the main charging and discharging branch, achieving normal charging.
[0132] Thus, the emergency power supply system 1000 includes a power supply battery and a charge / discharge control circuit. The charge / discharge control circuit controls the charging and discharging of the power supply battery. The charge / discharge control circuit includes a main charge / discharge branch, which includes a charging relay K1 and a discharging relay K2 connected in series, as well as a first diode D1 and a second diode D2. The anode of the first diode D1 is connected to the power supply side of the charging relay K1, and the cathode of the first diode D1 is connected to the load side of the charging relay K1. The anode of the second diode D2 is connected to the load side of the discharging relay K2, and the cathode of the second diode D2 is connected to the power supply side of the discharging relay K2. The charge / discharge control circuit also includes a pre-charge relay K3 branch, which includes a pre-charge relay K3 and a first resistor R1 connected in series. The main charge / discharge branch and the pre-charge relay K3 branch are connected in parallel. This reverse parallel diode and relay series design enables unidirectional conduction of the charging and discharging current, avoiding path conflicts and short-circuit risks, and improving the accuracy of charge / discharge control.
[0133] Please refer to the following: Figure 8 In some embodiments, the emergency power supply system 1000 further includes a voltage sensor and a current detection module; A voltage sensor is connected in parallel to the positive and negative terminals of the power supply battery. The voltage sensor is configured to detect the voltage of the power supply battery. The current detection module is configured to detect the charging / discharging current of the emergency power supply system 1000.
[0134] Specifically, a voltage sensor is a device used to detect battery voltage. It has anti-interference and low drift characteristics, and collects voltage signals in parallel. It is a detection device for judging the risk of battery over-discharge.
[0135] The current detection module refers to a composite detection unit consisting of a shunt and a Hall effect sensor (HES). The shunt is connected in series in the main negative circuit, suitable for high current detection. The HES is installed in the main circuit, suitable for small to medium current detection. Together, they achieve full-range acquisition of charging and discharging current.
[0136] Please refer to the following: Figure 8In some implementations, the emergency power supply system 1000 also includes a main circuit switch QF1, a fuse FUSE, and a negative relay K4.
[0137] Thus, a voltage sensor is connected in parallel to the positive and negative terminals of the power supply battery, and is configured to detect the battery voltage. Next, a current detection module is configured to detect the charging / discharging current of the emergency power supply system 1000. In this way, the voltage sensor's detection ensures accurate timing of the discharge termination trigger, and the current detection module ensures reliable relay on / off judgment, thereby avoiding control logic malfunctions caused by data distortion and improving the control accuracy of the emergency power supply system 1000.
[0138] In some implementations, the current sensing module includes a Hall sensor (HES) and / or a shunt.
[0139] Specifically, a Hall effect sensor (HES) refers to a non-contact current sensing device that operates based on the Hall effect principle. It does not need to be connected in series with the main circuit; instead, it converts the magnetic field strength of the main circuit into a current signal. Hall effect sensors (HES) feature good high-voltage insulation, fast response speed, and high accuracy in detecting small to medium currents, making them suitable for small to medium current ranges.
[0140] A shunt is a precision resistive device with low resistance, high accuracy, and low temperature coefficient, which needs to be connected in series in the main circuit. According to Ohm's law, when current flows, a voltage drop proportional to the current is generated. The current can be calculated by detecting the voltage drop. Shunts are suitable for high current detection and are characterized by low cost, high accuracy in high current detection, and strong stability.
[0141] Thus, the current detection module includes a Hall effect sensor (HES) and / or a shunt. The shunt ensures accuracy for high current detection, while the Hall effect sensor (HES) improves sensitivity for small and medium currents, thereby preventing control logic malfunctions caused by data distortion and enhancing the control accuracy of the emergency power supply system.
[0142] This application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the steps of the detection method for the battery cell to be processed as described above.
[0143] It is understood that a computer program includes computer program code. Computer program code can be in the form of source code, object code, executable files, or some intermediate form. Computer-readable storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc.
[0144] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the above-described method.
[0145] In this specification, the terms "specifically," "furthermore," "particularly," "understandably," etc., refer to specific features, structures, materials, or characteristics described in connection with embodiments or examples that are included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0146] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of executable request code comprising one or more steps for implementing a particular logical function or process, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0147] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A control method for an emergency power supply system, characterized in that, The emergency power supply system includes a power supply battery and a charge / discharge control circuit. The charge / discharge control circuit is used to control the charging and discharging of the power supply battery. The charge / discharge control circuit includes a charging relay, a discharging relay, and a pre-charge relay. The method includes: If the voltage of the power supply battery is detected to be lower than a first preset voltage threshold, the power supply battery is controlled to terminate discharge. If it is determined that the power supply battery has terminated its discharge, the discharge relay is disconnected. If it is determined that the discharge relay is open, control the closing of the precharge relay; When the pre-charge relay is closed and there is no charging fault in the emergency power supply system, if the charging current flowing to the power supply battery is detected to be greater than or equal to a first preset current threshold, the discharge relay is controlled to close, and the level state of the charging relay is detected, the level state including the first level state. When the charging relay is in the first level state, the pre-charge relay is controlled to disconnect.
2. The method according to claim 1, characterized in that, The step of controlling the power supply battery to terminate discharge when the voltage of the power supply battery is detected to be less than a first preset voltage threshold includes: If the voltage of the power supply battery is detected to be lower than the first preset voltage threshold, a discharge prohibition command is generated; According to the discharge prohibition command, the power supply battery is controlled to stop discharging.
3. The method according to claim 1, characterized in that, The method further includes: Detect the discharge current flowing out of the power supply battery; If the discharge current flowing out of the power supply battery is less than or equal to the second preset current threshold, the discharge of the power supply battery is determined to be terminated.
4. The method according to claim 1, characterized in that, The method further includes: Detect the voltage of the discharge relay; The level state of the discharge relay is determined based on the voltage of the discharge relay, and the level state includes a second level state; When the discharge relay is in the second level state, it is determined that the discharge relay is disconnected.
5. The method according to claim 4, characterized in that, Determining the voltage level of the discharge relay based on its voltage includes: If the voltage of the discharge relay is greater than or equal to a first voltage threshold, the discharge relay is determined to be in the first level state. If the voltage of the discharge relay is less than or equal to a second voltage threshold, the discharge relay is determined to be in the second level state, where the second voltage threshold is less than the first voltage threshold.
6. The method according to claim 1, characterized in that, The method further includes: Detect the preset dimensional parameter information of the power supply battery; The existence of the charging fault is determined by comparing the preset dimension parameter information with the preset dimension judgment threshold.
7. The method according to claim 6, characterized in that, The preset dimension parameter information includes the temperature of the power supply battery. The step of comparing the preset dimension parameter information with a preset dimension judgment threshold to determine the existence of the charging fault includes: If the temperature of the power supply battery is greater than or equal to a preset temperature threshold, it is determined that the emergency power supply system has a charging fault. If the temperature of the power supply battery is lower than the preset temperature threshold, it is determined that the emergency power supply system does not have the charging fault.
8. An emergency power supply system, characterized in that, The emergency power supply system is controlled based on the method described in any one of claims 1-7.
9. The emergency power supply system according to claim 8, characterized in that, The emergency power supply system includes a power supply battery and a charge / discharge control circuit, wherein the charge / discharge control circuit is used to control the charging and discharging of the power supply battery. The charging and discharging control circuit includes a main charging and discharging branch, which includes a charging relay and a discharging relay connected in series, as well as a first diode and a second diode. The anode of the first diode is connected to the power supply side of the charging relay, and the cathode of the first diode is connected to the load side of the charging relay. The anode of the second diode is connected to the load side of the discharging relay, and the cathode of the second diode is connected to the power supply side of the discharging relay. The charge and discharge control circuit includes a pre-charge relay branch, which includes a pre-charge relay and a first resistor, wherein the first resistor and the pre-charge relay are connected in series. The main charging / discharging branch is connected in parallel with the pre-charge relay branch.
10. The emergency power supply system according to claim 8, characterized in that, The emergency power supply system also includes a voltage sensor and a current detection module; The voltage sensor is connected in parallel to the positive and negative terminals of the power supply battery, and the voltage sensor is configured to detect the voltage of the power supply battery; The current detection module is configured to detect the charging / discharging current of the emergency power supply system.
11. The emergency power supply system according to claim 10, characterized in that, The current detection module includes a Hall sensor and / or a shunt.
12. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any one of claims 1-7.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method according to any one of claims 1-7.