A remote monitoring method and system for abnormal fault information of an electric energy metering box

By constructing a multidimensional state feature vector and feature weight matrix, and combining the directional dispersion factor and covariance moment principal axis expansion, remote monitoring of abnormal faults in power metering boxes is carried out, solving the problem of accuracy in fault early warning under complex environments and achieving more efficient fault identification and early warning.

CN123136174APending Publication Date: 2026-11-20JIANGXI MINGTAI ELECTRICAL EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611265205.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-20
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing remote monitoring solutions for electricity metering boxes have high false alarm and false negative rates in complex environments, making it difficult to accurately identify abnormal faults.

Method used

By acquiring electrical operation data and environmental status data from the power metering box, a multidimensional state feature vector is constructed, the feature weight matrix is ​​calculated, the neighborhood order is determined using the directional dispersion factor and the principal axis expansion of the covariance matrix, the nearest neighbor distance is extracted, and abnormal faults are determined through orthogonal projection and threshold adjustment.

Benefits of technology

This reduces the false alarm and missed alarm rates of remote monitoring of abnormal faults in electricity metering boxes, and improves the accuracy of monitoring and the efficiency of early warning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136174A_ABST
    Figure CN123136174A_ABST
Patent Text Reader

Abstract

The application provides a kind of electric energy metering box abnormal fault information remote monitoring method and system, comprising: collecting metering box node voltage, load current, temperature and humidity data and normalizing, construct multidimensional state feature vector;Based on non-negative cross-correlation coefficient and time series variance ratio generates feature weight matrix, calculates sample preliminary coupling distance;According to initial neighbor set, solve direction dispersion factor and covariance matrix principal axis extension degree, and determine adaptive neighborhood order and neighbor distance in combination with lower limit constraint after normalization direction dispersion factor;Along the principal axis direction, project the neighbor sample to obtain discrete span distance, combined with normalized principal axis extension degree, normalized discrete span distance and neighbor distance to calculate composite correction core distance;Take the greater value of preliminary coupling distance and composite correction core distance as reachable distance and average, adjust basic threshold according to the difference of direction dispersion of target sample and neighbor sample, exceed limit and send early warning when determining abnormal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of monitoring, and in particular relates to a method and system for remote monitoring of abnormal fault information of electricity metering boxes. Background Technology

[0002] Since electricity metering boxes are typically installed outdoors or in complex, semi-open environments, the operating status of their internal components is affected by both changes in electrical load and external environmental factors. Remote monitoring of abnormal fault information by collecting electrical operating data and environmental status data from electricity metering boxes has become a common operation and maintenance management method in the field of the power Internet of Things (IoT). Existing remote monitoring solutions typically collect electrical operating data such as voltage and current, as well as environmental status data such as temperature and humidity, through sensor nodes, and use anomaly detection algorithms based on spatial distance or local density for data analysis and status identification. However, the uneven distribution of data under different operating conditions and the dynamic changes in local spatial geometric features are highly susceptible to interference from local data density differences and multidimensional noise, leading to high false alarm and false negative rates for fault warnings in complex environments. Summary of the Invention

[0003] To improve the accuracy, reliability, and early warning efficiency of remote monitoring of abnormal faults in electricity metering boxes, this invention provides a method and system for remote monitoring of abnormal fault information in electricity metering boxes.

[0004] In a first aspect, the present invention provides the following technical solution: a method for remote monitoring of abnormal fault information of an electricity metering box, comprising: The electrical operation data and environmental status data of the power metering box to be monitored are obtained and normalized to construct a multi-dimensional state feature vector. The feature weight matrix is ​​constructed based on the nonnegative cross-correlation coefficient and the time series variance ratio to calculate the preliminary coupling distance. The directional dispersion factor and the principal axis expansion of the covariance matrix are calculated based on the initial nearest neighbor sample set under the preliminary coupling distance. The adaptive neighborhood order is obtained by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower bound constraint, and the nearest neighbor distance is extracted. The discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the main axis. The composite correction core distance is calculated using the normalized directional dispersion factor after lower limit constraint, the normalized main axis expansion, the normalized discrete span distance and the nearest neighbor distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated. The threshold adjustment coefficient is obtained by comparing the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples. The threshold adjustment coefficient is then used to adjust the preset basic distance threshold to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault warning command is sent.

[0005] Secondly, the present invention provides the following technical solution: a remote monitoring system for abnormal fault information of an electricity metering box, comprising the following modules: The module is used to acquire electrical operation data and environmental status data of the power metering box to be monitored, perform normalization processing to construct a multi-dimensional state feature vector, and construct a feature weight matrix based on the nonnegative cross-correlation coefficient and time series variance ratio to calculate the preliminary coupling distance. The extraction module is used to calculate the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance, and to obtain the adaptive neighborhood order and extract the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower limit constraint. The calculation module is used to orthogonally project the nearest neighbor samples along the main axis to obtain the discrete span distance. It uses the normalized directional dispersion factor after lower limit constraint, the normalized main axis expansion, the normalized discrete span distance and the nearest neighbor distance to calculate the composite correction core distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated. The early warning module is used to obtain a threshold adjustment coefficient based on the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples, and to adjust the preset basic distance threshold using the threshold adjustment coefficient to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault early warning command is sent.

