CN208672108U - A kind of gas meter function test macro - Google Patents
A kind of gas meter function test macro Download PDFInfo
- Publication number
- CN208672108U CN208672108U CN201821317858.0U CN201821317858U CN208672108U CN 208672108 U CN208672108 U CN 208672108U CN 201821317858 U CN201821317858 U CN 201821317858U CN 208672108 U CN208672108 U CN 208672108U
- Authority
- CN
- China
- Prior art keywords
- gas meter
- test
- module
- flow meter
- control module
- 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.)
- Active
Links
Abstract
The utility model discloses a kind of gas meter function test macros, it is connected on tested tested gas meter, flow meter, the utility model is executed by command reception module, test execution mould group, Central Control Module, testing control module, result receiving module and result display module receives test instruction, parsing test instruction is executes instruction and executes test instruction to tested gas meter, flow meter by various testing execution modules, to reach test purpose.The utility model detects gas meter, flow meter table end itself program by external gas meter function test macro, input test person needs the instruction of function to be tested directly at command reception module, and test macro can carry out detection to gas meter, flow meter automatically and show the implementing result of gas meter, flow meter in feedback execution module in a test system;This system replaces detection of the manual operation to gas meter, flow meter table end, and gas meter function test is more convenient, and can intuitively check test result.
Description
Technical field
The utility model relates to gas meter function check test technical fields, specially a kind of gas meter function test system
System.
Background technique
Gas meter, flow meter needs to carry out functional test, each function and property of gas meter, flow meter complete machine to gas meter, flow meter before installation to family
Can index inspection, still using divide hilllock multi-step execute, manual testing and reading detection data by the way of, testing staff according to
Inspection data measured determines whether product meets design requirement and production requirement.But in the checkout procedure of gas meter, flow meter complete machine, because of inspection
It is numerous to test project, so being easy occur the problem of artificial fatigue and inspection result difference in checkout procedure, and test and judge
As a result it varies with each individual, more increases the otherness of inspection result in this way.
Therefore, many gas meter function test softwares are come into being.But common automatization test system mainly for
Desktop programs, application program of mobile phone and Web page application program, there is no the automatic tests for embedded software in gas meter, flow meter
System.In view of the cost and stability of the embedded software of most of gas meter, flow meters, embedded OS will not be used.Mesh
Before, in order to consider cost when the low type selecting of gas meter, flow meter chip program, it can generally select the required storage of combustion gas list procedure itself empty
Between, it will not additionally retaining space be stored for automatic test program.So as mobile phone application in gas meter, flow meter embedded program
It is to have difficulties that automated test frame code, which is equally added, in program.
Also, compared with multipad and application program of mobile phone, embedded software work does not carry out merely software friendship
Mutually, it also to be interacted with some hardware components and electric signal.Simply the memory space of gas meter, flow meter itself is expanded, it will be certainly
In dynamic inspection software insertion chip, it can not achieve simulation and send voltage signal and current signal.
Utility model content
The purpose of this utility model is to provide for a kind of gas meter function test macro, is surveyed by external gas meter function
Test system detects gas meter, flow meter table end itself program, and input test person needs function to be tested directly at command reception module
The instruction of energy, test macro can detect and show the implementing result of gas meter, flow meter in a test system to gas meter, flow meter automatically
Feedback execution module on;This system replaces detection of the manual operation to gas meter, flow meter table end, and gas meter function test is more convenient,
And it can intuitively check test result.
In order to realize above-mentioned purpose of utility model, the utility model uses a kind of following technical scheme: gas meter function
Test macro is connected on tested tested gas meter, flow meter, tested gas meter, flow meter include for test the input terminal of instruction input and
For the output end of test result output, gas meter function test macro includes
Command reception module refers to for receiving inspector to the test that test macro input needs tested gas meter, flow meter to execute
It enables;
Test execution mould group connects the input terminal of tested gas meter, flow meter, and test execution mould group includes different test execution mould
Block, different testing execution modules be used to send to tested gas meter, flow meter it is different execute instruction, test different in tested gas meter, flow meter
Function;
Central Control Module, link order receiving module, the instruction morphing test that command reception module is received is quilt
What survey gas meter, flow meter was able to carry out executes instruction;
Testing control module, connects Central Control Module and test execution mould group, testing control module receive and identify not
Same executes instruction, and executes instruction the different testing execution modules called in test execution mould group according to different;
Result receiving module connects the output end of Central Control Module and tested gas meter, flow meter, and tested gas meter, flow meter, which has executed, to be held
After row instruction, implementing result is exported on the output, and as a result receiving module receives the implementing result exported on output end and will hold
Row result sends Central Control Module to;
Result display module connects Central Control Module, for showing the implementing result of tested gas meter, flow meter;Center control
Module analyze and show by result display module to implementing result after receiving implementing result.
Compared with prior art, using the gas meter function test macro of above-mentioned technical proposal, have following beneficial to effect
Fruit:
One, using the gas meter function test macro of the utility model, test man can be directly defeated to function test system
Enter to instruct the implementing result that detects, and will test out to the function of gas meter, flow meter to be automatically shown in test macro total, so that surveying
Examination process and result are more intuitive, improve the efficiency of gas meter function detection.
Two, manual operation is replaced to carry out functional test to gas meter, flow meter using this function test system, test process is more square
Just, artificial judgment is compared, the judging result of function test system is more accurate, can be by different testing control modules to combustion
Specific function on gas meter carries out fc-specific test FC, and test more has specific aim, and debugs convenient for tester.
Preferably, the signal of test man's input is the Chinese instruction of certain programmed, and test macro further includes instruction parsing mould
Block, command reception module connect Central Control Module by command analysis module, and command analysis module is used to parse Chinese instruction,
Chinese instruction is resolved into the test instruction that Central Control Module can identify.Function test system can be helped using input in Chinese
Test man is helped more smoothly to understand and grasp the application method of function test system, convenient for the use of function test system.
Preferably, the test execution mould group includes key control module, and function test system passes through key control module
Connect the key circuit part of tested gas meter, flow meter, the functional completeness of the key circuit part for testing tested gas meter, flow meter.
Preferably, the test execution mould group includes pulse control module, and function test system passes through pulse control module
The pulse-scaling circuit part of tested gas meter, flow meter is connected, it is complete for testing the function of pulse-scaling circuit part of tested gas meter, flow meter
Whole property.
Preferably, the test execution mould group includes pressure supply control module, and function test system passes through pressure supply control module
Connect the electrification circuit part of tested gas meter, flow meter, the functional completeness of the electrification circuit part for detecting tested gas meter, flow meter.
Preferably, further include auxiliary link block, connecting test control module, for connect miscellaneous function test macro into
The ancillary equipment of row test.
It preferably, further include power supply module, power supply module connecting test control module is used for functional test
System or tested gas meter, flow meter provide electric energy.
It preferably, further include wireless communication module, wireless communication module connects Central Control Module, is used for and tested combustion gas
Table carries out telecommunication, tests the wireless communication function of tested gas meter, flow meter.Control of the wireless communication module in Central Control Module
The lower communication part in tested gas meter, flow meter is communicated, with this come the communication function tested on tested gas meter, flow meter.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the utility model gas meter function test macro;
Fig. 2 is the module connection diagram in the utility model embodiment 1;
Fig. 3 is the module connection diagram in the utility model embodiment 2;
Fig. 4 is the module connection diagram in the utility model embodiment 3;
Fig. 5 is the module connection diagram in the utility model embodiment 4;
Fig. 6 is the module connection diagram in the utility model embodiment 5;
Fig. 7 is the module connection diagram in the utility model embodiment 6.
Specific embodiment
The utility model is described further with reference to the accompanying drawing.
The gas meter function test decorum as shown in Figure 1 includes command reception module, command analysis module, as the result is shown mould
Block, feedback reception module, Central Control Module, testing control module, test execution mould group and power supply module.Test macro
It is connect by testing execution module and feedback reception module with tested gas meter, flow meter, functional test is carried out to tested gas meter, flow meter.Below
It is further explained in conjunction with workflow of the attached drawing 1 to this system:
Test man connects test execution mould group with the input terminal of tested gas meter, flow meter, by feedback reception module and tested combustion gas
The output end of table connects, and inputs test instruction in need of test from command reception module.Different test instructions, institute are right
The input terminal and output end that should be tested on gas meter, flow meter might have difference, have specific descriptions below.In the utility model, in order to
Facilitate test man that can more easily grasp test macro, reduce learning time, the test that command reception module receives refers to
The Chinese to write according to certain syntax gauge is enabled to instruct.The instruction for parsing Chinese instruction is connected in command reception module
Chinese instruction after command analysis module receives Chinese instruction, is resolved to the test that test macro can identify by parsing module
Instruction, and send the test being parsed instruction to Central Control Module.Central Control Module is connected to testing control module,
Central Control Module is instruction morphing for executing instruction of being able to use of test macro by the test received.Center test module connects
Testing control module is connect, testing control module is connect with test execution mould group.Testing control module receives Central Control Module
After what is converted executes instruction, identify that include in test instruction specifically needs to be tested executing instruction for gas meter, flow meter execution, and root
Testing execution module different in test execution mould group is called according to different executing instruction.It is tested accordingly in test execution mould group
Execution module receives execute instruction after, will execute instruction and be input in tested gas meter, flow meter by input terminal, tested gas meter, flow meter is held
Row receive execute instruction after by implementing result from delivery outlet export.The delivery outlet of tested gas meter, flow meter connects feedback reception mould
Block, feedback reception module send implementing result on Central Control Module, the implementing result that Central Control Module will receive
Analyze and shown by result display module.Test man can be by the execution knot that shows in result display module
Fruit judges the implementing result of display in conjunction with the Chinese instruction inputted before, obtains corresponding test result.
Gas meter function test macro mainly for detection of gas meter, flow meter embedded software fully functional test macro, with
Unlike general computer desktop, mobile phone or Web page application program, gas meter, flow meter embedded software is that one kind runs directly in list
Special software on piece machine, interactive object not only have communication data, and have the electric signals such as voltage, electric current.Such as it is some
Computer desktop software and gas meter, flow meter have a keypress function, but the key of desktop software be a display on a display screen it is virtual by
Key, and the key of gas meter, flow meter is the key of actual mechanical electronic mode, is necessary being, so desktop software is unable to analog machine
The keypress function of tool electronic type.In order to analog manual operation's key to having close button, voltage, electric current etc. on gas meter, flow meter
Function tested, the test macro of the utility model is divided into terminal panel and test control panel two parts.Terminal panel and
Test control panel is separated from each other setting, is able to carry out information exchange between the two, and terminal panel both referred to test control panel transmission
It enables, data can be also received from test control panel.
Terminal panel is typically mounted in test terminal, and test terminal is computer, plate, mobile phone or dedicated for combustion gas
The intelligent terminal of table detection;Testing and control is by the then independent end face on test terminal and tested gas meter, flow meter, with test terminal
Plate is connected with tested gas meter, flow meter.In general, command reception module, command analysis module, Central Control Module, feedback reception module
It is arranged on terminal panel with result display module;Testing control module, test execution mould group and power supply module setting exist
On test control panel.
Work below with reference to testing execution module different in test execution mould group to the test macro of the utility model
Principle is further made explanations:
Embodiment 1:
As shown in Fig. 2, in the present embodiment, including key control module in test execution mould group, believing for control button
Number input.Test macro with key control module mainly for detection of in tested gas meter, flow meter be used for push button signalling receive and
Whether function is normal for the part of push button signalling processing.When detecting, test man's pressing key control module and tested gas meter, flow meter
The connection of key circuit part and the instruction detected from the related keypress function of input, at this point, the voltage of tested gas meter, flow meter key circuit is defeated
Entrance is above-mentioned input terminal.Key control module in test control panel passes through the different level of output height to key electricity
Road part makes tested gas meter, flow meter recognize button operation, to lead instead of manually inputting.
When tested gas meter, flow meter receives after executing instruction of key control module, activation key circuit operation, and by result
The result receiving module of test macro is output to from output end, as a result implementing result is carried out next step transmission by receiving module, most
It is shown afterwards in result display module.For example, the function of having a key on gas meter, flow meter is, after depresses button, in gas meter, flow meter
Shown on display screen device gas, table number, the table time, whether the significant datas content such as arrearage.At this point, liquid in tested gas meter, flow meter
The data output of crystalline substance display content is output end, as long as copying manual operation when test, the single-chip microcontroller into tested gas meter, flow meter
Key monitor interface send a low level, so that it may realize analogue-key operate.Key control mould will be pressed on test control panel
Block is connected to the key monitoring circuit on tested gas meter, flow meter control panel, and test control panel can change the electricity of key monitoring circuit
It is flat, so that the display content shown on gas meter, flow meter can be transmitted in test macro from output end, and it is shown in mould as the result is shown
On block.Above-mentioned display data are shown in the test terminal equipped with terminal panel, and test man in test terminal by showing
To content, judge whether gas meter, flow meter corresponding function is complete.
Embodiment 2:
As shown in figure 3, including pulse control module in test execution mould group in the present embodiment, for controlling test system
The pulse of system exports.Test macro with pulse control module is mainly for detection of being used for step-by-step counting in tested gas meter, flow meter
Pulse-scaling circuit is that all function is normal.When detecting, test man is by the step-by-step counting of pulse control module and tested gas meter, flow meter
Circuit connection simultaneously inputs the instruction in relation to step-by-step counting Function detection, at this point, the pulse of tested gas meter, flow meter pulse-scaling circuit is defeated
Entrance is above-mentioned input terminal.Pulse control module in test control panel passes through the different pulse of output height to pulsimeter
Number circuit part makes tested gas meter, flow meter recognize counting pulse, simulates the flowing of combustion gas in tested gas meter, flow meter.
At this point, being used to calculate the gas consumption data-out port of real-time gas consumption in tested gas meter, flow meter is output end, when
After tested gas meter, flow meter receives the executing instruction of pulse control module, the operation of sensitizing pulse counting circuit is calculated in impulse circuit
Obtained real-time electricity consumption is transmitted in test macro from output end, and is shown in result display module.Above-mentioned real-time use
Tolerance is shown in the test terminal equipped with terminal panel, and test man obtains content by display in test terminal, judges combustion gas
Whether table corresponding function is complete.
Embodiment 3:
As shown in figure 4, including pressure supply control module in test execution mould group in the present embodiment, for tested combustion gas
The different part of detecting of table are powered on and are powered off.Test macro with pressure supply control module is mainly for detection of tested combustion gas
Whether the program function for needing individually to power in table is normal.For example, gas meter, flow meter is generally equipped with main electricity, standby electric two batteries, it is many
Whether functional test needs to verify active and standby electric combustion gas list procedure up and down working properly, and pressure supply control module is just implemented for
The active and standby electricity of gas meter, flow meter or more is controlled, to carry out corresponding function test.
After being powered on to the tested part of tested gas meter, flow meter control panel, after corresponding position is attached, detection
Member is equally detected by inputting instruction, and last testing result is shown in detection terminal, is judged convenient for inspector.
Embodiment 4:
As shown in figure 5, being additionally provided with and being used in the present embodiment unlike above-described embodiment 1, embodiment 2 and embodiment 3
The power supply module of electric energy, power supply module connecting test control module are provided.In the present embodiment, power supply module
To may be programmed regulated power supply, for controlling the voltage of main electricity and standby electricity to gas meter, flow meter.Terminal and programmable pressure stabilizing electricity in test
Source connection, programmable pressure stabilizing control power supply can be directly connected to gas meter, flow meter outlet by PIN socket.Test terminal passes through
Command adapted thereto can control the output voltage of regulated power supply to programmable regulated power supply, to control the electricity inputted to gas meter, flow meter
Pressure.
Embodiment 5:
As shown in fig. 6, unlike the embodiments above, the function test system of the present embodiment is equipped with auxiliary connection mould
Block always may require that during the function test system using the utility model detects tested gas meter, flow meter and use it
His ancillary equipment.Ancillary equipment by assist link block be connected with function test system, and with function test system one
It is tested with to tested gas meter, flow meter.Wherein, ancillary equipment is optical pulse counter, samples miscellaneous function test macro by light
Tested gas meter, flow meter is tested.
Embodiment 6:
After technology of Internet of things is added in gas meter, flow meter, present electronic gas table has network communications technology.To combustion gas
Table network associated communication functional test is the important component of gas meter, flow meter test.As shown in fig. 7, the functional test of the present embodiment
Wireless communication module is additionally provided in system, wireless communication module is generally located on terminal panel, in the control of Central Control Module
The lower communication part in tested gas meter, flow meter of system is communicated, with this come the communication function tested on tested gas meter, flow meter.
It is preferred embodiments of the present invention above, does not depart from this reality for those of ordinary skill in the art
Under the premise of with new principle, several variations and modifications can also be made, these also should be regarded as the protection scope of the utility model.
Claims (8)
1. a kind of gas meter function test macro, it is characterised in that: be connected on tested tested gas meter, flow meter, be tested gas meter, flow meter
Including the input terminal for testing instruction input and for the output end of test result output, gas meter function test macro includes
Command reception module, the test instruction for needing tested gas meter, flow meter to execute to test macro input for receiving inspector;
Test execution mould group connects the input terminal of tested gas meter, flow meter, and test execution mould group includes different testing execution module,
Different testing execution modules be used to send to tested gas meter, flow meter it is different execute instruction, test function different in tested gas meter, flow meter
Energy;
Central Control Module, link order receiving module, the test that command reception module is received are instruction morphing for tested combustion
What gas meter was able to carry out executes instruction;
Testing control module connects Central Control Module and test execution mould group, and testing control module receives and identifies different
It executes instruction, and executes instruction the different testing execution modules called in test execution mould group according to different;
Result receiving module, connects the output end of Central Control Module and tested gas meter, flow meter, and tested gas meter, flow meter has executed execution and referred to
After order, implementing result is exported on the output, and as a result receiving module receives the implementing result exported on output end and will execute knot
Fruit sends Central Control Module to;
Result display module connects Central Control Module, for showing the implementing result of tested gas meter, flow meter;Central Control Module
Implementing result analyze and show by result display module after receiving implementing result.
2. gas meter function test macro according to claim 1, it is characterised in that: the signal of test man's input is specific
The Chinese instruction of programming, test macro further include command analysis module, and command reception module passes through in command analysis module connection
Heart control module, for parsing Chinese instruction, Chinese instruction is resolved to Central Control Module to be identified command analysis module
Test instruction.
3. gas meter function test macro according to claim 1, it is characterised in that: the test execution mould group includes pressing
Key control module, function test system connects the key circuit part of tested gas meter, flow meter by key control module, for testing
The functional completeness of the key circuit part of tested gas meter, flow meter.
4. gas meter function test macro according to claim 1, it is characterised in that: the test execution mould group includes arteries and veins
Control module is rushed, function test system is connected the pulse-scaling circuit part of tested gas meter, flow meter by pulse control module, is used for
Test the functional completeness of the pulse-scaling circuit part of tested gas meter, flow meter.
5. gas meter function test macro according to any one of claims 1-4, it is characterised in that: the test execution
Mould group includes pressure supply control module, and function test system connects the electrification circuit portion of tested gas meter, flow meter by pressure supply control module
Point, the functional completeness of the electrification circuit part for detecting tested gas meter, flow meter.
6. gas meter function test macro according to claim 5, it is characterised in that: it further include power supply module, electricity
Source power supply module connecting test control module, for providing electric energy to function test system or tested gas meter, flow meter.
7. gas meter function test macro according to any one of claims 1-4, it is characterised in that: further include that auxiliary connects
Connection module, connecting test control module, the ancillary equipment tested for connecting miscellaneous function test macro.
8. gas meter function test macro according to any one of claims 1-4, it is characterised in that: further include channel radio
Module is interrogated, wireless communication module connects Central Control Module, for carrying out telecommunication with tested gas meter, flow meter, tests tested combustion gas
The wireless communication function of table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821317858.0U CN208672108U (en) | 2018-08-15 | 2018-08-15 | A kind of gas meter function test macro |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201821317858.0U CN208672108U (en) | 2018-08-15 | 2018-08-15 | A kind of gas meter function test macro |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208672108U true CN208672108U (en) | 2019-03-29 |
Family
ID=65837336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201821317858.0U Active CN208672108U (en) | 2018-08-15 | 2018-08-15 | A kind of gas meter function test macro |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208672108U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108844603A (en) * | 2018-08-15 | 2018-11-20 | 金卡智能集团股份有限公司 | A kind of gas meter function test macro |
-
2018
- 2018-08-15 CN CN201821317858.0U patent/CN208672108U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108844603A (en) * | 2018-08-15 | 2018-11-20 | 金卡智能集团股份有限公司 | A kind of gas meter function test macro |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108226751B (en) | System and method for evaluating performance of multi-processor cooperative chip | |
CN204832267U (en) | Chip test platform | |
CN103941207B (en) | Automatic power-measuring endpoint detection methods and system thereof | |
CN202794497U (en) | On-site comprehensive detection equipment for electric energy information acquisition terminal | |
CN201812014U (en) | Automatic open-circuit and short-circuit testing system for integrated circuits | |
CN106405294B (en) | Portable power distribution product transmission calibrator and implementation test method thereof | |
CN103218940B (en) | Novel intelligent electronic teaching testing system | |
CN105203980A (en) | Electric energy quality self-inspection system and self-inspection method thereof | |
CN107561379A (en) | The method of testing and system of a kind of electronic product | |
CN203178431U (en) | Full-automatic testing system for circuit boards | |
CN102331569B (en) | Intelligent interactive detection apparatus for detection on electric energy meter | |
CN105120483A (en) | Method and system for automatically testing compatibility between intelligent card and mobile terminal | |
CN106768074A (en) | A kind of end product automatic test device, system and method | |
CN208672108U (en) | A kind of gas meter function test macro | |
CN104297664A (en) | Mainboard time sequence measuring device and method | |
CN202693709U (en) | Test tool and test system of electric equipment | |
CN108844603A (en) | A kind of gas meter function test macro | |
CN103577290A (en) | Test script playback rhythm control method and system | |
CN116087867A (en) | Method for testing operation reliability of intelligent electric energy meter | |
CN105891702A (en) | General type multichannel testing device for comprehensive functions of flexible printed circuit board (FPC) | |
CN203788304U (en) | Device for testing function of hardware interface | |
CN105738849A (en) | Digital power quality detection system | |
CN202443330U (en) | Combination control unit detector | |
CN201166695Y (en) | Fault detection case | |
CN204177955U (en) | The self-service calibrating installation of a kind of three-phase electric energy meter based on man-machine touth-interactive |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |