Search

CN-121984208-A - Power supply control method, device, computer equipment and storage medium

CN121984208ACN 121984208 ACN121984208 ACN 121984208ACN-121984208-A

Abstract

The application belongs to the technical field of power control, and relates to a power control method, a device, computer equipment and a storage medium, which comprise the steps of obtaining original power parameters of a mains supply, and preprocessing the original power parameters to obtain target power parameters; the method comprises the steps of inputting target power supply parameters into a preset power failure prediction model, outputting a prediction result through the power failure prediction model, determining the power quality fraction of the commercial power supply according to the target power supply parameters, obtaining load power parameters of the commercial power supply, determining a control instruction of the commercial power supply according to the prediction result, the power quality fraction and the load power parameters, and executing the control instruction on the commercial power supply. The application avoids the abnormal function of the equipment caused by power interruption and improves the problem of response delay of the traditional switching power supply device.

Inventors

  • ZHANG NING
  • GAO QI
  • Huang Pengguang
  • LIU LI

Assignees

  • 广西普德新星电源科技有限公司

Dates

Publication Date
20260505
Application Date
20260318

Claims (10)

  1. 1. A power supply control method, characterized by comprising the steps of: acquiring original power supply parameters of a mains supply, and preprocessing the original power supply parameters to obtain target power supply parameters; inputting the target power supply parameters into a preset power-loss prediction model, and outputting a prediction result through the power-loss prediction model; determining a power quality fraction of the mains supply according to the target power supply parameter; And acquiring a load power parameter of the commercial power supply, determining a control instruction for the commercial power supply according to the prediction result, the power quality fraction and the load power parameter, and executing the control instruction for the commercial power supply.
  2. 2. The power control method according to claim 1, wherein the target power parameter has a plurality of sub-parameters, the power loss prediction model includes a feature determination layer and a parameter prediction layer, the inputting the target power parameter into a preset power loss prediction model, and outputting a prediction result through the power loss prediction model includes: acquiring historical time sequence characteristics and current time sequence characteristics of each sub-parameter through the characteristic determining layer, and determining time sequence characteristic parameters according to the historical time sequence characteristics and the current time sequence characteristics; And predicting the mains supply according to the time sequence characteristic parameters and the target power supply parameters by the parameter prediction layer to obtain the prediction result.
  3. 3. The power control method according to claim 2, wherein the step of obtaining, by the feature determination layer, a history time series feature and a current time series feature of each of the sub-parameters, and determining a time series feature parameter based on the history time series feature and the current time series feature, comprises: Acquiring a first weight of each time sequence in the historical time sequence characteristics through the characteristic determining layer; summing each time sequence in the historical time sequence characteristics according to the first weight to obtain summed historical time sequence characteristics; obtaining second weights of the sub-parameters, and summing current time sequence features corresponding to the sub-parameters according to the second weights to obtain summed current time sequence features; and fusing the summed historical time sequence characteristics with the summed current time sequence characteristics to obtain time sequence characteristic parameters.
  4. 4. The power supply control method according to claim 1, wherein the determining the control instruction for the commercial power supply based on the prediction result, the power supply quality score, and the load power parameter includes: performing range conversion on the prediction result, the power quality fraction and the load power parameter to obtain a parameter set; converting the parameter set according to a preset fuzzy control strategy to obtain an initial conversion result; and mapping the initial conversion result to obtain the control instruction.
  5. 5. The power control method of claim 1, wherein the target power parameter has a plurality of sub-parameters including a voltage effective value, a frequency offset, and a harmonic content, and wherein determining the power quality fraction of the mains power based on the target power parameter comprises: Acquiring third weights respectively corresponding to the voltage effective value, the frequency offset and the harmonic content; And summing the voltage effective value, the frequency offset and the harmonic content according to the third weight to obtain the power quality fraction.
  6. 6. The power supply control method according to claim 1, characterized by further comprising, after said executing said control instruction to said commercial power supply: Acquiring operation parameters and monitoring data of the mains supply; synchronizing said operating parameters to a backup control unit of said mains supply; According to a preset frequency, the monitoring data are sent to the standby control unit; receiving a take-over instruction fed back by the standby control unit, and acquiring a current power supply control signal according to the take-over instruction; and starting the standby control unit according to the power supply control signal.
  7. 7. The power control method according to any one of claims 1 to 6, wherein the preprocessing the original power parameter to obtain a target power parameter includes: filtering the original power supply parameters to obtain filtered original power supply parameters; Converting the filtered original power supply parameters to obtain a discrete digital sequence; And transforming the discrete digital sequence to obtain the target power supply parameter.
  8. 8. A power supply control apparatus, comprising: The preprocessing module is used for acquiring original power supply parameters of the mains supply, and preprocessing the original power supply parameters to obtain target power supply parameters; the prediction model is used for inputting the target power supply parameters into a preset power-loss prediction model, and outputting a prediction result through the power-loss prediction model; The determining module is used for determining the power quality fraction of the commercial power supply according to the target power supply parameter; and the control module is used for acquiring the load power parameter of the commercial power supply, determining a control instruction of the commercial power supply according to the prediction result, the power quality fraction and the load power parameter, and executing the control instruction on the commercial power supply.
  9. 9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which when executed by the processor implement the steps of the power control method of any of claims 1 to 7.
  10. 10. A computer readable storage medium having stored thereon computer readable instructions which when executed by a processor implement the steps of the power control method according to any of claims 1 to 7.

Description

Power supply control method, device, computer equipment and storage medium Technical Field The present application relates to the field of power control technologies, and in particular, to a power control method, a device, a computer device, and a storage medium. Background Along with the acceleration of the urban process and the upgrading of fire safety standards, the requirements of a building fire protection system on the continuity of power supply are increasingly severe, and the fire protection power supply control device is used as an important part for guaranteeing the emergency power supply of key equipment such as a fire pump, a smoke exhaust fan and the like, and the performance of the fire protection system is directly related to the scene rescue efficiency and the personnel safety. The traditional fire-fighting power supply control device is mostly built based on a mechanical relay or a common electronic switch, is matched with a simple voltage monitoring module, and realizes alternate power supply of the commercial power and the standby power supply by detecting the power-off state of the commercial power to trigger a switching action, so that the basic power supply switching requirement under a general scene can be met. However, the conventional fire power control device is limited by the mechanical structure action inertia or the response speed of a general electronic switch, and the switching time thereof is generally between several tens milliseconds and several hundreds milliseconds. In emergency scenes such as fire, the delay can cause the failure of the functions of the fire-fighting equipment due to short power interruption, so that key effects such as fire extinguishment, smoke exhaust, emergency lighting and the like can not be timely exerted, and the fire-fighting safety guarantee effect is seriously influenced. In view of this, the present application has been proposed. Disclosure of Invention The embodiment of the application aims to provide a power supply control method, a power supply control device, computer equipment and a storage medium, so as to solve the technical problem of response delay of a traditional fire-fighting power supply control device. In order to solve the above technical problems, an embodiment of the present application provides a power control method, which adopts the following technical schemes, including: acquiring original power supply parameters of a mains supply, and preprocessing the original power supply parameters to obtain target power supply parameters; inputting the target power supply parameters into a preset power-loss prediction model, and outputting a prediction result through the power-loss prediction model; determining a power quality fraction of the mains supply according to the target power supply parameter; And acquiring a load power parameter of the commercial power supply, determining a control instruction for the commercial power supply according to the prediction result, the power quality fraction and the load power parameter, and executing the control instruction for the commercial power supply. Further, the target power supply parameter has a plurality of sub-parameters, the power-loss prediction model includes a feature determining layer and a parameter predicting layer, the input of the target power supply parameter into a preset power-loss prediction model, the output of a prediction result through the power-loss prediction model includes: acquiring historical time sequence characteristics and current time sequence characteristics of each sub-parameter through the characteristic determining layer, and determining time sequence characteristic parameters according to the historical time sequence characteristics and the current time sequence characteristics; And predicting the mains supply according to the time sequence characteristic parameters and the target power supply parameters by the parameter prediction layer to obtain the prediction result. Further, the step of obtaining, by the feature determining layer, the historical time sequence feature and the current time sequence feature of each sub-parameter, and determining the time sequence feature parameter according to the historical time sequence feature and the current time sequence feature includes: Acquiring a first weight of each time sequence in the historical time sequence characteristics through the characteristic determining layer; summing each time sequence in the historical time sequence characteristics according to the first weight to obtain summed historical time sequence characteristics; obtaining second weights of the sub-parameters, and summing current time sequence features corresponding to the sub-parameters according to the second weights to obtain summed current time sequence features; and fusing the summed historical time sequence characteristics with the summed current time sequence characteristics to obtain time sequence characteristic parameters. Further