An automatic detection system for building electrical safety

By monitoring the current and temperature data of electrical equipment in real time in the building electrical safety automatic detection system, analyzing the waveform characteristics and equipment health status, it solves the problem of untimely response of the traditional system, achieves more accurate fault warning and maintenance, and improves electrical efficiency. Efficiency and foresight in safety management.

CN118409155BActive Publication Date: 2024-09-20XIAN LIANGLI POWER EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410883401.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-09-20
Estimated Expiration
2044-07-03

AI Technical Summary

Technical Problem

Traditional building electrical safety automatic detection systems lack real-time data analysis and forward-looking management, resulting in untimely response to potential faults and increasing the risk of safety accidents.

Method used

A building electrical safety automatic detection system is designed. Through the waveform real-time monitoring module, temperature anomaly detection module, health status analysis module and risk warning assessment module, the current, voltage and temperature data of electrical equipment are monitored in real time, abnormal points are eliminated, and the waveform is analyzed. characteristics, assess equipment health status, and trigger maintenance and fault warnings based on risk levels.

Benefits of technology

It achieves real-time abnormal identification and risk assessment of electrical equipment, improves maintenance efficiency and early warning response speed, enhances the systematicness and foresight of electrical safety management, and reduces the risk of accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118409155B
    Figure CN118409155B
Patent Text Reader

Abstract

The present invention relates to the field of safety detection technology, specifically to an automatic detection system for building electrical safety, the system including a waveform real-time monitoring module, a temperature anomaly detection module, a health status analysis module and a risk warning assessment module. The present invention can accurately identify the waveform characteristics of electrical equipment through real-time monitoring and analysis of current and voltage data, and can timely identify and respond to potential electrical anomalies and risks in combination with historical data analysis. The real-time monitoring and filtering of temperature can quickly identify temperature anomalies by comparing with preset safety thresholds, and the health status of equipment can be evaluated using a data-driven method, and the risk level can be dynamically adjusted through health status scoring, which makes maintenance and fault warning more accurate, effectively improves maintenance efficiency and warning response speed, enhances the systematicness and foresight of electrical safety management, helps prevent serious accidents, and ensures the safety of people and property in buildings.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of safety detection, and in particular to an automatic detection system for building electrical safety. Background Art

[0002] The field of safety detection technology aims to identify and prevent potential safety hazards and ensure the safe operation of equipment and the environment. This field includes electrical safety detection, environmental monitoring, structural integrity assessment, and chemical leak detection. In the sub-field of electrical safety detection, the focus is on monitoring and analyzing the working status of electrical equipment through automated systems in order to detect faults and anomalies in a timely manner and prevent electrical fires or equipment damage. Technologies typically include sensor deployment, data acquisition, real-time analysis, and fault diagnosis. By integrating sensor technology and intelligent algorithms, continuous monitoring and rapid response can be achieved, greatly improving the efficiency and accuracy of safety detection.

[0003] Among them, the building electrical safety automatic detection system is a technology used to monitor the safety of electrical systems in buildings. The main purpose of the system is to detect and diagnose various potential problems in the electrical system in real time, such as overload, short circuit, ground fault, etc., to prevent accidents caused by electrical problems, such as fire or equipment damage. By deploying a variety of sensors, data such as current, voltage and temperature of electrical lines are collected, and data analysis algorithms are used to evaluate the safety status of electrical systems. Through automated monitoring, the system can provide rapid alarms and fault location, improve the efficiency and effectiveness of building electrical safety management, and ensure the safety of personnel and property.

[0004] Traditional automatic detection systems mainly focus on fault diagnosis and response processing, lacking analysis and forward-looking management of real-time data. Traditional systems do not respond to potential faults in a timely manner, increasing the risk of safety accidents. Traditional systems rely on regular inspections or post-fault analysis rather than continuous, real-time health monitoring for dynamic assessment of equipment health status. This model is not only inefficient, but also difficult to detect problems in a timely manner, resulting in unnecessary economic losses and safety hazards. For example, in electrical systems, failure to identify problems such as overloads or short circuits in a timely manner can lead to fires or serious equipment damage, posing a serious threat to building safety. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings in the prior art and to propose an automatic detection system for building electrical safety.

[0006] In order to achieve the above object, the present invention adopts the following technical solution: a building electrical safety automatic detection system, the system comprising:

[0007] The waveform real-time monitoring module is based on the current and voltage sensors of the building's distribution boxes and electrical equipment to monitor and obtain the current and voltage data of the electrical equipment, and perform data screening to remove abnormal points in the data, analyze the stability and fluctuation pattern of the current and voltage waveforms, compare the current waveform characteristics with the historical waveform data, identify the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results;

