CN104750093A - Labview based RS485 bus structure DCS system I/O slave station testing system - Google Patents

Labview based RS485 bus structure DCS system I/O slave station testing system Download PDF

Info

Publication number
CN104750093A
CN104750093A CN201310750961.XA CN201310750961A CN104750093A CN 104750093 A CN104750093 A CN 104750093A CN 201310750961 A CN201310750961 A CN 201310750961A CN 104750093 A CN104750093 A CN 104750093A
Authority
CN
China
Prior art keywords
slave station
connector
tested
instrument
signal
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
CN201310750961.XA
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.)
Center Control Systems Engineering (cse) Co Ltd
Original Assignee
Center Control Systems Engineering (cse) 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 Center Control Systems Engineering (cse) Co Ltd filed Critical Center Control Systems Engineering (cse) Co Ltd
Priority to CN201310750961.XA priority Critical patent/CN104750093A/en
Publication of CN104750093A publication Critical patent/CN104750093A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to the technical field of industrial bus DCS system I/O slave station function and performance testing and particularly discloses a Labview based RS485 bus structure DCS system I/O slave station testing system. In the system, a communication conversion module is mutually connected with an upper PC and a bus connector respectively, the bus connector is mutually in communicating connection with a tested I/O slave station including N I/O modules, and a power supply wiring terminal in the bus connector is connected with the upper PC through a programmable power supply, so that the upper PC controls the programmable power supply to supply power for the bus connector and meanwhile supply power for the communication conversion module and the tested I/O slave station. A testing measurement instrument which is mutually connected with the upper PC and is controllable in an online mode is further mutually connected with an I/O signal terminal box and the tested I/O slave station. The system can achieve automatic testing of functions and performance including analog acquisition accuracy and the like of an I/O slave station in an RS bus structure DCS system, and the function and performance testing efficiency and reliability of the like products are greatly improved.

Description

