Method, device, electric energy meter and medium for identifying abnormal jump of electric energy meter sampling signal
By performing time node alignment processing and dynamic threshold setting of the power meter sampling signal, the problem of inflexible threshold and large resource consumption in abnormal jump recognition of the power meter sampling signal is solved, efficient and accurate abnormal identification is achieved, and the power is improved The stability and accuracy of the measurement.
Patent Information
- Application Number
- CN202410961496.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-18
AI Technical Summary
The existing abnormal jump recognition methods for sampling signals of electricity meter have problems such as inflexible thresholds, weak anti-interference ability, lag in response and large resource consumption, making it difficult to accurately identify abnormal jumps in complex power grid environments.
By acquiring the electrical signals of at least two sampling periods continuously collected, performing time node alignment processing, calculating the amplitude difference of the electrical signals of the same time nodes in adjacent periods, and determining the dynamic threshold based on the mean of the initial threshold and the historical difference. Real-time identification of abnormal jumps reduces the need for statistical analysis and sample training.
Accurate identification of abnormal jumps in the sampling signal of the electricity meter is realized, which improves the flexibility and response speed of identification, reduces the consumption of computing resources, and enhances the accuracy and stability of the electricity metering.
Smart Images

Figure CN118536046B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric energy meters, and in particular to a method and device for identifying abnormal jumps in sampling signals of an electric energy meter, an electric energy meter and a medium. Background Art
[0002] As the core equipment of power metering, the quality of the sampling signal of the energy meter directly affects the accuracy of energy metering. With the intelligent development of the power system and the refinement of power market transactions, higher requirements are placed on the accuracy and stability of the sampling signal of the energy meter. However, in actual operation, the sampling signal of the energy meter may be affected by many factors, such as power grid fluctuations, transient load changes, electromagnetic interference, equipment aging, etc., resulting in abnormal jumps in the sampling signal, which in turn affects the fairness and accuracy of energy metering.
[0003] The related methods for identifying abnormal jumps in the sampling signals of electric energy meters are mainly the following: threshold comparison method, statistical analysis method, method using signal filtering and mutation detection technology, and method using pattern recognition and machine learning technology. However, the threshold comparison method and statistical analysis method have the disadvantages of inflexible threshold settings and weak anti-interference ability; at the same time, the statistical analysis method and the method using signal filtering and mutation detection technology have the disadvantage of delayed response; and the method using signal filtering and mutation detection technology and machine learning technology has the disadvantage of large resource consumption.
[0004] It can be seen that providing a method for identifying abnormal jumps in the sampling signal of an electric energy meter that is more accurate, adaptable and consumes less resources is a technical problem that people in this field urgently need to solve. Summary of the invention
[0005] The purpose of the present invention is to provide a method, device, electric energy meter and medium for identifying abnormal jumps in the sampling signal of an electric energy meter, so as to solve the technical problems of inflexible thresholds, weak anti-interference ability, delayed response and large resource consumption when identifying abnormal jumps in the sampling signal of an electric energy meter.
[0006] In order to solve the above technical problems, the present invention provides a method for identifying abnormal jumps of sampling signals of electric energy meters, comprising:
[0007] Acquiring electrical signals of at least two sampling periods collected continuously;
[0008] Performing time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point;
[0009] After the alignment process, the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles is obtained;
[0010] When it is detected that the difference is greater than a threshold, it is determined that an abnormal jump exists at the target sampling point; wherein the threshold is determined by the initial threshold and / or the sum of the averages of historical differences between the amplitudes of electrical signals corresponding to sampling points at the same time nodes in a historical new cycle, and the historical new cycle is a new cycle before the new cycle where the target sampling point is located.
[0011] Preferably, the performing time node alignment processing on the electrical signal of the sampling period includes:
[0012] Obtaining the number of sampling points within the sampling period;
[0013] Determining whether the number of the sampling points in the sampling period is an integer;
[0014] If yes, then determining that the electrical signal time nodes of two adjacent sampling periods are aligned;
[0015] If not, a preset number of the sampling periods are merged as the new period to determine whether the electrical signal time nodes of two adjacent new periods are aligned; wherein the preset number is the minimum value of all target numbers, and the number of sampling points after the sampling periods of each target number are merged is an integer.
[0016] Preferably, the obtaining the number of sampling points within the sampling period comprises:
[0017] Get the sampling rate and grid frequency;
[0018] Obtaining a ratio of the sampling rate to the power grid frequency;
[0019] The ratio is taken as the number of sampling points in the sampling period.
[0020] Preferably, determining the initial threshold comprises:
[0021] Obtaining the amplitude difference when the power grid data fluctuates normally; wherein, considering preset factors to determine whether the power grid data fluctuates normally, the preset factors include at least one of seasonal factors and time period factors;
[0022] The amplitude difference is used as the initial threshold.
[0023] Preferably, before determining that the target sampling point has an abnormal jump, the method includes:
[0024] Determine whether the difference is continuously detected to be greater than the threshold value within a preset time period;
[0025] If yes, proceed to the step of determining whether the target sampling point has an abnormal jump;
[0026] If not, it is determined that the target sampling point is a normal transient fluctuation.
[0027] Preferably, after determining that the target sampling point has an abnormal jump, the method further includes:
[0028] Sending a prompt message indicating that the current metering is suspended, and / or sending a prompt message indicating that an abnormal signal jump is detected to the user, and / or recording the detected abnormal jump.
[0029] Preferably, after acquiring the electrical signals of at least two sampling periods collected continuously and before performing time node alignment processing on the electrical signals of the sampling periods, the method further includes:
[0030] The electrical signals of each sampling period are stored in chronological order.
[0031] In order to solve the above technical problems, the present invention provides a device for identifying abnormal jumps of sampling signals of electric energy meters, comprising:
[0032] A first acquisition module is used to acquire electrical signals of at least two sampling periods collected continuously;
[0033] An alignment processing module, used for performing time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point;
[0034] A second acquisition module is used to acquire the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles after the alignment process;
[0035] A determination module is used to determine that there is an abnormal jump at the target sampling point when it is detected that the difference is greater than a threshold; wherein the threshold is determined by the sum of the average values of the historical differences between the electrical signal amplitudes corresponding to the sampling points at the same time nodes in the initial threshold and / or the historical new cycle, and the historical new cycle is a new cycle before the new cycle where the target sampling point is located.
[0036] In order to solve the above technical problems, the present invention provides an electric energy meter, comprising:
[0037] Memory for storing computer programs;
[0038] The processor is used to implement the steps of the above-mentioned method for identifying abnormal jumps of the sampling signal of the electric energy meter when executing the computer program.
[0039] To solve the above technical problems, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for identifying abnormal jumps in the sampling signal of an electric energy meter are implemented.
[0040] The method for identifying abnormal jumps in sampling signals of electric energy meters provided by the present invention comprises: acquiring electric signals of at least two sampling cycles collected continuously; then performing time node alignment processing on the electric signals of the sampling cycles so that each time node in two adjacent new cycles corresponds to a sampling point; after the alignment processing, acquiring the difference between the electric signal amplitudes corresponding to the target sampling points at the same time nodes of the two adjacent new cycles; and determining that an abnormal jump exists at the target sampling point when it is detected that the difference is greater than a threshold value.
[0041] The beneficial effects of the present invention are: first, the method utilizes the inherent characteristics of the periodic signal (that is, if the influence of other factors is not considered, the amplitude of the sampling data at the corresponding position of each period is completely equal, and its value repeats in a certain period in time) to achieve more accurate detection of abnormal jumps in the sampling signal of the electric energy meter; second, the threshold in the method is determined by the initial threshold and / or the sum of the average values of the historical differences between the amplitudes of the electric signals corresponding to the sampling points at the same time nodes in the historical new period, and the historical new period is the new period before the new period where the target sampling point is located. Since the mean of the historical difference between the amplitudes of the new cycle before the new cycle where the target sampling point is located will change with the new cycle, the threshold in the present invention changes dynamically, the set threshold is more flexible, and more in line with the characteristics of the electrical signal corresponding to the sampling point of the new cycle, that is, the determined threshold is more accurate, ensuring that both the anomaly can be accurately captured and the normal fluctuation changes can be filtered out, thereby improving the accuracy of identifying abnormal jumps in the sampling signal; thirdly, compared with the method using statistical analysis and the method using signal filtering and mutation detection technology, the method provided by the present invention does not require statistical analysis and trend prediction, and can identify abnormal jumps in a timely manner; in addition, compared with the method using signal filtering and mutation detection technology and machine learning technology, the method provided by the present invention does not require a large amount of sample training, thereby reducing the consumption of computing resources.
[0042] In addition, the present invention also provides an abnormal jump identification device for an electric energy meter sampling signal, an electric energy meter and a computer-readable storage medium, which have the same or corresponding technical features as the above-mentioned abnormal jump identification method for the electric energy meter sampling signal, and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of a threshold comparison method provided by an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of a jump signal provided by an embodiment of the present invention;
[0046] Figure 3 A schematic diagram of a signal filtering and mutation detection method provided by an embodiment of the present invention;
[0047] Figure 4 A flow chart of a method for identifying abnormal jumps in an electric energy meter sampling signal provided by an embodiment of the present invention;
[0048] Figure 5 A schematic diagram of a periodic signal characteristic provided by an embodiment of the present invention;
[0049] Figure 6 A structural diagram of a device for identifying abnormal jumps in sampling signals of an electric energy meter provided by an embodiment of the present invention;
[0050] Figure 7 A structural diagram of an electric energy meter provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0052] The core of the present invention is to provide a method, device, electric energy meter and medium for identifying abnormal jumps in the sampling signal of an electric energy meter, so as to solve the technical problems of inflexible threshold, weak anti-interference ability, delayed response and high resource consumption when identifying abnormal jumps in the sampling signal of the electric energy meter.
[0053] As the core equipment of power measurement, the quality of the sampling signal of the electric energy meter directly affects the accuracy of electric energy measurement. The existing technologies for identifying abnormal jumps in the sampling signal of the electric energy meter are mainly the following:
[0054] Threshold comparison method: Figure 1A schematic diagram of a threshold comparison method provided by an embodiment of the present invention. Figure 1 The signal is sampled at a sampling rate of Fn. The upper and lower red lines are manually set thresholds. By setting reasonable upper and lower thresholds for voltage and current sampling signals, when the sampling signal exceeds the threshold range, it is judged as an abnormal jump. This method is intuitive and simple, but it has high requirements for the selection of thresholds. Too strict may lead to misjudgment, and too loose may miss the real abnormality.
[0055] Statistical analysis method: Statistical analysis is performed based on historical data to calculate parameters such as the standard deviation and coefficient of variation of the sampling signal. When the deviation between the real-time sampling value and the predicted value of the statistical model exceeds the predetermined threshold, it is considered that an abnormal jump exists. Figure 2 A schematic diagram of a jump signal provided by an embodiment of the present invention. Figure 2 In the example, there is an abnormal signal jump at a sampling point between 200 and 300. This method is suitable for long-term stable power grid environments, but may not be sensitive enough to transient disturbances.
[0056] Signal filtering and mutation detection technology: Figure 3 A schematic diagram of a signal filtering and mutation detection method provided by an embodiment of the present invention. Figure 3 The horizontal axis represents the sampling point, the vertical axis represents the amplitude, the blue line represents the noisy signal, and the orange line represents the signal after filtering. Digital signal processing technology, such as sliding average filtering and Kalman filtering, is used to process the sampled signal, and then combined with mutation detection algorithms (such as Cumulative Sum Control Chart Algorithm (CUSUM), Page, etc.) to identify abnormal signal jumps. This method takes into account the dynamic characteristics and stability of the signal to a certain extent, but has high requirements on the parameter setting and real-time performance of the algorithm.
[0057] Pattern recognition and machine learning technology: Using machine learning methods such as neural networks and support vector machines, the model is trained to identify the difference between normal sampling signals and abnormal jump signals, and automatic anomaly detection is achieved. This method has strong generalization and self-learning capabilities, but requires a large number of samples for training and consumes a lot of computing resources.
[0058] The related technology for identifying abnormal jumps in electric energy meter sampling signals has the following disadvantages:
[0059] Inflexible threshold setting: Some current identification schemes rely on preset thresholds to determine whether a signal is abnormal. However, the power grid fluctuations in the actual operating environment are complex, and a single threshold is difficult to adapt to various situations, which can easily lead to misjudgment or missed judgment.
[0060] Delayed response to sudden anomalies: Some methods focus on statistical analysis and trend prediction, and may not respond quickly enough to sudden large jumps and fail to capture transient anomalies in time.
[0061] Weak anti-interference ability: Existing technologies may not be able to effectively handle signal distortion caused by electromagnetic interference, harmonics and other nonlinear loads, and cannot effectively distinguish between real load changes and abnormal jumps.
[0062] Lack of intelligent analysis: Many traditional methods are based on simple rules or fixed models, have poor adaptability to complex and changeable signal behaviors, and cannot fully utilize advanced technologies such as big data and machine learning for in-depth analysis and intelligent identification.
[0063] High resource consumption: Some complex algorithms may consume a lot of computing and storage resources when processing and identifying abnormal jumps in real time, which is not conducive to large-scale promotion and application.
[0064] It can be seen that the present invention provides a more accurate, efficient, intelligent and adaptable solution for identifying abnormal jumps in sampling signals of electric energy meters.
[0065] It is worth noting that the sampling signal abnormal jump recognition method provided by the embodiment of the present invention is generally applied to related products such as smart electric energy meters, multi-function electric energy meters, and electric power metering management systems. The following are specific application scenarios:
[0066] Smart electricity meter: In the new smart electricity meter, the identification scheme of abnormal jumps in sampling signals can be integrated into the hardware design and software algorithm, and the voltage and current sampling signals can be monitored and analyzed in real time. When abnormal jumps occur, it can respond quickly to ensure measurement accuracy and prevent false alarms.
[0067] Multifunctional energy meter: This type of energy meter not only has basic energy measurement functions, but may also integrate data communication, power quality analysis and other functions. In such products, sampling signal abnormal jump recognition technology can help the energy meter better handle complex working conditions such as power grid fluctuations and harmonic pollution, and improve the stability and reliability of energy measurement.
[0068] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 4 A flowchart of a method for identifying abnormal jumps in an electric energy meter sampling signal provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the method includes:
[0069] S10: Acquire electrical signals of at least two sampling cycles collected continuously;
[0070] S11: performing time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point;
[0071] S12: After the alignment process, the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles is obtained;
[0072] S13: When it is detected that the difference is greater than the threshold, it is determined that an abnormal jump exists at the target sampling point.
[0073] There is no limitation on the collected electrical signals of the sampling period. Since the difference between the electrical signal amplitudes of the electrical signals of two adjacent periods (sampling periods, or the new periods mentioned later) at the same time node is to be compared to detect whether there is an abnormal jump, the electrical signals of at least two continuously collected sampling periods are obtained in the embodiment of the present invention. The electrical signals specifically include periodic signals such as voltage and current. In order to facilitate the comparative analysis of the previous and next periodic signals, in the implementation, after obtaining the electrical signals of at least two continuously collected sampling periods, before the electrical signals of the sampling periods are aligned with the time nodes, it also includes: storing the electrical signals of each sampling period in chronological order.
[0074] After obtaining the electrical signals of at least two sampling periods of continuous collection, the electrical signals of the sampling periods are subjected to time node alignment processing. There is no limitation on the method of alignment processing, as long as it can be ensured that after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point. In one embodiment, the time node alignment processing of the electrical signals of the sampling periods includes:
[0075] Get the number of sampling points within the sampling period;
[0076] Determine whether the number of sampling points in the sampling period is an integer;
[0077] If so, it is determined that the time nodes of the electrical signals of two adjacent sampling periods are aligned;
[0078] If not, a preset number of sampling periods are merged as a new period to determine the alignment of the electrical signal time nodes of two adjacent new periods; wherein the preset number is the minimum value of all target numbers, and the number of sampling points after the sampling periods of each target number are merged is an integer.
[0079] The number of sampling points in the sampling period is obtained as follows:
[0080] Get the sampling rate and grid frequency;
[0081] Get the ratio of sampling rate to grid frequency;
[0082] Take the ratio as the number of sampling points within the sampling period.
[0083] According to the sampling rate and the grid frequency, determine the number of sampling points in a cycle. If the sampling cycle is not an integer, several cycles need to be used as a new cycle. For example, if the sampling rate is 6400 and the signal frequency is 50Hz, then the number of sampling points in a cycle is 128 points, and the data at the corresponding position of each cycle is aligned. If the sampling rate is 4687.5 and the signal frequency is still 50Hz, then the number of sampling points in each cycle is 93.75, which is obviously not an integer. In this case, four cycles need to be used as a large cycle for alignment. That is, the sampling points corresponding to the new cycle are 375 sampling points.
[0084] After the electrical signal of the sampling period is aligned with the time node, the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time node of two adjacent new periods is obtained. When it is detected that the difference is greater than the threshold, it is determined that there is an abnormal jump in the target sampling point. There is no limitation on the threshold. In the embodiment of the present invention, in order to make the set threshold more flexible and accurate, when setting the threshold, the threshold is determined by the initial threshold and / or the sum of the average values of the historical differences between the electrical signal amplitudes corresponding to the sampling points at the same time node in the historical new period, and the historical new period is the new period before the new period where the target sampling point is located.
[0085] In order to make the determined initial threshold more appropriate, in implementation, determining the initial threshold includes:
[0086] Obtaining the amplitude difference when the power grid data fluctuates normally; wherein, considering preset factors to determine whether the power grid data fluctuates normally, the preset factors include at least one of seasonal factors and time period factors;
[0087] The amplitude difference is used as the initial threshold.
[0088] In practice, the difference may be greater than the threshold value due to transient fluctuations. If the target sampling point is directly determined to have an abnormal jump when the difference is detected to be greater than the threshold value, a misjudgment may occur. Therefore, in some embodiments, before determining that the target sampling point has an abnormal jump, the following steps are performed:
[0089] Determine whether the difference is continuously detected to be greater than the threshold value within a preset time period;
[0090] If yes, then enter the step of determining whether there is an abnormal jump at the target sampling point;
[0091] If not, it is determined that the target sampling point is a normal transient fluctuation.
[0092] There is no limit on the preset time length, which is determined according to the actual situation. By checking whether the difference value is continuously detected to be greater than the threshold value within the preset time length, misidentification of abnormal jumps is avoided as much as possible, thereby improving the accuracy of identification.
[0093] After determining that the target sampling point has an abnormal jump, in order to process the abnormal jump in time, after determining that the target sampling point has an abnormal jump, the method further includes:
[0094] Sending a prompt message indicating that the current metering is suspended, and / or sending a prompt message indicating that an abnormal signal jump is detected to the user, and / or recording the detected abnormal jump.
[0095] There is no limitation on the prompt information issued, as long as it can provide a prompt.
[0096] The method for identifying abnormal jumps in the sampling signal of an electric energy meter provided in an embodiment of the present invention includes: obtaining an electric signal of at least two sampling cycles collected continuously; then performing time node alignment processing on the electric signal of the sampling cycle so that each time node in two adjacent new cycles corresponds to a sampling point; after the alignment processing, obtaining the difference between the electric signal amplitudes corresponding to the target sampling points at the same time node of the two adjacent new cycles; when it is detected that the difference is greater than the threshold, determining that the target sampling point has an abnormal jump. It can be seen that, firstly, the method utilizes the inherent characteristics of the periodic signal (that is, if the influence of other factors is not considered, the amplitudes of the sampling data at the corresponding position of each cycle are completely equal, and their values repeat in a certain period in time) to achieve a more accurate detection of abnormal jumps in the sampling signal of the electric energy meter; secondly, the threshold in the method is determined by the sum of the initial threshold and / or the mean of the historical difference between the electric signal amplitudes corresponding to the sampling points at the same time node in the historical new cycle, and the historical new cycle is the new cycle before the new cycle where the target sampling point is located. Since the mean of the historical difference between the amplitudes of the new cycle before the new cycle where the target sampling point is located will change with the new cycle, the threshold in the embodiment of the present invention changes dynamically, the set threshold is more flexible, and more in line with the characteristics of the electrical signal corresponding to the sampling point of the new cycle, that is, the determined threshold is more accurate, ensuring that both the anomaly can be accurately captured and the normal fluctuation changes can be filtered out, thereby improving the accuracy of identifying abnormal jumps in the sampling signal; thirdly, compared with the method using statistical analysis and the method using signal filtering and mutation detection technology, the method provided by the embodiment of the present invention does not require statistical analysis and trend prediction, and can identify abnormal jumps in a timely manner; in addition, compared with the use of signal filtering and mutation detection technology and machine learning technology, the method provided by the embodiment of the present invention does not require a large amount of sample training, thereby reducing the consumption of computing resources.
[0097] In order to make those skilled in the art better understand the present invention, Figure 5 The overall technical solution of the present invention is further described in detail with specific implementation methods. Figure 5 A schematic diagram of a periodic signal characteristic provided by an embodiment of the present invention. Figure 5 The horizontal axis is the sampling point, and the vertical axis is the amplitude. The blue arrow represents the amplitude of the corresponding sampling point at the same time node in two adjacent cycles. The amplitude of the sampled data at the corresponding position in each cycle is exactly the same, and its value repeats in a certain period in time.
[0098] The embodiment of the present invention proposes a method for identifying abnormal jumps in the sampling signal of an electric energy meter based on periodic signal characteristics. The specific technical solution is as follows:
[0099] Periodic signal sampling and storage: First, the electric energy meter continuously samples periodic signals such as voltage and current, and stores the signal data of several consecutive cycles in order to compare and analyze the previous and subsequent periodic signals.
[0100] Signal cycle division and alignment: Determine the cycle length of the signal according to the grid frequency (for example, 50 Hz or 60 Hz), and perform cycle boundary positioning and alignment processing on the sampled data to ensure that adjacent cycle signals are compared at the same time node.
[0101] Signal feature extraction and comparison: For all sampling points in each cycle, extract the signal amplitude at the corresponding position of the previous cycle and the next cycle. Then, calculate the difference in signal amplitude at the corresponding position of the two cycles.
[0102] Dynamic threshold setting: Based on the historical data statistical characteristics of the signal, an initial threshold is first set, and the threshold is dynamically adjusted using the mean of the amplitude difference during operation to determine whether the amplitude difference of the previous and next cycle signals exceeds the normal fluctuation range. The setting of the threshold should fully consider the normal fluctuation of the power grid and possible seasonal and periodic changes.
[0103] Abnormal jump judgment: When the difference in signal amplitude at the corresponding position of the current and previous cycles exceeds the set threshold, the system determines that there may be an abnormal jump at this point, and further analyzes the jump amplitude and duration to determine whether it is a real abnormal event or a normal transient fluctuation.
[0104] Abnormal processing and recording: Once an abnormal jump in the sampling signal is identified, the system will take corresponding measures, such as recording the abnormal event, suspending the current metering, triggering a warning or notifying the power company, etc., and reasonably correcting or marking the metering data during the abnormal period to ensure the fairness and accuracy of electricity metering.
[0105] Compared with the existing related electric energy meter sampling signal abnormal jump recognition technology, the method for recognizing the abnormal jump of the electric energy meter sampling signal based on the periodic signal characteristics provided by the present invention has the following advantages:
[0106] 1) Improve recognition accuracy: By comparing the changes in the corresponding positions of the previous and next periodic signals and combining them with dynamic threshold setting, normal fluctuations and true abnormal signal jumps can be distinguished more accurately.
[0107] 2) Enhanced real-time performance: By utilizing the signal periodicity characteristics to monitor signal changes in real time, abnormal jumps can be detected quickly and responded to in a timely manner, which is conducive to improving the stability of the power system and the fairness of electricity metering.
[0108] 3) Strong adaptability: The dynamic threshold setting strategy can be adjusted according to different operating environments and load characteristics, which enhances the adaptability of the identification scheme and makes it more adaptable to the complex and changeable operating conditions of the power grid.
[0109] 4) High resource efficiency: By focusing on the key points within the signal cycle for analysis, invalid calculations are reduced and the utilization of computing resources is improved.
[0110] 5) Simple and easy to implement: Compared with complex data modeling and machine learning methods, the identification method based on periodic signal characteristics is easier to implement and deploy, which is conducive to software upgrades and optimization based on existing electricity meter hardware.
[0111] 6) Reduce the risk of misoperation: By more accurately identifying abnormal jumps, it can reduce energy metering errors and misoperation of related equipment caused by misjudgment, thereby improving the safety of the power system and user satisfaction.
[0112] The embodiment of the present invention utilizes the inherent characteristics of periodic signals to realize efficient and accurate identification of abnormal jumps in the sampling signal of the electric energy meter, solves the problems of misjudgment and missed judgment existing in the prior art, and improves the stability and reliability of the electric energy metering system.
[0113] In the above embodiments, the method for identifying abnormal jumps in the sampling signal of an electric energy meter is described in detail, and the present invention also provides an apparatus for identifying abnormal jumps in the sampling signal of an electric energy meter and an embodiment corresponding to the electric energy meter. It should be noted that the present invention describes the embodiments of the apparatus part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware.
[0114] Figure 6 This is a structural diagram of a device for identifying abnormal jumps in an electric energy meter sampling signal provided by an embodiment of the present invention. This embodiment is based on the perspective of functional modules and includes:
[0115] A first acquisition module 10 is used to acquire electrical signals of at least two sampling periods collected continuously;
[0116] The alignment processing module 11 is used to perform time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point;
[0117] The second acquisition module 12 is used to obtain the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles after the alignment process;
[0118] The determination module 13 is used to determine that there is an abnormal jump at the target sampling point when it is detected that the difference is greater than a threshold; wherein the threshold is determined by the initial threshold and / or the sum of the average values of the historical differences between the electrical signal amplitudes corresponding to the sampling points at the same time nodes in the historical new cycle, and the historical new cycle is a new cycle before the new cycle where the target sampling point is located.
[0119] Since the embodiments of the device part correspond to the embodiments of the method part, the embodiments of the device part refer to the description of the embodiments of the method part, and will not be repeated here. The effect is the same as above.
[0120] Figure 7 This is a structural diagram of an electric energy meter provided by another embodiment of the present invention. This embodiment is based on the hardware perspective, such as Figure 7 As shown, the electric energy meter includes:
[0121] A memory 20, used for storing computer programs;
[0122] The processor 21 is used to implement the steps of the method for identifying abnormal jumps of the sampling signal of the electric energy meter mentioned in the above embodiment when executing the computer program.
[0123] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.
[0124] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, it can implement the relevant steps of the method for identifying abnormal jumps of the sampling signal of the electric energy meter disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include but is not limited to the data involved in the above-mentioned method for identifying abnormal jumps of the sampling signal of the electric energy meter.
[0125] In some embodiments, the electric energy meter may further include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .
[0126] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the electric energy meter, and may include more or fewer components than those shown in the figure.
[0127] The electric energy meter provided by the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: a method for identifying abnormal jumps in sampling signals of an electric energy meter, and the effect is the same as above.
[0128] Finally, the present invention also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.
[0129] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc. Various media that can store program codes.
[0130] The computer-readable storage medium provided by the present invention includes the above-mentioned method for identifying abnormal jumps in sampling signals of electric energy meters, and has the same effect as above.
[0131] The above is a detailed introduction to the method, device, electric energy meter and medium for identifying abnormal jumps in the sampling signal of the electric energy meter provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referenced to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the present invention.
[0132] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A method for identifying abnormal jumps in sampling signals of electric energy meters, characterized in that: include: Acquiring electrical signals of at least two sampling periods collected continuously; Performing time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point; After the alignment process, the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles is obtained; When it is detected that the difference is greater than a threshold, it is determined that an abnormal jump exists at the target sampling point; wherein the threshold is determined by the sum of the average values of the historical differences between the initial threshold and the amplitudes of the electrical signals corresponding to the sampling points at the same time nodes in a historical new cycle, and the historical new cycle is a new cycle before the new cycle where the target sampling point is located.
2. The method for identifying abnormal jumps of electric energy meter sampling signals according to claim 1, characterized in that: The performing time node alignment processing on the electrical signal of the sampling period includes: Obtaining the number of sampling points within the sampling period; Determining whether the number of the sampling points in the sampling period is an integer; If yes, then determining that the electrical signal time nodes of two adjacent sampling periods are aligned; If not, a preset number of the sampling periods are merged as the new period to determine whether the electrical signal time nodes of two adjacent new periods are aligned; wherein the preset number is the minimum value of all target numbers, and the number of sampling points after the sampling periods of each target number are merged is an integer.
3. The method for identifying abnormal jumps of electric energy meter sampling signals according to claim 2, characterized in that: The obtaining the number of sampling points within the sampling period comprises: Get the sampling rate and grid frequency; Obtaining a ratio of the sampling rate to the power grid frequency; The ratio is used as the number of sampling points in the sampling period.
4. The method for identifying abnormal jumps of electric energy meter sampling signals according to claim 1, characterized in that: Determining the initial threshold comprises: Obtaining the amplitude difference when the power grid data fluctuates normally; wherein, considering preset factors to determine whether the power grid data fluctuates normally, the preset factors include at least one of seasonal factors and time period factors; The amplitude difference is used as the initial threshold.
5. The method for identifying abnormal jumps in sampling signals of electric energy meters according to any one of claims 1 to 4, characterized in that: Before determining that the target sampling point has an abnormal jump, the process includes: Determine whether the difference is continuously detected to be greater than the threshold value within a preset time period; If yes, proceed to the step of determining whether the target sampling point has an abnormal jump; If not, it is determined that the target sampling point is a normal transient fluctuation.
6. The method for identifying abnormal jumps in the sampling signal of an electric energy meter according to claim 5, characterized in that: After determining that the target sampling point has an abnormal jump, the method further includes: Sending a prompt message indicating that the current metering is suspended, and / or sending a prompt message indicating that an abnormal signal jump is detected to the user, and / or recording the detected abnormal jump.
7. The method for identifying abnormal jumps of electric energy meter sampling signals according to claim 1, characterized in that: After acquiring the electrical signals of at least two sampling periods collected continuously and before performing time node alignment processing on the electrical signals of the sampling periods, the method further includes: The electrical signals of each sampling period are stored in chronological order.
8. A device for identifying abnormal jumps in sampling signals of electric energy meters, characterized in that: include: A first acquisition module is used to acquire electrical signals of at least two sampling periods collected continuously; An alignment processing module, used for performing time node alignment processing on the electrical signal of the sampling period; wherein, after the alignment processing, each time node in two adjacent new periods corresponds to a sampling point; A second acquisition module is used to acquire the difference between the electrical signal amplitudes corresponding to the target sampling points at the same time nodes of two adjacent new cycles after the alignment process; A determination module is used to determine that there is an abnormal jump at the target sampling point when it is detected that the difference is greater than a threshold; wherein the threshold is determined by the sum of the average of the historical differences between the initial threshold and the amplitudes of the electrical signals corresponding to the sampling points at the same time nodes in the historical new cycle, and the historical new cycle is a new cycle before the new cycle where the target sampling point is located.
9. An electric energy meter, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the method for identifying abnormal jumps in the sampling signal of an electric energy meter as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for identifying abnormal jumps in the sampling signal of an electric energy meter as claimed in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Sampling signal anomaly detection method for electric energy meter, medium and terminal
CN121522564A