[0006] This invention comprehensively acquires electrical operation data and environmental status data from power metering boxes, and constructs a feature weight matrix by combining the nonnegated cross-correlation coefficient and time series variance ratio. The neighborhood order is determined and nearest neighbor distances are extracted by calculating the directional dispersion factor and the principal axis expansion of the covariance matrix. This leverages the directionality and dispersion of the data samples in spatial distribution, ensuring that the selection of the nearest neighbor range aligns with the actual data structure. Discrete span distances are obtained using orthogonal projection along the principal axis, and the composite correction core distance is calculated by integrating multi-dimensional spatial features. A threshold adjustment coefficient is generated by combining the distribution differences between the target sample and the nearest neighbor samples. This threshold adjustment coefficient is then used to adjust a preset basic distance threshold to obtain an adaptive critical threshold for anomaly detection. This reduces false alarm and false negative rates, improving the accuracy, reliability, and early warning efficiency of remote monitoring of power metering box anomalies. Attached Figure Description

[0007] Figure 1 A flowchart for a remote monitoring method for abnormal fault information of electricity metering boxes; Figure 2 This is an orthogonal projection distribution map of the nearest neighbor samples along the principal axis. Figure 3This is a monitoring chart showing the average reachable distance threshold exceeding the monitoring line. Detailed Implementation

[0008] In this application, the terms "exemplarily" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplarily" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0009] This invention proposes a method for remote monitoring of abnormal fault information in electricity metering boxes, such as... Figure 1 As shown, it includes: S1. Obtain the electrical operation data and environmental status data of the power metering box to be monitored, perform normalization processing to construct a multi-dimensional state feature vector, and construct a feature weight matrix based on the nonnegative cross-correlation coefficient and time series variance ratio to calculate the preliminary coupling distance.

[0010] Voltage, current, temperature, and humidity data are collected from the nodes using voltage sensors, current sensors, temperature sensors, and humidity sensors deployed inside the energy metering box. The collected data are processed using a maximum-minimum normalization method to obtain normalized values ​​for each data point. All normalized values ​​collected at the same time are then arranged in a fixed chronological order and combined to form a one-dimensional multi-dimensional state feature vector.

[0011] Calculate the Pearson cross-correlation coefficient between the voltage and current sequences, and take the absolute value of the Pearson cross-correlation coefficient to obtain a non-negative electrical coupling strength coefficient. Calculate the ratio of the variance of each feature dimension within the current time sliding window to the historical global variance of that feature to obtain the time series variance ratio of each feature dimension. For feature dimensions corresponding to electrical operation data, use the electrical coupling strength coefficient and the corresponding time series variance ratio for weighted summation to generate a non-negative electrical feature weight value; for feature dimensions corresponding to environmental state data, use the corresponding time series variance ratio as the non-negative environmental feature weight value.

[0012] The non-negative weight values ​​are proportionally normalized so that the sum of the weight values ​​for each feature dimension is 1. The normalized weight values ​​for each dimension are then used as diagonal elements to construct a diagonal matrix as the feature weight matrix. This feature weight matrix is ​​used to calculate the weighted Euclidean distance between the sample to be monitored and existing samples in the historical database. This is done by multiplying the squares of the differences in each feature dimension between the two samples by their corresponding non-negative diagonal weights, summing the results, and then taking the square root of the sum to obtain the preliminary coupling distance.

[0013] As one possible implementation, the step of acquiring the electrical operation data and environmental status data of the power metering box to be monitored, and then normalizing the data to construct a multi-dimensional state feature vector includes: The electrical operation dataset is constructed by acquiring the node voltage sequence and real-time working load current sequence at the input terminal of the power metering box to be monitored according to the preset sampling period. The temperature and humidity data collected by the temperature and humidity detection components installed in the space under inspection are used to construct the environmental status dataset. Data items with the same time series reference are extracted from the electrical operation dataset and the environmental status dataset, normalized, and then combined and spliced ​​to construct a single multidimensional state feature vector as the multidimensional state feature vector of the target sample.

[0014] Set the preset sampling period The voltage sensor and current transformer installed at the input terminal of the metering box synchronously collect N consecutive sampling points up to time t, for example, N=600, to form a node voltage sequence. and real-time working load current sequence Together, these two components constitute the electrical operation dataset. Simultaneously, using the PT100 temperature sensor and DHT11 humidity detection component built into the space under test, a temperature data sequence under a synchronized clock is acquired. With humidity data series This constitutes an environmental state dataset.

[0015] The acquired raw data is normalized using the system timestamp as the time series reference and the maximum-minimum normalization formula. Process the data of each of the four sequences, when When the value is less than a preset minimum positive number, the normalized value of the corresponding feature dimension is set to the preset default value, or the normalized value of the previous sampling time is kept unchanged. For example, if the measured voltage at a certain time is v=225V and the range is 190V-250V, then the normalized voltage value is 0.583. After processing, the normalized voltage, current, temperature, and humidity data under the same time reference are processed according to... The fixed order of the elements is combined and spliced ​​to generate a four-dimensional state feature vector, which is used as the multi-dimensional state feature vector of the target sample at that moment.

[0016] As one possible implementation, the step of constructing a feature weight matrix based on the nonnegated cross-correlation coefficient and the time series variance ratio to calculate the preliminary coupling distance includes: Calculate the cross-correlation coefficient between the voltage and current sequences within the sliding time window of the electrical operation dataset, as well as the time series variance ratio of each feature dimension. Take the absolute value of the cross-correlation coefficient to obtain the electrical coupling strength coefficient. The non-negative weight value of the feature dimension corresponding to the electrical operation data is generated by weighted summation using the electrical coupling strength coefficient and the time series variance ratio of the feature dimension corresponding to the electrical operation data, and the time series variance ratio of the feature dimension corresponding to the environmental state data is used as the non-negative weight value of the corresponding feature dimension. A feature weight matrix is ​​constructed using the non-negative weight values ​​of each feature dimension. The feature differences between the target sample and other samples in each feature dimension are calculated. Based on the feature weight matrix, a weighted Euclidean distance is calculated on the feature differences to obtain the preliminary coupling distance between the samples.

[0017] The cross-correlation coefficient between voltage series V and current series I within a sliding time window in the electrical operation data is calculated using the Pearson correlation coefficient formula. For example, calculated =0.85, and its absolute value is taken as the electrical coupling strength coefficient. =| |=0.85; Calculate the ratio of the variance of each of the four feature dimensions (voltage, current, temperature, and humidity) within the current time sliding window to the corresponding historical global variance. When the corresponding historical global variance is less than a preset minimum positive number, the preset minimum positive number is used as the denominator in the calculation to obtain the time series variance ratio vector. For example, the vector is [0.4, 0.3, 0.2, 0.1]. For the feature dimensions corresponding to electrical operation data, using... Calculate the weights, set the balance coefficients α=0.6 and β=0.4, and obtain the initial weights for the voltage dimension. =0.67, and similarly, the initial weights of the current dimension are obtained. =0.63. For environmental state data, its variance ratio is used as the weight, i.e. = =0.2, = =0.1.

[0018] The initial weights of each feature dimension are combined into an initial weight vector [0.67, 0.63, 0.2, 0.1], with a sum of 1.6. After scaling this initial weight vector, the normalized weight vector is approximately [0.419, 0.394, 0.125, 0.063]. The normalized weight vector is then used to construct a diagonal feature weight matrix. For the target sample With any sample Calculate the feature difference vector between the two in each feature dimension. And substitute it into the weighted Euclidean distance formula For example, when the feature difference When the value is [0.1, 0.2, 0.05, 0.02], the initial coupling distance is approximately 0.142. The initial coupling distance between the target sample and all other samples is calculated by iterating through this value.

[0019] S2, calculate the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance, and obtain the adaptive neighborhood order and extract the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower limit constraint.

[0020] An initial nearest neighbor number constant is set. The preliminary coupling distances between the sample to be monitored and all samples in the historical database are arranged in ascending order of value. The historical samples with the smallest distances, equal to the initial nearest neighbor number constant, are selected to form the initial nearest neighbor sample set. The vector connecting the sample to be monitored to each sample in the initial nearest neighbor sample set is calculated, and the spatial angle between different vectors is calculated. The standard deviation of all spatial angles is then calculated, and this standard deviation is used as the directional dispersion factor of the sample to be monitored.

[0021] The feature covariance matrix is ​​calculated based on the multidimensional state feature vectors of each sample in the initial nearest neighbor sample set. Eigenvalue decomposition is then performed on this feature covariance matrix to obtain all eigenvalues, and the eigenvalue with the largest value is extracted as the principal axis spread of the covariance matrix. The principal axis spread and directional dispersion factor are then mapped to the real number interval of 0 to 1 using mapping formulas, completing the normalization operation.

[0022] The adjustment ratio is obtained by dividing the normalized principal axis expansion by the normalized directional dispersion factor after lower bound constraint. This adjustment ratio is then multiplied by the base neighborhood order and rounded down to obtain the median neighborhood order. The median neighborhood order is limited to between 1 and the initial number of nearest neighbor samples. When the calculated median neighborhood order is greater than the initial number of nearest neighbor samples, it is truncated to the initial number of nearest neighbor samples; when the calculated median neighborhood order is less than 1, it is set to 1, thus obtaining the adaptive neighborhood order. In the sample sequence sorted by initial coupling distance, the sample ranked at the adaptive neighborhood order position is selected, and the initial coupling distance from this sample to the sample to be monitored is extracted as the nearest neighbor distance.

[0023] As one possible implementation, the step of calculating the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance includes: Based on the preliminary coupling distance, select multiple samples closest to the target sample to form an initial nearest neighbor sample set. Calculate the angle between the vectors connecting the target sample and each nearest neighbor sample in the initial nearest neighbor sample set. Calculate the standard deviation of all angles as the directional dispersion factor. Construct the covariance matrix of the initial nearest neighbor sample set and perform eigenvalue decomposition on the covariance matrix to extract the maximum eigenvalue and the corresponding eigenvector. Use the maximum eigenvalue as the principal axis expansion of the covariance matrix and the eigenvector corresponding to the maximum eigenvalue as the principal axis direction.

[0024] For target samples Based on the calculated initial coupling distances, sort the samples in ascending order and select the K nearest samples, for example, K=15, to form the initial nearest neighbor sample set. Construct directed connection vectors from the target sample to each nearest neighbor sample in sequence. The dot product formula is used to calculate the spatial angle between all pairs of directed vectors, and the mean and standard deviation of all the calculated angles are calculated. The standard deviation is used as the directional dispersion factor. For example, if the calculated standard deviation of the included angle is 0.35 radians, then .

[0025] Calculate the initial nearest neighbor sample set covariance matrix ,in Let C be the mean vector of the nearest neighbor samples. Perform eigenvalue decomposition on this 4×4 covariance matrix C, and extract the largest eigenvalue from the set of eigenvalues. ,For example That is, the expansion of the principal axis of the covariance matrix. At the same time, the unit eigenvector corresponding to the largest eigenvalue. ,For example As the principal axis direction of the spatial distribution of neighboring samples.

[0026] As one possible implementation, the step of obtaining the adaptive neighborhood order and extracting the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint includes: The directional dispersion factor and the principal axis expansion are normalized respectively. The ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint is calculated to obtain the spatial heterogeneity coefficient. The spatial heterogeneity coefficient is used to scale down and round down the preset basic neighborhood order to obtain the adaptive neighborhood order. The adaptive neighborhood order is limited to a positive integer not greater than the number of the initial nearest neighbor sample set. The initial coupling distance of the nearest neighbor samples corresponding to the adaptive neighborhood order is extracted from the initial nearest neighbor sample set in ascending order according to the initial coupling distance as the nearest neighbor distance.

[0027] For example, the maximum and minimum values ​​of the directional dispersion factor of the global historical samples are set as follows: , The maximum and minimum spindle extension values ​​are respectively , The directional dispersion factor of the current target sample is calculated using the range normalization formula. and spindle extension After mapping, the normalized directional dispersion factor is obtained. and normalized principal axis expansion .

[0028] when When it is less than the preset minimum positive number ε, After being updated to ε, it is included in the calculation; the ratio of the normalized principal axis extension to the directional dispersion factor after lower bound constraint is calculated. It is used as the spatial heterogeneity coefficient. Set the preset basic neighborhood order. Using the formula Scaling and using By applying upper and lower bound constraints, the adaptive neighborhood order is obtained. .

[0029] In the initial nearest neighbor sample set In the process, all nearest neighbor samples are sorted in ascending order of initial coupling distance, and the first sample in the sorted sequence is extracted. The initial coupling distance value corresponding to the nearest neighbor sample of the location is defined as the nearest neighbor distance of the target sample. .

[0030] S3. The discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the principal axis. The composite correction core distance is calculated by using the normalized directional dispersion factor after lower limit constraint, the normalized principal axis expansion, the normalized discrete span distance and the nearest neighbor distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated.

[0031] The eigenvector corresponding to the largest eigenvalue of the aforementioned feature covariance matrix is ​​extracted as the principal axis direction vector. The dot product operation is then performed between the line vector connecting the target sample to each nearest neighbor sample in the initial nearest neighbor sample set and the principal axis direction vector to complete the orthogonal projection, resulting in a series of scalar projection values. The maximum and minimum projection values ​​are then found by iterating through all the projection values. The discrete span distance is obtained by subtracting the minimum projection value from the maximum projection value.

[0032] The directional dispersion factor, principal axis extension, and discrete span distance are normalized respectively. When the normalized directional dispersion factor is less than a preset minimum positive number, it is replaced with the preset minimum positive number. The composite correction core distance is obtained by dividing the product of the nearest neighbor distance, the normalized principal axis extension, and the normalized discrete span distance by the normalized directional dispersion factor after lower limit constraint. This calculation process introduces local principal axis stretching and projected span information based on the nearest neighbor distance, and mainly relies on the subsequent reverse threshold adjustment stage to reflect the abnormal sensitivity when the directional dispersion is high, avoiding repeated amplification of the directional dispersion effect in the core distance stage.

[0033] The initial coupling distance from the monitored sample to each nearest neighbor sample within the adaptive neighborhood order is compared with the composite correction core distance of the monitored sample itself. The larger of the two values ​​is selected as the reachable distance from the monitored sample to that nearest neighbor sample. The reachable distances from the monitored sample to all nearest neighbors within the adaptive neighborhood order are summed, and the sum is divided by the adaptive neighborhood order to calculate the average reachable distance.

[0034] As one possible implementation, the discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the principal axis, and the composite correction core distance is calculated using the normalized directional dispersion factor after lower bound constraint, the normalized principal axis expansion, the normalized discrete span distance, and the nearest neighbor distance, including: The nearest neighbor samples of the target sample are orthogonally projected along the principal axis to obtain the projected coordinates of each nearest neighbor sample on the principal axis. The difference between the maximum and minimum values ​​of all projected coordinates is calculated to obtain the discrete span distance. The directional dispersion factor, principal axis expansion, and discrete span distance are normalized respectively. When the normalized directional dispersion factor is less than a preset minimum positive number, it is replaced with the preset minimum positive number. The composite correction core distance is obtained by dividing the product of the nearest neighbor distance, the normalized principal axis expansion, and the normalized discrete span distance by the normalized directional dispersion factor after the lower limit constraint.

[0035] Using target samples To its nearest neighbor samples vector eigenvectors along the principal axis direction Perform inner product operation Calculate the set of orthogonal projection coordinates of each nearest neighbor sample on the principal axis. Extract the maximum projected coordinates from this set. For example, 0.35, and minimum projected coordinates. For example, if it is -0.15, the absolute difference between the two is calculated. Obtain the discrete span distance. For example... Figure 2 As shown, the orthogonal projection distribution of nearest neighbor samples along the principal axis is presented, and the maximum and minimum boundary extreme values ​​of the projection coordinates are marked. The distribution span of sample points along the horizontal axis corresponds to the calculation result of the discrete span distance, and the vertical axis is the virtual coordinate of the secondary view dimension.

[0036] Based on this, the discrete span distance is calculated using preset historical extreme value parameters. The maximum and minimum values ​​are normalized to obtain the result. ,For example And obtain the previously normalized directional dispersion factor. and spindle extension Utilizing the nearest neighbor distance extracted from the preceding sequence. Through the composite correction formula Calculations were performed, and the numerical values ​​were substituted to obtain the composite correction core distance. This approach achieves distance correction by incorporating the local geometric distribution characteristics of the data in the feature space, thereby reducing the distance bias caused by a single dimension.

[0037] As one possible implementation, taking the maximum value between the initial coupling distance and the composite correction core distance as the reachable distance and calculating the average reachable distance includes: The initial coupling distance between the target sample and any nearest neighbor sample is compared with the composite correction core distance of the target sample. The maximum value of the two is selected as the reachable distance of the nearest neighbor sample relative to the target sample. The average reachable distance is obtained by averaging the reachable distances of the target sample to the nearest neighbor samples.

[0038] For target samples and its k-th nearest neighbor sample Extract the calculated initial coupling distance D(0,k) between the two, which is, for example, 0.180, and the composite corrected core distance of the target sample. For example, the value is 0.119. The maximum value function `max()` is used to compare the size of the two values, i.e., the calculation formula is executed. Since 0.180 > 0.119, 0.180 is selected as the nearest neighbor sample. Relative to target sample The reachable distance.

[0039] For all samples in the initial nearest neighbor set One, exemplarily The same comparison and assignment operation is performed on each of the 10 nearest neighbor samples to obtain a set containing 10 reachable distance values. All reachable distances in this set are then summed and divided by the total number of nearest neighbor samples. The mean distance is calculated. If the sum of the 10 reachable distances within the set is 1.80, then the average reachable distance is obtained. This process smooths out the random fluctuation errors in local density calculation.

[0040] S4. A threshold adjustment coefficient is obtained based on the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples. The threshold adjustment coefficient is used to adjust the preset basic distance threshold to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault warning command is sent.

[0041] The directional dispersion factor of the target sample to be monitored is extracted, and the directional dispersion factor corresponding to each nearest neighbor sample within the adaptive neighborhood order range is obtained. The directional dispersion factor corresponding to the nearest neighbor sample is calculated in the same way as the directional dispersion factor of the target sample, with each nearest neighbor sample as the center sample and based on its corresponding nearest neighbor set, or it can be directly retrieved from the directional dispersion factor field pre-calculated and stored in the historical database. All of them are added together and divided by the adaptive neighborhood order to obtain the mean directional dispersion factor of the nearest neighbor samples. The directional dispersion factor of the target sample to be monitored is divided by the mean directional dispersion factor. When the mean directional dispersion factor is less than a preset minimum positive number, the preset minimum positive number is used as the denominator in the calculation to obtain the local spatial deviation rate.

[0042] To prevent an increase in the anomaly detection threshold from rising as the dispersion of anomalies increases, the local spatial deviation rate is converted into a reverse threshold adjustment coefficient. Specifically, let the local spatial deviation rate be ρ, and let the preset sensitivity coefficient be κ, where κ is a constant greater than 0; when ρ is greater than 1, according to... Calculate the threshold adjustment coefficient η, which decreases as the local spatial deviation rate increases; when ρ is not greater than 1, the threshold adjustment coefficient η is set to 1. Multiply the threshold adjustment coefficient by a preset base distance threshold to obtain the adaptive critical threshold specific to the current target sample. The preset base distance threshold is set based on the statistical results of the average reachable distance of historical normal samples; therefore, the adaptive critical threshold and the average reachable distance are on the same distance evaluation scale.

[0043] The calculated average reachable distance is compared with the adaptive critical threshold. If the average reachable distance is greater than the adaptive critical threshold, anomaly handling is triggered. The equipment operation status field of the monitored energy metering box is changed from normal to abnormal fault status.

[0044] The built-in narrowband IoT communication module or 4G network module is controlled via a transmission interface to encapsulate a fault warning command containing the unique identifier of the power metering box, a fault occurrence timestamp, and the specific average reachable distance, according to a pre-defined data frame format. The encapsulated fault warning command is then sent to the cloud-based remote monitoring center server for system-level alarm via a wireless radio frequency antenna, while simultaneously pushing alarm information to the mobile terminals of maintenance personnel in the corresponding area.

[0045] As one possible implementation, the step of marking abnormal faults and sending fault warning commands when the average reachable distance is greater than an adaptive critical threshold includes: Determine whether the average reachable distance is greater than the adaptive critical threshold, wherein the adaptive critical threshold is obtained by adjusting the preset base distance threshold through the threshold adjustment coefficient. If it is greater, it is determined that there is a local abnormal change in the monitored power metering box and it is marked as an abnormal fault state. A fault warning command containing the abnormal occurrence time, fault sample characteristics and the abnormal average reachable distance value is generated and sent to the remote monitoring terminal to trigger an alarm response.

[0046] The average reachable distance of the target samples calculated in real time, for example, 0.180, is compared with a pre-determined adaptive critical threshold. Perform Boolean logic checks. For example, set a preset base distance threshold based on the statistical results of the average reachable distance of historical normal samples. =0.180, when the dispersion factor of the target sample orientation is higher than the mean dispersion factor of the nearest neighbor samples, according to The reverse threshold adjustment coefficient was calculated. =0.806, and based on this, the adaptive critical threshold is obtained. Since 0.180 > 0.145, the result is considered true. It is determined that a local abnormal change occurred in the monitored energy metering box within this sampling period, and a flag bit `status=ERROR_FAULT` is added to this sample record to mark it as an abnormal fault state. Figure 3 As shown, the continuous trend of the real-time average reachable distance over the entire sampling period is displayed, and the abnormal points where out-of-limit mutations occur are marked.

[0047] Retrieve the current RTC clock time of the system, for example, 2023-10-15 14:32:05, integrate the recorded abnormal voltage and temperature fault sample characteristic data, such as V=255V, T=85℃, and the average reachable distance value of the abnormality that triggered the alarm this time, 0.180, and package it into a standard JSON format fault warning instruction data packet.

[0048] Using the TCP / IP protocol via a 4G / 5G communication network, the data packet is sent to the designated remote monitoring terminal server IP address and port number. Upon receiving the packet, the background monitoring system immediately triggers an alarm response by flashing a pop-up window and sounding an alarm, notifying maintenance personnel to investigate and handle the issue.

[0049] This invention also proposes a remote monitoring system for abnormal fault information of electricity metering boxes, comprising the following modules: The module is used to acquire electrical operation data and environmental status data of the power metering box to be monitored, perform normalization processing to construct a multi-dimensional state feature vector, and construct a feature weight matrix based on the nonnegative cross-correlation coefficient and time series variance ratio to calculate the preliminary coupling distance. The extraction module is used to calculate the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance, and to obtain the adaptive neighborhood order and extract the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower limit constraint. The calculation module is used to orthogonally project the nearest neighbor samples along the main axis to obtain the discrete span distance. It uses the normalized directional dispersion factor after lower limit constraint, the normalized main axis expansion, the normalized discrete span distance and the nearest neighbor distance to calculate the composite correction core distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated. The early warning module is used to obtain a threshold adjustment coefficient based on the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples, and to adjust the preset basic distance threshold using the threshold adjustment coefficient to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault early warning command is sent.

[0050] As one possible implementation, the step of acquiring the electrical operation data and environmental status data of the power metering box to be monitored, and then normalizing the data to construct a multi-dimensional state feature vector includes: The electrical operation dataset is constructed by acquiring the node voltage sequence and real-time working load current sequence at the input terminal of the power metering box to be monitored according to the preset sampling period. The temperature and humidity data collected by the temperature and humidity detection components installed in the space under inspection are used to construct the environmental status dataset. Data items with the same time series reference are extracted from the electrical operation dataset and the environmental status dataset, normalized, and then combined and spliced ​​to construct a single multidimensional state feature vector as the multidimensional state feature vector of the target sample.

[0051] As one possible implementation, the step of constructing a feature weight matrix based on the nonnegated cross-correlation coefficient and the time series variance ratio to calculate the preliminary coupling distance includes: Calculate the cross-correlation coefficient between the voltage and current sequences within the sliding time window of the electrical operation dataset, as well as the time series variance ratio of each feature dimension. Take the absolute value of the cross-correlation coefficient to obtain the electrical coupling strength coefficient. The non-negative weight value of the feature dimension corresponding to the electrical operation data is generated by weighted summation using the electrical coupling strength coefficient and the time series variance ratio of the feature dimension corresponding to the electrical operation data, and the time series variance ratio of the feature dimension corresponding to the environmental state data is used as the non-negative weight value of the corresponding feature dimension. A feature weight matrix is ​​constructed using the non-negative weight values ​​of each feature dimension. The feature differences between the target sample and other samples in each feature dimension are calculated. Based on the feature weight matrix, a weighted Euclidean distance is calculated on the feature differences to obtain the preliminary coupling distance between the samples.

[0052] As one possible implementation, the step of calculating the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance includes: Based on the preliminary coupling distance, select multiple samples closest to the target sample to form an initial nearest neighbor sample set. Calculate the angle between the vectors connecting the target sample and each nearest neighbor sample in the initial nearest neighbor sample set. Calculate the standard deviation of all angles as the directional dispersion factor. Construct the covariance matrix of the initial nearest neighbor sample set and perform eigenvalue decomposition on the covariance matrix to extract the maximum eigenvalue and the corresponding eigenvector. Use the maximum eigenvalue as the principal axis expansion of the covariance matrix and the eigenvector corresponding to the maximum eigenvalue as the principal axis direction.

[0053] As one possible implementation, the step of obtaining the adaptive neighborhood order and extracting the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint includes: The directional dispersion factor and the principal axis expansion are normalized respectively. The ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint is calculated to obtain the spatial heterogeneity coefficient. The spatial heterogeneity coefficient is used to scale down and round down the preset basic neighborhood order to obtain the adaptive neighborhood order. The adaptive neighborhood order is limited to a positive integer not greater than the number of the initial nearest neighbor sample set. The initial coupling distance of the nearest neighbor samples corresponding to the adaptive neighborhood order is extracted from the initial nearest neighbor sample set in ascending order according to the initial coupling distance as the nearest neighbor distance.

[0054] As one possible implementation, the discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the principal axis, and the composite correction core distance is calculated using the normalized directional dispersion factor after lower bound constraint, the normalized principal axis expansion, the normalized discrete span distance, and the nearest neighbor distance, including: The nearest neighbor samples of the target sample are orthogonally projected along the principal axis to obtain the projected coordinates of each nearest neighbor sample on the principal axis. The difference between the maximum and minimum values ​​of all projected coordinates is calculated to obtain the discrete span distance. The directional dispersion factor, principal axis expansion, and discrete span distance are normalized respectively. When the normalized directional dispersion factor is less than a preset minimum positive number, it is replaced with the preset minimum positive number. The composite correction core distance is obtained by dividing the product of the nearest neighbor distance, the normalized principal axis expansion, and the normalized discrete span distance by the normalized directional dispersion factor after the lower limit constraint.

[0055] As one possible implementation, taking the maximum value between the initial coupling distance and the composite correction core distance as the reachable distance and calculating the average reachable distance includes: The initial coupling distance between the target sample and any nearest neighbor sample is compared with the composite correction core distance of the target sample. The maximum value of the two is selected as the reachable distance of the nearest neighbor sample relative to the target sample. The average reachable distance is obtained by averaging the reachable distances of the target sample to the nearest neighbor samples.

[0056] As one possible implementation, the step of marking abnormal faults and sending fault warning commands when the average reachable distance is greater than an adaptive critical threshold includes: Determine whether the average reachable distance is greater than the adaptive critical threshold, wherein the adaptive critical threshold is obtained by adjusting the preset base distance threshold through the threshold adjustment coefficient. If it is greater, it is determined that there is a local abnormal change in the monitored power metering box and it is marked as an abnormal fault state. A fault warning command containing the abnormal occurrence time, fault sample characteristics and the abnormal average reachable distance value is generated and sent to the remote monitoring terminal to trigger an alarm response.

[0057] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for remote monitoring of abnormal fault information in an electricity metering box, characterized in that, Includes the following steps: The electrical operation data and environmental status data of the power metering box to be monitored are obtained and normalized to construct a multi-dimensional state feature vector. The feature weight matrix is ​​constructed based on the nonnegative cross-correlation coefficient and the time series variance ratio to calculate the preliminary coupling distance. The directional dispersion factor and the principal axis expansion of the covariance matrix are calculated based on the initial nearest neighbor sample set under the preliminary coupling distance. The adaptive neighborhood order is obtained and the nearest neighbor distance is extracted by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower bound constraint. The discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the main axis. The composite correction core distance is calculated using the normalized directional dispersion factor after lower limit constraint, the normalized main axis expansion, the normalized discrete span distance and the nearest neighbor distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated. The threshold adjustment coefficient is obtained by comparing the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples. The threshold adjustment coefficient is then used to adjust the preset basic distance threshold to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault warning command is sent.

2. The method according to claim 1, characterized in that, The process of acquiring electrical operation data and environmental status data of the power metering box to be monitored, and then normalizing them to construct a multi-dimensional state feature vector includes: The electrical operation dataset is constructed by acquiring the node voltage sequence and real-time working load current sequence at the input terminal of the power metering box to be monitored according to the preset sampling period. The temperature and humidity data collected by the temperature and humidity detection components installed in the space under inspection are used to construct the environmental status dataset. Data items with the same time series reference are extracted from the electrical operation dataset and the environmental status dataset, normalized, and then combined and spliced ​​to construct a single multidimensional state feature vector as the multidimensional state feature vector of the target sample.

3. The method according to claim 1, characterized in that, The calculation of the preliminary coupling distance, based on the nonnegative cross-correlation coefficient and the time series variance ratio, constructs a feature weight matrix, including: Calculate the cross-correlation coefficient between the voltage and current sequences within the sliding time window of the electrical operation dataset, as well as the time series variance ratio of each feature dimension. Take the absolute value of the cross-correlation coefficient to obtain the electrical coupling strength coefficient. The non-negative weight value of the feature dimension corresponding to the electrical operation data is generated by weighted summation using the electrical coupling strength coefficient and the time series variance ratio of the feature dimension corresponding to the electrical operation data, and the time series variance ratio of the feature dimension corresponding to the environmental state data is used as the non-negative weight value of the corresponding feature dimension. A feature weight matrix is ​​constructed using the non-negative weight values ​​of each feature dimension. The feature differences between the target sample and other samples in each feature dimension are calculated. Based on the feature weight matrix, a weighted Euclidean distance is calculated on the feature differences to obtain the preliminary coupling distance between the samples.

4. The method according to claim 1 or 3, characterized in that, The calculation of the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance includes: Based on the preliminary coupling distance, select multiple samples closest to the target sample to form an initial nearest neighbor sample set. Calculate the angle between the vectors connecting the target sample and each nearest neighbor sample in the initial nearest neighbor sample set. Calculate the standard deviation of all angles as the directional dispersion factor. Construct the covariance matrix of the initial nearest neighbor sample set and perform eigenvalue decomposition on the covariance matrix to extract the maximum eigenvalue and the corresponding eigenvector. Use the maximum eigenvalue as the principal axis expansion of the covariance matrix and the eigenvector corresponding to the maximum eigenvalue as the principal axis direction.

5. The method according to claim 1, characterized in that, The process of obtaining the adaptive neighborhood order and extracting the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint includes: The directional dispersion factor and the principal axis expansion are normalized respectively. The ratio of the normalized principal axis expansion to the normalized directional dispersion factor after lower bound constraint is calculated to obtain the spatial heterogeneity coefficient. The spatial heterogeneity coefficient is used to scale down and round down the preset basic neighborhood order to obtain the adaptive neighborhood order. The adaptive neighborhood order is limited to a positive integer not greater than the number of the initial nearest neighbor sample set. The initial coupling distance of the nearest neighbor samples corresponding to the adaptive neighborhood order is extracted from the initial nearest neighbor sample set in ascending order according to the initial coupling distance as the nearest neighbor distance.

6. The method according to claim 1, characterized in that, The discrete span distance is obtained by orthogonally projecting the nearest neighbor samples along the principal axis. The composite correction core distance is then calculated using the normalized directional dispersion factor (with lower bound constraint), the normalized principal axis expansion, the normalized discrete span distance, and the nearest neighbor distance. This includes: The nearest neighbor samples of the target sample are orthogonally projected along the principal axis to obtain the projected coordinates of each nearest neighbor sample on the principal axis. The difference between the maximum and minimum values ​​of all projected coordinates is calculated to obtain the discrete span distance. The directional dispersion factor, principal axis expansion, and discrete span distance are normalized respectively. When the normalized directional dispersion factor is less than a preset minimum positive number, it is replaced with the preset minimum positive number. The composite correction core distance is obtained by dividing the product of the nearest neighbor distance, the normalized principal axis expansion, and the normalized discrete span distance by the normalized directional dispersion factor after the lower limit constraint.

7. The method according to claim 1, characterized in that, The step of taking the maximum value between the initial coupling distance and the composite correction core distance as the reachable distance and calculating the average reachable distance includes: The initial coupling distance between the target sample and any nearest neighbor sample is compared with the composite correction core distance of the target sample. The maximum value of the two is selected as the reachable distance of the nearest neighbor sample relative to the target sample. The average reachable distance is obtained by averaging the reachable distances of the target sample to the nearest neighbor samples.

8. The method according to claim 1 or 7, characterized in that, The step of marking abnormal faults and sending fault warning instructions when the average reachable distance is greater than the adaptive critical threshold includes: Determine whether the average reachable distance is greater than the adaptive critical threshold, wherein the adaptive critical threshold is obtained by adjusting the preset base distance threshold through the threshold adjustment coefficient. If it is greater, it is determined that there is a local abnormal change in the monitored power metering box and it is marked as an abnormal fault state. A fault warning command containing the abnormal occurrence time, fault sample characteristics and the abnormal average reachable distance value is generated and sent to the remote monitoring terminal to trigger an alarm response.

9. A remote monitoring system for abnormal fault information of an electricity metering box, characterized in that, Includes the following modules: The module is used to acquire electrical operation data and environmental status data of the power metering box to be monitored, perform normalization processing to construct a multi-dimensional state feature vector, and construct a feature weight matrix based on the nonnegative cross-correlation coefficient and time series variance ratio to calculate the preliminary coupling distance. The extraction module is used to calculate the directional dispersion factor and the principal axis expansion of the covariance matrix based on the initial nearest neighbor sample set under the preliminary coupling distance, and to obtain the adaptive neighborhood order and extract the nearest neighbor distance by using the ratio of the normalized principal axis expansion to the normalized directional dispersion factor after the lower limit constraint. The calculation module is used to orthogonally project the nearest neighbor samples along the main axis to obtain the discrete span distance. It uses the normalized directional dispersion factor after lower limit constraint, the normalized main axis expansion, the normalized discrete span distance and the nearest neighbor distance to calculate the composite correction core distance. The maximum value between the initial coupling distance and the composite correction core distance is taken as the reachable distance and the average reachable distance is calculated. The early warning module is used to obtain a threshold adjustment coefficient based on the ratio of the directional dispersion factor of the target sample to the mean directional dispersion factor of the nearest neighbor samples, and to adjust the preset basic distance threshold using the threshold adjustment coefficient to obtain an adaptive critical threshold. When the average reachable distance is greater than the adaptive critical threshold, an abnormal fault is marked and a fault early warning command is sent.

10. The system according to claim 9, characterized in that, The process of acquiring electrical operation data and environmental status data of the power metering box to be monitored, and then normalizing them to construct a multi-dimensional state feature vector includes: The electrical operation dataset is constructed by acquiring the node voltage sequence and real-time working load current sequence at the input terminal of the power metering box to be monitored according to the preset sampling period. The temperature and humidity data collected by the temperature and humidity detection components installed in the space under inspection are used to construct the environmental status dataset. Data items with the same time series reference are extracted from the electrical operation dataset and the environmental status dataset, normalized, and then combined and spliced ​​to construct a single multidimensional state feature vector as the multidimensional state feature vector of the target sample.