CN104238416A - Serial port instrument monitoring system and debugging method thereof - Google Patents

Serial port instrument monitoring system and debugging method thereof Download PDF

Info

Publication number
CN104238416A
CN104238416A CN201410454949.9A CN201410454949A CN104238416A CN 104238416 A CN104238416 A CN 104238416A CN 201410454949 A CN201410454949 A CN 201410454949A CN 104238416 A CN104238416 A CN 104238416A
Authority
CN
China
Prior art keywords
module
data
monitoring
monitoring system
serial ports
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.)
Granted
Application number
CN201410454949.9A
Other languages
Chinese (zh)
Other versions
CN104238416B (en
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.)
Chongqing Nanxin Automation Equipment Co ltd
Original Assignee
Anhui Normal University
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 Anhui Normal University filed Critical Anhui Normal University
Priority to CN201410454949.9A priority Critical patent/CN104238416B/en
Publication of CN104238416A publication Critical patent/CN104238416A/en
Application granted granted Critical
Publication of CN104238416B publication Critical patent/CN104238416B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to a serial port instrument monitoring system and a debugging method thereof. The system comprises a mode selecting module, a monitoring module, an independent data direction indicating module, an independent power supply module and a peripheral interface module, and the monitoring module is respectively connected with the mode selecting module, the independent data direction indicating module, the independent power supply module and the peripheral interface module. The debugging method comprises the steps that first, equipment connecting is carried in series and in parallel, a terminal is opened for connected line detecting, if detecting is successful, loop detecting is carried out, otherwise, returning or reconnecting is carried out, then loop detecting is carried out, and if loop detecting is not successful, returning or reconnecting is carried out; and after loop detecting is completed, according to specific using requirements, the mode selecting module is arranged to have a data taking or instruction taking function, and data collecting or instruction capturing is achieved. The problems that instrument equipment is detached repeatedly, so that data transmission reliability is lowered, and data monitoring or instruction capturing operation is complex are solved, and convenience and easiness of instrument or working industrial intelligent computer instruction monitoring are achieved.

Description

