Electric energy meter wireless verification pulse identification method based on multiple channels

Through the multi-channel wireless calibration pulse identification method of electric energy meters, the XOR processing of information entropy and symbol stream is used to solve the problem that wireless calibration pulse frames are susceptible to interference in the new generation of intelligent IoT electric energy meters, and improve the accuracy of sampling performance tests. Accuracy and anti-interference ability reduce the false detection rate.

CN118549879APending Publication Date: 2024-08-27STATE GRID ZHEJIANG ELECTRIC POWER CO MARKETING SERVICE CENT +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410740059.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing electric energy meter sampling performance test device cannot effectively identify the wireless calibration pulse frame in the new generation of intelligent IoT electric energy meters. It is susceptible to high-frequency electromagnetic interference, causing pulse loss and misdetection, affecting measurement accuracy.

Method used

A multi-channel wireless calibration pulse identification method for electric energy meters is adopted. By setting up multiple wireless channels on the detection device, the information entropy is used to calculate the symbol recognition threshold, and the codes are aligned bit by bit through XOR and normalization processing of the symbol stream. Yuanliu, improve anti-interference ability and reduce the probability of pulse loss.

Benefits of technology

It effectively reduces the probability of pulse loss caused by high-frequency electromagnetic interference, improves the false detection rate in sampling performance tests, and improves the accuracy and anti-interference ability of pulse reception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549879A
    Figure CN118549879A
Patent Text Reader

Abstract

The invention discloses an electric energy meter wireless verification pulse identification method based on multiple channels, and relates to the field of electric energy meter sampling performance test wireless verification pulse identification methods. In the case of simultaneous verification of multiple meter positions, when all receiving channels of multiple antennas are interfered, pulse frames received on each channel have a plurality of code element errors, gross errors can be caused, and the pulse loss probability is large. According to the method, code element streams containing interference signals are received from all wireless channels, the code element error probability caused by bottom noise is measured according to the number of concurrent wireless verification pulse meter bits, the information entropy hi of the ith code element bit is calculated, the identification threshold value of the ith code element is determined, the delay of all channels in a communication window relative to the first channel is calculated according to a maximum similarity mode, and the identification threshold value of the ith code element is determined. Code element streams of all channels are aligned through delay, summation and normalization are carried out according to the channels, the code element difference degree can be obtained, and whether each code element in a pulse frame is a verification pulse or not is judged. And the pulse receiving error probability caused by electromagnetic interference can be effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of wireless verification pulse identification methods for sampling performance tests of electric energy meters, and in particular to a wireless verification pulse identification method for electric energy meters based on multiple channels. Background Art

[0002] In the power industry, smart energy meters are important measuring instruments used in trade settlement, and their performance in terms of operation stability, power consumption, and anti-interference ability is also very critical. To this end, State Grid Corporation of China has made detailed provisions for sampling performance tests after the arrival of energy meters in accordance with relevant national standards, hereinafter referred to as performance tests. Sampling performance tests are an important means to ensure the batch quality of energy meters. The sampling performance tests of energy meters include multiple different types of projects to verify whether the performance of energy meters in terms of long-term operation, anti-electromagnetic interference, and power consumption meets the requirements.

[0003] During this process, the detection device must collect calibration pulses that represent the speed at which the electricity meter accumulates electricity, which serves as the basis for accuracy calculation.

[0004] With the advancement of wireless communication technology, a built-in Bluetooth module has been added to the design of the next generation of smart IoT electricity meters, but the weak current signal output has been eliminated.

[0005] Since the weak current signal output channel is cancelled, the calibration pulse cannot be output in the form of a wired signal. Therefore, the new standard adds a calibration pulse signal in the form of a wireless signal, hereinafter referred to as a pulse frame, which is sent through the built-in RF module of the electric energy meter and an external RF converter is installed on the detection device. After receiving the pulse frame, the RF converter compares it with the reference pulse frame. If the two are consistent, it is identified as a calibration pulse. If there are multiple epitopes on the detection device, each epitope needs to be configured with an RF converter for reception, and a specific code element is used to distinguish them in the reference pulse frame. For example, the calibration pulse frame sent by the correct epitope is 5501 02 03 04 00 80, and the 2nd to 5th bits are used to distinguish different epitopes. The reference pulse frames of other epitopes that are calibrated at the same time are: 5501 02XX XX 00 80, where XX XX≠03 04. When the receiving device receives the former, it should convert it into a calibration pulse, and when it receives the latter, it should not be converted.

[0006] However, the wireless verification pulse frame modulation method is Gaussian frequency shift keying modulation on the 2.4GHz frequency band, which is susceptible to co-frequency interference and discarding pulse frames. Specifically, in electromagnetic compatibility (EMC) projects, due to the spatial dispersion characteristics of wireless signals, there is always a certain amount of high-frequency radio interference in the space where the detection system is located. The new generation of smart IoT electric energy meters use wireless verification pulse frames for measurement accuracy performance testing, so the risk of being affected always exists. In particular, multiple different types of electromagnetic compatibility test items may be carried out simultaneously in the automated sampling performance test system, and the probability of wireless pulse frames being interfered with is greater. If there is no error correction or repair mechanism, the verification device can only discard the entire pulse frame, which will cause false detection.

[0007] Therefore, the existing sampling performance test device of electric energy meters cannot be applied to the detection of the new generation of smart IoT electric energy meters which usually use wireless radio frequency to carry out calibration / detection of metering performance.

[0008] For data communication, discarded frames can be retransmitted using the retransmission mechanism; but for metrology verification, since the verification pulse must strictly correspond to the measurement value, retransmission of the verification pulse is not allowed; at the same time, anti-interference measures such as frequency hopping and negotiated time sharing have a greater impact on the stability of transmission delay and are also difficult to apply.

[0009] On the other hand, compared with the interference signal, the wireless verification pulse frame signal has the following characteristics: there is generally inductance in the current loop of the energy meter, and the probability of current mutation is small, so the active pulse signal spacing is relatively stable during normal measurement.

[0010] The wireless calibration pulse receiver of the electric energy meter currently only supports multi-antenna diversity combining technology to avoid the loss of calibration pulse frames. In each communication window, after the electric energy meter sends out the calibration pulse to be identified, multiple wireless channels first independently receive the signal and use GFSK to demodulate it into a binary code stream. The code stream received by each channel is XORed with the standard code stream. If one channel passes the detection, it is determined to be a calibration pulse.

[0011] Traditional multi-antenna diversity combining technology has a certain ability to resist pulse loss, but if all receiving channels are interfered, so that the pulse frames received on each channel have some code element errors, the test pulse will still be lost. In addition, in the case of simultaneous testing of multiple epitopes, this technology may cause the reception of wireless test pulse frames of non-corresponding epitopes. Both of the above situations will cause pulse reception errors, and the probability of gross errors is high. Summary of the invention

[0012] The technical problem to be solved and the technical task proposed by the present invention are to improve and perfect the existing technical solutions, and provide a multi-channel based wireless verification pulse identification method for electric energy meters, so as to reduce the probability of pulse loss caused by high-frequency electromagnetic interference during the sampling performance test of electric energy meters. To this end, the present invention adopts the following technical solutions.

[0013] A multi-channel based electric energy meter wireless verification pulse identification method comprises the following steps:

[0014] 1) Several wireless channels for receiving wireless verification pulse code element streams (including interference signals) are set at each table position of the detection device;

[0015] 2) Before identification, the number of bits of the concurrent wireless verification pulse is recorded as N s , determine a reference pulse frame for each epitope, denoted as r * ;

[0016] 3) Determine the probability of symbol error caused by background noise, denoted as p s , calculate the information entropy h of the i-th codeword i , used to determine the recognition threshold of the i-th code element;

[0017] 4) In the recognition process, the time interval Δt and information entropy h of the last detection pulse are used i Determine the recognition threshold Δr of the i-th codeword thi ;

[0018] 5) In each communication window, after the electric energy meter sends out the verification pulse to be identified, multiple wireless channels first receive the signal independently and demodulate it into a binary code stream using GFSK, calculate the delay of each channel in the communication window relative to the first channel, and use the delay to align the code streams of each channel;

[0019] 6) r R Each row vector is related to the standard detection pulse code element group r * Take bitwise XOR, embed into real number domain, and finally sum and normalize by channel to get the symbol difference Δr i , the degree to which the code element deviates from the reference value can be quantitatively evaluated as follows:

[0020]

[0021] 7) For each code element in the pulse frame, determine whether there is Δr i ≤Δr thi (i∈[1,N r ]), if yes, it is determined to be a detection pulse, otherwise the code element stream received in the entire communication window is discarded.

[0022] This method improves the anti-interference ability of the calibration pulse reception by bit-by-bit signal comparison of multi-channel single code elements. By introducing information entropy as the threshold parameter of each code element, the selectivity and anti-interference ability of the calibration pulse reception are taken into account. In the process of the sampling performance test of the electric energy meter, the probability of pulse loss caused by high-frequency electromagnetic interference can be effectively reduced, thereby improving the false detection rate of each error item of the electric energy meter that needs to be detected in the sampling performance test.

[0023] As a preferred technical means: in step 2), the reference pulse frame r * The expression is as follows:

[0024]

[0025] Where N r Indicates the reference pulse frame length. Determines the reference pulse frame calculation expression.

[0026] As a preferred technical means: the calculation formula of step 3) is as follows:

[0027] h i =-P(S i =1)log 2 P(S i =1)-P(S i =0)log 2 P(S i =0)

[0028]

[0029]

[0030] Where ο(·) represents the cardinality of the set. It is convenient to calculate the information entropy h of the i-th codeword bit i .

[0031] As a preferred technical means: the calculation formula of step 4) is as follows:

[0032] Δr thi =f th (|t-Δt|,h i )∈[Δr thmini ,0.5]

[0033] Where f th (|t-Δt|,h i ) is [Δr thmin ,0.5], but requires that |t-Δt| and h i Both decrease monotonically, where Δr thminIt is a hyperparameter artificially specified for adjusting the recognition performance, which is used to specify the minimum value of the recognition threshold. After each successful recognition, Δt is immediately updated. The recognition threshold of the i-th code element is calculated and determined. A higher recognition threshold is assigned to the address domain with a large amount of information to improve the selectivity of the verification pulse reception and avoid receiving the verification pulse sent by the electric energy meter on the adjacent workstation. A lower recognition threshold is assigned to the non-address domain with a small amount of information to improve the anti-interference ability of the verification pulse reception and avoid affecting the reception of the entire pulse frame due to interference with individual code elements on the channel.

[0034] As a preferred technical means: in step 5), the delay is calculated in a manner of maximizing the similarity or minimizing the difference:

[0035]

[0036] Where Δi k Indicates the delay of channel k relative to channel 1. Affected by the differences in hardware parameters of each pulse channel, there is a certain difference in the delay of converting the test pulse from the wireless form to the wired telecommunications symbol stream, which is manifested as the overall translation of the symbol stream of each channel. Therefore, the time offset is selected in a way with the greatest similarity to compensate for this, calculate the delay, align the symbol stream received by each channel, and eliminate the influence of the receiving rate caused by the hardware parameters of each channel.

[0037] As a preferred technical means: in step 5), align the symbol streams of each channel according to the following formula:

[0038]

[0039] The symbol stream of each channel after alignment is recorded as r R , as follows:

[0040]

[0041] . Effectively realize the alignment of code element stream.

[0042] Beneficial effect: This method improves the anti-interference ability of the calibration pulse reception through bit-by-bit signal comparison of single code elements in multiple channels, aligns the code element streams received by each channel according to the principle of maximum similarity, eliminates the influence of the receiving rate caused by the hardware parameters of each channel, and introduces information entropy as the threshold parameter of each code element. It takes into account the selectivity and anti-interference ability of the calibration pulse reception, and can effectively reduce the probability of pulse loss caused by high-frequency electromagnetic interference during the sampling performance test of the electric energy meter, thereby improving the false detection rate of each error item of the electric energy meter that needs to be detected in the sampling performance test. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a schematic diagram of the principle of the present invention. DETAILED DESCRIPTION

[0044] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings.

[0045] like Figure 1 As shown, a multi-channel based electric energy meter wireless calibration pulse identification method is used in conjunction with an intelligent electric energy meter with a wireless calibration pulse transmission function and a multi-antenna wireless calibration pulse receiver. The process includes the following steps:

[0046] 1) Five wireless channels are set at each table of the detection device for receiving wireless verification pulse code element streams (including interference signals);

[0047] 2) Before identification, the number of bits of the concurrent wireless verification pulse is recorded as N s , determine a reference pulse frame for each epitope, denoted as r * , as follows:

