Intelligent electric meter and intelligent learning electricity larceny prevention system
The real-time monitoring of smart meters and the identification of electricity theft characteristics through linear regression algorithms solve the problem of high-tech electricity theft that is difficult to prevent, achieve more accurate identification of electricity theft and timely defense, and reduce the risk of misjudgment.
Patent Information
- Application Number
- CN202410522918.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technology cannot effectively prevent high-tech electricity theft methods. The diverse characteristics of electricity theft make identification difficult. Traditional anti-electricity theft methods cannot detect and prevent electricity theft in a timely manner.
Design a smart meter, including a detection module, a storage module, an identification module and a defense module. By monitoring the smart meter information and changes in the surrounding environment in real time, a linear regression algorithm is used to build a learning model, identify the characteristics of electricity theft and take defensive measures, such as cutting off the power supply. and record evidence.
It improves the accurate identification and defense efficiency of electricity theft, reduces the possibility of misjudgment, safeguards customer interests in a timely manner, provides power supply companies with evidence of electricity theft incidents, and improves the learning model.
Smart Images

Figure CN118624978A
Abstract
Description
Technical Field
[0001] The invention relates to the field of smart electric meters and smart learning anti-electricity theft learning, in particular to a smart electric meter and a smart learning anti-electricity theft system. Background Art
[0002] Smart meters are smart terminals of smart grids. In addition to the basic electricity consumption metering function of traditional electric energy meters, in order to adapt to the use of smart grids and new energy, they also have two-way multi-rate metering function, user-side control function, two-way data communication function with multiple data transmission modes, anti-electricity theft function and other intelligent functions. Smart meters represent the development direction of intelligent terminals for end users of energy-saving smart grids in the future. At present, the anti-electricity theft technology of electronic electric energy meters is becoming more and more important in the electric energy meter industry. The electric energy meter markets in different countries and regions require anti-electricity theft metering of electric energy meters to varying degrees. However, in daily life, the phenomenon of electricity theft often occurs when the electric energy meter counter is damaged by modifying the smart meter or damaging the Hall magnetic sensor in the meter, and then applying an external magnetic field to damage the electric energy meter counter.
[0003] 1. With the continuous development of science and technology, electricity theft has gradually become more high-tech, often using high-frequency, high-magnetic, and high-voltage means to interfere with the operation of electrical components. Traditional anti-electricity theft methods cannot detect and prevent this kind of electricity theft in time.
[0004] 2. The characteristics of electricity theft are diverse, resulting in an endless stream of characteristics, which are difficult to identify. It is necessary to use intelligent learning technology to improve the efficiency and accuracy of anti-electricity theft to ensure the safe and stable operation of the power system. Summary of the invention
[0005] In order to solve the above technical problems, the present invention provides a smart electricity meter and a smart learning anti-electricity theft system to solve the problems that high-tech electricity theft means in the prior art are difficult to effectively prevent.
[0006] A smart electric meter includes a detection module, a storage module, an identification module and a defense module;
[0007] The smart meter monitoring module is used to monitor the smart meter information status, surrounding image changes, and environmental change information in real time and transmit them to the recognition module;
[0008] The storage module is used to receive and store information from the intelligent learning anti-electricity theft system and
[0009] The smart meter identification module is used to connect the output end of the storage module and the output end of the monitoring module, identify the smart meter change information monitored by the monitoring module and the electricity theft feature information recorded in the storage module in real time, and send the identification result to the defense module;
[0010] The smart meter defense module is used to take defense measures against the recognition results of the recognition module and report the recognition results to the power supplier and the power user.
[0011] Further, the smart meter monitoring module includes a data monitoring unit, a location monitoring unit and an image monitoring unit;
[0012] The data monitoring unit is used to monitor the data changes of smart meters;
[0013] The location monitoring unit is used to monitor the location information of the smart meter;
[0014] The image monitoring unit is used to monitor the image of the environment around the smart meter and record evidence.
[0015] Further, the smart meter storage module includes a power theft characteristic information storage unit and a smart meter log storage unit;
[0016] The anti-electricity theft learning system storage unit is used to receive and store the electricity theft feature identification information transmitted by the intelligent learning anti-electricity theft system;
[0017] The smart meter log storage unit is used to store the smart meter historical data change information.
[0018] Furthermore, the identification module sends the identification result to the defense module only when the electricity theft behavior is identified.
[0019] Further, the smart meter defense module includes a defense measure unit and a communication unit;
[0020] The defense measure unit automatically implements defense measures according to the identification results sent by the identification module, including recording evidence, sounding an alarm, automatically locking and cutting off power;
[0021] The communication unit is used to send the real-time monitoring data records of the detection module, the image detection unit information and the environmental monitoring unit information to the relevant power supply enterprises when the defense module triggers the power theft defense.
[0022] Furthermore, the information retrieval module obtains the smart meter change information in the historical electricity theft events through the power supply enterprise data backup, including electricity theft feature information, electricity theft behavior information and electricity theft behavior response measures information;
[0023] The electricity theft characteristic information includes smart meter data change information and smart meter situation information.
[0024] Furthermore, the learning and analysis module includes a model building unit, an electricity theft behavior identification unit and an electricity theft behavior countermeasure learning unit;
[0025] The model building unit builds a learning model through a linear regression algorithm and performs training:
[0026] y=β0+β1x1+...+β n x n
[0027] Where y is the dependent variable (target variable); β0 represents the intercept, which means the value of y when all independent variables are 0. (β1, ..., β n ) represents the regression coefficient, which indicates the influence of each independent variable on the dependent variable. (x1, ..., x n ) represents the independent variable. The linear regression algorithm is used to linearly normalize the dependent variable of electricity theft characteristics and the electricity theft results. The training process of the optimal linear regression model is achieved by calculating the minimization of the loss (error) function. The loss (error) function formula is:
[0028] ∑(y i -(β0+β1x 1i +…+β n x ni )) 2
[0029] Where i represents the index of the sample. During the training process, the regression coefficients (β1, ..., β n ), so that the loss (error) function is minimized and the optimal linear regression model is obtained. This process uses the least squares method to find the regression coefficients (β1, ..., β n ) to achieve:
[0030] β=(X T X) -1 X T y
[0031] According to different independent variables X and dependent variables y, (β1, ..., β n ), by transposing the independent variable matrix X and multiplying it with itself, we get a matrix X T X, and then find its inverse matrix. Next, transpose and multiply the dependent variable vector y and X to get a vector X T y; finally, multiply the inverse matrix by this vector to obtain the regression coefficient β;
[0032] For each independent variable matrix, (β1, ..., β n ), and constantly adjust (β1, ..., β n ) is substituted into the loss (error) function formula, and the minimum value of the error function is obtained by taking the derivative of the loss (error) function. The minimum value of (β1, ..., β n ) is substituted into the linear regression formula to construct the optimal linear regression learning model;
[0033] The electricity theft behavior identification unit identifies the electricity theft behavior through the learning model established by the model establishment unit, with the electricity theft feature information as the independent variable and the electricity theft behavior information as the dependent variable;
[0034] The electricity theft countermeasure learning unit identifies and learns the electricity theft countermeasures through the learning model established by the model establishment unit, with the electricity theft behavior information as the independent variable and the electricity theft countermeasures as the dependent variable;
[0035] Furthermore, the data communication module includes a community server and a communication unit.
[0036] The community server is used to receive information transmitted by the learning analysis module, and process information interaction, data sharing and collaborative learning between users;
[0037] The communication unit is used for data transmission and communication between the smart meter and the community server.
[0038] Furthermore, the smart meter monitoring module includes an information monitoring unit, an environment monitoring unit and an image monitoring unit;
[0039] The data monitoring unit is used to monitor the data changes of the smart meter;
[0040] The environmental monitoring unit is used to monitor the temperature and humidity change information and location information around the smart meter;
[0041] The image monitoring unit is used to monitor the surrounding environment information of the smart meter.
[0042] Further, the smart meter storage module includes an anti-electricity theft learning system storage unit and a smart meter log storage unit;
[0043] The anti-electricity theft learning system storage unit is used to receive and store the electricity theft feature identification information transmitted by the intelligent learning anti-electricity theft system;
[0044] The smart meter log storage unit is used to store the smart meter historical data change information.
[0045] Further, the smart meter defense module includes a defense measure unit and a communication unit;
[0046] The defense measures unit automatically implements defense measures according to the countermeasure information provided by the electricity theft countermeasure learning unit, including cutting off power supply, recording evidence, automatically locking, and sounding an alarm; the communication unit sends the real-time monitoring data records of the detection module, the image detection unit information, and the environmental monitoring unit information to the relevant power supply company.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] 1. The present invention introduces a linear regression algorithm and constructs a learning model for training, so that a linear relationship is established between the electricity theft characteristic dependent variable and the electricity theft behavior. Compared with the traditional rule-based or threshold-based recognition method, this method can more accurately identify the electricity theft behavior and reduce the possibility of misjudgment.
[0049] 2. The present invention can monitor the information status of smart meters and changes in the surrounding environment in real time, including temperature, humidity, location information, etc., through the smart meter monitoring module. This real-time monitoring capability enables the anti-electricity theft system to respond quickly when theft occurs and take corresponding defensive measures, such as cutting off the power supply and recording evidence, etc., which timely protects the interests of customers, provides evidence for relevant power supply companies, fills in samples of electricity theft events, and improves the learning model. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of the present invention;
[0051] Figure 2 It is a flow chart of the learning module of the present invention;
[0052] Figure 3 It is a smart meter defense flow chart of an embodiment of the present invention. DETAILED DESCRIPTION
[0053] The following embodiments of the present invention are described in further detail in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0054] like Figure 1-3 As shown: The present invention provides a smart meter and a smart learning anti-electricity theft system, including a smart meter and a smart learning anti-electricity theft system, the smart learning anti-electricity theft system includes an information retrieval module, a learning analysis module, a data storage module and a data communication module; the smart meter includes a detection module, a storage module, an identification module and a defense module;
[0055] The information retrieval module is used to collect the change information of smart meters and the countermeasures of electricity theft in historical electricity theft events, and transmit them to the intelligent learning module;
[0056] The intelligent learning module is used to establish a learning model using an intelligent learning algorithm, identify electricity theft behaviors and countermeasures, and transmit the information after learning and analysis to the data management module;
[0057] The data management module is used to back up the data after learning and analysis in the intelligent learning module and transmit it to the data communication module;
[0058] The data communication module is used to transmit the information learned and analyzed by the learning module to the smart meter;
[0059] The smart meter storage module is used to receive and store the information transmitted by the smart electricity theft learning system, and the identification module can retrieve it at any time;
[0060] The smart meter monitoring module monitors the smart meter information status, surrounding image changes, and environmental change information in real time and transmits them to the recognition module; the smart meter recognition module is connected to the output end of the storage module and the output end of the monitoring module, and recognizes the smart meter change information monitored by the monitoring module and the electricity theft feature information recorded in the storage module in real time, and sends the recognition result to the defense module;
[0061] The smart meter defense module is used to take defense measures against the recognition results of the recognition module and report the recognition results to the power supplier and the power user.
[0062] Embodiment 1:
[0063] like Figure 1-2 As shown, in this embodiment, the information retrieval module obtains the smart meter change information in the historical electricity theft incidents through the power supply enterprise data backup, including electricity theft feature information, electricity theft behavior information and electricity theft behavior response measures information; the electricity theft feature information includes smart meter data change information and smart meter status information.
[0064] For example, in existing residential electricity use, the characteristic information of electricity theft is a sudden drop or interruption in the current data of the smart meter. The acts of electricity theft include destroying the smart meter, intercepting the circuit, etc. The countermeasures include cutting off the power supply, locking the meter and sounding the alarm.
[0065] The learning and analysis module includes a model building unit, an electricity theft behavior identification unit, and an electricity theft behavior countermeasure learning unit;
[0066] The model building unit builds a learning model through a linear regression algorithm and performs training:
[0067] y=β0+β1X1+…+β n x n
[0068] Where y is the dependent variable (target variable); β0 represents the intercept, which means the value of y when all independent variables are 0. (β1, ..., β n ) represents the regression coefficient, which indicates the influence of each independent variable on the dependent variable. (x1, ..., x n ) represents the independent variable. The linear regression algorithm is used to linearly normalize the dependent variable of electricity theft characteristics and the electricity theft results. The training process of the optimal linear regression model is achieved by calculating the minimization of the loss (error) function. The loss (error) function formula is:
[0069] ∑(y i -(β0+β1x 1i+…+β n x ni )) 2
[0070] Where i represents the index of the sample. During the training process, the regression coefficients (β1, ..., β n ), so that the loss (error) function is minimized and the optimal linear regression model is obtained. This process uses the least squares method to find the regression coefficients (β1, ..., β n ) to achieve:
[0071] β=(X T X) -1 X T y
[0072] According to different independent variables X and dependent variables y, (β1, ..., β n ) By transposing the independent variable matrix X and multiplying it by itself, we get a matrix X T X, and then find its inverse matrix. Next, transpose and multiply the dependent variable vector y and X to get a vector X T y; finally, multiply the inverse matrix by this vector to obtain the regression coefficient β;
[0073] For each independent variable matrix, (β1, ..., β n ), and constantly adjust (β1, ..., β n ) is substituted into the loss (error) function formula, and the minimum value of the error function is obtained by taking the derivative of the loss (error) function. The minimum value of (β1, ..., β n ) is substituted into the linear regression formula to construct the optimal linear regression learning model;
[0074] For example:
[0075] Assume that a real data set is collected, including the following variables:
[0076] Electricity theft characteristic information (independent variables): electricity consumption, electricity consumption time period, type of electricity-using equipment, etc.
[0077] Electricity theft behavior information (dependent variable): whether electricity theft occurs.
[0078] The electricity theft feature information is used as the independent variable and the electricity theft behavior information is used as the dependent variable and substituted into the linear regression model formula.
[0079] For example, two electricity theft characteristics are selected as independent variables: electricity consumption (X1) and electricity consumption period (X2). The model is:
[0080] y=β0+β1x1+...+β n x n
[0081] Then, we collected 100 sample data, each sample including the observation values of electricity consumption and usage period, as well as the corresponding electricity theft behavior information (0 means no electricity theft occurred, 1 means electricity theft occurred).
[0082] Example of sample data:
[0083] |Power consumption (x1)|Power consumption section (x2)|Power theft behavior information (y)|
[0084] |100|0|1|
[0085] |200|2|0|
[0086] |150|1|0|
[0087] |…|…|…|
[0088] The regression coefficients are calculated by the least squares method to obtain the parameter estimates of the model, which can then be used to predict and explain the model.
[0089] Electricity theft feature information Whether to steal electricity Accuracy % Countermeasures The meter readings are abnormal and unstable yes 80 Monitoring module uploads images There is an unknown external device on the line yes 100 Defense module triggers alarm Abnormally low electricity consumption during peak hours yes 50 Evidence of changes in electricity meter records Electricity meter damage yes 50 Cut off the power supply to upload the fault situation
[0090] Compared with the traditional rule-based or threshold-based recognition methods in the prior art, the present invention introduces a linear regression algorithm and constructs a learning model for training, so that a linear relationship is established between the electricity theft characteristic dependent variable and the electricity theft behavior, which can more accurately identify the electricity theft behavior and reduce the possibility of misjudgment.
[0091] Embodiment 2: Figure 3 As shown, in this embodiment:
[0092] A set of electricity usage data including timestamps and readings was collected. We chose to transfer the information to the linear regression learning model in the intelligent learning anti-electricity theft system to fit the data and determine whether there is an abnormality in electricity theft through the residual.
[0093] Assume that we select timestamp as independent variable X and energy usage reading as dependent variable Y. We can use the timestamp set (x1, ..., x n ) and the energy reading set (y1, ..., y n ) into the linear regression fitting formula:
[0094] y=β0+β1x1+...+β n x n ,
[0095] The regression coefficients are obtained as follows (β1, ..., β n). Find the maximum value of the set and use the fitting formula to predict the new power usage data to get the predicted value. Finally, calculate the residual between the predicted value and the actual value: residual = predicted value - actual value.
[0096] If the residual exceeds a threshold, it is considered an anomaly.
[0097] It should be noted that the selection of the threshold value needs to be adjusted according to the actual situation and needs, and can be determined based on statistical methods, empirical methods, or customized settings by the power supply company according to the power consumption area and power consumption type.
[0098] The smart meter monitoring module includes an information monitoring unit, an environment monitoring unit and an image monitoring unit; the data monitoring unit is used to monitor the data changes of the smart meter, the environment monitoring unit is used to monitor the temperature and humidity change information and location information around the smart meter, and the image monitoring unit is used to monitor the environment information around the smart meter. The smart meter storage module includes an anti-electricity theft learning system storage unit and a smart meter log storage unit; the anti-electricity theft learning system storage unit is used to receive and store the electricity theft feature identification information transmitted by the smart learning anti-electricity theft system;
[0099] The smart meter log storage unit is used to store the historical data change information of the smart meter. The smart meter defense module includes a defense measure unit and a communication unit; the defense measure unit automatically implements defense measures according to the countermeasure information provided by the electricity theft response learning unit, including cutting off the power supply, recording evidence, automatically locking, and sounding an alarm; the communication unit sends the real-time monitoring data records of the detection module, the image detection unit information, and the environmental monitoring unit information to the relevant power supply company.
[0100] For example, according to a type of electricity theft feature information sent by the intelligent learning anti-electricity theft system, the smart meter has been tampered with and damaged; the corresponding electricity theft behavior is a type of electricity theft that interferes with the smart meter; the countermeasure is to lock the meter and record the evidence.
[0101] When the smart meter is interfered with, the identification module identifies the type of electricity theft and sends the identification result to the defense module. The defense measure unit immediately locks the meter, and the communication unit sends the image information taken by the image monitoring unit, the relevant data when the smart meter is interfered with, the surrounding environment information and geographic location information of the smart meter to the relevant power supply company.
[0102] The smart meter monitoring module can monitor the information status of the smart meter and changes in the surrounding environment in real time, including temperature, humidity, location information, etc. Compared with the existing technology that requires manual confirmation and detection, this real-time monitoring capability enables the anti-theft system to respond quickly when theft occurs and take corresponding defensive measures, such as cutting off the power supply and recording evidence, which timely protects the interests of customers, provides evidence for relevant power supply companies, fills in samples of theft incidents, and improves the learning model.
[0103] The embodiments of the present invention are provided for the purpose of illustration and description. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A smart electric meter, characterized in that: It includes monitoring module, storage module, identification module and defense module; The smart meter monitoring module is used to monitor the smart meter information status, surrounding image changes, and environmental change information in real time and transmit them to the identification module; The storage module is used to receive and store information from the intelligent learning anti-electricity theft system and the smart meter log information; The smart meter identification module is used to connect the output end of the storage module and the output end of the monitoring module, identify the smart meter change information monitored by the monitoring module and the electricity theft feature information recorded in the storage module in real time, and send the identification result to the defense module; The smart meter defense module is used to take defense measures against the identification result of the identification module and report the identification result to the power supplier and the power user.
2. A smart electric meter as claimed in claim 1, characterized in that: The smart meter monitoring module includes a data monitoring unit, a position monitoring unit and an image monitoring unit; The data monitoring unit is used to monitor the data changes of the smart meter; The location monitoring unit is used to monitor the location information of the smart meter; The image monitoring unit is used to monitor the image of the surrounding environment of the smart meter and record evidence.
3. A smart electric meter as claimed in claim 1, characterized in that: The smart meter storage module includes a power theft feature information storage unit and a smart meter log storage unit; The anti-electricity theft learning system storage unit is used to receive and store the electricity theft feature identification information transmitted by the intelligent learning anti-electricity theft system; The smart meter log storage unit is used to store the smart meter historical data change information.
4. A smart electric meter as claimed in claim 1, characterized in that: The identification module sends the identification result to the defense module only when the electricity theft behavior is identified.
5. The smart electric meter according to claim 1, characterized in that: The smart meter defense module includes a defense measure unit and a communication unit; The defense measure unit automatically implements defense measures according to the identification result sent by the identification module, including recording evidence, sounding an alarm, automatically locking and cutting off power; The communication unit is used to send the real-time monitoring data record of the detection module, the image detection unit information and the environment monitoring unit information to the relevant power supply enterprise when the defense module triggers the power theft defense.
6. An intelligent learning anti-electricity theft system, characterized by: Applicable to the smart meter according to any one of claims 1 to 5, the anti-electricity theft system comprises an information retrieval module, a learning and analysis module, a data storage module and a data communication module; The information retrieval module is used to collect information about changes in smart meters and countermeasures to electricity theft in historical electricity theft events, and transmit them to the intelligent learning module; The intelligent learning module is used to establish a learning model using an intelligent learning algorithm, identify electricity theft behaviors and countermeasures to electricity theft behaviors, and transmit the information after learning and analysis to the data management module; The data management module is used to back up the data learned and analyzed in the intelligent learning module and transmit it to the data communication module; The data communication module is used to transmit the information learned and analyzed by the learning module to the smart meter; The smart meter storage module is used to receive and store information transmitted by the smart electricity theft learning system, and can be retrieved by the identification module at any time.
7. The intelligent learning anti-electricity theft system as claimed in claim 6, characterized in that: The information retrieval module obtains the change information of the smart meter in the historical electricity theft events through the data backup of the power supply enterprise, including the electricity theft feature information, the electricity theft behavior information and the electricity theft behavior countermeasures information; The electricity theft characteristic information includes smart meter data change information and smart meter situation information.
8. The intelligent learning anti-electricity theft system as claimed in claim 6, characterized in that: The learning and analysis module includes a model building unit, an electricity theft behavior identification unit and an electricity theft behavior countermeasure learning unit; The model building unit builds a learning model through a linear regression algorithm and performs training: y=β0+β1x1+...+β n x n Where y is the dependent variable; β0 represents the intercept, which means the value of y when all independent variables are 0, (β1,...,β n ) represents the regression coefficient, which indicates the influence of each independent variable on the dependent variable, (x1, ..., x n ) represents the independent variable, and the linear regression algorithm is used to linearly normalize the dependent variable of the electricity theft feature and the electricity theft result. The training process of the optimal linear regression model is achieved by calculating the minimization error function. The error function formula is: ∑(y i -(β0+β1x 1i +...+b n x ni )) 2 Where i represents the index of the sample. During the training process, the regression coefficients (β1, ..., β n ), so that the error function is minimized and the optimal linear regression model is obtained. This process uses the least squares method to find the regression coefficients (β1, ..., β n ) to achieve: β=(X T X) -1 X T y According to different independent variables X and dependent variables y, (β1, ..., β n ), T represents the transpose symbol of the matrix. By transposing the independent variable matrix X and multiplying it with itself, a matrix X is obtained. T X, and then find its inverse matrix; then, transpose and multiply the dependent variable vector y and X to get a vector X T y; finally, multiply the inverse matrix by this vector to obtain the regression coefficient β; For each independent variable matrix, (β1, ..., β n ), and constantly adjust (β1, ..., β n ) is substituted into the error function formula, and the minimum value of the error function is obtained by taking the derivative of the error function. The minimum value (β1, ..., β n ) is substituted into the linear regression formula to construct the optimal linear regression learning model; The established mathematical model is sent to the electricity theft behavior identification unit and the electricity theft behavior countermeasure unit respectively; The electricity theft behavior identification unit identifies the electricity theft behavior through the learning model established by the model establishment unit, and the electricity theft feature information is used as the input independent variable X a , the information on electricity theft is used as the output dependent variable y b , the output dependent variable electricity theft behavior information y b ,transmit it to the countermeasure learning unit for electricity theft; The electricity theft countermeasure learning unit identifies and learns the electricity theft countermeasures through the learning model established by the model establishment unit, and the electricity theft behavior information is used as the input independent variable X b , the countermeasures information of electricity theft is used as the output dependent variable y c .
9. The intelligent learning anti-electricity theft system as claimed in claim 6, characterized in that: The data communication module includes a community server and a communication unit; The community server is used to receive data transmitted by the learning analysis module, and process information interaction, data sharing and collaborative learning between users; The communication unit is used for data transmission and communication between the smart meter and the community server.