Based on the test macro of the RS485 bus structure DCS system I/O slave station of Labview
Technical field
The invention belongs to industrial bus DCS system I/O slave station function and technical field of performance test, be specifically related to a kind of test macro of the RS485 bus structure DCS system I/O slave station based on Labview.
Background technology
DCS is the abbreviation of dcs (Distributed Control System), since U.S. HONEYWELL in 1975 releases in the world after first set DCS, develops into forth generation at present.Current DCS system is primarily of computer installation, the compositions such as operator station, engineer station, field control station and data I/O station, there is high reliability, dirigibility, opening, harmony is good and be easy to the advantages such as maintenance, and widespread use in the industry such as petrochemical complex, thermoelectricity, nuclear power at home and abroad.From the nineties so far, our country achieves the development of leap in the reliability and technical capability of DCS system, reached the level of external forth generation DCS at some aspect of performance, and domestic existing many companies can carry out competition with foreign vendor in medium-sized and large-scale plant.
Along with the development of dcs, realize remote digital communication in the urgent need to a kind of bus.Therefore EIA investigated RS485 bus structure, and adopt balanced type to send, the type of drive of differential received, realizes multinode, remote, highly sensitive digital communication, and widespread use in Small DCS System.
The function such as precision, reliability that the DCS system of the industry such as petrochemical complex, nuclear power gathers data I/O and performance index have higher requirement, such as usual requirement analog acquisition/output accuracy being had to 0.2% or 0.1%.At present to I/O from the method for testing of site type product function and performance, adopt the ICT test mode of flying needle or needle-bar, can not measured piece be controlled, the test of the complicated test signals such as passage accuracy test cannot be met; Adopt manual type to test, not only testing efficiency is low, and cost of labor is high, and due to the uncertainty of human factor, test result consistance is poor, reliability is low; On the basis of manual testing's scheme, use software programming test case, sequenced control survey instrument and equipment under test, thus the automated testing method substituting manual work has high-level efficiency, high consistance advantage, is the effective solution of I/O from site type product function, performance test.Along with increasing of DCS system product category and application scenario, only the automatization test system of exploitation simple function cannot meet the testing requirement of multiple I/O slave station product in production phase.Therefore, be badly in need of exploitation a kind of high-level efficiency, multi-functional, use the product automation of DCS system I/O modular type flexibly test macro.
Summary of the invention
The object of the present invention is to provide a kind of test macro of the RS485 bus structure DCS system I/O slave station based on Labview, solve the problem of existing RS485 bus structure DCS system I/O slave station function, Performance Testing Technology deficiency, realize the tested several functions of I/O slave station, the T & M of performance parameter.
Technical scheme of the present invention is as follows: a kind of measuring system of the RS485 bus structure DCS system I/O slave station based on Labview, this system comprises upper PC, communication transfer interface module, Bussing connector and tested I/O slave station, wherein, communication transfer interface module respectively with upper PC, Bussing connector connects mutually, Bussing connector and the tested I/O slave station comprising N number of I/O module communicate to connect mutually, and the power supply terminal in Bussing connector is connected with upper PC by programmable power supply, making upper PC control programmable power supply is that Bussing connector is powered, and power for communication transfer interface module and tested I/O slave station simultaneously, also be interconnected by I/O signal connector and tested I/O slave station with the interconnective degree thermometrically instrument capable of on-line of upper PC.
Described communication transfer interface module comprises MCU process chip, RS485 signal two-way reception/transmission chip and RS232 serial ports/network interface connector and transceiving chip, wherein, described RS232 serial ports/network interface connector and transceiving chip are used for communication transfer interface module and upper PC intercoms mutually; Described RS485 signal two-way reception/transmission chip is used for being connected with the connector in Bussing connector, and realizes the communication between communication transfer interface module and Bussing connector; Described MCU process chip is for controlling described RS485 signal two-way reception/transmission chip and affiliated RS232 serial ports/network interface transceiving chip, and the communication message realized between upper PC 1 and RS485 bus is changed.
Described Bussing connector has one or more connector meeting RS485 hardware interface agreement, and it is connected with N number of I/O module of tested I/O slave station as motherboard.
Described Bussing connector also comprises self-defined connector, and it is connected with communication transfer interface module, realizes the communication connection of RS485 bus and communication transfer interface module.
Described upper PC has USB, or GPIB, or internet, or MXI-Express hardware interface, and upper PC is communicated to connect mutually by one or more hardware interfaces above-mentioned and thermometrically instrument capable of on-line.
Described I/O signal connector includes all input/output signal lines of tested I/O slave station, for thermometrically instrument multichannel in the thermometrically instrument of On-line Control, tested I/O slave station (7) is directly connected to thermometrically instrument by the signal wire in I/O signal connector, for the instrument that number of active lanes is limited, signal wire is connected to the multiplexer in thermometrically instrument capable of on-line by I/O signal connector, and is connected in thermometrically instrument by multiple signal wire by upper PC control multiplexer.
Described thermometrically instrument capable of on-line comprises PXI signal source, the PXI capture card of multifunctional table-type multimeter Agilent34410, multiplexer PS1024 and NI company.
Remarkable result of the present invention is: the test macro of a kind of RS485 bus structure DCS system I/O slave station based on Labview of the present invention, the automatic test to the functions such as the analog acquisition precision of I/O slave station in RS bus structure DCS system and performance can be realized, substantially increase efficiency and the reliability of this type of product function and performance test; Meanwhile, native system adopts modular structure in hardware configuration, and each hardware module adopts fixing connector connected mode, and test macro operates and uses flexible, simple; System adopts multiple thermometrically instrument capable of on-line, coordinates multiple I/O slave station terminal box to complete the T & M of I/O slave station module several functions and performance, and therefore test system and test function of the present invention is not unique, the multinomial test function of easily extensible.In addition, this test macro can also control and data communication I/O slave station multiple in bus, to complete between multiple I/O slave station the test of the complexity such as signal transmission, communication, and therefore this test macro is a kind of multi-functional, test macro that extendability is good.
Accompanying drawing explanation
Fig. 1 is the test system structure figure of the RS485 bus structure DCS system I/O slave station based on Labview of the present invention;
In figure: 1, upper PC; 2, thermometrically instrument capable of on-line; 3, I/O signal connector; 4, programmable power supply; 5, communication transfer interface module; 6, Bussing connector; 7, tested I/O slave station.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is described in further detail.
As shown in Figure 1, a kind of test macro of the RS485 bus structure DCS system I/O slave station based on Labview, this system comprises upper PC 1, communication transfer interface module 5, Bussing connector 6 and tested I/O slave station 7, wherein, communication transfer interface module 5 comprises MCU process chip, RS485 signal two-way reception/transmission chip and RS232 serial ports/network interface connector and transceiving chip, communication transfer interface module 5 respectively with upper PC 1, Bussing connector 6 is interconnected, RS232 serial ports/network interface plug-in unit in communication transfer interface module 5 and transceiving chip are used for the intercommunication mutually of communication transfer interface module 5 and upper PC 1, RS485 signal two-way reception/transmission chip is used for being connected with the connector in Bussing connector 6, and the communication realized between communication transfer interface module 5 and Bussing connector 6, MCU process chip is for control RS485 signal two-way reception/transmission chip and RS232 serial ports/network interface transceiving chip, the communication message realized between upper PC 1 and RS485 bus is changed, Bussing connector 6 communicates to connect mutually with the tested I/O slave station 7 comprising N number of I/O module, and wherein, Bussing connector 6 has one or more connector meeting RS485 hardware interface agreement, and it is connected with N number of I/O module of tested I/O slave station 7 as motherboard, Bussing connector 6 also has power supply terminal, and it is connected with upper PC 1 by programmable power supply 4, makes upper PC 1 control programmable power supply 4 and powers for Bussing connector 6, can power for communication transfer interface module 5 and tested I/O slave station 7 simultaneously, self-defined connector in Bussing connector 6 is connected with communication transfer interface module 5, realizes the communication connection of RS485 bus and communication transfer interface module 5, upper PC 1 has USB, GPIB, internet and MXI-Express hardware interface, upper PC 1 is communicated to connect mutually by one or more hardware interfaces and thermometrically instrument 2 capable of on-line, wherein, thermometrically instrument 2 capable of on-line comprises multifunctional table-type multimeter Agilent34410, the PXI signal source of multiplexer PS1024 and NI company, PXI capture card, the Labview testing software run in upper PC 1 can pass through USB, GPIB, one or more modes in internet and MXI-Express, thermometrically instrument 2 capable of on-line is controlled and data communication, thermometrically instrument 2 capable of on-line is also interconnected by I/O signal connector 3 and tested I/O slave station 7, wherein, I/O signal connector 3 includes all input/output signal lines of tested I/O slave station 7, for thermometrically instrument multichannel in the thermometrically instrument 2 of On-line Control, tested I/O slave station 7 is directly connected to thermometrically instrument by the signal wire in I/O signal connector 3, for the instrument that number of active lanes is limited, signal wire is connected to the multiplexer in thermometrically instrument 2 capable of on-line by I/O signal connector 3, and control multiplexer by upper PC 1 multiple signal wire is connected in thermometrically instrument.
The specific works engineering of the test macro of a kind of RS485 bus structure DCS system I/O slave station based on Labview of the present invention is:
Be the tests of 8 channel current signal output accuracies for tested I/O slave station 7, before test starts, being connected with communication transfer interface module 5 by tested I/O slave station 7 is inserted on Bussing connector 6, communication transfer interface module 5 is connected with upper PC 1 by RS232 serial ports, I/O signal connector 3 connects all current acquisition expanding channels of tested I/O slave station 7 to multiplexer PS1024, the common port of PS1024 connects desk-top multimeter Agilent34410 current measurement passage, PS1024 and Agilent34410 is connected to upper PC by USB line.After test starts, concrete operation step is as follows:
The Labview software control programmable power supply 4 run in step 1, upper PC 1 is powered to Bussing connector 6, tested I/O slave station 7 is powered on and normally runs;
Step 2, testing software send downlink communication message, and all passages of configuration I/O slave station 7 are configured to 4-20mA current output mode, configure all passages and export as nominal value y1(such as 4mA);
It is passage 1 gating that step 3, testing software control multiplexer PS1024;
Step 4, testing software read the current value that desk-top multimeter Agilent34410 gathers, and collection value is compared calculating error values with y1, collection value and error are presented at the sub-interface of man-machine interaction in real time;
Step 5, judge whether it is last passage: if not, control the next passage of gating of multiplexer PS1024, return step 4 and operate; If so, the 6th step is entered.
Step 6, judge whether the measurement carrying out new nominal value: if configure all passages and export as nominal value y2 or y3 etc., returning step 3 operates; If not, carry out the 7th step.
The measurement result of all passages gathers and is presented at the sub-interface of man-machine interaction by step 7, testing software, and is stored in database and testing journal sheet.
After step 8, test terminate, testing software closes the communication with each instrument, controls programmable power supply powered-down.