[0048]

[0049] Where N r Indicates the reference pulse frame length, expressed in bits;

[0050] 3) Determine the probability of symbol error caused by background noise, denoted as p s , the background noise is regarded as white noise, and the information entropy h of the i-th code bit is calculated i , used to determine the recognition threshold of the i-th code element, as follows:

[0051] h i =-P(S i =1)log 2 P(S i =1)-P(S i =0)log 2 P(S i =0)

[0052]

[0053] Where ο(·) represents the cardinality of the set;

[0054] 4) In the recognition process, the time interval Δt and information entropy h of the last detection pulse are used i Determine the recognition threshold Δr of the i-th codeword thi , as follows:

[0055] Δr thi =f th (t-Δt,h i )∈[Δr thmini ,0.5]

[0056] Where fth (|t-Δt|,h i ) is [Δr thmin ,0.5], but requires that |t-Δt| and h i Both decrease monotonically, where Δr thmin It is a hyperparameter artificially specified for adjusting the recognition performance, which is used to specify the minimum value of the recognition threshold. After each successful recognition, Δt is immediately updated;

[0057] 5) In each communication window, after the electric energy meter sends out the verification pulse to be identified, multiple wireless channels first receive the signal independently and demodulate it into a binary code stream using GFSK. The delay of each channel in the communication window relative to the first channel is calculated in a way that maximizes the similarity and minimizes the difference:

[0058]

[0059] Where Δi k represents the delay of channel k relative to channel 1;

[0060] The delay is used to align the code element streams of each channel, as shown below:

[0061]

[0062] The symbol stream of each channel after alignment is recorded as r R , as follows:

[0063]

[0064] 6) r R Each row vector is related to the standard detection pulse code element group r * Take bitwise XOR, embed into real number domain, and finally sum and normalize by channel to get the symbol difference Δr i , the degree to which the code element deviates from the reference value can be quantitatively evaluated as follows:

[0065]

[0066] 7) For each code element in the pulse frame, determine whether there is Δr i ≤Δr thi (i∈[1,N r ]), if yes, it is determined to be a detection pulse, otherwise the code element stream received in the entire communication window is discarded.

[0067] The following is an explanation of a 5-channel receiving case. The reference wireless calibration pulse address bits are the 2nd to 5th bytes (9th to 40th code elements, a total of 32 code elements), which are allocated to 1024 concurrent bits from 0X00000000-0X000003FF (expressed in hexadecimal). Therefore, only the 31st to 40th code elements (a total of 10 code elements) can be regarded as valid address bits, and the remaining address bits can be regarded as non-valid address bits.

[0068] The test group epitope reference pulse frame is shown in the following table, written as hexadecimal numbers in bytes, the same below:

[0069] 55 01 02 03 04 00 80

[0070] The epitope reference pulse frames of the control group are shown in the following table:

[0071] 55 01 02 03 06 00 80

[0072] Determine the background noise (the probability of code error caused is 0.01, and calculate the information entropy h of each code bit i , used to determine the recognition threshold of the i-th code element, as follows:

[0073]

[0074] The pulse identification threshold takes the following form:

[0075]

[0076] Assuming that the test group converter receives the last calibration pulse, the relationship between the pulse recognition threshold and time is shown in the following figure:

[0077] When Δt=0.1s (corresponding to the address bit recognition threshold of 0.053 and the non-address bit recognition threshold of 0.4), the wireless verification pulses sent by the test group and the control group are interfered on the wireless channel, and the signals received by each receiving channel have different degrees of bit errors. When receiving the test group signal, the code element stream received by each channel is shown in the following table:

[0078] 55 09* 02 03 04 01* 80 55 01 02 83* 04 00 80 55 01 07* 03 04 00 C4* 55 A1* 02 03 04 00 90* 55 01 43* 03 25* 00 80

[0079] Since each channel has code elements interfered, according to the traditional receiving logic, the pulse frames sent by the test group table are all discarded (the mark * indicates the error byte, the same below).

[0080] When receiving the epitope signal of the control group, the code element stream received by each channel is shown in the following table:

[0081] 55 01 02 03 04* 00 80 55 21* 02 03 06 00 80 55 01 00* 03 06 00 80 55 01 02 02* 06 00 80 55 01 02 03 02* 00 80

[0082] Since it is a pulse frame sent by the control group epitope, the wireless verification pulse signal should be discarded. However, since there is a channel with only an address bit error, its address bit is exactly the same as that of the test group, so the wireless verification pulse is misidentified according to the traditional receiving logic.

[0083] However, according to the technical method adopted by this patent, the difference between each code element in the test group is shown in the following table:

[0084]

[0085] Since the difference of each code element is lower than the threshold, the pulse frame is successfully identified.

[0086] The differences of each code element in the control group are shown in the following table:

[0087]

[0088]

[0089] Since the difference of the 39th bit is higher than the threshold, the pulse frame is successfully discarded. th (|t-Δt|,h i ) is [Δr thmin ,0.5], but requires that |t-Δt| and h i All decrease monotonically, such as 0.5-0.2 (1-0.5h i )[1+(t-Δt) 2 / σ 2 ] etc.

[0090] The 5-channel reception can also be replaced by other channel numbers.

[0091] above Figure 1 The multi-channel-based wireless calibration pulse identification method for electric energy meters shown is a specific embodiment of the present invention, which has embodied the outstanding substantial features and significant progress of the present invention. According to actual use needs and under the guidance of the present invention, equivalent modifications in shape, structure, etc. can be made to the method, which are all within the protection scope of this scheme.

Claims

1. A multi-channel wireless verification pulse identification method for electric energy meters, characterized in that The following steps are involved: 1) A plurality of wireless channels for receiving a wireless verification pulse symbol stream are set at each table position of the detection device, and the wireless verification pulse symbol stream contains an interference signal; 2) Before identification, the number of bits of the concurrent wireless verification pulse is recorded as N s , determine a reference pulse frame for each epitope, denoted as r * ; 3) Determine the probability of symbol error caused by background noise, denoted as p s , calculate the information entropy h of the i-th codeword i , used to determine the recognition threshold of the i-th code element; 4) In the recognition process, the time interval Δt and information entropy h of the last detection pulse are used i Determine the recognition threshold Δr of the i-th codeword thi ; 5) In each communication window, after the electric energy meter sends out the wireless verification pulse to be identified, firstly, multiple wireless channels independently receive the signal and demodulate it into a binary code stream using GFSK, calculate the delay of each channel in the communication window relative to the first channel, and use the delay to align the code streams of each channel; 6) r R Each row vector is related to the standard detection pulse code element group r * Take bitwise XOR, embed into real number domain, and finally sum and normalize by channel to get the symbol difference Δr i , the degree to which the code element deviates from the reference value can be quantitatively evaluated as follows: 7) For each code element in the pulse frame, determine whether there is Δr i ≤Δr thi ,i∈[1,N r ], if yes, it is determined to be a detection pulse, otherwise the code element stream received in the entire communication window is discarded.

2. The method for wireless verification pulse identification of electric energy meters based on multiple channels according to claim 1 is characterized in that: In step 2), the reference pulse frame r * The expression is as follows: Where N r Indicates the reference pulse frame length.

3. The multi-channel based wireless verification pulse identification method for electric energy meters according to claim 1 is characterized in that: The calculation formula for step 3) is as follows: h i =-P(S i =1)log2P(S i =1)+P(S i =0)log2P(S i =0) Where ο(·) represents the cardinality of the set.

4. The method for wireless verification pulse identification of electric energy meters based on multiple channels according to claim 1 is characterized in that: The calculation formula for step 4) is as follows: Δr thi =f th (t-Δt,h i )∈[Δr thmini ,0.5] Where f th (|t-Δt|,h i ) is [Δr thmin ,0.5], but requires that |t-Δt| and h i Both decrease monotonically, where Δr thmin It is a hyperparameter artificially specified for adjusting the recognition performance. It is used to specify the minimum value of the recognition threshold. After each successful recognition, Δt is immediately updated.

5. The method for wireless verification pulse identification of electric energy meters based on multiple channels according to claim 1 is characterized in that: In step 5), the delay is calculated in a way that maximizes the similarity and minimizes the difference: Where Δi k Indicates the delay of channel k relative to channel 1.

6. The method for wireless verification pulse identification of electric energy meters based on multiple channels according to claim 1 is characterized in that: In step 5), the symbol streams of each channel are aligned as follows: The symbol stream of each channel after alignment is recorded as r R , as follows: