Today, I will introduce a national invention authorized patent-the switching method of the reference voltage of the smart meter. The patent was applied for by Chengdu Great Wall Development Technology Co., Ltd., and the authorization was announced on June 29, 2018.

Content description

The invention relates to a smart electric meter, in particular to the switching of the reference voltage of the smart electric meter.

Background of the invention

At present, the development of smart grid is very rapid. Among them, metering is the most basic function of smart meters, and various metering chip manufacturers have also introduced a variety of high-performance metering chips or SOC (System-on-a-Chip) chips containing metering functions. However, since most smart meters are designed to only work in a certain reference voltage range, that is, the current smart meters have a single reference voltage, so the switching of multiple reference voltages needs to be implemented in software.

Combining the current various grid environments, the grid voltage varies greatly, including medium voltage, high voltage, and low voltage. This will cause the same smart meter to be unable to be used normally in different grid environments. In the existing practical applications, if a smart meter is to work in a reference voltage environment other than the preset, it is necessary to re-upgrade the software of the smart meter, which greatly reduces the flexibility of smart meter applications and the software complexity. Compatibility is not conducive to the normal and stable operation of the metering module.

Summary of the invention

The technical problem to be solved by the present invention is to overcome the shortcomings of the above-mentioned prior art, and propose a method for switching the reference voltage of a smart meter, which can realize manual or automatic switching of multiple reference voltages, and can ensure the normality of the metering module Work stably.

[New patent introduction] How to switch the reference voltage of a smart meter
The figure is a schematic diagram of the process of the present invention.

In view of the above technical problems, the present invention proposes a method for switching the reference voltage of a smart meter, including: adopting two switching mechanisms, one of which is to only accept the setting command of an external application programming interface to implement the switching of the reference voltage; and the other One is to monitor the current grid voltage in real time. If the current reference voltage is exceeded, the reference voltage is switched.

In some embodiments, these two switching mechanisms can be converted through an external application programming interface. Multiple registers are used to store multiple preset reference voltages to match different grid voltages. When the reference voltage needs to be switched, the reference voltage value matching the current grid voltage is adjusted from these registers. After obtaining the reference voltage value matching the current grid voltage, the initialization parameters are calculated, and then the metering module and the functional modules related to the reference voltage are reinitialized.

In some embodiments, the workflow of the metering module includes: after the original analog signal input from the outside is reduced by ratio and analog-to-digital conversion, it becomes a digital signal that the metering module can detect and operate; and then it becomes the original input through conversion coefficient processing. The value of the signal. The conversion factor is determined by the reference voltage and other factors. The other factors mentioned are presented with fixed values. These reference voltage registers support the setting of the application programming interface.

In some embodiments, the switching method specifically includes the following steps: S101, the smart meter is powered on, and the hardware is initialized; S103, the configuration parameters are calculated, and the metering module is initialized; S105, the modules of the smart meter are normally operated; Adapt the detection mechanism to realize the switching of the reference voltage, if it is, go to step S109, otherwise, go to step S113; S109, real-time detection of whether the voltage exceeds the current reference voltage range, if it is, go to step S111, otherwise, Go to step S105; S111, modify the reference voltage, and then skip to step S103; S113, determine whether a command to modify the reference voltage is received, if yes, go to step S111, otherwise, go to step S105.

Compared with the prior art, the switching method of the reference voltage of the smart meter of the present invention adopts two switching mechanisms, one depends on an external command, and the other depends on automatic grid voltage monitoring, which can realize multiple references. The manual or automatic voltage switching can ensure the normal and stable operation of the metering module.

ZGAR bar 4000 Puffs

ZGAR bar 4000 Puffs


ZGAR electronic cigarette uses high-tech R&D, food grade disposable pod device and high-quality raw material. All package designs are Original IP. Our designer team is from Hong Kong. We have very high requirements for product quality, flavors taste and packaging design. The E-liquid is imported, materials are food grade, and assembly plant is medical-grade dust-free workshops.


Our products include disposable e-cigarettes, rechargeable e-cigarettes, rechargreable disposable vape pen, and various of flavors of cigarette cartridges. From 600puffs to 5000puffs, ZGAR bar Disposable offer high-tech R&D, E-cigarette improves battery capacity, We offer various of flavors and support customization. And printing designs can be customized. We have our own professional team and competitive quotations for any OEM or ODM works.


We supply OEM rechargeable disposable vape pen,OEM disposable electronic cigarette,ODM disposable vape pen,ODM disposable electronic cigarette,OEM/ODM vape pen e-cigarette,OEM/ODM atomizer device.

ZGAR bar 4000 Puffs Disposable Vape, bar 4000puffs,ZGAR bar 4000 Puffs disposable,ZGAR bar 4000 Puffs,ZGAR bar 4000 Puffs OEM/ODM disposable vape pen atomizer Device E-cig

ZGAR INTERNATIONAL(HK)CO., LIMITED , https://www.zgarpods.com