Measuring method and device for electric meter when zero line is lost

By detecting the voltage and current status of the meter, determining the sleep duration and pulse interval, calculating and compensating for the energy lost in metering, the problem of high power consumption and metering accuracy when the meter is off the neutral line is solved, and low power consumption and high metering accuracy are achieved. The meter measurement method extends battery life and improves measurement accuracy.

CN115078796BActive Publication Date: 2024-09-20HANGZHOU VANGO TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210528447.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-16
Publication Date
2024-09-20
Estimated Expiration
2042-05-16

AI Technical Summary

Technical Problem

Existing electricity meters have problems with high power consumption and measurement accuracy due to the equal interval wake-up method when the neutral line is off. In particular, the power consumption of RAM in the sleep state affects battery life, and the error in pulse timing affects measurement accuracy.

Method used

By detecting the current voltage and current status of the meter, determine the sleep duration and pulse interval, ensure that the wake-up moment is between two adjacent pulses, calculate and compensate for the lost energy in measurement, turn off the RAM to reduce energy consumption, and perform the following steps when waking up: Energy compensation.

Benefits of technology

It realizes the measurement method of low power consumption and high measurement accuracy when the electric meter is off the zero line, prolongs the battery life, ensures the consistency of the interval of measurement pulses, and improves the accuracy of measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115078796B
    Figure CN115078796B
Patent Text Reader

Abstract

The present invention provides a metering method and device in a zero-line-dropped state of an electric meter. The metering method includes closing RAM and obtaining the effective current value in the current wake-up state and the metering compensation time lost in the last wake-up process when the zero-line is in the anti-electricity-stealing state. Based on the effective current value in the current wake-up state, the pulse interval of a pulse in the current state is calculated. The sleep duration is determined according to the current pulse interval so that the next wake-up time is between two adjacent pulses. The metering compensation time lost in the current wake-up process is calculated based on the determined sleep duration, the current pulse interval, and the metering compensation time lost in the last wake-up process. After compensating for the compensation energy obtained by converting the metering compensation time lost in the last wake-up process, sleep metering is entered. After the sleep metering time meets the sleep duration, the next wake-up metering is entered, so as to realize low-power accurate metering after closing RAM and accurate pulse edges.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart electric meters, and in particular to a metering method and device when the electric meter is in a zero line-off state. Background Art

[0002] With the development of society and the update of technology, the methods of stealing electricity are also varied. However, they all start from the fundamental reasons in electricity measurement, and the methods are the same. The key to how much electricity a power meter measures is the power, current and voltage loaded on the power meter. Therefore, as long as one of the three factors is changed, it is possible to make the power meter reverse, slow down or even stop when working, thereby achieving the purpose of the power thief.

[0003] At present, there is a common method of stealing electricity. The thief thinks that the neutral line of the energy meter is short-circuited. We call it breaking the neutral line to steal electricity, including disconnecting the neutral line output and pressing the skin at the connection point. After turning off the neutral line input of the meter, current still flows in the current coil, while the voltage coil loses voltage. At this time, the thief uses electricity, but the meter cannot measure it. In the neutral line drop processing, the main power supply is currently powered by batteries or voltage transformers, so the power consumption requirements are relatively high during the neutral line drop processing. The main processing method at present is that the main control MCU is woken up regularly, and then performs metering processing after waking up, and then enters sleep mode after processing.

[0004] However, using the equal-interval wake-up method for metering requires that the RAM remain powered in sleep mode to save the accumulated value of remaining energy. However, the power supply of the RAM in sleep mode consumes a lot of battery energy, thus affecting the battery life. In addition, using the equal-interval wake-up method for metering may also result in the pulse output moment falling within the wake-up detection time. This will not only cause metering losses, but also cause the edge signal of the pulse to be misaligned during the conversion process between the normal operating high-frequency mode and the sleep low-frequency mode. The calibration station usually judges the edge for detection, and the misalignment will affect the error of the calibration station detection. Summary of the invention

[0005] In order to overcome the deficiencies of the prior art, the present invention provides a metering method and device for an electric meter in a zero-line-dropped state with low power consumption and high metering accuracy.

[0006] In order to achieve the above object, the present invention provides a metering method in a zero line-off state of an electric meter, comprising:

[0007] When the wake-up detection indicates that the meter is currently in the zero-line anti-theft state, the RAM is turned off and the effective current value I in the current wake-up state is obtained. k And the measurement compensation time TJ lost in the last wake-up process k-1 ;

[0008] Based on the effective current value I in the current wake-up state k , calculate the pulse interval TC of a pulse in the current state k ;

[0009] According to the current pulse interval TC k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Satisfaction: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The Nth pulse in the range, k is the kth wake-up detection of the meter;

[0010] Based on the determined sleep duration SEC k 、Current pulse interval TC k And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k ), where k≥1 and TJ0=0;

[0011] Compensate for the measurement compensation time TJ lost in the last wake-up process k-1 After converting the compensated energy, it enters the sleep measurement; when the sleep measurement time meets the sleep duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Perform energy compensation after the k+1th wake-up.

[0012] According to an embodiment of the present invention, when the current effective value detected after each wake-up is different and the number of wake-up times k ≥ 2, based on the current effective value I k and the current effective value I detected during the last wake-up k-1 , adjust the metering compensation time TJ k =(SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

[0013] According to an embodiment of the present invention, based on the remaining part of the storage area in the RAM after being closed, the energy obtained by converting the metering compensation time is written into the register for energy compensation.

[0014] According to an embodiment of the present invention, the fixed wake-up time DT of the MCU switching from the sleep state to the wake-up state each time and the metering compensation time TJ lost in the current wake-up process are obtained. k =(SEC k -TJ k-1 -DT)%TC k ).

[0015] According to an embodiment of the present invention, the step of waking up the detection to determine whether the electric meter currently enters the neutral line loss prevention power theft state includes:

[0016] Detect the current voltage of the electric meter and determine whether the voltage is missing;

[0017] If the voltage is missing, the current of the meter is detected and judged whether it exceeds the set current threshold;

[0018] If the current exceeds the set threshold, it indicates that the meter is currently in the neutral line drop protection state.

[0019] On the other hand, the present invention also provides a metering device in the state of a zero-line dropout, which includes a detection acquisition unit, a pulse interval calculation unit, a sleep duration determination unit, a compensation time calculation unit, and an energy compensation unit. When the wake-up detection indicates that the meter is currently in the zero-line dropout anti-electricity theft state, the RAM is turned off and the detection acquisition unit acquires the effective current value I in the current wake-up state. k And the measurement compensation time TJ lost in the last wake-up process k-1 The pulse interval calculation unit is based on the effective current value I in the current wake-up state. k , calculate the pulse interval TC of a pulse in the current state k The sleep duration determination unit determines the duration of the sleep time according to the current pulse interval TC. k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Meet: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The compensation time calculation unit is based on the determined sleep time SEC k 、Current pulse interval TC k And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k), where k≥1 and TJ0=0. The energy compensation unit compensates for the measurement compensation time TJ lost in the last wake-up process k-1 After converting the compensated energy, it enters the sleep measurement; when the sleep measurement time meets the sleep duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Perform energy compensation for the k+1th wake-up.

[0020] According to an embodiment of the present invention, when the current effective value detected after each wake-up is different and the number of wake-up times k ≥ 2, the compensation time calculation unit calculates the current effective value I k and the current effective value I detected during the last wake-up k-1 , adjust the metering compensation time TJ k =(SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

[0021] According to an embodiment of the present invention, the energy compensation unit writes the energy obtained by converting the metering compensation time into a register to perform energy compensation based on the remaining storage area in the RAM after shutdown.

[0022] According to an embodiment of the present invention, the compensation time calculation unit obtains the fixed wake-up time DT of the MCU switching from the sleep state to the wake-up state each time, and the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 -DT)%TC k ).

