Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for storing and reading electric power data

A technology of power data and storage area, which is applied in the field of power meters, can solve problems such as serial signal line clutter interference, data storage and reading failure, power data error, etc., to achieve the effect of ensuring reliability and improving reliability

Active Publication Date: 2021-08-17
ZHEJIANG CHINT INSTR & METER
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the CRC16 check code calculated during storage and reading is 2 bytes, there will be a probability of 1 / 65535 check error; when reading data, when the first area of ​​data check is correct, do not compare the latter The data in the area, so the check code has the probability of error, resulting in the probability of error in the returned power data; the serial signal line between the external memory and the microcontroller is connected by PCB traces, and the serial signal line in the harsh environment There will be clutter interference on the signal line, and data storage and reading failures will occur; ferroelectric memory is relatively expensive and has a small storage capacity, which is not suitable for large data storage requirements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method for storing and reading electric power data
  • A method for storing and reading electric power data
  • A method for storing and reading electric power data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] The embodiment of the present invention provides a power data storage method, which is applied to occasions that require reliable data storage, such as figure 1 shown, including:

[0031] Step S11: Open up three storage modules.

[0032] The first storage module of the three storage modules in the embodiment of the present invention can be a RAM storage module, the second storage module can be a Flash storage module, and the third storage module can be an EEROM storage module. limit.

[0033] Step S12: the first storage module initially stores the power data every first preset time.

[0034] The first storage module in the embodiment of the present invention includes a plurality of first storage areas, and each first storage area initially stores the power data at the same time every first preset time.

[0035] Step S13: The second storage module stores the power data stored in the first storage module in odd and even pages every second preset time.

[0036] The sec...

Embodiment 2

[0058] The embodiment of the present invention provides a power data reading method, based on the storage method in embodiment 1, such as Figure 4 As shown, the copying methods include:

[0059] Step S41: When receiving the reading signal, obtain the power data in the first storage module, and judge whether the power data in the first storage module is correct.

[0060] Step S42: When at least one of the first power data in the first storage module is correct, use the majority judgment principle to read the correct power data; when none of the first power data in the first storage module is correct, obtain the second The second power data in the storage module.

[0061] Step S43: Judging whether the power data in the second storage module is correct. When at least one second power data in the second storage module is correct, use the majority judgment principle to read the correct power data. When the second storage module in the second storage module When none of the secon...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for storing and reading electricity data. The storage method includes: opening up three storage modules; the first storage module initially stores the electricity data every first preset time; the second storage module The power data stored in the first storage module is stored in odd and even pages at the preset time; the third storage module overwrites and stores the power data stored in the first storage module every second preset time, thereby improving the reliability of power data storage sex.

Description

technical field [0001] The invention relates to the technical field of electricity meters, in particular to a method for storing and reading electricity data. Background technique [0002] The reliability of power data is one of the most important functions of a meter. How to ensure the correctness of data in each power reading and writing process in various harsh environments is particularly critical. At present, the single-phase electricity meter uses an external ferroelectric memory to store electricity data in real time. Data reliability adopts RAM area plus three ferroelectric areas with CRC16 verification storage respectively. When storing, the power data storage verification of the previous area is correct, and then the power data of the next area is stored. When reading the electricity, if the electricity in the previous area is read out and the verification is correct, the electricity data in this area will be returned, and if the verification is incorrect, the el...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06G06F11/10G06Q50/06
CPCG06F3/0614G06F3/0631G06F3/0644G06F3/068G06F11/1004G06Q50/06
Inventor 张礼杰蒋紫松顾志勇何南海牛付震
Owner ZHEJIANG CHINT INSTR & METER