CN110907020A - Control system of civil intelligent gas meter controller function detection equipment - Google Patents

Control system of civil intelligent gas meter controller function detection equipment Download PDF

Info

Publication number
CN110907020A
CN110907020A CN201911383627.9A CN201911383627A CN110907020A CN 110907020 A CN110907020 A CN 110907020A CN 201911383627 A CN201911383627 A CN 201911383627A CN 110907020 A CN110907020 A CN 110907020A
Authority
CN
China
Prior art keywords
card
controller
gas meter
module
analog
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.)
Pending
Application number
CN201911383627.9A
Other languages
Chinese (zh)
Inventor
石扬
蒋晓玲
胡建宇
邱坤良
王丽
曹吉梁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd filed Critical HANGZHOU PIONEER ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201911383627.9A priority Critical patent/CN110907020A/en
Publication of CN110907020A publication Critical patent/CN110907020A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume
    • G01F25/10Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters
    • G01F25/15Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume of flowmeters specially adapted for gas meters
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21014Interface, module with relays
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21137Analog to digital conversion, ADC, DAC

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Fluid Mechanics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to a control system of a civil intelligent gas meter controller function detection device. The intelligent IC card gas meter is characterized by comprising a flow editing unit, a flow executing unit, an analog interface card and a detection flow storage card, wherein the flow editing unit is connected with the flow executing unit through the detection flow storage card, the flow executing unit is connected with the analog interface card, and the flow executing unit and the analog interface card are both connected with an intelligent IC card gas meter controller. The invention can set different detection flows according to different models of the gas meter controller, automatically detect the functions of the controller such as under-voltage alarm, under-voltage valve closing, gas quantity metering, valve control and the like according to the detection flows, and simultaneously can set and compare the internal parameters of the controller.

Description

Control system of civil intelligent gas meter controller function detection equipment
Technical Field
The invention relates to a control system of a civil intelligent gas meter controller function detection device.
Background
In the production process of the civil IC card intelligent gas meter, detection of various functions specified by national, industrial and enterprise standards is required to be completed in the function detection stage of the controller, and setting of various parameters in the controller is required to be completed according to customer requirements. The conventional method needs to provide a working environment (detection table) with a power supply and peripheral components (usually including peripheral components such as a metering sensor of a gas meter, a built-in valve, an IC card seat and the like) for a controller to be detected, and the peripheral components are connected to the controller to be detected by manual operation and are connected with the power supply so as to simulate the working environment of the controller. The DC stabilized voltage power supply is manually connected into the controller to be detected and the output voltage value is manually adjusted to detect the DC characteristic of the controller circuit. The tool card (IC card storing corresponding data required by the working procedure) required by the corresponding working procedure is manually selected and inserted into the IC card seat to complete the setting and the acquisition of the parameters in the controller, or an external trigger signal is given to the controller circuit in a mode of reversely inserting the tool card to trigger the controller to complete the corresponding action. And manually inserting the tool card with the internal parameters of the controller to be detected into an independent IC card data comparison tool to check and verify the data in the controller. The measurement function of the controller, the working state of the controller, the data change in the controller and other detection items need to be judged by manually observing the display on the liquid crystal display of the controller and the state of the valve driven by the controller.
The above operation steps are manually completed according to the process and the detection flow, and not only the signal triggering of the peripheral components is manually completed, but also the response of the detected controller to the signal is observed and judged. Some steps are repeated for many times, and the labor intensity is high. Only one controller can be detected by one operator, which is inefficient. And the output requirement can be met only by multi-station simultaneous detection. Because peripheral parts and the instrument card of different models are equipped with according to different model controllers to needs, lead to required peripheral parts in kind, instrument card many, and is in large quantity, and the management and control is loaded down with trivial details, makes mistakes easily.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide a technical scheme of a control system of a civil intelligent gas meter controller function detection device.
The control system of the civil intelligent gas meter controller function detection equipment is characterized by comprising a flow editing unit, a flow executing unit, a simulation interface card and a detection flow storage card, wherein the flow editing unit is connected with the flow executing unit through the detection flow storage card, the flow executing unit is connected with the simulation interface card, and the flow executing unit and the simulation interface card are both connected with an intelligent IC (integrated circuit) card gas meter controller.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that the process editing unit consists of a human-computer interaction interface, a first controller and a process data memory, wherein the first controller and the process data memory are respectively connected with the first controller; the first controller writes data into a detection flow storage card according to a detection flow of the gas meter controller to be detected input by the human-computer interaction interface and stores the data into a flow data memory;
the flow execution unit consists of a second controller, a valve module, an analog metering module, a program-controlled power supply module, a current detection module, an IC card in-place analog switch module, an IC card switching analog switch module, an IC card chip, a data storage module and a human-computer interaction module, wherein the valve module, the analog metering module, the program-controlled power supply module, the current detection module, the IC card in-place analog switch module, the IC card switching analog switch module, the data storage module and the human-computer interaction module are all connected with the second controller, and the IC card chip is connected with the IC card switching analog switch module; the second controller acquires detection process data by reading a detection process storage card or a data storage module, generates a subentry detection instruction by analysis, controls the actions of the analog metering module, the program control power supply module, the IC card arrival analog switch module and the IC card switching analog switch module according to the detection instructions, acquires state information of the valve module and the current detection module and judges the state information to detect the intelligent IC card gas meter controller, and displays detection prompt information and subentry detection results through a human-computer interaction module;
the simulation interface card is an electronic circuit board with the overall dimension meeting the ISO/IEC 7810 standard, the standard IC card golden finger is arranged at the position required by the ISO/IEC 7810 standard and is connected with the simulation card connecting bus, and the in-place switch contact comprises an in-place switch contact I and an in-place switch contact II;
the detection flow memory card can write detection flow data in the flow editing unit and read the detection flow data by the flow executing unit, so as to transmit data to the flow editing unit and the flow executing unit and switch the detection flow of the flow executing unit.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that the valve module consists of a valve motor and a switch valve switch contact, the valve motor controls the switch valve switch contact to be opened or closed through a valve rod, the valve motor is connected to the intelligent IC card gas meter controller through a valve driving wire and is driven and controlled by the IC card gas meter controller, the switch valve switch contact is connected with the second controller through a valve state wire, and the second controller controls the on-off state of the switch valve switch contact through the valve state wire.
The control system of the function detection equipment of the civil intelligent gas meter controller is characterized in that the program control power supply module consists of a voltage modulation direct current power supply module and an output relay, the voltage modulation direct current power supply module is connected with the output relay, the voltage modulation direct current power supply module receives a voltage modulation signal of a second controller through a power supply control line, the output relay receives an output state signal of the second controller through the power supply control line, and the output relay is connected with the current detection module through a power supply output line;
the current detection module consists of a precise operational amplification circuit and a sampling resistor, the precise operational amplification circuit is connected with the sampling resistor and acquires voltage signals at two ends of the sampling resistor, and one end of the sampling resistor is connected with the program-controlled power supply module through a connecting power supply output line; the other end supplies power to the intelligent IC card gas meter controller through a controller power line; the precise operational amplification circuit linearly amplifies voltage signals at two ends of the sampling resistor and outputs the voltage signals to the second controller through the current signal line, and the second controller calculates the working current of the intelligent IC card gas meter controller.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that the analog metering module consists of a relay array, a DA conversion module and a metering type switching relay group, the relay array and the DA conversion module are respectively connected with the metering type switching relay group, and the second controller controls the relay array through a metering control line to generate a switching quantity pulse metering signal output by an analog reed pipe metering device; the second controller controls the DA conversion module through a metering control line to generate a level pulse metering signal which simulates the output of the Hall metering device; the second controller controls the metering type switching relay set through a metering control line and is used for switching the output signal types; the metering type switching relay group is connected with the intelligent IC card gas meter controller through a metering signal line.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that the IC card chip is a physical IC card, the IC card chip is installed on an electronic circuit board of a process execution unit through a MicroSIM specification IC card seat, and the IC card switching analog switch module is selectively communicated with a second controller or an analog interface card; when the second controller is communicated with the second controller, the second controller can write data into the IC card chip to enable the IC card chip to become a tool card required by detection; data can also be read from the IC card chip and compared and judged by the second controller; when the intelligent IC card gas meter is communicated with the simulation interface card, the IC card seat on the intelligent IC card gas meter controller can be communicated through the simulation interface card, and the controller can read and write the IC card chip.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that the IC card switching analog switch module consists of an analog switch integrated circuit, an IC card read-write data bus, an analog card connecting bus and an IC card switching control line, a single-pole double-throw analog electronic switch is arranged in the analog switch integrated circuit, one immobile end of the single-pole double-throw analog electronic switch is connected with a second controller through the IC card read-write data bus, the other immobile end of the single-pole double-throw analog electronic switch is connected with an analog interface card through the analog card connecting bus, the public end of the single-pole double-throw analog electronic switch is connected with the IC card data connecting bus, the analog switch integrated circuit is connected with the second controller through the IC card switching control line, the single-pole double-throw analog electronic switch connects the public end thereof with one of the two immobile ends according to a control signal on the IC card switching control line, thereby connecting the IC card data connection bus with the IC card read-write data bus or the analog card connection bus.
The control system of the function detection equipment of the civil intelligent gas meter controller is characterized in that the IC card in-place analog switch module consists of an analog switch integrated circuit and an IC card in-place control line, a single-pole single-throw analog electronic switch is arranged in the analog switch integrated circuit, two ends of the single-pole single-throw analog electronic switch are respectively connected with an in-place switch contact I and an in-place switch contact II on an analog interface card, the analog switch integrated circuit is connected to a second controller through the IC card in-place control line, and the single-pole single-throw analog electronic switch is closed or opened according to a control signal on the IC card in-place control line, so that the in-place switch contact I and the in-place switch contact II on the analog interface card are controlled to be connected or disconnected.
The control system of the civil intelligent gas meter controller function detection equipment is characterized in that a standard IC card golden finger is in contact communication with a reed in a clamping groove when an analog interface card is inserted into an IC card clamping groove on the intelligent IC card gas meter controller, so that an IC card read-write bus in the intelligent IC card gas meter controller is connected with the analog card connecting bus, and then is communicated with an IC card chip under the control of an IC card data connecting bus, an analog switch integrated circuit and an internal switch of the analog switch integrated circuit, and the IC card is read and written by the gas meter controller part;
the in-place switch contact I and the in-place switch contact II are respectively communicated with two ends of a mechanical in-place switch in the card slot when the analog interface card is inserted into the IC card slot on the intelligent IC card gas meter controller, so that two ends of the switch in the card slot are connected to two ends of an electronic switch in the analog switch integrated circuit, the second controller can control the on-off of the card-inserting in-place switch of the IC card slot in the intelligent IC card gas meter controller by controlling the analog switch integrated circuit, and the original card-inserting mechanical action is triggered and converted into electronic control signal triggering.
The method for detecting the function of the civil intelligent gas meter controller is characterized by comprising the following steps of: calling a corresponding detection flow of a gas meter controller to be detected, and configuring the output state of each module by detection equipment according to the model of the controller to be detected; communicating a gas meter controller to be detected with detection equipment, and firstly providing a direct-current power supply required by detection for the gas meter controller to be detected; writing initialization data and a residual gas amount of a minimum metering unit into a gas meter controller to be detected, and judging whether a valve of the gas meter controller to be detected is normally opened or not in a normal working state; transmitting normal and abnormal metering signals to a gas meter controller to be detected, and judging whether the gas meter controller to be detected can correctly meter the gas quantity or not and whether the abnormal state can be processed or not; adjusting the power supply voltage of a gas meter controller to be detected, simulating the condition that the power supply voltage of the gas meter controller to be detected needs to be gradually reduced during normal use, and judging whether the gas meter controller to be detected can make a corresponding correct response at a set voltage value; writing factory parameters required by a client into a gas meter controller to be detected, reading out internal parameters of the gas meter controller to be detected, and comparing the internal parameters with expected values to ensure the correctness of the factory parameters; and cutting off the power supply to the gas meter controller to be detected, and judging whether the gas meter controller to be detected can make correct reaction through an internal energy storage device.
The invention has the advantages that:
1. the intelligent gas meter controller can provide power supply and peripheral components when the intelligent gas meter controller works, automatically adjust the power supply voltage and the signal state between the peripheral components and the controller under the control of a program and judge the output signal of the controller, thereby automatically completing the detection of the controller and reducing the occurrence of manual operation and misjudgment;
2. according to the invention, through the modes of online card making, card reading and interface card communication simulation, a large number of physical tool cards are saved, the production cost is reduced, and meanwhile, the actions of frequently inserting and pulling cards are saved in the detection flow, and the production efficiency is improved;
3. the data of the tool cards are locally stored, and the data of all the tool cards are stored in the data storage module, so that the tool cards can be adjusted and called online at any time during production operation, the response speed is improved during line change and new product production, and the production efficiency is improved;
4. because the invention adopts local storage to the detection process data, and all the detection process data are stored in the data storage module, the detection process data can be adjusted and taken on line at any time during production operation, thereby improving the response speed and the production efficiency when changing lines and producing new products;
5. because the invention adopts the modes of online card making, card reading and interface card communication simulation, the state of the meter checking tool can be collected at any time through the tool card so as to carry out judgment, and compared with the traditional mode of manually watching the display information of the liquid crystal screen of the meter and comparing the tool individually, the misjudgment missing is reduced, and the efficiency is improved;
6. according to the invention, the detection flow formulated by the upper computer (industrial control computer) is received, the data is transferred to the flow execution unit in the IC card mode, the flow execution unit stores the data in the data storage module, and the corresponding flow is called and executed according to the detected gas meter controller during production, so that the introduction efficiency of the detection flow of the new-model controller is improved, the missing detection and the error operation in the conventional manual mode are avoided, and the product reliability and the production efficiency are improved;
7. the invention adopts the MCU to control the core and the peripheral digital circuit, has the advantage of low cost, and each functional circuit adopts a modular design, is convenient to replace and has high maintainability.
Drawings
FIG. 1 is a diagram of the hardware configuration of the present invention;
FIG. 2 is a schematic diagram of the IC card in-place analog switch module and the IC card switching analog switch module connected with the second controller, the IC card chip and the analog interface card according to the present invention;
FIG. 3 is a schematic diagram of the programmable power module and the current detection module of the present invention connected to a second controller;
FIG. 4 is a schematic diagram of the valve module of the present invention connected to a second controller;
FIG. 5 is a schematic diagram of the analog metrology module of the present invention connected to a second controller;
FIG. 6 is a flow chart of the detection according to the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings in which:
the invention has a DC stabilized voltage power supply which can automatically adjust output voltage according to detection requirements, a metering module which can simulate and adapt to metering signals of various controllers, a valve module which can adapt to various controllers, and a peripheral signal module which can adapt to various controllers, has the function of transmitting and acquiring data to a controller to be detected through an IC card, and simultaneously has the function of automatically controlling the component modules under the control of a program to execute different detection processes.
The invention is composed of a flow editing unit 1, a flow executing unit 2, an analog interface card 3, an intelligent IC card gas meter controller 4 and a detection flow memory card 5. The flow editing unit 1 can perform read-write operation on the detection flow memory card 5; the flow executing unit 2 can read the detection flow memory card 5; the flow memory card 5 is detected as a data carrier, and data is transmitted between the flow editing unit 1 and the flow executing unit 2. The flow execution unit 2 is in bidirectional connection with the intelligent IC card gas meter controller 4 and provides a detection environment for the intelligent IC card gas meter controller 4. The flow execution unit 2 is in bidirectional communication connection with the simulation interface card 3; the simulation interface card 3 is in bidirectional communication connection with the intelligent IC card gas meter controller 4.
The process editing unit 1 is composed of a human-computer interaction interface 11, a first controller 12 and a process data memory 13. The human-computer interface 11 is in communication connection with the first controller 12; the flow data memory 13 is in communication connection with the first controller 12.
The first controller 12 converts the detection flow data into detection flow data according to a specified protocol according to the detection flow of the gas meter controller to be detected input by the human-computer interaction interface 11, writes the data into the detection flow memory card 5, and stores the data in the flow data memory 13.
The flow execution unit 2 is composed of a second controller 21, a valve module 22, an analog metering module 23, a program-controlled power supply module 24, a current detection module 25, an IC card in-place analog switch module 27, an IC card switching analog switch module 28, an IC card chip 29, a data storage module 210 and a human-computer interaction module 211. The valve module 22 is in control connection with the second controller 21; the analog metering module 23 is in control connection with the second controller 21; the program-controlled power supply module 24 is in control connection with the second controller 21; the current detection module 25 is in control connection with the second controller 21; the IC card in-place analog switch module 27 is in control connection with the second controller 21; the IC card switching analog switch module 28 is in control connection with the second controller 21; the data storage module 210 is in bidirectional communication connection with the second controller 21; the human-computer interaction module 211 is in control connection with the second controller 21; the IC card chip 29 is connected with the IC card switching analog switch module 28 in a bidirectional communication manner.
The second controller 21 in the flow execution unit 2 obtains the detection flow data by reading the detection flow memory card 5 or the data storage module 210, and generates the subentry detection instruction by parsing. And controlling the analog metering module 23, the program control power supply module 24, the IC card in-place analog switch module 27 and the IC card switching analog switch module 28 according to various detection instructions, and acquiring the state information of the valve module 22 and the current detection module 25 for judgment so as to detect the intelligent IC card gas meter controller 4. The detection prompt information and the detection result of each item are displayed through the man-machine interaction module 211.
The valve module 22 (fig. 4) is composed of a valve motor 221 and a switch contact 222. The valve motor 221 controls the opening and closing of the switch valve switch contact 222 through the valve rod. The valve motor 221 is connected to the smart IC card gas meter controller 4 through a valve driving wire 223 and is driven and controlled by the smart IC card gas meter controller 4. The on-off switch contact 222 is connected to the second controller 21 via a valve status line 223. The second controller 21 controls the on-off state of the on-off switch contact 222 through the valve state line 223.
The programmable power supply module 24 (fig. 3) is composed of a voltage modulation dc power supply module 241 and an output relay 242. The voltage modulated dc power supply module 241 is connected to an output relay 242. The voltage-modulated dc power module 241 receives the voltage-modulated signal of the second controller 21 through the power control line 243. The output relay 242 receives the output state signal of the second controller 21 through the power control line 243. The output relay 242 is connected to the current detection module 25 via a power output line 244.
The current detection module 25 (fig. 3) is composed of a precision operational amplifier circuit 251 and a sampling resistor 252. The precision operational amplifier circuit 251 is connected to the sampling resistor 252 to obtain voltage signals at both ends thereof. One end of the sampling resistor 252 is connected with the program control power supply module 24 through the connecting power supply output line 244; the other end is connected to the intelligent IC card gas meter controller 4 through a controller power line 254 to provide working power supply for the intelligent IC card gas meter controller. The precision operational amplifier circuit 251 linearly amplifies the voltage signal at both ends of the sampling resistor 252 and outputs the amplified voltage signal to the second controller 21 through the current signal line. The second controller 21 further calculates the operating current of the smart IC card gas meter controller 4.
The analog metering module 23 (fig. 5) is composed of a relay array 231, a DA conversion module 232, and a metering type switching relay set 233. The relay array 231 and the DA conversion module 232 are connected to a metering type switching relay group 233, respectively. The second controller 21 controls the relay array 231 through the metering control line 234, and can generate a switching value pulse metering signal simulating the output of a reed pipe type metering device; the second controller 21 controls the DA conversion module 232 through a metering control line 234, and can generate a level pulse metering signal output by the analog hall metering device; the second controller 21 controls the metering-type switching relay group 233 through the metering control line 234 for switching of the output signal type. The metering type switching relay group 233 is connected with the intelligent IC card gas meter controller 4 through a metering signal line 235.
The IC card chip 29 is a physical IC card and is mounted on the electronic circuit board of the process execution unit 2 through a MicroSIM IC card socket. It functions to select communication with the second controller 21 or the analog interface card 3 through the IC card switching analog switch module 28. When communicating with the second controller 21, the second controller 21 can write specific data into the IC card chip 29 to make it a tool card required for detection; data may be read from the IC card chip 29 and compared and determined by the second controller 21. When the IC card is communicated with the simulation interface card 3, the IC card seat on the intelligent IC card gas meter controller 4 can be communicated with the simulation interface card 3, and the controller can read and write the IC card chip 29.
The IC card switching analog switch module 28 is composed of an analog switch integrated circuit 281, an IC card read/write data bus 284, an analog card connection bus 285, and an IC card switching control line 283 (fig. 2). The analog switch integrated circuit 281 is internally provided with a single-pole double-throw analog electronic switch, one immobile end of the single-pole double-throw analog electronic switch is connected with the second controller 21 through an IC card read-write data bus 284, the other immobile end of the single-pole double-throw analog electronic switch is connected with an analog interface card 3 through an analog card connection bus 285, and the public end of the single-pole double-throw analog electronic switch is connected with an IC card data connection bus 282. The analog switch integrated circuit 281 is connected to the second controller 21 through an IC card switching control line 283. The single-pole double-throw analog electronic switch inside the IC card connects the common end of the IC card with one of the two fixed ends according to the control signal on the IC card switching control line 283, so that the IC card data connection bus 272 is connected with the IC card read-write data bus 284 or the analog card connection bus 285.
The IC card in-place analog switch module 27 is composed of an analog switch integrated circuit 271 and an IC card in-place control line 272 (fig. 2). The analog switch integrated circuit 271 has a single-pole single-throw analog electronic switch therein, and both ends of the analog electronic switch are respectively connected with the in-place switch contact I321 and the in-place switch contact II 322 on the analog interface card 3. The analog switch integrated circuit 271 is connected to the second controller 21 through an IC card in-place control line 272. The single-pole single-throw analog electronic switch inside the analog interface card 3 is switched on or switched off according to a control signal on the IC card in-place control line 272, so that the in-place switch contact I321 and the in-place switch contact II 322 on the analog interface card 3 are controlled to be switched on or switched off.
The analog interface card 3 is composed of a standard IC card golden finger 31, an in-place switch contact I321 and an in-place switch contact II 322. The simulation interface card 3 is an electronic circuit board with the overall dimension meeting the ISO/IEC 7810 standard, and the standard IC card golden fingers 31 are arranged at the positions required by the ISO/IEC 7810 standard and connected with the simulation card connecting bus 285. In addition, the two in-position switch contacts are arranged.
The circuit system of the civil intelligent gas meter controller function detection equipment is characterized in that: the standard IC card golden finger 31 is used for contacting and communicating with a reed in a card slot when the simulation interface card 3 is inserted into an IC card slot on the intelligent IC card gas meter controller 4, so that an IC card read-write bus in the intelligent IC card gas meter controller 4 is connected with the simulation card connection bus 285. And then through IC card data connection bus 282, under the control of the internal switch of analog switch integrated circuit 281, analog switch integrated circuit 271, communicate with IC card chip 29, realize the gas meter controller reads and writes to the IC card of department.
The in-place switch contact I321 and the in-place switch contact II 322 are respectively communicated with two ends of a mechanical in-place switch in the card slot when the analog interface card 3 is inserted into the IC card slot on the intelligent IC card gas meter controller 4, so that two ends of the switch in the card slot are connected to two ends of an electronic switch in the analog switch integrated circuit 271, and the second controller 21 can control the on-off of the IC card slot in-place card switch in the intelligent IC card gas meter controller 4 by controlling the analog switch integrated circuit 271. The original card-inserting mechanical action trigger is converted into an electronic control signal trigger.
The detection flow memory card 5 can write detection flow data into the flow editing unit 1 and read the detection flow data out of the flow executing unit 2, and plays a role in data transmission between the flow editing unit 1 and the flow executing unit 2. Meanwhile, the flow execution unit 2 can also be used for detecting flow switching.
A detection method of a civil gas meter controller function detection device comprises the following steps: calling a corresponding detection flow of a gas meter controller to be detected, and configuring the output state of each module by detection equipment according to the model of the controller to be detected, wherein the step is completed by a detection starting instruction; communicating a gas meter controller to be detected with detection equipment, and firstly providing a direct-current power supply required by detection for the gas meter controller to be detected, wherein the step is realized by a power-on detection instruction; writing initialization data and a residual gas amount of a minimum metering unit into a gas meter controller to be detected, wherein the step is realized by a controller parameter setting instruction; judging whether the valve of the gas meter controller to be detected is normally opened in a normal working state, wherein the step is realized by a valve driving detection instruction; transmitting normal and abnormal metering signals to a gas meter controller to be detected, and judging whether the gas meter controller to be detected can correctly meter the gas quantity or not and whether the abnormal state can be processed or not, wherein the step is realized by a metering response instruction; adjusting the power supply voltage of a gas meter controller to be detected, simulating the condition that the power supply voltage of the gas meter controller to be detected needs to face is gradually reduced during normal use, and judging whether the gas meter controller to be detected can make a corresponding correct response at a set voltage value or not, wherein the step is realized by a power supply response instruction; writing factory parameters required by a client into a gas meter controller to be detected, wherein the step is realized by a controller parameter setting instruction; reading internal parameters of a gas meter controller to be detected, comparing the internal parameters with expected values to ensure the correctness of delivery parameters, wherein the step is realized by a parameter comparison instruction of a detection finishing controller; and cutting off power supply to the gas meter controller to be detected, and judging whether the gas meter controller to be detected can make correct reaction through an internal energy storage device, wherein the step is realized by a power-off switch valve detection instruction.
1) Detecting a start instruction
The detection starting instruction requires that the circuit system automatically configures the hardware of the circuit system according to the detection environment requirement of the current intelligent IC card gas meter controller 4 so as to achieve the purpose of detecting the controller.
Firstly, an operator calls out required detection process data from a process data storage unit 13 in the process editing unit 1 through a human-computer interaction interface 11 in the process editing unit 1 according to the model of the intelligent IC card gas meter controller 4, and writes the required detection process data into the detection process storage card 5 through a first controller 12 in the process editing unit 1.
After acquiring the process control card of the intelligent IC card gas meter controller 4, the operator inserts the process control card into the second controller 21 of the process execution unit 2, and the second controller 21 analyzes the data on the detection process storage card 5. When judging that the flow already exists in the data storage module 210 of the flow execution unit 2, the second controller 21 extracts the corresponding flow data from the data storage module 210; when the flow is judged to be a new flow, the second controller 21 will extract the flow data from the detection flow memory card 5 and write the data into the data storage module 210 at the same time.
After acquiring the detection data, the second controller 21 configures the valve module 22, the analog metering module 23, the program-controlled power module 24, the auxiliary signal module 26, and the IC card in-place analog switch module 27 in the process execution unit 2 according to the model information of the smart IC card gas meter controller 4 included therein, so that the requirements of adapting to the detection initial state of the current smart IC card gas meter controller 4 are met. And sends a detection start prompt to the operator through the human-computer interaction module 211.
2) Controller power-on instruction
The controller power-on instruction requires the flow execution unit 2 to provide the normal working voltage direct current power supply of the current intelligent IC card gas meter controller 4 to the controller according to the detection flow.
After the process execution unit 2 finishes detecting the start instruction, the second controller 21 sends a voltage modulation signal to the voltage modulation dc power supply module 241 in the programmable power supply module 24 through the power control line 243 according to the power supply voltage value required by the controller power-on instruction in the detection process, and then sends a control signal to the output relay 242 in the programmable power supply module 24 through the power control line 243 to turn on the power output, and the dc power is connected to the power interface of the smart IC card gas meter controller 4 through the sampling resistor 252 and the controller power line 254 in the current detection module 25 through the power output line 244. After the above operations are completed, the human-computer interaction module 211 sends an instruction execution prompt to the operator.
3) Controller parameter setting instructions
The controller parameter setting instruction requires the process execution unit 2 to write the required target parameters into the current intelligent IC card gas meter controller 4 according to the detection process.
After the process execution unit 2 completes the controller power-on command, the second controller 21 retrieves the corresponding data from the data storage module 210 in the process execution unit 2 according to the model of the current smart IC card gas meter controller 4
And storing the address, and extracting corresponding setting parameters from the data storage module 210 according to target parameters required by the controller parameter setting instruction in the detection process.
When the second controller 21 obtains the corresponding setting parameters, it first sends a control signal to the analog switch integrated circuit 281 in the IC card switching analog switch unit 28 through the IC card switching control line 283, and connects the IC card read/write data bus 284 with the IC card data connection bus 282 through the internal contacts of the analog switch integrated circuit 281, so that the second controller 21 communicates with the IC card chip 29. The second controller 21 then writes the previously obtained setting parameters to the IC card chip 29.
After the writing operation of the IC card chip 29 is completed, the second controller 21 sends a control signal to the analog switch integrated circuit 281 in the IC card switching analog switch unit 28 through the IC card switching control line 283 again, and connects the IC card data connection bus 282 with the analog card connection bus 285 through the internal contacts of the analog switch integrated circuit 281, so that the IC card chip 29 is connected with the standard IC card golden finger 32 on the analog interface card 3, and since the analog interface card 3 is inserted into the card socket of the smart IC card gas meter controller 4 at this time, the IC card chip 29 is electrically connected with the read/write card circuit inside the smart IC card gas meter controller 4 through the IC card data connection bus 282, the analog card connection bus 285, and the standard IC card golden finger 32 on the analog interface card 3. The card reading and writing circuit in the intelligent IC card gas meter controller 4 can read and write the IC card chip 29 through the passage.
After the connection switching of the IC card chip 29 is completed, the second controller 21 again sends a control signal to the analog switch integrated circuit 271 in the IC card in-place analog switch module 27 through the IC card in-place control line 272. And controlling the internal switch contact to be closed or opened. Because the internal switch contact is communicated with the in-place switch contact I321 and the in-place switch contact II 322 which are arranged in the analog interface card 3, and the analog interface card 3 is inserted into the card seat of the intelligent IC card gas meter controller 4 at the moment, the internal switch contact of the analog switch integrated circuit 271 is electrically communicated with the card in-place detection circuit in the intelligent IC card gas meter controller 4, so that the second controller 21 can trigger the card in-place detection circuit in the intelligent IC card gas meter controller 4 through the IC card in-place control line 272 and the analog switch integrated circuit 271, and further trigger the intelligent IC card gas meter controller 4 to remotely read the card of the IC card chip 29 in the flow execution unit 2 through the standard IC card golden finger 32, the analog card connection bus 285 and the IC card data connection bus 282 on the analog interface card 3. And writing the set parameters required by the detection process into the intelligent IC card gas meter controller 4.
4) Valve drive detection instruction
The valve driving detection instruction requires the flow execution unit 2 to know whether the valve driving function of the current intelligent IC card gas meter controller 4 is normal or not according to the detection flow.
When the process execution unit 2 completes the power-on of the current intelligent IC card gas meter controller 4 and writes the correct parameters into the controller through the controller parameter setting instruction, the current intelligent IC card gas meter controller 4 is in a normal working state. At this time, the smart IC card gas meter controller 4 should drive the valve motor 221 in the valve module 22 in the process execution unit 2 through the valve driving wire 223, so that the valve motor 221 operates and drives the switch contact 222 to the off position. The second controller 21 learns the on-off state of the switch contact 222 of the switch valve through the valve state line 223, and further learns whether the valve motor 221 is correctly driven, so as to detect the valve driving function of the intelligent IC card gas meter controller 4.
5) Current sense command
The current detection instruction requires the flow execution unit 2 to know whether the current working current of the intelligent IC card gas meter controller 4 is in a qualified range.
After the process execution unit 2 executes the controller power-on instruction, the power supply to the controller is accessed to the power interface of the smart IC card gas meter controller 4 through the output relay 242, the power output line 244, the sampling resistor 252 in the current detection module 25, and the controller power line 254 by the voltage modulation direct current power supply module 241 in the program control power supply module 24. The sampling resistor 252 is connected in series in the power supply loop, and can convert the current value in the power supply loop into a voltage value. The voltage value is amplified by the precision operational amplifier circuit 251 in the current detection module and then transmitted to the second controller 21 through the current signal line. The second controller 21 compares the obtained current signal with a current detection threshold in the command, so as to determine whether the current working current of the smart IC card gas meter controller 4 is within a qualified range.
6) Metering response detection instruction
The metering response detection instruction requires the flow execution unit 2 to input a required metering signal to a metering signal port of the current intelligent IC card gas meter controller 4 according to the detection flow, and whether the controller can make a correct response to the metering signal is judged.
When the flow executing unit 2 finishes executing the valve driving detection instruction, it is determined that the controller has correctly driven the valve motor 221 in the valve module 22 to turn the switch contact 222 to the open position. According to the requirement of the detection process, the second controller 21 sends a control signal to the metering type switching relay set 233 in the analog metering module 23 through the metering control line 234, and connects the metering signal line 234 with the relay array 231 or the DA conversion module 232. When the metering signal line 234 is connected with the relay array 231, the second controller 21 sends a control signal to the relay array 231 through the metering control line 234, and the relay array 231 generates a switching value pulse metering signal required by the intelligent IC card gas meter controller 4 through the combined on-off of the relay array 231; when the metering signal line 234 is connected to the DA conversion module 232, the second controller 21 sends a control signal to the DA conversion module 232 through the metering control line 234, and the DA conversion module 232 generates a level pulse type metering signal required by the smart IC card gas meter controller 4 through its own circuit. The generated metering signal is transmitted to a metering signal port of the intelligent IC card gas meter controller 4 through a metering signal line 235.
After the controller parameter setting instruction is completed, the intelligent IC card gas meter controller 4 is written with a residual gas value of a minimum measurement unit, so that if the measurement signal sent by the flow execution unit 2 required by the measurement response detection instruction is correctly responded by the controller, the residual gas value inside the flow execution unit will return to zero. At this time, the intelligent IC card gas meter controller 4 should drive the valve motor 221 in the valve module 22 and drive the switch contact 222 to close, and the second controller 21 learns the on-off state of the switch contact 222 through the valve state line 223, and then learns whether the valve motor 221 is correctly driven, so as to achieve the detection of the response of the intelligent IC card gas meter controller 4 to the metering signal.
In addition to the above process of detecting the response of the smart IC card gas meter controller 4 to the normal metering signal, the second controller 21 may also control the relay array 231 and the DA conversion module 232 in the analog metering module 23 through the metering control line 234 to generate an abnormal signal, such as a simulated magnetic attack signal, a bad metering signal, and an overflow signal, which are commonly encountered in the use process of the smart gas meter. When the intelligent IC card gas meter controller 4 receives the abnormal signal, the internal program of the intelligent IC card gas meter controller immediately responds to valve closing for the purpose of safe use. Therefore, the second controller 21 can also detect the function of the smart IC card gas meter controller 4 responding to the bad metering signal through the analog metering module 23 and the valve module 22.
7) Power supply response detection instruction
The power supply response detection instruction requires the process execution unit 2 to control the program-controlled power supply module to adjust the power supply voltage to the intelligent IC card gas meter controller 4 according to the detection process, and whether the controller can make correct response in each specified power supply voltage interval is judged.
The process execution unit 2 obtains three voltage thresholds, namely a low voltage prompt threshold, a normal working voltage lower limit threshold and a valve closing voltage value, from the process parameters according to the detection process requirement. When the power supply voltage of the intelligent IC card gas meter controller 4 is a low-voltage prompt threshold value, characters for prompting a user to replace a battery appear on a liquid crystal screen of the intelligent IC card gas meter controller; when the power supply voltage is the lower limit threshold of the normal working voltage, the controller can work normally; when the supply voltage is at the off-valve voltage value, the controller should drive the valve to close.
Firstly, the second controller 21 sends a voltage modulation signal to the voltage modulation direct current power supply module 241 in the program control power supply module 24 through the power supply control line 243, so that the direct current power supply voltage which is accessed to the power supply interface of the intelligent IC card gas meter controller 4 through the output relay 242, the power supply output line 244, the sampling resistor 252 in the current detection module 25 and the controller power supply line 254 is reduced to a low voltage prompt threshold value, and then a prompt for observing the liquid crystal screen display of the intelligent IC card gas meter controller 4 is sent to an operator through the human-computer interaction module 211. Then, the second controller 21 continues to control the program-controlled power supply module 24 to reduce the power supply voltage to the controller to the lower limit threshold of the normal working voltage, and after a certain time delay, the on-off state of the switch contact 222 of the switch valve is known through the valve state line 223, so as to know whether the intelligent IC card gas meter controller 4 drives the valve motor 221 to close through the valve driving line 223, and thus, whether the controller keeps the normal working state is judged. Next, the second controller 21 controls the programmable power supply module 24 again to reduce the power supply voltage to the controller to the off-valve voltage value, and also knows the on-off state of the on-off switch contact 222 through the valve state line 223, so as to determine whether the controller drives the valve motor 221 to close.
After the detection of the response state of the intelligent IC card gas meter controller 4 under the three voltage thresholds is completed, the second controller 21 restores the power supply to the controller to the lower limit threshold of the normal working voltage by controlling the programmable power supply module 24, and sends a control signal to the analog switch integrated circuit 271 in the IC card in-place analog switch module 27 through the IC card in-place control line 272. The card reading trigger signal is sent to the controller through the analog interface card 3, at this time, the controller drives the valve motor 221 to open, so that the switch contact 222 of the switch valve is disconnected, and the second controller 21 can judge the response condition of the controller after the power supply voltage is restored to the lower limit threshold value of the normal working voltage after knowing the signal through the valve state line 223.
8) Controller parameter setting instructions
The implementation method and principle of this example are the same as those of the third example, except that the data written into the smart IC card gas meter controller 4 in this example is factory setting parameters.
9) Controller parameter comparison instruction
The controller parameter comparison instruction requires the process execution unit 2 to know whether the internal parameters of the intelligent IC card gas meter controller 4 meet the expected set parameters or not so as to meet the use requirements of customers.
When the flow executing unit 2 executes the controller parameter comparison instruction, the second controller 21 firstly retrieves a corresponding data storage address from the data storage module 210 according to the model of the current smart IC card gas meter controller 4, and extracts card making data and an expected parameter value from the data storage address, wherein the card making data and the expected parameter value comprise acquisition request information. And extracts the corresponding setting parameters from the data storage module 210 according to the target parameters required by the controller parameter setting instructions in the detection process.
When the second controller 21 obtains the corresponding card-making data, it first sends a control signal to the analog switch integrated circuit 281 in the IC card switching analog switch unit 28 through the IC card switching control line 283, and connects the IC card read-write data bus 284 with the IC card data connection bus 282 through the internal contacts of the analog switch integrated circuit 281, so that the second controller 21 communicates with the IC card chip 29. The second controller 21 then writes the previously obtained setting parameters to the IC card chip 29.
After the writing operation of the IC card chip 29 is completed, the second controller 21 controls the IC card switching analog switch unit 28 to electrically connect the IC card chip 29 with the read/write card circuit inside the smart IC card gas meter controller 4. The IC card in-place simulation switch module 27 is controlled to realize the in-place triggering of the card in-place detection circuit in the intelligent IC card gas meter controller 4, so that data containing acquisition request information is written into the controller, and the controller writes the current internal parameters into the IC card chip 29 through the simulation interface card 3, the simulation card connection bus 285, the simulation switch integrated circuit 281 and the IC card data connection bus 282 after acquiring the data.
At this time, the second controller 21 sends a control signal to the analog switch integrated circuit 281 in the IC card switching analog switch unit 28 through the IC card switching control line 283 to disconnect the IC card data connection bus 282 from the analog card connection bus 285 and connect the IC card data connection bus 282 with the IC card read/write data bus 284. At this time, the second controller 21 can obtain the internal parameter data of the smart IC card gas meter controller 4 obtained in the IC card chip 29, and compare the data with the expected parameter value obtained in advance, thereby determining whether the data is correct.
10) Power-off valve closing instruction
And the power-off valve closing instruction requires the process execution unit 2 to control the program-controlled power supply module to cut off power supply to the intelligent IC card gas meter controller 4 according to the detection process, and judge whether the controller can close the valve under the driving of the energy storage device of the controller.
According to the requirement of the detection process, the process execution unit 2 sends a control instruction to the output relay 242 in the program control power module 24 through the power control line 243 by the second controller 21, and disconnects the voltage modulation direct current power module 241 from the power output line 244, so as to cut off the power supply to the smart IC card gas meter controller 4. At this time, the controller should close the valve motor 221 under the driving of the energy of its own energy storage device, so that the switch contact of the switch valve is closed, and the second controller 21 can judge whether the controller loses power and the switch valve functions normally after obtaining this signal through the valve state line 223.
The invention can set different detection flows according to different models of the gas meter controller, automatically detect the functions of the controller such as under-voltage alarm, under-voltage valve closing, gas quantity metering, valve control and the like according to the detection flows, and simultaneously can set and compare the internal parameters of the controller.

Claims (10)

1. The utility model provides a control system of civilian intelligent gas meter controller function check out test set which characterized in that includes flow editor's unit, flow execution unit, simulation interface card and detects the flow storage card, and flow editor's unit links to each other with flow execution unit through detecting the flow storage card, and flow execution unit links to each other with simulation interface card, and flow execution unit and simulation interface card all link to each other with intelligent IC card gas meter controller.
2. The control system of the civil intelligent gas meter controller function detection device according to claim 1, wherein the process editing unit is composed of a human-computer interaction interface, a first controller and a process data memory, the first controller and the process data memory are respectively connected with the first controller; the first controller writes data into a detection flow storage card according to a detection flow of the gas meter controller to be detected input by the human-computer interaction interface and stores the data into a flow data memory;
the flow execution unit consists of a second controller, a valve module, an analog metering module, a program-controlled power supply module, a current detection module, an IC card in-place analog switch module, an IC card switching analog switch module, an IC card chip, a data storage module and a human-computer interaction module, wherein the valve module, the analog metering module, the program-controlled power supply module, the current detection module, the IC card in-place analog switch module, the IC card switching analog switch module, the data storage module and the human-computer interaction module are all connected with the second controller, and the IC card chip is connected with the IC card switching analog switch module; the second controller acquires detection process data by reading a detection process storage card or a data storage module, generates a subentry detection instruction by analysis, controls the actions of the analog metering module, the program control power supply module, the IC card arrival analog switch module and the IC card switching analog switch module according to the detection instructions, acquires state information of the valve module and the current detection module and judges the state information to detect the intelligent IC card gas meter controller, and displays detection prompt information and subentry detection results through a human-computer interaction module;
the simulation interface card is an electronic circuit board with the overall dimension meeting the ISO/IEC 7810 standard, the standard IC card golden finger is arranged at the position required by the ISO/IEC 7810 standard and is connected with the simulation card connecting bus, and the in-place switch contact comprises an in-place switch contact I and an in-place switch contact II;
the detection flow memory card can write detection flow data in the flow editing unit and read the detection flow data by the flow executing unit, so as to transmit data to the flow editing unit and the flow executing unit and switch the detection flow of the flow executing unit.
3. The control system of the civil intelligent gas meter controller function detection device according to claim 2, wherein the valve module is composed of a valve motor and a switch contact, the valve motor controls the switch contact to be opened or closed through a valve rod, the valve motor is connected to the intelligent IC card gas meter controller through a valve driving wire and is driven and controlled by the IC card gas meter controller, the switch contact is connected with the second controller through a valve state line, and the second controller controls the on-off state of the switch contact through the valve state line.
4. The control system of the civil intelligent gas meter controller function detection device according to claim 2, characterized in that the program-controlled power supply module is composed of a voltage modulation direct current power supply module and an output relay, the voltage modulation direct current power supply module is connected with the output relay, the voltage modulation direct current power supply module receives a voltage modulation signal of the second controller through a power supply control line, the output relay receives an output state signal of the second controller through the power supply control line, and the output relay is connected with the current detection module through a power supply output line;
the current detection module consists of a precise operational amplification circuit and a sampling resistor, the precise operational amplification circuit is connected with the sampling resistor and acquires voltage signals at two ends of the sampling resistor, and one end of the sampling resistor is connected with the program-controlled power supply module through a connecting power supply output line; the other end supplies power to the intelligent IC card gas meter controller through a controller power line; the precise operational amplification circuit linearly amplifies voltage signals at two ends of the sampling resistor and outputs the voltage signals to the second controller through the current signal line, and the second controller calculates the working current of the intelligent IC card gas meter controller.
5. The control system of the civil intelligent gas meter controller function detection device according to claim 2, characterized in that the analog metering module is composed of a relay array, a DA conversion module and a metering type switching relay group, the relay array and the DA conversion module are respectively connected with the metering type switching relay group, the second controller controls the relay array through a metering control line to generate a switching quantity pulse metering signal output by the analog reed pipe type metering device; the second controller controls the DA conversion module through a metering control line to generate a level pulse metering signal which simulates the output of the Hall metering device; the second controller controls the metering type switching relay set through a metering control line and is used for switching the output signal types; the metering type switching relay group is connected with the intelligent IC card gas meter controller through a metering signal line.
6. The control system of the civil intelligent gas meter controller function detection equipment according to claim 2, characterized in that the IC card chip is a physical IC card, is mounted on an electronic circuit board of the process execution unit through a MicroSIM IC card socket, and is selectively communicated with the second controller or the analog interface card through an IC card switching analog switch module; when the second controller is communicated with the second controller, the second controller can write data into the IC card chip to enable the IC card chip to become a tool card required by detection; data can also be read from the IC card chip and compared and judged by the second controller; when the intelligent IC card gas meter is communicated with the simulation interface card, the IC card seat on the intelligent IC card gas meter controller can be communicated through the simulation interface card, and the controller can read and write the IC card chip.
7. The control system of the civil intelligent gas meter controller function detection device according to claim 2, wherein the IC card switching analog switch module comprises an analog switch integrated circuit, an IC card read-write data bus, an analog card connection bus and an IC card switching control line, a single-pole double-throw analog electronic switch is arranged in the analog switch integrated circuit, one immobile end of the single-pole double-throw analog electronic switch is connected with the second controller through the IC card read-write data bus, the other immobile end of the single-pole double-throw analog electronic switch is connected with the analog interface card through the analog card connection bus, a common end of the single-pole double-throw analog electronic switch is connected with the IC card data connection bus, the analog switch integrated circuit is connected with the second controller through the IC card switching control line, and the single-pole double-throw analog electronic switch connects the common end thereof with one of the two immobile ends according to a control signal on the IC card switching control line, thereby connecting the IC card data connection bus with the IC card read-write data bus or the analog card connection bus.
8. The control system of the civil intelligent gas meter controller function detection device according to claim 2, characterized in that the IC card in-place analog switch module is composed of an analog switch integrated circuit and an IC card in-place control line, a single-pole single-throw analog electronic switch is arranged in the analog switch integrated circuit, two ends of the single-pole single-throw analog electronic switch are respectively connected with the in-place switch contact I and the in-place switch contact II on the analog interface card, the analog switch integrated circuit is connected to the second controller through the IC card in-place control line, and the single-pole single-throw analog electronic switch is turned on or off according to a control signal on the IC card in-place control line, so as to control the on or off of the in-place switch contact I and the in-place switch contact II on the analog interface card.
9. The control system of the civil intelligent gas meter controller function detection equipment according to claim 2, characterized in that the standard IC card golden finger is in contact communication with a reed in a card slot when an analog interface card is inserted into the IC card slot on the intelligent IC card gas meter controller, so as to connect an IC card read-write bus in the intelligent IC card gas meter controller with the analog card connection bus, and then is communicated with an IC card chip under the control of an IC card data connection bus, an analog switch integrated circuit and an internal switch of the analog switch integrated circuit, so as to realize the read-write of the IC card by the gas meter controller;
the in-place switch contact I and the in-place switch contact II are respectively communicated with two ends of a mechanical in-place switch in the card slot when the analog interface card is inserted into the IC card slot on the intelligent IC card gas meter controller, so that two ends of the switch in the card slot are connected to two ends of an electronic switch in the analog switch integrated circuit, the second controller can control the on-off of the card-inserting in-place switch of the IC card slot in the intelligent IC card gas meter controller by controlling the analog switch integrated circuit, and the original card-inserting mechanical action is triggered and converted into electronic control signal triggering.
10. A civil intelligent gas meter controller function detection method is characterized by comprising the following steps: calling a corresponding detection flow of a gas meter controller to be detected, and configuring the output state of each module by detection equipment according to the model of the controller to be detected; communicating a gas meter controller to be detected with detection equipment, and firstly providing a direct-current power supply required by detection for the gas meter controller to be detected; writing initialization data and a residual gas amount of a minimum metering unit into a gas meter controller to be detected, and judging whether a valve of the gas meter controller to be detected is normally opened or not in a normal working state; transmitting normal and abnormal metering signals to a gas meter controller to be detected, and judging whether the gas meter controller to be detected can correctly meter the gas quantity or not and whether the abnormal state can be processed or not; adjusting the power supply voltage of a gas meter controller to be detected, simulating the condition that the power supply voltage of the gas meter controller to be detected needs to be gradually reduced during normal use, and judging whether the gas meter controller to be detected can make a corresponding correct response at a set voltage value; writing factory parameters required by a client into a gas meter controller to be detected, reading out internal parameters of the gas meter controller to be detected, and comparing the internal parameters with expected values to ensure the correctness of the factory parameters; and cutting off the power supply to the gas meter controller to be detected, and judging whether the gas meter controller to be detected can make correct reaction through an internal energy storage device.
CN201911383627.9A 2019-12-28 2019-12-28 Control system of civil intelligent gas meter controller function detection equipment Pending CN110907020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911383627.9A CN110907020A (en) 2019-12-28 2019-12-28 Control system of civil intelligent gas meter controller function detection equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911383627.9A CN110907020A (en) 2019-12-28 2019-12-28 Control system of civil intelligent gas meter controller function detection equipment

