Method for heat source positioning and environment temperature influence elimination of electric energy meter and medium
By setting multiple temperature sensors on the electric energy meter and using a two-dimensional hotspot positioning algorithm using machine learning, the problem that the measurement accuracy of the electric energy meter is affected by ambient temperature and internal faults is solved, real-time warning and accurate measurement are achieved, and the equipment's reliability is improved. Reliability and security.
Patent Information
- Application Number
- CN202410819612.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The measurement accuracy of electric energy meters in the existing technology is affected by changes in ambient temperature and internal component failures or overheating problems. There is a lack of effective integration solutions to deal with these problems, resulting in the inability to accurately warn potential faults and fire risks in real time, and the electric energy meter's Reliability and security are difficult to guarantee.
An infrared temperature sensor is installed on the electric energy meter circuit board and multiple temperature sensors are installed on the internal circuit board. Combined with the two-dimensional hot spot positioning algorithm of machine learning, the environment and internal temperature are monitored in real time, abnormal conditions are analyzed, early warnings are issued, and compensation formulas are used Adjust measurement data to ensure the accuracy of measurement results, and monitor terminal temperatures and abnormal heating points.
Through real-time monitoring and analysis of temperature data, the operational reliability, safety and stability of the electric energy meter are improved, the accuracy of the measurement results is ensured, the risk of failure and fire is reduced, and the service life of the equipment is extended.
Smart Images

Figure CN118746376A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of metering equipment, and more specifically to a method and a medium for locating heat sources of electric energy meters and eliminating the influence of ambient temperature. Background Art
[0002] At present, the development level of the power system has reached a new height. Its characteristics are large power grids, large units, ultra-high voltage long-distance AC / DC hybrid transmission, the application of a large number of new technologies, and the introduction of market-oriented operation competition mechanisms. The structure and operation of the power grid are becoming more and more complex, which leads to new problems in the monitoring and control of the power system. The reliability requirements of ultra-large-scale power grid operation are increased, and the requirements for power metering and collection are further increased.
[0003] In the field of metering equipment technology, especially in application scenarios related to electric energy meters, accurate and reliable measurements are crucial. However, in actual use, the performance and accuracy of electric energy meters are often affected by many factors, including changes in ambient temperature and failure or overheating of internal components. Changes in ambient temperature will affect the temperature rise of the electric energy meter transformer, thereby affecting its measurement accuracy. At the same time, the components inside the electric energy meter may also overheat due to failure during long-term operation, which will not only further affect the measurement accuracy, but may also cause damage to the equipment or even fire risks.
[0004] In the prior art, the chip temperature obtained by AD sampling of the energy meter MCU itself is usually used to monitor the temperature of the environment and equipment. This method often has the following shortcomings:
[0005] 1. Lack of effective integrated solutions to simultaneously handle the problems of ambient temperature perception and fault heat source location.
[0006] 2. Traditional temperature monitoring and analysis methods may not be able to accurately warn of potential failures and fire risks in real time.
[0007] 3. For specific technical issues such as terminal temperature detection and ambient temperature perception, there is no perfect solution to ensure the reliability and safety of the electricity meter.
[0008] In view of the above problems, the present invention proposes a solution. Summary of the invention
[0009] In order to overcome the above-mentioned defects of the prior art, the present invention provides a method and medium for locating the heat source of an electric energy meter and eliminating the influence of ambient temperature, so as to solve the problems existing in the above-mentioned background technology.
[0010] To achieve the above object, the present invention provides the following technical solutions:
[0011] A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature comprises the following steps:
[0012] An infrared temperature sensor is arranged on the circuit board of the electric energy meter as an ambient temperature sensor;
[0013] Two temperature sensors are arranged on the internal circuit board of the electric energy meter;
[0014] According to the real-time collected ambient temperature data and internal temperature data of the energy meter, analyze whether there are any abnormalities in the environment and operating status of the energy meter, and issue early warnings for abnormal situations;
[0015] If an early warning is issued due to an abnormal situation, the metering accuracy of the energy meter is compensated according to the ambient temperature data and the internal temperature data to ensure the accuracy of the measurement results;
[0016] A two-dimensional hotspot location algorithm based on machine learning is used to predict the overall temperature distribution on the electric energy meter circuit board and monitor the terminal temperature and abnormal hot spots.
[0017] Preferably, the step of analyzing whether there is any abnormality in the environment where the electric energy meter is located is:
[0018] Filter, smooth and normalize the collected temperature data, and store and maintain historical temperature data over a period of time;
[0019] Machine learning and statistical analysis methods are used for anomaly detection. The historical mean and standard deviation are calculated based on historical data. The calculation formula is: Where μ represents the historical mean, σ represents the standard deviation, T i It is expressed as the temperature value at the i-th time point, and N is the total number of data points at that time;
[0020] The temperature sensor detects the current temperature data and calculates the abnormal coefficient based on the current temperature data. The calculation formula is: Where Z represents the anomaly coefficient, X represents the current temperature data, μ represents the historical mean, and σ represents the standard deviation. If |Z| exceeds the threshold, it is determined that an anomaly exists.
[0021] Preferably, the step of adjusting the metering data of the electric energy meter according to the ambient temperature data and the internal temperature data is:
[0022] Collect temperature and metering data over a period of time and calculate the transformer parameters of the energy meter under different temperature conditions;
[0023] The temperature coefficient α of the key components of the electric energy meter is determined by the data provided by the manufacturer, and the temperature coefficient of the transformer is calculated by the output change of the transformer. The calculation formula is: Where α represents the temperature coefficient of the transformer, ΔE represents the output change of the transformer, E is the output of the transformer at the reference temperature, ΔT represents the temperature change, and the temperature change calculation formula is ΔT=T int -T ref , where T ref Indicated as reference temperature, T int It means collecting temperature data on the internal circuit board in real time;
[0024] The original measurement data is corrected using the compensation formula to obtain accurate measurement results. The compensation formula is V comp =V meas ×(1+α×(T int -T ref )), where V comp It is expressed as the measured value after compensation, Vmeas is expressed as the original measured data, V ref Expressed as a measured value at reference temperature, T ref Indicated as reference temperature, T int It represents real-time collection of temperature data on the internal circuit board.
[0025] Preferably, the step of using a two-dimensional hotspot location algorithm based on machine learning to predict the overall temperature distribution on the circuit board of the electric energy meter is:
[0026] The temperature data T is collected in real time through the temperature sensor set on the internal circuit board i,j (t), where i and j represent the position coordinates of the sensor and t represents time;
[0027] To ensure data quality, missing values and outliers are processed and the temperature data is normalized using the minimum-maximum normalization, which is expressed as Where T min and T max are the minimum and maximum temperature values in the data set, respectively;
[0028] Extract the mean and standard deviation features within the sliding window, and its calculation expression is: Where ω represents the size of the window;
[0029] Select a convolutional neural network model and divide the data set into training set, validation set and test set;
[0030] The convolutional neural network model is trained using the data in the training set, with the temperature sensor location and time series features as input and the predicted temperature distribution as output;
[0031] After the model training is completed, the sensor data at the current time point is input and the predicted temperature value on the circuit board is output Set the threshold Tthreshold When the temperature on the circuit board If it exceeds the threshold, it is marked as a hotspot;
[0032] Continuously collect temperature data and input it into the model for real-time prediction, update temperature distribution prediction, and identify new hot spots.
[0033] Preferably, the step of training the convolutional neural network model using the data in the training set is:
[0034] Design the network architecture of the convolutional neural network model, including convolutional layers, pooling layers, and fully connected layers, and determine the parameters of each layer;
[0035] The mean squared error loss function is chosen to measure the difference between the model prediction and the true label;
[0036] Select the stochastic gradient descent optimizer to adjust the model parameters to reduce the loss function;
[0037] Use the training set data to train the convolutional neural network model, update the model's weights and biases through the back-propagation algorithm, and iterate the training process until the loss function converges;
[0038] Use validation set data to evaluate the performance of the trained model, including accuracy, precision, and recall, and adjust the model based on the evaluation results;
[0039] The final model is tested using the test set data to evaluate its performance on unseen data and the trained model is saved.
[0040] Preferably, the step of selecting a mean square error loss function to measure the difference between the model prediction value and the true label is:
[0041] During the training process, for each sample, the mean square error between the predicted value and the true label is calculated, and the mean square error of all samples is averaged to obtain the overall loss. The mean square error loss function calculation formula is: Where N is the number of samples, y i Represented as the true label of the i-th sample, Represented as the model's predicted value for the i samples;
[0042] Through the back-propagation algorithm, the gradient of the loss with respect to the model parameters is passed back to the model for parameter update;
[0043] The model parameters are updated according to the parameter gradients using stochastic gradient descent to minimize the mean squared error loss function.
[0044] Preferably, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processing device, the steps of the method for locating the heat source of an electric energy meter and eliminating the influence of ambient temperature as claimed in any one of claims 1 to 7 are performed.
[0045] Technical effects and advantages of the present invention:
[0046] The infrared temperature sensor and thermistor on the circuit board of the electric energy meter are used to monitor the temperature data of the electric energy meter in real time. Based on the temperature data of the electric energy meter collected in real time, the abnormality of the environment in which the electric energy meter is located is analyzed, and an early warning is issued for the abnormal situation. The metering data of the electric energy meter is adjusted according to the temperature data of the electric energy meter to ensure the accuracy of the measurement results. The overall temperature distribution on the electric energy meter circuit board is predicted using a two-dimensional hotspot positioning algorithm based on machine learning, and the terminal temperature and abnormal hot spots are monitored. The terminal temperature and abnormal hot spot monitoring can improve the reliability, safety and stability of the electric energy meter operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is the overall flow chart of the present invention. DETAILED DESCRIPTION
[0048] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. In addition, the forms of the various structures recorded in the following embodiments are only examples. The method and medium for locating the heat source of an electric energy meter and eliminating the influence of ambient temperature involved in the present invention are not limited to the various structures recorded in the following embodiments. All other implementations obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.
[0049] The present invention provides a method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature, comprising the following steps:
[0050] A temperature sensor is set outside the electric energy meter or inside the electric energy meter shell as an ambient temperature sensor to measure the ambient temperature data of the electric energy meter. The temperature sensor is a device for measuring temperature, which can convert the temperature into an electrical signal or digital signal output for processing and recording by a computer or other device. Temperature sensors are widely used in various fields, including industrial production, meteorological observation, medical diagnosis, environmental monitoring, etc.
[0051] Two temperature sensors are arranged on the internal circuit board of the electric energy meter to monitor the internal temperature data of the electric energy meter in real time;
[0052] According to the real-time collected ambient temperature data and internal temperature data of the electric energy meter, analyze whether there is any abnormality in the environment where the electric energy meter is located, and issue an early warning for abnormal situations;
[0053] If an early warning is issued due to an abnormal situation, the metering data of the energy meter will be adjusted according to the ambient temperature data and the internal temperature data to ensure the accuracy of the measurement results;
[0054] The two-dimensional hotspot location algorithm based on machine learning is used to predict the overall temperature distribution on the circuit board of the electric energy meter, monitor the terminal temperature and abnormal heating points. The two-dimensional hotspot location algorithm is an algorithm for identifying hotspot areas in two-dimensional space, and is usually applied to the spatial analysis of temperature, humidity, pressure and other data. In machine learning, the two-dimensional hotspot location algorithm can use various technologies to process and analyze data to identify hotspot areas; the two-dimensional hotspot location algorithm of machine learning can help identify hotspot areas in space by analyzing and predicting temperature data, thereby realizing the monitoring and management of hotspot areas.
[0055] When the electric energy meter works under different ambient temperatures, the characteristics of its internal electronic components may change, resulting in metering errors. By real-time monitoring of the ambient temperature and internal temperature and making corresponding compensation, the errors caused by these temperature changes can be corrected to improve the accuracy of measurement. Excessive temperature may damage the electronic components inside the electric energy meter and reduce its reliability. By locating the internal heat source, taking heat dissipation measures or adjusting the layout, the risk of local overheating can be effectively reduced and the service life of the electric energy meter can be extended. Continuous monitoring of the temperature distribution of the electric energy meter can timely detect abnormal temperature rise, locate the heat source, determine whether there are problems such as component aging and poor contact, and take timely measures to prevent the occurrence of faults. Overheating may cause safety accidents such as fire in the electric energy meter and its surrounding environment. By locating and managing the internal heat source, the temperature can be ensured to operate within a safe range to reduce safety hazards.
[0056] In this embodiment, it should be specifically explained that the step of analyzing whether there is an abnormality in the environment where the electric energy meter is located is:
[0057] Filter, smooth and normalize the collected temperature data to eliminate noise and abnormal points, and store and maintain historical temperature data over a period of time for trend analysis and comparison;
[0058] Machine learning and statistical analysis methods are used for anomaly detection. The historical mean and standard deviation are calculated based on historical data. The calculation formula is: Where μ represents the historical mean, σ represents the standard deviation, T i It is expressed as the temperature value at the i-th time point, and N is the total number of data points at that time;
[0059] The temperature sensor detects the current temperature data and calculates the abnormal coefficient based on the current temperature data. The calculation formula is: Where Z represents the anomaly coefficient, X represents the current temperature data, μ represents the historical mean, and σ represents the standard deviation. If |Z| exceeds the threshold (such as 3), it is determined that an anomaly exists.
[0060] In this embodiment, it should be specifically explained that the steps of filtering, smoothing and normalizing the collected temperature data are:
[0061] Use statistical methods or threshold methods to detect abnormal values in temperature data, and correct or eliminate abnormal values to ensure the accuracy and stability of the data;
[0062] The temperature data is smoothed using a simple moving average filtering technique to remove noise and mutations in the data. The calculation formula is: Where T i It is represented as the temperature value at the i-th time point, n is the moving average window size, and the simple moving average filtering technique is a commonly used signal processing method for smoothing time series data and reducing noise and mutations in the data. It achieves the smoothing effect by calculating the average value of the data points in the continuous window in the data sequence;
[0063] Normalize the temperature data to a fixed range, usually [0, 1]. This makes the data have the same scale, which is conducive to model training. The expression is: Where T represents the original temperature value, T min and T max Represented as the minimum and maximum values of the temperature dataset respectively.
[0064] In this embodiment, it should be specifically explained that the step of adjusting the metering data of the electric energy meter according to the ambient temperature data and the internal temperature data is:
[0065] Collect temperature and metering data over a period of time, and calculate the benchmark performance parameters of the electric energy meter under different temperature conditions (such as coil resistance change, mutual inductor error, etc.). The benchmark performance parameters of the electric energy meter are usually formulated by relevant standard organizations or manufacturers and described in detail in product specifications or technical manuals;
[0066] Determine the temperature coefficient α of the key components of the energy meter through experiments or data provided by the manufacturer. These components may include mutual inductors, resistors, etc. Assuming that the measurement data of the energy meter is mainly affected by the mutual inductor, and the error of the mutual inductor is related to temperature, the temperature coefficient of the mutual inductor is calculated by the output change of the mutual inductor. The calculation formula is: Where α represents the temperature coefficient of the transformer, ΔE represents the output change of the transformer, E is the output of the transformer at the reference temperature, ΔT represents the temperature change, and the temperature change calculation formula is ΔT=T int -T ref , where T ref Indicated as reference temperature, T int It means collecting temperature data on the internal circuit board in real time;
[0067] The original measurement data is corrected using the compensation formula to obtain accurate measurement results. The compensation formula is V comp =V meas ×(1+α×(T int -T ref )), where V comp It is expressed as the measured value after compensation, Vmeas is expressed as the original measured data, V ref Expressed as a measured value at reference temperature, T ref Indicated as reference temperature, T int Indicates real-time acquisition of temperature data on the internal circuit board. The compensation formula is a mathematical formula used to correct the original measurement data. Its purpose is to correct the measurement results according to system errors or environmental influences to improve the accuracy and reliability of the measurement. The compensation formula is usually based on known error sources or environmental influence factors, modeled through a mathematical model, and the corrected value is added to the original measurement result.
[0068] Temperature changes can affect the performance of electronic components inside the energy meter, leading to metering errors. By real-time monitoring of ambient and internal temperatures and temperature compensation of the measured data, these errors can be reduced and metering accuracy can be improved; long-term high temperatures may accelerate the aging of the internal components of the energy meter and reduce its reliability. By monitoring the temperature and making adjustments, the working conditions of the energy meter can be optimized and its service life can be extended; using the temperature compensation formula to adjust the metering data, the energy meter can maintain a high degree of accuracy under different temperature conditions, ensuring the consistency and reliability of metering accuracy.
[0069] In this embodiment, it should be specifically explained that the steps of using the two-dimensional hot spot positioning algorithm based on machine learning to predict the overall temperature distribution on the circuit board of the electric energy meter are:
[0070] The temperature data T is collected in real time through the temperature sensor set on the internal circuit board i,j (t), where i and j represent the position coordinates of the sensor and t represents time;
[0071] To handle missing values and outliers without ensuring data quality, the temperature data is normalized to facilitate model training. For example, the minimum-maximum normalization is used, and its expression is: Where T min and T max are the minimum and maximum temperature values in the data set, respectively;
[0072] Extract features within the sliding window, such as mean, standard deviation, etc. The calculation expression is: Where ω represents the size of the window;
[0073] Select a machine learning model suitable for temperature prediction, such as a convolutional neural network or a recurrent neural network, and divide the data set into a training set, a validation set, and a test set;
[0074] The convolutional neural network model is trained using the data in the training set, with the temperature sensor location and time series features as input and the predicted temperature distribution as output;
[0075] After the model training is completed, the sensor data at the current time point is input and the predicted temperature value on the circuit board is output Set the threshold T threshold When the temperature on the circuit board If it exceeds the threshold, it is marked as a hotspot;
[0076] Continuously collect temperature data and input it into the model for real-time prediction, update temperature distribution prediction, and identify new hot spots.
[0077] By predicting the temperature distribution on the circuit board, local overheating can be discovered and prevented in time, and components can be prevented from being damaged due to overheating, which helps to optimize the heat dissipation design of the electricity meter, improve the overall heat dissipation efficiency, and extend the life of the equipment; based on the predicted temperature distribution, potential fault points can be warned in advance, preventive maintenance can be carried out, downtime and repair costs can be reduced, and possible fault areas can be identified and diagnosed before a failure occurs to avoid large-scale damage; by understanding the temperature distribution, temperature compensation can be performed more accurately, the impact of temperature on metering accuracy can be reduced, and more accurate electricity metering data can be provided; using machine learning algorithms, the electricity meter can monitor and analyze temperature distribution in real time, has self-diagnosis and self-adjustment functions, and improves the level of intelligence. Based on the analysis and prediction of temperature data, the performance and function of the electricity meter can be continuously optimized to adapt to different usage environments.
[0078] In this embodiment, it should be specifically explained that the steps of training the convolutional neural network model using the data in the training set are:
[0079] Design the network architecture of the convolutional neural network model, including convolutional layers, pooling layers, fully connected layers, etc., and determine the parameters of each layer, such as convolution kernel size, step size, pooling size, etc.;
[0080] Choose an appropriate loss function to measure the difference between the model prediction value and the true label. Common loss functions include mean square error (MSE) and cross entropy loss.
[0081] Choose a suitable optimizer to adjust model parameters to reduce the loss function. Common optimizers include stochastic gradient descent (SGD), Adam, RMSProp, etc.
[0082] Use the training set data to train the CNN model, update the model's weights and biases through the back-propagation algorithm, and iterate the training process until the specified number of training rounds is reached or the loss function converges;
[0083] Use validation set data to evaluate the performance of the trained model, including accuracy, precision, recall and other indicators, and adjust or optimize the model based on the evaluation results;
[0084] The final model is tested using the test set data to evaluate its performance on unseen data and the trained model is saved.
[0085] In this embodiment, it should be specifically explained that the step of selecting the mean square error loss function to measure the difference between the model prediction value and the true label is:
[0086] During the training process, for each sample, the mean square error between the predicted value and the true label is calculated, and the mean square error of all samples is averaged to obtain the overall loss. The mean square error loss function calculation formula is: Where N is the number of samples, y i Represented as the true label of the i-th sample, It is expressed as the predicted value of the model for i samples. The mean square error loss function is a common loss function used to measure the difference between the model predicted value and the true label, which is particularly suitable for regression problems. It measures the error between the predicted value and the true value by calculating the square of the difference between the predicted value and the true value and finding the average value;
[0087] The gradient of the loss with respect to the model parameters is passed back to the model through a back-propagation algorithm for parameter updating. The back-propagation algorithm is a common algorithm for training artificial neural networks, and its main goal is to calculate the gradient of the loss function with respect to the model parameters, thereby updating the model parameters to minimize the loss function;
[0088] The stochastic gradient descent method is used to update the model parameters according to the parameter gradient to minimize the mean square error loss function. The stochastic gradient descent method uses random sampling and parameter updates to efficiently optimize the objective function under large-scale data and complex models.
[0089] In this embodiment, it should be specifically explained that the steps of using the validation set data to evaluate the performance of the trained model are:
[0090] The correspondence between the model's prediction results and the true labels is summarized through a confusion matrix, which includes true positives, false positives, false negatives, and true negatives;
[0091] The accuracy of the calculated model is calculated as follows: Among them, AC represents the accuracy of the model, TP represents the number of true positives of the model, FP represents the number of false positives of the model, FN represents the number of false negatives of the model, and TN represents the number of true negatives of the model;
[0092] The calculation formula for calculating the accuracy of the model is: Where PS represents the accuracy of the model;
[0093] Calculate the recall rate of the model, and the calculation formula is Where RL represents the recall rate of the model;
[0094] Calculate the F1 score of the model, which is calculated as follows: Where F1 represents the F1 score of the model, PS represents the precision of the model, and RL represents the recall rate of the model;
[0095] The performance index of the model is comprehensively evaluated based on the accuracy, precision, recall and F1 score of the model. The calculation formula is XN = f(AC, PS, RL, F1), where XN represents the performance index of the model.
[0096] The performance index of the model is compared with the preset threshold. If the performance index is greater than the preset threshold, the current model performance is determined to be good. If the performance index is less than the preset threshold, the current model performance is determined to be poor.
[0097] The validation set can be used to detect whether the model performs well on the training set but poorly on unseen data. If the model performs well on the training set but poorly on the validation set, it means that the model may have an overfitting problem; if the model performs poorly on both the training set and the validation set, it means that the model may have an underfitting problem and needs to be improved or the parameters adjusted; evaluating the performance of the model on the validation set can ensure that the model has good performance when processing new data in actual applications, and avoid being effective only on training data.
[0098] By testing different hyperparameter combinations on the validation set, the optimal hyperparameter settings can be found to improve model performance. Hyperparameter tuning through the validation set can significantly improve the performance of the model on unknown data and improve its generalization ability. The validation set, as a data set independent of the training set, can effectively prevent data leakage, that is, avoid the model from using already seen training data during evaluation. Using the validation set can ensure the objectivity and reliability of the model evaluation results and provide a true performance measurement.
[0099] It should be noted that the above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0100] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0101] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature. It is characterized in that The following steps are involved: An infrared temperature sensor is arranged on the circuit board of the electric energy meter as an ambient temperature sensor; Two temperature sensors are arranged on the internal circuit board of the electric energy meter; According to the real-time collected ambient temperature data and internal temperature data of the energy meter, analyze whether there are any abnormalities in the environment and operating status of the energy meter, and issue early warnings for abnormal situations; If an early warning is issued due to an abnormal situation, the metering accuracy of the energy meter is compensated according to the ambient temperature data and the internal temperature data to ensure the accuracy of the measurement results; A two-dimensional hotspot location algorithm based on machine learning is used to predict the overall temperature distribution on the electric energy meter circuit board and monitor the terminal temperature and abnormal hot spots.
2. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature according to claim 1, Features: The steps of analyzing whether there is an abnormality in the environment of the electric energy meter are: Filter, smooth and normalize the collected temperature data, and store and maintain historical temperature data over a period of time; Machine learning and statistical analysis methods are used for anomaly detection. The historical mean and standard deviation are calculated based on historical data. The calculation formula is: Where μ represents the historical mean, σ represents the standard deviation, T i It is expressed as the temperature value at the i-th time point, and N is the total number of data points at that time; The temperature sensor detects the current temperature data and calculates the abnormal coefficient based on the current temperature data. The calculation formula is: Where Z represents the anomaly coefficient, X represents the current temperature data, μ represents the historical mean, and σ represents the standard deviation. If |Z| exceeds the threshold, it is determined that an anomaly exists.
3. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature according to claim 1, Features: The steps of compensating the metering accuracy of the electric energy meter according to the ambient temperature data and the internal temperature data are as follows: Collect temperature and metering data over a period of time and calculate the transformer parameters of the energy meter under different temperature conditions; The temperature coefficient α of the key components of the electric energy meter is determined by the data provided by the manufacturer, and the temperature coefficient of the transformer is calculated by the output change of the transformer. The calculation formula is: Where α represents the temperature coefficient of the transformer, ΔE represents the output change of the transformer, E is the output of the transformer at the reference temperature, ΔT represents the temperature change, and the temperature change calculation formula is ΔT=T int -T ref , where T ref Indicated as reference temperature, T int It means collecting temperature data on the internal circuit board in real time; The original measurement data is corrected using the compensation formula to obtain accurate measurement results. The compensation formula is V comp =V meas ×(1+α×(T int -T ref )), where V comp It is expressed as the measured value after compensation, Vmeas is expressed as the original measured data, V ref Expressed as a measured value at reference temperature, T ref Denotes the reference temperature, T int It represents real-time collection of temperature data on the internal circuit board.
4. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature according to claim 1, Features: The steps of using a two-dimensional hotspot location algorithm based on machine learning to predict the overall temperature distribution on the circuit board of the electric energy meter are: The temperature data T is collected in real time through the temperature sensor set on the internal circuit board i,j (t), where i and j represent the position coordinates of the sensor and t represents time; To ensure data quality, missing values and outliers are processed and the temperature data is normalized using the minimum-maximum normalization, which is expressed as Where T min and T max are the minimum and maximum temperature values in the data set, respectively; Extract the mean and standard deviation features within the sliding window, and its calculation expression is: Where ω represents the size of the window; Select a convolutional neural network model and divide the data set into training set, validation set and test set; The convolutional neural network model is trained using the data in the training set, with the temperature sensor location and time series features as input and the predicted temperature distribution as output; After the model training is completed, the sensor data at the current time point is input and the predicted temperature value on the circuit board is output Set the threshold T threshold When the temperature on the circuit board If it exceeds the threshold, it is marked as a hotspot; Continuously collect temperature data and input it into the model for real-time prediction, update temperature distribution prediction, and identify new hot spots.
5. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature according to claim 4, Features: The steps of training the convolutional neural network model using the data in the training set are: Design the network architecture of the convolutional neural network model, including convolutional layers, pooling layers, and fully connected layers, and determine the parameters of each layer; The mean squared error loss function is chosen to measure the difference between the model prediction and the true label; Select the stochastic gradient descent optimizer to adjust the model parameters to reduce the loss function; Use the training set data to train the convolutional neural network model, update the model's weights and biases through the back-propagation algorithm, and iterate the training process until the loss function converges; Use validation set data to evaluate the performance of the trained model, including accuracy, precision, and recall, and adjust the model based on the evaluation results; The final model is tested using the test set data to evaluate its performance on unseen data and the trained model is saved.
6. A method for locating heat sources of electric energy meters and eliminating the influence of ambient temperature according to claim 5, Features: The steps of selecting the mean square error loss function to measure the difference between the model prediction value and the true label are: During the training process, for each sample, the mean square error between the predicted value and the true label is calculated, and the mean square error of all samples is averaged to obtain the overall loss. The mean square error loss function calculation formula is: Where N is the number of samples, y i Represented as the true label of the i-th sample, Represented as the model's predicted value for the i samples; Through the back-propagation algorithm, the gradient of the loss with respect to the model parameters is passed back to the model for parameter update; The model parameters are updated according to the parameter gradients using stochastic gradient descent to minimize the mean squared error loss function.
7. A computer-readable storage medium, Features: The computer readable medium stores a computer program, and when the computer program is executed by a processing device, the steps of the method for locating the heat source of an electric energy meter and eliminating the influence of ambient temperature as described in any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Temperature compensation method for multifunctional electric energy meter
CN101498741A
Intelligent ammeter capable of temperature detection
CN106018954A
Power battery pack series connection fault diagnosis method
CN107843853A
Wiring terminal assembly and electric meter and control method thereof
CN110940840A
Electricity meter thermal performance monitoring
CN112703380A
Cited By
Safety monitoring method for electric energy meter
CN119001590A
