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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