[0008] The temperature anomaly detection module monitors the operating temperature of electrical equipment based on the temperature sensors of equipment and transformers, filters and corrects the collected temperature data, compares the processed temperature data with the preset safety threshold, identifies and marks temperature anomaly points, and generates temperature anomaly information;

[0009] The health status analysis module extracts key characteristic values ​​based on the current and voltage waveform analysis results and temperature anomaly information, serializes and standardizes the characteristic values, constructs a characteristic data set, calculates the health index of the equipment through statistical methods, and generates a health status score;

[0010] The risk warning assessment module sets and adjusts the risk level of the electrical equipment based on the health status score, and automatically triggers corresponding maintenance and fault warnings according to the risk level, generating risk warning information.

[0011] The present invention is improved in that the method for removing abnormal points in the data is:

[0012] Monitor and obtain the current and voltage data sets of electrical equipment through current and voltage sensors , data set Each data point in includes a timestamp and a corresponding current and voltage value;

[0013] Calculation data set The standard deviation of each data point in , and calculate the average standard deviation of the overall data , set the rejection threshold , apply the culling function:

[0014] ;

[0015] Processing Data Group , the standard deviation of each point and the rejection threshold Compare, by iterating each data point, retain Points with deviation greater than The outliers are obtained by cleaning the data set ;

[0016] in, is the elimination function, It is The standard deviation of the data points, It is a dataset The average standard deviation, is the preset coefficient, is the average value of the data set The adjustment factor, is the adjustment factor for the maximum standard deviation of the data set, is the maximum standard deviation, is the average value of the data set.

[0017] The present invention is improved in that the steps of obtaining the current and voltage waveform analysis results are:

[0018] According to the cleaned data set , extract the time series data of current and voltage, apply Fourier transform, perform frequency domain analysis on the time series of current and voltage, identify the frequency distribution characteristics, and identify the key harmonic components and noise frequencies;

[0019] Compare the current frequency distribution characteristics with the waveform characteristics in the historical data set, using the cosine similarity formula:

[0020] ;

[0021] Calculate the similarity between the two, and compare them with the preset similarity threshold to determine the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results;

[0022] in, is the similarity score, The current waveform is The amplitude of the frequency point, For the historical waveform The amplitude of the frequency point, is the total number of frequency points, is the adjustment factor, is the attenuation parameter, is the difference in critical frequency, is the base of natural logarithms.

[0023] The present invention is improved in that the method for filtering and correcting the collected temperature data is:

[0024] Based on the temperature sensors of equipment and transformers, collect temperature data and store the data in the data buffer;

[0025] According to the temperature data in the buffer, through the formula:

[0026] ;

[0027] Filtering the temperature data to obtain a filtered temperature value;

[0028] in, is the filtered temperature value, is the original data, Indicates the index position of the current data point. Relative to the current data point The offset of is the weight factor of data position change, is the data point range, is the smoothing parameter, is the historical standard deviation of temperature data;

[0029] According to the filtered temperature value, by the formula:

[0030] ;

[0031] Perform correction processing on each data point to obtain a corrected temperature data set;

[0032] in, is the corrected temperature value, and are the correction coefficient and bias term respectively, To adjust the parameters, is the moving average of the temperature data.

[0033] The present invention is improved in that the step of obtaining the temperature anomaly information is as follows:

[0034] According to the corrected temperature data set, each temperature value is compared with a preset safety threshold. To make comparisons, apply logical expressions:

[0035] ;

[0036] Identify whether each temperature value exceeds the safety threshold;

[0037] in, For the The corrected temperature value of the data point, is the preset safety threshold, is the standard deviation adjustment factor, is the mean adjustment factor, is an indicator function indicating whether it is abnormal. and represent the standard deviation and mean of the corrected temperature data set, respectively;

[0038] Will The data points are marked as abnormal, and the associated information, including timestamp, temperature value and corresponding sensor data, is collected to obtain the temperature anomaly information.

[0039] The present invention is improved in that the method for constructing the feature data set is:

[0040] Based on the current and voltage waveform analysis and temperature anomaly information, key characteristic values ​​are extracted, including the peak value, mean value, standard deviation of the waveform characteristics, and the highest point and abnormal number of temperatures;

[0041] According to the key characteristic value, through the formula:

[0042] ;

[0043] Serialize the extracted feature values ​​to obtain serialized values;

[0044] in, It is eigenvalues, is the serialized value, is the proportional adjustment parameter, is the offset parameter, is the exponential decay parameter, represents the base of natural logarithms;

[0045] According to the serialized value, the formula:

[0046] ;

[0047] Standardize the data, adjust the scale of the data, and integrate the processed feature values ​​to obtain a feature data set;

[0048] in, is the standardized eigenvalue, is the minimum eigenvalue, is the maximum eigenvalue.

[0049] The present invention is improved in that the steps of obtaining the health status score are:

[0050] According to the feature data set, for each feature value Set the corresponding weight , and the eigenvalues Perform weighted summation, using the formula:

[0051] ;

[0052] Calculate the health index of each device ;

[0053] in, For the eigenvalues, For the The weight of the feature value, is the dynamic adjustment coefficient, is the total number of eigenvalues, is the health index of the device;

[0054] According to the health index , to convert the health status score, refer to the formula:

[0055] ;

[0056] in, Score your health status. are the coefficients in the nonlinear transfer function, is the constant term in the nonlinear transfer function, Tuning parameters for scoring, is the high value adjustment factor, is the base of natural logarithms.

[0057] The present invention is improved in that the method for setting and adjusting the risk level of electrical equipment is:

[0058] According to the health status score, by the formula:

[0059] ;

[0060] Calculate risk index ;

[0061] in, Score the health status of the device. is the risk index, , and is the adjustment factor, is the enhancement coefficient;

[0062] According to the risk index , through the formula:

[0063] ;

[0064] Risk Index Make dynamic adjustments to obtain risk levels ;

[0065] in, For the set risk level, and is the adjustment factor, is the influence coefficient of equipment operating conditions.

[0066] Compared with the prior art, the advantages and positive effects of the present invention are:

[0067] In the present invention, through real-time monitoring and analysis of current and voltage data, the waveform characteristics of electrical equipment can be accurately identified. Combined with historical data analysis, potential electrical anomalies and risks can be identified and responded to in a timely manner. Real-time monitoring and filtering of temperature, compared with preset safety thresholds, can quickly identify temperature anomalies. The health status of equipment is evaluated using a data-driven method, and the risk level is dynamically adjusted through health status scoring. This makes maintenance and fault warnings more accurate, effectively improves maintenance efficiency and warning response speed, enhances the systematicness and foresight of electrical safety management, helps prevent serious accidents, and ensures the safety of people and property in buildings. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 is a system flow chart of the present invention;

[0069] Figure 2 A flowchart of the present invention for removing abnormal points in data;

[0070] Figure 3 A flow chart for obtaining current and voltage waveform analysis results of the present invention;

[0071] Figure 4 A flow chart of filtering and correcting the collected temperature data according to the present invention;

[0072] Figure 5 A flow chart of obtaining temperature anomaly information according to the present invention;

[0073] Figure 6 A flow chart for constructing a feature data set for the present invention;

[0074] Figure 7 A flow chart for obtaining a health status score for the present invention;

[0075] Figure 8 The present invention is a flow chart for setting and adjusting the risk level of electrical equipment. DETAILED DESCRIPTION

[0076] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0077] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0078] Example: See Figure 1 The present invention provides a technical solution: a building electrical safety automatic detection system, the system comprising:

[0079] The waveform real-time monitoring module is based on the current and voltage sensors of the building's distribution boxes and electrical equipment to monitor and obtain the current and voltage data of the electrical equipment, and perform data screening to remove abnormal points in the data, analyze the stability and fluctuation pattern of the current and voltage waveforms, compare the current waveform characteristics with the historical waveform data, identify the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results;

[0080] The temperature anomaly detection module monitors the operating temperature of electrical equipment based on the temperature sensors of equipment and transformers, filters and corrects the collected temperature data, compares the processed temperature data with the preset safety threshold, identifies and marks temperature anomaly points, and generates temperature anomaly information;

[0081] The health status analysis module extracts key feature values ​​based on the current and voltage waveform analysis results and temperature anomaly information, serializes and standardizes the feature values, constructs feature data sets, calculates the health index of the equipment through statistical methods, and generates a health status score;

[0082] The risk warning assessment module sets and adjusts the risk level of electrical equipment based on the health status score, and automatically triggers corresponding maintenance and fault warnings according to the risk level, generating risk warning information;

[0083] The analysis results of current and voltage waveforms include stability indicators, abnormality indicators and matching indicators. The temperature abnormality information includes the number of abnormal points, the number of exceeding the standard and the volatility indicator. The health status score includes the health index, adaptability level and stability rating. The risk warning information includes the risk level classification and warning condition information.

[0084] See also Figure 2 , the method to remove outliers in the data is:

[0085] Monitor and obtain the current and voltage data sets of electrical equipment through current and voltage sensors , data set Each data point in includes a timestamp and a corresponding current and voltage value;

[0086] Calculation data set The standard deviation of each data point in , and calculate the average standard deviation of the overall data , set the rejection threshold , apply the culling function:

