An Embedded Software Semi-simulation Test Device for Electric Energy Meter

An embedded software, semi-simulation technology, applied in the direction of software testing/debugging, can solve the problems of low test efficiency and long cycle, and achieve the effect of ensuring authenticity and confidence

Inactive Publication Date: 2016-10-05
CHINA JILIANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Deficiencies in the prior art: the test of the embedded software of the electric energy meter depends on the target machine (the control unit of the electric energy meter) and the external interactive equipment, and the electric energy meter control unit and the external interactive equipment often need to be remade during the test, and the test efficiency is low and the cycle is long

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
  • An Embedded Software Semi-simulation Test Device for Electric Energy Meter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0010] The present invention will be further described below in conjunction with the accompanying drawings.

[0011] Its working principle is as follows: the test tool is run on the embedded software test platform 2 (host machine), and the test case script written is injected into the electric energy meter control unit 1 (target machine) through the bus connection interface, ready to run; under the action of the script interpreter Interpret the test script in real time and run it in the control unit 1. The peripheral simulation computer 3 generates various analog values ​​(voltage, current, parameter settings, etc.) through the programmable signal generator module 4 in the peripheral environment simulation module. The external interface of the computer 3 is output to the control unit 1, and the embedded software in the control unit 1 sends back the external interface of the peripheral simulation computer 3 through the output interface to the signal acquisition, conversion and c...

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 provides a semi-simulation device for testing electric energy meter embedded software. The semi-simulation device for testing the electric energy meter embedded software comprises an electric energy meter control unit, an embedded software test platform and a peripheral simulation computer, wherein the embedded software test platform is connected with the control unit; the electric energy meter control unit serves as a host machine for a target machine and the embedded software test platform; the peripheral simulation computer comprises a peripheral environment simulation module required by the target machine; a test tool operates on the embedded software test platform; the embedded software test platform is connected with the control unit through a bus to perform test execution, test monitoring and test result recording and analyzing; the peripheral environment simulation module comprises modules such as a programmable signal generator, a press button, a display, infrared communication and an indicating lamp; the peripheral environment simulation module is connected with the control unit through an external interface circuit of the peripheral simulation computer; and the peripheral environment simulation module is connected with the embedded software test platform through an RS485 communication interface. The semi-simulation device for testing the electric energy meter embedded software solves the problem of inconvenience caused by that external interactive equipment is required during test of the electric energy meter software, and improves the measuring efficiency.

Description

technical field [0001] The invention relates to the field of electric energy meter embedded software testing. Background technique [0002] The electric energy meter is not only a simple electric energy measuring instrument, but also a multifunctional data acquisition terminal, which has been widely used. At present, the electronic energy meter uses MCU as the control unit, and the peripheral circuit is composed of metering chips. It has good linearity and stability, low power consumption, fast voltage and frequency response, and high measurement accuracy. Most of the functions of the electric energy meter are completed by embedded software. As the main tool for electric energy measurement, it has an important impact on the measurement accuracy, stability and functionality. The difference between software testing in the embedded software life cycle and general software testing is that the former needs to adopt a cross-testing method: the test tool runs on the host computer,...

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): G06F11/36
Inventor 钱晓耀汪萍萍洪涛胡献华王晓岭章雪生
Owner CHINA JILIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products