[0023] According to an embodiment of the present invention, the detection and acquisition unit determines whether the electric meter enters the neutral line loss prevention state through the following steps:

[0024] Detect the current voltage of the electric meter and determine whether the voltage is missing;

[0025] If the voltage is missing, the current of the meter is detected and judged whether it exceeds the set current threshold;

[0026] If the current exceeds the set threshold, it indicates that the meter is currently in the neutral line drop protection state.

[0027] In summary, the metering method and device for the electric meter in the zero-line-dropped state provided by the present invention, when the electric meter is in the zero-line-dropped anti-electricity-theft state, determines the sleep time by the effective value of the current so that the metering pulse and the wake-up time are staggered, thereby ensuring that the interval of each pulse is equal, and meeting the error accuracy requirements of the calibration station. Furthermore, based on the determined sleep time and pulse interval, the metering compensation time lost for each wake-up can be calculated; at the next wake-up, the lost energy corresponding to the metering compensation time is compensated, thereby realizing closed-loop energy metering and improving metering accuracy. Furthermore, the energy compensation based on the metering compensation time no longer needs to rely on the accumulation register and metering bucket in the RAM, so the RAM can be turned off, thereby greatly reducing the energy consumption of the electric meter in the zero-line-dropped state and extending the service life of the power supply battery.

[0028] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 The figure is a flow chart of a metering method in a zero line-off state of an electric meter provided by an embodiment of the present invention.

[0030] Figure 2 The figure shows the sleep time, pulse interval and metering compensation time on the time axis in one wake-up metering phase.

[0031] Figure 3 The figure shows the sleep duration, pulse interval and metering compensation time in two adjacent wake-up metering stages on the time axis.

[0032] Figure 4 The figure is a schematic diagram of the structure of a metering device provided by an embodiment of the present invention when the electric meter is in a zero line-off state. DETAILED DESCRIPTION

[0033] like Figure 1 As shown, the metering method provided in this embodiment when the electric meter loses the neutral line state includes:

[0034] When the wake-up detection indicates that the meter is currently in the zero-line anti-theft state, the RAM is turned off and the effective current value I in the current wake-up state is obtained. k And the measurement compensation time TJ lost in the last wake-up process k-1 (Step S10).

[0035] Based on the effective current value I in the current wake-up state k , calculate the pulse interval TC of a pulse in the current state k (Step S20).

[0036] According to the current pulse interval TC k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Satisfaction: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The Nth pulse in the process, k is the kth wake-up detection of the electric meter (step S30).

[0037] Based on the determined sleep duration SEC k 、Current pulse interval TC k And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k ), where k≥1 and TJ0=0 (step S40).

[0038] Compensate for the measurement compensation time TJ lost in the last wake-up process k-1 After converting the obtained compensation energy, the dormant measurement is started (step S50).

[0039] The dormant metering time meets the dormant duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Energy compensation after the (k+1)th wake-up is performed (step S60).

[0040] In this embodiment, the metering compensation time TJ is the abbreviation of timejoin, the pulse interval TC is the abbreviation of timecycle, and DT is the abbreviation of the wake-up fixed time dettime.

[0041] The metering method provided in the present embodiment for the electric meter in the zero line drop state begins with step S10, in which the detection and acquisition unit determines the current state of the electric meter by detecting the current voltage and current state of the electric meter. Specifically, the detection and acquisition unit detects the current voltage of the electric meter and determines whether the voltage is missing; if the voltage is missing, the current current of the electric meter is detected and determined whether it exceeds the set current threshold. If the current threshold exceeds the set current threshold, it is determined that the electric meter is currently in the zero line drop anti-electricity theft state. After determining that the zero line drop anti-electricity theft state has been entered, the RAM is closed and the effective current value I detected by the detection and acquisition unit in the current state is obtained. k And the measurement compensation time TJ lost in the last wake-up process k-1 .

[0042] For ease of understanding, the first detection and measurement after the electricity meter loses the neutral line (hereinafter referred to as the first wake-up) and the second wake-up are taken as examples for detailed description respectively.

[0043] After the first wake-up, the detection unit obtains the current effective value I1 and acquires the measurement compensation time TJ0 lost in the previous wake-up (the 0th wake-up), and TJ0 is equal to 0.

[0044] After that, it will enter step S20 to calculate the pulse interval TC1 for one pulse in the current state according to the detected current effective value I1. Specifically, when the voltage effective value U is 240V, the current effective value I1 is 5A, and the pulse constant is 1600, the time pulse interval TC1 for one pulse is:

[0045] TC1 = 1kwh / (U * I1 * constant) = 3600000 / (240V * 5 * 1600) = 9.375 / 5 = 1.875s;

[0046] After obtaining the pulse interval TC1, step S30 is executed to determine the sleep duration SEC1.

[0047] In this embodiment, it is set that the sleep duration SEC1 satisfies: N * TC1 < SEC1 < (N + 1) * TC1, N ≥ 1; where N is the Nth pulse within the sleep duration SEC1. This setting enables there to be at least one pulse within the sleep duration SEC1 and the wake-up moment Tsec after the sleep ends is located between two pulses. Since the width of the pulse is much smaller than the pulse interval (usually the width of the pulse is at the millisecond level, such as 40 milliseconds or 80 milliseconds; while the pulse interval is at the second level). Therefore, the wake-up moment Tsec located between two pulses will尽可能地 avoid the pulse immediately following the wake-up moment Tsec falling within the fixed wake-up time DT and being unrecognizable by the meter calibration platform, and well realizes the错开 of the pulse output moment and the wake-up time, ensuring that the pulse can always output pulses at an equal pulse interval TC1. For example, under the conditions that the voltage effective value U is 240V, the current effective value I1 is 5A, and the pulse constant is 1600, the sleep time SEC can be set to 2S, which is greater than the pulse interval TC1 (1.875s) and less than twice the pulse interval TC1. However, the present invention makes no limitation in this regard. In other embodiments, there may be multiple pulse intervals TC1 within the sleep duration SEC.

[0048] Since in step S30, the wake-up time Tsec is located between two pulses, based on the shutdown of the RAM, the accumulation register no longer accumulates the time between the wake-up time Tsec and the previous pulse, resulting in the loss of energy during this time period. Therefore, step S40 determines the measurement compensation time based on the sleep duration SEC1 and the pulse interval TC1 to compensate for the lost time. As Figure 2 shown, the measurement compensation time TJ1 = (SEC1 - TJ0) % TC1). Since TJ0 is equal to 0, this formula simplifies to TJ1 = SEC1 % TC1. Since TJ1 is the energy lost during the first wake-up measurement, it is necessary to convert this measurement compensation time into the corresponding energy and compensate it during the second wake-up measurement. Since power is the integral of time, based on the current effective voltage U, the effective current value I1, and the measurement compensation time TJ1, power integration can be performed to obtain the energy that needs to be compensated during the second wake-up.

[0049] Since TJ0 is equal to 0, in step S50 of the first wake-up, after determining the sleep duration SEC1 and the measurement compensation time TJ1 required for the second time, enter the sleep measurement.

[0050] After the sleep time reaches the sleep duration SEC1, the MCU is woken up, that is, the MCU is woken up at the wake-up time Tsec. After waking up, step S10 is executed to determine whether the electricity meter still belongs to the state of preventing electricity theft by cutting off the neutral line. If so, obtain the currently effective current value I2 detected during the second wake-up and at the same time obtain the measurement compensation time TJ1 of the first wake-up.

[0051] Then, execute step S20 to calculate the pulse interval TC2 of the next pulse in the current state based on the effective current value I2, TC2 = 1kwh / (U * I2 * constant).

[0052] After that, execute step S30 to determine the second sleep duration SEC2 based on the pulse interval TC2 through the formula: N * TC2 < SEC2 < (N + 1) * TC2 to stagger the wake-up time and the pulse output time.

[0053] Next, continue to execute step S40 to obtain the measurement compensation time TJ2 lost during the current wake-up process based on the determined sleep duration SEC2, the current pulse interval TC2, and the measurement compensation time TJ1 lost during the previous wake-up process. In the second wake-up, the determination of the sleep duration SEC2 is based on the second pulse period TC2, and since the wake-up time Tsec is located between two pulses, combined with Figure 3 the schematic diagram of the measurement compensation time in, the measurement compensation time TJ2 lost during the second wake-up process can be obtained as TJ2 = (SEC2 - TJ1) % TC2)

[0054] Furthermore, due to the difference in the effective current value detected after each wake-up, the influence of the difference in the effective current value is taken into account when calculating the metering compensation time. Based on the current effective current value I2 and the effective current value I1 detected at the last wake-up, the metering compensation time TJ2 is adjusted to ((SEC2-TJ1)%TC2)*(I1 / I2).

[0055] According to the recursion of the formula, we can get:

[0056] The metering compensation time obtained by the first wake-up is TJ1=((SEC1-TJ0)%TC1)*(I0 / I1) and TJ0=0, I0=I1;

[0057] The measurement compensation time TJ3 obtained by the third wake-up is (SEC3-TJ2)%TC3)*(I2 / I3);

[0058] The measurement compensation time TJ obtained by the kth wake-up k =(SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

[0059] In addition, in order to further improve the accuracy of measurement, in step S40, the fixed wake-up time DT of the MCU from the sleep state to the wake-up moment is also taken into account, and the measurement compensation time TJ lost in the current wake-up process can be adjusted based on the fixed wake-up time DT. k =(SEC k -TJ k-1 -DT)%TC k ). The wake-up fixed time DT can be determined by detecting the time when the wake-up program is executed.

[0060] Furthermore, by comparing the pulse interval TC k and measurement compensation time TJ k The difference between the wake-up time Tsec and the wake-up fixed time DT is used to determine whether the pulse immediately following the wake-up time Tsec will fall within the wake-up fixed time DT. Specifically, if the pulse interval TC k and measurement compensation time TJ k If the difference is less than the fixed wake-up time DT, it indicates that the pulse immediately after the wake-up time Tsec falls within the fixed wake-up time DT and the pulse cannot be identified; based on this judgment result, an additional TC is added when performing energy compensation during the next wake-up. k On the contrary, if the pulse interval TC k and measurement compensation time TJ kIf the difference is less than the fixed wake-up time DT, it indicates that the pulse immediately after the wake-up time Tsec can be sent normally and recognized.

[0061] This embodiment is described in detail by taking the first wake-up measurement and the second wake-up measurement as examples. For subsequent multiple wake-up measurements, the same steps as the second wake-up measurement are adopted to perform energy compensation.

[0062] Based on the compensation of the lost time between the wake-up time Tsec and the previous pulse and the wake-up fixed time DT, the metering method provided in the electric meter in the zero-line state of this embodiment well realizes the accurate metering of the electricity after the RAM is turned off; that is, accurate metering is realized while reducing the power consumption of the electric meter in the zero-line state. At the same time, the staggering of the wake-up time and the pulse output time is realized, ensuring the alignment of the edge signal of the pulse output.

[0063] In this embodiment, the V99xx chip is used for dormant metering and the RAM is turned off in the dormant state. For the V99xx chip, after the RAM is turned off, only the upper 128 bytes of the XRAM retain data, thereby greatly reducing power consumption. Based on the upper 128 bytes of the XRAM retaining data, the compensation energy converted from the metering compensation time obtained in the previous wake-up is written into the register for energy compensation at the next wake-up.

[0064] Correspondingly, this embodiment also provides a metering device in the state of a power meter with a zero line dropped, which includes a detection acquisition unit 10, a pulse interval calculation unit 20, a sleep duration determination unit 30, a compensation time calculation unit 40, and an energy compensation unit 50. When the wake-up detection indicates that the power meter is currently in the zero line drop anti-theft state, the RAM is turned off and the detection acquisition unit 10 acquires the effective current value I in the current wake-up state. k And the measurement compensation time TJ lost in the last wake-up process k-1 The pulse interval calculation unit 20 calculates the effective current value I in the current wake-up state based on the current effective current value I k , calculate the pulse interval TC of a pulse in the current state k The sleep duration determination unit 30 determines the sleep duration according to the current pulse interval TC k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Meet: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The compensation time calculation unit 40 calculates the sleep time SEC based on the determined sleep time SEC. k 、Current pulse interval TCk And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k ), where k≥1 and TJ0=0. The energy compensation unit 50 compensates for the metering compensation time TJ lost in the last wake-up process k-1 After converting the compensated energy, it enters sleep measurement. When the sleep measurement time meets the sleep duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Perform energy compensation for the k+1th wake-up.

[0065] In this embodiment, when the current effective value detected after each wake-up is different and the wake-up number k≥2, the compensation time calculation unit 40 calculates the current effective value I k and the current effective value I detected during the last wake-up k-1 , adjust the metering compensation time TJ k =(SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

[0066] In this embodiment, the energy compensation unit 50 writes the energy obtained by measuring the compensation time conversion into the register to perform energy compensation based on the remaining storage area in the RAM after being shut down.

[0067] In this embodiment, the compensation time calculation unit 40 obtains the fixed wake-up time DT of the MCU switching from the sleep state to the wake-up state each time, and the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 -DT)%TC k ).

[0068] In this embodiment, the detection and acquisition unit 10 determines whether the electric meter has entered the neutral line dropped anti-electricity theft state through the following steps: detecting the current voltage of the electric meter and determining whether the voltage is missing; if the voltage is missing, detecting the current current of the electric meter and determining whether it exceeds the set current threshold; if it exceeds the set current threshold, it indicates that the electric meter is currently in the neutral line dropped anti-electricity theft state.

[0069] The functions and implementation processes of each unit in the above-mentioned device are specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0070] In summary, the metering method and device for the electric meter in the zero-line-dropped state provided by the present invention, when the electric meter is in the zero-line-dropped anti-electricity-theft state, determines the sleep time by the effective value of the current so that the metering pulse and the wake-up time are staggered, thereby ensuring that the interval of each pulse is equal, and meeting the error accuracy requirements of the calibration station. Furthermore, based on the determined sleep time and pulse interval, the metering compensation time lost for each wake-up can be calculated; at the next wake-up, the lost energy corresponding to the metering compensation time is compensated, thereby realizing closed-loop energy metering and improving metering accuracy. Furthermore, the energy compensation based on the metering compensation time no longer needs to rely on the accumulation register and metering bucket in the RAM, so the RAM can be turned off, thereby greatly reducing the energy consumption of the electric meter in the zero-line-dropped state and extending the service life of the power supply battery.

[0071] Although the present invention has been disclosed as above by the preferred embodiment, it is not intended to limit the present invention. Anyone familiar with this technology may make slight changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope of protection required by the claims.

Claims

1. A method for measuring when an electric meter loses its neutral line, characterized in that: include: When the wake-up detection indicates that the meter is currently in the zero-line anti-theft state, the RAM is turned off and the effective current value I in the current wake-up state is obtained. k And the measurement compensation time TJ lost in the last wake-up process k-1 ; Based on the effective current value I in the current wake-up state k , calculate the pulse interval TC of a pulse in the current state k ; According to the current pulse interval TC k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Meet: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The Nth pulse in the range, k is the kth wake-up detection of the meter; Based on the determined sleep duration SEC k 、Current pulse interval TC k And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k ), where k≥1 and TJ0=0; Compensate for the measurement compensation time TJ lost in the last wake-up process k-1 After converting the compensated energy, it enters the sleep measurement; when the sleep measurement time meets the sleep duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Perform energy compensation after the k+1th wake-up; The steps of waking up the detection to determine whether the meter is currently in the neutral line loss prevention power theft state include: Detect the current voltage of the electric meter and determine whether the voltage is missing; If the voltage is missing, the current of the meter is detected and judged whether it exceeds the set current threshold; If the current exceeds the set threshold, it indicates that the meter is currently in the neutral line drop protection state.

