CN104393934B - RS232 serial ports tests the bidirectional monitoring device of system - Google Patents

RS232 serial ports tests the bidirectional monitoring device of system Download PDF

Info

Publication number
CN104393934B
CN104393934B CN201410660504.6A CN201410660504A CN104393934B CN 104393934 B CN104393934 B CN 104393934B CN 201410660504 A CN201410660504 A CN 201410660504A CN 104393934 B CN104393934 B CN 104393934B
Authority
CN
China
Prior art keywords
circuit
circuit board
test
line
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.)
Active
Application number
CN201410660504.6A
Other languages
Chinese (zh)
Other versions
CN104393934A (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.)
Chengdu Univeristy of Technology
Original Assignee
Chengdu Univeristy of Technology
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 Chengdu Univeristy of Technology filed Critical Chengdu Univeristy of Technology
Priority to CN201410660504.6A priority Critical patent/CN104393934B/en
Publication of CN104393934A publication Critical patent/CN104393934A/en
Application granted granted Critical
Publication of CN104393934B publication Critical patent/CN104393934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the bidirectional monitoring devices that RS232 serial ports tests system, including circuit board, parallel three-line is transversely provided on circuit board, the both sides of circuit board are stretched out at the both ends of first line respectively, the right end of second circuit stretches out the right side of circuit board, left end is placed in circuit board, the left end of tertiary circuit stretches out the left side of circuit board, and right end is placed in circuit board;Two parallel circuits are longitudinally equipped on circuit board, respectively the 4th circuit and the 5th circuit, the upper end of 4th circuit is placed in circuit board and connection first line, the downside of circuit board is stretched out in the lower end of 4th circuit, the upper end of 5th circuit is placed in circuit board, and the downside of circuit board is stretched out in the lower end of the 5th circuit;The right end of tertiary circuit connects the single-pole double-throw switch (SPDT) that can be rotated upwardly and downwardly.The beneficial effects of the invention are as follows achievable audiomonitors to equipment under test or test system transmission data, and equipment need not carry out line again.

Description

RS232 serial ports tests the bidirectional monitoring device of system
Technical field
The invention belongs to technical field of electronic devices, are related to the bidirectional monitoring device of RS232 serial ports test system.
Background technology
Test system based on RS232 serial ports is generally basede on a RS232 serial ports and is connected with the serial ports of an equipment under test One-to-one exclusive occupying mode, generally from test system by serial ports to equipment under test send instruction and pass through the serial ports receive quilt The reported data of measurement equipment realizes entire test process.It is usually required to string during equipment under test is with test system debug Mouth data are monitored, and monitoring device is also RS232 serial ports, and test string can be directly parallel in by Y-track or similar device On mouth, audiomonitor can only carry out two signal wires of test system and equipment under test reception monitoring, and no normal direction tests system Either equipment under test sends instruction or data.
Due to above-mentioned simple audiomonitor when carrying out test system or subscriber computer joint debugging without normal direction any one Equipment sends instruction, and inconvenience is brought to debugging, the present invention by the serial ports link between test system and equipment under test into Row transformation, instruction or data can be sent by control to equipment by reaching, and solve what communication serial port exclusive occupying mode was brought to debugging It is difficult.
Invention content
The purpose of the present invention is to provide the bidirectional monitoring devices that RS232 serial ports tests system, solve RS232 monitorings and set It is standby that can only two signal wires of test system and equipment under test be carried out with reception monitoring, no normal direction test system or equipment under test The problem of sending instruction or data.
The technical solution adopted in the present invention be include circuit board, parallel three-line is transversely provided on circuit board, point Not Wei first line, the second circuit and tertiary circuit, the both ends of first line stretch out the both sides of circuit board respectively, the second circuit Right end stretches out the right side of circuit board, left end is placed in circuit board, and the left end of tertiary circuit stretches out the left side of circuit board, and right end is placed in In circuit board;
Longitudinally be equipped with two parallel circuits on circuit board, respectively the 4th circuit and the 5th circuit, the 4th circuit it is upper End is placed in circuit board and connection first line, and the downside of circuit board is stretched out in the lower end of the 4th circuit, and the upper end of the 5th circuit is set In in circuit board, the downside of circuit board is stretched out in the lower end of the 5th circuit;
The right end of tertiary circuit connects the single-pole double-throw switch (SPDT) that can be rotated upwardly and downwardly, and being rotated up single-pole double-throw switch (SPDT) can be by the Two circuits and tertiary circuit connect, and rotating down single-pole double-throw switch (SPDT) can be by tertiary circuit and the 5th connection.
Further, the single-pole double-throw switch (SPDT) 7 is mechanical switch or logic circuit.
The beneficial effects of the invention are as follows achievable audiomonitors to equipment under test or test system transmission data, and equipment is not It needs to carry out line again.
Description of the drawings
Fig. 1 is the bidirectional monitoring apparatus structure schematic diagram of RS232 serial ports test system of the present invention;
Fig. 2 is that the bidirectional monitoring device of the RS232 serial ports test system of the present invention is connected into the schematic diagram of test system.
In figure, 1. circuit boards, 2. first line, 3. second circuits, 4. tertiary circuits, 5. the 4th circuits, 6. the 5th circuits, 7. single-pole double-throw switch (SPDT).
Specific implementation mode
The following describes the present invention in detail with reference to the accompanying drawings and specific embodiments.
The bidirectional monitoring device of the RS232 serial ports test system of the present invention is as shown in Figure 1, include circuit board 1, circuit board 1 On be transversely provided with parallel three-line, respectively first line 2, the second circuit 3 and tertiary circuit 4, the both ends of first line 2 The both sides of circuit board 1 are stretched out respectively, and the right end of the second circuit 3 stretches out the right side of circuit board 1, left end is placed in circuit board 1, third The left end of circuit 4 stretches out the left side of circuit board 1, and right end is placed in circuit board 1;Two parallel lines are longitudinally equipped on circuit board 1 The upper end on road, respectively the 4th circuit 5 and the 5th circuit 6, the 4th circuit 5 is placed in circuit board 1 and connection first line 2, the The downside of circuit board 1 is stretched out in the lower end of four circuits 5, and the upper end of the 5th circuit 6 is placed in circuit board 1, and the lower end of the 5th circuit 6 is stretched Go out the downside of circuit board 1;The right end of tertiary circuit 4 connects the single-pole double-throw switch (SPDT) 7 that can be rotated upwardly and downwardly, and is rotated up single-pole double throw Switch 7 can connect the second circuit 3 and tertiary circuit 4, and rotating down single-pole double-throw switch (SPDT) 7 can be by tertiary circuit 4 and Five circuits 6 connect.
The present invention can make audiomonitor that can carry out two-way communication by test serial ports and test system or equipment under test. When test, as shown in Fig. 2, the left end of first line 2 connects the TXD mouths of equipment under test, the left end of tertiary circuit 4 connects equipment under test RXD mouths, the right end of first line 2 connects the RXD mouths of test equipment, the TXD mouths of the right end connecting test equipment of the second circuit 3. The RXD mouths of the lower end connection audiomonitor of 4th circuit 5, the TXD mouths of the lower end connection audiomonitor of the 5th circuit 6.Its hilted broadsword Commutator 7 can be stirred up and down.It can be realized through test equipment or audiomonitor by the way that single-pole double-throw switch (SPDT) 7 is switched to A or B Switching to equipment under test transmission data concatenates above equipment on test serial ports line, you can realizes test serial ports Half-duplex monitor.
Typically RS232 serial ports is used for the transmission of ASCII character character.Communication is completed using 3 lines:(1) ground wire GND (these In think all devices all and be total ground, so not marked in figure), (2) send TXD, and (3) receive RXD.It port can be one Transmission data receives data on another single line simultaneously on root line, therefore it is duplexing to communicate.
Present device connect into test equipment (such as computer, common industrial computer all carry RS232 interface) after, Test instruction (such as test pattern instruction, test sign on) is sent to equipment under test by first line 2, equipment under test is logical 5 feedback information of the 4th circuit is crossed to test equipment, whether just test equipment by feedback information so that judge equipment under test work Often.Since serial ports is exclusive, the information other equipment of the test process serial ports can not obtain, and also can not just be debugged, such as Fruit need debug can through the invention device connection audiomonitor (such as computer) come on monitoring wire 1 or circuit 2 to transmit Data.At this moment it can cause test system that can not normally receive the feedback information of equipment under test, test may be caused to interrupt.This When, in apparatus of the present invention, the switch connection audiomonitor of single-pole double-throw switch (SPDT) 7 for the system of testing can be sent from audiomonitor Debug command.
When testing system normal use, single-pole double-throw switch (SPDT) 7 is connected with A points, test system and equipment under test unicom, prison It listens equipment to test system transmission data without normal direction, but can monitor that measured data is reported to the data information of test system;When When needing from audiomonitor to test system transmission data, single-pole double-throw switch (SPDT) 7, which is connected, to can be realized with B (is at this moment tested and sets Standby reported data is still sent to test system, will not interrupt test).It is opened after audiomonitor has been sent, then by single-pole double throw It closes 7 and is connected to A, restore test serial ports and normally connect.
The single-pole double-throw switch (SPDT) 7 of the present invention can not only be realized by mechanical switch, can also pass through logic circuit or electronics Switch is realized.
Main advantages of the present invention are switched over to exclusive serial ports by a single-pole double-throw switch (SPDT), are realized and are set to exclusive Standby bidirectional monitoring.By concatenating two-way monitor of multifunction on the communication serial port of connecting test system and equipment under test, prison is realized Listen (monitoring) equipment to equipment under test or test system transmission data.Equipment need not carry out line again, only pass through a list Double-pole double throw switch achieves that the switching of serial ports.
The above is only the better embodiment to the present invention, not makees limit in any form to the present invention System, every any simple modification that embodiment of above is made according to the technical essence of the invention, equivalent variations and modification, Belong in the range of technical solution of the present invention.

Claims (2)

1.RS232 serial ports tests the bidirectional monitoring device of system, it is characterised in that:It is horizontal on circuit board (1) including circuit board (1) To equipped with parallel three-line, respectively first line (2), the second circuit (3) and tertiary circuit (4), first line (2) The both sides of circuit board (1) are stretched out at both ends respectively, and the right end of the second circuit (3) stretches out the right side of circuit board (1), left end is placed in circuit In plate (1), the left end of tertiary circuit (4) stretches out the left side of circuit board (1), and right end is placed in circuit board (1);
Two parallel circuits, respectively the 4th circuit (5) and the 5th circuit (6), the 4th circuit are longitudinally equipped on circuit board (1) (5) upper end is placed in circuit board (1) and connection first line (2), and the lower end of the 4th circuit (5) is stretched out under circuit board (1) The upper end of side, the 5th circuit (6) is placed in circuit board (1), and the downside of circuit board (1) is stretched out in the lower end of the 5th circuit (6);
The left end of first line (2) connects the TXD mouths of equipment under test, and the left end of tertiary circuit (4) connects the RXD mouths of equipment under test, The right end of first line (2) connects the RXD mouths of test equipment, the TXD mouths of the right end connecting test equipment of the second circuit (3), and the 4th The RXD mouths of the lower end connection audiomonitor of circuit (5), the TXD mouths of the lower end connection audiomonitor of the 5th circuit (6);
The right end of tertiary circuit (4) connects the single-pole double-throw switch (SPDT) (7) that can be rotated upwardly and downwardly, and is rotated up single-pole double-throw switch (SPDT) (7) Second circuit (3) and tertiary circuit (4) can be connected, rotate down single-pole double-throw switch (SPDT) (7) can by tertiary circuit (4) and 5th circuit (6) connects.
2. testing the bidirectional monitoring device of system according to RS232 serial ports described in claim 1, it is characterised in that:The hilted broadsword is double Throw switch (7) is mechanical switch or logic circuit.
CN201410660504.6A 2014-11-18 2014-11-18 RS232 serial ports tests the bidirectional monitoring device of system Active CN104393934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410660504.6A CN104393934B (en) 2014-11-18 2014-11-18 RS232 serial ports tests the bidirectional monitoring device of system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410660504.6A CN104393934B (en) 2014-11-18 2014-11-18 RS232 serial ports tests the bidirectional monitoring device of system

Publications (2)

Publication Number Publication Date
CN104393934A CN104393934A (en) 2015-03-04
CN104393934B true CN104393934B (en) 2018-08-28

Family

ID=52611775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410660504.6A Active CN104393934B (en) 2014-11-18 2014-11-18 RS232 serial ports tests the bidirectional monitoring device of system

Country Status (1)

Country Link
CN (1) CN104393934B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110647490B (en) * 2019-10-22 2021-09-07 深圳市康冠智能科技有限公司 Data transmission method, device, equipment and computer storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5194758A (en) * 1990-05-14 1993-03-16 Ver Meer James V Automatic switching circuit
US6738855B1 (en) * 2000-01-14 2004-05-18 National Semiconductor Corporation Communication interface between a TTL microcontroller and a RS232 Device avoiding level translation
CN201174710Y (en) * 2008-04-11 2008-12-31 广西玉柴机器股份有限公司 Serial communication monitoring apparatus
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system
CN202308699U (en) * 2011-09-30 2012-07-04 哈尔滨今星微电子科技有限公司 Multifunctional serial port connecting device
CN104021064A (en) * 2014-05-23 2014-09-03 无锡市崇安区科技创业服务中心 Serial communication data monitoring method
CN204216902U (en) * 2014-11-18 2015-03-18 成都理工大学 A kind of bidirectional monitoring device of RS232 serial ports test macro

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5194758A (en) * 1990-05-14 1993-03-16 Ver Meer James V Automatic switching circuit
US6738855B1 (en) * 2000-01-14 2004-05-18 National Semiconductor Corporation Communication interface between a TTL microcontroller and a RS232 Device avoiding level translation
CN201174710Y (en) * 2008-04-11 2008-12-31 广西玉柴机器股份有限公司 Serial communication monitoring apparatus
CN101630298A (en) * 2009-07-28 2010-01-20 中兴通讯股份有限公司 Serial bus slave address setting system
CN202308699U (en) * 2011-09-30 2012-07-04 哈尔滨今星微电子科技有限公司 Multifunctional serial port connecting device
CN104021064A (en) * 2014-05-23 2014-09-03 无锡市崇安区科技创业服务中心 Serial communication data monitoring method
CN204216902U (en) * 2014-11-18 2015-03-18 成都理工大学 A kind of bidirectional monitoring device of RS232 serial ports test macro

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于dsPIC30F系列控制器的CAN总线监听器设计;谭延良;《现代科学仪器》;20110228(第1期);全文 *
用中断方式实现串口通讯技术;袁航;《起重运输机械》;20031031(第10期);全文 *

Also Published As

Publication number Publication date
CN104393934A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN108804261A (en) The test method and device of connector
CN204203760U (en) Fault simulation circuit and CAN RTA reliability test assembly
CN102831084A (en) Controller and controlling method for re-identifying USB (universal serial bus) equipment
CN105510737B (en) A kind of carrier rocket general automation test system
CN104393934B (en) RS232 serial ports tests the bidirectional monitoring device of system
CN101793937B (en) Wire automatic control system for electric control cabinet and detection method thereof
CN208156118U (en) A kind of secondary wire core checking device
CN104614607B (en) A kind of method of testing and test system
CN204216902U (en) A kind of bidirectional monitoring device of RS232 serial ports test macro
CN103529353A (en) Flat cable detection method and flat cable detection system
CN204334563U (en) A kind of device of automatic detection LVDS signalling channel number
CN202649998U (en) RS232/RS485/RS422 comprehensive test interface circuit
CN103686146A (en) Online fault diagnosis device and method
CN105577392A (en) Test device and method for testing remote transmission reliability of POE (Power Over Ethernet) switch
CN203232419U (en) Bus input/output interface circuit
CN201828628U (en) Connector terminal fault detector
CN205543524U (en) Three -component RJ45 network adapter who has pilot lamp
CN203606450U (en) Flat cable detection system
CN204347477U (en) A kind of multifunction electric scaffold tower based on master-slave control pattern
CN106897179A (en) A kind of serial communication self checking method
CN103269298A (en) Adaptive bus switching method and device
CN207399374U (en) A kind of HDMI with AV signals switches and tests system
CN105471752B (en) Equipment, the method and system of rack stacking are realized based on switching network
CN207968500U (en) A kind of 101 channel distant place self-looped testing devices
TWI618384B (en) An electronic device and method for debugging modem

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