CN203038260U - Electric energy meter embedded software semi-stimulation tester - Google Patents
Electric energy meter embedded software semi-stimulation tester Download PDFInfo
- Publication number
- CN203038260U CN203038260U CN 201220738412 CN201220738412U CN203038260U CN 203038260 U CN203038260 U CN 203038260U CN 201220738412 CN201220738412 CN 201220738412 CN 201220738412 U CN201220738412 U CN 201220738412U CN 203038260 U CN203038260 U CN 203038260U
- Authority
- CN
- China
- Prior art keywords
- embedded software
- module
- electric energy
- energy meter
- peripheral
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The utility model provides a semi-stimulation tester used for testing electric energy meter embedded software. The semi-stimulation tester comprises an electric energy meter control unit, an embedded software testing platform and a peripheral stimulation computer, wherein the electric energy meter control unit is connected with the embedded software testing platform and the peripheral stimulation computer and serves as an object machine and the embedded software testing platform serves as a host machine, the peripheral stimulation computer comprises a peripheral environment stimulation module needed by the object machine, a testing tool operates on the embedded software testing platform which is connected with the control unit through a bus to perform test execution, test monitoring and test result recording and analyzing, and the peripheral environment stimulation module is composed of modules of programmable signal generator, button, display, infrared communication, indicating light and the like, connected with the control unit through an outside interface circuit of the peripheral stimulation computer, and connected with the embedded software testing platform through an RS485 communication interface. The problem of inconvenience caused by the fact that outside interaction equipment is needed during electric energy meter testing is solved, and testing efficiency is improved.
Description
Technical field
The utility model relates to electric energy meter embedded software test field, refers in particular to a kind of device of electric energy meter embedded software half emulation testing.
Background technology
Electric energy meter is not only as a simple electric energy metering device, and still a multi-functional data collection station has obtained widespread use.At present electronic electric energy meter is to be control module with MCU, and peripheral circuit is made up of computation chip etc., and better linearity degree and degree of stability are arranged, and it is little to have power consumption, and voltage and frequency response speed are fast, plurality of advantages such as measuring accuracy height.The big multi-functional of electric energy meter all finished by embedded software, as the main tool of electric energy metrical, to metering accuracy, stability, functional important influence.Software test in the embedded software life cycle and common software test difference are, the former need adopt the mode of cross-beta: testing tool operates on the host, the needed program multidate information of analytical test instrument produces at electric energy meter control module (target machine) and outside interactive device, need to be transferred on the host by certain physical/logic connection, receive and analyze by testing tool.Therefore, a major issue of embedded software analytical test instrument is to set up host to be connected with physical/logical between target machine (electric energy meter control module) and the outside interactive device, to solve data information transmission.
The deficiencies in the prior art: the electric energy meter embedded software test relies on target machine (electric energy meter control module) and outside interactive device, and electric energy meter control module and outside interactive device often need recasting during test, and testing efficiency is low, the cycle is long.
The utility model content
The purpose of this utility model: a kind of device of electric energy meter embedded software half emulation testing is provided, simulates outside interactive device with computer simulation system, need improve testing efficiency by the inconvenience of outside interactive device when solving the electric energy meter software test.
In order to realize the utility model purpose, intend adopting half following simulation testing device:
A kind of device for half emulation of test electric energy meter embedded software, it includes the electric energy meter control module, the embedded software test platform that links to each other with control module and the peripheral simulation computer that includes the required peripheral environment emulation module of control module.It is characterized in that building operation and the test environment of test embedded software, the electric energy meter control module is that target machine, embedded software test platform are made host, peripheral simulation computer includes the required peripheral environment emulation module of target machine.Wherein, described embedded software test platform can move testing tool, is to connect by bus with being connected of control module, carries out test execution, test monitoring, test result record analysis; Described peripheral environment emulation module is made up of modules such as programmable signal generator, button, display, infrared communication, pilot lamp, with being connected of control module be that external interface circuit by peripheral simulation computer links to each other, link to each other by the RS485 communication interface with the embedded software test platform; Described programmable signal generator module is simulated the input signal (pulse signal that voltage, current signal are exported) of its physics after sampling and V/F conversion, the button module simulation shows two groups of buttons that switching and parameter arrange, the output of display apparatus module simulation electric energy meter shows LCD, alarm functions such as the indicating lamp module simulated power transfinites, overvoltage, overcurrent, the phase failure are checked meter or the manual parameters setting in infrared communication module simulation output.
Characteristics of the present utility model: the input/output signal of the interactive system of the tested embedded software of peripheral environmental simulation module simulation, physics and the situation of fault condition and off-order mode in electric energy meter embedded software half simulator, Function detection be can carry out and the fault that exists in the embedded software running process, the authenticity of assurance function testing result and degree of confidence tested; Use half emulation testing, tested embedded software running is in real target machine, the outside interactive device of other that are connected with system under test (SUT) realizes by emulation, required true environment when simulating tested embedded software running, the output result of logging software operation; According to the embedded software test requirement, but the peripheral environment emulation module that the corresponding control module of flexible configuration is required, drive embedded software running, feedback and the output result of tested embedded software accepted and handled to the peripheral environment emulation module, thereby automatically, duty when showing embedded software running in real time.
Description of drawings
Fig. 1 is that the parts of electric energy meter embedded software half simulation testing device that proposes of the utility model connect block diagram.
The 1-control module, 2-embedded software test platform, the peripheral simulation computer of 3-, 4-programmable signal generator module, 5-button module, 6-display apparatus module, 7-infrared communication module, 8-indicating lamp module.
Embodiment
Below in conjunction with accompanying drawing the utility model is described further.
Its principle of work is as follows: embedded software test platform 2 (host) is gone up the operation testing tool, and the test case script of writing is injected into electric energy meter control module 1 (target machine) through the bus connecting interface, prepares operation; Under the script interpreter effect test script is being carried out real-time interpretation and operation in control module 1, peripheral simulation computer 3 produces various analog value (voltages by programmable signal generator module in the peripheral environment emulation module 4, electric current, parameter arranges etc.), export to control module 1 through the external interface of peripheral simulation computer 3, embedded software is to signals collecting in the control module 1, the external interface of peripheral simulation computer 3 is sent in conversion and calculating back to through output interface, the peripheral environment emulation module will be accepted the data of external interface and handle, show current measured value through display apparatus module 6 then, simultaneously give embedded software test platform 2 through the RS485 communication interface, whether the result of record embedded software running and detecting information reaches the designing requirement of test case with arbitration functions.
At test period, peripheral simulation computer 3 shows switching (as electric flux, power, time etc.) measured value or external parameter setting by button module 5 simulated operations; When carrying out reliability testing, situations such as peripheral simulation computer 3 simulated powers transfinite, overvoltage, overcurrent, the phase failure, show corresponding warning indication for indicating lamp module 8 by control module 1 output signal through the external interface of peripheral simulation computer 3, peripheral simulation computer 3 is given embedded software test platform 2 by the RS485 communication interface with the warning indication information, by embedded software test platform 2 record embedded software running warning messages; When test simulation infrared communication interface is accepted parameter setting or meter reading instruction, send instructions to infrared communication module 7 on the peripheral simulation computer 3, infrared communication module 7 becomes corresponding signal with instruction transformation, export to control module 1 through the external interface circuit that connects, control module 1 calculates or logic analysis, and command adapted thereto or data are sent to peripheral simulation computer 3 external interfaces transmit, give embedded software test platform 2 by the RS485 communication interface behind peripheral simulation computer 3 acknowledge(ment) signals, record embedded software running information.
This device advantage driftlessness machine hardware peripheral circuit just can be tested the electric energy meter embedded software, flexibly, conveniently; Can distinguish the problem of software, hardware with software emulation; Can realize automatic test to the embedded software test process programming, reduce the embedded software test cost.
Claims (2)
1. the device of electric energy meter embedded software half emulation testing, it is characterized in that: the embedded software test platform that comprise control module, links to each other with control module and include the peripheral simulation computer of the required peripheral environment emulation module of control module, wherein, described embedded software test platform, it is to connect by bus with being connected of control module, carries out test execution, test monitoring, test result record analysis; Described peripheral environment emulation module is made up of programmable signal generator module, button module, display apparatus module, infrared communication module, indicating lamp module, it is continuous by the external interface circuit of peripheral simulation computer with being connected of control module, links to each other by the RS485 communication interface with the embedded software test platform; Described programmable signal generator module is simulated the input signal of its physics, the button module simulation shows two groups of buttons that switching and parameter arrange, the output of display apparatus module simulation electric energy meter shows LCD, alarm functions such as the indicating lamp module simulated power transfinites, overvoltage, overcurrent, the phase failure are checked meter or the manual parameters setting in infrared communication module simulation output.
2. the device of electric energy meter embedded software half emulation testing according to claim 1 is characterized in that: the input signal of described physics is the pulse signal that voltage, current signal are exported after sampling and V/F conversion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220738412 CN203038260U (en) | 2012-12-26 | 2012-12-26 | Electric energy meter embedded software semi-stimulation tester |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220738412 CN203038260U (en) | 2012-12-26 | 2012-12-26 | Electric energy meter embedded software semi-stimulation tester |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203038260U true CN203038260U (en) | 2013-07-03 |
Family
ID=48690363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220738412 Expired - Fee Related CN203038260U (en) | 2012-12-26 | 2012-12-26 | Electric energy meter embedded software semi-stimulation tester |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203038260U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019940A (en) * | 2012-12-26 | 2013-04-03 | 中国计量学院 | Electric energy meter embedded software semi-simulation test device |
-
2012
- 2012-12-26 CN CN 201220738412 patent/CN203038260U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019940A (en) * | 2012-12-26 | 2013-04-03 | 中国计量学院 | Electric energy meter embedded software semi-simulation test device |
CN103019940B (en) * | 2012-12-26 | 2016-10-05 | 中国计量学院 | A kind of electric energy meter embedded software half simulation testing device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103019940A (en) | Electric energy meter embedded software semi-simulation test device | |
CN109444566B (en) | Electric automobile charging facility detection equipment and method | |
CN201886095U (en) | Test device of merging unit | |
CN103543399B (en) | A kind of automobile CAN-bus module automatic detection system of Based PC I board and method | |
CN202533798U (en) | Intelligent detection platform for new energy vehicle control unit | |
CN109324601A (en) | The test platform of robot controller or control system based on hardware in loop | |
CN101833076B (en) | Terminal automatic detection device | |
CN207335757U (en) | A kind of test system of automobile combination meter | |
CN103913728B (en) | A kind of method of testing based on portable radar comprehensive tester | |
CN105467355A (en) | Automatic testing method of electric energy meter and automatic testing device of same | |
CN106886212B (en) | Servo system's testing arrangement | |
CN201422110Y (en) | Relay protection fiber channel simulation experimental instrument | |
CN201488749U (en) | Novel meter detection equipment | |
CN203386041U (en) | Carrier rocket ground acquisition device | |
CN103095338A (en) | Fault detection device of electric energy collectors | |
CN102879732B (en) | Method and system for testing board card | |
CN203849400U (en) | Intelligent ammeter carrier wave communication module dynamic power consumption detector | |
CN203038260U (en) | Electric energy meter embedded software semi-stimulation tester | |
CN103744421A (en) | Intelligent test device for actuating mechanism card | |
CN204009065U (en) | A kind of portable radar comprehensive tester | |
CN203788304U (en) | Device for testing function of hardware interface | |
CN103761895B (en) | A kind of method of work of current transformer simulation examination system | |
CN113405583B (en) | Automatic test equipment and control method for aviation board sensor | |
CN201689647U (en) | Automatic detection device of terminal | |
CN203422664U (en) | Undercarriage control and interface assembly testboard |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130703 Termination date: 20131226 |