CN118209783A - Safe electric energy meter based on LI-FI communication technology - Google Patents

Safe electric energy meter based on LI-FI communication technology Download PDF

Info

Publication number
CN118209783A
CN118209783A CN202410612938.2A CN202410612938A CN118209783A CN 118209783 A CN118209783 A CN 118209783A CN 202410612938 A CN202410612938 A CN 202410612938A CN 118209783 A CN118209783 A CN 118209783A
Authority
CN
China
Prior art keywords
module
electric energy
energy meter
temperature
quantum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410612938.2A
Other languages
Chinese (zh)
Other versions
CN118209783B (en
Inventor
范东健
崔海峰
黄新伟
顾春雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Xiou Electronics Co ltd
Original Assignee
Jiangsu Xiou Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Xiou Electronics Co ltd filed Critical Jiangsu Xiou Electronics Co ltd
Priority to CN202410612938.2A priority Critical patent/CN118209783B/en
Priority claimed from CN202410612938.2A external-priority patent/CN118209783B/en
Publication of CN118209783A publication Critical patent/CN118209783A/en
Application granted granted Critical
Publication of CN118209783B publication Critical patent/CN118209783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to the technical field of electric energy meters and discloses a safe electric energy meter based on an LI-FI communication technology, which comprises a shell, wherein a plurality of indicator lamps are arranged at the top of the surface of the shell, a display screen is arranged at the bottom of each indicator lamp, a plurality of control buttons are arranged at the bottom of each display screen, and a loudspeaker is arranged at the bottom of each control button; the intelligent temperature measuring device is characterized in that a control system is arranged in the shell and comprises a microprocessor, a data storage module, an LI-FI communication module, a safety module, an intelligent measuring module, a temperature detection module, a power supply module, a display module and an interaction module. The safety electric energy meter not only improves the safety of data transmission, but also improves the metering precision through a temperature compensation technology, and provides powerful guarantee for the stable operation of an electric power system and the fair transaction of an electric power market.

Description

Safe electric energy meter based on LI-FI communication technology
Technical Field
The invention relates to the technical field of electric energy meters, in particular to a safe electric energy meter based on an LI-FI communication technology.
Background
With the rapid development of global economy and the growth of population, the demand for energy is also continuously rising. Electric energy is one of the main energy sources in modern society, and the supply and management efficiency of the electric energy is directly related to the economic development of the country and the daily life of people. The electric energy meter is used as core metering equipment in the electric power system, and the accuracy and the safety of the electric energy meter have important significance for the stable operation of the electric power system and the fair trade of the electric power market.
However, conventional electric energy meters have a number of safety hazards during data transmission. Because the traditional electric energy meter mainly adopts a wireless communication mode to carry out data transmission with a power supply company, the data is easy to be illegally intercepted and tampered in the transmission process, and particularly in the wireless communication process, the risk is more remarkable. In addition, environmental factors such as temperature change can also influence the measurement accuracy of the electric energy meter, so that metering errors are caused, and stable operation of the electric power system and fair trade of the electric power market are influenced.
In order to solve these problems, researchers and technical development teams are continually exploring new technologies to improve the safety and accuracy of the electric energy meter. In this context, a secure electric energy meter based on LI-FI communication technology has been developed. LI-FI communication technology, namely optical wireless communication technology, utilizes visible light as a transmission medium, has higher data transmission rate and safety, and can effectively resist illegal attacks and eavesdropping. Compared with the traditional wireless communication technology, the LI-FI communication technology has higher transmission rate, larger transmission capacity and stronger safety, and can meet the high standard requirement of a modern power system on an electric energy meter. Therefore, the invention provides a safe electric energy meter based on an LI-FI communication technology.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a safe electric energy meter based on an LI-FI communication technology, which aims to overcome the technical problems existing in the prior related art.
For this purpose, the invention adopts the following specific technical scheme:
The safe electric energy meter based on the LI-FI communication technology comprises a shell, wherein a plurality of indicator lamps are arranged at the top of the surface of the shell, a display screen is arranged at the bottom of each indicator lamp, a plurality of control buttons are arranged at the bottom of each display screen, and a loudspeaker is arranged at the bottom of each control button;
The intelligent metering device comprises a shell, and is characterized in that a control system is arranged in the shell and comprises a microprocessor, a data storage module, an LI-FI communication module, a safety module, an intelligent metering module, a temperature detection module, a power module, a display module and an interaction module, wherein the microprocessor is sequentially connected with the data storage module, the LI-FI communication module, the safety module, the intelligent metering module, the temperature detection module, the power module, the display module and the interaction module;
The microprocessor is used for calculating and logically processing data in the control system;
The data storage module is used for storing electric energy use data, temperature data of the electric energy meter, user setting and system configuration information;
The LI-FI communication module is used for safely sending the electric energy use data to a power supply company and receiving the data and instructions of the power supply company;
the security module is used for encrypting and authenticating the identity of the transmission data through a quantum encryption technology;
the intelligent metering module is used for compensating and correcting the electricity consumption by using a temperature compensation technology to obtain accurate electricity consumption of a user, and is also used for detecting abnormal electricity consumption of the user by using an abnormal detection algorithm;
the temperature detection module is used for detecting and recording the ambient temperature inside the electric energy meter in real time;
The power supply module is used for providing power for the electric energy meter and all electronic components in the electric energy meter;
The display module is used for displaying the electric energy use data, the alarm information and the energy-saving advice to a user;
And the interaction module is used for inquiring the power consumption information by a user in a voice mode.
Preferably, the LI-FI communication module comprises a light emitting module and a light receiving module;
the light emitting module is used for converting data into visible light signals to be sent;
the light receiving module is used for receiving the visible light signal and converting the visible light signal into an electric signal for decoding.
Preferably, the security module comprises a channel establishment module, a quantum key issuing module, a shared key generation module, an estimation amplification module, a key generation module and an encryption authentication module which are connected in sequence;
The channel establishing module is used for establishing a quantum channel for transmitting quantum bits and a classical channel for transmitting classical information and encrypted data;
the quantum key issuing module is used for generating and distributing a quantum key through a quantum key distribution technology;
The shared key generation module is used for generating an original shared key for communication between a sender and a receiver;
The estimating and amplifying module is used for estimating error rates of the quantum channel and the classical channel, and reducing potential information leakage through a privacy amplifying technology when the error rate is lower than a preset threshold value;
the key generation module is used for generating a final shared key by executing an information coordination technology;
the encryption authentication module is used for encrypting the transmitted data by utilizing the final shared secret key and authenticating identities of the two communication parties during communication.
Preferably, the quantum key issuing module, when generating and distributing a quantum key by a quantum key distribution technique, includes:
establishing communication between a sender and a receiver; the sender encodes each quantum bit by randomly selecting a quantum state encoding mode;
The coded quantum bit is sent to a receiver through a quantum channel; the receiver receives the coded quantum bits and randomly selects a measurement base for measurement;
the sender and the receiver exchange the used coding and measuring base information through classical channels, and the same measuring base is selected as a part of the secret key to generate the quantum secret key.
Preferably, the estimating and amplifying module estimates error rates of the quantum channel and the classical channel, and reduces potential information leakage by privacy amplification technology when the error rate is lower than a preset threshold, the estimating and amplifying module includes:
The sender and the receiver exchange a part of key bits generated in the quantum key distribution process through a safe classical channel disclosure;
The sender and the receiver calculate the error rate of the output sub-channel by comparing the partial public key bits, if the error rate exceeds a preset threshold value, the round of key distribution is abandoned, and the sender and the receiver restart, if the error rate does not exceed the preset threshold value, the error correction protocol is used for correcting the error in the key;
a new shared key is generated between the sender and the receiver by combining the original shared key through error correction and privacy amplification algorithms.
Preferably, the intelligent metering module comprises a temperature compensation module, an electric energy calculation module and an abnormality detection module which are connected in sequence;
the temperature compensation module is used for adjusting the measurement parameters of the electric energy meter based on temperature change by using a temperature compensation algorithm;
the electric energy calculation module is used for measuring the electricity consumption of the user according to the adjusted measurement parameters;
The abnormality detection module is used for detecting abnormal electricity consumption conditions of users by using an abnormality detection algorithm.
Preferably, the temperature compensation module when adjusting the measurement parameters of the electric energy meter based on the temperature change by using a temperature compensation algorithm comprises:
Detecting and recording the environmental temperature inside the electric energy meter in real time through a temperature detection module, and performing filtering and denoising treatment;
outputting a temperature error compensation value corresponding to the current ambient temperature by using a temperature compensation model;
And adjusting the measurement parameters of the electric energy meter according to the calculated temperature error compensation value, wherein the measurement parameters comprise gain and bias.
Preferably, the calculation formula of the temperature compensation model is:
Where ΔE (T) represents a measurement error compensation value at temperature T; t represents a reference temperature when the electric energy meter is calibrated; a represents a temperature coefficient; b represents the bias term.
Preferably, the adjusting the measurement parameter of the electric energy meter according to the calculated temperature error compensation value includes:
When the measured value is smaller than the theoretical value, the gain of the current coil is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the gain of the current coil is decreased based on the temperature error compensation value;
When zero drift exists, the measured value is smaller than the theoretical value, the bias parameter is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the bias parameter is decreased based on the temperature error compensation value.
Preferably, the anomaly detection module when detecting abnormal electricity consumption of the user by using an anomaly detection algorithm includes:
Acquiring historical electricity utilization data of a user, preprocessing the historical electricity utilization data, and constructing a training set based on the preprocessed electricity utilization data;
Training the long-term and short-term memory network model through a training set, and performing performance evaluation by using a cross-validation method;
Acquiring the current electricity consumption of a user, inputting a trained long-period and short-period memory network model, and outputting corresponding predicted electricity consumption based on the trained long-period and short-period memory network model;
And calculating an error between the current power consumption and the predicted power consumption, and when the error result exceeds a preset error range, judging the power consumption as an abnormal power consumption condition and sending out an alarm.
The beneficial effects of the invention are as follows:
According to the invention, the LI-FI communication technology is adopted to realize safe transmission of the electric energy using data, so that the safety of data transmission is improved, the transmitted data is encrypted and authenticated by utilizing the quantum encryption technology, the data is effectively prevented from being stolen and tampered in the transmission process, and the safety of the data in the transmission process is ensured. In addition, through integrating the temperature detection module, the internal environment temperature of the electric energy meter is monitored in real time, and the measurement parameters are automatically adjusted by combining a temperature compensation algorithm, so that the influence of temperature change on the measurement precision is reduced, and the precision of electric energy metering is effectively improved; the abnormal electricity consumption condition of the user is detected through the abnormal detection algorithm, the potential safety hazard of the electric power system is found and prevented in time, and compared with the traditional electric energy meter, the safe electric energy meter not only improves the safety of data transmission, but also improves the metering precision through the temperature compensation technology, and provides powerful guarantee for the stable operation of the electric power system and the fair transaction of the electric power market.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a safe electric energy meter based on LI-FI communication technology according to an embodiment of the invention;
Fig. 2 is a block diagram of a control system in a secure electric energy meter based on LI-FI communication technology according to an embodiment of the present invention.
In the figure:
1. A housing; 2. an indicator light; 3. a display screen; 4. a control button; 5. a speaker; 6. a microprocessor; 7. a data storage module; 8. an LI-FI communication module; 81. a light emitting module; 82. a light receiving module; 9. a security module; 91. a channel establishment module; 92. a quantum key issuing module; 93. a shared key generation module; 94. an estimation amplification module; 95. a key generation module; 96. an encryption authentication module; 10. an intelligent metering module; 101. a temperature compensation module; 102. an electric energy calculation module; 103. an anomaly detection module; 11. a temperature detection module; 12. a power module; 13. a display module; 14. and an interaction module.
Detailed Description
For the purpose of further illustrating the various embodiments, the present invention provides the accompanying drawings, which are a part of the disclosure of the present invention, and which are mainly used to illustrate the embodiments and, together with the description, serve to explain the principles of the embodiments, and with reference to these descriptions, one skilled in the art will recognize other possible implementations and advantages of the present invention, wherein elements are not drawn to scale, and like reference numerals are generally used to designate like elements.
According to the embodiment of the invention, a safe electric energy meter based on an LI-FI communication technology is provided.
The invention will be further described with reference to the accompanying drawings and the specific embodiments, as shown in fig. 1-2, a safe electric energy meter based on LI-FI communication technology according to an embodiment of the invention includes a housing 1, a plurality of indicator lamps 2 are arranged on the top of the surface of the housing 1, a display screen 3 is arranged at the bottom of the indicator lamps 2, a plurality of control buttons 4 are arranged at the bottom of the display screen 3, and a loudspeaker 5 is arranged at the bottom of the control buttons 4;
A control system is arranged in the shell 1, the control system comprises a microprocessor 6, a data storage module 7, an LI-FI communication module 8, a safety module 9, an intelligent metering module 10, a temperature detection module 11, a power supply module 12, a display module 13 and an interaction module 14, and the microprocessor 6 is sequentially connected with the data storage module 7, the LI-FI communication module 8, the safety module 9, the intelligent metering module 10, the temperature detection module 11, the power supply module 12, the display module 13 and the interaction module 14;
wherein the microprocessor 6 is used for calculating and logically processing data in the control system;
the data storage module 7 is used for storing electric energy use data, temperature data of the electric energy meter, user setting and system configuration information;
the LI-FI communication module 8 is used for safely sending the electric energy use data to a power supply company and receiving the data and instructions of the power supply company; specifically, the LI-FI communication module 8 includes a light emitting module 81 and a light receiving module 82;
The light emitting module 81 is configured to convert data into a visible light signal for sending;
the light receiving module 82 is configured to receive the visible light signal, and convert the visible light signal into an electrical signal for decoding.
The security module 9 is used for encrypting and authenticating the identity of the transmission data through a quantum encryption technology; specifically, the security module 9 includes a channel establishment module 91, a quantum key issuing module 92, a shared key generation module 93, an estimation amplification module 94, a key generation module 95, and an encryption authentication module 96, which are sequentially connected;
The channel establishing module 91 is configured to establish a quantum channel for transmitting quantum bits and a classical channel for transmitting classical information and encrypted data;
the quantum key issuing module 92 is configured to generate and distribute a quantum key through a quantum key distribution technology; the quantum key issuing module 92 includes, when generating and distributing a quantum key by a quantum key distribution technique: establishing communication between a sender and a receiver; the sender encodes each quantum bit by randomly selecting a quantum state encoding mode; the coded quantum bit is sent to a receiver through a quantum channel; the receiver receives the coded quantum bits and randomly selects a measurement base for measurement; the sender and the receiver exchange the used coding and measuring base information through classical channels, and the same measuring base is selected as a part of the secret key to generate the quantum secret key.
The shared key generating module 93 is configured to generate an original shared key for communication between a sender and a receiver;
The estimation amplification module 94 is configured to estimate error rates of the quantum channel and the classical channel, and reduce potential information leakage by using a privacy amplification technique when the error rate is lower than a preset threshold; the estimating and amplifying module 94 estimates the error rates of the quantum channel and the classical channel, and reduces the potential information leakage by the privacy amplifying technique when the error rate is lower than a preset threshold value, including: the sender and the receiver exchange a part of key bits generated in the quantum key distribution process through a safe classical channel disclosure; the sender and the receiver calculate the error rate of the output sub-channel by comparing the partial public key bits, if the error rate exceeds a preset threshold value, the round of key distribution is abandoned, and the sender and the receiver restart, if the error rate does not exceed the preset threshold value, the error correction protocol is used for correcting the error in the key; a new shared key is generated between the sender and the receiver by combining the original shared key through error correction and privacy amplification algorithms.
The key generation module 95 is configured to generate a final shared key by performing an information coordination technique;
Information coordination technology (Information Reconciliation) is a key step in the Quantum Key Distribution (QKD) process to ensure that the original shared key generated between sender (Alice) and receiver (Bob) is identical.
Specifically, alice and Bob use an information coordination algorithm to process the keys they share. These algorithms can help them correct errors that may occur during transmission without exposing the key; the information coordination algorithm will detect and flag potentially erroneous bits. These errors are due to imperfections in the quantum channel or other external disturbances. Alice and Bob correct the detected erroneous bits by an error correction algorithm. These algorithms are typically based on error correction codes, such as hamming codes or more complex codes; after the information coordination and privacy amplification steps, alice and Bob get a final shared key that is corrected and scaled to be used to encrypt their communications.
Information coordination technology is critical to ensure QKD utility because it helps Alice and Bob generate a reliable shared key from raw qubit measurements, even in the presence of noise and interference. In this way, QKD provides a secure key exchange mechanism that can be used for a variety of cryptographic applications, including secure communications and digital signatures.
The encryption authentication module 96 is configured to encrypt the transmitted data with the final shared key, and perform identity authentication on both communication parties during communication.
The intelligent metering module 10 is configured to compensate and correct the electricity consumption by using a temperature compensation technology to obtain accurate electricity consumption of a user, and is further configured to detect abnormal electricity consumption of the user by using an anomaly detection algorithm; specifically, the intelligent metering module 10 includes a temperature compensation module 101, an electric energy calculation module 102 and an abnormality detection module 103, which are sequentially connected;
The temperature compensation module 101 is configured to adjust a measurement parameter of the electric energy meter based on a temperature change by using a temperature compensation algorithm; the temperature compensation module 101 includes, when using a temperature compensation algorithm to adjust a measurement parameter of the electric energy meter based on a temperature change:
1) Detecting and recording the environmental temperature inside the electric energy meter in real time through a temperature detection module, and performing filtering and denoising treatment;
integrating a temperature detection module into an electric energy meter is an important function, as temperature changes may affect the measurement accuracy of the electric energy meter. The following steps are how to detect and record the internal environment temperature of the electric energy meter in real time through the temperature detection module, and filter and denoise the electric energy meter:
After the electric energy meter is started, the temperature detection module continuously reads the temperature inside the electric energy meter, and the temperature data can be sampled according to a preset time interval (for example, every second or every minute); the collected temperature data is stored in a data storage module inside the electric energy meter for subsequent analysis and processing, and the data record should include a time stamp to facilitate tracking and analyzing the change of temperature with time; filtering the acquired temperature data to eliminate noise and random fluctuations, wherein common filtering methods include a low-pass filter, a moving average filter or a more complex filtering algorithm (such as a Kalman filter); meanwhile, a user interface of the electric energy meter displays real-time temperature reading and a temperature change trend chart so that a user can know the working environment of the electric energy meter; and periodically carrying out statistical analysis on the temperature data so as to know the working environment and potential fault risks of the electric energy meter, and generating a temperature change report for maintenance personnel or users to refer to.
Through integrating the temperature detection module and implementing the steps, the electric energy meter can more accurately measure the electric energy consumption, and meanwhile, the environmental adaptability and the reliability of the electric energy meter are improved.
2) Outputting a temperature error compensation value corresponding to the current ambient temperature by using a temperature compensation model; the calculation formula of the temperature compensation model is as follows:
Where ΔE (T) represents a measurement error compensation value at temperature T; t 0 represents a reference temperature when the electric energy meter is calibrated; a represents a temperature coefficient; b represents the bias term.
3) And adjusting the measurement parameters of the electric energy meter according to the calculated temperature error compensation value, wherein the measurement parameters comprise gain, bias and the like. The adjusting the measurement parameters of the electric energy meter according to the calculated temperature error compensation value comprises the following steps:
When the measured value is smaller than the theoretical value, the gain of the current coil is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the gain of the current coil is decreased based on the temperature error compensation value; when zero drift exists, the measured value is smaller than the theoretical value, the bias parameter is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the bias parameter is decreased based on the temperature error compensation value.
The electric energy calculation module 102 is configured to measure the electricity consumption of the user according to the adjusted measurement parameter;
Specifically, the power consumption of the user is measured according to the adjusted measurement parameters (including gain and bias, etc.), and the following steps are generally involved:
1) And acquiring the adjusted gain, offset and other measurement parameters. Gain adjustment is typically used to amplify or reduce the magnitude of an electrical signal to accommodate a different range of power usage. The bias adjustment is used to change the starting point of the electrical signal in order to accurately measure the amount of electricity used.
2) After the measurement parameters are adjusted, initializing the electric energy meter to ensure that all the settings are correct and effective.
3) The electric energy meter monitors the electricity consumption condition of a user in real time and records parameters such as current and voltage. And according to the adjusted measurement parameters, the electric energy meter calculates and displays the electricity consumption in real time.
4) The electric energy meter records the measured electricity consumption data and stores the data in the internal data storage module. These data may be recorded in chronological order for subsequent data analysis and processing.
5) The measured electricity consumption data is transmitted to a data center of the power supply company periodically or in real time. In the transmission process, the data privacy and integrity are protected by adopting a quantum encryption technology.
6) The user interface of the electric energy meter displays real-time electricity consumption reading, so that a user can know own electricity consumption condition at any time.
7) The power supply company regularly carries out statistical analysis on the power consumption data of the user so as to know power consumption trend and abnormal conditions. The electricity usage report may be generated for reference by a user or a power company, as desired.
Through the steps, the electric energy meter can accurately measure the electricity consumption of the user according to the adjusted measurement parameters and provide real-time and reliable electricity consumption information. This is of great importance for stable operation of the power system and fair trading of the power market. Meanwhile, the user can also take corresponding energy-saving measures by knowing the power consumption condition of the user, so that the energy consumption is reduced.
The anomaly detection module 103 is configured to detect abnormal electricity consumption of a user by using an anomaly detection algorithm.
Specifically, the anomaly detection module 103 includes, when detecting a user abnormal electricity consumption condition using an anomaly detection algorithm:
1) Acquiring historical electricity utilization data of a user, preprocessing the historical electricity utilization data, and constructing a training set based on the preprocessed electricity utilization data;
In order to construct a training set based on historical electricity data, the historical electricity data of a user needs to be acquired first, and then the data is preprocessed. The following are the basic steps of acquiring and preprocessing data:
Historical electricity data is extracted from a database of an electric company or a historical record of a user electric energy meter. The authenticity and integrity of the data is ensured, as the reliability of the data is critical to the training of the model.
Noise and inconsistencies in the data are removed, such as removing obvious outliers or correcting erroneous records. The missing data is processed, and the missing value can be selectively deleted or filled by interpolation or other methods.
The data is normalized or normalized to eliminate the effects of different scales and magnitude orders on model training. The data is transcoded, for example, to convert the classification features into numerical features.
Features that aid in model training, such as trends in power usage, periodicity, seasonality, etc., are extracted from the raw data. Significant features can be identified and constructed by technical means such as time series analysis, statistical methods, or machine learning algorithms.
The cleaned and converted data is divided into a training set, a validation set and a test set. The training set is used for training the model, the verification set is used for adjusting model parameters, and the test set is used for evaluating the final performance of the model.
If the amount of data is limited, it may be considered to use data enhancement techniques such as synthesizing new samples, adding noise, or applying data conversion methods to increase the diversity of the data and robustness of the model.
The preprocessed data is stored in a suitable data storage system, such as a database, file system, or cloud storage service, for subsequent model training and evaluation.
Through the above steps, a power usage dataset suitable for model training can be constructed. This data set will provide basic data support for power load prediction, energy efficiency analysis, or other power system applications.
2) Training the long-term and short-term memory network model through a training set, and performing performance evaluation by using a cross-validation method;
long short term memory network (LSTM) is a special type of Recurrent Neural Network (RNN) that is well suited for processing and predicting time series data, such as power usage data. The following is a step of training the LSTM model using a training set and performing performance evaluation using a cross-validation method:
The LSTM model architecture is designed, including determining the number of layers, the number of neurons per layer, activation functions, etc. Suitable loss functions and optimizers, such as Mean Square Error (MSE) and Adam optimizers, are selected.
The LSTM model is trained using a training set. During training, model loss and performance metrics, such as loss value, accuracy or recall, are monitored.
The model performance was evaluated using a cross-validation method. Cross-validation the training and evaluation process is repeated multiple times by dividing the data set into multiple subsets, alternately using one of the subsets as the test set and the remaining subset as the training set, to obtain a more stable and reliable performance evaluation result.
In each cross-validation iteration, the performance of the model is evaluated using the validation set. Performance metrics such as Mean Square Error (MSE), mean Absolute Error (MAE), or R-score are recorded.
Based on the cross-validation results, model parameters (e.g., learning rate, batch size, hidden layer size, etc.) are adjusted to optimize model performance. The training and evaluation process is repeated until the best parameter combination is found.
The final model was evaluated using the test set to verify its performance on the unseen data. If the test results are satisfactory, the model may be used for practical applications such as power load prediction.
The trained model is deployed to an actual application, such as integration into an anomaly monitoring module.
Through the steps, the LSTM model can be utilized to train electricity consumption data, and the performance of the model is evaluated by using a cross validation method, so that an accurate and reliable power load prediction model is obtained.
3) Acquiring the current electricity consumption of a user, inputting a trained long-period and short-period memory network model, and outputting corresponding predicted electricity consumption based on the trained long-period and short-period memory network model;
4) And calculating an error between the current power consumption and the predicted power consumption, and when the error result exceeds a preset error range, judging the power consumption as an abnormal power consumption condition and sending out an alarm.
In order to calculate the error between the current power consumption and the predicted power consumption and to give an alarm when the error exceeds a preset range, the following steps may be followed:
And comparing the real-time electricity consumption data with the predicted electricity consumption, and calculating the error between the real-time electricity consumption data and the predicted electricity consumption. Various error metrics may be used, such as Mean Square Error (MSE), mean Absolute Error (MAE), or Root Mean Square Error (RMSE).
An error range is set according to actual conditions and requirements and is used as a standard for judging abnormal electricity consumption. The range can capture real abnormal conditions and avoid false alarms.
When the calculated error exceeds the preset error range, the system judges the abnormal electricity utilization condition. Upon detection of an abnormal power usage condition, the system will trigger an alarm mechanism.
Recording all abnormal electricity consumption conditions and corresponding response measures. Reports are generated periodically and referenced by the power company, user or related regulatory authorities.
Through the steps, the electricity consumption condition can be effectively monitored, abnormal electricity consumption behavior can be timely found, corresponding measures are taken, and safe and stable operation of the power system is ensured.
The temperature detection module 11 is used for detecting and recording the ambient temperature inside the electric energy meter in real time;
In particular, commonly used temperature sensors include thermistors (such as NTC or PTC), thermocouples, or integrated circuit temperature sensors (such as TMP 006).
The power module 12 is used for providing power for the electric energy meter and all electronic components in the electric energy meter;
the display module 13 is used for displaying the electric energy use data, the alarm information and the energy saving advice to the user;
the interaction module 14 is configured to query the user for electricity consumption by means of voice.
Specifically, the interaction module is a system component for allowing a user to inquire about electricity consumption information through a voice mode. This module typically includes key technologies such as speech recognition, natural language processing, and speech synthesis so that a user can query the electricity consumption by voice command without manual operation. The following are the functions and components contained by the interaction module 14:
And (3) voice recognition: the user's voice input is converted into text information. Training may be performed using pre-recorded voice samples to identify specific voice patterns and commands.
Natural language processing: and analyzing the text output by the voice recognition, and understanding the query intention of the user. The model may be trained using machine learning algorithms to identify and respond to particular query types.
Information retrieval: relevant information is retrieved from a database or knowledge base according to the query intent of the user. Keyword matching, semantic matching and other techniques can be used to improve the accuracy of the search.
And (3) speech synthesis: the retrieved information is converted to speech output so that the user can receive the information audibly. Text-to-speech technology may be used to convert text information into natural, smooth speech.
Through the interaction module, the user can inquire electricity information such as current electricity consumption, electricity consumption history records, electricity bill and the like through voice. The interaction mode is convenient and quick, and the satisfaction degree of the user and the service quality of the power company can be improved.
In summary, by means of the technical scheme, the invention realizes safe transmission of the electric energy using data through the LI-FI communication technology, improves the safety of data transmission, encrypts and authenticates the transmitted data by utilizing the quantum encryption technology, effectively prevents the data from being stolen and tampered in the transmission process, and ensures the safety of the data in the transmission process. In addition, through integrating the temperature detection module, the internal environment temperature of the electric energy meter is monitored in real time, and the measurement parameters are automatically adjusted by combining a temperature compensation algorithm, so that the influence of temperature change on the measurement precision is reduced, and the precision of electric energy metering is effectively improved; the abnormal electricity consumption condition of the user is detected through the abnormal detection algorithm, the potential safety hazard of the electric power system is found and prevented in time, and compared with the traditional electric energy meter, the safe electric energy meter not only improves the safety of data transmission, but also improves the metering precision through the temperature compensation technology, and provides powerful guarantee for the stable operation of the electric power system and the fair transaction of the electric power market.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "configured," "connected," "secured," "screwed," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly through intermediaries, or in communication with each other or in interaction with each other, unless explicitly defined otherwise, the meaning of the terms described above in this application will be understood by those of ordinary skill in the art in view of the specific circumstances.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (10)

1. The safe electric energy meter based on the LI-FI communication technology comprises a shell (1) and is characterized in that a plurality of indicator lamps (2) are arranged at the top of the surface of the shell (1), a display screen (3) is arranged at the bottom of each indicator lamp (2), a plurality of control buttons (4) are arranged at the bottom of each display screen (3), and a loudspeaker (5) is arranged at the bottom of each control button (4);
The intelligent control system is characterized in that a control system is arranged in the shell (1) and comprises a microprocessor (6), a data storage module (7), an LI-FI communication module (8), a safety module (9), an intelligent metering module (10), a temperature detection module (11), a power module (12), a display module (13) and an interaction module (14), wherein the microprocessor (6) is sequentially connected with the data storage module (7), the LI-FI communication module (8), the safety module (9), the intelligent metering module (10), the temperature detection module (11), the power module (12), the display module (13) and the interaction module (14);
wherein the microprocessor (6) is used for calculating and logically processing data in the control system;
the data storage module (7) is used for storing electric energy use data, temperature data of the electric energy meter, user setting and system configuration information;
the LI-FI communication module (8) is used for safely sending the electric energy use data to a power supply company and receiving the data and instructions of the power supply company;
the security module (9) is used for encrypting and authenticating the identity of the transmission data through a quantum encryption technology;
The intelligent metering module (10) is used for compensating and correcting the electricity consumption by utilizing a temperature compensation technology to obtain accurate electricity consumption of a user, and is also used for detecting abnormal electricity consumption of the user by utilizing an abnormal detection algorithm;
The temperature detection module (11) is used for detecting and recording the ambient temperature inside the electric energy meter in real time;
The power module (12) is used for providing power for the electric energy meter and all electronic components in the electric energy meter;
the display module (13) is used for displaying the electric energy use data, the alarm information and the energy-saving advice to a user;
the interaction module (14) is used for inquiring electricity consumption information by a user in a voice mode.
2. The secure electric energy meter based on LI-FI communication technology according to claim 1, characterized in that the LI-FI communication module (8) comprises a light emitting module (81) and a light receiving module (82);
The light emitting module (81) is used for converting data into visible light signals to be transmitted;
the light receiving module (82) is used for receiving the visible light signal and converting the visible light signal into an electric signal for decoding.
3. The secure electric energy meter based on LI-FI communication technology according to claim 1, wherein the secure module (9) comprises a channel establishment module (91), a quantum key issuing module (92), a shared key generation module (93), an estimation amplification module (94), a key generation module (95) and an encryption authentication module (96) which are connected in sequence;
The channel establishing module (91) is used for establishing a quantum channel for transmitting quantum bits and a classical channel for transmitting classical information and encrypted data;
the quantum key issuing module (92) is used for generating and distributing a quantum key through a quantum key distribution technology;
The shared key generation module (93) is used for generating an original shared key of communication between a sender and a receiver;
The estimating and amplifying module (94) is configured to estimate error rates of the quantum channel and the classical channel, and reduce potential information leakage by using a privacy amplifying technique when the error rate is lower than a preset threshold;
the key generation module (95) is used for generating a final shared key by executing an information coordination technology;
The encryption authentication module (96) is used for encrypting the transmitted data by utilizing the final shared secret key and authenticating identities of the two communication parties during communication.
4. A secure electric energy meter based on LI-FI communication technology as claimed in claim 3, characterized in that the quantum key issuing module (92) when generating and distributing quantum keys by means of quantum key distribution technology comprises:
establishing communication between a sender and a receiver; the sender encodes each quantum bit by randomly selecting a quantum state encoding mode;
The coded quantum bit is sent to a receiver through a quantum channel; the receiver receives the coded quantum bits and randomly selects a measurement base for measurement;
the sender and the receiver exchange the used coding and measuring base information through classical channels, and the same measuring base is selected as a part of the secret key to generate the quantum secret key.
5. A secure electric energy meter based on LI-FI communication technology as claimed in claim 3, characterized in that the estimating and amplifying module (94) when estimating the error rate of the quantum channel and the classical channel and when reducing the potential information leakage by privacy amplification technology when the error rate is below a preset threshold comprises:
The sender and the receiver exchange a part of key bits generated in the quantum key distribution process through a safe classical channel disclosure;
The sender and the receiver calculate the error rate of the output sub-channel by comparing the partial public key bits, if the error rate exceeds a preset threshold value, the round of key distribution is abandoned, and the sender and the receiver restart, if the error rate does not exceed the preset threshold value, the error correction protocol is used for correcting the error in the key;
a new shared key is generated between the sender and the receiver by combining the original shared key through error correction and privacy amplification algorithms.
6. The safe electric energy meter based on the LI-FI communication technology according to claim 1, wherein the intelligent metering module (10) comprises a temperature compensation module (101), an electric energy calculation module (102) and an abnormality detection module (103) which are sequentially connected;
The temperature compensation module (101) is used for adjusting the measurement parameters of the electric energy meter based on temperature change by using a temperature compensation algorithm;
The electric energy calculation module (102) is used for measuring the electricity consumption of a user according to the adjusted measurement parameters;
The abnormality detection module (103) is used for detecting abnormal electricity consumption conditions of users by using an abnormality detection algorithm.
7. The LI-FI communication technology-based safety electric energy meter of claim 6, wherein the temperature compensation module (101) when adjusting the measurement parameters of the electric energy meter based on temperature variation using a temperature compensation algorithm comprises:
Detecting and recording the environmental temperature inside the electric energy meter in real time through a temperature detection module, and performing filtering and denoising treatment;
outputting a temperature error compensation value corresponding to the current ambient temperature by using a temperature compensation model;
And adjusting the measurement parameters of the electric energy meter according to the calculated temperature error compensation value, wherein the measurement parameters comprise gain and bias.
8. The safety electric energy meter based on the LI-FI communication technology as claimed in claim 7, wherein the calculation formula of the temperature compensation model is:
Where ΔE (T) represents a measurement error compensation value at temperature T; t 0 represents a reference temperature when the electric energy meter is calibrated; a represents a temperature coefficient; b represents the bias term.
9. The safety electric energy meter according to claim 8, wherein the adjusting the measurement parameters of the electric energy meter according to the calculated temperature error compensation value comprises:
When the measured value is smaller than the theoretical value, the gain of the current coil is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the gain of the current coil is decreased based on the temperature error compensation value;
When zero drift exists, the measured value is smaller than the theoretical value, the bias parameter is increased based on the temperature error compensation value, and when the measured value is larger than the theoretical value, the bias parameter is decreased based on the temperature error compensation value.
10. The secure electric energy meter based on LI-FI communication technology according to claim 6, wherein the anomaly detection module (103) when detecting abnormal electricity consumption of a user using an anomaly detection algorithm comprises:
Acquiring historical electricity utilization data of a user, preprocessing the historical electricity utilization data, and constructing a training set based on the preprocessed electricity utilization data;
Training the long-term and short-term memory network model through a training set, and performing performance evaluation by using a cross-validation method;
Acquiring the current electricity consumption of a user, inputting a trained long-period and short-period memory network model, and outputting corresponding predicted electricity consumption based on the trained long-period and short-period memory network model;
And calculating an error between the current power consumption and the predicted power consumption, and when the error result exceeds a preset error range, judging the power consumption as an abnormal power consumption condition and sending out an alarm.
CN202410612938.2A 2024-05-17 Safe electric energy meter based on LI-FI communication technology Active CN118209783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410612938.2A CN118209783B (en) 2024-05-17 Safe electric energy meter based on LI-FI communication technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410612938.2A CN118209783B (en) 2024-05-17 Safe electric energy meter based on LI-FI communication technology

Publications (2)

Publication Number Publication Date
CN118209783A true CN118209783A (en) 2024-06-18
CN118209783B CN118209783B (en) 2024-09-03

Family

ID=

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060035188A (en) * 2004-10-21 2006-04-26 엘에스산전 주식회사 Watt-hour meter and method with temperature sensor
CN105991285A (en) * 2015-02-16 2016-10-05 阿里巴巴集团控股有限公司 Identity authentication methods, devices and system applied to quantum key distribution process
CN208796070U (en) * 2018-10-10 2019-04-26 国网新疆电力有限公司信息通信公司 Radio ammeter managing and control system based on LIFI technology
CN111208329A (en) * 2020-03-03 2020-05-29 无锡市恒通电器有限公司 Take single-phase cost control smart electric meter of pronunciation voiceprint discernment
CN112614323A (en) * 2020-11-30 2021-04-06 国网山东省电力公司滨州供电公司 Electric energy meter with intranet switches function
CN113138362A (en) * 2021-05-11 2021-07-20 深圳市先行电气技术有限公司 Calibration method for automatically compensating electric energy metering error of electric energy meter
CN116930581A (en) * 2023-07-27 2023-10-24 煜邦电力智能装备(嘉兴)有限公司 Standard intelligent meter
CN117527196A (en) * 2023-10-27 2024-02-06 保定市兆微软件科技有限公司 Electric energy meter electricity consumption information processing system based on common secret key encryption
CN117614529A (en) * 2023-11-02 2024-02-27 浙江恒业电子股份有限公司 Electric energy meter based on LI-FI communication technology

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060035188A (en) * 2004-10-21 2006-04-26 엘에스산전 주식회사 Watt-hour meter and method with temperature sensor
CN105991285A (en) * 2015-02-16 2016-10-05 阿里巴巴集团控股有限公司 Identity authentication methods, devices and system applied to quantum key distribution process
CN208796070U (en) * 2018-10-10 2019-04-26 国网新疆电力有限公司信息通信公司 Radio ammeter managing and control system based on LIFI technology
CN111208329A (en) * 2020-03-03 2020-05-29 无锡市恒通电器有限公司 Take single-phase cost control smart electric meter of pronunciation voiceprint discernment
CN112614323A (en) * 2020-11-30 2021-04-06 国网山东省电力公司滨州供电公司 Electric energy meter with intranet switches function
CN113138362A (en) * 2021-05-11 2021-07-20 深圳市先行电气技术有限公司 Calibration method for automatically compensating electric energy metering error of electric energy meter
CN116930581A (en) * 2023-07-27 2023-10-24 煜邦电力智能装备(嘉兴)有限公司 Standard intelligent meter
CN117527196A (en) * 2023-10-27 2024-02-06 保定市兆微软件科技有限公司 Electric energy meter electricity consumption information processing system based on common secret key encryption
CN117614529A (en) * 2023-11-02 2024-02-27 浙江恒业电子股份有限公司 Electric energy meter based on LI-FI communication technology

Similar Documents

Publication Publication Date Title
Yan et al. Electricity theft detection base on extreme gradient boosting in AMI
Živković et al. Detection of false data injection attacks using unscented Kalman filter
US20230419425A1 (en) Method for monitoring operation of liquefied natural gas (lng) storage and internet of things system (iot) thereof
CN111932852B (en) Gas meter reading system based on state cryptographic algorithm and gas data transmission method thereof
CN107064428A (en) A kind of room air monitor and alarm system
CN113835336B (en) Multi-dimensional self-adaptive metering device patrol and timing method for supporting electric power spot market
CN117641157A (en) Meter reading method of electricity consumption information acquisition terminal
CN102089769A (en) Method of providing secure tamper-proof acquired data from process instruments
CN116341016B (en) Big data secure storage method and system
CN116095131B (en) Reservoir safety monitoring method based on Internet of things
CN118209783B (en) Safe electric energy meter based on LI-FI communication technology
CN117076888A (en) Preprocessing storage method for switch cabinet acquired data
CN117014817B (en) Intelligent tour inspection method and system for park equipment based on Internet of things
CN112532615B (en) Smart grid worm detection method
CN118209783A (en) Safe electric energy meter based on LI-FI communication technology
KR20210019086A (en) Utility meter devices, devices and methods for protecting utility meters and infrastructure
CN111366889B (en) Abnormal electricity utilization detection method for intelligent electric meter
CN117575816A (en) Financial data detection method and device, storage medium and electronic equipment
CN117596095A (en) Water and electricity collection and dip net based on edge calculation
CN116226937A (en) Block chain-based carbon effect code generation method and device, equipment and medium
US20090009359A1 (en) Method of Monitoring Commodity Consumption
Liang et al. Unsupervised BLSTM-Based Electricity Theft Detection with Training Data Contaminated
Sharma et al. Temporal and consumer driven cluster analysis for identification of FDI attacks in smart grid
JP2001307272A (en) Checking meter checking system and checking method
Yan et al. Adaptive electricity theft detection method based on load shape dictionary of customers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant