A data storage method for electric energy meter power-down protection

A technology for power failure protection and data storage, which is used in electrical digital data processing, redundancy in operation for data error detection, and redundancy code for error detection, etc., which can solve the problem of insufficient reliability of power meter storage in power failure. and other problems, to achieve the effect of low energy storage requirements

CN106648982BActive Publication Date: 2019-12-20NINGBO JIANAN ELECTRONICS
5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-12-20

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

Disclosed is an electric energy meter power down protection data storing method. The method comprises the steps of arranging a power down protection data block, a pointer PA and a pointer PB in a RAM of a MCU of an electric energy meter, integrating data which needs power down protection together and adding a CRC verifying, and storing the data in the power down protection data block; arranging a circulated back-up storing area A and a circulated back-up storing area B in a nonvolatile memory unit of the electric energy meter, and arranging several back-up data area blocks used for storing data in the power down protection data block in both the circulated back-up storing area A and the circulated back-up storing area B; when the MCU the electric energy meter detects power down, if there are electric quantity data changes after timing write-in of last time, starting once a write operation of the data back-up as well, and entering a sleep mode after writing; when power is on again, awakening the MCU of the electric energy meter from the sleep mode, and firstly recovering the data from the nonvolatile memory unit to the power down protection data block. According to the electric energy meter power down protection data storing method, only two data blocks are written in when there is power down, requirements of energy storing towards a rectified electrolytic capacitor are low, and requirements are easily met.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to a method for storing power-down protection data of an electric energy meter. Background technique

[0002] In the data storage of electric energy meters, key data power-off storage and power-on recovery are very critical indicators of product reliability. Data errors caused by non-device failures during on-site operation are mostly related to power-off Data preservation is related to power-on recovery. The reasons include many aspects, mainly including untimely power-off detection and response, too frequent power-off / power-on process leading to unstable working power, battery passivation, and energy storage performance degradation of rectifier electrolytic capacitors.

[0003] In order to solve the storage problem during power-off / power-on, most electric energy meter software will use multiple backups to improve reliability. A storage area is read out for comparison when the power is turned on, and the storage area is selecte...

Examples

Embodiment Construction

[0019] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] refer to figure 1 , a power-down protection data storage method of an electric energy meter, in which a power-down protection data block 101, a pointer PA 104, and a pointer PB 105 are set in the RAM of the electric energy meter MCU, and the data requiring power-down protection are gathered together and added with a CRC Verify and store in the power-failure protection data block 101.

[0021] A cyclic backup storage area A 102 and a cyclic backup storage area B 103 are set in the non-volatile memory of the electric energy meter, and there are n and m in the cyclic backup storage area A 102 and the cyclic backup storage area B 103 respectively There are a number of backup data blocks for storing data in the power-down protection data block 101, n and m may be the same or different.

[0022] When the electric energy meter is in...