A distribution room state intelligent monitoring method and alarm system
By using STM32 microcontroller and partial discharge sensors to collect data in the power distribution room, and constructing an improved DES-Autoformer abnormality detection model, combined with the Hyperband algorithm to optimize hyperparameters, the accuracy problem of abnormal status monitoring in the power distribution room is solved and the distribution room is realized. Intelligent monitoring and alarming in the electrical room reduce the risk of safety accidents.
Patent Information
- Application Number
- CN202410079277.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-19
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-01-19
AI Technical Summary
Abnormal conditions in the power distribution room (such as excessive temperature rise, overload, partial discharge, etc.) cannot be effectively monitored, leading to the occurrence of safety accidents. The existing single threshold alarm can easily cause false alarms and omissions, making it difficult to accurately identify abnormal conditions.
A data acquisition system based on STM32 microcontroller and partial discharge sensor is used, combined with audio and environmental sensor information, to build an improved DES-Autoformer anomaly detection model, and optimize the model hyperparameters through the Hyperband algorithm to achieve intelligent monitoring and alarming of the power distribution room status.
It achieves accurate monitoring and alarming of abnormal conditions in the power distribution room, reduces the probability of safety accidents, and improves the accuracy and robustness of monitoring results.
Smart Images

Figure CN118054552B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of smart grid and cloud platform intelligent monitoring, and specifically relates to a distribution room status intelligent monitoring method and alarm system. Background Art
[0002] With the development and progress of smart cities, the safety of distribution rooms, as important power facilities in the power supply system, has received widespread attention, and the requirements for the reliability of safety monitoring of distribution rooms are becoming increasingly higher. If there is an abnormality in the distribution room, the power equipment may be damaged, resulting in power outages or fluctuations in the operation of the power system, or even fires, explosions and other safety accidents, causing serious property losses and casualties. Therefore, it is necessary to conduct reliable status monitoring of the distribution room, accurately identify its abnormalities, and eliminate safety hazards in a timely manner to avoid safety accidents.
[0003] Due to many factors, the environment of many distribution rooms lacks effective supervision. If conditions such as excessive temperature rise, overload and partial discharge are not handled in time, it is easy to cause property losses and safety accidents. Accurate status monitoring of temperature and humidity, partial discharge, flammable gas concentration and environmental sound in the distribution room can timely detect dangerous factors and abnormalities in the distribution room, provide relevant personnel with reliable status information and on-site information in a timely manner, and assist relevant personnel in handling abnormalities, reducing the probability of safety accidents.
[0004] In recent years, with the development of deep learning and computer networks, the country has increased its requirements for the intelligence and automation of substations and distribution rooms. In the actual operation of the distribution room, whether many states are abnormal is related to the environment in which the distribution room is located. A single threshold alarm is prone to false alarms and missed alarms. Therefore, environmental information can be collected through specific gas sensors, temperature and humidity sensors, and light intensity sensors, and combined with partial discharge information and audio information for comprehensive judgment. Through unsupervised training, an Autoformer anomaly detection model with an autocorrelated anomaly attention mechanism is established to intelligently monitor the state of the distribution room, and the corresponding alarm plan is implemented based on the state monitoring results. Summary of the invention
[0005] Purpose of the invention: In order to effectively monitor the abnormal state of the distribution room and reduce the probability of safety accidents caused by abnormal conditions such as rapid heating, overload, and discharge in the distribution room, the present invention provides an intelligent monitoring method and alarm system for the status of the distribution room, which can realize intelligent monitoring of the abnormal state of the distribution room and alarm to remind relevant personnel to deal with the abnormality according to the monitoring results.
[0006] Technical solution: The intelligent monitoring method for the state of a power distribution room described in the present invention comprises the following steps:
[0007] (1) In view of the environmental characteristics of the distribution room, a network camera is set up to collect the video information required for monitoring, and a field data collection point based on the STM32 microcontroller is designed to collect the audio and sensor signal information required for identification; in view of the partial discharge risk in the distribution room, a partial discharge sensor is set up to collect partial discharge information;
[0008] (2) respectively encoding the audio signal, sensor signal and partial discharge information data of the distribution room collected in step (1) and fusing them to obtain training data and input data;
[0009] (3) constructing an improved DES-Autoformer anomaly detection model, wherein the improved DES-Autoformer anomaly detection model is to fuse the autocorrelation mechanism in the Autoformer model with the anomaly attention mechanism, replace the sequence association in the anomaly attention mechanism with the autocorrelation mechanism, and replace the sequence decomposition structure in the Autoformer with quadratic exponential smoothing, and finally change the sequence prediction structure of the Autoformer into a state classification structure;
[0010] (4) The training data obtained in step (2) is sent to the improved DES-Autoformer anomaly detection model, and the hyperparameters in the improved DES-Autoformer anomaly detection model are optimized using the improved Hyperband algorithm to obtain an intelligent monitoring and analysis model for abnormal conditions in the distribution room; the improved Hyperband algorithm uses Latin hypercube initialization instead of the original random initialization during the initialization process of the Hyperband algorithm;
[0011] (5) The optimized improved DES-Autoformer anomaly detection model is used to monitor and analyze the input data obtained in step (2) to obtain the status monitoring results of the distribution room, and an alarm is issued according to the monitoring results to notify relevant personnel to handle the anomaly.
[0012] Furthermore, the implementation process of step (1) is as follows:
[0013] Use multiple partial discharge sensors to collect partial discharge signals generated by power equipment such as switchgear, GIS, and transformers, and upload the data directly to the monitoring platform through the industrial gateway;
[0014] The STM32 acquisition terminal is equipped with light sensors, harmful gas sensors, temperature and humidity sensors, sound sensors and ZigBee communication modules, which are responsible for collecting sound information and various environmental information at the distribution room. The number of these sensors matches the number of partial discharge sensors.
[0015] The STM32 communication terminal is only equipped with a ZigBee communication module, which is responsible for quickly integrating sensor information and sound information from multiple STM32 acquisition terminals through ZigBee communication, and uploading this information to the monitoring platform through the industrial gateway;
[0016] The network camera is only responsible for monitoring the on-site status of the distribution room and providing sufficient on-site information to relevant personnel. The collected video information is uploaded to the monitoring platform by the industrial gateway.
[0017] Furthermore, the implementation process of step (2) is as follows:
[0018] The collected partial discharge information is encoded at selected time intervals to obtain a set of two-dimensional feature tensors x containing partial discharge information features. p ; The collected audio information is segmented and encoded at selected time intervals to obtain a set of two-dimensional feature tensors x extracted from the audio information v ; Encode the collected sensor information at the selected time interval to obtain a set of two-dimensional feature tensors x containing the characteristics of each sensor data e ; According to the weight, x p 、x p 、x e Perform weighted addition to complete data fusion and obtain the fused feature sequence x.
[0019] Furthermore, the implementation process of step (3) is as follows:
[0020] The sequence correlation part in the abnormal attention mechanism is replaced by the autocorrelation mechanism. The formula of the autocorrelation mechanism is as follows:
[0021]
[0022] Where Q, K, and V represent the query matrix, key matrix, and value matrix, respectively. Q,K (τ) represents the autocorrelation coefficient of Q, K and their time delay sequence, Roll(V,τ) represents the value matrix V with a time delay of τ, C represents the length of the C time delays with the highest correlation in the autocorrelation coefficient, and L represents the length of the input sequence;
[0023] In order to accurately decompose the feature tensor, the decomposition unit in the Autoformer is improved to a quadratic exponential smoothing unit to extract more accurate feature trends and improve the performance of extracting random fluctuations in the sequence; the specific formula of the quadratic exponential smoothing unit is as follows:
[0024]
[0025] Among them, α and β are two parameters that determine the weight ratio between historical data and recent data in the quadratic exponential smoothing, x t,gand x t,s Represents the trend component and period component of the input sequence x at time t;
[0026] The decoding layer in the Autoformer model is replaced with a multi-layer perception head to realize the monitoring status classification task in the monitoring analysis. The two-dimensional feature tensor obtained by the encoding layer of the Autoformer model is reconstructed. The reconstructed sequence will be input into the multi-layer perception head. After passing through the hidden layer and activating with the sigmoid function, it is connected to the output layer to realize the output of the distribution room status classification result. The specific formula of the multi-layer perception head is as follows:
[0027] y l =f(W l f(W l-1 x l-2 +B l-1 )+B l ) (3)
[0028]
[0029] Among them, y l is the output of the l-th layer model, W l is the weight between the lth layer network and the previous layer network, B l is the bias of the lth layer network, x l is the input of the lth layer network, and f is the sigmoid activation function.
[0030] Furthermore, the implementation process of step (4) is as follows:
[0031] (41) Set the objective function of the Hyperband algorithm to the accuracy of monitoring state classification and initialize relevant parameters;
[0032] (42) The Latin hypercube initialization method is used instead of the random initialization method in the Hyperband algorithm. The formula is as follows:
[0033]
[0034] Among them, lb j,i The lower bound of the jth dimension of the i-th group of parameter configurations, ub j,i The upper bound of the jth dimension of the i-th parameter configuration, A j represents the sub-search space where the i-th parameter configuration is located, RFP() is a full permutation operation, n represents the number of groups of parameter configurations, d represents the problem dimension, and X i represents the initialization value of the i-th group of parameter configuration, rand is a random value ranging from [0,1], and LHS() represents the entire Latin hypercube sampling process;
[0035] (43) Based on the idea of continuous attenuation, the iteration method of the Hyperband algorithm is as follows:
[0036] The attenuation times of the Hyperband algorithm are related to the attenuation step length, and the calculation formula is expressed as:
[0037]
[0038] Among them, N max It represents the maximum number of attenuations that can be performed in one optimization process, and is also used to represent the number of iterations required to find the optimal parameter configuration; η max and η min They represent the maximum and minimum computing resources that can be allocated for each set of parameter configurations, and λ represents the attenuation step size;
[0039] At each iteration, computing resources are allocated to the hyperparameter group according to the following formula:
[0040]
[0041] Where N represents the number of generations in the current iteration. represents the number of parameter configurations that need to be sampled in the kth decay in the current iteration, η k Indicates the computing resources allocated in the kth decay in the current iteration;
[0042] In the (k+1)th decay of the Nth iteration, the parameter configuration set is composed of the previous value of the objective function fitness value. The term is composed of:
[0043]
[0044] Among them, T k+1 represents the set of parameter configurations for the k+1th decay, Indicates that the allocated computing resources are η k+1 Under the condition of , the sampling process of parameter configuration in the (k+1)th decay process;
[0045] (44) Calculate the fitness value according to the objective function, and select the optimal solution according to the fitness value;
[0046] (45) Update the current optimal parameter configuration, and determine whether the algorithm termination condition is reached through the maximum number of iterations, and output the optimal result within the maximum number of iterations.
[0047] Furthermore, the implementation process of step (5) is as follows:
[0048] The local discharge, environmental information and sound information in the distribution room are monitored in real time, and the monitoring data is uploaded to the monitoring and analysis platform through the industrial gateway, and the monitoring results are displayed in real time on the monitoring terminal; at the same time, when the monitored information shows abnormal fluctuations, an alarm is immediately issued to notify relevant personnel.
[0049] Furthermore, the relevant parameters in step (41) include the maximum number of iterations, the maximum number and minimum number of computing resources for each group of optimization allocations, the dimension size, and the upper and lower bounds of the search space.
[0050] Based on the same inventive concept, the intelligent monitoring and alarm system for the status of a power distribution room described in the present invention includes a data acquisition module, an unsupervised anomaly detection and status monitoring and analysis module, and a front-end display and alarm module; wherein:
[0051] The data acquisition module is designed based on the STM32 microcontroller, partial discharge sensor and network camera for field data acquisition according to the environmental characteristics of the power distribution room. It collects and identifies the video, audio, sensor signals and partial discharge information required. The STM32 acquisition end is equipped with a light sensor, a harmful gas sensor, a temperature and humidity sensor, a sound sensor and a ZigBee communication module. The STM32 communication end is only equipped with a ZigBee communication module, which is responsible for quickly integrating the sensor information of multiple STM32 acquisition ends through ZigBee communication.
[0052] The unsupervised anomaly detection and status monitoring analysis module is used to establish an improved DES-Autoformer anomaly detection model and use the improved Hyperband algorithm to optimize the hyperparameters in the improved DES-Autoformer anomaly detection model; the improved DES-Autoformer anomaly detection model after training and optimization is used to monitor and analyze the input data;
[0053] The front-end display and alarm module is used to display the status monitoring results and on-site video information of the distribution room on the front-end interface, and to alarm and remind relevant personnel to handle the abnormal situation.
[0054] Beneficial effects: Compared with the prior art, the present invention has the following beneficial effects: the present invention uses multiple STM32 single-chip microcomputers, partial discharge sensors and network cameras to obtain distribution room environmental information, and the collection process is comprehensive, fast, accurate and robust; the improved DES-Autoformer distribution room abnormal state intelligent monitoring and analysis model constructed by the present invention can quickly decompose input data to obtain warehouse environmental characteristics, and improve the accuracy of state monitoring through unsupervised anomaly detection; and the improved Hyperband algorithm is used for parameter optimization during model training. In order to avoid the Hyperband algorithm from falling into local optimality during the optimization process, Latin hypercube is used for sampling to improve the algorithm's optimization ability; intelligent monitoring of the abnormal state of the distribution room is realized, and the accuracy of the monitoring results is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 It is a flow chart of the intelligent monitoring method of the power distribution room status;
[0056] Figure 2 This is a schematic diagram of the structure of the improved DES-Autoformer anomaly detection model proposed in the present invention;
[0057] Figure 3 This is a flow chart of the improved Hyperband algorithm proposed in the present invention. DETAILED DESCRIPTION
[0058] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0059] like Figure 1 As shown, the present invention proposes a method for intelligent monitoring of the state of a power distribution room, which is a flow chart of the method, and specifically includes the following steps:
[0060] Step 1: According to the environmental characteristics of the distribution room, set up a network camera to collect the video information required for monitoring, and design a field data collection point based on the STM32 microcontroller to collect the audio and sensor signal information required for identification; according to the partial discharge risk in the distribution room, set up a partial discharge sensor to collect partial discharge information.
[0061] Multiple partial discharge sensors are used to collect and detect partial discharge signals generated by power equipment such as switch cabinets, GIS, and transformers, and the data is directly uploaded to the monitoring platform through the industrial gateway. The STM32 acquisition end is equipped with a light sensor, a harmful gas sensor, a temperature and humidity sensor, a sound sensor, and a ZigBee communication module, which is responsible for collecting sound information and various environmental information at the distribution room site, and its number matches the number of partial discharge sensors. The STM32 communication end is only equipped with a ZigBee communication module, which is responsible for quickly integrating the sensor information and sound information of multiple STM32 acquisition ends through ZigBee communication, and uploading this information to the monitoring platform through the industrial gateway. The network camera is only responsible for monitoring the on-site status of the distribution room, providing sufficient on-site information for relevant personnel, and the collected video information is uploaded to the monitoring platform by the industrial gateway.
[0062] Step 2: Encode the collected sound, environmental sensor signals and partial discharge sensor signals respectively, and fuse them to obtain the training data and input data of the model.
[0063] The collected audio information is processed, a frame is intercepted every time interval τ and the intercepted frame length is set to τ', the intercepted audio signal is transformed from the time domain to the frequency domain, its LPC coefficient is calculated and converted into LSF coefficient, and a set of two-dimensional feature tensors x extracted from the audio information is obtained by quantizing the LSF coefficient. v The collected environmental sensor signals are value-encoded to obtain a set of two-dimensional feature tensors x containing partial discharge information features. p The collected partial discharge sensor signals are value-encoded to obtain a set of two-dimensional feature tensors x containing partial discharge information features. p . According to the weight, x p 、x p 、x e Perform weighted addition to obtain the fused feature sequence x, which is used to input the model to analyze and judge the status of the distribution room.
[0064] Step 3: If Figure 2 As shown in the figure, an improved DES-Autoformer anomaly detection model is established, the autocorrelation mechanism in the Autoformer model is integrated with the anomaly attention mechanism, the sequence association in the anomaly attention mechanism is replaced by the autocorrelation mechanism, and the sequence decomposition structure in the Autoformer is replaced by double exponential smoothing (DES). Finally, the sequence prediction structure of the Autoformer is changed to a state classification structure.
[0065] In order to improve the model's ability to extract sequence associations, the sequence association part in the abnormal attention mechanism is replaced by the autocorrelation mechanism. The formula of the autocorrelation mechanism is as follows:
[0066]
[0067] Where Q, K, and V represent the query matrix, key matrix, and value matrix, respectively. Q,K (τ) represents the autocorrelation coefficient of Q, K and their time delay sequence, Roll(V,τ) represents the time delay of the value matrix V with a duration of τ, and C represents the duration of the C time delays with the highest correlation in the autocorrelation coefficients.
[0068] In order to accurately decompose the feature tensor, the decomposition unit in the Autoformer is improved to a quadratic exponential smoothing unit to extract more accurate feature trends and improve the performance of extracting random fluctuations in the sequence. The specific formula of the quadratic exponential smoothing unit is as follows:
[0069]
[0070] Among them, α and β are two parameters that determine the weight ratio between historical data and recent data in the quadratic exponential smoothing, x t,g and x t,s Represents the trend component and period component of the input sequence x at time t.
[0071] The decoding layer in the Autoformer model is replaced with a multi-layer perception head to realize the monitoring status classification task in the monitoring analysis. The two-dimensional feature tensor obtained by the encoding layer of the Autoformer model is reconstructed. The reconstructed sequence will be input into the multi-layer perception head. After passing through the hidden layer and activating with the sigmoid function, it is connected to the output layer to realize the output of the distribution room status classification result. The specific formula of the multi-layer perception head is as follows:
[0072] y l =f(W l f(W l-1 x l-2 +B l-1 )+B l ) (3)
[0073]
[0074] Among them, y l is the output of the l-th layer model, W l is the weight between the lth layer network and the previous layer network, B l is the bias of the lth layer network, x l is the input of the lth layer network, and f is the sigmoid activation function.
[0075] Step 4: Send the training data obtained in step 2 to the improved DES-Autoformer anomaly detection model in step 3, and use the improved Hyperband algorithm to optimize the hyperparameters in the improved DES-Autoformer anomaly detection model to obtain the intelligent monitoring and analysis model for abnormal status of the distribution room. Figure 3 As shown in FIG. 1 , in the initialization process of the Hyperband algorithm, Latin hypercube initialization is used instead of the original random initialization to improve the optimization ability of the algorithm.
[0076] (4.1) Set the objective function of the Hyperband algorithm to the accuracy of monitoring status classification and initialize relevant parameters, including: maximum number of iterations, maximum and minimum number of computing resources allocated for each group of optimization, dimension size, upper and lower bounds of the search space.
[0077] (4.2) The Latin hypercube initialization method is used instead of the random initialization method in the Hyperband algorithm. The formula is as follows:
[0078]
[0079] Among them, lb j,i The lower bound of the jth dimension of the i-th group of parameter configurations, ub j,i The upper bound of the jth dimension of the i-th parameter configuration, A j represents the sub-search space where the i-th parameter configuration is located, RFP() is a full permutation operation, n represents the number of groups of parameter configurations, d represents the problem dimension, and X i represents the initialization value of the i-th group of parameter configuration, rand is a random value in [0,1], and LHS() represents the entire Latin hypercube sampling process.
[0080] (4.3) Based on the idea of continuous attenuation, the iteration method of the Hyperband algorithm is as follows:
[0081] 1) The attenuation times of the Hyperband algorithm are related to the attenuation step length, and the calculation formula is expressed as follows:
[0082]
[0083] Where N max It indicates the maximum number of attenuations that can be performed in one optimization process, and is also used to indicate the number of iterations required to find the optimal parameter configuration. max and η min They represent the maximum and minimum computing resources that can be allocated for each set of parameter configurations, and λ represents the attenuation step size.
[0084] 2) During each iteration, computing resources are allocated to the hyperparameter group according to the following formula:
[0085]
[0086] Where N represents the number of generations in the current iteration. Indicates the number of parameter configurations that need to be sampled in the kth decay in the current iteration. η k Indicates the computing resources allocated in the kth decay in the current iteration.
[0087] 3) In the k+1th decay of the Nth iteration, the parameter configuration set is composed of the previous It is composed of items and can be expressed by mathematical formula as:
[0088]
[0089] Among them, T k+1 represents the set of parameter configurations for the k+1th decay, Indicates that the allocated computing resources are η k+1 The sampling process of parameter configuration in the k+1th decay process under the condition of .
[0090] 4) Calculate the fitness value according to the objective function, and select the optimal solution based on the fitness value.
[0091] (4.4) Update the current optimal parameter configuration in step (4.3), and determine whether the algorithm termination condition is reached by calculating the maximum number of iterations. If not, repeat 2) to 4) and finally output the optimal result within the maximum number of iterations.
[0092] Step 5: Use the intelligent monitoring and analysis model for abnormal status of the distribution room trained and optimized in step 4 to monitor and analyze the model input data obtained in step 2 to obtain the status monitoring results of the distribution room.
[0093] The front-end interface displays and warns the acquired status monitoring results, which is used to display all video, sound, partial discharge sensor, and environmental sensor information in the distribution room abnormality monitoring process in real time, and display the status monitoring analysis results evaluated by the established improved DES-Autoformer abnormality detection model. According to the monitoring results, judgment is made, and if it is an abnormal situation, an alarm is issued, and the monitoring results and on-site information are notified and provided to relevant personnel, allowing relevant personnel to view historical data within the call authority, so that relevant personnel can correctly handle the abnormality.
[0094] The present invention also provides a distribution room status intelligent monitoring and alarm system, including a data acquisition module, an unsupervised abnormality detection and status monitoring and analysis module, and a front-end display and alarm module; wherein:
[0095] The data acquisition module is designed based on the STM32 microcontroller, partial discharge sensor and network camera for field data acquisition according to the environmental characteristics of the distribution room. It collects and identifies the video, audio, sensor signals and partial discharge information required. The STM32 acquisition end is equipped with a light sensor, a harmful gas sensor, a temperature and humidity sensor, a sound sensor and a ZigBee communication module. The STM32 communication end is only equipped with a ZigBee communication module, which is responsible for quickly integrating the sensor information of multiple STM32 acquisition ends through ZigBee communication.
[0096] The unsupervised anomaly detection and status monitoring analysis module is used to establish an improved DES-Autoformer anomaly detection model and use the improved Hyperband algorithm to optimize the hyperparameters in the improved DES-Autoformer anomaly detection model; the improved DES-Autoformer anomaly detection model after training and optimization is used to monitor and analyze the input data.
[0097] The front-end display and alarm module is used to display the status monitoring results and on-site video information of the distribution room on the front-end interface, and to alarm and remind relevant personnel to handle the abnormal situation.
[0098] The present invention is not limited to the above-mentioned specific implementation cases. Within the knowledge scope of those skilled in the art, any equivalent replacement or change of the technical solution and the inventive concept according to the present invention should be included in the protection scope of the present invention.
Claims
1. A method for intelligent monitoring of the state of a power distribution room, characterized in that: The steps include: (1) In view of the environmental characteristics of the distribution room, a network camera is set up to collect the video information required for monitoring, and a field data collection point based on the STM32 microcontroller is designed to collect the audio and sensor signal information required for identification; in view of the partial discharge risk in the distribution room, a partial discharge sensor is set up to collect partial discharge information; (2) respectively encoding the audio signal, sensor signal and partial discharge information data of the distribution room collected in step (1) and fusing them to obtain training data and input data; (3) constructing an improved DES-Autoformer anomaly detection model, wherein the improved DES-Autoformer anomaly detection model is to fuse the autocorrelation mechanism in the Autoformer model with the anomaly attention mechanism, replace the sequence association in the anomaly attention mechanism with the autocorrelation mechanism, and replace the sequence decomposition structure in the Autoformer with quadratic exponential smoothing, and finally change the sequence prediction structure of the Autoformer into a state classification structure; (4) The training data obtained in step (2) is sent to the improved DES-Autoformer anomaly detection model, and the hyperparameters in the improved DES-Autoformer anomaly detection model are optimized using the improved Hyperband algorithm to obtain an intelligent monitoring and analysis model for abnormal conditions in the distribution room; the improved Hyperband algorithm uses Latin hypercube initialization instead of the original random initialization during the initialization process of the Hyperband algorithm; (5) Using the optimized improved DES-Autoformer anomaly detection model, the input data obtained in step (2) is monitored and analyzed to obtain the status monitoring results of the distribution room, and an alarm is issued according to the monitoring results to notify relevant personnel to handle the anomaly; The implementation process of step (3) is as follows: The sequence correlation part in the abnormal attention mechanism is replaced by the autocorrelation mechanism. The formula of the autocorrelation mechanism is as follows: Where Q, K, and V represent the query matrix, key matrix, and value matrix, respectively. Q,K (τ) represents the autocorrelation coefficient of Q, K and their time delay sequence, Roll(V,τ) represents the value matrix V with a time delay of τ, C represents the length of the C time delays with the highest correlation in the autocorrelation coefficient, and L represents the length of the input sequence; In order to accurately decompose the feature tensor, the decomposition unit in the Autoformer is improved to a quadratic exponential smoothing unit to extract more accurate feature trends and improve the performance of extracting random fluctuations in the sequence; the specific formula of the quadratic exponential smoothing unit is as follows: Among them, α and β are two parameters that determine the weight ratio between historical data and recent data in the quadratic exponential smoothing, x t,g and x t,s Represents the trend component and period component of the input sequence x at time t; The decoding layer in the Autoformer model is replaced with a multi-layer perception head to realize the monitoring status classification task in the monitoring analysis. The two-dimensional feature tensor obtained by the encoding layer of the Autoformer model is reconstructed. The reconstructed sequence will be input into the multi-layer perception head. After passing through the hidden layer and activating with the sigmoid function, it is connected to the output layer to realize the output of the distribution room status classification result. The specific formula of the multi-layer perception head is as follows: y l =f(W l f(W l-1 x l-2 +B l-1 )+B l ) (3) Among them, y l is the output of the l-th layer model, W l is the weight between the lth layer network and the previous layer network, B l is the bias of the lth layer network, x l is the input of the lth layer network, and f is the sigmoid activation function.
2. The method for intelligent monitoring of power distribution room status according to claim 1, characterized in that: The implementation process of step (1) is as follows: Use multiple partial discharge sensors to collect and detect partial discharge signals generated by switchgear, GIS, and transformers, and upload the data directly to the monitoring platform through the industrial gateway; The STM32 acquisition terminal is equipped with light sensors, harmful gas sensors, temperature and humidity sensors, sound sensors and ZigBee communication modules, which are responsible for collecting sound information and various environmental information at the distribution room. The number of these sensors matches the number of partial discharge sensors. The STM32 communication terminal is only equipped with a ZigBee communication module, which is responsible for quickly integrating sensor information and sound information from multiple STM32 acquisition terminals through ZigBee communication, and uploading this information to the monitoring platform through the industrial gateway; The network camera is only responsible for monitoring the on-site status of the distribution room and providing sufficient on-site information to relevant personnel. The collected video information is uploaded to the monitoring platform by the industrial gateway.
3. The method for intelligent monitoring of power distribution room status according to claim 1, characterized in that: The implementation process of step (2) is as follows: The collected partial discharge information is encoded at selected time intervals to obtain a set of two-dimensional feature tensors x containing partial discharge information features. p ; The collected audio information is segmented and encoded at selected time intervals to obtain a set of two-dimensional feature tensors x extracted from the audio information v ; Encode the collected sensor information at the selected time interval to obtain a set of two-dimensional feature tensors x containing the characteristics of each sensor data e ; According to the weight, x p 、x v 、x e Perform weighted addition to complete data fusion and obtain the fused feature sequence x.
4. The method for intelligent monitoring of power distribution room status according to claim 1, characterized in that: The implementation process of step (4) is as follows: (41) Set the objective function of the Hyperband algorithm to the accuracy of monitoring state classification and initialize relevant parameters; (42) The Latin hypercube initialization method is used instead of the random initialization method in the Hyperband algorithm. The formula is as follows: Among them, lb j,i The lower bound of the jth dimension of the i-th group of parameter configurations, ub j,i The upper bound of the jth dimension of the i-th parameter configuration, A j represents the sub-search space where the i-th parameter configuration is located, RFP() is a full permutation operation, n represents the number of groups of parameter configurations, d represents the problem dimension, and X i represents the initialization value of the i-th group of parameter configuration, rand is a random value ranging from [0,1], and LHS() represents the entire Latin hypercube sampling process; (43) Based on the idea of continuous attenuation, the iteration method of the Hyperband algorithm is as follows: The attenuation times of the Hyperband algorithm are related to the attenuation step length, and the calculation formula is expressed as: Among them, N max It represents the maximum number of attenuations that can be performed in one optimization process, and is also used to represent the number of iterations required to find the optimal parameter configuration; η max and η min They represent the maximum and minimum computing resources that can be allocated for each set of parameter configurations, and λ represents the attenuation step size; At each iteration, computing resources are allocated to the hyperparameter group according to the following formula: Where N represents the number of generations in the current iteration. represents the number of parameter configurations that need to be sampled in the kth decay in the current iteration, η k Indicates the computing resources allocated in the kth decay in the current iteration; In the (k+1)th decay of the Nth iteration, the parameter configuration set is composed of the previous value of the objective function fitness value. The term is composed of: Among them, T k+1 represents the set of parameter configurations for the k+1th decay, Indicates that the allocated computing resources are η k+1 Under the condition of , the sampling process of parameter configuration in the (k+1)th decay process; (44) Calculate the fitness value according to the objective function, and select the optimal solution according to the fitness value; (45) Update the current optimal parameter configuration, and determine whether the algorithm termination condition is reached through the maximum number of iterations, and output the optimal result within the maximum number of iterations.
5. The method for intelligent monitoring of power distribution room status according to claim 1 is characterized in that: The implementation process of step (5) is as follows: The local discharge, environmental information and sound information in the distribution room are monitored in real time, and the monitoring data is uploaded to the monitoring and analysis platform through the industrial gateway, and the monitoring results are displayed in real time on the monitoring terminal; at the same time, when the monitored information shows abnormal fluctuations, an alarm is immediately issued to notify relevant personnel.
6. The method for intelligent monitoring of power distribution room status according to claim 4, characterized in that: The relevant parameters described in step (41) include the maximum number of iterations, the maximum and minimum number of computing resources allocated to each group of optimizations, the dimension size, and the upper and lower bounds of the search space.
7. An intelligent monitoring and alarm system for the state of a power distribution room using the method according to any one of claims 1 to 6, characterized in that: It includes data acquisition module, unsupervised anomaly detection and status monitoring analysis module and front-end display and alarm module; among which: The data acquisition module is designed based on the STM32 microcontroller, partial discharge sensor and network camera for field data acquisition according to the environmental characteristics of the power distribution room. It collects and identifies the video, audio, sensor signals and partial discharge information required. The STM32 acquisition end is equipped with a light sensor, a harmful gas sensor, a temperature and humidity sensor, a sound sensor and a ZigBee communication module. The STM32 communication end is only equipped with a ZigBee communication module, which is responsible for quickly integrating the sensor information of multiple STM32 acquisition ends through ZigBee communication. The unsupervised anomaly detection and status monitoring analysis module is used to establish an improved DES-Autoformer anomaly detection model and use the improved Hyperband algorithm to optimize the hyperparameters in the improved DES-Autoformer anomaly detection model; the improved DES-Autoformer anomaly detection model after training and optimization is used to monitor and analyze the input data; The front-end display and alarm module is used to display the status monitoring results and on-site video information of the distribution room on the front-end interface, and to alarm and remind relevant personnel to handle the abnormal situation.
Citation Information
Cited By
Distribution room switch cabinet partial discharge on-line monitoring and early warning system
CN122330623A
A power distribution room switch cabinet partial discharge on-line monitoring and early warning system
CN122330623B
