A non-intrusive power load detection and decomposition method
Through the detection and prediction of vacancy values in non-intrusive power load detection, combined with the secondary load detector for data filling and monitoring, the potential safety hazards of power equipment caused by data vacancies are solved, and real-time safety assessment and control of power equipment are realized. Electricity safety is guaranteed.
Patent Information
- Application Number
- CN202210265304.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-17
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-03-17
AI Technical Summary
In non-intrusive power load detection, data gaps caused by the transient operation of the equipment make it difficult for the monitoring equipment to analyze the power situation, which may lead to failure of electrical protection, which may lead to power outages or equipment damage.
By performing vacancy value detection and correlation analysis on the obtained load detection data, the generation time and cycle of the vacancy value are predicted, and a secondary load detector is used for data filling and monitoring. A comprehensive assessment is made based on the data before and after the vacancy value, and the power limit is adopted. Or power outage measures to avoid safety hazards.
It realizes real-time monitoring of power equipment and assessment of safety hazards, ensuring the safety of users' electricity use, reducing the risk of damage to power equipment due to data gaps, and saving energy consumption.
Smart Images

Figure CN114629242B
Abstract
Description
[Technical field]
[0001] The present invention relates to the technical field of intelligent devices, and in particular to a non-invasive power load detection and decomposition method. [Background technology]
[0002] When performing non-invasive load detection, since the equipment is non-invasive, during the switching and startup and shutdown of each device, due to the characteristics of the power collection equipment, the transient operation of some power equipment will cause the data obtained by the monitoring device to be null, resulting in data missing. When the data is missing, it is not conducive to the monitoring device to analyze the current power situation. If the instantaneous danger of power happens to occur at this moment, it is difficult for the monitoring device to quickly perform electrical protection and other work. It may cause power outages or equipment damage. The present invention performs risk assessment when there are vacant values in data collection. Since the various situations of the electrical equipment in the time period when the vacant value appears cannot be estimated by data, and the analysis using the data before and after the vacant value time period is not completely reliable, and whether there will be a safety accident in the time period when the vacant value appears cannot be specifically analyzed according to the data, so in addition to the data detected by the non-invasive load detection device, a new load detection device is needed to collect the data in the vacant value time period, and replace the vacant value collected by the non-invasive load detection device data. The data in the vacant value time period is combined with the load data before and after the vacant value to comprehensively judge and evaluate the risk of the electrical equipment. It is necessary to take appropriate restrictive measures on users' electricity use based on the assessment results to avoid danger. [Summary of the invention]
[0003] The present invention provides a non-intrusive power load detection and decomposition method, which mainly includes:
[0004] Obtain the power status of the user's electrical equipment through load detection data; detect the missing values in the acquired electrical equipment status; perform correlation analysis on the missing values detected and the transient state of the corresponding equipment; predict the change cycle of the missing values and load detection data of different electrical equipment based on the correlation analysis; perform feasibility assessment based on the prediction results; monitor based on the feasibility assessment results and the load detection data of the acquired electrical equipment in the current state; analyze the load according to the state of the monitored electrical equipment; and perform corresponding power protection based on the results of the analysis;
[0005] Further optionally, obtaining the power status of the user's electrical equipment through load detection data includes:
[0006] Obtaining load detection data of electrical equipment through non-invasive load detection equipment, and analyzing the power consumption of different electrical equipment based on the load detection data; obtaining the type of electrical equipment based on the identification of the load detection data of the electrical equipment and obtaining the power consumption level of the corresponding electrical equipment; including: using the load detection data to perform cluster analysis to infer the state of the electrical equipment;
[0007] The method of using the load detection data to perform cluster analysis and infer the state of the electrical equipment also includes:
[0008] According to the power consumption data actually obtained by load detection, the power equipment is analyzed. There are steady-state and transient time periods in the operation time period of the power equipment. The steady-state and transient power data are combined to determine the type of power equipment and the gear change of the power equipment, and then analyzed according to the load detection data. And record the power equipment that matches the current power consumption change, and record the load detection data characteristics of the current equipment. In actual use, the corresponding power equipment is determined according to the previously existing power consumption characteristics. The cluster center of the power consumption characteristics of this appliance is found by using the MeanShift algorithm for the power consumption characteristic data of the wavelength of the power equipment, and recorded. When the non-invasive load detection equipment is used in multiple different electrical appliances, cluster analysis is also performed according to different power consumption characteristics, and the characteristic range of each different electrical appliance is found according to different power consumption characteristics, and the type of the electrical equipment at this time is determined according to the existing electrical appliance characteristic records.
[0009] Further optionally, the detecting a missing value in the acquired state of the electric device includes:
[0010] Use the acquired load detection data to comprehensively analyze the vacancies in the load detection data; compare the time point corresponding to the vacancy value with the current operating status of the power equipment, analyze the specific status of the power equipment when there is a vacancy, and whether the power equipment in this state cannot collect data due to its own characteristics or due to emergencies; including: analysis of vacancy values and gear changes; use the acquired data to determine whether there are vacancy values; fill in the data after vacancy detection;
[0011] The analysis of the vacancy value and the gear change also includes:
[0012] In the actual detection data of non-invasive load detection equipment, the data of electrical equipment obtained cannot be obtained in the current time period due to the characteristics of the detection equipment or due to special conditions of the electrical equipment, resulting in the inability to obtain specific measurement values within a certain period of time. Ultimately, there is a data gap in a certain time period in the obtained data.
[0013] The method of using the acquired data to determine whether there is a missing value also includes:
[0014] The acquired data is used for missing values detection. Since the acquired time point data is obtained in the form of a string, it is necessary to read the string and convert the date to perform addition and subtraction operations on the time points, and determine whether the interval between two time points is greater than 1 second. If it is greater than one second, then the corresponding time period has a data missing value. If it is equal to one second, there is no missing value. To determine whether there is a missing value, first determine the single electrical device. Perform the calculation through the following steps:
[0015] Step 1: Obtain the power consumption data of each power-consuming device through the load detection device.
[0016] Step 2: Preset an empty array H, write the power consumption data of each single device into an Excel table, read the character column used to record time in the Excel table, and preset the total time data of the device currently obtained as A. The number of rows of A is variable, but there is only one column.
[0017] Step 3: Enter the loop, presume i is the data table of the i-th electrical equipment, and presume there are N electrical equipments in total, i.e. i=1,2...N.
[0018] Step 4: In the loop of step 3, preset j as the jth time data of the i-th device and enter the loop. Get the jth string type time data of the i-th electrical device, that is, j=1,2...length(A)-1, and modify the string type time data to a numeric type, calculate the difference between two adjacent time data, and take the absolute value. Record the calculated value in the i-th row and j-th position of array H regardless of whether it is greater than 1.
[0019] Step 5: After the loop of step 4 is completed, the value of the i-th row of array H is obtained.
[0020] Step 6: After the loop of step 3 is completed, a two-dimensional array H is finally obtained, where H has N rows and the number of columns is the amount of time data of the device with the largest time point.
[0021] Step 7: Bring the array into a loop statement to detect the missing values of each device in different time periods. If there is a number greater than 1 in the i-th row of the H array, there is a missing value at the corresponding position, otherwise there is no missing value.
[0022] The data filling after the vacancy detection also includes:
[0023] During the time period when the vacancy occurs, the load detection equipment cannot obtain real-time data due to different circumstances of the electrical equipment, resulting in vacancy values in the data. Since there is actual data in the period before the vacancy and the period after the vacancy, this data is used to calculate a new value to fill the vacancy. Since the vacancy time is not fixed, there may be a vacancy of only one second or a vacancy of 10 minutes. When filling the vacancy value, it is necessary to comprehensively consider the operating status of the electrical equipment at the current time point, and fill the data according to the power consumption rules under the corresponding gear at the current time point, so as to fill the vacancy with the existing data, and it is necessary to determine whether the power consumption status of the electrical equipment has changed during the vacancy period, and fill the corresponding data according to the status changes of the electrical equipment between the vacancy periods, and analyze the filled data for filling accuracy.
[0024] Further optionally, the performing correlation analysis on the detected missing value and the corresponding device transient state includes:
[0025] The two-dimensional array H calculated by using the acquired data to determine whether there is a missing value is compared with the original electrical equipment detection data through the two-dimensional array H; determine whether the electrical equipment transient occurs in the time period when the missing value occurs; perform correlation analysis by determining the time point when the transient state of the electrical appliance occurs and the time period when the missing value appears in the load detection data, and calculate the degree of correlation between the two, and comprehensively analyze the correlation between the missing value time period and the transient occurrence time point through the calculated degree of correlation; record each state change position of the collected data, and also need to record the start time and end time of each time period when the missing value appears, and respectively compare them with the transient time. points for comparison; and the transient state of different electrical equipment also has a corresponding correlation with the impact of the load detection equipment. Therefore, when using correlation analysis, it is necessary to first conduct a correlation analysis on the transient state and the vacancy value of all equipment. After the analysis, a correlation analysis is conducted by controlling a single device. The results of the two correlation analyses are comprehensively compared to make a comprehensive judgment, and different correlation coefficients under different electrical equipment are obtained, so as to obtain the correlation between the transient state and the vacancy value of each electrical equipment; including: data preparation based on the vacancy value and the time when the transient state of the electrical equipment occurs; data preparation for the two situations of gear switching and no gear switching during the vacancy value time period; correlation analysis between the vacancy value occurrence and the transient state;
[0026] The data preparation based on the vacancy value and the transient occurrence time of the electric equipment also includes:
[0027] The data collected by the load detection device from the separate operation of different devices and the change of the operating state of the equipment at the current time are marked, so as to obtain a data containing a vacancy value and obtain the time period of the vacancy value and the time point when the electrical appliance appears transient. And write each time point of the transient state of the electrical appliance into the table. Then, according to the acquired data, it is judged whether there is a vacancy value. At the position where the vacancy value appears, each electrical appliance detected is at the position where the vacancy value appears, and the starting time point of the vacancy value and the current operating state of the electrical appliance are obtained for judgment. The operating state of the electrical appliance when the vacancy value appears is obtained by comparing the starting time point and the ending time point of the vacancy value with the duration of each operating state of the electrical appliance, and the starting time point, the ending time point and the change of the state of the vacancy value are recorded in the table respectively. Therefore, there will be two situations: Situation 1: The time period of the vacancy value is within the time of one state of the electrical appliance, and there is no change in the operating state. Situation 2: Two operating states of the electrical appliance appear in the time period of the vacancy value, that is, the electrical appliance switches the operating state in the time period of the vacancy value.
[0028] The data preparation for the two situations of gear switching and no gear switching in the vacancy value time period also includes:
[0029] Data is sorted for each vacant position in the data obtained by load detection. In the first case of data preparation based on vacant values and transient occurrence time of electrical equipment, the vacant value start time point, the vacant value end time point, the current gear of the electrical equipment when the vacant value appears, and the name of the electrical equipment need to be written into an Excel table. In the second case of data preparation based on vacant values and transient occurrence time of electrical equipment, the vacant value start time point, the gear switching time point, the gear before switching, the vacant value end time point, the gear after switching, the gear after switching, and the name of the electrical equipment need to be recorded into an Excel table. Thus, two Excel tables are obtained, which are the equipment status data obtained in two cases respectively.
[0030] The occurrence of the vacancy value and the transient state are analyzed for correlation, and further include:
[0031] Data is prepared for two situations: there is a gear switch and there is no gear switch in the vacancy time period. The data of the first situation is read, and the starting time point of the vacancy value is compared with the time point of the most recent gear switch. For this, it is necessary to quantify the time when the vacancy value appears and the time when the gear is switched. By comparing each vacancy value time point with the most recent gear switch time point, a vacancy value scatter plot is drawn, and the scatter plot is subjected to linear regression analysis, and a transient time point is obtained with the vacancy value start time point, end time point, and time point median correlation function relationship, and the correlation is used to judge whether this linear regression is reasonable. The relationship parameters obtained by the correlation analysis are used to comprehensively judge the degree of association. Each gear switch time point is defined as a function value, and each vacancy value occurrence time point, end time point, and time point median are defined as independent variables, and regression analysis is performed with the function value respectively. Similarly, the data under the second situation is read. The different data under the same transient state are taken as the median of the start time point of the missing value, the end time point and the time point of the gear switching as the independent variable, and the gear switching time point is also used as the median for correlation analysis. The functional relationship is calculated and the relationship between the two cases is compared.
[0032] Further optionally, the prediction of the vacancy values of different power equipment and the load detection data change cycle obtained by correlation analysis includes:
[0033] According to the correlation analysis between the occurrence of the vacancy value and the transient state, a functional relationship of the form of y=ax+b and the vacancy value data in two cases are obtained, and on this basis, an in-depth analysis is performed, and the starting time period, the ending time period, and the time median of the vacancy value are respectively used as three independent variables, and a multivariate linear regression analysis is performed with the transient state of the closest distance; including: regression analysis process;
[0034] The regression analysis process also includes:
[0035] Through multivariate nonlinear regression analysis, the functional relationship between the three time point parameters of the vacancy value of each electrical equipment and the time point of the state change of the electrical equipment is calculated, and the vacancy value of the electrical equipment is regressed and predicted through the functional relationship. That is, a function y(i) = b0 + b1*x1(i) + b2*x2(i) + b3*x3(i) is established, and the number of seconds corresponding to each state change time point of each electrical equipment is read as the y value, and the number of seconds corresponding to the start time point, end time point, and median of the vacancy time period of each vacancy value are read as the values of the independent variables x1, x2, and x3 respectively. The constants b0, b1, b2, and b3 are calculated using the multivariate linear regression solution function to obtain the specific parameter values of the regression function relationship. By substituting into the functional relationship, the occurrence and duration of vacancy values under different gear conditions are obtained.
[0036] Further optionally, the feasibility assessment based on the predicted result includes:
[0037] The regression analysis process compares the calculated regression function relationship with the vacancy value before and after, obtains the regression function characteristic value for prediction, and comprehensively evaluates the prediction results to conduct a feasibility assessment on the power consumption of the predicted vacancy value position; including: combining the feasibility assessment process of the secondary load tester;
[0038] The feasibility assessment process in combination with the secondary load tester also includes:
[0039] By acquiring the detected data and the functional relationship, the filled part of the data with the detection time located one second before the vacancy value appears and one second after the vacancy value ends is predicted, and the total output power, useful power, current and voltage, and the corresponding frequency and harmonic data are obtained for comprehensive analysis. Find the estimated power consumption data corresponding to the vacancy value for evaluation. Obtain the power consumption status data of the non-empty values before and after the vacancy value in the load detection data for evaluation. During the time period when the non-invasive load detection device cannot obtain data, if the duration is short, the secondary load detector will not be turned on to measure the load detection data in the vacant time period. It is preset that when the vacancy time exceeds 5 seconds, the secondary load detector will automatically turn on and replace the load detection of the electrical equipment. When the data of the non-invasive load detection device returns to normal and continues to detect data, the secondary load detection device will record the load detection data collected during the vacant time period and automatically turn off the detection. The regression function relationship made during the period of missing values of the load detection equipment is compared with the detection data of the secondary load detector during the missing time period to evaluate the feasibility of the regression function relationship. The actual status of the electrical equipment is predicted based on the comparison results, and the differences are analyzed and evaluated against the prediction results.
[0040] Further optionally, the monitoring according to the feasibility assessment result and the acquired load detection data of the electrical equipment in the current state includes:
[0041] The collected load detection data is used to monitor the load detection data characteristics of each electrical device, and the collected abnormal power consumption characteristic data is stored in the abnormal power consumption characteristic database. The power consumption characteristic data is extracted in real time to comprehensively judge whether the current user's power consumption equipment has power safety hazards. According to the feasibility assessment process, the assessment results and the monitoring of the load of the power consumption equipment are used to make a judgment, and the user's power consumption is appropriately adjusted; including: monitoring the risks of status assessment;
[0042] The monitoring of the risk of the status assessment also includes:
[0043] According to the feasibility assessment process combined with the secondary load tester, the load detection data of the secondary load tester when the load detection equipment is missing, and the load detection data of the time period of abnormal power consumption are obtained, and the characteristics of the load detection data under the abnormal power consumption are subjected to risk analysis, and the state of the power equipment in the missing value period is predicted, and the risk of the power equipment under abnormal state is judged, and the data characteristics and risk conditions under the missing condition at this time are recorded in the abnormal power consumption characteristic database for comparison with the subsequent monitoring of the load detection data.
[0044] Further optionally, the analyzing according to the state load of the monitored electrical equipment includes:
[0045] Analyze the various possibilities of the load of the monitored electrical equipment, and comprehensively judge whether the electrical equipment has a short circuit or a fire according to the monitoring data and the evaluation results of the vacancy value; analyze whether the electrical equipment has a fire or a short circuit according to the load of the electrical equipment measured by the secondary load detector during the vacancy period; comprehensively judge the load detection data before and after the vacancy value and the data of the secondary load detector during the vacancy period, and perform load detection on the same electrical equipment under different fault conditions, compare the load detection results with the normal state, and analyze the possible fault state of the electrical equipment in the time period when the vacancy value appears through the position of the vacancy value and the load detection data before and after the vacancy value, and analyze and predict the sudden situation of the electrical equipment based on this; including: load characteristic analysis of electrical equipment;
[0046] The load characteristic analysis of the electrical equipment also includes:
[0047] The load characteristics are analyzed according to the load detection data of the time periods with and without missing values of the power equipment under the same operating state. The load detection data of the vacant period is compared and analyzed with the load difference of the non-vacant period to judge the possibility of failure of the power equipment used by the user during use, and to use this to make abnormal warning of the power equipment. According to the load detection data obtained, the load detection data with the closest time difference to the vacant value is compared and the absolute value is taken, and the absolute value is calculated and the change ratio is calculated with the data without vacancy. The risk assessment is performed according to the difference ratio. The larger the difference ratio, the higher the risk level, so as to evaluate the risk level of each power equipment, and the load characteristics under the current risk assessment are used to determine whether the power equipment of the current user is operating normally. If the difference ratio of the current calculated in the vacant value in the load detection data of the power equipment exceeds 20%, a risk level is added for each 10% exceeding the risk level to perform risk level assessment. According to the risk level assessment, the power transmission power of the power equipment is appropriately reduced to carry out risk control, and the load detection data of the current power equipment at the current risk level is stored in the database.
[0048] Further optionally, performing corresponding power protection based on the result obtained through analysis includes:
[0049] According to the load characteristic analysis of the electrical equipment, power restriction assessment is performed according to the risk level obtained by the analysis, and the load detection data of the electrical equipment in the time period of the vacant value is obtained to calculate the power restriction, and the adjustment calculation is performed according to the risk level of the condition of the electrical equipment and the difference ratio of the corresponding load detection data exceeding the normal state, and the calculated result is fed back to the electric meter providing electricity, and the current on the live line is appropriately limited to the current and voltage input to this user to regulate; including: protecting electrical equipment by analyzing the risk level;
[0050] The protection of electrical equipment by analyzing the risk level also includes:
[0051] The risk level calculated during the vacant value period is used to judge the dangerous situation of the electrical equipment and whether the electrical equipment has a short circuit or fire. The risk level obtained and the load difference ratio between the corresponding vacant value time period and the normal situation are used for prediction and analysis, and the electrical equipment with the possibility of fire or failure is predicted, and the electrical equipment with the possibility of fire or failure is protected by limiting its output power. If necessary, it is necessary to cut off the power supply to ensure the safety of users' electricity use. The possibility of fire or short circuit failure of the electrical equipment is judged by the difference ratio calculated from the load detection data of the electrical equipment during the vacant value period, and the difference ratio and risk level of the corresponding data of current, voltage, power and frequency harmonics are obtained respectively, and the weights of current, voltage, power, frequency and harmonics are evenly distributed, and multiplied and summed with the corresponding difference ratio respectively to obtain the comprehensive difference ratio, and then judge whether it exceeds 20% of the non-vacant value. If it exceeds the corresponding range, it is necessary to limit the power of the electrical equipment according to the ratio, and if it exceeds 100%, it is necessary to cut off the power supply.
[0052] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:
[0053] The present invention predicts the generation time and situation of the vacancy value, and predicts the cycle and time length of the vacancy value. Interpolation weighted processing is performed on the vacancy value. The completion of the vacancy value is better compensated. The purpose of better monitoring the power equipment and real-time power is achieved. The data obtained by interpolation weighting is compared and analyzed with the data measured by the secondary load detector, so as to make a relatively accurate assessment of the potential safety hazards of the power equipment, and the corresponding power transmission restriction operation is performed on the assessment result to ensure the power safety of the user and the operation safety of the power equipment. By comparing the data and analyzing the data during the vacancy period and the operation status of the power equipment, the power consumption of the user's power equipment is evaluated, and the output power of the power equipment evaluated to be normal is adjusted, thereby saving energy consumption. At the same time, the power equipment evaluated to have abnormal power consumption is also monitored, and power restriction or power outage operations are performed to avoid possible safety hazards in the future, thereby reducing the power safety hazards of the user.
Brief Description of the Drawings
[0054] Figure 1 The present invention is a flowchart of a non-intrusive power load detection and decomposition method.
[0055] Figure 2 It is a sequence diagram between a user and a power supply system in a non-intrusive power load detection and decomposition system according to the present invention.
[0056] Figure 3It is a sequence diagram between a load detection device and a load analysis system in a non-invasive current load detection and decomposition method of the present invention. [Specific implementation method]
[0057] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0058] Figure 1 The present invention is a flow chart of a non-intrusive power load detection and decomposition method. Figure 2 It is a sequence diagram between a user and a power supply system in a non-intrusive power load detection and decomposition system according to the present invention. Figure 3 FIG. 1 is a sequence diagram between a load detection device and a load analysis system in a non-invasive current load detection and decomposition method of the present invention. Figure 1 As shown, a non-intrusive power load detection and decomposition method in this embodiment may specifically include:
[0059] Step 101: Obtain the power status of the user's electrical equipment through load detection data.
[0060] The load detection data of the electrical equipment is obtained through non-intrusive load detection equipment, and the power consumption of different electrical equipment is analyzed based on the load detection data. The type of the corresponding electrical equipment is obtained based on the identification of the load detection data of the electrical equipment and the power consumption gear of the corresponding electrical equipment is obtained.
[0061] Use load detection data to perform cluster analysis to infer the status of electrical equipment.
[0062] According to the power consumption data actually obtained by load detection, the power equipment is analyzed. There are steady-state and transient time periods in the operation time period of the power equipment. The steady-state and transient power data are combined to determine the type of power equipment and the gear change of the power equipment, and then analyzed according to the load detection data. And record the power equipment that matches the current power consumption change, and record the load detection data characteristics of the current equipment. In actual use, the corresponding power equipment is determined according to the previously existing power consumption characteristics. The cluster center of the power consumption characteristics of this appliance is found by using the MeanShift algorithm for the power consumption characteristic data of the wavelength of the power equipment, and recorded. When the non-invasive load detection equipment is used in multiple different electrical appliances, cluster analysis is also performed according to different power consumption characteristics, and the characteristic range of each different electrical appliance is found according to different power consumption characteristics, and the type of the electrical equipment at this time is determined according to the existing electrical appliance characteristic records. For example: in a non-invasive load detection test, the power consumption characteristics of an incandescent lamp when it is working and in gear 1 and the power consumption characteristics of a water dispenser in the insulation state are obtained, and the detection equipment records the power consumption characteristics of the incandescent lamp and the data of the water dispenser in the insulation state respectively. When the detection equipment detects and obtains power consumption data in a new household and analyzes the power consumption data, power consumption data similar to the power consumption characteristics of the incandescent lamp and the water dispenser in the insulation state recorded previously appears. It is determined that the current user is using an incandescent lamp and a water dispenser, and the incandescent lamp is in gear 1 and the water dispenser is in the insulation state.
[0063] Step 102: Detect missing values in the acquired state of the electric device.
[0064] The acquired load detection data is used to comprehensively analyze the missing load detection data. By comparing the time point corresponding to the missing value with the current operating status of the power equipment, the specific status of the power equipment when the missing value occurs is analyzed, and whether the power equipment in this state cannot collect data due to its own characteristics or due to an emergency.
[0065] Analysis of vacancy values and gear changes.
[0066] In the actual detection data of non-invasive load detection equipment, the data of electrical equipment obtained cannot be obtained in the current time period due to the characteristics of the detection equipment or due to special conditions of the electrical equipment, which leads to the inability to obtain specific measured values within a certain period of time, and finally there is a data gap in a certain period of time in the obtained data. For example: during the data collection process of the load detection equipment, the gear of the electrical equipment changes or the power supply current is too large, which makes it impossible to collect the load data of the electrical equipment. Therefore, it is necessary to use the acquired data to detect the missing values, conduct a comprehensive analysis of the detected missing values, and detect the vacancies within a certain period of time when the missing values appear. The time interval of the vacancies is calculated by using simple logic, and the calculated time interval is used to record the gear changes of the current electrical equipment.
[0067] Use the acquired data to determine whether there are missing values.
[0068] The acquired data is used for missing values detection. Since the acquired time point data is obtained in the form of a string, it is necessary to read the string and convert the date to perform addition and subtraction operations on the time points, and determine whether the interval between two time points is greater than 1 second. If it is greater than one second, then the corresponding time period has a data missing value. If it is equal to one second, there is no missing value. To determine whether there is a missing value, first determine the single electrical device. Perform the calculation through the following steps:
[0069] Step 1: Obtain the power consumption data of each power-consuming device through the load detection device.
[0070] Step 2: Preset an empty array H, write the power consumption data of each single device into an Excel table, read the character column used to record time in the Excel table, and preset the total time data of the device currently obtained as A. The number of rows of A is variable, but there is only one column.
[0071] Step 3: Enter the loop, presume i is the data table of the i-th electrical equipment, and presume there are N electrical equipments in total, i.e. i=1,2...N.
[0072] Step 4: In the loop of step 3, preset j as the jth time data of the i-th device and enter the loop. Get the jth string type time data of the i-th electrical device, that is, j=1,2...length(A)-1, and modify the string type time data to a numeric type, calculate the difference between two adjacent time data, and take the absolute value. Record the calculated value in the i-th row and j-th position of array H regardless of whether it is greater than 1.
[0073] Step 5: After the loop of step 4 is completed, the value of the i-th row of array H is obtained.
[0074] Step 6: After the loop of step 3 is completed, a two-dimensional array H is finally obtained, where H has N rows and the number of columns is the amount of time data of the device with the largest time point.
[0075] Step 7: Bring the array into the loop statement to detect the missing values of each device in different time periods. If there is a number greater than 1 in the i-th row of the H array, there is a missing value at the corresponding position, otherwise there is no missing value. For example: the first electrical device begins to have a missing value in the 30th second after it is turned on, that is, the seconds corresponding to the two adjacent data are not continuous. Therefore, this position is detected as the position where the missing value appears.
[0076] Data filling is performed after gap detection.
[0077] Because during the time period when the vacancy value appears, the load detection equipment cannot obtain real-time data due to different situations of the electrical equipment, resulting in vacancy values in the data. Since there is actual data in the period before the vacancy time and the period after the vacancy time, the new value is calculated using this data to fill the vacancy value. Since the vacancy time is not fixed, there may be a situation where there is only a vacancy of one second or a vacancy of 10 minutes. When filling the vacancy value, it is necessary to comprehensively consider the operating status of the electrical equipment at the current time point, and it is necessary to fill the data according to the power consumption law under the corresponding gear at the current time point, so as to fill the vacancy with the existing data, and it is necessary to judge whether the electrical equipment has a change in the power consumption state during the vacancy time period, and fill the corresponding data according to the state change between the vacancy periods of the electrical equipment, and analyze the filling accuracy of the filled data. For example: if the electrical equipment is vacant for 50 seconds during operation, it is judged whether there is a change in the gear of the electrical equipment during the vacancy time. If there is a change in the gear in the 30th second, it is necessary to divide it into the first 30 seconds and the last 20 seconds to calculate and fill the vacancy separately. Therefore, linear interpolation is temporarily used to fill the gaps, and if there is a state change during the gap period, the linear interpolation algorithm needs to be used segment by segment to fill the gaps. When filling the gaps, it is necessary to perform calculations based on the changes in the state of the electrical equipment.
[0078] Step 103, performing correlation analysis between the detected missing values and the corresponding equipment transient states.
[0079] The two-dimensional array H calculated by using the acquired data to determine whether there is a missing value is compared with the original power equipment detection data through the two-dimensional array H. Whether the power equipment transient state occurs in the time period when the missing value occurs is determined. The correlation analysis is performed by judging the transient time point of the electrical appliance and the time period when the missing value appears in the load detection data, and the correlation degree between the two is calculated. The correlation between the missing value time period and the transient occurrence time point is comprehensively analyzed by the calculated correlation degree. Each state change position of the collected data is recorded, and the start time and end time of each time period when the missing value appears are also recorded, and compared with the transient time point respectively. In addition, the transient state of different power equipment also has a corresponding correlation with the load detection equipment. Therefore, when using correlation analysis, it is necessary to first conduct a correlation analysis on the transient state and the missing value of all equipment. After the analysis, the correlation analysis is performed again by controlling a single device, and the results of the two correlation analyses are comprehensively compared to make a comprehensive judgment, and different correlation coefficients under different power equipment are obtained, so as to obtain the correlation between the transient state and the missing value of each power equipment.
[0080] Data preparation is performed based on missing values and transient occurrence times of electrical equipment.
[0081] The data collected by the load detection device from the separate operation of different devices and the change of the operating state of the equipment at the current time are marked, so as to obtain a data containing a vacancy value and obtain the time period of the vacancy value and the time point when the electrical appliance appears transient. And write each time point of the transient state of the electrical appliance into the table. Then, according to the acquired data, it is judged whether there is a vacancy value. At the position where the vacancy value appears, each electrical appliance detected is at the position where the vacancy value appears, and the starting time point of the vacancy value and the current operating state of the electrical appliance are obtained for judgment. The operating state of the electrical appliance when the vacancy value appears is obtained by comparing the starting time point and the ending time point of the vacancy value with the duration of each operating state of the electrical appliance, and the starting time point, the ending time point and the change of the state of the vacancy value are recorded in the table respectively. Therefore, there will be two situations: Situation 1: The time period of the vacancy value is within the time of one state of the electrical appliance, and there is no change in the operating state. Situation 2: Two operating states of the electrical appliance appear in the time period of the vacancy value, that is, the electrical appliance switches the operating state in the time period of the vacancy value.
[0082] Data preparation for the two situations of gear switching and no gear switching during the vacant value time period.
[0083] Data is sorted for each vacant position in the data obtained by load detection. In the first case of data preparation based on vacant values and transient occurrence time of electrical equipment, the vacant value start time point, the vacant value end time point, the current gear of the electrical equipment when the vacant value appears, and the name of the electrical equipment need to be written into an Excel table. In the second case of data preparation based on vacant values and transient occurrence time of electrical equipment, the vacant value start time point, the gear switching time point, the gear before switching, the vacant value end time point, the gear after switching, the gear after switching, and the name of the electrical equipment need to be recorded into an Excel table. Thus, two Excel tables are obtained, which are the equipment status data obtained in two cases respectively. For example: when the electrical equipment is in the operating state of gear 1 from the 30th second to the 90th second, and the missing value appears from the 50th second to the 55th second, then the time point at the 50th second, the time point at the 55th second, the current gear, and the name of the electrical equipment are written into the first table; conversely, when the electrical equipment changes gear from gear 1 to gear 2 at 90 seconds, and the missing value appears from 80 seconds to 100 seconds, then the time point at the 80th second, the time point at the 90th second, the end time point of the missing value, gear 1 before switching, gear 2 after switching, and the name of the electrical equipment are written into the second table.
[0084] The occurrence of vacancy values is correlated with transient conditions.
[0085] Data is prepared for two situations: there is a gear switch and there is no gear switch in the vacancy time period. The data of the first situation is read, and the starting time point of the vacancy value is compared with the time point of the most recent gear switch. For this, it is necessary to quantify the time when the vacancy value appears and the time when the gear is switched. By comparing each vacancy value time point with the most recent gear switch time point, a vacancy value scatter plot is drawn, and the scatter plot is subjected to linear regression analysis, and a transient time point is obtained with the vacancy value start time point, end time point, and time point median correlation function relationship, and the correlation is used to judge whether this linear regression is reasonable. The relationship parameters obtained by the correlation analysis are used to comprehensively judge the degree of association. Each gear switch time point is defined as a function value, and each vacancy value occurrence time point, end time point, and time point median are defined as independent variables, and regression analysis is performed with the function value respectively. Similarly, the data under the second situation is read. And take the start time point of the missing value and the end time point of the different data under the same transient state as the median of the gear switching time point as the independent variable, and also take the gear switching time point as the median for correlation analysis. Calculate the functional relationship. And compare the relationship in the two cases. For example: in the case 1, the detection equipment starts collecting data from 14:55:44, and the state changes at 14:56:43. Then the function y value is the number of seconds when the state is switched by reading the state change time point and subtracting the time point of the start measurement, that is, 14:56:43 minus 14:55:44. If the missing value occurs between 14:55:58 and 14:56:10, 14:55:58, 14:56:10 and the median of the missing value minus 14:55:44 are taken as the independent variable x, so a scatter plot of the missing value time point and the state change time point is obtained. Through the scatter plot, a multivariate linear regression calculation is performed to obtain a functional relationship y between the time point of state change and the time point of vacancy value appearance.
[0086] Step 104, predicting the vacancy values of different power equipment and the change period of load detection data according to the correlation analysis.
[0087] Based on the correlation analysis between the occurrence of missing values and transients, a functional relationship in the form of y=ax+b and the missing value data in the two cases are obtained. On this basis, an in-depth analysis is carried out, and the starting time period, ending time period and median time of the missing values are taken as three independent variables, respectively, and a multivariate linear regression analysis is carried out with the transient state of the nearest distance.
[0088] Regression analysis process.
[0089] Through multivariate nonlinear regression analysis, the functional relationship between the three time point parameters of the vacancy value of each electrical equipment and the time point of the state change of the electrical equipment is calculated, and the vacancy value of the electrical equipment is regressed and predicted through the functional relationship. That is, a function y(i) = b0 + b1*x1(i) + b2*x2(i) + b3*x3(i) is established, and the number of seconds corresponding to each state change time point of each electrical equipment is read as the y value, and the number of seconds corresponding to the start time point, end time point, and median of the vacancy time period of each vacancy value are read as the values of the independent variables x1, x2, and x3 respectively. The constants b0, b1, b2, and b3 are calculated using the multivariate linear regression solution function to obtain the specific parameter values of the regression function relationship. By substituting into the functional relationship, the occurrence and duration of vacancy values under different gear conditions are obtained. For example: the current equipment gear change time point appears at 40 seconds, the current equipment has a vacancy value time from 35 seconds to 37 seconds, which is the closest to the gear change at 40 seconds. Then at this time y=40, x1=35, x2=37, x3=36, and so on. The power consumption data of each electrical equipment is subjected to this multivariate linear regression analysis separately, and finally the functional relationship between the gear change and the vacancy value period of each electrical equipment is obtained, and the corresponding parameter values are substituted according to the data in the vacancy value time period to predict the abnormal conditions of the electrical equipment.
[0090] Step 105: Perform feasibility assessment based on the predicted results.
[0091] The regression analysis process compares the calculated regression function relationship with the vacancy value before and after it appears, obtains the regression function characteristic value for prediction, and comprehensively evaluates the prediction results to conduct a feasibility assessment of the power consumption at the predicted vacancy value location.
[0092] Feasibility assessment process incorporating a secondary load tester.
[0093] By acquiring the detected data and the functional relationship, the filled part of the data with the detection time located one second before the vacancy value appears and one second after the vacancy value ends is predicted, and the total output power, useful power, current and voltage, and the corresponding frequency and harmonic data are obtained for comprehensive analysis. Find the estimated power consumption data corresponding to the vacancy value for evaluation. Obtain the power consumption status data of the non-empty values before and after the vacancy value in the load detection data for evaluation. During the time period when the non-invasive load detection device cannot obtain data, if the duration is short, the secondary load detector will not be turned on to measure the load detection data in the vacant time period. It is preset that when the vacancy time exceeds 5 seconds, the secondary load detector will automatically turn on and replace the load detection of the electrical equipment. When the data of the non-invasive load detection device returns to normal and continues to detect data, the secondary load detection device will record the load detection data collected during the vacant time period and automatically turn off the detection. The regression function relationship made by the missing value period of the load detection device is compared with the detection data of the secondary load detection instrument during the missing time period to evaluate the feasibility of the regression function relationship, and then the actual state of the electrical equipment is predicted based on the comparison results, and the differences that appear are analyzed and evaluated with the prediction results. For example: in the case of missing values in the load detection device, the existing detection data in the non-invasive load detection device are evaluated for various power consumption data, and regression analysis is performed. The secondary load detection instrument is used to detect the electrical equipment during the missing value period, and the difference between the regression function relationship and the actual data of the secondary load detection instrument is summed. The feasibility of the regression function prediction is evaluated based on the calculated difference. If the difference is small, the feasibility is higher, and if the difference is small, the feasibility is lower.
[0094] Step 106: Monitor based on the feasibility assessment result and the acquired load detection data of the current state of the electrical equipment.
[0095] The load detection data characteristics of each electrical equipment are monitored through the collected load detection data, and the collected abnormal power consumption characteristic data are stored in the abnormal power consumption characteristic database. The power consumption characteristic data is extracted in real time to make a comprehensive judgment on whether the current user's power equipment has power safety hazards. According to the feasibility assessment process, the judgment is made through the assessment results and the monitoring of the load of the power equipment, and the user's power consumption is appropriately adjusted.
[0096] Monitor risks of status assessment.
[0097] According to the feasibility assessment process combined with the secondary load tester, the load detection data of the secondary load detector under the condition of the vacant value of the load detection device and the load detection data of the abnormal power consumption time period are obtained, and the characteristics of the load detection data under the abnormal power consumption are analyzed for risk, and the state of the power consumption equipment in the vacant value period is predicted, and the risk of the power consumption equipment under the abnormal state is judged, and the data characteristics and risk conditions under the vacant condition at this time are recorded in the abnormal power consumption characteristic database, which is used for subsequent monitoring of the load detection data for comparison. For example: when the user uses the power consumption equipment, the load detection data has a vacant value, and the duration is long. At this time, the secondary load detector automatically turns on and collects the power consumption data. When the non-invasive load detection device can obtain the detection data again, the secondary load detector uploads the data in the vacant time period and automatically turns off. The power consumption of the equipment under the vacant value condition is monitored, and the risk analysis of the power consumption equipment is performed according to the load data in the vacant value time period. After the risk level is obtained, the power consumption data in this case is analyzed differently from the data characteristics under normal conditions, and the power consumption characteristics under this abnormal condition are obtained and entered into the database. If load data with similar characteristics appears again in subsequent monitoring, the risk situation will be analyzed through data comparison.
[0098] Step 107, analyzing the load status of the monitored electrical equipment.
[0099] Analyze the various possibilities of the load of the monitored electrical equipment, and comprehensively judge whether the electrical equipment has a short circuit or a fire based on the monitoring data and the evaluation results of the vacant value. Analyze whether the electrical equipment has a fire or a short circuit based on the load of the electrical equipment measured by the secondary load detector during the vacant value period. Comprehensively evaluate the load detection data before and after the vacant value and the data of the secondary load detector during the vacant period, and perform load detection on the same electrical equipment under different fault conditions. Compare the load detection results with the normal state, and analyze the possible fault state of the electrical equipment during the time period when the vacant value appears through the location of the vacant value and the load detection data before and after the vacant value appears, and use this to analyze and predict the sudden situation of the electrical equipment.
[0100] Load characteristics analysis of electrical equipment.
[0101] The load characteristics are analyzed according to the load detection data of the time periods with and without missing values of the power equipment under the same operating state. The load detection data of the vacant period is compared and analyzed with the load difference of the non-vacant period to judge the possibility of failure of the power equipment used by the user during use, and to use this to make abnormal warning of the power equipment. According to the load detection data obtained, the load detection data with the closest time difference to the vacant value is compared and the absolute value is taken, and the absolute value is calculated and the change ratio is calculated with the data without vacancy. The risk assessment is performed according to the difference ratio. The larger the difference ratio, the higher the risk level, so as to evaluate the risk level of each power equipment, and the load characteristics under the current risk assessment are used to determine whether the power equipment of the current user is operating normally. If the difference ratio of the current calculated in the vacant value in the load detection data of the power equipment exceeds 20%, a risk level is added for each 10% exceeding the risk level to perform risk level assessment. According to the risk level assessment, the power transmission power of the power equipment is appropriately reduced to carry out risk control, and the load detection data of the current power equipment at the current risk level is stored in the database. For example: when the load data detected by the secondary load detector of the user's electrical equipment during the vacant value time period is compared with the data of the time period closest to the vacant value in the non-invasive load detection under the same state, the specific load data of the two detection data are subtracted and the difference ratio is calculated. If the current is 20A in the non-vacant value time period and the data current detected during the vacant value period is 30A, the absolute value of the difference is taken and divided by 20A, and the difference ratio is 50%. If it exceeds 20%, then the electrical appliance is assessed to be risky and the risk level of the current electrical equipment is judged to be 3. Therefore, it is necessary to control the risk of the electrical equipment by reducing the transmission power and record the load data of the current electrical equipment under the vacant value condition in the database.
[0102] Step 108, performing corresponding power protection based on the analysis result.
[0103] Based on the load characteristic analysis of the electrical equipment, a power restriction assessment is performed according to the risk level obtained from the analysis, and the load detection data of the electrical equipment during the time period of the vacant value is obtained to calculate the power restriction. Adjustments and calculations are performed based on the risk level of the condition of the electrical equipment and the difference ratio of the corresponding load detection data exceeding the normal state. The calculated results are fed back to the electric meter providing electricity, and the current on the live line is appropriately limited to control the current and voltage input to this user.
[0104] Protect electrical equipment by analyzing risk levels.
[0105] The risk level calculated during the vacant value period is used to judge the dangerous situation of the electrical equipment and whether the electrical equipment has a short circuit or fire. The risk level obtained and the load difference ratio between the corresponding vacant value time period and the normal situation are used for prediction and analysis, and the electrical equipment with the possibility of fire or failure is predicted, and the electrical equipment with the possibility of fire or failure is protected by limiting its output power. If necessary, it is necessary to cut off the power supply to ensure the safety of users' electricity use. The possibility of fire or short circuit failure of the electrical equipment is judged by the difference ratio calculated from the load detection data of the electrical equipment during the vacant value period, and the difference ratio and risk level of the corresponding data of current, voltage, power and frequency harmonics are obtained respectively, and the weights of current, voltage, power, frequency and harmonics are evenly distributed, and multiplied and summed with the corresponding difference ratio respectively to obtain the comprehensive difference ratio, and then judge whether it exceeds 20% of the non-vacant value. If it exceeds the corresponding range, it is necessary to limit the power of the electrical equipment according to the ratio, and if it exceeds 100%, it is necessary to cut off the power supply. For example: the difference calculation between the data of non-invasive load detection and the data of the secondary load detector during the vacant value time period shows that the current difference ratio is 10%, the voltage difference ratio is 80%, the power difference ratio is 50%, the frequency difference ratio is 5%, and the harmonic difference ratio is 10%. Then the weighted sum of the difference ratios gives an average difference percentage of 31%. Therefore, it is necessary to limit the input power to protect the electrical equipment that may have fire or failure, and obtain new detection data for real-time difference ratio calculation to stabilize the difference ratio within 20%, thereby reducing safety accidents caused by fire or failure.
[0106] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
[0107] The program for implementing the information control of the present invention can be written in one or more programming languages or a combination thereof to form a computer program code for performing the operations of the present invention, wherein the programming language includes an object-oriented programming language such as Java, python, C++, and a conventional procedural programming language such as C or a similar programming language.
[0108] The program code may execute entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0109] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation.
[0110] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0111] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0112] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present invention.
[0113] The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes.
Claims
1. A non-intrusive power load detection and decomposition method, characterized in that: The method comprises: Obtaining the power status of the user's electrical equipment through load detection data, the obtaining of the power status of the user's electrical equipment through load detection data specifically includes: using load detection data to perform cluster analysis to infer the status of the electrical equipment; detecting the vacancy value in the acquired status of the electrical equipment, the detecting of the vacancy value in the acquired status of the electrical equipment specifically includes: using the acquired load detection data to comprehensively analyze the vacancy of the load detection data; comparing the time point corresponding to the vacancy value with the current operating status of the electrical equipment, analyzing the specific status of the electrical equipment when there is a vacancy, and whether the electrical equipment in this state cannot collect data due to its own characteristics or an emergency occurs that makes it impossible to collect data; also includes: analysis of vacancy values and gear changes; using the acquired data to determine whether there is a vacancy value; filling in data after vacancy detection; The analysis of the missing value and the gear change specifically includes: in the actual detection data of the non-intrusive load detection device, the data of the electrical equipment obtained cannot be obtained in the current time period due to the characteristics of the detection equipment or due to the special conditions of the electrical equipment, which leads to the inability to obtain the specific measured value in a certain period of time, and finally there is a data vacancy in a certain period of time in the obtained data; The method of using the acquired data to determine whether there is a missing value specifically includes: performing a missing value detection on the acquired data. Since the acquired time point data is acquired in the form of a character string, it is necessary to read the character string and perform date conversion to perform addition and subtraction operations on the time points, and determine whether the interval between two time points is greater than 1 second. If it is greater than one second, then a data missing value occurs in the corresponding time period. If it is equal to one second, then no missing value occurs. For whether there is a missing value, firstly, it is necessary to determine a single electrical device. Calculation is performed through the following steps: Step 1: Obtain the power consumption data of each power-consuming device through the load detection device; Step 2: Preset an empty array H, write the power consumption data of each single device into an Excel table, read the character column used to record time in the Excel table, and preset the total time data of the device currently obtained as A. The number of rows of A is variable, but the number of columns is only one; Step 3: Enter the loop, preset i as the data table of the i-th electrical device, and preset a total of N electrical devices; that is, i=1,2...N; Step 4: In the loop of step 3, preset j as the jth time data of the i-th device and enter the loop; obtain the jth string type time data of the i-th electrical device, that is, j = 1,2...length(A)-1, and modify the string type time data to a numeric type, calculate the difference between two adjacent time data, and take the absolute value; record the calculated value in the i-th row and j-th position of the array H regardless of whether it is greater than 1; Step 5: After the loop of step 4 is completed, the value of the i-th row of array H is obtained; Step 6: After the loop of step 3 is completed, a two-dimensional array H is finally obtained, where H has N rows and the number of columns is the amount of time data of the device with the largest time point; Step 7: Bring the array into the loop statement to detect the missing values of each device in different time periods. If there is a number greater than 1 in the i-th row of the H array, there is a missing value in the corresponding position, otherwise there is no missing value; The data filling after the vacancy detection specifically includes: during the time period when the vacancy value appears, the load detection device cannot obtain real-time data due to different situations of the electrical equipment, resulting in a vacancy value in the data. Since there is actual data in the period before the vacancy time and the period after the vacancy time, the new value is calculated using this data to fill the vacancy value; since the vacancy time is not fixed, there may be a vacancy of only one second or a vacancy of 10 minutes; when filling the vacancy value, it is necessary to comprehensively consider the operating status of the electrical equipment at the current time point, and it is necessary to calculate the value according to the corresponding value at the current time point. The data is filled in based on the electricity consumption pattern under the gear, so as to fill the gaps with the existing data, and it is necessary to judge whether the electricity consumption status of the electrical equipment has changed during the vacant time period, and the corresponding data is filled according to the status change of the electrical equipment in the vacant period, and the filled data is analyzed for filling accuracy; the vacancy value detected is associated with the transient state of the corresponding equipment. The association analysis of the vacancy value detected and the transient state of the corresponding equipment specifically includes: using the acquired data to judge whether there is a two-dimensional array H calculated in the vacancy value, and comparing the two-dimensional array H with the original electricity consumption The equipment detection data is compared; whether the transient state of the electrical equipment occurs in the time period when the vacant value appears; the correlation analysis is performed by judging the transient time point of the electrical equipment and the time period when the vacant value appears in the load detection data, and the degree of correlation between the two is calculated, and the correlation between the vacant value time period and the transient occurrence time point is comprehensively analyzed through the calculated degree of correlation; each state change position of the collected data is recorded, and the start time and end time of each time period when the vacant value appears are also recorded, and compared with the transient time point respectively; and the transient state of different electrical equipment has an impact on the load detection The impact of equipment also has corresponding correlations. Therefore, when using correlation analysis, it is necessary to first conduct a correlation analysis on the transient and vacant values of all equipment. After the analysis, a correlation analysis is conducted by controlling a single device. The results of the two correlation analyses are compared to make a comprehensive judgment, and different correlation coefficients are obtained under different electrical equipment, so as to obtain the correlation between the transient and vacant values of each electrical equipment; including: data preparation based on the vacant value and the transient occurrence time of the electrical equipment; data preparation for the two situations of gear switching and no gear switching during the vacant value time period; correlation analysis between the vacant value occurrence and the transient; The data preparation based on the vacancy value and the transient occurrence time of the electrical equipment specifically includes: marking the data collected by the load detection equipment from the independent operation of different equipment and the change of the operating state of the equipment at the current time, so as to obtain a table containing vacancy values and obtain the time period of vacancy value occurrence and the time point of transient occurrence of the electrical equipment; and write each time point of transient occurrence of the electrical equipment into the table; and then judge whether there is a vacancy value based on the obtained data. For each electrical equipment detected at the position where the vacancy value appears, obtain the starting time point of the vacancy value of the electrical equipment and the current operating state of the electrical equipment. The judgment is made by comparing the starting time point and the ending time point of the missing value with the duration of each running state of the electrical appliance to obtain the running state of the electrical appliance when the missing value appears, and the starting time point, the ending time point and the state change of the missing value are recorded in the table respectively; therefore, there are two situations: situation 1: the time period during which the missing value lasts is within the time of one state of the electrical appliance, and there is no change in the running state; situation 2: two running states of the electrical appliance appear in the time period during which the missing value lasts, that is, the running state of the electrical appliance is switched during the time period during which the missing value appears; The data preparation for the two situations of gear switching and no gear switching within the vacant value time period specifically includes: sorting data for each vacant position in the data obtained by load detection, and in the first situation of data preparation based on the vacant value and the transient occurrence time of the electrical equipment, it is necessary to write the vacant value start time point, the vacant value end time point, the current gear of the electrical equipment when the vacant value occurs, and the name of the electrical equipment into an Excel table; in the second situation of data preparation based on the vacant value and the transient occurrence time of the electrical equipment, it is necessary to record the vacant value start time point, the gear switching time point, the gear before switching, the vacant value end time point, the gear after switching, the gear after switching, and the name of the electrical equipment into an Excel table; thereby, two Excel tables are obtained, respectively, the equipment status data obtained in the two situations; The occurrence of the vacant value and the transient state are analyzed for correlation, specifically including: data preparation for the two situations of gear switching and no gear switching within the vacant value time period, reading the data under the situation, and comparing the starting time point of the vacant value with the time point of the most recent gear switching; for this, it is necessary to conduct a quantitative analysis of the time when the vacant value occurs and the time when the gear is switched, and draw a vacant value scatter plot by comparing each vacant value time point with the most recent gear switching time point, and perform linear regression analysis on the scatter plot, and derive a correlation function relationship between a transient state time point and the vacant value start time point, end time point, and median time point, and determine whether this linear regression is correct by correlation. Reasonable; comprehensively judge the degree of correlation through the relational parameters obtained by correlation analysis; set each gear switching time point as the function value, set each vacancy value occurrence time point, end time point and time point median as independent variables, and perform regression analysis with the function value respectively; similarly, read the data under situation 2; and take the vacancy value start time point, end time point and median of the gear switching time point as independent variables for different data under the same transient state, and also perform correlation analysis with the gear switching time point as the median; calculate the function relationship; and compare the relationship between the two situations; predict the vacancy value of different power equipment and the load detection data change cycle according to the correlation analysis The prediction is based on the vacancy values of different power equipment and the load detection data change cycle obtained by correlation analysis, specifically including: performing correlation analysis based on the occurrence of the vacancy value and the transient state, obtaining a functional relationship in the form of y=ax+b and the vacancy value data in two cases, and conducting in-depth analysis on this basis, taking the vacancy value starting time period, the end time period, and the time median as three independent variables, and performing multiple linear regression analysis with the time transient of the nearest distance; including: regression analysis process; the regression analysis process specifically includes: calculating the functional relationship between the three time point parameters of the vacancy value of each power device and the time point of the power device state change through multiple nonlinear regression analysis, Regression prediction of the vacancy value of the electrical equipment is performed through a functional relationship; that is, a function y(i)=b0+b1*x1(i)+b2*x2(i)+b3*x3(i) is established, the number of seconds corresponding to each state change time point of each electrical equipment is read as the y value, and the number of seconds corresponding to the start time point, end time point, and median of the vacancy time period of each vacancy value are read as the values of the independent variables x1, x2, and x3 respectively; the constants b0, b1, b2, and b3 are calculated by using the multivariate linear regression solution function to obtain the specific parameter values of the regression function relationship; the vacancy value occurrence and duration under different gear conditions are obtained by substituting into the function relationship;Perform a feasibility assessment based on the predicted results, the feasibility assessment based on the predicted results specifically includes: combining the feasibility assessment process of the secondary load tester; monitoring according to the feasibility assessment results and the load detection data of the current state of the electrical equipment, the monitoring according to the feasibility assessment results and the load detection data of the current state of the electrical equipment specifically includes: monitoring the risk of state assessment; analyzing the state load of the monitored electrical equipment, the analysis according to the state load of the monitored electrical equipment specifically includes: analyzing the various possibilities of the load of the monitored electrical equipment, mainly based on the monitoring data and the evaluation results of the vacancy value to comprehensively judge the electrical equipment Whether there is a short circuit or a fire in the equipment; analyze whether the electrical equipment has caught fire or a short circuit based on the load of the electrical equipment measured by the secondary load detector during the vacancy period; conduct a comprehensive evaluation of the load detection data before and after the vacancy and the data of the secondary load detector during the vacancy period, and perform load detection on the same electrical equipment under different fault conditions, compare the load detection results with the normal state, and analyze the possible fault state of the electrical equipment during the time period when the vacancy occurs through the location of the vacancy and the load detection data before and after the vacancy, and use this to analyze and predict the sudden situation of the electrical equipment; including: load characteristic analysis of electrical equipment; The load characteristic analysis of the electrical equipment specifically includes: performing load characteristic analysis based on load detection data of time periods with and without missing values of the electrical equipment under the same operating state; comparing and analyzing the load difference between the load detection data of the missing time period and the load difference between the non-vacant time period to judge the possibility of failure of the electrical equipment during use by the user, and using this to perform abnormal warning of the electrical equipment; comparing and taking the absolute value of the load detection data with the load detection data closest to the missing value in the acquired load detection data, and calculating the change ratio between the absolute value and the data without missing values, and performing risk assessment according to the difference ratio. The larger the difference ratio, the higher the risk. The higher the risk level, the higher the risk level of each electrical equipment is assessed, and the load characteristics under the current risk assessment are used to determine whether the current user's electrical equipment is operating normally; if the difference ratio of the current calculated in the missing value in the load detection data of the electrical equipment exceeds 20%, a risk level is added for every 10% excess to perform risk level assessment, and according to the risk level assessment, the transmission power of the electrical equipment is appropriately reduced to carry out risk management, and the load detection data of the current electrical equipment under the current risk level is stored in the database; the corresponding power protection is carried out based on the results of the analysis, including: protecting electrical equipment by analyzing the risk level.
2. The method according to claim 1, wherein: The method of obtaining the power status of the user's electrical equipment through load detection data includes: Obtain load detection data of electrical equipment through non-intrusive load detection equipment, and analyze the power consumption of different electrical equipment based on the load detection data; Obtaining the type of the corresponding electrical equipment and the power level of the corresponding electrical equipment according to the identification of the load detection data of the electrical equipment; including: using the load detection data to perform cluster analysis to infer the state of the electrical equipment; The cluster analysis using load detection data to infer the state of the electrical equipment specifically includes: The electrical equipment is analyzed based on the power consumption data actually obtained from the load detection. There are steady-state and transient time periods within the time period when the electrical equipment is running. The type of electrical equipment and the gear change of the electrical equipment are determined by combining the steady-state and transient power data, and the analysis is performed based on the load detection data; the electrical equipment that matches the current power consumption change is recorded, and the load detection data characteristics of the current equipment are recorded; in actual use, the corresponding electrical equipment is determined based on the previously existing power consumption characteristics; the clustering center of the power consumption characteristics of this electrical appliance is found out by using the MeanShift algorithm for the power consumption characteristic data of the wavelength of the electrical equipment, and the data is recorded; when the non-invasive load detection equipment is used for multiple different electrical appliances, cluster analysis is also performed based on different power consumption characteristics, the characteristic ranges of different electrical appliances are found out based on different power consumption characteristics, and the type of electrical equipment at this time is determined based on the existing electrical appliance characteristic records.
3. The method according to claim 1, wherein: The feasibility assessment is performed based on the predicted results, including: The regression analysis process compares the calculated regression function relationship with the vacancy value before and after, obtains the regression function characteristic value for prediction, and comprehensively evaluates the prediction results to conduct a feasibility assessment on the power consumption of the predicted vacancy value position; including: combining the feasibility assessment process of the secondary load tester; The feasibility assessment process of combining the secondary load tester specifically includes: By acquiring the detected data and the functional relationship, the filled part of the data at the detection time one second before the vacant value appears and one second after the vacant value ends is predicted, and the total output power, useful power, current and voltage, and the corresponding frequency and harmonic data are obtained for comprehensive analysis; the estimated power consumption data at the position corresponding to the vacant value is found for evaluation; the power consumption status data of the non-empty values before and after the vacant value in the load detection data is obtained for evaluation; during the time period when the non-invasive load detection equipment cannot obtain data, if the duration is short, the secondary load detector is temporarily not turned on to perform load detection data in the vacant time period Measurement; it is preset that when the vacancy time exceeds 5 seconds, the secondary load detector will automatically turn on and replace the load detection of the electrical equipment; when the data of the non-invasive load detection device returns to normal and continues to detect the data, the secondary load detection device will record the load detection data collected during the vacancy time period and automatically turn off the detection; the regression function relationship made by the vacancy value period of the load detection device is compared with the detection data of the secondary load detector during the vacancy time period to evaluate the feasibility of the regression function relationship, and then the comparison result is used to predict the actual status of the electrical equipment, and the differences that appear are analyzed and evaluated with the prediction results.
4. The method according to claim 1, wherein: The monitoring is performed based on the feasibility assessment results and the load detection data of the electrical equipment in the current state, including: Monitor the load detection data characteristics of each electrical equipment through the collected load detection data, store the collected abnormal power consumption characteristic data in the abnormal power consumption characteristic database, obtain and extract the power consumption characteristic data in real time to make a comprehensive judgment on whether the current user's power equipment has power safety hazards, and make a judgment based on the evaluation results and the monitoring of the load of the power equipment according to the feasibility evaluation process, and make appropriate adjustments to the user's power consumption; including: monitoring the risks of status evaluation; The monitoring of the risk of status assessment specifically includes: According to the feasibility assessment process combined with the secondary load tester, the load detection data of the secondary load tester when the load detection equipment is missing, and the load detection data of the time period of abnormal power consumption are obtained, and the characteristics of the load detection data under the abnormal power consumption are subjected to risk analysis, and the state of the power equipment in the missing value period is predicted, and the risk of the power equipment under abnormal state is judged, and the data characteristics and risk conditions under the missing condition at this time are recorded in the abnormal power consumption characteristic database for comparison with the subsequent monitoring of the load detection data.
5. The method according to claim 1, wherein: The results obtained through the analysis are used to perform corresponding power protection, including: According to the load characteristic analysis of the electrical equipment, a power restriction assessment is performed according to the risk level obtained from the analysis, and the load detection data of the electrical equipment in the time period of the vacant value is obtained to perform power restriction calculation, and an adjustment calculation is performed according to the risk level of the electrical equipment and the difference ratio of the corresponding load detection data exceeding the normal state, and the calculated result is fed back to the electric meter providing electricity, and the current on the live line is appropriately limited to the current and voltage input to this user to perform regulation; The protection of electrical equipment by analyzing risk levels specifically includes: The risk level calculated during the period of the missing value is used to judge the dangerous situation of the electrical equipment, and whether the electrical equipment has a short circuit or a fire. The risk level obtained and the load difference ratio between the corresponding vacant value time period and the normal situation are used for forecast analysis to predict the electrical equipment with the possibility of fire or failure, and the electrical equipment with the possibility of fire or failure is protected by limiting its output power. If necessary, the power supply needs to be cut off to ensure the safety of users' electricity use; the possibility of fire or short circuit failure of the electrical equipment is judged by calculating the difference ratio of the load detection data of the electrical equipment in the vacant value time period, and the difference ratio and risk level of the corresponding data of current, voltage, power, frequency and harmonics are obtained respectively, and the weights of current, voltage, power, frequency and harmonics are evenly distributed, and multiplied and summed with the corresponding difference ratio respectively to obtain the comprehensive difference ratio, and then judge whether it exceeds 20% of the non-vacant value. If it exceeds the corresponding range, the electrical equipment needs to be limited in proportion, and if it exceeds 100%, a power outage is required.
