CN205123729U - Serial communication monitoring devices is kept apart to light - Google Patents
Serial communication monitoring devices is kept apart to light Download PDFInfo
- Publication number
- CN205123729U CN205123729U CN201520886038.3U CN201520886038U CN205123729U CN 205123729 U CN205123729 U CN 205123729U CN 201520886038 U CN201520886038 U CN 201520886038U CN 205123729 U CN205123729 U CN 205123729U
- Authority
- CN
- China
- Prior art keywords
- communication
- interface
- monitoring
- data
- serial
- 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.)
- Expired - Fee Related
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The utility model discloses a serial communication monitoring devices is kept apart to light, including monitoring box, the data line, the computer end of special software for display is equipped with, the both ends of monitoring box are provided with and are arranged in carrying out the communication interface I and the communication interface II that are connected with the equipment of serial communication circuit, inside being provided with of monitoring box is used for being responsible for the monitoring of the two -way data optoelectronic isolation of serial communication and sends the circuit board for the data line with the monitoring data packing, the circuit board includes two opto -coupler IC and master control CPU, master control CPU and first opto -coupler IC, second opto -coupler IC constitutes serial ports data both -way communication's isolation monitoring. This device concatenates in communication line, makes to use up to keep apart receiving and sending messages of monitoring communication both sides, does not totally influence former communication line, and the the receiving and sending messages of both sides of will communicating by letter shows totally transparently, supports interfaces such as RS -232, RS -485, RS -422, can be used for serial communication product design and the assay of product communication fault very conveniently.
Description
Technical field
The utility model relates to serial communication technology and the association area such as detection, measuring technology, is specifically related to a kind of light isolated serial port communication monitoring device.
Background technology
Have the equipment of a lot of application strings port communications in the market in use, if these equipment work, abnormal very difficult differentiation is problem or the fault of equipment self of communication, even communication issue, is also difficult to judge that what fault communication is.
Utility model content
In view of this, be necessary to design a kind of device that can carry out monitoring analysis to the data of conventional serial communication, the utility model is a kind of monitoring device be serially connected in communication line, make to use up receiving and sending messages of isolation monitoring communicating pair, do not affect former communication line completely, receiving and sending messages of communicating pair can be shown completely pellucidly, this device supports the interfaces such as RS-232, RS-485, RS-422, can analyze for serial communication product design and product communication failure easily.
A kind of light isolated serial port communication monitoring device, comprises the monitoring box be serially connected in serial communication line, for being connected with the data wire showing monitoring information, the computer terminal that special software for display is housed with computer terminal;
The two ends of described monitoring box are provided with for carrying out the communication interface I that is connected and communication interface II with the transceiver in serial communication line, the inside of described monitoring box is provided with the Phototube Coupling monitoring for being responsible for serial communication bi-directional data and Monitoring Data packing is sent to the circuit board of data wire, described circuit board comprises the two panels optocoupler IC of the Phototube Coupling for being responsible for serial communication bi-directional data, be used for monitoring serial communication bi-directional data and the master cpu will sent out by data wire after image data packing, described master cpu and the first optocoupler IC, second optocoupler IC forms the isolation monitoring of serial data two-way communication, wherein, the input of described first optocoupler IC is connected with communication interface I and communication interface II, the input of described second optocoupler IC is connected with communication interface II and communication interface I, and described first optocoupler IC, the output of the second optocoupler IC is all connected with master cpu.
Wherein, described data wire is A type USB data line, one end of described A type USB data line and monitor box sub-connection, and the USB interface of the other end of described A type USB data line is connected with computer terminal.
Wherein, described communication interface I is pass DB9 interface, and described communication interface II is needle-like DB9 interface.
Wherein, described pass DB9 interface is used for directly being connected with the equipment of needle-like DB9 interface with serial communication line or being connected with the equipment of needle-like DB9 interface with serial communication line by three core connecting lines; Described needle-like DB9 interface is used for directly being connected with the equipment of pass DB9 interface with serial communication line or being connected with the equipment of pass DB9 interface with serial communication line by three core connecting lines.
Wherein, the model of described master cpu is STM32F103.
Wherein, described circuit board, also comprises and after data wire obtains power supply, is adjusted to the power module of 3.3V voltage for master cpu, the first optocoupler IC and the second optocoupler IC for being responsible for.
Wherein, described A type USB data line uses the usb communication agreement of standard when communicating.
Wherein, the special software for display of described computer terminal is by resolving of writing of the VC data that USB data line transmits and by transceiving data separately display, and ASCII character, hexadecimal format display can be pressed, ASCII or the hexadecimal data of test can be sent, monitoring box can be detected and whether be connected normally with computer terminal.
Beneficial effect:
Monitoring device described in the utility model has a communication interface I and communication interface II, utilizing this interface can directly be serially connected in original communication line does not need to do the change of any circuit, the full-duplex data of photoelectric isolating circuit plate to serial communication is had to monitor in this monitoring device, and by bi-directional data pack after by data line transfer to computer terminal, show the two-way data of serial communication in real time by the special software for display that computer terminal writes in advance.This device supports the interfaces such as RS-232, RS-485, RS-422, can analyze for serial communication product design and product communication failure easily.
Accompanying drawing explanation
The structural representation of a kind of smooth isolated serial port communication monitoring device that Fig. 1 provides for the utility model specific embodiment;
The structural representation of a kind of smooth isolated serial port communication monitoring device that Fig. 2 provides for the utility model specific embodiment when system monitoring;
The Circuits System schematic diagram of a kind of smooth isolated serial port communication monitoring device that Fig. 3 provides for the utility model specific embodiment;
Fig. 4 is the special software for display operation interface schematic diagram of computer terminal.
In figure:
1-data wire; 2-communication interface I; 4-communication interface II; 6-monitors box; 7-computer terminal; 8-master cpu; 9-first optocoupler IC; 10-second optocoupler IC; 11-power module.
Embodiment
Clearly understand to make the purpose of this utility model, technical scheme and advantage, below in conjunction with drawings and Examples, the utility model is further elaborated, be to be understood that, specific embodiment described herein only in order to explain the utility model, and is not used in restriction the utility model.
As shown in Figure 1-Figure 3, a kind of light isolated serial port communication monitoring device described in the utility model, comprises the monitoring box 6 be serially connected in serial communication line, for being connected to show the data wire 1 of monitoring information with computer terminal 7, the computer terminal 7 of special software for display being housed;
The two ends of described monitoring box 6 are provided with for carrying out the communication interface I2 that is connected and communication interface II4 with the transceiver in serial communication line, the inside of described monitoring box 6 is provided with the Phototube Coupling monitoring for being responsible for serial communication bi-directional data and Monitoring Data packing is sent to the circuit board of data wire 1, described circuit board comprises the two panels optocoupler IC of the Phototube Coupling for being responsible for serial communication bi-directional data, be used for monitoring serial communication bi-directional data and the master cpu 8 will sent out by data wire 1 after image data packing, described master cpu 8 and the first optocoupler IC9, second optocoupler IC10 forms the isolation monitoring of serial data two-way communication, wherein, the input of described first optocoupler IC9 is connected with communication interface I2 and communication interface II4, the input of described second optocoupler IC10 is connected with communication interface II4 and communication interface I2, and described first optocoupler IC9, the output of the second optocoupler IC10 is all connected with master cpu 8.
To sum up, monitoring device described in the utility model has a communication interface I2 and communication interface II4, utilizing this interface can directly be serially connected in original communication line does not need to do the change of any circuit, the full-duplex data of photoelectric isolating circuit plate to serial communication is had to monitor in this monitoring device, and be transferred to computer terminal 7 by data wire 1 after being packed by bi-directional data, the two-way data of serial communication are shown in real time by the special software for display that computer terminal 7 writes in advance, make to use up receiving and sending messages of isolation monitoring communicating pair, do not affect former communication line completely, receiving and sending messages of communicating pair can be shown completely pellucidly.This device supports the interfaces such as RS-232, RS-485, RS-422, can analyze for serial communication product design and product communication failure easily.
When implementing this programme, preferably, described data wire 1 is A type USB data line, and one end of described A type USB data line is connected with monitoring box 6, and the USB interface of the other end of described A type USB data line is connected with computer terminal 7.Described communication interface I2 is pass DB9 interface, and described communication interface II4 is needle-like DB9 interface.
Described pass DB9 interface is used for directly being connected with the equipment of needle-like DB9 interface with serial communication line or being connected with the equipment of needle-like DB9 interface with serial communication line by three core connecting lines; Described needle-like DB9 interface is used for directly being connected with the equipment of pass DB9 interface with serial communication line or being connected with the equipment of pass DB9 interface with serial communication line by three core connecting lines.
Two different DB9 interfaces can facilitate this monitoring device to be serially connected in original communication line, A type USB data line is responsible for that the two-way communication data monitored are sent to computer terminal 7 and is shown, the material object of pass DB9 interface is as marked shown in 2 in Fig. 1, the material object of needle-like DB9 interface is as marked shown in 4 in Fig. 1.Mark 6 in accompanying drawing 1 is by circuit board and all packaged structure chart of interface.As shown in Figure 2, when equipment one communicates with equipment two, monitoring box 6 is connected in series between both devices, only the pass DB9 interface of the needle-like DB9 interface of equipment one and this monitoring device directly need be docked, again the needle-like DB9 interface of this monitoring device is connected with the pass DB9 interface of equipment two by three core connecting lines, does not affect original communication line completely.One end of A type USB data line is connected on the circuit board of this monitoring device by USB four-core socket, the other end is directly connected in the USB port of the computer terminal 7 of display monitoring result by A type USB interface, the bi-directional data of the software display communication equipment room sending and receiving that computer terminal 7 utilizes VC to write.As shown in Figure 3, this circuit board is that the isolation that the master cpu 8 of STM32F103 and the first optocoupler IC9, the second optocoupler IC10 form serial data is monitored by model, connect communication equipment and use needle-like DB9 interface and pass DB9 interface respectively, simply can be serially connected in original communication line and carry out data double-way monitoring, on original communication completely without impact, power module 11 primary responsibility is adjusted to 3.3V voltage for master cpu 8, first optocoupler IC9 and the second optocoupler IC10 after A type USB data line obtains power supply.The bi-directional data monitored is delivered to computer terminal 7 by A type USB data line and is shown, and data are carried out sending and receiving with VC programming and shown respectively by computer terminal 7.
Described A type USB data line uses the usb communication agreement of standard when communicating.
As shown in Figure 4, the special software for display of described computer terminal 7 is by resolving of writing of the VC data that USB data line transmits and by transceiving data separately display, and ASCII character, hexadecimal format display can be pressed, ASCII or the hexadecimal data of test can be sent, monitoring box 6 can be detected and whether be connected normally with computer terminal 7.Be illustrated in figure 4 the software interface that computer terminal 7 shows the bi-directional data that A type USB data line receives, the serial data of receive direction is in the display of reception display field, the serial data of sending direction is in the display of transmission display field, the data of display can be ascii character or Hexadecimal form, selected the hexadecimal the Show Button on interface by hexadecimal display, cls button can empty two viewing areas.Utilize start button just can start serial port communication data monitoring, utilize stop button can stop or suspend monitoring.This software also can carry out communication debugging by being sent to serial ports at command area input arbitrary data, the optional ascii character of data or hexadecimal format, if send hexadecimal data, select hexadecimal button, then click transmission button and data are sent.Whether normally utilize equipment Inspection button can detect this monitoring device, if normally existed, at interface display " monitoring equipment is normal ", otherwise can show " monitoring equipment is abnormal ".
Specific embodiment described herein is only to the utility model explanation for example.The utility model person of ordinary skill in the field can make various amendment or supplements or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present utility model or surmount the scope that appended claims defines.
Claims (7)
1. a light isolated serial port communication monitoring device, is characterized in that, comprises the monitoring box be serially connected in serial communication line, for being connected with the data wire showing monitoring information, computer terminal with computer terminal;
The two ends of described monitoring box are provided with for carrying out the communication interface I that is connected and communication interface II with the transceiver in serial communication line, the inside of described monitoring box is provided with the Phototube Coupling monitoring for being responsible for serial communication bi-directional data and Monitoring Data packing is sent to the circuit board of data wire, described circuit board comprises the two panels optocoupler IC of the Phototube Coupling for being responsible for serial communication bi-directional data, be used for monitoring serial communication bi-directional data and the master cpu will sent out by data wire after image data packing, described master cpu and the first optocoupler IC, second optocoupler IC forms the isolation monitoring of serial data two-way communication, wherein, the input of described first optocoupler IC is connected with communication interface I and communication interface II, the input of described second optocoupler IC is connected with communication interface II and communication interface I, and described first optocoupler IC, the output of the second optocoupler IC is all connected with master cpu.
2. a kind of light isolated serial port communication monitoring device according to claim 1, it is characterized in that, described data wire is A type USB data line, one end of described A type USB data line and monitor box sub-connection, and the USB interface of the other end of described A type USB data line is connected with computer terminal.
3. a kind of light isolated serial port communication monitoring device according to claim 1 and 2, is characterized in that, described communication interface I is pass DB9 interface, and described communication interface II is needle-like DB9 interface.
4. a kind of light isolated serial port communication monitoring device according to claim 3, it is characterized in that, described pass DB9 interface is used for directly being connected with the equipment of needle-like DB9 interface with serial communication line or being connected with the equipment of needle-like DB9 interface with serial communication line by three core connecting lines; Described needle-like DB9 interface is used for directly being connected with the equipment of pass DB9 interface with serial communication line or being connected with the equipment of pass DB9 interface with serial communication line by three core connecting lines.
5. a kind of light isolated serial port communication monitoring device according to claim 1, is characterized in that, the model of described master cpu is STM32F103.
6. a kind of light isolated serial port communication monitoring device according to claim 1, it is characterized in that, described circuit board, also comprises and after data wire obtains power supply, is adjusted to the power module of 3.3V voltage for master cpu, the first optocoupler IC and the second optocoupler IC for being responsible for.
7. a kind of light isolated serial port communication monitoring device according to claim 2, is characterized in that, described A type USB data line uses the usb communication agreement of standard when communicating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520886038.3U CN205123729U (en) | 2015-11-06 | 2015-11-06 | Serial communication monitoring devices is kept apart to light |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201520886038.3U CN205123729U (en) | 2015-11-06 | 2015-11-06 | Serial communication monitoring devices is kept apart to light |
Publications (1)
Publication Number | Publication Date |
---|---|
CN205123729U true CN205123729U (en) | 2016-03-30 |
Family
ID=55579298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201520886038.3U Expired - Fee Related CN205123729U (en) | 2015-11-06 | 2015-11-06 | Serial communication monitoring devices is kept apart to light |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN205123729U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI709757B (en) * | 2019-07-24 | 2020-11-11 | 儀騰科技有限公司 | Fiber-optics communication component test device |
-
2015
- 2015-11-06 CN CN201520886038.3U patent/CN205123729U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI709757B (en) * | 2019-07-24 | 2020-11-11 | 儀騰科技有限公司 | Fiber-optics communication component test device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201188045Y (en) | Portable apparatus for rapidly detecting a plurality of sensors | |
CN106959392A (en) | TAX detection means | |
CN202352300U (en) | Large-area LED display screen control system | |
CN205123729U (en) | Serial communication monitoring devices is kept apart to light | |
CN101975937A (en) | Smart card simulator device and using method thereof | |
CN201421586Y (en) | Multipath signal input device | |
CN201104280Y (en) | Remote power monitoring apparatus | |
CN109143019A (en) | A kind of protective relaying device board Auto-Test System | |
CN204666762U (en) | A kind of cable wire sequence detecting device | |
CN105261278A (en) | Camera module group demonstration tool system, and communication and detection method thereof | |
CN203720314U (en) | Apparatus for integrated testing of circuit board functions | |
CN206362871U (en) | TAX detection means | |
CN1127190C (en) | Communication management device of measuring and control unit in automatization system of transformer station | |
CN203840626U (en) | Electric power carrier wave intelligent railway signal lighting system | |
CN202089280U (en) | Visual detection apparatus of small cigarette package and strip package transparent paper drawing line | |
CN105844457B (en) | Consumption data acquisition intelligence box | |
CN209044319U (en) | A kind of isolation switch device having more board information monitorings | |
CN200941208Y (en) | Device to operate USB interface | |
CN105810060A (en) | Power total control apparatus | |
CN202274170U (en) | Control system of reliable type electric performer | |
KR20000037243A (en) | Network utp cable test device | |
CN202393862U (en) | Fault indicator and terminal thereof for power system | |
CN105487948A (en) | RS232 port test apparatus and test method | |
CN109828448A (en) | A kind of isolation switch device having more board information monitorings | |
CN205829693U (en) | A kind of multimedia service demonstration device based on NFC technique and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160330 Termination date: 20181106 |