Publications (1)

Publication Number Publication Date
CN110907020A true CN110907020A (en) 2020-03-24

Family

ID=69828112

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911383627.9A Pending CN110907020A (en) 2019-12-28 2019-12-28 Control system of civil intelligent gas meter controller function detection equipment

Country Status (1)

Country Link
CN (1) CN110907020A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111751087A (en) * 2020-06-03 2020-10-09 武汉精立电子技术有限公司 Panel detection system and method
CN114189508A (en) * 2021-04-14 2022-03-15 郑州华润燃气股份有限公司 Weekly checking system and method for gas meter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111751087A (en) * 2020-06-03 2020-10-09 武汉精立电子技术有限公司 Panel detection system and method
CN114189508A (en) * 2021-04-14 2022-03-15 郑州华润燃气股份有限公司 Weekly checking system and method for gas meter
CN114189508B (en) * 2021-04-14 2024-04-26 郑州华润燃气股份有限公司 Week checking system and method for gas meter

Similar Documents

Publication Publication Date Title
CN107907815B (en) Single-board dual-channel FT (FT) mass production test and yield analysis system and method
CN101625395A (en) Method for measuring relay contact settling time and device thereof
CN110907020A (en) Control system of civil intelligent gas meter controller function detection equipment
CN109343359A (en) Intelligent switch, intelligence control system, method, apparatus and electronic equipment
CN105067930A (en) Test method and system of automatic test platform
CN111366835A (en) Electric control board test method and test system
CN112098882A (en) Automatic power supply testing system and method
CN103323809A (en) Electric energy meter test equipment
CN215219508U (en) A test fixture for machine controller
CN203149056U (en) Electronic equipment testing system
CN211042424U (en) Control system of civil intelligent gas meter controller function detection equipment
CN103697930A (en) Intelligent detection device and detection method for HART instrument aging test
CN111458592A (en) Automatic detection system for car lamp driving module
CN205066896U (en) Full automatic test system of gas table module
CN204347211U (en) A kind of many relay functions proving installation
CN108225498B (en) Control system of complete machine function detection equipment of civil intelligent gas meter
CN108038399B (en) Automatic detection device and detection method for reading and writing card of intelligent IC card gas meter
CN210742740U (en) Portable high-precision man-machine interaction verification equipment for airplane temperature control indexes
CN106372687A (en) Distribution network automatic detection method and system
CN201600596U (en) Automatic delivery testing device for servo drivers
CN201449545U (en) Equipment for intelligently detecting electronic control system programs
CN111966078A (en) Fault detection and analysis device and method for platform door system
CN113405583A (en) Automatic test equipment for aviation board position sensor and control method
CN111007336A (en) Module production test power-on and power-off automatic detection system and method based on serial port communication
CN207703311U (en) A kind of control system of civilian intelligent gas meter complete machine function detection equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination