Concentrator power supply method, apparatus, device, and medium
Patent Information
- Application Number
- CN202610836677.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-10
- Publication Date
- 2026-10-09
AI Technical Summary
[0004]本发明实施例提供一种集中器供电方法、装置、设备及介质,以解决相关技术中供电策略缺乏动态适配能力的问题
[0015]综上,本公开的集中器供电方法、装置、设备及介质,该方法包括:当检测到集中器的主供电中断时,获取集中器的备用供电电池模组的供电配置信息和第一当前电池状态信息;基于供电配置信息和第一当前电池状态信息,确定备用供电电池模组的供电起始时间和原始供电结束时间,并在达到供电起始时间时,控制备用供电电池模组对集中器开始供电;当集中器的主供电未恢复,且达到原始供电结束时间时,获取备用供电电池模组的当前电池电压,并基于当前电池电压,控制备用供电电池模组对集中器进行延时供电;当集中器的主供电恢复,且未达到原始供电结束时间时,获取当前电池电压和集中器的负载配置信息,并基于当前电池电压和负载配置信息,控制备用供电电池模组对集中器进行延时供电。本方法通过设置不同供电策略,以适配不同的应用场景,并通过备用供电电池模组的电池状态,设置不同的供电时间和延时策略,从而避免电池过放导致的电池损伤,以及集中器骤然断电引发的数据丢失与设备损坏,提高了后备供电稳定性与电池使用效率。
Smart Images

Figure CN122890666A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent power supply technology, and in particular to a concentrator power supply method, device, equipment and medium. Background Technology
[0002] In power IoT concentrator applications, external power outages directly lead to equipment shutdown, resulting in interruptions of critical data acquisition tasks, loss of operational status, and disruption of data transmission links, severely impacting the integrity and reliability of the power data acquisition system. To ensure continuous operation of the concentrator after an external power failure, battery modules typically serve as backup power.
[0003] In related technologies, fixed voltage thresholds are typically used to trigger backup power supply. This makes it impossible to dynamically plan the start and end times of power supply based on preset business needs and real-time battery status, hindering the differentiation of backup power scenarios. At the end of power supply, immediate disconnection or a fixed-duration delay is commonly used, failing to provide sufficient time for data reporting and status preservation for the concentrator, and also preventing adaptive adjustment of protection strategies based on battery voltage. This can easily lead to data loss and battery over-discharge damage. Therefore, there is an urgent need for an intelligent power supply method that can dynamically determine power supply strategies and delay disconnection. Summary of the Invention
[0004] This invention provides a concentrator power supply method, apparatus, device, and medium to address the problem of power supply strategies lacking dynamic adaptability in related technologies.
[0005] In a first aspect, the present invention provides a concentrator power supply method, comprising: When a main power supply interruption of the concentrator is detected, the power supply configuration information and the first current battery status information of the concentrator's backup power supply battery module are obtained. Based on the power supply configuration information and the first current battery status information, the power supply start time and the original power supply end time of the backup power supply battery module are determined, and when the power supply start time is reached, the backup power supply battery module is controlled to start supplying power to the concentrator. When the main power supply of the concentrator is not restored and the original power supply end time is reached, the current battery voltage of the backup power supply battery module is obtained, and based on the current battery voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator. When the main power supply to the concentrator is restored, and before the original power supply end time is reached, the current battery voltage and the load configuration information of the concentrator are obtained. Based on the current battery voltage and load configuration information, the backup power supply battery module is controlled to provide delayed power to the concentrator.
[0006] In some embodiments, determining the power supply start time and original power supply end time of the backup power supply battery module based on power supply configuration information and first current battery state information includes: Based on the first current battery status information, determine the maximum power supply duration of the backup power supply battery module; Based on the power supply configuration information, determine the power supply strategy for the backup power supply battery module; If the power supply strategy is timed power supply, then the current time is determined as the power supply start time, and the original power supply end time is determined based on the power supply start time, the preset timed power supply parameter and the maximum available power supply duration. If the power supply strategy is time-limited power supply, then determine whether the current time is within the preset power supply time period to obtain the time period judgment result. Based on the time period judgment result and the current time, determine the power supply start time, and based on the power supply start time, the maximum available power supply duration and the time period end time of the preset power supply time period, determine the original power supply end time.
[0007] In some embodiments, determining the power supply start time based on the time period determination result and the current time includes: If the time period determination result indicates that the current time is within the preset power supply time period, then the current time will be determined as the power supply start time. If the time period determination result indicates that the current time is not within the preset power supply time period, then the start time of the preset power supply time period will be determined as the power supply start time.
[0008] In some embodiments, based on the current battery voltage, controlling the backup power supply battery module to provide delayed power to the concentrator includes: Based on the current battery voltage, determine the first delayed power supply duration and the first delayed power supply voltage of the backup power supply battery module; Based on the first delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator; The system periodically acquires real-time voltage data of the backup power supply battery module, and based on the real-time voltage data, determines whether to update the first delayed power supply duration and the first delayed power supply voltage, and obtains the update determination result. If the update judgment result is no update, then the backup power supply battery module will stop supplying power after the first delay power supply duration is reached; If the update judgment result is an update, then based on the real-time voltage data, the update delay power supply duration and update delay power supply voltage are determined. Based on the update delay power supply voltage, the backup power supply battery module is controlled to supply power to the concentrator until the update delay power supply duration is reached.
[0009] In some embodiments, based on the current battery voltage and load configuration information, controlling the backup power supply battery module to provide delayed power to the concentrator includes: Based on the current battery voltage, determine the second delayed power supply duration and the second delayed power supply voltage; Based on the second delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator; When the backup power supply battery module supplies power to the concentrator for the second delay period, the critical loads of the concentrator are determined based on the load configuration information. Obtain the load power consumption data of the critical load and the second current battery status information of the backup power supply battery module; Based on load power consumption data and the second current battery status information, determine the third delayed power supply duration and the third delayed power supply voltage; Based on the third delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to critical loads.
[0010] In some embodiments, based on a third delayed supply voltage, controlling a backup power supply battery module to provide delayed power to critical loads includes: After the backup power supply battery module has supplied power to the critical load for the third delay period, the control unit in the critical load is determined based on the load configuration information. Acquire control power consumption data of the control unit and third current battery status information of the backup power supply battery module; Based on the control power consumption data and the third current battery status information, the fourth delayed power supply duration and the fourth delayed power supply voltage are determined; Based on the fourth delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the control unit until the fourth delayed power supply duration is reached.
[0011] In some embodiments, after controlling the backup power supply battery module to provide delayed power to the concentrator based on the second delayed power supply voltage, the method further includes: If the main power supply of the concentrator is interrupted again, the current delayed power supply will be stopped, and the third current battery status information of the backup power supply battery module and the interruption time of the main power supply interruption will be obtained. The interruption time is determined as the start time of power supply update, and based on the power supply configuration information and the third current battery status information, the power supply end time of the backup power supply battery module and the power supply voltage to the concentrator are determined. Based on the power supply start time and power supply end time, the backup power supply battery module is controlled to supply power to the concentrator according to the power supply voltage.
[0012] In a second aspect, the present invention provides a concentrator power supply device, comprising: an information acquisition module, used to acquire power supply configuration information of the concentrator's backup power supply battery module and first current battery status information when the main power supply interruption of the concentrator is detected; The backup power supply module is used to determine the power supply start time and the original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information, and to control the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached. The first delayed power supply module is used to obtain the current battery voltage of the backup power supply battery module when the main power supply of the concentrator has not been restored and the original power supply end time has been reached, and to control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage. The second delayed power supply module is used to obtain the current battery voltage and the load configuration information of the concentrator when the main power supply of the concentrator is restored and the original power supply end time has not been reached. Based on the current battery voltage and load configuration information, it controls the backup power supply battery module to provide delayed power supply to the concentrator.
[0013] Thirdly, the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the concentrator power supply method described in the first aspect above.
[0014] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the concentrator power supply method described in the first aspect above.
[0015] In summary, the concentrator power supply method, apparatus, device, and medium disclosed herein include the following steps: when a main power supply interruption of the concentrator is detected, acquiring power supply configuration information of the concentrator's backup power supply battery module and first current battery status information; based on the power supply configuration information and the first current battery status information, determining the power supply start time and original power supply end time of the backup power supply battery module, and controlling the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached; when the main power supply of the concentrator has not been restored and the original power supply end time has been reached, acquiring the current battery voltage of the backup power supply battery module, and controlling the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage; when the main power supply of the concentrator is restored and the original power supply end time has not been reached, acquiring the current battery voltage and the concentrator's load configuration information, and controlling the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage and load configuration information. This method adapts to different application scenarios by setting different power supply strategies and sets different power supply times and delay strategies based on the battery status of the backup power supply battery module. This avoids battery damage caused by over-discharge and data loss and equipment damage caused by sudden power failure of the concentrator, thereby improving the stability of backup power supply and battery utilization efficiency. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart of a concentrator power supply method according to an embodiment of the present invention; Figure 2 This is another flowchart of a concentrator power supply method in one embodiment of the present invention; Figure 3 This is another flowchart of a concentrator power supply method in one embodiment of the present invention; Figure 4 This is another flowchart of a concentrator power supply method in one embodiment of the present invention; Figure 5 This is a schematic diagram of a concentrator power supply method in one embodiment of the present invention; Figure 6 This is a schematic block diagram of a computer device according to an embodiment of the present invention. Detailed Implementation
[0018] As an example, such as Figure 1 As shown, a concentrator power supply method is provided, including: S101, when the main power supply interruption of the concentrator is detected, the power supply configuration information and the first current battery status information of the backup power supply battery module of the concentrator are obtained; S102, based on the power supply configuration information and the first current battery status information, determine the power supply start time and the original power supply end time of the backup power supply battery module, and when the power supply start time is reached, control the backup power supply battery module to start supplying power to the concentrator; S103, when the main power supply of the concentrator is not restored and the original power supply end time is reached, the current battery voltage of the backup power supply battery module is obtained, and based on the current battery voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator. S104 When the main power supply of the concentrator is restored and the original power supply end time has not been reached, the current battery voltage and the load configuration information of the concentrator are obtained, and based on the current battery voltage and load configuration information, the backup power supply battery module is controlled to provide delayed power supply to the concentrator.
[0019] As an example, in step S101, the main power supply input voltage of the concentrator can be monitored in real time by the voltage detection module built into the backup power supply battery module (e.g., a programmable power supply module). When the main power supply voltage is detected to be lower than a preset interruption threshold and the duration exceeds a preset anti-jitter duration, it is determined that the main power supply of the concentrator has been interrupted. The interruption threshold and anti-jitter duration can be preset and adjusted according to the power grid fluctuation characteristics of different regions to avoid false triggering of power outage judgment; it is also possible to combine multiple-dimensional signals such as current mutation and frequency offset to jointly determine whether the main power supply is interrupted, but this disclosure does not limit this.
[0020] In one embodiment, the power supply configuration information can be stored in the memory of the backup power supply battery module, and may include preset power supply strategy types, power supply strategy parameters, priority configuration information, delayed power supply rules, etc. The power supply configuration information can be remotely configured and distributed by the host computer of the concentrator through a communication interface, or it can be configured by default at the factory.
[0021] In one embodiment, the first current battery state information can be acquired in real time by the Battery Management Unit (BMU) of the backup power supply battery module, including parameters reflecting the battery's current power supply capability such as the current overall voltage, remaining charge (SOC), battery temperature, and number of charge / discharge cycles. The current overall voltage can be sampled using a high-precision analog-to-digital converter (ADC) to ensure the accuracy of battery state detection. It should be understood that the first current battery state is the battery state of the backup power supply battery module when a main power supply interruption is detected.
[0022] In some embodiments, when a main power supply interruption is detected, the microcontroller unit (MCU) of the backup power supply battery module is woken up and enters the working state. It reads the power supply configuration information from the memory through the internal bus, and at the same time obtains the first current battery status information through the battery management unit to ensure a rapid response of the backup power supply.
[0023] As an example, in step S102, the power supply capacity boundary of the backup power supply battery module can be evaluated first based on the first current battery status information, and then the power supply period determined by the preset power supply configuration information can be combined to ensure that the backup power supply process meets the service requirements of the concentrator and avoids battery over-discharge damage.
[0024] In one embodiment, the maximum power supply duration of the backup power supply battery module can be determined based on the first current battery state information. The maximum power supply duration reflects the longest time that the backup power supply battery module can continuously supply power to the concentrator under the current voltage, temperature and health conditions. The time difference between the original power supply end time and the power supply start time should not exceed the maximum power supply duration.
[0025] In one embodiment, the power supply strategy for the backup power supply battery module can be determined based on power supply configuration information. The power supply strategy may include a time-based long-duration power supply mode and a time-based power supply mode, etc., with different strategies corresponding to different power supply period calculation logic. When multiple power supply strategies exist, the applicable strategy can be selected according to preset priority rules, which is not limited in this disclosure.
[0026] In some embodiments, when the power supply strategy is a timed long power supply mode, the current time is determined as the power supply start time, and the original power supply end time is determined based on the smaller value of the power supply start time, the preset timed long parameter, and the maximum available power supply duration. The preset timed long parameter is a pre-configured backup power supply duration parameter, which can be remotely sent from the concentrator's host computer to the backup power supply battery module. When the power supply strategy is a timed power supply mode, the current time is determined by the real-time clock (RTC) to see if it is within the preset power supply period. The power supply start time is determined based on the determination result, and the original power supply end time is determined based on the power supply start time, the maximum available power supply duration, and the end time of the preset power supply period.
[0027] In one embodiment, when the power supply start time is reached, the microcontroller of the backup power supply battery module sends a control signal to turn on the boost circuit, converting the DC voltage of the battery in the backup power supply battery module into the operating voltage required by the concentrator, thereby achieving a seamless switch from main power supply to backup power supply.
[0028] It should be understood that the power supply strategy parameters can be remotely configured and updated by the concentrator's host computer, or they can be set to default settings at the factory to adapt to the power supply needs of different application scenarios.
[0029] As an example, in step S103, the main power supply status and battery status can be continuously monitored during the backup power supply process. When the preset original power supply end time is reached and the main power supply has not yet been restored, the dynamic delayed power supply stage is entered to reserve time for the concentrator to save key data and complete tasks, thus avoiding data loss caused by sudden power outages.
[0030] In one embodiment, the backup power supply battery module can periodically detect the main power supply status and battery voltage status at a preset sampling period. When it is detected that the main power supply has not been restored and the original power supply end time has been reached, the battery pack comprehensive voltage (i.e., the current battery voltage) at the current moment is obtained through a high-precision analog-to-digital converter.
[0031] In one embodiment, the delay time of the backup power supply module can be dynamically determined based on a preset mapping table between the current battery voltage and the delay power supply duration. Specific rules include: if the current battery voltage is ≥3.80V, the delay power supply duration is 300 seconds; if the current battery voltage is between 3.50V and 3.80V, the delay power supply duration is 180 seconds; if the current battery voltage is between 3.20V and 3.50V, the delay power supply duration is 60 seconds; and if the current battery voltage is <3.20V, the delay power supply duration is 0 seconds. However, this is not the only possibility; the delay power supply duration can also be calculated in real time based on a pre-trained model using data such as the current battery voltage and historical discharge curves.
[0032] In some embodiments, after entering the delayed power supply phase, the backup power supply battery module can perform the following operations: report power failure status information to the concentrator and set the corresponding reporting flag; record the start time of the delay; continue to sample the battery voltage at a preset sampling period and update the delayed power supply duration in real time according to the voltage change.
[0033] In one embodiment, when the delayed power supply duration is exhausted and the main power supply has not yet been restored, the backup power supply battery module can shut down the boost circuit and adjust the backup power supply battery module to enter deep sleep mode in order to minimize static power consumption.
[0034] It should be understood that during the delayed power supply period, if the main power supply is detected to be restored, the delayed power supply process can be gradually terminated (i.e., the power supply to the concentrator is reduced in stages), the main power supply mode can be switched to and the backup power supply battery module can be charged, so as to avoid the concentrator power supply abnormality caused by another power outage in a short period of time after the main power supply is restored.
[0035] As an example, in step S104, when the main power supply is detected to be restored during the backup power supply process, the battery power supply is not immediately cut off, but instead enters a phased transition mode to avoid the concentrator power supply being interrupted due to the instability of the main power supply.
[0036] In one embodiment, when the main power supply voltage is detected to have recovered to the normal operating range and remained stable for a preset duration, it can be determined that the main power supply has been effectively restored. At this time, the current battery voltage and the pre-stored concentrator load configuration information are obtained. The load configuration information includes the power consumption parameters, load purpose, load priority, and other information of each load of the concentrator that are pre-set.
[0037] In one embodiment, the total delay duration of the transition phase can be determined based on the current battery voltage, and then the transition phase can be divided into multiple sub-phases according to the load configuration information to gradually reduce the power supply intensity of the backup power supply battery module.
[0038] In some embodiments, the transition phase may specifically include: a first phase is a power supply maintenance phase, in which the battery pack maintains full power output and waits for the main power output to stabilize; a second phase is a power supply reduction phase, in which the power supply to peripherals of non-critical loads is turned off, and power support is provided only for critical loads; and a third phase is a minimum power supply phase, in which the minimum power supply to the concentrator core control module is maintained, and preparation for shutdown is made. The critical loads, non-critical loads, and core control module can be determined according to the load configuration information.
[0039] In one embodiment, critical loads may include the concentrator's main control microcontroller, core communication module, and relay driver, etc.; non-critical loads may include auxiliary communication interfaces, LED status indicators, etc. The distinction between critical and non-critical loads can be preset and adjusted according to the actual application requirements of the concentrator, and this disclosure does not limit it in this regard.
[0040] In one embodiment, when the transition phase ends, the backup power supply battery module shuts down the boost circuit and stops outputting power, and the main power supply powers the concentrator entirely. At the same time, the main power supply charges the backup power supply battery module through the charging circuit, restoring the backup power supply battery module to the energy storage ready state.
[0041] In some embodiments, the main power supply status is continuously monitored at a preset period throughout the transition phase. If the main power supply is interrupted again in any sub-phase of the transition phase, the current transition process is immediately terminated, and the power supply strategy and related parameters are recalculated based on the current battery status.
[0042] In summary, this disclosure proposes a power supply method for a concentrator, comprising: when a main power supply interruption of the concentrator is detected, acquiring power supply configuration information of the concentrator's backup power supply battery module and first current battery status information; based on the power supply configuration information and the first current battery status information, determining the power supply start time and original power supply end time of the backup power supply battery module, and controlling the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached; when the main power supply of the concentrator has not been restored and the original power supply end time is reached, acquiring the current battery voltage of the backup power supply battery module, and controlling the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage; when the main power supply of the concentrator is restored and the original power supply end time is not reached, acquiring the current battery voltage and the load configuration information of the concentrator, and controlling the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage and load configuration information. This method adapts to different application scenarios by setting different power supply strategies and sets different power supply times and delay strategies based on the battery status of the backup power supply battery module. This avoids battery damage caused by over-discharge and data loss and equipment damage caused by sudden power failure of the concentrator, thereby improving the stability of backup power supply and battery utilization efficiency.
[0043] As an example, such as Figure 2 As shown, step S102, which involves determining the power supply start time and original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information, includes: S201, based on the first current battery status information, determine the maximum power supply duration of the backup power supply battery module; S202, Based on the power supply configuration information, determine the power supply strategy for the backup power supply battery module; S203, if the power supply strategy is timed power supply, then the current time is determined as the power supply start time, and the original power supply end time is determined based on the power supply start time, the preset timed parameter and the maximum power supply duration; S204. If the power supply strategy is time-limited power supply, determine whether the current time is within the preset power supply time period, obtain the time period judgment result, determine the power supply start time based on the time period judgment result and the current time, and determine the original power supply end time based on the power supply start time, the maximum available power supply duration and the time period end time of the preset power supply time period.
[0044] As an example, in step S201, the maximum power supply duration can be calculated based on the first current battery status information collected and the rated load power consumption of the concentrator. A certain battery protection margin can also be reserved during the calculation to ensure that the battery voltage is still higher than the minimum safety threshold when the power supply ends, thus avoiding over-discharge of the backup power supply battery module.
[0045] In some embodiments, the maximum power supply duration can be obtained by looking up a pre-stored battery discharge characteristic table, or by calculating in real time using a preset discharge model. The specific implementation method can be selected according to the module's computing power conditions, and this disclosure does not limit it.
[0046] As an example, in step S202, the power supply strategy refers to the pre-set backup power supply triggering and continuity rules, which can be remotely configured by the host computer of the concentrator and stored in the memory of the backup power supply battery module.
[0047] In one embodiment, the power supply strategy may include two types: a time-long power supply mode and a time-period power supply mode. The two strategies can be configured independently and have a preset priority rule: if the parameter corresponding to the time-long power supply mode is non-zero, the time-long power supply mode is used first; if the parameter of the time-long power supply mode is zero and the parameter of the time-period power supply mode is not all zero, the time-period power supply mode is used.
[0048] It should be understood that the type and priority rules of power supply strategies can be expanded and adjusted according to actual application scenarios, and this disclosure does not limit them.
[0049] As an example, in step S203, the timed power supply mode refers to the mode in which the battery module continues to supply power for a preset fixed duration after power failure, which is suitable for general scenarios where there are clear requirements for the power supply duration.
[0050] In one embodiment, the original power supply end time can be the earlier of the power supply start time plus the preset timing parameter and the power supply start time plus the maximum available power supply duration. The smaller value is used to ensure that the battery will not be over-discharged regardless of whether the duration configured by the host computer is reasonable.
[0051] As an example, in step S204, the time-period power supply mode can be applied to scenarios where the concentrator needs to operate only during specific time periods, which can significantly reduce battery power consumption and extend battery life.
[0052] In one embodiment, the power supply start time can be determined based on the difference in the time period judgment result: if the current time is within the preset power supply period, the power supply is started immediately; if the current time is not within the preset power supply period, the power supply is started after the preset time period start time.
[0053] In one embodiment, the original power supply end time is the earlier of the two: the end time of the preset power supply period and the time obtained by adding the maximum available power supply duration to the power supply start time. During the power supply period, the current time is continuously compared with the interval boundary through a real-time clock to dynamically adjust the remaining power supply duration.
[0054] It should be understood that if the main power supply has been restored before the original power supply end time, then the delayed power supply will directly enter the delayed power supply phase at the moment the main power supply is restored.
[0055] As an example, step S204, which is to determine the power supply start time based on the time period judgment result and the current time, may include: if the time period judgment result is that the current time is within the preset power supply time period, then the current time is determined as the power supply start time; if the time period judgment result is that the current time is not within the preset power supply time period, then the start time of the preset power supply time period is determined as the power supply start time.
[0056] Specifically, the current time can be obtained through a real-time clock and compared with the start and end times of a preset power supply period to determine whether the current time is within the preset power supply period. Then, the specific power supply start time can be determined based on the result.
[0057] Specifically, if the time period determination result indicates that the current time falls within a preset power supply period, then the current time is designated as the power supply start time, and the backup power supply battery module immediately starts providing backup power to the concentrator. This mechanism ensures that the concentrator receives uninterrupted power support in the event of a power outage within the preset time period, guaranteeing business continuity.
[0058] If the time period determination result indicates that the current time is not within the preset power supply period, then the start time of the preset power supply period will be determined as the power supply start time. During this period, the backup power supply battery module will remain in low-power standby mode and will not start power supply output until the preset time period start time is reached.
[0059] In one optional embodiment, if the current time is not within a preset power supply period, the backup power supply battery module can report a power outage event during the non-power supply period to the concentrator so that the host computer can promptly grasp the grid status. Simultaneously, the backup power supply battery module continues to monitor the main power supply status at a preset cycle. If the main power supply recovers while waiting for the power supply start time, the backup power supply plan is cancelled, and the system returns to normal energy storage status.
[0060] As an example, such as Figure 3 As shown, step S103, which involves controlling the backup power supply battery module to provide delayed power to the concentrator based on the current battery voltage, includes: S301, based on the current battery voltage, determine the first delayed power supply duration and the first delayed power supply voltage of the backup power supply battery module; S302, based on the first delayed power supply voltage, controls the backup power supply battery module to provide delayed power supply to the concentrator; S303: Periodically acquire real-time voltage data of the backup power supply battery module, and based on the real-time voltage data, determine whether to update the first delayed power supply duration and the first delayed power supply voltage, and obtain the update determination result; S304, if the update judgment result is no update, then control the backup power supply battery module to stop supplying power after the first delay power supply duration is reached; S305 If the update judgment result is an update, then based on the real-time voltage data, determine the update delay power supply duration and the update delay power supply voltage. Based on the update delay power supply voltage, control the backup power supply battery module to supply power to the concentrator until the update delay power supply duration is reached.
[0061] As an example, in step S301, the first delayed power supply duration is the power supply duration initially determined when entering the delayed power supply stage if the main power supply of the concentrator has not been restored and the original power supply end time has been reached, and the first delayed power supply voltage is the output voltage that maintains the normal operation of the concentrator during the delayed power supply stage under this condition.
[0062] In one embodiment, based on a preset mapping table between the current battery voltage and the delayed power supply duration, the first delayed power supply duration is determined according to the range in which the current battery voltage falls. Specific rules include: if the current battery voltage is not lower than 3.80V, the first delayed power supply duration is 300 seconds; if the current battery voltage is between 3.50V and 3.80V, the first delayed power supply duration is 180 seconds; if the current battery voltage is between 3.20V and 3.50V, the first delayed power supply duration is 60 seconds; and if the current battery voltage is lower than 3.20V, the first delayed power supply duration is 0 seconds. The first delayed power supply voltage is set to the concentrator's rated operating voltage to ensure the concentrator's core functions operate normally during the delay period.
[0063] As an example, in step S302, the backup power supply battery module can continuously output according to the first delayed power supply voltage, while performing the initialization operation of the delayed power supply phase.
[0064] In one embodiment, after entering the delayed power supply stage, the module immediately reports the power failure status information to the concentrator, sets the corresponding reporting flag, records the start time of the delay, keeps the boost circuit on, maintains the first delayed power supply voltage output, and provides stable power support to the concentrator.
[0065] As an example, in step S303, the battery voltage change can be continuously monitored throughout the delayed power supply process, and the delay parameters can be dynamically adjusted according to the voltage fluctuation to ensure that the power supply strategy always matches the actual state of the battery.
[0066] In one embodiment, for example, real-time voltage data of the battery pack is periodically acquired at a preset sampling period of once every 5 seconds. The real-time voltage data is compared with the boundary values of each voltage range in the mapping table above. If the real-time voltage data is still within the voltage range corresponding to the determination of the first delayed power supply duration, it is determined that no update is needed; if the real-time voltage data enters other voltage ranges, it is determined that the first delayed power supply duration and the first delayed power supply voltage need to be updated.
[0067] As an example, in step S304, when the real-time voltage data remains stable throughout the entire delayed power supply process and does not change within a range, the delayed power supply is executed according to the initially determined duration, and the backup power supply battery module is controlled to stop supplying power after the first delayed power supply duration is reached.
[0068] In other words, when the backup power supply module supplies power to the concentrator for the first delay duration and the main power supply has not yet been restored, the backup power supply module is controlled to stop supplying power. Specifically, this can be achieved by shutting down the boost circuit of the backup power supply module and adjusting the backup power supply module to enter deep sleep mode, thereby minimizing static power consumption.
[0069] As an example, in step S305, since the backup power supply battery module continuously consumes power when supplying power, its real-time voltage data may gradually decrease as the power supply time increases. When the real-time voltage data falls into the lower range of the above mapping table, the delay parameter is adjusted in real time, the real-time voltage data is determined as the updated delayed power supply voltage, and the updated delayed power supply duration is determined based on the new voltage range, thereby realizing the dynamic optimization of the power supply strategy.
[0070] In one embodiment, based on the new voltage range where the real-time voltage data is located, the update delay power supply duration and update delay power supply voltage are determined according to the same rules as in step S301. Power is supplied to the concentrator according to the updated power supply voltage until the power supply duration to the concentrator reaches the update delay power supply duration. If the voltage range changes again during the power supply process, the above update process is repeated until the delay ends or the main power supply is restored.
[0071] It should be understood that the above voltage range division and corresponding delay duration are merely illustrative examples, and the range boundaries and duration parameters can be adjusted according to battery type and application requirements. This disclosure does not limit them in this regard.
[0072] As an example, such as Figure 4 As shown, step S104, which involves controlling the backup power supply battery module to provide delayed power to the concentrator based on the current battery voltage and load configuration information, includes: S401, based on the current battery voltage, determine the second delayed power supply duration and the second delayed power supply voltage; S402, based on the second delayed power supply voltage, controls the backup power supply battery module to provide delayed power supply to the concentrator; S403, when the backup power supply battery module supplies power to the concentrator for the second delay power supply duration, the critical load of the concentrator is determined based on the load configuration information; S404: Obtain the load power consumption data of the critical load and the second current battery status information of the backup power supply battery module. S405, based on load power consumption data and second current battery status information, determines the third delayed power supply duration and the third delayed power supply voltage; S406, based on the third delayed power supply voltage, controls the backup power supply battery module to provide delayed power supply to critical loads.
[0073] As an example, in step S401, the second delayed power supply duration is the duration for maintaining the concentrator's full-load normal operation after the main power supply is restored, and the second delayed power supply voltage is the output voltage for maintaining the concentrator's full-load normal operation, or the current maximum output voltage of the backup power supply battery module.
[0074] In one embodiment, the second delayed power supply duration can be determined by looking up a table that maps the current battery voltage to the full load delay duration. Alternatively, the second delayed power supply duration can be calculated and determined using a pre-trained model based on the current battery voltage and historical data.
[0075] In one embodiment, the second delayed power supply voltage can be set to the concentrator's rated operating voltage (i.e., the output voltage that maintains the concentrator's full-load normal operation). If the backup power supply battery module does not currently support this voltage output (e.g., insufficient power), the maximum voltage that can be output at present is used as the second delayed power supply voltage to ensure that all functional modules of the concentrator operate normally during the initial transition period without affecting business continuity.
[0076] As an example, in step S402, the backup power supply battery module continues to output full power according to the second delayed power supply voltage to maintain the concentrator's full-load normal operation and wait for the main power supply output to be completely stable.
[0077] In one embodiment, the boost circuit is kept continuously on to maintain the power supply status of all loads; at the same time, the main power supply status is periodically detected at a preset sampling period, and the stability of the main power supply recovery is verified. If the main power supply is detected to be interrupted again during this period, the current delayed power supply process is immediately terminated and normal battery power supply is restored (i.e., the above steps S101-S102 are repeated).
[0078] As an example, in step S403, when the second delayed power supply duration is exhausted and the main power supply remains stable, the key loads that need to be continuously powered are selected according to the load priority, priority division rules, load function information, key load identifiers, etc. in the load configuration information, so as to lay the foundation for gradually reducing the power supply intensity in the future.
[0079] In one embodiment, load configuration information is pre-stored in the memory of the backup power supply battery module, indicating the functional attributes and importance level of each load. Critical loads are those necessary to ensure the operation of the concentrator's core services, while non-critical loads are auxiliary functional loads. The distinction between critical and non-critical loads can be preset and adjusted according to the actual application requirements of the concentrator.
[0080] As an example, in step S404, the total power consumption data of all critical loads and the real-time status information of the backup power supply battery module can be obtained, providing accurate data support for the formulation of the next stage power supply strategy.
[0081] In one embodiment, the load power consumption data can be pre-stored in the load configuration information, or it can be dynamically calculated by collecting the current and voltage values of the key load during operation in real time; the second current battery status information is the real-time status data of the backup power supply battery module when the second delayed power supply duration is reached. The second current battery status information can be collected in real time by the battery management unit, including parameters such as remaining power, health status, temperature and internal resistance.
[0082] As an example, in step S405, the duration and output voltage of power supply only to the critical load are determined by combining the power consumption requirements of the critical load and the current power supply capacity of the battery, so as to further reduce battery power consumption while ensuring core functions.
[0083] In one embodiment, the third delayed power supply duration can be determined by querying a corresponding preset mapping table (which stores the third delayed power supply duration corresponding to different power consumption ranges and different battery state combinations) based on the total power consumption data of the critical load and the second current battery state information. Alternatively, the third delayed power supply duration can be determined by calculating the above data using a preset calculation model.
[0084] In one embodiment, the third delayed supply voltage can be set to the rated operating voltage of all critical loads in the concentrator. If the backup power supply battery module does not currently support the voltage output, the maximum voltage that can be output at present is used as the third delayed supply voltage to ensure the stable operation of the critical loads.
[0085] As an example, in step S406, the backup power supply battery module outputs a third delayed power supply voltage to provide power support only for critical loads, shutting off power to all non-critical loads and further reducing battery output power.
[0086] In one embodiment, the power supply channels for all non-critical loads are shut down to reduce battery current output; at the same time, the main power supply status and battery status are periodically detected at a preset sampling period.
[0087] Furthermore, power supply levels can be further subdivided based on load importance, providing differentiated power supply guarantees for critical loads at different levels. If a main power supply interruption is detected again during this period, the current delayed power supply process will be immediately terminated, and normal battery power will be restored.
[0088] Specifically, after the backup power supply battery module supplies power to the critical load for the third delayed power supply duration, the control unit in the critical load is identified based on the load configuration information; the control power consumption data of the control unit and the third current battery status information of the backup power supply battery module are obtained; based on the control power consumption data and the third current battery status information, the fourth delayed power supply duration and the fourth delayed power supply voltage are determined; based on the fourth delayed power supply voltage, the backup power supply battery module is controlled to supply power to the control unit for a delayed period until the fourth delayed power supply duration is reached.
[0089] In other words, when the third delay power supply duration is exhausted and the main power supply remains stable, the system enters the minimum power supply phase for the concentrator, providing power only to the concentrator's core control unit, preparing for a final switchover to the main power supply. The control unit is the smallest unit necessary to ensure the concentrator's basic control functions in critical loads.
[0090] Optionally, the control unit may include the concentrator main control microcontroller and its minimum peripheral circuitry, while other critical loads such as the core communication module and relay drive may be temporarily powered off.
[0091] In one embodiment, the method for obtaining the control power consumption data of the control unit and the third current battery status information of the backup power supply battery module can be consistent with the method of obtaining them in step S404. Refer to the relevant description of step S404; it will not be repeated here. The third current battery status information is the real-time status data of the backup power supply battery module obtained when the third delayed power supply duration is reached. This third current battery status information can be collected in real time by the battery management unit and includes parameters such as remaining power, health status, temperature, and internal resistance.
[0092] In one embodiment, the fourth delayed power supply duration and the fourth delayed power supply voltage can be determined based on control power consumption data and the third current battery state information. The fourth delayed power supply duration can be determined by querying a corresponding preset mapping table (which stores the fourth delayed power supply duration corresponding to different power consumption ranges and different battery state combinations) based on the control power consumption data of the control unit and the third current battery state information, or by calculating the fourth delayed power supply duration based on the above data using a preset calculation model. In one embodiment, the fourth delayed power supply voltage can be set to the rated operating voltage of the control unit. If the backup power supply battery module does not currently support the voltage output, the maximum voltage that can be output at present is used as the fourth delayed power supply voltage to ensure the stable operation of the control unit.
[0093] Furthermore, based on the fourth delayed supply voltage, the backup power supply module can be controlled to provide delayed power to the control unit until the fourth delayed supply duration is reached. During the delayed supply period, the power supply channels of all other critical loads except the control unit are shut down to minimize the output power of the backup power supply module; at the same time, the main power supply status continues to be periodically detected at a preset sampling period.
[0094] In other words, the fourth delayed power supply stage is the final buffer stage before the main power supply switch. During this stage, the concentrator retains only the most basic control functions to ensure the smoothness of the final switching process and avoid power supply fluctuations or system resets.
[0095] Optionally, if the main power supply is interrupted again during this period, the current delayed power supply process is immediately terminated, normal battery power supply is restored, and the power supply strategy and related parameters are recalculated based on the current battery status.
[0096] It should be understood that the above three-level division method is only an illustrative example. The number of stages and the granularity of load division can be adjusted according to the actual architecture of the concentrator and business needs. This disclosure does not limit this.
[0097] As an example, in step S402, after controlling the backup power supply battery module to provide delayed power to the concentrator based on the second delayed power supply voltage, the method further includes: if the main power supply of the concentrator is interrupted again, the current delayed power supply is stopped, and the third current battery status information of the backup power supply battery module and the interruption time of the main power supply interruption are obtained; the interruption time is determined as the power supply update start time, and based on the power supply configuration information and the third current battery status information, the power supply update end time of the backup power supply battery module and the power supply voltage to the concentrator are determined; based on the power supply update start time and the power supply update end time, the backup power supply battery module is controlled to supply power to the concentrator according to the power supply voltage.
[0098] In one embodiment, during any of the aforementioned stages—maintaining full load power supply, powering only the critical load, and powering only the control unit—the backup power supply battery module periodically checks the main power supply status at a preset sampling period. When the main power supply voltage is detected to be lower than a preset interruption threshold for a duration exceeding a preset anti-jitter duration, it is determined that the main power supply has been interrupted again. In other words, regardless of which stage the transition process is in, any abnormal interruption of the main power supply will immediately trigger the emergency response mechanism, prioritizing the continuous operation of the concentrator.
[0099] In one embodiment, upon determining that the main power supply has been interrupted again, the currently executing delayed power supply process is immediately suspended, and all previously shut-off loads and the output voltage of the boost circuit are restored. Simultaneously, the third current battery status information of the backup power supply battery module is obtained through the battery management unit, and the exact interruption time of the main power supply interruption is recorded using a real-time clock.
[0100] Optionally, while suspending the current delayed power supply process, the main power supply interruption event can be reported to the concentrator so that the host computer can keep abreast of the power grid fluctuations.
[0101] In one embodiment, the recorded interruption time is determined as the power supply update start time. Following the same logic as step S102, the power supply update end time and power supply voltage are determined based on pre-stored power supply configuration information and real-time acquired third current battery status information. The power supply voltage is preferentially set to the concentrator's rated operating voltage; if the backup power supply battery module currently does not support this voltage output, the maximum currently output voltage is used as the power supply voltage. The power supply update end time can refer to the calculation logic of the original power supply end time in step S102 above, and will not be repeated here.
[0102] In one embodiment, based on the power supply start time and power supply end time update, the backup power supply battery module is controlled to supply power to the concentrator according to a determined power supply voltage, restoring it to normal backup power supply state. Simultaneously, the periodic monitoring of the main power supply status and battery status is restarted, and the same delayed power supply judgment logic as in step S103 is executed. By immediately restoring power and recalculating the power supply, power outages and system resets caused by repeated execution of transition processes in scenarios with unstable main power supply are effectively avoided, improving the operational reliability of the concentrator in complex power grid environments.
[0103] In one embodiment, a concentrator power supply device is provided, which corresponds one-to-one with the concentrator power supply method in the above embodiments. For example... Figure 5 As shown, the concentrator power supply device includes an information acquisition module 501, a backup power supply module 502, a first delayed power supply module 503, and a second delayed power supply module 504. Detailed descriptions of each functional module are as follows: The information acquisition module 501 is used to acquire the power supply configuration information and the first current battery status information of the backup power supply battery module of the concentrator when the main power supply interruption of the concentrator is detected. The backup power supply module 502 is used to determine the power supply start time and the original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information, and to control the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached. The first delayed power supply module 503 is used to obtain the current battery voltage of the backup power supply battery module when the main power supply of the concentrator has not been restored and the original power supply end time has been reached, and to control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage. The second delayed power supply module 504 is used to obtain the current battery voltage and the load configuration information of the concentrator when the main power supply of the concentrator is restored and the original power supply end time has not been reached, and to control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage and load configuration information.
[0104] In one embodiment, the backup power supply module 502 is further configured to determine the maximum power supply duration of the backup power supply battery module based on the first current battery status information; Based on the power supply configuration information, determine the power supply strategy for the backup power supply battery module; If the power supply strategy is timed power supply, then the current time is determined as the power supply start time, and the original power supply end time is determined based on the power supply start time, the preset timed power supply parameter and the maximum available power supply duration. If the power supply strategy is time-limited power supply, then determine whether the current time is within the preset power supply time period to obtain the time period judgment result. Based on the time period judgment result and the current time, determine the power supply start time, and based on the power supply start time, the maximum available power supply duration and the time period end time of the preset power supply time period, determine the original power supply end time.
[0105] In one embodiment, the backup power supply module 502 is further configured to determine the current time as the power supply start time if the time period determination result is that the current time is within a preset power supply time period. If the time period determination result indicates that the current time is not within the preset power supply time period, then the start time of the preset power supply time period will be determined as the power supply start time.
[0106] In one embodiment, the first delayed power supply module 503 is further configured to determine the first delayed power supply duration and the first delayed power supply voltage of the backup power supply battery module based on the current battery voltage. Based on the first delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator; The system periodically acquires real-time voltage data of the backup power supply battery module, and based on the real-time voltage data, determines whether to update the first delayed power supply duration and the first delayed power supply voltage, and obtains the update determination result. If the update judgment result is no update, then the backup power supply battery module will stop supplying power after the first delay power supply duration is reached; If the update judgment result is an update, then based on the real-time voltage data, the update delay power supply duration and update delay power supply voltage are determined. Based on the update delay power supply voltage, the backup power supply battery module is controlled to supply power to the concentrator until the update delay power supply duration is reached.
[0107] In one embodiment, the second delayed power supply module 504 is further configured to determine the second delayed power supply duration and the second delayed power supply voltage based on the current battery voltage; Based on the second delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator; When the backup power supply battery module supplies power to the concentrator for the second delay period, the critical loads of the concentrator are determined based on the load configuration information. Obtain load power consumption data of critical loads and the second current battery status information of the backup power supply battery module. Based on load power consumption data and the second current battery status information, determine the third delayed power supply duration and the third delayed power supply voltage; Based on the third delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power supply to critical loads.
[0108] In one embodiment, the second delayed power supply module 504 is further configured to, based on the load configuration information, determine the control unit in the critical load after the backup power supply battery module supplies power to the critical load for a third delayed power supply duration. Acquire control power consumption data of the control unit and third current battery status information of the backup power supply battery module; Based on the control power consumption data and the third current battery status information, the fourth delayed power supply duration and the fourth delayed power supply voltage are determined; Based on the fourth delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the control unit until the fourth delayed power supply duration is reached.
[0109] In one embodiment, the second delayed power supply module 504 is further configured to, if the main power supply of the concentrator is interrupted again, terminate the current delayed power supply and obtain the third current battery status information of the backup power supply battery module and the interruption time of the main power supply interruption again. The interruption time is determined as the start time of power supply update, and based on the power supply configuration information and the third current battery status information, the power supply end time of the backup power supply battery module and the power supply voltage to the concentrator are determined. Based on the power supply start time and power supply end time, the backup power supply battery module is controlled to supply power to the concentrator according to the power supply voltage.
[0110] This invention provides a concentrator power supply device, comprising: an information acquisition module, configured to acquire power supply configuration information of the concentrator's backup power supply battery module and first current battery status information when a main power supply interruption of the concentrator is detected; a backup power supply module, configured to determine the power supply start time and original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information, and control the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached; a first delayed power supply module, configured to acquire the current battery voltage of the backup power supply battery module and control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage when the main power supply of the concentrator has not been restored and the original power supply end time has been reached; and a second delayed power supply module, configured to acquire the current battery voltage and the load configuration information of the concentrator when the main power supply of the concentrator is restored and the original power supply end time has not been reached, and control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage and load configuration information. This device adapts to different application scenarios by setting different power supply strategies, and sets different power supply times and delay strategies based on the battery status of the backup power supply battery module. This avoids battery damage caused by over-discharge, as well as data loss and equipment damage caused by sudden power failure of the concentrator, thereby improving the stability of backup power supply and battery utilization efficiency.
[0111] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 6 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data used in the concentrator power supply method. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, a concentrator power supply method can be implemented.
[0112] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements a concentrator power supply method.
[0113] In one embodiment, a computer-readable storage medium is provided that stores a computer program, which, when executed by a processor, implements a concentrator power supply method.
[0114] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), IAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0115] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0116] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A method for supplying power to a concentrator, characterized in that, include: When a main power supply interruption of the concentrator is detected, the power supply configuration information and the first current battery status information of the concentrator's backup power supply battery module are obtained. Based on the power supply configuration information and the first current battery status information, the power supply start time and the original power supply end time of the backup power supply battery module are determined, and when the power supply start time is reached, the backup power supply battery module is controlled to start supplying power to the concentrator. When the main power supply of the concentrator is not restored and the original power supply end time is reached, the current battery voltage of the backup power supply battery module is obtained, and based on the current battery voltage, the backup power supply battery module is controlled to provide delayed power supply to the concentrator. When the main power supply of the concentrator is restored and the original power supply end time has not been reached, the current battery voltage and the load configuration information of the concentrator are obtained, and based on the current battery voltage and the load configuration information, the backup power supply battery module is controlled to provide delayed power supply to the concentrator.
2. The method according to claim 1, characterized in that, The step of determining the power supply start time and original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information includes: Based on the first current battery status information, the maximum power supply duration of the backup power supply battery module is determined; Based on the power supply configuration information, the power supply strategy for the backup power supply battery module is determined; If the power supply strategy is timed power supply, then the current time is determined as the power supply start time, and the original power supply end time is determined based on the power supply start time, the preset timed parameter and the maximum available power supply duration. If the power supply strategy is time-limited power supply, then it is determined whether the current time is within the preset power supply time period to obtain the time period determination result. Based on the time period determination result and the current time, the power supply start time is determined, and based on the power supply start time, the maximum available power supply duration and the time period end time of the preset power supply time period, the original power supply end time is determined.
3. The method according to claim 2, characterized in that, The step of determining the power supply start time based on the time period judgment result and the current time includes: If the time period determination result indicates that the current time is within the preset power supply time period, then the current time is determined as the power supply start time; If the time period determination result indicates that the current time is not within the preset power supply time period, then the start time of the preset power supply time period is determined as the power supply start time.
4. The method according to claim 1, characterized in that, The step of controlling the backup power supply battery module to provide delayed power to the concentrator based on the current battery voltage includes: Based on the current battery voltage, determine the first delayed power supply duration and the first delayed power supply voltage of the backup power supply battery module; Based on the first delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the concentrator; The real-time voltage data of the backup power supply battery module is periodically acquired, and based on the real-time voltage data, it is determined whether to update the first delayed power supply duration and the first delayed power supply voltage, and an update determination result is obtained. If the update determination result is no update, then the backup power supply battery module will stop supplying power after the first delayed power supply duration is reached. If the update determination result is an update, then based on the real-time voltage data, the update delay power supply duration and update delay power supply voltage are determined. Based on the update delay power supply voltage, the backup power supply battery module is controlled to supply power to the concentrator until the update delay power supply duration is reached.
5. The method according to claim 1, characterized in that, The step of controlling the backup power supply battery module to provide delayed power to the concentrator based on the current battery voltage and the load configuration information includes: Based on the current battery voltage, determine the second delayed power supply duration and the second delayed power supply voltage; Based on the second delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the concentrator; When the backup power supply battery module supplies power to the concentrator for the second delayed power supply duration, the critical load of the concentrator is determined based on the load configuration information; Obtain the load power consumption data of the critical load and the second current battery status information of the backup power supply battery module; Based on the load power consumption data and the second current battery status information, the third delayed power supply duration and the third delayed power supply voltage are determined; Based on the third delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the critical load.
6. The method according to claim 5, characterized in that, The step of controlling the backup power supply battery module to provide delayed power to the critical load based on the third delayed power supply voltage includes: After the backup power supply battery module supplies power to the critical load for the third delayed power supply duration, the control unit in the critical load is determined based on the load configuration information. Acquire the control power consumption data of the control unit and the third current battery status information of the backup power supply battery module; Based on the control power consumption data and the third current battery status information, the fourth delayed power supply duration and the fourth delayed power supply voltage are determined; Based on the fourth delayed power supply voltage, the backup power supply battery module is controlled to provide delayed power to the control unit until the fourth delayed power supply duration is reached.
7. The method according to claim 5, characterized in that, After controlling the backup power supply battery module to provide delayed power to the concentrator based on the second delayed power supply voltage, the method further includes: If the main power supply of the concentrator is interrupted again, the current delayed power supply is stopped, and the third current battery status information of the backup power supply battery module and the interruption time of the main power supply interruption are obtained. The interruption time is determined as the power supply update start time, and based on the power supply configuration information and the third current battery status information, the power supply update end time of the backup power supply battery module and the power supply voltage to the concentrator are determined. Based on the power supply update start time and power supply update end time, the backup power supply battery module is controlled to supply power to the concentrator according to the power supply voltage.
8. A concentrator power supply device, characterized in that, include: The information acquisition module is used to acquire the power supply configuration information and the first current battery status information of the backup power supply battery module of the concentrator when the main power supply interruption of the concentrator is detected. The backup power supply module is used to determine the power supply start time and the original power supply end time of the backup power supply battery module based on the power supply configuration information and the first current battery status information, and to control the backup power supply battery module to start supplying power to the concentrator when the power supply start time is reached; The first delayed power supply module is used to obtain the current battery voltage of the backup power supply battery module when the main power supply of the concentrator has not been restored and the original power supply end time has been reached, and to control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage. The second delayed power supply module is used to obtain the current battery voltage and the load configuration information of the concentrator when the main power supply of the concentrator is restored and the original power supply end time has not been reached, and to control the backup power supply battery module to provide delayed power supply to the concentrator based on the current battery voltage and the load configuration information.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the concentrator power supply method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the concentrator power supply method as described in any one of claims 1 to 7.