Claims (7)

1. the measuring system based on the RS485 bus structure DCS system I/O slave station of Labview, it is characterized in that: this system comprises upper PC (1), communication transfer interface module (5), Bussing connector (6) and tested I/O slave station (7), wherein, communication transfer interface module (5) respectively with upper PC (1), Bussing connector (6) connects mutually, Bussing connector (6) and the tested I/O slave station (7) comprising N number of I/O module communicate to connect mutually, and the power supply terminal in Bussing connector (6) is connected with upper PC (1) by programmable power supply (4), upper PC (1) is made to control programmable power supply (4) for Bussing connector (6) power supply, and be communication transfer interface module (5) and tested I/O slave station (7) power supply simultaneously, also be interconnected by I/O signal connector (3) and tested I/O slave station (7) with the interconnective degree thermometrically instrument (2) capable of on-line of upper PC (1).
2. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, it is characterized in that: described communication transfer interface module (5) comprises MCU process chip, RS485 signal two-way reception/transmission chip and RS232 serial ports/network interface connector and transceiving chip, wherein, described RS232 serial ports/network interface connector and transceiving chip are used for communication transfer interface module (5) and intercom mutually with upper PC (1); Described RS485 signal two-way reception/transmission chip is used for being connected with the connector in Bussing connector (6), and realizes the communication between communication transfer interface module (5) and Bussing connector (6); Described MCU process chip is for controlling described RS485 signal two-way reception/transmission chip and affiliated RS232 serial ports/network interface transceiving chip, and the communication message realized between upper PC 1 and RS485 bus is changed.
3. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, it is characterized in that: described Bussing connector (6) has one or more connector meeting RS485 hardware interface agreement, it is connected as N number of I/O module of motherboard with tested I/O slave station (7).
4. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, it is characterized in that: described Bussing connector (6) also comprises self-defined connector, it is connected with communication transfer interface module (5), realizes the communication connection of RS485 bus and communication transfer interface module (5).
5. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, it is characterized in that: described upper PC (1) has USB, or GPIB, or internet, or MXI-Express hardware interface, upper PC (1) is communicated to connect mutually by one or more hardware interfaces above-mentioned and thermometrically instrument (2) capable of on-line.
6. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, it is characterized in that: described I/O signal connector (3) includes all input/output signal lines of tested I/O slave station (7), for multichannel thermometrically instrument in the thermometrically instrument (2) of On-line Control, tested I/O slave station (7) is directly connected to thermometrically instrument by the signal wire in I/O signal connector (3), for the instrument that number of active lanes is limited, signal wire is connected to the multiplexer in thermometrically instrument (2) capable of on-line by I/O signal connector (3), and by upper PC (1) control multiplexer, multiple signal wire is connected in thermometrically instrument.
7. the measuring system of a kind of RS485 bus structure DCS system I/O slave station based on Labview according to claim 1, is characterized in that: described thermometrically instrument (2) capable of on-line comprises PXI signal source, the PXI capture card of multifunctional table-type multimeter Agilent34410, multiplexer PS1024 and NI company.
CN201310750961.XA 2013-12-31 2013-12-31 Labview based RS485 bus structure DCS system I/O slave station testing system Pending CN104750093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310750961.XA CN104750093A (en) 2013-12-31 2013-12-31 Labview based RS485 bus structure DCS system I/O slave station testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310750961.XA CN104750093A (en) 2013-12-31 2013-12-31 Labview based RS485 bus structure DCS system I/O slave station testing system

Publications (1)

Publication Number Publication Date
CN104750093A true CN104750093A (en) 2015-07-01

Family

ID=53589949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310750961.XA Pending CN104750093A (en) 2013-12-31 2013-12-31 Labview based RS485 bus structure DCS system I/O slave station testing system

Country Status (1)

Country Link
CN (1) CN104750093A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911270A (en) * 2017-07-24 2018-04-13 江苏永钢集团有限公司 A kind of PC machine and the means of communication of Siemens's slave station
CN112198862A (en) * 2020-09-18 2021-01-08 中国辐射防护研究院 On-line experimental test system for total dose effect of extensible microcontroller

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738540A (en) * 2009-11-04 2010-06-16 中国科学院长春光学精密机械与物理研究所 Method for automatically measuring static characteristic of electrical interface
CN202275153U (en) * 2011-10-25 2012-06-13 天津市中环电子计算机有限公司 Alternating current power supply test system of program control output multiple test voltage
CN203012500U (en) * 2012-11-01 2013-06-19 北京新立机械有限责任公司 Controller test system
CN203658838U (en) * 2013-12-31 2014-06-18 中核控制***工程有限公司 Labview-based testing system of RS485 bus structure DCS system I/O slave station

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101738540A (en) * 2009-11-04 2010-06-16 中国科学院长春光学精密机械与物理研究所 Method for automatically measuring static characteristic of electrical interface
CN202275153U (en) * 2011-10-25 2012-06-13 天津市中环电子计算机有限公司 Alternating current power supply test system of program control output multiple test voltage
CN203012500U (en) * 2012-11-01 2013-06-19 北京新立机械有限责任公司 Controller test system
CN203658838U (en) * 2013-12-31 2014-06-18 中核控制***工程有限公司 Labview-based testing system of RS485 bus structure DCS system I/O slave station

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
谢捷等: "基于VI 的数字万用表四通道切换***", 《微计算机信息》 *
金玉: "一种DCS***I/O模块自动化测试的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911270A (en) * 2017-07-24 2018-04-13 江苏永钢集团有限公司 A kind of PC machine and the means of communication of Siemens's slave station
CN112198862A (en) * 2020-09-18 2021-01-08 中国辐射防护研究院 On-line experimental test system for total dose effect of extensible microcontroller
CN112198862B (en) * 2020-09-18 2022-01-18 中国辐射防护研究院 On-line experimental test system for total dose effect of extensible microcontroller

