A remote anti-interference meter reading method, medium and electronic device for electric energy meter
Through high-frequency ADC sampling and multi-wave decomposition algorithms, carrier communication parameters are dynamically adjusted, which solves the problem of harmonic interference in power carrier remote meter reading technology, and improves the success rate of demodulation of carrier signals and the reliability of remote meter reading.
Patent Information
- Application Number
- CN202411178271.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2044-08-27
AI Technical Summary
The existing power carrier remote meter reading technology seriously affects the transmission quality of the carrier signal due to harmonic interference, making demodulation and decoding of the carrier signal difficult.
The high-frequency ADC voltage sampling module is used to obtain voltage data in real time, and the voltage waveform is decomposed into fundamental and harmonic signals through a multi-wave decomposition algorithm, and the carrier period energy matrix, amplitude variance matrix, phase offset matrix and interference factor are calculated, and dynamically adjusted. Carrier communication parameters to select the best meter reading time and optimize communication strategy.
It improves the success rate of demodulation of carrier signals, enhances the reliability and stability of remote meter reading, reduces the number of repeated meter readings, and is significantly better than traditional fixed communication strategies.
Smart Images

Figure CN118714477B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electric energy meters, and in particular relates to a remote anti-interference meter reading method, a medium and an electronic device for an electric energy meter. Background Art
[0002] In today's society, as the foundation of national economic development, the intelligent level and operation efficiency of the power system are particularly important. As a key metering device in the power system, the remote reading and monitoring functions of the energy meter are crucial to the realization of intelligent management of the power grid. However, due to the complex and changeable power grid environment, the energy meter faces various interferences and challenges during the remote reading process.
[0003] First, power line carrier communication is one of the main technical solutions for remote reading of electric energy meters. However, due to the presence of a large number of nonlinear loads such as switches and motors in the power grid, a large amount of high-order harmonic interference will be generated, which seriously affects the transmission quality of the carrier signal. These high-order harmonics will cause drastic changes in the energy, amplitude and phase of the carrier signal, making it very difficult to demodulate and decode the carrier signal. In addition, there is also random interference caused by factors such as weather in the power grid, which will also have an adverse effect on carrier communication. Secondly, most of the existing remote reading systems for electric energy meters adopt fixed communication strategies and cannot be dynamically adjusted according to changes in the actual power grid environment. In other words, the existing power carrier remote meter reading technology has the technical problem that harmonics seriously affect the transmission quality of the carrier signal, making it very difficult to demodulate and decode the carrier signal. Summary of the invention
[0004] In view of this, the present invention provides a remote anti-interference meter reading method, medium and electronic device for an electric energy meter, which can solve the technical problem of the existing power carrier remote meter reading technology that the harmonics seriously affect the transmission quality of the carrier signal, making the demodulation and decoding of the carrier signal very difficult.
[0005] The present invention is achieved in that:
[0006] A first aspect of the present invention provides a method for remote anti-interference meter reading of an electric energy meter, which comprises the following steps:
[0007] S10, acquiring voltage data collected by a high-frequency ADC voltage sampling module set in the smart meter in real time;
[0008] S20, establishing a voltage curve according to the voltage data, and obtaining characteristic points of the voltage curve, including outliers, breakpoints, zero-crossing points, and extreme value points;
[0009] S30, performing multi-wave decomposition calculation on the voltage curve to obtain fundamental wave signals and harmonic wave signals;
[0010] S40, using the fundamental signal and the harmonic signal to calculate the carrier cycle energy matrix, the carrier cycle amplitude variance matrix, the carrier cycle phase offset matrix and the carrier interference factor;
[0011] S50, calculating the carrier signal resolution success rate matrix according to the calculated carrier cycle energy matrix, carrier cycle amplitude variance matrix, carrier cycle phase offset matrix, and preset energy threshold and phase threshold;
[0012] S60, calculating a high-quality carrier voltage interval according to the carrier signal analysis success rate matrix;
[0013] S70, selecting the best carrier transmission timing based on the high-quality carrier voltage interval, and transmitting the meter reading instruction at the timing;
[0014] S80, receiving the meter reading data receiving instruction fed back by the concentrator or the server. If the meter reading data receiving instruction fails, dynamically adjusting the carrier communication parameters including modulation mode, signal strength and frequency according to the carrier signal analysis success rate matrix, and resending the meter reading instruction.
[0015] The formula for performing multi-wave decomposition calculation on the voltage curve is specifically:
[0016] ;
[0017] In the formula, The voltage data is acquired in real time by the high-frequency ADC voltage sampling module; is calculated from the sampled data using the fast Fourier transform algorithm. The specific calculation formula is as follows:
[0018] ;
[0019] in, is the sampling data, is the frequency domain data, ;
[0020] is the fundamental frequency, which is determined by the grid standard at the input end of the energy meter; is the phase angle of the nth harmonic, and the specific calculation formula is as follows:
[0021] ;
[0022] yes The real part of represents the amplitude of the cosine component of the signal, yes The imaginary part of represents the amplitude of the sinusoidal component of the signal; is the residual, obtained by subtracting all harmonic components from the original signal; is the preset harmonic order, which is generally a positive integer greater than 13; is the sampling time, which is provided by the sampling clock of the ADC voltage sampling module. The multi-wave decomposition calculation method can effectively decompose the voltage waveform into fundamental wave and harmonic components of each order, providing basic data for subsequent signal analysis.
[0023] Among them, each element in the carrier cycle energy matrix The calculation formula is:
[0024] ;
[0025] In the formula, To pass the bandpass filter installed at the output end of the power carrier modulation device from The j-th carrier signal extracted from is the carrier period of the power carrier, which is determined by the carrier frequency Sure, ; is the starting time of the ith carrier cycle, provided by the electric energy meter clock; the carrier cycle energy matrix reflects the energy conditions of each carrier signal in different time periods.
[0026] Among them, each element in the carrier period amplitude variance matrix The calculation formula is:
[0027] ;
[0028] In the formula, is the average amplitude of the jth carrier in the ith carrier period, calculated using the following formula:
[0029] ;
[0030] The carrier period amplitude variance matrix reflects the amplitude fluctuation of each carrier signal in different time periods.
[0031] Among them, each element in the carrier cycle phase offset matrix The calculation formula is:
[0032] ;
[0033] In the formula, represents the instantaneous phase angle of the jth carrier in the ith carrier period calculated by Hilbert transform, represents the initial phase angle of the jth carrier, and the carrier period phase offset matrix reflects the phase drift of each carrier signal in different time periods.
[0034] The carrier interference factor is specifically:
[0035] ;
[0036] in, Indicates the number of carrier signals, which is determined by the configuration of the power carrier module of the energy meter. Represents the number of observed time periods, and the carrier factor comprehensively reflects the overall interference level of each carrier signal.
[0037] Wherein, each element in the carrier signal resolution success rate matrix is calculated The formula is:
[0038] ;
[0039] In the formula, It is a preset successful resolution energy threshold, which is determined according to the performance of the electric energy meter and the environmental noise level; It is a preset phase threshold value, which is determined according to the allowable phase error of the electric energy meter.
[0040] The formula for calculating the high-quality carrier voltage interval is specifically:
[0041] ;
[0042] In the formula, is the effective voltage value of the jth carrier in the ith period, and the calculation formula is as follows:
[0043] ;
[0044] The calculated high-quality carrier voltage interval identifies a voltage interval of a carrier signal analysis success rate.
[0045] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the above-mentioned method for remote anti-interference meter reading of an electric energy meter.
[0046] A third aspect of the present invention provides an electronic device, which comprises a processor and a memory, wherein the memory is used to store the step program of the above-mentioned method, and the processor reads the memory and executes the steps.
[0047] Compared with the prior art, the beneficial effects of the electric energy meter remote anti-interference meter reading method, medium and electronic device provided by the present invention are:
[0048] 1. Make full use of the rich information in the voltage signal. The present invention adopts a high-frequency ADC sampling module, which can effectively capture the changes in high-order harmonics in the power grid and provide a high-quality raw data basis for subsequent signal analysis. And through the multi-wave decomposition algorithm, the voltage waveform is decomposed into fundamental waves and harmonic components of various orders, which fully reflects the frequency domain characteristics of the power grid voltage. This information provides an important basis for evaluating the quality of carrier communication.
[0049] 2. Dynamic analysis of carrier communication quality. The present invention calculates four key matrices and factors related to carrier communication, including the carrier period energy matrix, the amplitude variance matrix, the phase offset matrix, and the comprehensive interference factor. These indicators can comprehensively evaluate the quality of different time periods and different carrier signals, providing a basis for selecting the best reading time.
[0050] 3. Adaptive adjustment of communication parameters. The present invention dynamically adjusts the key parameters of carrier communication, including modulation mode, signal strength and frequency, based on the carrier signal analysis success rate matrix. When meter reading fails, the system will automatically correct the communication parameters and resend the meter reading instruction, greatly improving the overall meter reading success rate.
[0051] 4. Improve the reliability of remote meter reading. By dynamically monitoring the grid voltage and selecting the best time to send meter reading instructions within the high-quality carrier voltage range, the success rate of meter reading can be maximized and the number of repeated meter readings can be greatly reduced. This method is significantly better than the existing fixed communication strategy.
[0052] In general, the present invention makes full use of the rich voltage information in the power grid, analyzes the carrier communication quality in real time, and dynamically adjusts the reading strategy to solve the technical problem of the existing power carrier remote meter reading technology, in which the harmonics seriously affect the transmission quality of the carrier signal, making the demodulation and decoding of the carrier signal very difficult. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0054] Figure 1 A flowchart of the method provided by the present invention;
[0055] Figure 2 The schematic diagram of the voltage waveform containing high-order harmonics;
[0056] Figure 3 It is a schematic diagram of the frequency spectrum distribution of the voltage signal;
[0057] Figure 4 This is a schematic diagram of the carrier interference factor change trend. DETAILED DESCRIPTION
[0058] In order to make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0059] like Figure 1 As shown, it is a flow chart of a remote anti-interference meter reading method for an electric energy meter provided by the present invention, and the method comprises the following steps:
[0060] S10, acquiring voltage data collected by a high-frequency ADC voltage sampling module set in the smart meter in real time;
[0061] S20, establishing a voltage curve according to the voltage data, and obtaining characteristic points of the voltage curve, including outliers, breakpoints, zero crossing points, and extreme value points;
[0062] S30, performing multi-wave decomposition calculation on the voltage curve to obtain fundamental wave signal and harmonic wave signal;
[0063] S40, using the fundamental signal and the harmonic signal, calculating the carrier cycle energy matrix, the carrier cycle amplitude variance matrix, the carrier cycle phase offset matrix and the carrier interference factor;
[0064] S50, calculating the carrier signal resolution success rate matrix according to the calculated carrier cycle energy matrix, carrier cycle amplitude variance matrix, carrier cycle phase offset matrix, and preset energy threshold and phase threshold;
[0065] S60, calculating a high-quality carrier voltage interval according to a carrier signal analysis success rate matrix;
[0066] S70, selecting the best carrier transmission timing based on the high-quality carrier voltage interval, and sending the meter reading instruction at the timing;
[0067] S80, receiving the meter reading data receiving instruction fed back by the concentrator or the server. If the meter reading data receiving instruction fails, dynamically adjusting the carrier communication parameters including the modulation mode, signal strength and frequency according to the carrier signal analysis success rate matrix, and resending the meter reading instruction.
[0068] The specific implementation methods of the above steps are described in detail below:
[0069] The specific implementation of step S10 is: a high-frequency ADC analog-to-digital converter sampling module is provided inside the electric energy meter, and the module can collect voltage data in real time at a sampling frequency greater than or equal to 1MHz. The voltage data sampled by the module can reflect the changes in high-order harmonics in the power grid, and provide a high-resolution raw data basis for subsequent signal analysis. This high-frequency ADC sampling module usually adopts a pipeline ADC converter architecture, which can provide fast and stable digital voltage output, laying the foundation for the system to realize real-time meter reading and anti-interference analysis.
[0070] The specific implementation of step S20 is as follows: First, the system will establish a voltage waveform curve based on the voltage data collected in step S10. Then, by analyzing the voltage curve, some key feature points in the curve are obtained, including outliers, breakpoints, zero crossings and extreme points. These feature points can reflect the fluctuation of the grid voltage and provide a reference for subsequent harmonic analysis.
[0071] The specific implementation of step S30 is: input the voltage curve data obtained in step S20 into the multi-wave decomposition algorithm, and decompose the voltage waveform into fundamental wave components and harmonic wave components through fast Fourier transform (FFT) calculation. The specific formula is:
[0072] ;
[0073] in, Represents the real-time voltage data obtained through high-frequency ADC sampling. represents the amplitude of the nth harmonic, calculated by the FFT algorithm, Indicates the phase angle of the nth harmonic, which is also obtained from the FFT calculation result. It is the fundamental frequency of the power grid, usually 50Hz or 60Hz. The algorithm can effectively decompose the voltage waveform into fundamental wave and harmonic components of each order, providing basic data for subsequent signal analysis.
[0074] The specific implementation method of step S40 is: using the fundamental wave and harmonic wave signals obtained in step S30, several important matrices and factors related to power line carrier communication are calculated.
[0075] 1. Carrier cycle energy matrix :
[0076] ;
[0077] in, Represents the original voltage signal The jth carrier signal extracted from represents the carrier period, Indicates the start time of the ith carrier cycle. This matrix reflects the energy of each carrier signal in different time periods.
[0078] 2. Carrier period amplitude variance matrix :
[0079] ;
[0080] in, It represents the average amplitude of the jth carrier in the ith period, and the calculation formula is: The matrix reflects the amplitude fluctuation of each carrier signal in different time periods.
[0081] 3. Carrier cycle phase offset matrix :
[0082] ;
[0083] in, represents the instantaneous phase angle of the jth carrier in the ith period calculated by Hilbert transform, represents the initial phase angle of the jth carrier. This matrix reflects the phase drift of each carrier signal in different time periods. Among them,
[0084] ;
[0085] In the formula, is the required phase angle, corresponding to the nth harmonic component; It is the result of the Fast Fourier Transform (FFT), which is a complex number that represents the amplitude and phase information of the signal at a specific frequency k; yes The real part represents the amplitude of the cosine component of the signal at this frequency; yes The imaginary part represents the amplitude of the sinusoidal component of the signal at this frequency; is the inverse tangent function, which is used to convert the ratio of the real part to the imaginary part into an angle; the meaning of this formula is: by comparing the amplitudes of the sine and cosine components of the signal at a specific frequency, the phase angle of the frequency component is determined.
[0086] Specifically, if and , the phase angle is in the first quadrant (0° to 90°);
[0087] if and , the phase angle is in the second quadrant (90° to 180°);
[0088] if and , the phase angle is in the third quadrant (180° to 270°);
[0089] if and , the phase angle is in the fourth quadrant (270° to 360°);
[0090] The source of this formula is the Euler formula and the polar coordinate representation of complex numbers. In the Fourier transform, the time domain signal is converted into a complex number representation in the frequency domain. This complex number can be described by amplitude and phase, and the phase is calculated by this inverse tangent formula.
[0091] It should be noted that simple The function can only give results from -90° to 90°, so in practical applications, it is usually used function, which can give the full range (-180° to 180°) of phase angles based on the signs of the real and imaginary parts.
[0092] This phase information is very important for understanding the characteristics of the signal, performing signal processing and analysis, especially in power systems, where phase information can be used to detect voltage fluctuations, phase shifts and other problems.
[0093] 4. Carrier interference factor :
[0094] ;
[0095] in, Indicates the number of carrier signals, which is determined by the configuration of the energy meter. Indicates the number of observation time periods, which is also determined by the configuration of the energy meter. This factor comprehensively reflects the overall interference level of each carrier signal.
[0096] The above matrices and factors can comprehensively evaluate the quality of power line carrier communication and provide a basis for the subsequent selection of the best time for meter reading.
[0097] The specific implementation of step S50 is: according to the carrier energy matrix calculated in step S40 , carrier phase offset matrix , combined with the preset energy threshold and phase threshold , calculate the carrier signal analysis success rate matrix :
[0098]
[0099] The energy threshold The background noise energy can be and target signal-to-noise ratio To determine:
[0100] ;
[0101] Phase Threshold The standard deviation of the phase noise characteristic of the energy meter can be and target bit error rate To determine:
[0102] ;
[0103] here, is the inverse function of the error function.
[0104] By calculating the carrier signal analysis success rate matrix ,The system can evaluate the reliability of carrier communication under different time periods and ,different carrier signals, and provide a basis for the subsequent ,selection of the best time for meter reading.
[0105] The specific implementation of step S60 is: according to the carrier signal analysis success rate matrix calculated in step S50 , find out the voltage interval corresponding to all the successfully resolved carrier signals, which is the high-quality carrier voltage interval :
[0106] ;
[0107] in, It represents the effective voltage value of the jth carrier in the ith period, and the calculation formula is:
[0108] ;
[0109] This high-quality carrier voltage range provides an important basis for selecting the best subsequent meter reading time, because only within this voltage range is the carrier signal analysis success rate the highest.
[0110] The specific implementation of step S70 is: according to the high-quality carrier voltage interval calculated in step S60 ,The system will dynamically monitor the grid voltage and select the best time when the voltage falls within the range to send the meter reading instruction.,This can maximize the success rate of meter reading and reduce the number of repeated meter reading.
[0111] The specific implementation of step S80 is: after sending the meter reading instruction, the system will receive the meter reading data receiving instruction fed back by the concentrator or the server. If the meter reading data receiving instruction fails, the system will analyze the carrier signal according to the carrier signal analysis success rate matrix calculated in step S50. ,dynamically adjust the key parameters of carrier communication, including modulation mode, signal strength and frequency, and then resend the meter reading instruction.,This adaptive adjustment mechanism can improve the overall meter reading success rate and enhance the reliability and stability of remote meter reading of electric energy meters.
[0112] Furthermore, a method for determining the preset analysis success energy threshold and phase threshold is provided below.
[0113] 1. Energy threshold Method for determining:
[0114] The energy threshold can be determined by the signal-to-noise ratio (SNR). The following steps can be used:
[0115] a) First, measure the background noise energy of the energy meter when there is no carrier signal :
[0116] ;
[0117] in is the measured noise voltage, is the observation time.
[0118] b) Then, set a target signal-to-noise ratio (Usually between 10-20dB).
[0119] c) Calculate the energy threshold:
[0120] ;
[0121] Specific formula:
[0122] ;
[0123] here, The unit is dB.
[0124] In addition, adaptive methods can be used to dynamically adjust :
[0125] ;
[0126] in:
[0127] is the threshold for the kth update
[0128] is the smoothing factor (0< <1)
[0129] is the safety factor (usually 0.5-0.8)
[0130] is the current measured signal energy
[0131] 2. Phase threshold Method for determining:
[0132] The phase threshold can be determined based on the phase noise performance of the energy meter and the allowed bit error rate. The steps are as follows:
[0133] a) Measure the phase noise characteristics of the energy meter and obtain the standard deviation of the phase jitter .
[0134] b) Determine the allowable bit error rate of the energy meter (usually arrive ).
[0135] c) Calculate the phase threshold using the Q function (complement of the Gaussian error function):
[0136] ;
[0137] in is the inverse of the complementary error function.
[0138] To simplify the calculation, a lookup table or approximate formula can be used. For example, when hour, .
[0139] Alternatively, an adaptive method can be used to dynamically adjust :
[0140] ;
[0141] in:
[0142] is the threshold for the kth update
[0143] is the smoothing factor (0< <1)
[0144] is the safety factor (usually 4-5)
[0145] is the current measured phase jitter standard deviation
[0146] These methods allow the energy meter to dynamically adjust the thresholds according to the actual working environment and conditions to obtain the best performance. In practical applications, it may be necessary to fine-tune these parameters in combination with experimental data and experience to achieve the best meter reading effect.
[0147] A second aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the above-mentioned method for remote anti-interference meter reading of an electric energy meter.
[0148] A third aspect of the present invention provides an electronic device, which comprises a processor and a memory, wherein the memory is used to store the step program of the above-mentioned method, and the processor reads the memory and executes the steps.
[0149] In order to better understand and implement the present invention, a specific embodiment 1 of the present invention for a computer program in a computer-readable storage medium or a computer chip or other motor device is provided below. In this embodiment 1, due to the sampling problem of computer calculation, some functions are converted into discrete arrays to facilitate loop or traversal operations. The specific steps are as follows: In step S10, a high-frequency ADC analog-to-digital converter sampling module is provided inside the electric energy meter, and the module can collect voltage data in real time at a sampling frequency greater than or equal to 1MHz. The sampling process can be expressed by the following formula:
[0150] ;
[0151] in, represents the discrete voltage value obtained by the nth sampling, represents the voltage signal in the continuous time domain, is the sampling period, where This high-frequency ADC sampling can effectively capture the changes in high-order harmonics in the power grid and provide a high-resolution raw data basis for subsequent signal analysis.
[0152] In step S20, the system will collect the voltage data in step S10. Create a voltage waveform curve. You can use discrete time voltage sequence Then, by analyzing the voltage curve, the system can obtain some key feature points in the curve, including outliers, breakpoints, zero crossings and extreme points. These feature points can be expressed as:
[0153] ;
[0154] in, represents the time position of the i-th feature point, Indicates the voltage value corresponding to the characteristic point. These characteristic points can reflect the fluctuation of the grid voltage and provide a reference for subsequent harmonic analysis.
[0155] In step S30, the system converts the voltage curve data obtained in step S20 into Input the multi-wave decomposition algorithm, and decompose the voltage waveform into fundamental wave components and harmonic wave components through fast Fourier transform (FFT) calculation. The specific formula is:
[0156] ;
[0157] in, represents the amplitude of the kth harmonic, represents the phase angle of the kth harmonic, It is the fundamental frequency of the power grid, usually 50Hz or 60Hz. represents the residual term, N represents the harmonic number, which is a preset value, and the default value is 13. The FFT algorithm can calculate and Value:
[0158] ;
[0159] ;
[0160] in, The voltage sequence The discrete Fourier transform coefficients of the voltage waveform can be effectively decomposed into fundamental wave and harmonic components of each order, providing basic data for subsequent signal analysis.
[0161] In step S40, the system uses the fundamental and harmonic signals obtained in step S30 to calculate several important matrices and factors related to power line carrier communication.
[0162] First, the carrier period energy matrix :
[0163] ;
[0164] in, Represents the original voltage signal The jth carrier signal extracted from represents the carrier period, Indicates the start time of the ith carrier cycle. This matrix reflects the energy of each carrier signal in different time periods.
[0165] The second is the carrier period amplitude variance matrix :
[0166] ;
[0167] ;
[0168] in, Represents the average amplitude of the jth carrier in the ith period. This matrix reflects the amplitude fluctuation of each carrier signal in different time periods.
[0169] Again, the carrier period phase offset matrix :
[0170] ;
[0171] ;
[0172] in, represents the instantaneous phase angle of the jth carrier in the ith period calculated by Hilbert transform, represents the initial phase angle of the jth carrier. This matrix reflects the phase drift of each carrier signal in different time periods.
[0173] Finally, the carrier interference factor :
[0174] ;
[0175] in, Indicates the number of carrier signals, which is determined by the configuration of the energy meter. Indicates the number of observation time periods, which is also determined by the configuration of the energy meter. This factor comprehensively reflects the overall interference level of each carrier signal.
[0176] The above matrices and factors can comprehensively evaluate the quality of power line carrier communication and provide a basis for the subsequent selection of the best time for meter reading.
[0177] In step S50, the system calculates the carrier energy matrix obtained in step S40. , carrier phase offset matrix , combined with the preset energy threshold and phase threshold , calculate the carrier signal analysis success rate matrix :
[0178]
[0179] The energy threshold The background noise energy can be and target signal-to-noise ratio To determine:
[0180] ;
[0181] ;
[0182] Phase Threshold The standard deviation of the phase noise characteristic of the energy meter can be and target bit error rate To determine:
[0183] ;
[0184] in, is the inverse of the complementary error function.
[0185] By calculating the carrier signal analysis success rate matrix ,The system can evaluate the reliability of carrier communication under different time periods and ,different carrier signals, and provide a basis for the subsequent ,selection of the best time for meter reading.
[0186] In step S60, the system calculates the carrier signal analysis success rate matrix obtained in step S50. , find out the voltage interval corresponding to all the successfully resolved carrier signals, which is the high-quality carrier voltage interval :
[0187] ;
[0188] ;
[0189] in, It represents the effective voltage value of the jth carrier in the ith period. This high-quality carrier voltage range provides an important basis for selecting the best time to read the meter.
[0190] In step S70, the system will dynamically monitor the grid voltage and select the voltage that falls within the high-quality carrier voltage range calculated in step S60. The meter reading instruction is sent at the best time within the time limit. This can maximize the success rate of meter reading and reduce the number of repeated meter readings.
[0191] In step S80, the system will receive the meter reading data receiving instruction fed back by the concentrator or the server. If the meter reading data receiving instruction fails, the system will calculate the carrier signal analysis success rate matrix calculated in step S50. ,dynamically adjust the key parameters of carrier communication, including modulation mode, signal strength and frequency, and then resend the meter reading instruction.,This adaptive adjustment mechanism can improve the overall meter reading success rate and enhance the reliability and stability of remote meter reading of electric energy meters.
[0192] In general, the remote meter reading method based on high-frequency ADC sampling and multivariate signal analysis in this embodiment 1 makes full use of the rich voltage information in the power grid, and dynamically selects the optimal meter reading time and communication parameters by real-time monitoring of the energy, amplitude, phase and other characteristics of the carrier signal, thereby greatly improving the reliability and anti-interference ability of remote meter reading, and providing effective technical support for the intelligent application of electric energy meters.
[0193] Specifically, the principle of the present invention is to make full use of the rich voltage information in the power grid, analyze the quality of carrier communication in real time, and dynamically select the best reading time and communication parameters, thereby greatly improving the reliability of remote reading. The specific technical principles are as follows:
[0194] First, the present invention uses a high-frequency ADC sampling module to collect voltage data in real time at a sampling frequency greater than or equal to 1MHz. This high sampling frequency can effectively capture the change information of higher-order harmonics in the power grid and provide a high-quality raw data basis for subsequent signal analysis. By establishing a voltage waveform curve and extracting key features such as outliers, breakpoints, zero crossings and extreme points in the curve, the fluctuation of the power grid voltage can be reflected.
[0195] Secondly, the present invention adopts a multi-wave decomposition algorithm to effectively decompose the voltage waveform into fundamental wave and harmonic components of each order. Through fast Fourier transform (FFT) calculation, the amplitude and phase angle of each harmonic component can be obtained. This information provides basic data for subsequent carrier communication quality analysis.
[0196] Then, the present invention calculates four important matrices and factors related to carrier communication, including carrier period energy matrix, amplitude variance matrix, phase offset matrix and comprehensive interference factor. These indicators can fully reflect the quality of different time periods and different carrier signals, and provide a basis for selecting the best reading time.
[0197] Next, the present invention determines the carrier signal resolution success rate matrix based on the calculated carrier energy, phase and other information, combined with the preset energy threshold and phase threshold. This matrix can evaluate the reliability of carrier communication at different times and different carrier signals.
[0198] Finally, the present invention dynamically selects the moment when the voltage is in the optimal range to send the meter reading instruction according to the carrier signal analysis success rate matrix. At the same time, if the meter reading fails, the system will automatically adjust the key parameters of the carrier communication, such as modulation mode, signal strength and frequency, and then resend the meter reading instruction. This adaptive adjustment mechanism greatly improves the overall meter reading success rate.
[0199] In summary, the present invention makes full use of the rich voltage information in the power grid, analyzes the carrier communication quality in real time, and dynamically selects the optimal reading time and communication parameters, thereby solving the problem that the existing electric energy meter remote reading system is seriously interfered by the power grid environment, greatly improving the reliability and stability of remote reading, and providing strong support for the intelligent management of the power system.
[0200] In order to better understand the present invention, the following provides Example 2 of a specific application scenario of the present invention: A power company is using a new type of electric energy meter, which adopts the remote anti-interference meter reading method based on high-frequency ADC sampling and multivariate signal analysis proposed by the present invention. This electric energy meter is installed in the power distribution system of a certain industrial park and is responsible for remotely reading the electricity consumption data of dozens of enterprises in the park. Due to the large number of motor loads and switchgear in the industrial park, the power grid environment is very complex, which brings great challenges to remote meter reading.
[0201] 1. High-frequency ADC sampling to obtain raw voltage data
[0202] The electric energy meter is equipped with a high-frequency ADC sampling module with a sampling frequency of 1MHz. The module collects voltage data on the park distribution line in real time and stores the sampled values in the internal memory. Through preliminary observation of the sampled data, it can be found that the voltage waveform has obvious high-order harmonic components, such as Figure 2 As shown. Figure 2 It can be seen that the voltage waveform is obviously distorted and has rich high-order harmonic components. This shows that there are a large number of nonlinear loads in the park, which has caused serious pollution to the grid voltage. Such high-order harmonics will cause great interference to subsequent carrier communications. If the traditional fixed meter reading strategy is still used, it is difficult to ensure the reliability of remote meter reading.
[0203] 2. Voltage waveform feature extraction
[0204] In order to better analyze the power grid environment, the electric energy meter system further processes the sampled voltage data and extracts some key feature points of the voltage waveform, including outliers, breakpoints, zero crossings and extreme points, etc. These feature points can reflect the fluctuation of the power grid voltage and provide an important basis for subsequent harmonic analysis.
[0205] Through the analysis of characteristic points, the system found that there were large fluctuations in the voltage on the park distribution line. The relevant information is shown in Table 1.
[0206] Table 1 Feature point table
[0207]
[0208] As can be seen from Table 1, there are multiple outliers and breakpoints on the voltage curve, which indicates that the grid voltage has large instantaneous fluctuations. The distribution of zero-crossing points and extreme value points also shows that the voltage waveform has serious distortion. These characteristics indicate that the grid environment in the park is very bad and corresponding measures must be taken to deal with it.
[0209] 3. Frequency domain analysis of voltage waveform
[0210] In order to analyze the harmonic characteristics of the grid voltage more deeply, the electric energy meter system adopts a multi-wave decomposition algorithm to analyze the sampled voltage waveform in the frequency domain. Through the fast Fourier transform (FFT), the system calculates the amplitude and phase angle of each order of harmonics. Figure 3 The spectrum distribution diagram of the voltage signal on the park distribution line is shown. Figure 3 It can be seen that in addition to the fundamental 50Hz component, there are also a large number of higher harmonics in the voltage signal, such as the 3rd, 5th, 7th, and 11th harmonics, all of which have high amplitudes. These higher harmonics will inevitably cause serious interference to subsequent carrier communications.
[0211] Through further analysis, the system found that the amplitude of the 3rd, 5th and 7th harmonics in the park accounted for more than 30% of the total voltage, which shows that the harmonic pollution is very serious. If the traditional fixed carrier communication strategy is still used, it is difficult to ensure the stable transmission of the signal. Therefore, it is necessary to take targeted measures to dynamically adjust the communication parameters to cope with the complex and changeable power grid environment.
[0212] 4. Carrier communication quality analysis
[0213] Based on the frequency domain analysis results of the voltage signal, the energy meter system began to evaluate the quality of power line carrier communication in the park. First, the system calculated four important matrices and factors related to carrier communication.
[0214] (1) Carrier period energy matrix
[0215] The system extracts all carrier signals used in the park from the original voltage signal and calculates the energy of each carrier signal in different time periods to form a carrier period energy matrix. The relevant information is shown in Table 2:
[0216] Table 2 Carrier cycle energy matrix related information table
[0217]
[0218] As can be seen from Table 2, there are large differences in the energy levels of different carrier signals in different time periods. In some time periods, the energy of some carrier signals is very high, while the energy of other carrier signals is low. This shows that the impact of changes in the power grid environment on different carrier signals is also different, and targeted adjustment strategies must be adopted.
[0219] (2) Carrier period amplitude variance matrix
[0220] The system also calculates the amplitude variance of each carrier signal in different time periods to form a carrier period amplitude variance matrix. The relevant information is shown in Table 3:
[0221] Table 3 Carrier period amplitude variance matrix related information
[0222]
[0223] As can be seen from Table 3, most of the carrier signals have large amplitude fluctuations in time, which further illustrates the complexity of the power grid environment in the park. If a fixed modulation strategy is used, it is difficult to ensure the stable transmission of the carrier signal.
[0224] (3) Carrier cycle phase offset matrix
[0225] In addition to the amplitude characteristics, the system also analyzes the phase changes of each carrier signal in different time periods to form a carrier period phase offset matrix. The relevant information is shown in Table 4:
[0226] Table 4 Carrier cycle phase offset matrix related information table
[0227]
[0228] It can be seen from Table 4 that most carrier signals have large phase drift in time, which will undoubtedly further aggravate the difficulty of carrier communication.
[0229] (4) Carrier interference factor
[0230] Taking the above three matrices into consideration, the system calculates a comprehensive carrier interference factor, which reflects the overall quality of carrier communication in the park. Figure 4 As shown, from Figure 4 It can be seen that the carrier interference factor fluctuates greatly over time, which shows that the power grid environment in the park is very complex and changeable, and a dynamically adjusted communication strategy must be adopted to ensure the reliability of remote meter reading.
[0231] 5. Best time to read the meter
[0232] Based on the analysis of the carrier communication quality, the system begins to dynamically select the best time for remote meter reading. First, the system calculates the carrier signal resolution success rate matrix based on the carrier energy matrix and phase offset matrix, combined with the preset energy threshold and phase threshold. The relevant information of the carrier signal resolution success rate matrix is shown in Table 5:
[0233] Table 5 Carrier signal analysis success rate matrix related information table
[0234]
[0235] As shown in Table 5, the matrix reflects the reliability of communication in different time periods and different carrier signals. It can be seen from Table 5 that the resolution success rate is higher in some time periods and some carrier signals, while the resolution success rate is lower in other time periods and carrier signals. Based on the matrix, the system will select the moment with the highest resolution success rate to send the meter reading instruction.
[0236] After further analysis, the system found the voltage range corresponding to all the carrier signals that were successfully resolved, which is the high-quality carrier voltage range [166V, 203V]. The system will dynamically monitor the voltage of the distribution line and select the best time to send the meter reading instruction when the voltage falls within this range, thereby maximizing the success rate of meter reading.
[0237] 6. Adaptive communication strategy adjustment
[0238] In the actual meter reading process, if the system detects that the meter reading fails, it will automatically adjust the key parameters of the carrier communication, including modulation mode, signal strength and frequency, according to the carrier signal analysis success rate matrix.
[0239] For example, if a meter reading fails, the system will analyze the cause of the failure and find that it is due to the low success rate of parsing certain carrier signals. Then the system will increase the modulation strength of these carrier signals, or adjust to a more robust modulation method, and then resend the meter reading instruction.
[0240] Through this adaptive adjustment mechanism, the system can quickly adapt to changes in the power grid environment, dynamically optimize communication strategies, and greatly improve the success rate of meter reading. In actual application, the system has been running for half a year, and the success rate of remote meter reading has increased from the original 75% to more than 95%, and the number of repeated meter readings has also been greatly reduced.
[0241] Users in the park highly praised the remote reading function of this new type of electricity meter, believing that it not only greatly improved the reliability of meter reading, but also reduced the workload of managers. At the same time, the power company also fully affirmed the solution, believing that it provides effective support for the intelligent development of the power system.
[0242] In summary, the remote anti-interference meter reading method based on high-frequency ADC sampling and multivariate signal analysis proposed in the present invention makes full use of the rich voltage information in the power grid, analyzes the carrier communication quality in real time, and dynamically adjusts the meter reading strategy. It achieves high reliability of remote meter reading in a complex and changeable power grid environment, and provides strong support for the intelligent management of the power system.
[0243] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A remote anti-interference meter reading method for electric energy meters, characterized in that: The following steps are involved: S10, acquiring voltage data collected by a high-frequency ADC voltage sampling module set in the smart meter in real time; S20, establishing a voltage curve according to the voltage data, and obtaining characteristic points of the voltage curve, including outliers, breakpoints, zero-crossing points, and extreme value points; S30, performing multi-wave decomposition calculation on the voltage curve to obtain fundamental wave signals and harmonic wave signals; S40, using the fundamental signal and the harmonic signal to calculate the carrier cycle energy matrix, the carrier cycle amplitude variance matrix, the carrier cycle phase offset matrix and the carrier interference factor; S50, calculating the carrier signal resolution success rate matrix according to the calculated carrier cycle energy matrix, carrier cycle amplitude variance matrix, carrier cycle phase offset matrix, and preset energy threshold and phase threshold; S60, calculating a high-quality carrier voltage interval according to the carrier signal analysis success rate matrix; S70, selecting the best carrier transmission timing based on the high-quality carrier voltage interval, and transmitting the meter reading instruction at the timing; S80, receiving the meter reading data receiving instruction fed back by the concentrator or the server, if the meter reading data receiving instruction fails, dynamically adjusting the carrier communication parameters including the modulation mode, signal strength and frequency according to the carrier signal analysis success rate matrix, and resending the meter reading instruction; Wherein, each element P in the carrier signal resolution success rate matrix is calculated ij The formula is: In the formula, E th is the preset successful analysis energy threshold, which is determined according to the performance of the electric energy meter and the environmental noise level; φ th is the preset phase threshold, which is determined according to the phase error allowed by the electric energy meter; E ij represents the element of the carrier period energy matrix, Δφ ij represents the elements of the carrier cycle phase offset matrix; The formula for calculating the high-quality carrier voltage interval is specifically: Where V ij is the effective voltage value of the jth carrier in the ith period, and the calculation formula is as follows: Where V j (t) represents the jth carrier signal extracted from the original voltage signal V(t), T represents the carrier period, and t i Indicates the start time of the i-th carrier cycle.
2. A remote anti-interference meter reading method for electric energy meters according to claim 1, characterized in that: The formula for performing multi-wave decomposition calculation on the voltage curve is specifically: Wherein, V(t) is the voltage data acquired in real time by the high-frequency ADC voltage sampling module; A n A is calculated from the sampled data by the fast Fourier transform algorithm. n The specific calculation formula is as follows: Among them, x n is the sampled data, X k is the frequency domain data, A n =|X k |; f0 is the fundamental frequency, which is determined by the grid standard at the input end of the energy meter; φ n is the phase angle of the nth harmonic, and the specific calculation formula is as follows: Re(X k ) is X k The real part of the signal represents the amplitude of the cosine component, Im(X k ) is X k The imaginary part represents the amplitude of the sinusoidal component of the signal; ∈(t) is the residual, which is obtained by subtracting all harmonic components from the original signal; N is the preset harmonic number; t is the sampling time, which is provided by the sampling clock of the ADC voltage sampling module.
3. A remote anti-interference meter reading method for electric energy meters according to claim 2, characterized in that: Each element E in the carrier cycle energy matrix ij The calculation formula is: Where V j (t) is the jth carrier signal extracted from V(t) by a bandpass filter installed at the output end of the power carrier modulation device; T is the carrier period of the power carrier, which is determined by the carrier frequency f c OK, T = 1 / f c ;t i is the starting time of the ith carrier cycle, provided by the electric energy meter clock; the carrier cycle energy matrix reflects the energy conditions of each carrier signal in different time periods.
4. A remote anti-interference meter reading method for electric energy meters according to claim 3, characterized in that: Each element in the carrier period amplitude variance matrix The calculation formula is: In the formula, μ ij is the average amplitude of the jth carrier in the ith carrier period, calculated using the following formula: The carrier period amplitude variance matrix reflects the amplitude fluctuation of each carrier signal in different time periods.
5. A remote anti-interference meter reading method for electric energy meters according to claim 4, characterized in that: Each element Δφ in the carrier cycle phase offset matrix ij The calculation formula is: Df ij =φ ij -f 0j ; In the formula, φ ij represents the instantaneous phase angle of the jth carrier in the ith carrier period calculated by Hilbert transform, φ 0j represents the initial phase angle of the jth carrier, and the carrier period phase offset matrix reflects the phase drift of each carrier signal in different time periods.
6. A remote anti-interference meter reading method for electric energy meters according to claim 5, characterized in that: The carrier interference factor is specifically: Wherein, M represents the number of carrier signals, which is determined by the configuration of the power carrier module of the electric energy meter, Γ represents the number of observed time periods, and the carrier factor comprehensively reflects the overall interference level of each carrier signal.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed, they are used to execute the remote anti-interference meter reading method for an electric energy meter according to any one of claims 1 to 6.
8. An electronic device, characterized in that: A processor and a memory are provided, wherein the memory is used to store the step program of the method described in any one of claims 1 to 6, and the processor reads the memory to execute the steps.
