Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for error detection and correction and trajectory tracking of power meter software

A trajectory tracking, error detection and correction technology, applied in the field of electric energy meters, can solve problems such as software abnormal reset, variable rewritten by abnormal, and hidden errors that cannot be confirmed

Inactive Publication Date: 2017-12-15
INTEGRATED ELECTRONICS SYST LAB
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although there are product system tests conducted internally by the supplier and full-performance tests conducted by the State Grid Metrology Center, many problems are deeply hidden and have a low recurrence frequency, such as variable rewriting by exception, buffer or stack overflow, software exception reset, etc. , it is impossible to confirm all the hidden errors. In addition, the State Grid prohibits the software upgrade of the electric energy meter running on the site, resulting in some errors that cannot be eliminated before leaving the factory, which affects the use of the site.

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
  • Method for error detection and correction and trajectory tracking of power meter software
  • Method for error detection and correction and trajectory tracking of power meter software
  • Method for error detection and correction and trajectory tracking of power meter software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0038] A method for error detection, error correction and trajectory tracking of electric energy meter software, comprising the following steps:

[0039] Step 1. Add CS check byte to the data structure defined by the electric energy meter software, and perform CS check according to the CS check byte when storing or reading variables;

[0040] The program code for adding the CS check byte to the data structure is as follows:

[0041]

[0042] Checksum judgment function CHECK_STRUCT_SUM(), checksum setting function SET_STRUCT_SUM();

[0043] The specific steps for CS verification are as follows:

[0044] 1.1. When writing data, first calculate the CS check byte of the data structure variable, CS check byte = the sum of the data values ​​of other variables in the data structure except the CS check byte, and then calculate The obtained CS check byte ...

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 relates to a method for error detection and correction and trajectory tracking of power meter software. The method comprises the following steps of (1), adding a CS check byte to a data structure so as to perform a CS check, (2), adding a fore-and-aft tagged word byte of a fixed value to the data structure so as to perform a fore-and-aft tagged word check, (3), determining whether or not a data buffer zone is overflown, (4), determining whether or not data stack space is smaller than a preset warning value, (5), conducting a validity check on important inlet parameters of an operation function, and if execution requirements of the operation function are not satisfied, outputting information of inefficiency, (6), designing an output function of the operation trajectory of the power meter software, and outputting information of the operation trajectory of the power meter software and information of operation status to a computer so as to facilitate checking of a current operation condition of the software. According to the method, various mechanisms of error detection and correction are integrated, the problems which are found out are uniformly output through a trajectory function to the computer, and the problem locations are determined quickly and fed back to a developer for modification, so that the software problem of a power meter is minimized.

Description

technical field [0001] The invention belongs to the technical field of electric energy meters, and in particular relates to an error detection and correction and trajectory tracking method of electric energy meter software. Background technique [0002] With the official implementation of the State Grid Corporation of China's smart energy meter series standards, the functions of the energy meter have increased significantly, and the software code of the energy meter has reached as many as 100,000 lines. The software debugging and troubleshooting work is very difficult. Although there are product system tests conducted internally by the supplier and full-performance tests conducted by the State Grid Metrology Center, many problems are deeply hidden and have a low recurrence frequency, such as variable rewriting by exception, buffer or stack overflow, software exception reset, etc. , it is impossible to confirm all the hidden errors. In addition, the State Grid prohibits the u...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3636G06F11/3644G06F11/366
Inventor 龙德亮徐健池金波徐法格
Owner INTEGRATED ELECTRONICS SYST LAB
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products