2. The metering method in the state of zero line loss of electric meter according to claim 1 is characterized in that: When the current effective value detected after each wake-up is different and the number of wake-up times k ≥ 2, based on the current effective value I k and the current effective value I detected during the last wake-up k-1 , adjust the metering compensation time TJ k =((SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

3. The metering method in the state of zero line loss of electric meter according to claim 1 is characterized in that: Based on the remaining storage area in the RAM after being closed, the energy obtained by the metering compensation time conversion is written into the register for energy compensation.

4. The metering method in the state of zero line loss of electric meter according to claim 1 is characterized in that: Get the fixed wake-up time DT of the MCU switching from sleep state to wake-up state each time, and the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 -DT)%TC k ).

5. A metering device for an electric meter with a zero line off, characterized in that: include: The detection acquisition unit, when the wake-up detection indicates that the meter is currently in the zero-line anti-theft state, shuts down the RAM and obtains the effective current value I in the current wake-up state k And the measurement compensation time TJ lost in the last wake-up process k-1 ; The pulse interval calculation unit is based on the effective current value I in the current wake-up state. k , calculate the pulse interval TC of a pulse in the current state k ; The sleep duration determination unit is based on the current pulse interval TC k Determine the sleep durationSEC k , so that the next wake-up time is between two adjacent pulses, and the sleep time is SEC k Meet: N*TC k <SEC k <(N+1)*TC k , N≥1; where N is the sleep duration SEC k The Nth pulse in the meter, k is the kth wake-up of the meter; Compensation time calculation unit, based on the determined sleep time SEC k 、Current pulse interval TC k And the measurement compensation time TJ lost in the last wake-up process k-1 , obtain the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 )%TC k ), where k≥1 and TJ0=0; Energy compensation unit, which compensates for the measurement compensation time TJ lost in the last wake-up process k-1 After converting the compensated energy, it enters the sleep measurement; when the sleep measurement time meets the sleep duration SEC k Then enter k+1 wake-up detection and compensate the time TJ based on the measurement k Perform energy compensation for the k+1th awakening; The detection acquisition unit determines whether the meter has entered the zero line loss prevention state through the following steps: Detect the current voltage of the electric meter and determine whether the voltage is missing; If the voltage is missing, the current of the meter is detected and judged whether it exceeds the set current threshold; If the current exceeds the set threshold, it indicates that the meter is currently in the neutral line drop protection state.

6. The metering device in the state of zero line loss of the electric meter according to claim 5, characterized in that: When the current effective value detected after each wake-up is different and the wake-up times k≥2, the compensation time calculation unit calculates the current effective value I k and the current effective value I detected during the last wake-up k-1 , adjust the metering compensation time TJ k =(SEC k -TJ k-1 )%TC k )*(I k-1 / I k ).

7. The metering device in the state of zero line loss of the electric meter according to claim 5, characterized in that: The energy compensation unit writes the energy obtained by converting the metering compensation time into the register to perform energy compensation based on the remaining storage area in the RAM after being closed.

8. The metering device in the state of zero line loss of the electric meter according to claim 5, characterized in that: The compensation time calculation unit obtains the fixed wake-up time DT of the MCU switching from the sleep state to the wake-up state each time, and the measurement compensation time TJ lost in the current wake-up process k =(SEC k -TJ k-1 -DT)%TC k ).

Citation Information

Patent Citations

  • Metering method of electric energy meter without PT

    CN111638399A

  • Single-phase electric energy metering chip meeting null line falling electricity larceny prevention application

    CN114113732A

  • Error compensation apparatus of electronic watt-hour meter

    KR1019990074087A