[0087] ;

[0088] Processing Data Group , the standard deviation of each point and the rejection threshold Compare, by iterating each data point, retain Points with deviation greater than The outliers are obtained by cleaning the data set ;

[0089] in, is the elimination function, It is The standard deviation of the data points, It is a dataset The average standard deviation, is the preset coefficient, is the average value of the data set The adjustment factor takes into account the offset of the overall data. is the adjustment factor for the maximum standard deviation of the data set, is the maximum standard deviation, is the average value of the data set.

[0090] formula: ;

[0091] The meaning and acquisition method of parameters:

[0092] : The standard deviation of each data point is used to measure the volatility of a single data point within the time window to which it belongs. It is obtained by calculating the standard deviation of the voltage or current value in the window where the data point is located.

[0093] : The average value of the standard deviation of all data points represents the average volatility of the overall data and is obtained by taking the arithmetic mean of the standard deviation values ​​of all windows.

[0094] : A preset coefficient used to adjust the strictness of the rejection threshold. It is a fixed value set based on experiments or previous experience.

[0095] : The average value of a data set, usually refers to the average value of all voltage or current data, which is used to reflect the central trend of the data.

[0096] : Mean adjustment factor, used to adjust the rejection threshold according to the mean value of the data set to take into account the deviation of the overall data.

[0097] : Extreme value adjustment factor, a factor based on the maximum standard deviation in the data set, used to add sensitivity to extreme fluctuations in the rejection threshold.

[0098] Calculation example:

[0099] Assume the standard deviation of the data points: .

[0100] Calculate the mean standard deviation :

[0101] ;

[0102] Assume that the average value of the overall data The maximum standard deviation is 111.2. is 2.10.

[0103] Setting coefficient , , .

[0104] Calculate the rejection threshold :

[0105] ;

[0106] ;

[0107] Any value with a standard deviation greater than The data points will be marked as abnormal and removed to ensure the accuracy and reliability of the data.

[0108] See also Figure 3 , the steps to obtain the current and voltage waveform analysis results are:

[0109] According to the cleaned data set , extract the time series data of current and voltage, apply Fourier transform, perform frequency domain analysis on the time series of current and voltage, identify the frequency distribution characteristics, and identify the key harmonic components and noise frequencies;

[0110] Compare the current frequency distribution characteristics with the waveform characteristics in the historical data set, using the cosine similarity formula:

[0111] ;

[0112] Calculate the similarity between the two, and compare them with the preset similarity threshold to determine the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results;

[0113] in, is the similarity score, which indicates the similarity between the current waveform and the historical waveform. The current waveform is The amplitude of the frequency point, For the historical waveform The amplitude of the frequency point, is the total number of frequency points, that is, the number of frequency components considered in the analysis, is the adjustment factor used to weight the frequency deviation The impact on similarity calculation, is the attenuation parameter, which determines the frequency deviation The decay rate of the effect on similarity, is the difference in key frequencies, that is, the difference between the main frequency components of the current waveform and the historical waveform. The base of the natural logarithm, used in exponential functions In the function, the frequency difference is calculated The impact on similarity.

[0114] formula: ;

[0115] The meaning and acquisition method of parameters:

[0116] and : is at a given frequency point The amplitude comes from the spectrum data obtained after Fourier transforming the current or voltage time series data. For each sequence, the time series data is first converted into frequency domain data through Fourier transform, and then the amplitude of the specific frequency point is extracted.

[0117] : The total number of frequency points is determined by the spectral resolution of the analysis or the selected frequency range, which depends on the sampling frequency of the original time series data and the parameter settings of the Fourier transform.

[0118] and : Parameters are pre-set and used to adjust the impact of frequency deviation on similarity calculation, based on historical data analysis or expert experience.

[0119] : The difference in main frequency is obtained by comparing the main frequency peaks of the current and historical waveforms, involving the maximum amplitude point in the spectrum of each waveform, and then calculating the frequency difference between the two.

[0120] Calculation example:

[0121] Assume the following parameters and data:

[0122] Current waveform amplitude : [10, 15, 20, 25, 30];

[0123] Historical waveform amplitude : [9, 14, 25, 20, 29];

[0124] Total frequency points : 5;

[0125] Adjustment Factor and attenuation parameters : 0.1 and 0.5;

[0126] Main frequency differences :2Hz;

[0127] Calculation process:

[0128] Compute the vector dot product: ;

[0129] Compute the sum of the squares of the vector magnitudes: ;

[0130] ;

[0131] Calculate cosine similarity:

[0132] ;

[0133] Calculate the adjusted impact of frequency deviation:

[0134] ;

[0135] Similarity score:

[0136] ;

[0137] Through calculation, the similarity score of the two waveforms can be obtained, which reflects the similarity of the two waveforms in the frequency domain and the adjustment effect of the main frequency difference.

[0138] See also Figure 4 , the method for filtering and correcting the collected temperature data is:

[0139] Based on the temperature sensors of equipment and transformers, collect temperature data and store the data in the data buffer;

[0140] According to the temperature data in the buffer, through the formula:

[0141] ;

[0142] Filtering the temperature data to obtain a filtered temperature value;

[0143] in, is the filtered temperature value, is the original data, Indicates the index position of the current data point. Relative to the current data point The offset indicates the position change of the adjacent data points. is the weight factor of data position change, is the data point range, is a smoothing parameter used to adjust the weight of additional parameters, is the historical standard deviation of the temperature data, which is used as an additional smoothing factor in the filtering operation;

[0144] According to the filtered temperature value, through the formula:

[0145] ;

[0146] Perform correction processing on each data point to obtain a corrected temperature data set;

[0147] in, is the corrected temperature value, and They are the correction factor and bias term respectively, ensuring the accuracy of temperature readings. To adjust the parameters, control the weight of the additional correction term, is the moving average of the temperature data, which serves as an additional correction factor to ensure the consistency of the data in the time series.

[0148] formula:

[0149] and ;

[0150] The meaning and acquisition method of parameters:

[0151] parameter : It is the filtered temperature value, which is calculated by taking the weighted sliding average of the current temperature data point and its adjacent points.

[0152] parameter : Raw temperature data, measured directly by the temperature sensor, indicating the position Relative to offset Temperature data.

[0153] parameter : Indicates the position offset The weight coefficient at the point is preset through statistical models or empirical data. The position, the greater the weight.

[0154] parameter : The range of neighboring data points considered in the filtering process, usually set to a fixed value, such as 3 or 5, to ensure smoothing effect and computational efficiency.

[0155] parameter : Smoothing parameter, used to adjust the weight of additional parameters, and optimize the filtering effect together with other parameters, usually calculated or preset based on historical data.

[0156] parameter : The historical standard deviation of the temperature data, used for additional smoothing to ensure that data points with large fluctuations up and down are given less weight.

[0157] parameter : The corrected temperature value is obtained through linear combination operation.

[0158] parameter : Correction coefficient, obtained by analyzing a large amount of historical data, ensures that the corrected readings are accurate.

[0159] parameter : Bias term, corrects the final output temperature value and is preset based on historical data.

[0160] parameter : Adjust the parameters to control the weight of the additional correction term.

[0161] parameter : Moving average, calculates the average of the current and previous temperature readings for additional correction factor.

[0162] Calculation example:

[0163] Assume that the original temperature data series , calculate the fifth data point The filter value and correction value .

[0164] Filter calculation:

[0165] set up , which means considering the two data points before and after.

[0166] Weight coefficient They are 1, 2, 3, 2, 1 respectively.

[0167] Smoothing parameter , historical standard deviation .

[0168] Use the filtering formula:

[0169] ;

[0170] The calculations show that: ;

[0171] Correction calculation:

[0172] Correction factor , bias term , adjust the parameters , moving average .

[0173] Use the correction formula:

[0174] ;

[0175] The calculations show that:

[0176] ;

[0177] Get the corrected temperature value Celsius.

[0178] See also Figure 5 , the steps to obtain temperature anomaly information are:

[0179] According to the corrected temperature data set, each temperature value is compared with the preset safety threshold. To make comparisons, apply logical expressions:

[0180] ;

[0181] Identify whether each temperature value exceeds the safety threshold;

[0182] in, For the The corrected temperature value of the data point, It is a preset safety threshold used to identify whether the temperature is abnormal. is the standard deviation adjustment factor, which is used to adjust the threshold according to the temperature volatility of the data set. is the mean adjustment factor, which is used to adjust the threshold according to the average temperature of the data set. is an indicator function indicating whether it is abnormal, according to Whether it exceeds the adjusted threshold is defined as, and represent the standard deviation and mean of the corrected temperature data set, respectively;

[0183] Will The data points are marked as abnormal, and the associated information, including timestamp, temperature value and corresponding sensor data, is collected to obtain the temperature anomaly information.

[0184] Logical expressions:

[0185] ;

[0186] The meaning and acquisition method of parameters:

[0187] : Corrected temperature data point, obtained by first applying filtering and correction steps to the raw temperature data.

[0188] : A preset safety threshold, a temperature limit determined based on the device's operating standards or past experience. Exceeding this value indicates a safety risk to the device.

[0189] and : It is an adjustment factor, which is used to take the statistical characteristics of temperature data into account in the threshold setting to adapt to the variability of the data.

[0190] and : Represent the standard deviation and mean of the corrected temperature data respectively. The statistics are calculated from the corrected data set and provide information on the volatility and central trend of the data.

[0191] Calculation example:

[0192] Assume the following corrected temperature data point set , the preset safety threshold , adjustment coefficient and .

[0193] Calculation process:

[0194] Calculate the average :

[0195] ;

[0196] Calculate standard deviation :

[0197] Calculate the square of the difference between each data point and the mean , calculate the mean of the values ​​and take the square root to get the standard deviation ;

[0198] Adjust the threshold and determine the anomaly:

[0199] Adjust the threshold according to the given adjustment factor and the calculated statistic:

[0200] For each ,if , it is marked as abnormal.

[0201] See also Figure 6 , the method to construct the feature data set is:

[0202] Based on the current and voltage waveform analysis and temperature anomaly information, key characteristic values ​​are extracted, including the peak value, mean value, standard deviation of the waveform characteristics, and the highest point and abnormal number of temperatures;

[0203] According to the key characteristic value, through the formula:

[0204] ;

[0205] Serialize the extracted feature values ​​to obtain serialized values;

[0206] in, It is eigenvalues, is the serialized value, is the scaling parameter that controls the scale of the serialized values. is the offset parameter, make sure to Keep positive value, is an exponential decay parameter that enhances the response to large changes in the original eigenvalues. represents the base of natural logarithms;

[0207] According to the serialized value, the formula is:

[0208] ;

[0209] Standardize the data, adjust the scale of the data, and integrate the processed feature values ​​to obtain a feature data set;

[0210] in, is the standardized eigenvalue, is the minimum eigenvalue, is the maximum eigenvalue.

[0211] formula:

[0212] ;

[0213] The meaning and acquisition method of parameters:

[0214] : The original eigenvalues ​​come from the analysis of the current and voltage waveforms and temperature anomaly information, including the peak value, mean value, standard deviation, etc. of the waveforms.

[0215] : Proportional adjustment parameter, used to control the scale of serialized values, which can be preset according to the required value range.

[0216] : offset parameter to ensure that before applying the logarithm Keep it as a positive value, usually set to a positive number.

[0217] : Exponential decay parameter used to enhance the original eigenvalue By adjusting this parameter, the rate of exponential growth can be controlled.

[0218] : The base of the natural logarithm, approximately equal to 2.71828, is used to construct exponential functions. In mathematics, it is often used as the basis of natural exponential functions and is expressed as ,in is the index, It is used to weight the eigenvalues The exponential term enhances the original eigenvalue Sensitivity and responsiveness to larger changes.

[0219] Calculation example:

[0220] Suppose the following eigenvalues ​​are extracted from the data :

[0221] , , ,parameter , , .

[0222] Calculation process:

[0223] For each , apply the serialization formula:

[0224] ;

[0225] for :

[0226] ;

[0227] for :

[0228] ;

[0229] for :

[0230] ;

[0231] Output serialized feature values:

[0232] ;

[0233] By combining logarithmic and exponential functions, the dynamic range of eigenvalues ​​is effectively expanded.

[0234] See also Figure 7 , the steps to obtain the health status score are:

[0235] According to the feature data set, for each feature value Set the corresponding weight , and the eigenvalues Perform weighted summation, using the formula:

[0236] ;

[0237] Calculate the health index of each device ;

[0238] in, For the eigenvalues, For the The weight of each feature value determines the importance of the feature in assessing the overall device health status. The coefficient is adjusted dynamically according to the equipment operating environment or historical maintenance data to adjust the influence of each feature weight in the health index calculation and adapt to the equipment status evaluation under different operating conditions. is the total number of feature values, indicating the number of features considered in the health status score, is the health index of the device;

[0239] According to the health index , to convert the health status score, refer to the formula:

[0240] ;

[0241] in, Score your health status, usually ranging from 0 to 100. is the coefficient in the nonlinear transfer function, used to adjust Rating The sensitivity of the impact It is a constant term in the nonlinear conversion function, which is used to adjust the position of the scoring curve and affect the health index. Rating The baseline impact of Adjust the parameters for the score to increase the sensitivity of the health status score so that the score can more flexibly reflect subtle changes in the health status of the device. is the high value adjustment coefficient, and Parameters are used together to adjust the scoring function to strengthen or weaken the influence of The growth rate of the score when the value is high, It is the base of the natural logarithm, approximately equal to 2.71828, and is used to construct an exponential decay form to achieve nonlinear transformation.

[0242] formula:

[0243] and ;

[0244] Parameter acquisition and definition:

[0245] Eigenvalue : Obtained from the previous step.

[0246] Weight :The weight of each feature value is determined based on the historical importance of the feature in predicting the health status of the equipment. The weight can be assigned through expert experience or determined using machine learning methods such as feature selection algorithms.

[0247] Dynamic adjustment coefficient : A coefficient that is dynamically adjusted based on the equipment operating environment or maintenance history. For example, if the equipment is operating in an extreme environment, the weight of certain features needs to be increased. The adjustment coefficient can be obtained through correlation analysis of historical fault data and environmental factors.

[0248] Health Index : The health index is obtained by calculating the sum of weighted eigenvalues.

[0249] Scoring parameters : Parameters are adjusted during the model training phase using optimization algorithms, such as gradient descent, based on historical data to minimize the prediction error.

[0250] Calculation example:

[0251] Assume there are 3 eigenvalues are 0.5, 0.3 and 0.2 respectively, and the corresponding weights 2, 1.5 and 1 respectively, dynamically adjust the coefficient Assume 1.2.

[0252] Calculate health index :

[0253] ;

[0254] ;

[0255] ;

[0256] Now use the health index , into the scoring formula, assuming :

[0257] ;

[0258] ;

[0259] ;

[0260] Through the process, the health status score of the equipment can be calculated , calculated in this example Reflects the health status of the device based on current characteristics.

[0261] See also Figure 8 , the method for setting and adjusting the risk level of electrical equipment is:

[0262] According to the health status score, the formula is:

[0263] ;

[0264] Calculate risk index ;

[0265] in, Score the health status of the device. is the risk index, , and The adjustment coefficient is a parameter adjusted according to the historical failure rate and operating conditions of the equipment. It is an enhancement coefficient, which is used to enhance the impact of health score on risk index, especially more sensitive when the risk score is high;

[0266] According to the risk index , through the formula:

[0267] ;

[0268] Risk Index Make dynamic adjustments to obtain risk levels ;

[0269] in, For the set risk level, and is the adjustment factor, It is the influence coefficient of equipment operating conditions, reflecting the periodic impact of changes in equipment operating conditions on risk assessment.

[0270] formula:

[0271] ;

[0272] ;

[0273] Parameter acquisition and definition:

[0274] : Equipment health status score, calculated by the previously defined formula.

[0275] parameter :Adjustment coefficients. The coefficients are obtained by analyzing the equipment failure rate and maintenance records based on historical data. For example, the values ​​of these parameters can be set by statistically analyzing past failure conditions and equipment operating status.

[0276] parameter : Enhancement factor, which is used to adjust the sensitivity of the health score to the risk index, especially the response when the score is high, which can be optimized by simulating the equipment performance response under different health scores.

[0277] parameter :Determined by equipment operation mode and risk response historical data to ensure the accuracy and adaptability of risk level adjustment.

[0278] parameter :Equipment operating condition impact coefficient, by analyzing the historical performance data of the equipment under different operating conditions, reflects the periodic impact of changes in operating conditions on risk assessment.

[0279] Calculation example:

[0280] Assume the following parameter values ​​and health scores:

[0281] , , , , , , ;

[0282] Calculate the initial risk index :

[0283] ;

[0284] Substitute the values:

[0285] ;

[0286] ;

[0287] ;

[0288] Calculate the final risk level :

[0289] ;

[0290] ;

[0291] ;

[0292] The calculation example shows how to score the device health status Starting from, by adjusting the parameters, the risk level of the equipment is obtained .

[0293] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. A building electrical safety automatic detection system, characterized in that: The system comprises: The waveform real-time monitoring module is based on the current and voltage sensors of the building's distribution boxes and electrical equipment to monitor and obtain the current and voltage data of the electrical equipment, and perform data screening to remove abnormal points in the data, analyze the stability and fluctuation pattern of the current and voltage waveforms, compare the current waveform characteristics with the historical waveform data, identify the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results; The temperature anomaly detection module monitors the operating temperature of electrical equipment based on the temperature sensors of equipment and transformers, filters and corrects the collected temperature data, compares the processed temperature data with the preset safety threshold, identifies and marks temperature anomaly points, and generates temperature anomaly information; The health status analysis module extracts key characteristic values ​​based on the current and voltage waveform analysis results and temperature anomaly information, serializes and standardizes the characteristic values, constructs a characteristic data set, calculates the health index of the equipment through statistical methods, and generates a health status score; The risk warning assessment module sets and adjusts the risk level of the electrical equipment based on the health status score, and automatically triggers corresponding maintenance and fault warnings according to the risk level, generating risk warning information; The current and voltage waveform analysis and temperature anomaly information extract key characteristic values, including the peak value, mean value, standard deviation of the waveform characteristics and the highest point and abnormal number of temperatures; According to the key characteristic value, through the formula: ; Serialize the extracted feature values ​​to obtain serialized values; in, It is eigenvalues, is the serialized value, is the proportional adjustment parameter, is the offset parameter, is the exponential decay parameter, represents the base of natural logarithms; According to the serialized value, the formula: ; Standardize the data, adjust the scale of the data, and integrate the processed feature values ​​to obtain a feature data set; in, is the standardized eigenvalue, is the minimum eigenvalue, is the maximum eigenvalue; According to the feature data set, for each feature value Set the corresponding weight , and the eigenvalues Perform weighted summation, using the formula: ; Calculate the health index of each device ; in, For the eigenvalues, For the The weight of the feature value, is the dynamic adjustment coefficient, is the total number of eigenvalues, is the health index of the device; According to the health index , to convert the health status score, refer to the formula: ; in, Score your health status. are the coefficients in the nonlinear transfer function, is the constant term in the nonlinear transfer function, Tuning parameters for scoring, is the high value adjustment factor, is the base of natural logarithms; According to the health status score, the formula is: ; Calculate risk index ; in, Score the health status of the device. is the risk index, , and is the adjustment factor, is the enhancement coefficient; According to the risk index , through the formula: ; Risk Index Make dynamic adjustments to obtain risk levels ; in, For the set risk level, and is the adjustment factor, is the influence coefficient of equipment operating conditions.

2. The building electrical safety automatic detection system according to claim 1 is characterized in that: The method for removing outliers in the data is: Monitor and obtain the current and voltage data sets of electrical equipment through current and voltage sensors , data set Each data point in includes a timestamp and a corresponding current and voltage value; Calculation data set The standard deviation of each data point in , and calculate the average standard deviation of the overall data , set the rejection threshold , apply the culling function: ; Processing Data Group , the standard deviation of each point and the rejection threshold Compare, by iterating each data point, retain Points with deviation greater than The outliers are obtained by cleaning the data set ; in, is the elimination function, It is The standard deviation of the data points, It is a dataset The average standard deviation, is the preset coefficient, is the average value of the data set The adjustment factor, is the adjustment factor for the maximum standard deviation of the data set, is the maximum standard deviation, is the average value of the data set.

3. The building electrical safety automatic detection system according to claim 2 is characterized in that: The steps for obtaining the current and voltage waveform analysis results are as follows: According to the cleaned data set , extract the time series data of current and voltage, apply Fourier transform, perform frequency domain analysis on the time series of current and voltage, identify the frequency distribution characteristics, and identify the key harmonic components and noise frequencies; Compare the current frequency distribution characteristics with the waveform characteristics in the historical data set, using the cosine similarity formula: ; Calculate the similarity between the two, and compare them with the preset similarity threshold to determine the normality and abnormality of the waveform, and obtain the current and voltage waveform analysis results; in, is the similarity score, The current waveform is The amplitude of the frequency point, For the historical waveform The amplitude of the frequency point, is the total number of frequency points, is the adjustment factor, is the attenuation parameter, is the difference in critical frequency, is the base of natural logarithms.

4. The building electrical safety automatic detection system according to claim 1, characterized in that: The method for filtering and correcting the collected temperature data is as follows: Based on the temperature sensors of equipment and transformers, collect temperature data and store the data in the data buffer; According to the temperature data in the buffer, through the formula: ; Filtering the temperature data to obtain a filtered temperature value; in, is the filtered temperature value, is the original data, Indicates the index position of the current data point. Relative to the current data point The offset of is the weight factor of data position change, is the data point range, is the smoothing parameter, is the historical standard deviation of temperature data; According to the filtered temperature value, by the formula: ; Perform correction processing on each data point to obtain a corrected temperature data set; in, is the corrected temperature value, and are the correction coefficient and bias term respectively, To adjust the parameters, is the moving average of the temperature data.

5. The building electrical safety automatic detection system according to claim 1, characterized in that: The steps for obtaining the temperature anomaly information are as follows: According to the corrected temperature data set, each temperature value is compared with a preset safety threshold. To make comparisons, apply logical expressions: ; Identify whether each temperature value exceeds the safety threshold; in, For the The corrected temperature value of the data point, is the preset safety threshold, is the standard deviation adjustment factor, is the mean adjustment factor, is an indicator function indicating whether it is abnormal. and represent the standard deviation and mean of the corrected temperature data set, respectively; Will The data points are marked as abnormal, and the associated information, including timestamp, temperature value and corresponding sensor data, is collected to obtain the temperature anomaly information.