Similar Documents

Publication Publication Date Title
CN102184749A (en) Method for automatically testing DCS (Digital Control System) control cabinet
CN105425681B (en) A kind of multi-functional communication interface data diagnosis and signal driving card
CN203535208U (en) Verification circuit and verification apparatus for digital electric energy meter calibration instrument
CN201134815Y (en) Ethernet data acquisition and transmission system
CN103699051A (en) Wireless telecontrol system
CN203658838U (en) Labview-based testing system of RS485 bus structure DCS system I/O slave station
CN104750093A (en) Labview based RS485 bus structure DCS system I/O slave station testing system
CN203430525U (en) Shield distribution type PLC control system based on controller
CN201821314U (en) Modularized microcomputer excitation regulator
CN104133797B (en) A kind of environmental monitoring data adapter of Based PC 104 bus
CN109089177B (en) Quick connection module for modularized all-round IO and gateway
CN205003511U (en) Integration big dipper industry measurement and control terminal
CN204408027U (en) A kind of Intelligent power distribution system
CN201319135Y (en) System architecture based on FPGA for industrial composite signal acquiring equipment
CN211319013U (en) Data simulation device of multiple metering instruments comprising local communication interface unit
CN103676734A (en) Intelligent electrical device of master-slave modular structure
CN209184314U (en) A kind of Energy-saving for Thermal Power Units emission reduction monitoring system
CN206959955U (en) Diagnostic system of natural gas orifice plate flowmeter
CN202145647U (en) Protocol converter
CN206505306U (en) I/O modules that PLC ends are wireless, remote port is wireless I/O modules and PLC system
CN220252445U (en) PLC automatic test system based on domestic program control instrument and component
CN205281199U (en) Redundant field bus IO controlling means
CN202929824U (en) Heat meter circuit module
CN204437452U (en) Intelligent electric valve positioning device
CN219738048U (en) Signal collector based on PLC controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701

RJ01 Rejection of invention patent application after publication