A power distribution control method, device, equipment and computer storage medium

By obtaining the operating parameters of the power system, automatically judge and switch to the backup power supply module, the problem of equipment power outage during power switching is solved, efficient and reliable power switching is achieved, and uninterrupted power supply of power consumption equipment is ensured.

CN119966056BActive Publication Date: 2025-07-04TIANJIN BOHAI XINNENG TECH CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510436416.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-07-04
Estimated Expiration
2045-04-09

AI Technical Summary

Technical Problem

In the prior art, there is a problem that the switching time during the power switching process leads to power outage of the power consumption equipment, which affects the normal operation of the equipment.

Method used

By obtaining the operating parameters, we judge whether it is abnormal, and output a switching signal to the UPS module when it is abnormal, control the switching to the backup power supply module to supply power, and at the same time stop the power supply of the main power supply module, use the UPS module to achieve an uninterruptible power supply to avoid the equipment being powered off.

Benefits of technology

It realizes efficient automation of power switching, avoids equipment power outage, improves system reliability and automation level, reduces manual intervention, and ensures the continuity and safety of power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966056B_ABST
    Figure CN119966056B_ABST
Patent Text Reader

Abstract

This application relates to the technical field of power distribution, and in particular, to a power distribution control method, device, equipment and computer storage medium. The method includes obtaining operating parameters; judging whether the operating parameters are abnormal based on the operating parameters; if the operating parameters are abnormal, outputting a switching signal to the UPS module to control the switching to the backup power supply module for power supply; and outputting a stop operation signal to the main power supply module. This application has the effect of being able to improve the power supply switching efficiency and avoid power interruption of electrical equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power distribution, and particularly to a power distribution control method, device, equipment, and computer storage medium. Background Art

[0002] With the wide application of electricity, significant progress has been made in power distribution technology. With the development of distributed generation technology, more and more small and flexible power generation facilities have been integrated into the power grid. Through advanced power distribution network planning and management, more efficient power distribution and improved service quality have been achieved.

[0003] In related technologies, a dual-power supply mode is usually adopted, that is, a main power supply and a backup power supply. When a problem occurs with the main power supply, it is necessary to manually cut off the main power supply and then turn on the backup power supply to enable the electrical equipment to continue working using the backup power supply. However, during the switching process, there is a certain switching time, that is, the manual operation switching time, during which the electrical equipment will be powered off and stop working. Summary of the Invention

[0004] In order to improve the power supply switching efficiency and avoid power outage of electrical equipment, this application provides a power distribution control method, device, equipment, and computer storage medium.

[0005] A power distribution control method provided by this application adopts the following technical solution:

[0006] A power distribution control method includes:

[0007] Obtain operating parameters;

[0008] Based on the operating parameters, determine whether it is abnormal;

[0009] If the operating parameters are abnormal, output a switching signal to the UPS module to control the switch to the backup power supply module for power supply;

[0010] Output a stop operation signal to the main power supply module.

[0011] By adopting the above technical solution, operating parameters are obtained, and real-time monitoring of the operating state of the power system is achieved. Based on the obtained operating parameters, a judgment is made. After it is determined to be abnormal, the electronic device can immediately output a switching signal to the UPS module, that is, output a switching signal to the uninterruptible power supply, so as to cut off the power supply of the main power supply module and at the same time supply power with the standby power supply module, which can avoid damage to electrical equipment due to abnormal power supply. Moreover, through the UPS module, uninterruptible power supply can be achieved, that is, the power supply of electrical equipment is ensured, and the situation of power outage of electrical equipment causing the electrical equipment to stop running is avoided. The automatic switching mechanism reduces the need for manual intervention, improves the reliability and automation level of the system, and improves the switching efficiency. Outputting a stop operation signal to the main power supply module can not only prevent the expansion of faults, but also safely isolate the faulty part when necessary.

[0012] Optionally, the judgment of whether it is abnormal based on the operating parameters includes:

[0013] Obtain a comparison threshold;

[0014] Obtain overcurrent based on the operating parameters;

[0015] Judge whether the overcurrent meets the requirements of the comparison threshold;

[0016] If the overcurrent does not meet the requirements of the comparison threshold, it is determined that the operating parameters are abnormal;

[0017] Among them, the comparison threshold is calculated by a calculation formula, and the calculation formula is:

[0018] ;

[0019] is the comparison threshold, is the basic threshold, is the adjustment factor;

[0020] Among them, ; is the deviation value, , , are fitting parameters.

[0021] By adopting the above technical solution, for how to judge whether the operating parameters are abnormal, it is based on obtaining overcurrent from the operating parameters, and then judging whether the overcurrent meets the requirements of the comparison threshold. The comparison threshold is dynamically set, and the dynamic setting method is more flexible and accurate than the fixed threshold, and can adapt to the operating changes under different loads, ambient temperatures, etc., so as to be applicable to stable operation in various situations. The adjustment method considers the non-linear influence of the deviation value, thereby improving the accuracy of judging the abnormality of the operating parameters and reducing false alarms and missed alarms.

[0022] Optionally, after outputting the switching signal to the UPS module, it further includes:

[0023] Obtain a fault prediction model;

[0024] Input the operating parameters into the fault prediction model to obtain the corresponding fault type;

[0025] Output a prompt signal based on the fault type;

[0026] Wherein, the fault prediction model includes:

[0027] Obtain historical fault data;

[0028] Clean the historical fault data to obtain the first historical fault data;

[0029] Establish a fault prediction model based on the first historical fault data.

[0030] By adopting the above technical solution, the historical fault data is cleaned to eliminate the interference data therein to obtain the first historical fault data, and then a model is established based on the first historical fault data, that is, a fault prediction model is obtained. By analyzing the historical fault data, potential fault trends and rules are discovered and a fault prediction model is established. Inputting the operating parameters into the fault prediction model can quickly obtain the corresponding fault type. Once the fault type is identified, a prompt signal can be immediately output to notify the user to perform corresponding processing, which helps to shorten the fault response time and reduce the impact of the fault. And, since the fault type is identified to prompt the user, it is convenient for the user to process more quickly according to the fault type.

[0031] Optionally, before outputting the prompt signal based on the fault type, it further includes:

[0032] Obtain the first moment when the operating parameters are abnormal;

[0033] Obtain the first delay time;

[0034] Obtain the second moment based on the first delay time and the first moment;

[0035] Obtain the first operating state corresponding to the abnormal operating parameters;

[0036] When the second moment is reached, control the main power supply module to simulate operation based on the first operating state and obtain the corresponding simulated operating parameters;

[0037] Judge whether the simulated operating parameters are abnormal;

[0038] If the simulation operation parameters are abnormal, execute the step of outputting a prompt signal based on the fault type.

[0039] By adopting the above technical solution, obtaining the first moment when the operation parameters are abnormal and setting the first delay time can, to a certain extent, avoid misjudgment caused by instantaneous fluctuations or false alarms. The delay verification helps ensure the stability and accuracy of the fault signal. Moreover, regardless of whether misjudgment occurs, the step of switching the main power supply module to the standby power supply module will be carried out. This method can completely protect the electrical equipment. When reaching the second moment, perform simulation operation based on the first operation state and obtain the corresponding simulation operation parameters. By performing simulation operation and obtaining the corresponding simulation operation parameters, and then judging whether the simulation operation parameters are abnormal, it is possible to perform secondary verification on the actual abnormal situation, so as to judge whether the abnormality is a fluctuation. If the simulation operation parameters are also abnormal during the secondary verification, it can be determined that the abnormality exists. Therefore, when the electronic device executes the step of outputting a prompt signal based on the fault type, adopting simulation operation can reduce the impact on the electrical equipment and improve the verification efficiency. Relying on real-time operation data and simulation operation data reflects the design of data-driven decision-making technology. With the continuous accumulation and improvement of data, the level of intelligent operation and maintenance can be further improved, and the accuracy of result judgment will also be further improved.

[0040] Optionally, when the simulation operation parameters are normal, it includes:

[0041] Obtain a similar operation state based on the first operation state;

[0042] Perform simulation operation based on the similar operation state and obtain the corresponding similar operation parameters;

[0043] Obtain a tightening comparison threshold;

[0044] Judge whether the similar operation parameters are abnormal based on the tightening comparison threshold;

[0045] If the similar operation parameters are normal, output a reset signal to the UPS module to control the switch to the main power supply module for power supply; and,

[0046] Obtain a cycle time;

[0047] Assign the tightening comparison threshold to the comparison threshold based on the cycle time;

[0048] Then execute the step of judging whether the operation parameters are abnormal based on the operation parameters;

[0049] If the similar operation parameters are abnormal, output a prompt signal.

[0050] By adopting the above technical solution, when the simulated operating parameters are normal, the electronic device obtains a similar operating state based on the first operating state and compares the current state with the known normal or abnormal states in history. Through comparison, it is possible to more accurately determine whether the current state is truly normal or there are potential problems. Simulating a similar operating state and obtaining similar operating parameters can be used to compare with the parameters of the current state, and this comparison helps to discover subtle differences, thereby more accurately identifying potential faults. Setting a tightened comparison threshold can further improve the sensitivity of fault detection. By setting a more stringent threshold, the determination result becomes more rigorous, thus better eliminating the risk of faults, that is, not only eliminating the abnormal risk of the first operating state simulation operation, but also being able to eliminate the abnormal risk of similar situations. And when it is possible to eliminate the abnormality of the first operating state simulation operation, setting a tightened comparison threshold can better eliminate the abnormality of similar situations to achieve multi-faceted verification, more comprehensively eliminate abnormalities, ensure the safety of power supply, and ensure the power reliability of electrical equipment. When the similar operating parameters are normal, the electronic device outputs a reset signal to switch to the main power supply module for power supply. Since all aspects of fault situations are eliminated and the safety of power consumption is ensured, the power supply is switched back to the main power supply module at this time. At the same time, after recovery, it is also possible to periodically make determinations to better monitor the main power supply module.

[0051] Optionally, the obtaining of the tightened comparison threshold includes:

[0052] Calculating a comprehensive weight, and the calculation formula of the comprehensive weight is: ;

[0053] Establishing a mapping relationship between the comprehensive weight and the tightening factor: ;

[0054] The calculation formula of the tightened comparison threshold is: ;

[0055] Wherein, is the comprehensive weight; , , are all constants; is the historical fault correlation coefficient, representing the similarity and recurrence probability between the current fault and historical faults; is the operating timing deviation coefficient, quantifying the dynamic trend of the parameter deviating from the reference value; is the environmental disturbance coefficient, integrating the characteristics of abnormal voltage spectrum and load mutation; is the tightening factor; is the comparison threshold; is the tightened comparison threshold.

[0056] By adopting the above technical solution, a comprehensive weight that more conforms to the actual situation is calculated, and then a mapping relationship between the comprehensive weight and the tightening factor is established, so as to obtain a more accurate tightening factor, and thus calculate a tightening comparison threshold, and calculate a more reasonable and practical tightening comparison threshold, which can make the determination result more accurate and can more effectively avoid abnormal situations from occurring again.

[0057] Optionally, the calculation formula of the comprehensive weight includes:

[0058] The calculation formula of the historical fault correlation coefficient is: ;

[0059] Wherein, is the severity of the th historical fault; is the time decay coefficient; is the log timestamp of ; is the current timestamp, that is,

[0060] used to represent the time difference between the current time and the historical fault time; ;

[0061] Wherein, is the operating parameter; is the interval time; is the historical standard deviation of the operating parameter, calculated based on the historical operating parameters; is the current timestamp;

[0062] The calculation formula of the environmental disturbance coefficient is: ;

[0063] Wherein, is the root mean square value of the voltage signal, which can be obtained based on FFT spectrum analysis; is the maximum load mutation amplitude, which can be calculated based on the range of the load power sequence; is the load rated value; is the reference voltage; is the low-frequency electromagnetic oscillation frequency band caused by environmental influence; is the high-frequency electromagnetic oscillation frequency band caused by environmental influence.

[0064] Optionally, before outputting the reset signal to the UPS module, it further includes:

[0065] Retrieving the historical operating state data based on the similar operating state;

[0066] Judging whether the historical operating state data includes the similar operating state;

[0067] If the historical operating status data includes the similar operating status, extract the corresponding operating status and use the extracted operating status as the first operating status;

[0068] Obtain the corresponding processing result based on the first operating status;

[0069] Determine whether the processing result is an output reset signal;

[0070] If the processing result is an output reset signal, obtain the corresponding subsequent operating status;

[0071] Obtain the corresponding subsequent operating parameters based on the subsequent operating status;

[0072] Determine whether the subsequent operating parameters are abnormal;

[0073] If the subsequent operating parameters are not abnormal, perform the step of outputting a reset signal to the UPS module to control the switch to the main power supply module for power supply.

[0074] By adopting the above technical solution, before outputting a reset signal to the UPS module, retrieving the historical operating status data can obtain information related to the current similar operating status, which helps to compare the current status with the past status, so as to more accurately determine whether the current status is truly normal or there are potential problems. And when the historical operating status data includes the similar operating status, extract the corresponding operating status and use the extracted operating status as the first operating status, obtain the corresponding processing result based on the extracted first operating status, and determine whether the processing result is an output reset signal, that is, verify whether an output reset signal was performed when the same status as the current similar operating status occurred in history, and at the same time obtain the subsequent operating status after the reset signal was output, and then obtain the corresponding subsequent operating parameters based on the subsequent operating status. When the subsequent operating parameters are not abnormal, it indicates that the determination result for the similar operating status is accurate and can exclude abnormalities. At this time, it is possible to avoid abnormal power supply after reset caused by inaccurate determination, thereby causing damage to electrical equipment.

[0075] In a second aspect, a power distribution control device provided by the present application adopts the following technical solution:

[0076] A first acquisition module, configured to acquire operating parameters;

[0077] A first judgment module, configured to judge whether it is abnormal based on the operating parameters; if the operating parameters are abnormal, transfer to the first output module;

[0078] A first output module, configured to output a switching signal to the UPS module to control the switch to the standby power supply module for power supply;

[0079] A second output module, configured to output a stop operation signal to the main power supply module.

[0080] In a third aspect, an electronic device provided by the present application adopts the following technical solution:

[0081] An electronic device includes a processor, and the processor is coupled to a memory; the processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method described in the first aspect.

[0082] In a fourth aspect, a computer-readable storage medium provided by the present application adopts the following technical solution:

[0083] A computer-readable storage medium includes a computer program or instruction, and when the computer program or instruction runs on a computer, the computer is caused to execute the method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 is a flowchart of the power distribution control method according to an embodiment of the present application.

[0085] Figure 2 is a block diagram of the power distribution control device according to an embodiment of the present application.

[0086] Figure 3 is a block diagram of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0087] This specific embodiment is only an explanation of the present application, and it does not limit the present application. Those skilled in the art can make modifications to this embodiment without creative contributions according to needs after reading this specification, but as long as they are within the scope of the claims of the present application, they are protected by the patent law.

[0088] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments in the present application belong to the scope of protection of the present application.

[0089] In addition, the term "and / or" in this article is only an association relationship describing associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this article generally represents an "or" relationship between the associated objects before and after, unless otherwise specified.

[0090] An embodiment of the present application discloses a power distribution control method. This power distribution control method can be executed by an electronic device. The electronic device can be a server or a terminal device. The server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smart phone, a tablet computer, a desktop computer, etc., but is not limited thereto.

[0091] An embodiment of the present application discloses a power distribution control method. Refer to Figure 1 , the main processes included in a power distribution control method are described as follows (S100 - S400):

[0092] Step S100, obtain operating parameters;

[0093] Step S200, determine whether it is abnormal based on the operating parameters; if the operating parameters are abnormal, then go to step S300;

[0094] Step S300, output a switching signal to the UPS module to control the switching to the backup power supply module for power supply;

[0095] Step S400, output a stop operation signal to the main power supply module.

[0096] The electronic device obtains the operating parameters, and then determines whether it is abnormal based on the operating parameters, which can automatically monitor and determine whether an abnormality occurs. If it is determined that the operating parameters are abnormal, the electronic device sends a switching signal to the UPS module, thereby controlling the power supply switching, that is, switching from the main power supply module to the backup power supply module for power supply, so as to avoid damage to the electrical equipment due to abnormal power supply of the main power supply module. And using the UPS module for switching can achieve uninterrupted power supply switching, that is, the electrical equipment will not experience a power outage, ensuring the continuity of power supply and preventing the electrical equipment from interrupting operation.

[0097] Specifically, determining whether it is abnormal based on the operating parameters includes: obtaining a comparison threshold; obtaining an overcurrent based on the operating parameters; determining whether the overcurrent meets the requirements of the comparison threshold; if the overcurrent does not meet the requirements of the comparison threshold, then it is determined that the operating parameters are abnormal; where the comparison threshold is calculated by a calculation formula, and the calculation formula is:

[0098] (Formula 1);

[0099] is the comparison threshold, is the basic threshold, is the adjustment factor;

[0100] Among them, (Formula 2);

[0101] is the deviation value, , , are fitting parameters.

[0102] The electronic device obtains a comparison threshold, and then obtains an overcurrent based on the operating parameters. The electronic device determines whether the overcurrent meets the requirements of the comparison threshold. If the overcurrent does not meet the requirements of the comparison threshold, it indicates that an abnormality occurs at this time, so it is determined that the operating parameters are abnormal. For the comparison threshold, it is calculated using Formula 1. For a comparison threshold that can be adjusted in real time, it can be made to better conform to the current actual operating conditions, and thus a more accurate determination result can be obtained. For the basic threshold, it can be calculated using Formula 2, where, , , can pass Python in the NumPy library to perform data fitting, that is, use artificially set known data points, experimentally obtained known data points, etc. to perform data fitting, so as to obtain determined , , , so the , , in Formula 2 are known constants. The deviation value needs to be obtained by performing a subtraction operation based on the actual operating conditions and the basic threshold, that is, by subtracting the basic threshold from the actual leakage current value.

[0103] Specifically, for the basic threshold, the calculation formula is:

[0104] The calculation formula is: (Formula 3);

[0105] where, is the basic threshold, is the reliability coefficient, is the maximum three-phase short-circuit current, is the wiring coefficient, is the current transformer ratio, is the transformer ratio.

[0106] The selection of the reliability coefficient is set based on the stability of the main power supply module and the sensitivity of the protection device; the maximum three-phase short-circuit current represents the current flowing through the transformer when a maximum three-phase short circuit occurs on the secondary side, and it is the basis for determining the operating current. The connection coefficient reflects the influence of the current transformer connection method on current measurement. Different connection methods may lead to differences in current measurement, so it is necessary to correct through the connection coefficient; the current transformer ratio, the current transformer is used to convert high current into low current for the protection device to measure, and the ratio represents the proportional relationship between the original current and the converted current. The transformer ratio represents the proportional relationship between the input voltage and the output voltage. In order to be able to correspond the current measured by the protection device with the current on the primary side of the transformer. Therefore, for the calculation of the basic threshold, various aspects of the power supply process can be considered, that is, the calculated basic threshold can be more in line with the actual operation scenario. When making a determination, a more accurate determination result can be obtained, reducing the possibility of misjudgment and missed judgment due to inaccurate thresholds, and better protecting the electrical equipment and the power supply module.

[0107] As an alternative implementation manner of the embodiment of the present application, after outputting the switching signal to the UPS module, it further includes: obtaining a fault prediction model; inputting the operating parameters into the fault prediction model to obtain the corresponding fault type; outputting a prompt signal based on the fault type; wherein, the fault prediction model includes: obtaining historical fault data; cleaning the historical fault data to obtain the first historical fault data; establishing a fault prediction model based on the first historical fault data.

[0108] Obtain the fault prediction model, input the operating parameters into the fault prediction model to obtain the corresponding fault type, and then the electronic device outputs a prompt signal based on the fault type. Using the fault prediction model, the fault type can be obtained quickly, and the output prompt signal is output based on the determined fault type, so the user can directly learn the fault type and can make a response more quickly, thus avoiding greater losses and improving convenience.

[0109] For the fault prediction model, it is established based on historical fault data. Before establishment, it is necessary to clean the historical fault data to obtain effective fault data, so that the established fault prediction model is more accurate and the output result is more accurate. And for the fault prediction model, it can be continuously improved because it is established based on historical fault data. After the historical fault data increases, the fault prediction model can be improved to a certain extent.

[0110] As an alternative implementation manner of the embodiment of the present application, before outputting a prompt signal based on the fault type, it further includes: obtaining a first moment when the operating parameter is abnormal; obtaining a first delay time; obtaining a second moment based on the first delay time and the first moment; obtaining a first operating state corresponding to the abnormal operating parameter; when the second moment is reached, controlling the main power supply module to simulate operation based on the first operating state, and obtaining corresponding simulated operating parameters; determining whether the simulated operating parameters are abnormal; if the simulated operating parameters are abnormal, then performing the step of outputting a prompt signal based on the fault type.

[0111] Before the electronic device outputs a prompt signal based on the fault type, the electronic device obtains a first moment when the operating parameter is abnormal, and at the same time obtains a first delay time, and then obtains a second moment based on the first delay time and the first moment. It is also necessary to, based on the first operating state corresponding to the abnormal operating parameter, after the first delay time, that is, when the second moment is reached, the electronic device controls the main power supply module to simulate operation based on the first operating state, so as to realize scenario reproduction. At the same time, corresponding simulated operating parameters are obtained during the simulated operation, and then it is determined whether the simulated operating parameters are abnormal. If the simulated operating parameters are abnormal, it indicates that the main power supply module is indeed abnormal at this time, rather than a misjudgment. Therefore, at this time, the electronic device performs the step of outputting a prompt signal based on the fault type.

[0112] Moreover, the delay verification here is performed after the power supply has been switched. That is, in this embodiment, the delay is not used to eliminate misjudgments and missed judgments. Instead, as long as it is determined to be abnormal, the power supply is switched, and the delay verification is only for exclusion verification after the power supply is switched. This method can better protect the electrical equipment.

[0113] As an alternative implementation manner of the embodiment of the present application, when the simulated operating parameters are not abnormal, it includes: obtaining a similar operating state based on the first operating state; simulating operation based on the similar operating state, and obtaining corresponding similar operating parameters; obtaining a tightened comparison threshold; determining whether the similar operating parameters are abnormal based on the tightened comparison threshold; if the similar operating parameters are not abnormal, then outputting a reset signal to the UPS module to control the switch to the main power supply module for power supply; and, obtaining a cycle time; assigning the tightened comparison threshold to the comparison threshold based on the cycle time; then performing the step of determining whether the operating parameters are abnormal based on the operating parameters; if the similar operating parameters are abnormal, then outputting a prompt signal.

[0114] When the simulation operation parameters are normal, the electronic device obtains a similar operation state based on the first operation state, then simulates the operation based on the similar operation state, and obtains the corresponding similar operation parameters. The electronic device also needs to obtain a tightening comparison threshold, and then determine whether the similar operation parameters are abnormal based on the tightening comparison threshold. If the similar operation parameters are normal, the electronic device outputs a reset signal to the UPS module to control the switch to the main power supply module for power supply, because at this time, the scenario reproduction verification is normal, and then the scenario verification of the similar situation is also normal. Through horizontal verification and reproduction verification, both are normal. Therefore, the electronic device determines that the abnormality is a misjudgment and needs to resume power supply from the main power supply module. Among them, when performing horizontal verification, that is, when verifying the similar operation state, for the use of the threshold, a tightened threshold is adopted, that is, the determination is more strict, so as to avoid the possibility of equipment damage due to abnormal conditions still occurring after reset due to inaccurate determination. And not only the reproduction verification of the abnormal scenario is carried out, but also the verification of the similar scenario is carried out, that is, multi-faceted verification is carried out, which can more comprehensively exclude abnormal situations. At the same time, after restoring power supply, the tightening comparison threshold is periodically assigned to the comparison threshold for judgment, which can better monitor the main power supply module. If the similar operation parameters are abnormal, the electronic device outputs a prompt signal to prompt the user. At this time, it is determined that the main power supply module has an abnormality, not a misjudgment.

[0115] Among them, for the similar operation state, it is necessary to first obtain the actual operation data corresponding to the first operation state, and obtain the simulated operation data based on the actual operation data. Taking the actual operation data as the standard, the data within the preset range is the simulated operation data, and the preset range can be set manually. The state of simulating the operation based on the simulated operation data is the similar operation state, and continuously simulating the operation based on the similar operation state can obtain the corresponding similar operation parameters. For example, if the voltage value in the actual operation data is set to L volts, the preset range can be set to L - V volts to L + V volts. Any value other than L volts is taken from the preset range as the simulated operation data.

[0116] Specifically, obtaining the tightening comparison threshold includes: calculating the comprehensive weight, and the calculation formula of the comprehensive weight is: ;

[0117] Establishing the mapping relationship between the comprehensive weight and the tightening factor: ;

[0118] The calculation formula of the tightening comparison threshold is: ;

[0119] Among them, is the comprehensive weight, and the final value range of the comprehensive weight is [0,1]; , , The three are constants. In this embodiment, takes the value of 0.4, takes the value of 0.35, takes the value of 0.25; is the historical fault correlation coefficient, which characterizes the similarity and recurrence probability between the current fault and historical faults; is the operation timing deviation coefficient, which quantifies the dynamic trend of the parameter deviating from the reference value; is the environmental disturbance coefficient, which fuses the abnormal voltage spectrum and load mutation characteristics; is the tightening factor; is the comparison threshold; is the tightened comparison threshold.

[0120] Specifically, the tightened comparison threshold needs to be calculated, and the specific calculation process is as shown in the above formula. And for , , the calculations of the three are as follows:

[0121] ;

[0122] where, is the severity of the th historical fault. The severity can be preset, and then the severity is evaluated based on the specific fault. The value range of the severity is [0, 1]; is the time decay coefficient, which characterizes the attenuation of the influence of historical faults on the current decision, and is specifically determined based on the MTBF of the power system; is the log timestamp of the power system; is the current timestamp, that is, is used to represent the time difference from the current time to the historical fault time.

[0123] ;

[0124] where, is the operation parameter, which can be a voltage parameter, a current parameter, a frequency parameter, etc. In this embodiment, it is defined as the current parameter; is the interval time, and this parameter can be set by the user; is the historical standard deviation of the operation parameter, which is calculated based on the historical operation parameters and is used to characterize the degree of dispersion; is also the current timestamp, that is, the current time, the current timestamp in the formula is the same as the current timestamp in the formula, that is, their values are the same during the calculation process. The numerator in the formula is the integral of the absolute value of the second derivative over time, which is used to characterize the accumulation of the acceleration of change, The denominator in the formula is the product of the interval time and the standard deviation, which is used to standardize the integration result.

[0125] ;

[0126] Among them, is the root mean square value of the voltage signal (frequency component), which can be obtained based on FFT spectrum analysis; is the maximum load mutation amplitude, which can be calculated based on the range of the load power sequence; is the load rated value; is the reference voltage, that is, the value under normal conditions without disturbance; is the low-frequency electromagnetic oscillation frequency band caused by environmental impact; is the high-frequency electromagnetic oscillation frequency band caused by environmental impact.

[0127] For the calculation of the tightened comparison threshold, a counter-intuitive threshold tightening mechanism is adopted, and factors such as equipment aging, historical faults, and environmental factors are effectively considered. That is, the calculation of the tightened comparison threshold is more reasonable and conforms to the actual situation, enabling better judgment and making the determination result more reasonable. And voltage spectrum calculation and combined calculations such as load mutation are used to make the result more accurate. For and , the specific values need to be defined according to the specific situation. If the environmental impact is defined as lightning interference, then is used to represent the line low-frequency oscillation caused by the injection of the steep wave of lightning current, such as the rise of ground potential and wave impedance resonance, the value of can be set to 2 kHz; is used to represent the high-frequency oscillation component generated by the attenuation of the lightning channel plasma, the value of can be set to 10 kHz.

[0128] As an alternative implementation manner of the embodiment of the present application, before outputting a reset signal to the UPS module, it further includes: retrieving historical operation state data based on a similar operation state; determining whether the historical operation state data includes a similar operation state; if the historical operation state data includes a similar operation state, extracting the corresponding operation state and using the extracted operation state as the first operation state; obtaining a corresponding processing result based on the first operation state; determining whether the processing result is to output a reset signal; if the processing result is to output a reset signal, obtaining a corresponding subsequent operation state; obtaining corresponding subsequent operation parameters based on the subsequent operation state; determining whether the subsequent operation parameters are abnormal; if the subsequent operation parameters are not abnormal, performing the step of outputting a reset signal to the UPS module to control the switch to the main power supply module for power supply.

[0129] Before the electronic device outputs a reset signal to the UPS module, the electronic device retrieves historical operating state data based on a similar operating state, and determines whether the historical operating state data includes the similar operating state. If the historical operating state data includes the similar operating state, the electronic device extracts the corresponding operating state and uses the extracted operating state as the first operating state. Then, based on the first operating state, the corresponding processing result is obtained, and it is determined whether the processing result is to output a reset signal, that is, it is determined whether an action of outputting a reset signal was also taken in the same operating state in the historical processing situation. If the processing result is to output a reset signal, the electronic device obtains the corresponding subsequent operating state, that is, the operating state after restoring power supply from the main power supply module. Then, based on the subsequent state, the corresponding subsequent operating parameters are obtained, and it is determined whether the subsequent operating parameters are abnormal. If the subsequent operating parameters are not abnormal, it indicates that the safety of the process of restoring power supply from the main power supply module is high. Therefore, the electronic device executes the step of outputting a reset signal to the UPS module.

[0130] Figure 2 The following is a structural block diagram of a power distribution control device 500 provided by an embodiment of the present application, as Figure 2 shown. The power distribution control device 500 includes:

[0131] A first acquisition module 501, configured to acquire operating parameters;

[0132] A first judgment module 502, configured to judge whether it is abnormal based on the operating parameters; if the operating parameters are abnormal, it transfers to the first output module 503;

[0133] A first output module 503, configured to output a switching signal to the UPS module to control the switching to the backup power supply module for power supply;

[0134] A second output module 504, configured to output a stop operation signal to the main power supply module.

[0135] Specifically, the first judgment module 502 includes:

[0136] A first acquisition sub-module, configured to acquire a comparison threshold;

[0137] A second acquisition sub-module, configured to acquire an overcurrent based on the operating parameters;

[0138] A first judgment sub-module, configured to judge whether the overcurrent meets the comparison threshold requirement; if the overcurrent does not meet the comparison threshold requirement, it is determined that the operating parameters are abnormal; wherein, the comparison threshold is calculated by a calculation formula, and the calculation formula is:

[0139] ;

[0140] is the comparison threshold, is the basic threshold, is an adjustment factor;

[0141] Wherein, ; is the deviation value, , are fitting parameters.

[0142] For the basic threshold, it includes: The calculation formula is: ;

[0143] Wherein, is the basic threshold, is the reliability coefficient, is the maximum three-phase short-circuit current, is the connection coefficient, is the current transformer ratio, is the transformer ratio.

[0144] In this alternative embodiment, the power distribution control device 500 further includes:

[0145] A third acquisition sub-module, configured to acquire a fault prediction model after outputting a switching signal to the UPS module;

[0146] A first input sub-module, configured to input operating parameters into the fault prediction model to obtain a corresponding fault type;

[0147] A first output sub-module, configured to output a prompt signal based on the fault type;

[0148] Wherein, the fault prediction model includes:

[0149] A fourth acquisition sub-module, configured to acquire historical fault data;

[0150] A first cleaning sub-module, configured to clean the historical fault data to obtain first historical fault data;

[0151] A first establishment sub-module, configured to establish a fault prediction model based on the first historical fault data.

[0152] In this alternative embodiment, the power distribution control device 500 further includes:

[0153] A fifth acquisition sub-module, configured to acquire the first moment when the operating parameters are abnormal before outputting a prompt signal based on the fault type;

[0154] A sixth acquisition sub-module, configured to acquire the first delay time;

[0155] A seventh acquisition sub-module, configured to acquire the second moment based on the first delay time and the first moment;

[0156] An eighth acquisition sub-module, configured to acquire a first operating state corresponding to an abnormal operating parameter;

[0157] A first simulation acquisition sub-module, configured to, when a second moment is reached, perform a simulation operation based on the first operating state and acquire corresponding simulation operation parameters;

[0158] A second judgment sub-module, configured to judge whether the simulation operation parameters are abnormal; if the simulation operation parameters are abnormal, then perform the step of outputting a prompt signal based on the fault type.

[0159] In this alternative embodiment, the power distribution control device 500 further includes:

[0160] A ninth acquisition sub-module, configured to, when the simulation operation parameters are normal, acquire a similar operating state based on the first operating state;

[0161] A second simulation acquisition sub-module, configured to perform a simulation operation based on the similar operating state and acquire corresponding similar operation parameters;

[0162] A tenth acquisition sub-module, configured to acquire a tightening comparison threshold;

[0163] A third judgment sub-module, configured to judge whether the similar operation parameters are abnormal based on the tightening comparison threshold; if the similar operation parameters are normal, then output a reset signal to the UPS module to control the switching to the main power supply module for power supply, and acquire a cycle time; if the similar operation parameters are abnormal, then perform the step of outputting a prompt signal;

[0164] A first assignment sub-module, configured to assign the tightening comparison threshold to the comparison threshold based on the cycle time; and then perform the step of judging whether the operation parameters are abnormal based on the operation parameters.

[0165] In this alternative embodiment, the tenth acquisition sub-module includes:

[0166] A fifth calculation sub-module, configured to calculate a comprehensive weight, and the calculation formula of the comprehensive weight is: ;

[0167] A first establishment sub-module, configured to establish a mapping relationship between the comprehensive weight and the tightening factor: ;

[0168] A sixth calculation sub-module, configured to calculate the tightening comparison threshold, and the calculation formula is: ;

[0169] Wherein, is the comprehensive weight; , , are all constants; is the historical fault correlation coefficient, which characterizes the similarity and recurrence probability between the current fault and the historical fault; is the running time sequence deviation coefficient, which quantifies the dynamic trend of the quantization parameter deviating from the reference value; is the environmental disturbance coefficient, which fuses the abnormal voltage spectrum and the load mutation characteristics; is the tightening factor; is the comparison threshold; is the tightened comparison threshold.

[0170] In this alternative embodiment, the fifth calculation sub-module includes:

[0171] The seventh calculation sub-module is used to calculate the historical fault correlation coefficient, and the calculation formula is: ;

[0172] Among them, is the severity of the th historical fault; is the time decay coefficient; is the log timestamp of the power system; is the current timestamp, that is, is used to represent the time difference between the current time and the historical fault time;

[0173] The eighth calculation sub-module is used to calculate the running time sequence deviation coefficient, and the calculation formula is: ;

[0174] Among them, is the running parameter; is the interval time; is the historical standard deviation of the running parameter, calculated based on the historical running parameter; is the current timestamp;

[0175] The ninth calculation sub-module is used to calculate the environmental disturbance coefficient, and the calculation formula is: ;

[0176] Among them, is the root mean square value of the voltage signal, which can be obtained based on FFT spectrum analysis; is the maximum load mutation amplitude, which can be calculated based on the range of the load power sequence; is the load rated value; is the reference voltage.

[0177] In this alternative embodiment, the distribution control device 500 further includes:

[0178] The first retrieval sub-module is used to retrieve the historical operation state data based on the similar operation state before outputting the reset signal to the UPS module;

[0179] The fourth judgment sub-module is used to judge whether the historical operation status data includes similar operation statuses; if the historical operation status data includes similar operation statuses, extract the corresponding operation status and use the extracted operation status as the first operation status;

[0180] The eleventh acquisition sub-module is used to obtain the corresponding processing result based on the first operation status;

[0181] The fifth judgment sub-module is used to judge whether the processing result is to output a reset signal; if the processing result is to output a reset signal, obtain the corresponding subsequent operation status;

[0182] The twelfth acquisition sub-module is used to obtain the corresponding subsequent operation parameters based on the subsequent operation status;

[0183] The sixth judgment sub-module is used to judge whether the subsequent operation parameters are abnormal; if the subsequent operation parameters are not abnormal, execute the step of outputting a reset signal to the UPS module to control the switch to the main power supply module for power supply.

[0184] Figure 3 This is a structural block diagram of an electronic device 600 provided by an embodiment of the present application. The electronic device 600 can be a device such as a mobile phone, a tablet computer, a PC, a server, etc. As Figure 3 shown, the electronic device 600 includes a memory 601, a processor 602, and a communication bus 603; the memory and the processor 602 are connected through the communication bus 603. A computer program capable of being loaded and executed by the processor 602, such as the power distribution control method provided in the above embodiment, is stored on the memory 601.

[0185] The memory 601 can be used to store instructions, programs, codes, code sets, or instruction sets. The memory 601 may include a program storage area and a managed data storage area. Among them, the program storage area may store instructions for implementing an operating system, instructions for at least one function, and instructions for implementing the power distribution control method provided in the above embodiment, etc.; the managed data storage area may store the managed data involved in the power distribution control method provided in the above embodiment, etc.

[0186] The processor 602 may include one or more processing cores. By running or executing instructions, programs, code sets, or instruction sets stored in the memory 601, the processor 602 invokes the managed data stored in the memory 601 and executes various functions of this application and processes the managed data. The processor 602 may be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the functions of the above-mentioned processor 602 may also be others, and the embodiments of this application do not make specific limitations.

[0187] The communication bus 603 may include a path for transmitting information between the above components. The communication bus 603 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 603 may be divided into an address bus, a managed data bus, a control bus, etc. For ease of representation, Figure 3 only a double arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0188] The embodiments of this application provide a computer storage medium storing a computer program that can be loaded and executed by a processor to perform the power distribution control method provided in the above embodiments.

[0189] In this embodiment, a computer storage medium may be a tangible device that holds and stores instructions used by an instruction execution device. The computer storage medium may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the foregoing. Specifically, the computer storage medium may be a portable computer disk, a hard disk, a USB flash drive, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a podium random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, an optical disk, a magnetic disk, a mechanical encoding device, and any combination of the foregoing.

[0190] The term "comprising," "including," or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements that are inherent to such process, method, article, or apparatus.

Claims

1. A power distribution control method, characterized in that, It includes: Obtain operating parameters; Judge whether it is abnormal based on the operating parameters; If the operating parameters are abnormal, output a switching signal to the UPS module to control the switching to the backup power supply module for power supply; Output a stop operation signal to the main power supply module; The judging whether it is abnormal based on the operating parameters includes: Obtain a comparison threshold; Obtain overcurrent based on the operating parameters; Judge whether the overcurrent meets the requirements of the comparison threshold; If the overcurrent does not meet the requirements of the comparison threshold, it is determined that the operating parameters are abnormal; Among them, the comparison threshold is calculated by a calculation formula, and the calculation formula is: ; is the comparison threshold value, is the base threshold value, is the adjustment factor; Among them, ; is the deviation value, which is obtained by subtracting based on the actual operating conditions and the basic threshold value, , , are fitting parameters; After outputting the switching signal to the UPS module, it further includes: Obtain a fault prediction model; Input the operating parameters into the fault prediction model to obtain the corresponding fault type; Output a prompt signal based on the fault type; Among them, the fault prediction model includes: Obtain historical fault data; Clean the historical fault data to obtain the first historical fault data; Establish a fault prediction model based on the first historical fault data; Before outputting the prompt signal based on the fault type, it further includes: Obtain the first moment when the operating parameters are abnormal; Obtain a first delay time; Obtain a second moment based on the first delay time and the first moment; Obtain the first operating state corresponding to the abnormal operating parameters; When the second moment is reached, control the main power supply module to simulate operation based on the first operating state and obtain the corresponding simulated operating parameters; Judge whether the simulated operating parameters are abnormal; If the simulated operating parameters are abnormal, execute the step of outputting the prompt signal based on the fault type; When the simulated operating parameters are not abnormal, it includes: Obtain a similar operating state based on the first operating state; Simulate operation based on the similar operating state and obtain the corresponding similar operating parameters; Obtain a tightened comparison threshold; the tightened comparison threshold is used to further improve the fault detection sensitivity; Judge whether the similar operating parameters are abnormal based on the tightened comparison threshold; If the similar operating parameters are not abnormal, output a reset signal to the UPS module to control the switching to the main power supply module for power supply; and, Obtain a cycle time; Assign the tightened comparison threshold to the comparison threshold based on the cycle time; Then execute the step of judging whether the operating parameters are abnormal based on the operating parameters; If the similar operating parameters are abnormal, output a prompt signal.

2. The distribution control method according to claim 1, characterized in that The obtaining of the tightened comparison threshold includes: Calculate the comprehensive weight, and the calculation formula of the comprehensive weight is as follows: ; Establish the mapping relationship between the comprehensive weight and the tightening factor: ; The calculation formula for the tightening comparison threshold is as follows: ; Among them, is the comprehensive weight; , , are all constants; is the historical fault correlation coefficient, representing the similarity and recurrence probability between the current fault and historical faults; is the operation timing deviation coefficient, quantifying the dynamic trend of the parameter deviating from the reference value; is the environmental disturbance coefficient, integrating the abnormal voltage spectrum and load mutation characteristics; is the tightening factor; is the comparison threshold; is the tightened comparison threshold.

3. A power distribution control method according to claim 2, characterized in that The calculation formula of the comprehensive weight includes: The calculation formula for the historical fault correlation coefficient is as follows: ; Among them, is the severity of the th historical fault; is the time decay coefficient; is the log timestamp of the power system; is the current timestamp, that is, is used to represent the time difference between the current time and the historical fault time; The calculation formula for the running timing deviation coefficient is as follows: ; Among them, is the operating parameter; is the interval time; is the historical standard deviation of the operating parameter, calculated based on the historical operating parameters; is the current timestamp; The calculation formula for the environmental disturbance coefficient is as follows: ; Among them, is the root mean square value of the voltage signal, which can be obtained based on FFT spectrum analysis; is the maximum load mutation amplitude, which can be calculated based on the range of the load power sequence; is the load rating; is the reference voltage; is the low-frequency electromagnetic oscillation frequency band caused by environmental impact; is the high-frequency electromagnetic oscillation frequency band caused by environmental impact.

4. A power distribution control method according to claim 1, characterized in that, Before outputting the reset signal to the UPS module, it further includes: Retrieve the historical operating state data based on the similar operating state; Judge whether the historical operating state data includes the similar operating state; If the historical operating state data includes the similar operating state, extract the corresponding operating state and use the extracted operating state as the first operating state; Obtain the corresponding processing result based on the first operating state; Judge whether the processing result is to output a reset signal; If the processing result is to output a reset signal, obtain the corresponding subsequent operating state; Obtain corresponding subsequent operation parameters based on the subsequent operation state; Judge whether the subsequent operation parameters are abnormal; If the subsequent operation parameters are not abnormal, perform the step of outputting a reset signal to the UPS module to control the switch to the main power supply module for power supply.

5. A power distribution control device, characterized in that, It includes: The first acquisition module is used to acquire operation parameters; The first judgment module is used to judge whether it is abnormal based on the operation parameters; If the operation parameters are abnormal, transfer to the first output module; The first output module is used to output a switching signal to the UPS module to control the switch to the standby power supply module for power supply; The second output module is used to output a stop operation signal to the main power supply module; The first judgment module includes: The first acquisition sub-module is used to acquire a comparison threshold; The second acquisition sub-module is used to acquire overcurrent based on operation parameters; The first judgment sub-module is used to judge whether the overcurrent meets the comparison threshold requirement; if the overcurrent does not meet the comparison threshold requirement, it is determined that the operation parameters are abnormal; among them, the comparison threshold is calculated by a calculation formula, and the calculation formula is: ; is the comparison threshold, is the base threshold, is the adjustment factor; Among them, ; is the deviation value, which is obtained by subtracting based on the actual operating conditions and the basic threshold value, , , are fitting parameters; The third acquisition sub-module is used to acquire a fault prediction model after outputting a switching signal to the UPS module; The first input sub-module is used to input operation parameters into the fault prediction model to obtain corresponding fault types; The first output sub-module is used to output a prompt signal based on the fault type; Among them, the fault prediction model includes: The fourth acquisition sub-module is used to acquire historical fault data; The first cleaning sub-module is used to clean the historical fault data to obtain the first historical fault data; The first establishment sub-module is used to establish a fault prediction model based on the first historical fault data; The fifth acquisition sub-module is used to acquire the first moment when the operation parameters are abnormal before outputting a prompt signal based on the fault type; The sixth acquisition sub-module is used to acquire the first delay time; The seventh acquisition sub-module is used to acquire the second moment based on the first delay time and the first moment; The eighth acquisition sub-module is used to acquire the first operation state corresponding to the abnormal operation parameters; The first simulation acquisition sub-module is used to simulate the operation based on the first operation state and acquire corresponding simulated operation parameters when reaching the second moment; The second judgment sub-module is used to judge whether the simulated operation parameters are abnormal; if the simulated operation parameters are abnormal, perform the step of outputting a prompt signal based on the fault type The ninth acquisition sub-module is used to acquire a similar operation state based on the first operation state when the simulated operation parameters are not abnormal; The second simulation acquisition sub-module is used to simulate the operation based on the similar operation state and acquire corresponding similar operation parameters; The tenth acquisition sub-module is used to acquire a tightened comparison threshold; the tightened comparison threshold is used to further improve the fault detection sensitivity; The third judgment sub-module is used to judge whether the similar operation parameters are abnormal based on the tightened comparison threshold; if the similar operation parameters are not abnormal, output a reset signal to the UPS module to control the switch to the main power supply module for power supply, and acquire the cycle time; if the similar operation parameters are abnormal, perform the step of outputting a prompt signal; The first assignment sub-module is used to assign the tightened comparison threshold to the comparison threshold based on the cycle time; then perform the step of judging whether the operation parameters are abnormal based on the operation parameters.

6. An electronic device, characterized in that, Comprising a processor, the processor being coupled to a memory; the processor is configured to execute a computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, Comprising a computer program or instructions, when the computer program or instructions are run on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Fault prediction method and device for power module, storage medium and processor

    CN116956187A

  • Power supply backup control system for equipment power failure

    CN118487365A

  • Power system monitoring method, device, electronic equipment and storage medium

    CN119787618A