A kind of serial ports instrument monitoring system and adjustment method thereof
Technical field
The present invention relates to commercial unit application and the communications field, is that a kind of data flow is controlled and have serial ports instrument monitoring system and the adjustment method thereof of data monitoring or instruction capture function.
Background technology
In industry measurement system development or maintenance process, data acquisition and monitoring need be carried out to high-precision meter equipment, it is a kind of the most frequently used method catching data and host computer instruction by operation of serial-port, for reaching the High-precision standard obtaining data, must monitor instrumentation data channel and host computer instruction path.Usually repeatedly must remove and install instrumentation tap on stream, especially under standby meter equipment condition in short supply or equipment always under condition of work, long term monitoring must be carried out to field instrument equipment or work industrial computer data port, disassembling section is frequent, impact is produced, and need equipment be reconnected in measuring instrument data or when catching work industrial computer instruction, inefficiency, can not meet the requirement of industrial automation production business and system development maintenance, therefore old-fashioned Solarnumen Comdebug or method have much room for improvement.
Summary of the invention
The invention provides a kind of serial ports instrument monitoring system and adjustment method thereof, solve instrumentation and repeatedly dismantle problems such as causing data transmission credibility reduction and data monitoring or instruction capture operation lengthy and tedious.
The present invention's adopted technical scheme that solves the problem is: a kind of serial ports instrument monitoring system, and described system comprises mode selection module, monitoring modular, independent data flow to indicating module, independent current source module and peripheral interface module; Described monitoring modular flows to indicating module respectively with mode selection module, independent data, independent current source module, peripheral interface module are connected;
Described mode selection module configuration multiplexer channel switch is used for being switched to different operating state;
Described monitoring modular comprises built in self testing module and external monitoring module, described built in self testing module detects mode selection module internal circuit path and loop, the connected state of test data line, is caught by external monitoring module afterwards and intercepts the data or order that external connection apparatus sends;
Described independent data flows to the data flow that indicating module receives the signal designation serial ports instrument monitoring system of monitoring modular;
Described independent current source module receives monitoring modular signal for whole system provides stabilized voltage supply;
Described peripheral interface module provides many general interface that monitoring system can be made with parallel connection, series connection or the mode detection circuit for access combined of connecting in parallel.
Concrete further, described mode selection module comprises concrete using function and self-inspection two kinds of duties, and described concrete using function is mainly to the seizure of host computer instruction and the monitoring of instrumented data; Described self-inspection provides startup command for built in self testing module.
Concrete further, the connectedness of described built in self testing module to the internal data of detection system or host computer instruction detects; Described external monitoring module receives and monitors the data of the equipment transmission that serial ports connects or the instruction of industrial computer transmission.
Concrete further, described independent data flows to indicating module and is connected with independently power supply.
Concrete further, described independent current source module comprises Power supply selector switch and independent current source, the power supply that described Power supply selector switch controls whole monitoring system is selected, for different purposes optionally for whole monitoring system provides working power.
Concrete further, the interface of described peripheral interface module inside is high speed data transfer physical interface.
An adjustment method for serial ports instrument monitoring system, the step of described adjustment method is:
S1, monitored equipment are connected with serial ports instrument monitoring system by straight-through data line, start serial port terminal monitoring tool, by data or command format configurating terminal debugging acid;
S2, open serial ports;
S3, configuration mode select module to be that path detects, and the connectedness of detection path, if be not communicated with, then reconnect or return and again detect;
S4, configuration mode select module to be that loop is detected, and the connectedness of measure loop, if be not communicated with, then reconnect or return and again detect;
S5, complete path detect and loop detect after, configuration mode select module for fetching data or instruction fetch function, realize external device data monitoring or instruction catch.
The invention has the beneficial effects as follows: after adopting said system and adjustment method, solve instrumentation and repeatedly dismantle problems such as causing data transmission credibility reduction and data monitoring or instruction capture operation lengthy and tedious, thus realize facilitation, the simplification of instrument or the monitoring of work industrial intelligent computer instruction.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of a kind of serial ports instrument monitoring of the present invention system.
Fig. 2 is a kind of serial ports instrument monitoring system of the present invention and peripheral hardware connected mode.
Fig. 3 is a kind of serial ports instrument monitoring of the present invention system concrete operations flow processs.
Embodiment
Below in conjunction with accompanying drawing, the present invention is explained in detail.
A serial ports instrument monitoring system as shown in Figure 1, described system comprises mode selection module, monitoring modular, independent data flow to indicating module, independent current source module and peripheral interface module; Described monitoring modular flows to indicating module respectively with mode selection module, independent data, independent current source module, peripheral interface module are connected;
Described mode selection module configuration multiplexer channel switch is used for being switched to different operating state; Function for monitoring system is selected, and comprises four groups of functional mode selector switch, and described function comprises path self-inspection, loop self-inspection, Monitoring Data and catches command function; Described various function is realized according to respective combination configuration mode by four groups of functional mode selector switch.
Described monitoring modular comprises built in self testing module and external monitoring module, described built in self testing module detects mode selection module internal circuit path and loop, the connected state of test data line, is caught by external monitoring module afterwards and intercepts the data or order that external connection apparatus sends; Comprise built in self testing module and external monitoring module; Described built in self testing module is used for the detection of monitoring system internal data or instruction path smoothness, comprises path self-inspection and loop self-inspection; Described external monitoring module is for receiving and monitoring the data of institute's attached device transmission or the instruction of industrial computer transmission; Built in self testing module and external monitoring module complete detection of connectivity and the capture function of whole equipment jointly.
Described independent data flows to the data flow that indicating module receives the signal designation serial ports instrument monitoring system of monitoring modular; Independent of Power supply equipment or working computer interface power, be used to indicate data, instruction stream to and current function status, complete self-inspection and monitoring function.
Described independent current source module receives monitoring modular signal for whole system provides stabilized voltage supply; Described independent current source module comprises Power supply selector switch and independent current source, and the power supply that described Power supply selector switch controls whole monitoring system is selected, for different purposes optionally for whole monitoring system provides working power.
Peripheral interface module described as shown in Figure 2 provides many general interface that monitoring system can be made with parallel connection, series connection or the mode detection circuit for access combined of connecting in parallel; For connecting upper pusher side monitoring computer, work industrial computer or target metering outfit, described peripheral interface module is high speed data transfer physical interface, and interface is necessary for equipment room and is directly connected; Especially, between described peripheral interface module and other equipment, connected mode to combine with in parallel for contacting and connecting or connect.
An adjustment method for serial ports instrument monitoring system as shown in Figure 3, the step of described adjustment method is:
S1, monitored equipment are connected with serial ports instrument monitoring system by straight-through data line, start serial port terminal monitoring tool, by data or command format configurating terminal debugging acid;
S2, open serial ports;
S3, configuration mode select module to be that path detects, and the connectedness of detection path, if be not communicated with, then reconnect or return and again detect; Described path detecting step is, D1, by serial or parallel connection mode connection device, guarantees to connect normal, mode selection switch is placed in path self-inspection state; D2, open host computer terminal monitoring software, in sending area, be loaded into order DATA1, and send; D3, judge the current reception data in data receiver district whether equal be loaded into sending value DATA1, if not, return path detecting step D2 also checks that whether connection normal;
S4, configuration mode select module to be that loop is detected, and the connectedness of measure loop, if be not communicated with, then reconnect or return and again detect; Described loop detecting step is, T1, mode selection switch is placed in loop detected state; T2, open host computer terminal monitoring software, in sending area, be loaded into order DATA2, and send; T3, judge the current reception data in data receiver district whether equal be loaded into sending value DATA2, if not, check connection, return loop detecting step T2;
S5, complete path detect and loop detect after, configuration mode select module for fetching data or instruction fetch function, realize external device data monitoring or instruction catch; Take off a machine data and take off a machine data state by being placed in by mode selection switch, open host computer terminal monitoring software, receive data, and preserve; Catch host computer instruction and catch host computer command status by being placed in by mode selection switch, open host computer terminal monitoring software, receive order, and preserve.
The present invention solves precision instrument repeatedly to dismantle the problem causing interface to loosen, propose a kind of simple, equipment interface wearing and tearing can be reduced and change data flow direction is set by multiplexed toggle switch pattern, and host computer instruction, slave computer or serial equipment output data are monitored, realize serial equipment data-reusing and test facilitation, hommization, visual serial ports monitoring tool and scheme.The present invention can reduce the time of technician's commissioning device greatly, without repeated disassembled and assembled serial equipment during monitoring, can be applicable to the situation of all kinds of serial communication.
It is emphasized that: be only preferred embodiment of the present invention above, not any pro forma restriction is done to the present invention, every above embodiment is done according to technical spirit of the present invention any simple modification, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (7)

1. a serial ports instrument monitoring system, is characterized in that, described system comprises mode selection module, monitoring modular, independent data flow to indicating module, independent current source module and peripheral interface module; Described monitoring modular flows to indicating module respectively with mode selection module, independent data, independent current source module, peripheral interface module are connected;
Described mode selection module configuration multiplexer channel switch is used for being switched to different operating state;
Described monitoring modular comprises built in self testing module and external monitoring module, described built in self testing module detects mode selection module internal circuit path and loop, the connected state of test data line, is caught by external monitoring module afterwards and intercepts the data or order that external connection apparatus sends;
Described independent data flows to the data flow that indicating module receives the signal designation serial ports instrument monitoring system of monitoring modular;
Described independent current source module receives monitoring modular signal for whole system provides stabilized voltage supply;
Described peripheral interface module provides many general interface that monitoring system can be made with parallel connection, series connection or the mode detection circuit for access combined of connecting in parallel.
2. serial ports instrument monitoring system according to claim 1, it is characterized in that, described mode selection module comprises concrete using function and self-inspection two kinds of duties, and described concrete using function is mainly to the seizure of host computer instruction and the monitoring of instrumented data; Described self-inspection provides startup command for built in self testing module.
3. serial ports instrument monitoring system according to claim 1, is characterized in that, the connectedness of described built in self testing module to the internal data of detection system or host computer instruction detects; Described external monitoring module receives and monitors the data of the equipment transmission that serial ports connects or the instruction of industrial computer transmission.
4. serial ports instrument monitoring system according to claim 1, it is characterized in that, described independent data flows to indicating module and is connected with independently power supply.
5. serial ports instrument monitoring system according to claim 1, it is characterized in that, described independent current source module comprises Power supply selector switch and independent current source, the power supply that described Power supply selector switch controls whole monitoring system is selected, for different purposes optionally for whole monitoring system provides working power.
6. serial ports instrument monitoring system according to claim 1, is characterized in that, the interface of described peripheral interface module inside is high speed data transfer physical interface.
7. an adjustment method for serial ports instrument monitoring system, is characterized in that, the step of described adjustment method is:
S1, monitored equipment are connected with serial ports instrument monitoring system by straight-through data line, start serial port terminal monitoring tool, by data or command format configurating terminal debugging acid;
S2, open serial ports;
S3, configuration mode select module to be that path detects, and the connectedness of detection path, if be not communicated with, then reconnect or return and again detect;
S4, configuration mode select module to be that loop is detected, and the connectedness of measure loop, if be not communicated with, then reconnect or return and again detect;
S5, complete path detect and loop detect after, configuration mode select module for fetching data or instruction fetch function, realize external device data monitoring or instruction catch.
CN201410454949.9A 2014-09-01 2014-09-01 A kind of serial ports instrument monitoring system and its adjustment method Expired - Fee Related CN104238416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410454949.9A CN104238416B (en) 2014-09-01 2014-09-01 A kind of serial ports instrument monitoring system and its adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410454949.9A CN104238416B (en) 2014-09-01 2014-09-01 A kind of serial ports instrument monitoring system and its adjustment method

Publications (2)

Publication Number Publication Date
CN104238416A true CN104238416A (en) 2014-12-24
CN104238416B CN104238416B (en) 2017-05-31

Family

ID=52226732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410454949.9A Expired - Fee Related CN104238416B (en) 2014-09-01 2014-09-01 A kind of serial ports instrument monitoring system and its adjustment method

Country Status (1)

Country Link
CN (1) CN104238416B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968732A (en) * 2016-10-20 2018-04-27 联发科技股份有限公司 Method and uniform protocol device from functional test is performed to uniform protocol device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049611A1 (en) * 2002-09-07 2004-03-11 Micrologic, Inc. Flexible serial port configuration and method
CN101520744A (en) * 2009-03-31 2009-09-02 上海远景数字信息技术有限公司 Self-checking serial communication system and self-checking method thereof
CN101625387A (en) * 2009-08-06 2010-01-13 上海工业自动化仪表研究所 Fast scanning detecting device of two-wire system industrial instrument and detecting method
CN202815717U (en) * 2012-07-25 2013-03-20 昆盈企业股份有限公司 Variable frequency signal generator, pressure sensing cursor control device utilizing variable frequency signal generator and air-cushioned shoes utilizing variable frequency signal generator
CN103888308A (en) * 2012-12-20 2014-06-25 研祥智能科技股份有限公司 Method, system and device for serial port tests
CN204155095U (en) * 2014-09-01 2015-02-11 安徽师范大学 Serial ports instrument monitoring system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049611A1 (en) * 2002-09-07 2004-03-11 Micrologic, Inc. Flexible serial port configuration and method
CN101520744A (en) * 2009-03-31 2009-09-02 上海远景数字信息技术有限公司 Self-checking serial communication system and self-checking method thereof
CN101625387A (en) * 2009-08-06 2010-01-13 上海工业自动化仪表研究所 Fast scanning detecting device of two-wire system industrial instrument and detecting method
CN202815717U (en) * 2012-07-25 2013-03-20 昆盈企业股份有限公司 Variable frequency signal generator, pressure sensing cursor control device utilizing variable frequency signal generator and air-cushioned shoes utilizing variable frequency signal generator
CN103888308A (en) * 2012-12-20 2014-06-25 研祥智能科技股份有限公司 Method, system and device for serial port tests
CN204155095U (en) * 2014-09-01 2015-02-11 安徽师范大学 Serial ports instrument monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107968732A (en) * 2016-10-20 2018-04-27 联发科技股份有限公司 Method and uniform protocol device from functional test is performed to uniform protocol device

Also Published As

Publication number Publication date
CN104238416B (en) 2017-05-31

Similar Documents

Publication Publication Date Title
US20180107196A1 (en) Method of Detecting Home Appliance Bus Control System
US20140056173A1 (en) Portable device maintenance support apparatus, system, and method
CN104502763B (en) Electric-controlled plate automatic checkout equipment
CN104951421B (en) A kind of automatic numbering of serial bus communication equipment and kind identification method and device
CN104865493A (en) CELL panel open-short circuit detection device and method
CN105652852A (en) Detection and monitoring system of high-voltage frequency converter power unit and mainboard thereof
CN106526456B (en) Integrated circuit on-line testing device and testing method
CN106407059A (en) Server node testing system and method
CN105094117A (en) Device for automatically testing functions of electric control plate of air-conditioner indoor set
CN104394406A (en) Detection system and method applicable to AC startup and shutdown test of television
CN106405383B (en) The embedded board Auto-Test System and method of view-based access control model detection technique
CN208140901U (en) A kind of server power supply real time monitoring apparatus
CN204155095U (en) Serial ports instrument monitoring system
CN106151169B (en) A kind of oil product detection device and its method
CN104238416A (en) Serial port instrument monitoring system and debugging method thereof
CN106872845A (en) A kind of test equipment adapter connecting detection method
CN203881881U (en) Multi-core cable testing system
KR101171884B1 (en) Mornitoring device for serial communication interface
CN208723925U (en) A kind of PROFINET on-Line Monitor Device
CN207473055U (en) A kind of relay intelligent test device
CN204374323U (en) Electric-controlled plate automatic checkout equipment
CN104793371A (en) Error state detection device and method in screen touch process of MIPI module
CN113608065B (en) Multi-direct-current system looped network fault monitoring device and method
CN107765119A (en) A kind of automatic detection machine starts abnormal method
CN104062530A (en) Mobile terminal hardware fault detecting device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200427

Address after: No. 1-8, No. 57, Qingxi Bridge, Wansheng District, Chongqing City, 400800

Patentee after: CHONGQING NANXIN AUTOMATION EQUIPMENT Co.,Ltd.

Address before: 241000 No. 1, Beijing Road, Wuhu, Anhui

Patentee before: ANHUI NORMAL University

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170531