A method and system for monitoring electric variables of a three-stage power supply box

Through the improved random forest algorithm and group optimization algorithm, the power box environment prediction and judgment model and the electrical variable disturbance judgment model are constructed, which solves the problems of electrical variable monitoring errors and hidden dangers of the three-level power box in complex environments, realizes accurate monitoring and risk assessment of electrical variables, and improves the safety and stability of the power system.

CN119293474BActive Publication Date: 2025-05-13DONGGUAN SWITCH FACTORY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411575839.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-05-13
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

The third-level power supply box has measurement errors and safety hazards in complex environments. It needs to be adaptively adjusted according to the environmental conditions to achieve accurate monitoring and early warning.

Method used

The improved random forest algorithm and group optimization algorithm are used to build a power box environment prediction and judgment model and an electrical variable disturbance judgment model. By monitoring the environment variables and the power box electrical variables in real time, the electrical variables are predicted and compensated, and the monitoring threshold is dynamically adjusted to achieve quantitative assessment of the risk of the electrical variable.

Benefits of technology

It improves the accuracy and reliability of the power box electrical variable monitoring, can effectively identify and compensate the impact of environmental disturbances on the electrical variables, optimize the operating status of the power box, and ensure the safety and stability of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119293474B_ABST
    Figure CN119293474B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for monitoring electrical variables in a three-level power supply box, belonging to the field of electrical variable monitoring technology. A three-level power supply box electrical variable monitoring system includes: an electrical variable environmental disturbance judgment module, an electrical variable disturbance compensation and update module, and an electrical variable dynamic threshold division module. This invention achieves accurate prediction and compensation of electrical variables by real-time monitoring and analysis of environmental variables and power supply box electrical variables, utilizing an improved random forest algorithm and population optimization algorithm. It can effectively identify and compensate for the impact of environmental disturbances on electrical variables, improving the accuracy and reliability of power supply box electrical variable monitoring. Simultaneously, through dynamic threshold division, the monitoring standards can be adjusted based on real-time environmental variables and electrical variable disturbance prediction results, achieving quantitative assessment of electrical variable risks, thereby optimizing the operating status of the power supply box and ensuring the safety and stability of the power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric variable monitoring, and in particular to a method and system for monitoring electric variables of a three-stage power supply box. Background Art

[0002] In temporary construction sites such as civil excavation, building construction, and electrical maintenance, three-level power boxes are the main power supply equipment. Due to the complex on-site environment and the uneven distribution of various equipment, the construction process is often accompanied by a large number of lead wires and frequent cross-operations, which increases the risk of electrical failures. In particular, high-frequency equipment operation and line migration make the electrical lines in the power box extremely prone to insulation aging, leakage, and short circuits, leading to safety hazards such as electric shock and fire. To improve the electrical safety of construction sites, electrical variable monitoring methods have gradually become an important protective technical means. Electrical variable monitoring can promptly identify potential leakage and short-circuit risks in the line through real-time detection of key parameters such as voltage, current, grounding resistance and leakage current. For example, dynamic monitoring of current and leakage current can quickly capture abnormal fluctuations in the line, issue an early warning before leakage or short circuit occurs, and ensure the safety of operators. However, electrical variable monitoring of power boxes in complex environments may be affected by multiple factors such as temperature, humidity, dirt, equipment aging, sensor accuracy, poor grounding, wiring problems, data processing delays and human operational errors, resulting in measurement errors and safety hazards. Adaptive adjustment is required according to the on-site environmental conditions to make the monitoring results closer to the actual electrical variable parameters, and the monitoring threshold can be adjusted in real time to achieve the effect of early warning. Summary of the Invention

[0003] The present invention aims to provide a method and system for monitoring electric variables of a three-level power supply box, which can accurately monitor electric variables and issue early warnings in various complex environments.

[0004] A method for monitoring electrical variables of a three-stage power supply box comprises the following steps:

[0005] Step S1: Determination of electrical variable environmental disturbance

[0006] Acquire real-time environmental variables and real-time power box electrical variables set D by monitoring the initial frequency, D={D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i, I is the total number of types of data items in the power box electrical variable set; the real-time environmental variables are input into the power box environmental prediction and judgment model for analysis to obtain the electrical variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer and a result output layer. The environmental feature analysis layer is constructed based on the improvement of the random forest algorithm and is used to predict and analyze real-time environmental variables;

[0007] Step S2: Electric variable disturbance compensation update

[0008] Based on the electric variable interference prediction results and the power box electric variable disturbance judgment model, the real-time power box electric variable set D is judged to obtain the updated real-time power box electric variable set D', D'={D i '|i=1,2,…,I};The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm;

[0009] The power box electric variable disturbance judgment model includes a disturbance electric variable calculation layer, a disturbance compensation analysis layer and an electric variable re-output layer;

[0010] The disturbance electric variable calculation layer is used to calculate all the real-time power box electric variable data items D in the real-time power box electric variable set D. i Perform disturbance detection and obtain the disturbance electrical variable data item R n , n=1, 2, ..., N; N is all real-time power box electrical variable data items D i The total number of data items affected by environmental variables;

[0011] The interference compensation analysis layer is used to predict the interference of electrical variables and the disturbance electrical variable data item R n The electric variable compensation calculation is performed with the electric variable disturbance compensation function to obtain the compensated electric variable data item R n ', the compensation electric variable data item R n 'Corresponding real-time power box electrical variable data item D i Match and get the updated power box electrical variable data item D i ';The electric variable disturbance compensation function is constructed based on the swarm optimization algorithm after improving the iterative diversity speed of the swarm optimization algorithm;

[0012] The electrical variable re-output layer is used to update all the power box electrical variable data items D i ' and the original real-time power box electrical variable data item D i Combine them to get the updated real-time power box electrical variable set D';

[0013] Step S3: Dynamic threshold division of electrical variables

[0014] Based on the updated real-time power box electric variable set D' and the power box electric variable risk quantification model, threshold judgment is performed to obtain the electric variable risk quantification result; the power box electric variable risk quantification model includes an electric variable data sub-item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer; based on the electric variable risk quantification result and the dynamic power box electric variable threshold judgment standard, an evaluation is performed to obtain the real-time power box electric variable monitoring result, and the dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and the electric variable interference prediction results; subsequent operations are performed based on the real-time power box electric variable monitoring results.

[0015] As a preferred technical solution of the present invention, the power box environment prediction and judgment model in step S1 includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer and a result output layer;

[0016] The environment variable processing layer is used to preprocess the real-time environment variables to obtain preprocessed real-time environment variables; the preprocessed real-time environment variables include several preprocessed environment sub-item variables;

[0017] The environmental feature analysis layer is used to perform cyclic feature segmentation on the pre-processed real-time environmental variables using the random forest algorithm until strong correlation features and weak correlation features of environmental variables are obtained;

[0018] The specific steps for cyclic feature segmentation include:

[0019] Step A1: Calculate the Gini index of each preprocessed environmental sub-item variable in the preprocessed real-time environmental variable to obtain the initial feature importance value of each environmental sub-item variable;

[0020] Step A2: Perform confidence-weighted distribution on the initial feature importance value of each environmental sub-item variable according to the corresponding pre-processed environmental sub-item variable to obtain the reallocated feature importance value of each environmental sub-item variable;

[0021] Step A3: randomly remove the pre-processed environment sub-item variable with the lowest feature importance value from the current environment sub-item variable and reassign the feature according to the cyclic removal feature set to obtain the remaining pre-processed environment sub-item variables, and record the performance parameters of the current environment sub-item variables; the cyclic removal feature set is the number of pre-processed environment sub-item variables that are randomly removed;

[0022] Step A4: If the decrease in the performance parameter of the current environmental sub-item variable is within the preset performance range, the removed pre-processed environmental sub-item variable is classified as a weakly correlated feature of the environmental variable, and the process proceeds to step A1 based on the remaining pre-processed environmental sub-item variables; otherwise, the process returns to step A3;

[0023] Repeat steps A1 to A4 until all pre-processed environmental sub-item variables are divided into environmental variable strong correlation features and environmental variable weak correlation features; the environmental variable strong correlation features are the other pre-processed environmental sub-item variables excluding the environmental variable weak correlation features;

[0024] The environmental prediction and judgment layer is used to perform prediction analysis based on the strong correlation characteristics of environmental variables to obtain the prediction results of strong interference of electrical variables;

[0025] The environmental auxiliary judgment layer is used to perform auxiliary analysis based on the weak correlation characteristics of environmental variables to obtain the weak interference prediction results of electrical variables;

[0026] The result output layer is used to fuse the features of the strong interference prediction results of the electric variable and the weak interference prediction results of the electric variable to obtain the electric variable interference prediction results.

[0027] As a preferred technical solution of the present invention, the specific steps of training the environment prediction judgment layer and the environment auxiliary judgment layer include:

[0028] Collecting several groups of environmental variable feature training samples, each group of environmental variable feature training samples contains environmental variable features and corresponding annotated label values; combining the several groups of environmental variable feature training samples to obtain an environmental variable feature training set;

[0029] Specific steps for training the environment prediction and judgment layer:

[0030] Based on the label requirements of the environmental prediction and judgment layer, the environmental variable feature training set is updated to obtain the environmental prediction and judgment training set; the environmental prediction and judgment layer is trained using the environmental prediction and judgment training set to obtain an initial environmental prediction and judgment layer; the initial environmental prediction and judgment layer is evaluated to obtain an initial environmental prediction and judgment layer model evaluation result; if the initial environmental prediction and judgment layer model evaluation result is passed, the initial environmental prediction and judgment layer is used as the environmental prediction and judgment layer in the power box environmental prediction and judgment model; otherwise, the model training is continued using the environmental variable feature training set;

[0031] Specific steps for training the environment-assisted judgment layer:

[0032] Based on the label requirements of the environment auxiliary judgment layer, the environmental variable feature training set is updated to obtain the environment auxiliary judgment training set; the environment auxiliary judgment layer is trained using the environment auxiliary judgment training set to obtain the initial environment auxiliary judgment layer; the initial environment auxiliary judgment layer is evaluated to obtain the model evaluation result of the initial environment auxiliary judgment layer; if the model evaluation result of the initial environment auxiliary judgment layer is passed, the initial environment auxiliary judgment layer is used as the environment auxiliary judgment layer in the power box environment prediction judgment model; otherwise, the model training is continued using the environment auxiliary judgment training set.

[0033] As a preferred technical solution of the present invention, the specific steps of calculating the disturbance electric variable calculation layer in the power box electric variable disturbance judgment model in step S2 include:

[0034] Real-time power box electrical variable data item D i Calculate the wavelet coefficients of the maximum stacked discrete wavelet transform and obtain the wavelet coefficients B to be analyzed i ;

[0035] The wavelet coefficient B to be analyzed i Calculate the wavelet energy and obtain the energy E of the wavelet coefficient to be analyzed i ;

[0036] Calculate the energy E of the wavelet coefficient to be analyzed i The absolute value of the energy difference in the electric variable data item characteristic T is obtained. i ;

[0037] If the electrical variable data item characteristic T i If the electric variable fluctuation range is exceeded, the real-time power box electric variable data item D i As the disturbance electric variable data item R n Otherwise, retain the real-time power box electrical variable data item D i unchanged, as the original real-time power box electrical variable data item D i .

[0038] As a preferred technical solution of the present invention, the specific steps of constructing the electric variable disturbance compensation function include:

[0039] Collecting a number of verified electric variable disturbance training samples; combining the number of verified electric variable disturbance training samples to obtain an electric variable disturbance compensation training set;

[0040] Construct K individual H of electric variable disturbance compensation function based on swarm optimization algorithm k , each electrical variable disturbance compensation function individual H k is a set of solutions for calculating the function of electrical variable disturbance compensation; the K electrical variable disturbance compensation function individuals H k Combination, get the electric variable disturbance compensation iterative population; set the maximum number of iterations; electric variable disturbance compensation function individual H k The fitness is the fitness Y k ;

[0041] Calculate fitness Y k Specific steps:

[0042] Using the electrical variable disturbance compensation function individual H k Calculate the electric variable disturbance compensation training set to obtain the electric variable compensation accuracy; use the electric variable compensation accuracy as the fitness Y k ;

[0043] Introduce population iterative learning factor Z1 and population iterative learning factor Z2; set Z1 = Z max +(Z max -Z min )*sin[(P*Π) / P max ],Z2=Z max -(Z max -Z min )*cos[(P*Π) / P max ]; among them, Z max =2*q,Z min =q, q is the preset parameter, P is the current number of iterations, P max is the maximum number of iterations;

[0044] In the iterative population iteration process of the electric variable disturbance compensation, the electric variable disturbance compensation function individual H is calculated based on the population iteration learning factor Z1 and the population iteration learning factor Z2. k Conduct a search update;

[0045] When the maximum number of iterations is reached, the electric variable disturbance compensation function individual corresponding to the maximum output fitness is the optimal electric variable disturbance compensation function individual; and the electric variable disturbance compensation function is constructed based on the optimal electric variable disturbance compensation function individual.

[0046] As a preferred technical solution of the present invention, the specific steps of determining the threshold judgment standard of the electric variable of the dynamic power supply box in step S3 include:

[0047] Set the basic threshold judgment standard of the electric variable; perform feature extraction based on the real-time environmental variables and the electric variable interference prediction results to obtain the electric variable interference label value; match the electric variable threshold dynamic change library based on the electric variable interference label value to obtain the electric variable dynamic threshold adjustment ratio; adjust the basic threshold judgment standard of the electric variable according to the electric variable dynamic threshold adjustment ratio to obtain the dynamic power supply box electric variable threshold judgment standard.

[0048] As a preferred technical solution of the present invention, the power box electric variable risk quantification model includes an electric variable data item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer;

[0049] The electric variable data item calculation layer is used to compare the updated real-time power box electric variable set D' with the power box electric variable basic parameter standard to obtain the power box electric variable difference parameter C i ;

[0050] The quantitative risk assessment layer is used to calculate the power box electrical variable difference parameter C i Match the risk labels to obtain the power box electrical variable risk quantification value L i ;

[0051] The quantitative risk assessment layer is constructed based on the BP neural network, and the electrical variable difference risk matching training set is collected; the BP neural network model is trained using the electrical variable difference risk matching training set to obtain the quantitative risk assessment layer;

[0052] The output layer of electric variable risk quantification is used to quantify the electric variable risk value L of all power boxes i Combine them to obtain the quantitative results of electrical variable risk.

[0053] An electrical variable environmental disturbance judgment module includes a data acquisition unit and an environmental disturbance judgment unit;

[0054] The data acquisition unit is used to acquire the real-time environmental variables and the real-time power box electrical variable set D at the monitoring initial frequency, where D = {D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i , I is the total number of types of data items in the power box electrical variable concentration;

[0055] The environmental disturbance judgment unit is used to input real-time environmental variables into the power box environmental prediction and judgment model for analysis to obtain the power variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer, and a result output layer. The environmental feature analysis layer is constructed based on an improved random forest algorithm and is used to predict and analyze real-time environmental variables;

[0056] An electric variable disturbance compensation update module includes a compensation analysis unit;

[0057] The compensation sub-item unit is used to judge the real-time power box electric variable set D based on the electric variable interference prediction result and the power box electric variable disturbance judgment model, and obtain the updated real-time power box electric variable set D', D'={D i '|i=1,2,…,I};The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm;

[0058] The electric variable dynamic threshold division module includes a risk quantification unit and a threshold judgment unit;

[0059] The risk quantification unit is used to perform threshold judgment based on the updated real-time power box electrical variable set D' and the power box electrical variable risk quantification model to obtain the electrical variable risk quantification result; the power box electrical variable risk quantification model includes an electrical variable data item calculation layer, a quantitative risk assessment layer, and an electrical variable risk quantification output layer;

[0060] The threshold judgment unit is used to evaluate based on the electric variable risk quantification results and the dynamic power box electric variable threshold judgment standard to obtain the real-time power box electric variable monitoring results. The dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and electric variable interference prediction results; subsequent operations are performed based on the real-time power box electric variable monitoring results.

[0061] The present invention has the following advantages:

[0062] 1. The present invention realizes accurate prediction and compensation of electrical variables by real-time monitoring and analysis of environmental variables and electrical variables of the power box, and utilizes the improved random forest algorithm and swarm optimization algorithm. It can effectively identify and compensate for the impact of environmental disturbances on electrical variables, and improve the accuracy and reliability of electrical variable monitoring of the power box. At the same time, through dynamic threshold division, it can adjust the monitoring standards according to the real-time environmental variables and electrical variable interference prediction results, realize quantitative assessment of electrical variable risks, thereby optimizing the operating status of the power box and ensuring the safety and stability of the power system.

[0063] 2. The present invention conducts in-depth analysis through a multi-level power box environment prediction and judgment model. The feature analysis layer adopts an improved random forest algorithm. By calculating the Gini index and confidence weighted distribution, it effectively screens out strong correlation features, eliminates noise interference, and improves the accuracy and robustness of the model; the iterative feature selection method of cyclic feature segmentation further streamlines the feature set to ensure the high correlation of features; the environmental prediction and judgment layer and the environmental auxiliary judgment layer analyze the strong correlation and weak correlation features respectively, and finally fuse the prediction results through the result output layer to obtain a comprehensive electric variable interference prediction, thereby improving the accuracy and reliability of the power box electric variable monitoring.

[0064] 3. The present invention realizes accurate disturbance detection and compensation of the real-time power box electrical variable set by combining wavelet transform and swarm optimization algorithm; the introduction of wavelet transform enhances the model's time-frequency analysis capability of the signal, while the improved swarm optimization algorithm improves the computational efficiency and accuracy of the disturbance compensation function, and can more effectively identify and compensate for the electrical variable disturbance caused by environmental variables, thereby improving the stability and reliability of the electrical variable data of the power box; through the combination of the electrical variable re-output layer, the updated real-time power box electrical variable set D' can more accurately reflect the actual operating status of the power box, providing a solid data foundation for subsequent electrical variable risk quantification and monitoring. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] Figure 1 This is a structural diagram of a three-stage power box electrical variable monitoring system used in an embodiment of the present invention.

[0066] Figure 2 The figure is a flow chart of a method for monitoring electrical variables of a three-stage power supply box adopted in an embodiment of the present invention. DETAILED DESCRIPTION

[0067] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0068] Example 1, a method for monitoring electrical variables of a three-stage power supply box, see Figure 2 As shown, the following steps are included:

[0069] Step S1: Determination of electrical variable environmental disturbance

[0070] Acquire real-time environmental variables and real-time power box electrical variables set D by monitoring the initial frequency, D={D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i , I is the total number of types of data items in the power box electrical variable set; the real-time environmental variables are input into the power box environmental prediction and judgment model for analysis to obtain the electrical variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer and a result output layer. The environmental feature analysis layer is constructed based on the improvement of the random forest algorithm and is used to predict and analyze real-time environmental variables;

[0071] The initial monitoring frequency is set by professional technicians according to actual conditions, and the real-time environmental variables and real-time power box electrical variables are acquired by special sensors installed on the three-level power box;

[0072] The power box environment prediction and judgment model in step S1 includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer, and a result output layer;

[0073] The environment variable processing layer is used to preprocess the real-time environment variables to obtain preprocessed real-time environment variables; the preprocessed real-time environment variables include several preprocessed environment sub-item variables;

[0074] The environmental feature analysis layer is used to perform cyclic feature segmentation on the pre-processed real-time environmental variables using the random forest algorithm until strong correlation features and weak correlation features of environmental variables are obtained;

[0075] The specific steps for cyclic feature segmentation include:

[0076] Step A1: Calculate the Gini index of each preprocessed environmental sub-item variable in the preprocessed real-time environmental variable to obtain the initial feature importance value of each environmental sub-item variable;

[0077] Step A2: Perform confidence-weighted distribution on the initial feature importance value of each environmental sub-item variable according to the corresponding pre-processed environmental sub-item variable to obtain the reallocated feature importance value of each environmental sub-item variable;

[0078] Step A3: randomly removing the pre-processing environment sub-item variable with the lowest feature importance value from the current environment sub-item variable redistribution feature set according to the cyclic removal feature set to obtain the remaining pre-processing environment sub-item variables, and recording the performance parameters of the current environment sub-item variables; the cyclic removal feature set is a random removal of the number of pre-processing environment sub-item variables, for example, randomly selecting within the range of [1, G], where the size of G is set by professional technicians based on actual conditions;

[0079] Step A4: If the decrease in the performance parameter of the current environmental sub-item variable is within the preset performance range, the removed pre-processed environmental sub-item variable is classified as a weakly correlated feature of the environmental variable, and the process proceeds to step A1 based on the remaining pre-processed environmental sub-item variables; otherwise, the process returns to step A3;

[0080] Repeat steps A1 to A4 until all pre-processed environmental sub-item variables are divided into environmental variable strong correlation features and environmental variable weak correlation features; the environmental variable strong correlation features are the other pre-processed environmental sub-item variables excluding the environmental variable weak correlation features;

[0081] By calculating the Gini index of each preprocessed environmental variable, variables with high feature importance can be preliminarily screened out, and unimportant features can be eliminated, ensuring that the features the algorithm focuses on are highly representative and reducing noise interference. In step A2, by weighting the initial feature importance values ​​with confidence, the contribution of each variable to the model can be more accurately assessed. This dynamic weighting method can better reflect the fluctuations of real-time environmental data and improve the robustness and adaptability of the model. Steps A3 and A4 of cyclically removing features ensure that variables with low feature importance are gradually eliminated without affecting the overall performance of the model. This iterative feature selection method ensures the streamlining of the feature set, so that the features ultimately retained have a high correlation with the prediction target, that is, strong correlation features with environmental variables.

[0082] The environmental prediction and judgment layer is used to perform prediction analysis based on the strong correlation characteristics of environmental variables to obtain the prediction results of strong interference of electrical variables;

[0083] The environmental auxiliary judgment layer is used to perform auxiliary analysis based on the weak correlation characteristics of environmental variables to obtain the weak interference prediction results of electrical variables;

[0084] The result output layer is used to fuse the features of the strong interference prediction results of the electric variable and the weak interference prediction results of the electric variable to obtain the electric variable interference prediction results;

[0085] By using the improved random forest algorithm in the environmental feature analysis layer, the model can accurately extract environmental features that are strongly correlated with the power box electrical variables, forming "environmental variable strong correlation features", which can help the model identify the key features in the environment that truly affect the electrical variables, making the prediction results more explanatory and targeted; as the importance of environmental variable features is gradually allocated and screened, weakly correlated features and unimportant features are removed or classified as auxiliary features; by reducing noise, the negative impact of weakly correlated features on model predictions is reduced, the robustness and stability of the model are improved, and the prediction results are more reliable; the model structure adopts a multi-level analysis: the strongly correlated features of environmental variables are mainly analyzed in the environmental prediction judgment layer, while the weakly correlated features are supplemented by analysis in the auxiliary judgment layer. Through this hierarchical structure, the model can more comprehensively capture the impact of environmental changes on electrical variables, making the prediction results more accurate; through real-time monitoring and dynamic input of environmental variable data by sensors, combined with the Gini index and dynamic weighted allocation method, the model can adapt to the fluctuations of environmental variables at any time. The model can quickly adjust when facing different environmental conditions, and its adaptability to the real-time environment is enhanced;

[0086] The specific steps for training the environment prediction judgment layer and the environment auxiliary judgment layer include:

[0087] Collecting several groups of environmental variable feature training samples, each group of environmental variable feature training samples contains environmental variable features and corresponding annotated label values; combining the several groups of environmental variable feature training samples to obtain an environmental variable feature training set;

[0088] Specific steps for training the environment prediction and judgment layer:

[0089] Based on the label requirements of the environmental prediction and judgment layer, the environmental variable feature training set is updated to obtain the environmental prediction and judgment training set; the environmental prediction and judgment layer is trained using the environmental prediction and judgment training set to obtain an initial environmental prediction and judgment layer; the initial environmental prediction and judgment layer is evaluated to obtain an initial environmental prediction and judgment layer model evaluation result; if the initial environmental prediction and judgment layer model evaluation result is passed, the initial environmental prediction and judgment layer is used as the environmental prediction and judgment layer in the power box environmental prediction and judgment model; otherwise, the model training is continued using the environmental variable feature training set;

[0090] Specific steps for training the environment-assisted judgment layer:

[0091] Based on the label requirements of the environment auxiliary judgment layer, the environmental variable feature training set is updated to obtain the environment auxiliary judgment training set; the environment auxiliary judgment layer is trained using the environment auxiliary judgment training set to obtain an initial environment auxiliary judgment layer; the initial environment auxiliary judgment layer is evaluated to obtain an initial environment auxiliary judgment layer model evaluation result; if the initial environment auxiliary judgment layer model evaluation result is passed, the initial environment auxiliary judgment layer is used as the environment auxiliary judgment layer in the power box environment prediction judgment model; otherwise, the model training is continued using the environment auxiliary judgment training set;

[0092] Professional technicians set label requirements for the environmental prediction and judgment layer and the environmental auxiliary judgment layer based on actual conditions. Through iterative updates and training of the environmental prediction and judgment layer and the environmental auxiliary judgment layer, the accuracy and applicability of the model are ensured. By updating the training set based on label requirements, the model can more accurately capture the characteristics of environmental variables, improve prediction accuracy, ensure the efficiency and accuracy of the power box environmental prediction and judgment model, and provide strong support for power box electrical variable monitoring.

[0093] Step S2: Electric variable disturbance compensation update

[0094] Based on the electric variable interference prediction results and the power box electric variable disturbance judgment model, the real-time power box electric variable set D is judged to obtain the updated real-time power box electric variable set D', D'={D i '|i=1,2,…,I};The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm;

[0095] The power box electric variable disturbance judgment model includes a disturbance electric variable calculation layer, a disturbance compensation analysis layer and an electric variable re-output layer;

[0096] The disturbance electric variable calculation layer is used to calculate all the real-time power box electric variable data items D in the real-time power box electric variable set D. i Perform disturbance detection and obtain the disturbance electrical variable data item R n , n=1, 2, ..., N; N is all real-time power box electrical variable data items D i The total number of data items affected by environmental variables;

[0097] The interference compensation analysis layer is used to predict the interference of electrical variables and the disturbance electrical variable data item R n The electric variable compensation calculation is performed with the electric variable disturbance compensation function to obtain the compensated electric variable data item R n ', the compensation electric variable data item R n 'Corresponding real-time power box electrical variable data item D i Match and get the updated power box electrical variable data item D i';The electric variable disturbance compensation function is constructed based on the swarm optimization algorithm after improving the iterative diversity speed of the swarm optimization algorithm;

[0098] The electrical variable re-output layer is used to update all the power box electrical variable data items D i ' and the original real-time power box electrical variable data item D i Combine them to get the updated real-time power box electrical variable set D';

[0099] Through the application of the electric variable disturbance judgment model, the model can identify the electric variable data items that are disturbed by the environment and compensate for them; this compensation mechanism ensures that the stability of the electric variable data can be maintained in the case of interference from external environmental factors, reduces the abnormal fluctuations of the data caused by interference, and improves the reliability of the monitoring data; the interference compensation analysis layer combines wavelet transform and improved group optimization algorithm, and calculates the compensated electric variable data items through the electric variable interference prediction results and the disturbance compensation function. This precise compensation strategy can effectively correct the errors caused by environmental interference and ensure the accuracy of the data, thereby providing reliable data for subsequent monitoring and decision-making. Basis: Through the improved swarm optimization algorithm, the model can dynamically adjust compensation parameters to adapt to different environmental interference conditions. This dynamic adaptability enables the compensation mechanism to respond quickly to environmental changes, effectively improving the system's reaction speed and processing efficiency to real-time electrical variable disturbances. The electrical variable disturbance judgment model is constructed based on wavelet transform and swarm optimization algorithm, which can adapt to various types of environmental interference and maintain good performance in different power box application scenarios. By extracting characteristic signals and interference features through wavelet transform and combining the fast convergence characteristics of the swarm optimization algorithm, the model has high generalization ability and can operate robustly in complex and changing environments.

[0100] The specific steps of calculating the disturbance electric variable calculation layer in the power box electric variable disturbance judgment model in step S2 include:

[0101] Real-time power box electrical variable data item D i Calculate the wavelet coefficients of the maximum stacked discrete wavelet transform and obtain the wavelet coefficients B to be analyzed i ;

[0102] The wavelet coefficient B to be analyzed i Calculate the wavelet energy and obtain the energy E of the wavelet coefficient to be analyzed i ;

[0103] Calculate the energy E of the wavelet coefficient to be analyzed i The absolute value of the energy difference in the electric variable data item characteristic T is obtained. i ;

[0104] If the electrical variable data item characteristic T iIf the electric variable fluctuation range is exceeded, the real-time power box electric variable data item D i As the disturbance electric variable data item R n Otherwise, retain the real-time power box electrical variable data item D i unchanged, as the original real-time power box electrical variable data item D i ; The preset electric variable fluctuation range is set by professional technicians according to actual conditions;

[0105] By extracting wavelet coefficients through the maximum stacked discrete wavelet transform, the model can accurately capture subtle fluctuations and disturbances from real-time power supply box electrical variable data; the wavelet transform can decompose the electrical variable signal into different frequency scales, thereby identifying characteristic changes in different frequency bands; by analyzing wavelet energy and energy difference, the model can better cope with interference of different frequencies and intensities, making it highly adaptable and responsive to various environmental changes; by calculating the energy of the wavelet coefficients and analyzing the absolute value of the energy difference, the model can keenly detect abnormal disturbances through energy changes. The electrical variable data item feature is based on the absolute value of the energy difference, which can help the model quickly identify and filter out disturbance data items, and is particularly suitable for identifying sudden and short-term interference signals;

[0106] The specific steps of constructing the electrical variable disturbance compensation function include:

[0107] Collecting a number of verified electric variable disturbance training samples; combining the number of verified electric variable disturbance training samples to obtain an electric variable disturbance compensation training set;

[0108] Construct K individual H of electric variable disturbance compensation function based on swarm optimization algorithm k , each electrical variable disturbance compensation function individual H k is a set of solutions for calculating the function of electrical variable disturbance compensation; the K electrical variable disturbance compensation function individuals H k Combination, get the electric variable disturbance compensation iterative population; set the maximum number of iterations; electric variable disturbance compensation function individual H k The fitness is the fitness Y k ;The maximum number of iterations is set by professional technicians based on actual conditions;

[0109] Calculate fitness Y k Specific steps:

[0110] Using the electrical variable disturbance compensation function individual H k Calculate the electric variable disturbance compensation training set to obtain the electric variable compensation accuracy; use the electric variable compensation accuracy as the fitness Y k ;

[0111] Introduce population iterative learning factor Z1 and population iterative learning factor Z2; set Z1 = Zmax +(Z max -Z min )*sin[(P*Π) / P max ], Z2=Z max -(Z max -Z min )*cos[(P*Π) / P max ]; among them, Z max =2*q,Z min =q, q is the preset parameter, P is the current number of iterations, P max is the maximum number of iterations; q is a constant, for example, it can be 1;

[0112] In the iterative population iteration process of the electric variable disturbance compensation, the electric variable disturbance compensation function individual H is calculated based on the population iteration learning factor Z1 and the population iteration learning factor Z2. k Conduct search updates;

[0113] When the maximum number of iterations is reached, the individual electric variable disturbance compensation function corresponding to the maximum fitness is output, which is the optimal individual electric variable disturbance compensation function; the electric variable disturbance compensation function is constructed based on the optimal individual electric variable disturbance compensation function;

[0114] By constructing a disturbance compensation training set using verified electrical variable disturbance training samples, the authenticity and representativeness of the data can be ensured, thereby improving the accuracy of the compensation function. By introducing a population iteration learning factor, the model can dynamically adjust the search process according to the current iteration state. The learning factor adjusts the weight as the number of iterations changes, allowing the algorithm to search more widely in the early stages and focus more on the optimal area in the later stages, thereby improving search efficiency and adaptability and further optimizing the compensation function. Through multiple iterative updates and adaptive adjustments, the disturbance compensation function is gradually optimized during the iterations and tends to the optimal solution. Adaptive optimization enables the compensation function to not only cope with different degrees of electrical variable disturbances, but also maintain an efficient and stable compensation effect under different environments, enhancing the robustness of the model.

[0115] Step S3: Dynamic threshold division of electrical variables

[0116] Based on the updated real-time power box electric variable set D' and the power box electric variable risk quantification model, threshold judgment is performed to obtain the electric variable risk quantification result; the power box electric variable risk quantification model includes an electric variable data sub-item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer; based on the electric variable risk quantification result and the dynamic power box electric variable threshold judgment standard, an assessment is performed to obtain the real-time power box electric variable monitoring result, and the dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and the electric variable interference prediction result; subsequent operations are performed based on the real-time power box electric variable monitoring result;

[0117] The specific steps of determining the threshold judgment standard of the dynamic power supply box electric variable in step S3 include:

[0118] Set the basic threshold judgment standard for electric variables; perform feature extraction based on real-time environmental variables and electric variable interference prediction results to obtain the electric variable interference label value; match the electric variable threshold dynamic change library based on the electric variable interference label value to obtain the electric variable dynamic threshold adjustment magnification; adjust the basic threshold judgment standard for electric variables according to the electric variable dynamic threshold adjustment magnification to obtain the dynamic power supply box electric variable threshold judgment standard; the electric variable threshold dynamic change library is set by professional and technical personnel based on actual conditions and is set according to environmental conditions in the initial stage of building a third-level power supply box;

[0119] The power box electric variable risk quantification model includes an electric variable data item calculation layer, a quantitative risk assessment layer, and an electric variable risk quantification output layer;

[0120] The electric variable data item calculation layer is used to compare the updated real-time power box electric variable set D' with the power box electric variable basic parameter standard to obtain the power box electric variable difference parameter C i ;

[0121] The quantitative risk assessment layer is used to calculate the power box electrical variable difference parameter C i Match the risk labels to obtain the power box electrical variable risk quantification value L i ;

[0122] The quantitative risk assessment layer is constructed based on the BP neural network, and the electrical variable difference risk matching training set is collected; the BP neural network model is trained using the electrical variable difference risk matching training set to obtain the quantitative risk assessment layer;

[0123] The output layer of electric variable risk quantification is used to quantify the electric variable risk value L of all power boxes i Combine them to obtain the quantification results of electrical variable risk;

[0124] By combining real-time environmental variables and electrical variable interference prediction results for feature extraction, electrical variable interference label values ​​are generated; based on the dynamic change library of electrical variable thresholds, the electrical variable thresholds are dynamically adjusted, so that the monitoring system can adapt to electrical variable fluctuations under different environmental conditions in real time, ensure the accuracy of the thresholds, and improve the accuracy of monitoring results; the quantitative risk assessment layer constructed by using electrical variable difference parameters combined with the BP neural network can learn the risk characteristics of different electrical variable differences through training data to achieve intelligent risk matching; the self-learning ability of the quantitative risk assessment layer enables the system to adjust the risk assessment standards in real time, so as to respond quickly when risks occur and improve the intelligence of risk monitoring; the construction of the dynamic power box electrical variable threshold judgment standard is highly automated, relying on real-time data of environmental variables and interference prediction results, without the need for frequent manual settings, reducing human intervention, reducing the operation and maintenance burden, and enabling the system to maintain stable and effective operation in a changing environment.

[0125] Example 2, a three-level power box electric variable monitoring system, see Figure 1 Shown, including:

[0126] An electrical variable environmental disturbance judgment module includes a data acquisition unit and an environmental disturbance judgment unit;

[0127] The data acquisition unit is used to acquire the real-time environmental variables and the real-time power box electrical variable set D at the monitoring initial frequency, where D = {D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i , I is the total number of types of data items in the power box electrical variable concentration;

[0128] The environmental disturbance judgment unit is used to input real-time environmental variables into the power box environmental prediction and judgment model for analysis to obtain the power variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer, and a result output layer. The environmental feature analysis layer is constructed based on an improved random forest algorithm and is used to predict and analyze real-time environmental variables;

[0129] An electric variable disturbance compensation update module includes a compensation analysis unit;

[0130] The compensation sub-item unit is used to judge the real-time power box electric variable set D based on the electric variable interference prediction result and the power box electric variable disturbance judgment model, and obtain the updated real-time power box electric variable set D', D'={D i '|i=1,2,…,I};The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm;

[0131] The electric variable dynamic threshold division module includes a risk quantification unit and a threshold judgment unit;

[0132] The risk quantification unit is used to perform threshold judgment based on the updated real-time power box electrical variable set D' and the power box electrical variable risk quantification model to obtain the electrical variable risk quantification result; the power box electrical variable risk quantification model includes an electrical variable data item calculation layer, a quantitative risk assessment layer, and an electrical variable risk quantification output layer;

[0133] The threshold judgment unit is used to evaluate based on the electric variable risk quantification results and the dynamic power box electric variable threshold judgment standard to obtain the real-time power box electric variable monitoring results. The dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and electric variable interference prediction results; subsequent operations are performed based on the real-time power box electric variable monitoring results.

[0134] It should be understood that those skilled in the art may make improvements or modifications based on the above description, and all such improvements and modifications shall fall within the scope of protection of the appended claims. Any portion of this specification not described in detail is prior art known to those skilled in the art.

Claims

1. A method for monitoring electric variables of a three-level power supply box, characterized in that: The following steps are involved: Step S1: Determination of electrical variable environmental disturbance Acquire real-time environmental variables and real-time power box electrical variables set D by monitoring the initial frequency, D = {D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i , I is the total number of types of data items in the power box electrical variable set; the real-time environmental variables are input into the power box environmental prediction and judgment model for analysis to obtain the electrical variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer and a result output layer. The environmental feature analysis layer is constructed based on the improvement of the random forest algorithm and is used to predict and analyze the real-time environmental variables; Step S2: Electrical variable disturbance compensation update Based on the electric variable interference prediction results and the power box electric variable disturbance judgment model, the real-time power box electric variable set D is judged to obtain the updated real-time power box electric variable set D', D' = {D i '|i=1,2,…,I}; The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm; The power box electric variable disturbance judgment model includes a disturbance electric variable calculation layer, a disturbance compensation analysis layer and an electric variable re-output layer; The disturbance electric variable calculation layer is used to calculate all the real-time power box electric variable data items D in the real-time power box electric variable set D. i Perform disturbance detection and obtain the disturbance electrical variable data item R n , n = 1, 2, ..., N; N is all real-time power box electrical variable data items D i The total number of data items affected by environmental variables; The interference compensation analysis layer is used to predict the disturbance of the electric variable based on the disturbance electric variable data item R n The electric variable compensation calculation is performed with the electric variable disturbance compensation function to obtain the compensated electric variable data item R n ', the compensation electric variable data item R n 'Corresponding to the real-time power supply box electrical variable data item D i Match and get the updated power box electrical variable data item D i '; The electric variable disturbance compensation function is constructed based on the swarm optimization algorithm after improving the iterative diversity speed of the swarm optimization algorithm; The electrical variable re-output layer is used to update all the power box electrical variable data items D i ' and the original real-time power box electrical variable data item D i Combine and obtain updated real-time power box electrical variable set D'; Step S3: Dynamic threshold division of electrical variables Based on the updated real-time power box electric variable set D' and the power box electric variable risk quantification model, the threshold value is judged to obtain the electric variable risk quantification result; The power box electric variable risk quantification model includes an electric variable data item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer; Based on the electric variable risk quantification results and the dynamic power box electric variable threshold judgment standard, an assessment is performed to obtain the real-time power box electric variable monitoring results. The dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and electric variable interference prediction results; subsequent operations are performed based on the real-time power box electric variable monitoring results.

2. A method for monitoring electric variables of a three-level power supply box according to claim 1, characterized in that: The power box environment prediction and judgment model in step S1 includes an environment variable processing layer, an environment feature analysis layer, an environment prediction and judgment layer, an environment auxiliary judgment layer and a result output layer; The environment variable processing layer is used to preprocess the real-time environment variables to obtain preprocessed real-time environment variables; The preprocessing real-time environment variables include several preprocessing environment sub-item variables; The environmental feature analysis layer is used to perform cyclic feature segmentation on the preprocessed real-time environmental variables using the random forest algorithm until the environmental variable strong correlation features and environmental variable weak correlation features are obtained; The specific steps for performing cyclic feature segmentation include: Step A1: Calculate the Gini index of each preprocessed environmental sub-item variable in the preprocessed real-time environmental variable to obtain the initial feature importance value of each environmental sub-item variable; Step A2: Perform confidence-weighted allocation on the initial feature importance value of each environmental sub-item variable according to the corresponding pre-processed environmental sub-item variable to obtain the reallocated feature importance value of each environmental sub-item variable; Step A3: randomly remove the pre-processed environment sub-item variable with the lowest feature importance value from the current environment sub-item variable redistribution feature set according to the cyclic removal feature set to obtain the remaining pre-processed environment sub-item variables, and record the performance parameters of the current environment sub-item variable; The cyclic removal of feature sets is to randomly remove the values ​​of the preprocessing environment sub-item variables; Step A4: If the decrease in the performance parameter of the current environmental sub-item variable is within the preset performance range, the removed pre-processed environmental sub-item variable is classified as a weakly associated feature of the environmental variable, and the process proceeds to step A1 based on the remaining pre-processed environmental sub-item variables; Otherwise, return to step A3; Repeat step A1 to step A4 until all preprocessing environment sub-item variables are divided into environment variable strong correlation features and environment variable weak correlation features; the environment variable strong correlation features are other preprocessing environment sub-item variables excluding the environment variable weak correlation features; The environmental prediction and judgment layer is used to perform prediction analysis based on the strong correlation characteristics of environmental variables to obtain the prediction results of strong interference of electrical variables; The environment auxiliary judgment layer is used to perform auxiliary analysis based on the weak correlation characteristics of environmental variables to obtain the prediction results of weak interference of electrical variables; The result output layer is used to perform feature fusion on the prediction results of strong interference of electric variables and the prediction results of weak interference of electric variables to obtain the prediction results of electric variable interference.

3. A method for monitoring electric variables of a three-level power supply box according to claim 2, characterized in that: The specific steps of training the environment prediction judgment layer and the environment auxiliary judgment layer include: Collecting several groups of environmental variable feature training samples, each group of environmental variable feature training samples contains environmental variable features and corresponding annotated label values; combining several groups of environmental variable feature training samples to obtain an environmental variable feature training set; The specific steps of the training environment prediction and judgment layer are: Based on the label requirements of the environment prediction and judgment layer, the environment variable feature training set is updated to obtain the environment prediction and judgment training set; the environment prediction and judgment training set is used to perform model training on the environment prediction and judgment layer to obtain the initial environment prediction and judgment layer; the initial environment prediction and judgment layer is model evaluated to obtain the initial environment prediction and judgment layer model evaluation result; if the initial environment prediction and judgment layer model evaluation result is passed, the initial environment prediction and judgment layer is used as the environment prediction and judgment layer in the power box environment prediction and judgment model; otherwise, the environment variable feature training set is used to continue model training; Specific steps for training the environment-assisted judgment layer: Based on the label requirements of the environment auxiliary judgment layer, the environmental variable feature training set is updated to obtain the environment auxiliary judgment training set; the environment auxiliary judgment layer is trained with the environment auxiliary judgment training set to obtain the initial environment auxiliary judgment layer; the model of the initial environment auxiliary judgment layer is evaluated to obtain the model evaluation result of the initial environment auxiliary judgment layer; if the model evaluation result of the initial environment auxiliary judgment layer is passed, the initial environment auxiliary judgment layer is used as the environment auxiliary judgment layer in the power box environment prediction judgment model; otherwise, the model training is continued with the environment auxiliary judgment training set.

4. A method for monitoring electric variables of a three-level power supply box according to claim 3, characterized in that: The specific steps of calculating the disturbance electric variable calculation layer in the power box electric variable disturbance judgment model in step S2 include: For real-time power box electrical variable data item D i Calculate the wavelet coefficients of the maximum stacked discrete wavelet transform and obtain the wavelet coefficients B to be analyzed i ; The wavelet coefficient B to be analyzed i Calculate the wavelet energy and obtain the energy E of the wavelet coefficient to be analyzed i ; Calculate the energy E of the wavelet coefficient to be analyzed i The absolute value of the energy difference in the electric variable data item characteristic T is obtained. i ; If the electrical variable data item characteristic T i If the electric variable fluctuation range is exceeded, the real-time power box electric variable data item D i As the disturbance electrical variable data item R n ; Otherwise, retain the real-time power box electrical variable data item D i unchanged, as the original real-time power box electrical variable data item D i .

5. A method for monitoring electric variables of a three-level power supply box according to claim 4, characterized in that: The specific steps of constructing the electrical variable disturbance compensation function include: Collecting a number of verified electric variable disturbance training samples; combining the number of verified electric variable disturbance training samples to obtain an electric variable disturbance compensation training set; Construct K electrical variable disturbance compensation function individuals H based on swarm optimization algorithm k , each electrical variable disturbance compensation function individual H k is a set of solutions for calculating the function of electrical variable disturbance compensation; the K electrical variable disturbance compensation function individuals H k Combination, get the iterative population of electrical variable disturbance compensation; set the maximum number of iterations; electrical variable disturbance compensation function individual H k The fitness of k ; Calculate the fitness Y k Specific steps: Using the electrical variable disturbance compensation function individual H k The electric variable disturbance compensation training set is calculated to obtain the electric variable compensation accuracy; the electric variable compensation accuracy is used as the fitness Y k ; Introduce population iterative learning factor Z1 and population iterative learning factor Z2; set Z1 = Z max +(Z max -Z min )*sin[(P*Π) / P max ],Z2=Z max -(Z max -Z min )*cos[(P*Π) / P max ]; among them, Z max =2*q,Z min =q, q is the preset parameter, P is the current number of iterations, P max is the maximum number of iterations; In the iterative population iteration process of the electric variable disturbance compensation, the electric variable disturbance compensation function individual H is calculated based on the population iteration learning factor Z1 and the population iteration learning factor Z2. k Conduct a search update; When the maximum number of iterations is reached, the individual electric variable disturbance compensation function corresponding to the maximum output fitness is the optimal individual electric variable disturbance compensation function; the electric variable disturbance compensation function is constructed based on the optimal individual electric variable disturbance compensation function.

6. A method for monitoring electric variables of a three-level power supply box according to claim 5, characterized in that: The specific steps of determining the threshold judgment standard of the dynamic power supply box electric variable in step S3 include: Set the basic threshold judgment standard of electric variables; perform feature extraction based on real-time environmental variables and electric variable interference prediction results to obtain the electric variable interference label value; match the electric variable threshold dynamic change library based on the electric variable interference label value to obtain the electric variable dynamic threshold adjustment factor; adjust the basic threshold judgment standard of electric variables according to the dynamic threshold adjustment factor of electric variables to obtain the dynamic power supply box electric variable threshold judgment standard.

7. A method for monitoring electric variables of a three-level power supply box according to claim 6, characterized in that: The power box electric variable risk quantification model includes an electric variable data item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer; The electric variable data sub-item calculation layer is used to compare the updated real-time power box electric variable set D' with the basic parameter standard of the power box electric variable to obtain the power box electric variable difference parameter C i ; The quantitative risk assessment layer is used to calculate the power box electrical variable difference parameter C i Match the risk labels to obtain the power box electrical variable risk quantification value L i ; The quantitative risk assessment layer is constructed based on the BP neural network to collect the risk matching training set of electrical variable difference; The BP neural network model is trained using the electrical variable difference risk matching training set to obtain a quantitative risk assessment layer; The output layer of the electrical variable risk quantification is used to quantify the electrical variable risk value L of all power boxes i Combine them to obtain the quantification results of electrical variable risk.

8. A three-level power supply box electric variable monitoring system, characterized in that: The system applies a three-level power supply box electric variable monitoring method as described in any one of claims 1 to 7, including: An electric variable environmental disturbance judgment module includes a data acquisition unit and an environmental disturbance judgment unit; The data acquisition unit is used to acquire the real-time environmental variables and the real-time power supply box electrical variable set D at the monitoring initial frequency, D = {D i |i=1,2,…,I};D i D is the real-time power box electrical variable data item i , I is the total number of types of data items in the power box electrical variable set; the environmental disturbance judgment unit is used to input the real-time environmental variables into the power box environmental prediction and judgment model for analysis to obtain the electrical variable interference prediction results; the power box environmental prediction and judgment model includes an environmental variable processing layer, an environmental feature analysis layer, an environmental prediction and judgment layer, an environmental auxiliary judgment layer and a result output layer. The environmental feature analysis layer is constructed based on the improvement of the random forest algorithm and is used to predict and analyze the real-time environmental variables; An electric variable disturbance compensation updating module includes a compensation analysis unit; The compensation sub-item unit is used to judge the real-time power supply box electric variable set D based on the electric variable interference prediction result and the power supply box electric variable disturbance judgment model, and obtain the updated real-time power supply box electric variable set D', D'={D i '|i=1,2,…,I};The power box electrical variable disturbance judgment model is improved and constructed based on wavelet transform and swarm optimization algorithm; The electric variable dynamic threshold division module includes a risk quantification unit and a threshold judgment unit; The risk quantification unit is used to perform threshold judgment based on the updated real-time power box electric variable set D' and the power box electric variable risk quantification model to obtain the electric variable risk quantification result; the power box electric variable risk quantification model includes an electric variable data sub-item calculation layer, a quantitative risk assessment layer and an electric variable risk quantification output layer; The threshold judgment unit is used to evaluate based on the electric variable risk quantification results and the dynamic power box electric variable threshold judgment standard to obtain the real-time power box electric variable monitoring results. The dynamic power box electric variable threshold judgment standard is determined by the real-time environmental variables and the electric variable interference prediction results; subsequent operations are performed based on the real-time power box electric variable monitoring results.

Citation Information

Patent Citations

  • Converter controller, energy conversion system, photovoltaic energy conversion system and method

    CN103326350A

  • Electrical variable adjustment monitoring method and system for distribution box

    CN116826978A