CN210377443U - Multi-channel serial port isolation module with state detection function - Google Patents
Multi-channel serial port isolation module with state detection function Download PDFInfo
- Publication number
- CN210377443U CN210377443U CN201921288579.0U CN201921288579U CN210377443U CN 210377443 U CN210377443 U CN 210377443U CN 201921288579 U CN201921288579 U CN 201921288579U CN 210377443 U CN210377443 U CN 210377443U
- Authority
- CN
- China
- Prior art keywords
- level
- isolation
- cpld
- module
- 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.)
- Active
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The utility model discloses a module is kept apart to multichannel serial ports with state detection function, including multichannel RS232 signal input port, multichannel RS232 signal output port, CPLD and 232 communication interface, its characterized in that: the input end of the CPLD is connected with a receiving isolation optocoupler set, a first detection level isolation optocoupler and a second detection level isolation optocoupler of a second RS232-TTL level conversion chip through signal lines, and the output end of the CPLD is connected with a second TTL-RS232 level conversion chip and a transmitting isolation optocoupler set through signal lines. The utility model discloses possess the electric isolation that provides between each node on the RS232 bus through the opto-coupler device, cut off the electrical apparatus connection between each node, make no longer influence each other between the level between each node, strengthened ware common mode interference killing feature; the module also provides a port state detection function, can effectively detect the port state, sends out an alarm when the port fails, and judges the failure reason.
Description
Technical Field
The utility model relates to a serial communication technical field specifically is a multichannel serial ports isolation module with state detection function.
Background
RS232, an earlier-identified serial communication interface standard, is widely used for communication connection between a master controller and various devices in computers, various peripheral devices and industrial control, and is a standard interface of data terminal devices. However, the existing RS232 serial communication technology has the following disadvantages: firstly, the standard adopts a common-ground transmission mode, so that common-mode interference is easy to generate; and secondly, when the transmission interface fails, corresponding failure early warning is not provided, and the failure of the host or the peripheral serial port cannot be judged. Third, most of the existing serial port isolation products are single channels, and if a plurality of peripheral devices need to be connected to the RS232 serial port bus, the serial port isolation products can be realized only by additionally installing a plurality of devices.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a multichannel serial ports isolation module with state detection function possesses the electrical isolation that can provide for between each node on the RS232 bus through the opto-coupler device, has cut off the electrical apparatus connection between each node, makes no longer influence each other between the level between each node, has strengthened ware common mode interference killing feature; the module also provides a port state detection function, can effectively detect the port state, sends out an alarm when the port fails, and judges the fault reason, thereby solving the following defects of the existing RS232 serial communication technology: firstly, the standard adopts a common-ground transmission mode, so that common-mode interference is easy to generate; and secondly, when the transmission interface fails, corresponding failure early warning is not provided, and the failure of the host or the peripheral serial port cannot be judged. Thirdly, most of the existing serial port isolation products are single channels, and if a plurality of peripheral devices need to be connected to the RS232 serial port bus, a plurality of devices need to be additionally arranged to realize the serial port isolation products.
In order to achieve the above object, the utility model provides a following technical scheme: the utility model provides a multichannel serial ports isolation module with state detection function, includes multichannel RS232 signal input port, multichannel RS232 signal output port, CPLD and 232 communication interface, its characterized in that: the input end of the CPLD is connected with a receiving isolation optocoupler set, a first detection level isolation optocoupler and a second detection level isolation optocoupler of a second RS232-TTL level conversion chip through signal lines, and the output end of the CPLD is connected with a second TTL-RS232 level conversion chip and a transmitting isolation optocoupler set through signal lines.
Preferably, the transmitting isolating optocoupler set and the receiving isolating optocoupler set are composed of eight optical couplers.
Preferably, the first detection level isolation optical coupler and the second detection level isolation optical coupler are respectively in signal connection with the TX end level detection module and the RX end level detection module through signal lines, the TX end level detection module and the RX end level detection module are respectively in signal connection with the two analog switches through signal lines, and the TX end level detection module and the RX end level detection module are both in signal connection with the multi-path RS232 signal output port through signal lines.
Preferably, the communication interface of the CPLD is in signal connection with the 232 communication interface, and the CPLD transmits information to the main control unit through the 232 communication interface.
Preferably, the CPLD is in signal connection with the multiple RS232 signal input ports through a second TTL-RS232 level conversion chip and a second RS232-TTL level conversion chip.
Preferably, the emission isolation optocoupler set is in signal connection with the multiple RS232 signal output ports through a first TTL-RS232 level conversion chip.
Preferably, the receiving isolation optocoupler set is in signal connection with the multiple RS232 signal output ports through a first RS232-TTL level conversion chip.
Compared with the prior art, the beneficial effects of the utility model are that:
1. by arranging the transmitting isolating optocoupler group and the receiving isolating optocoupler group, the optocoupler circuit provides an isolating function, so that the transmitting and receiving circuit is in an isolating state, the electrical connection of transmitting and receiving is effectively blocked, and the common-mode interference is reduced;
2. the two analog switches are arranged and used for switching different output ports, and a group of level detection modules can realize the state detection of 8-path ports in a time division multiplexing mode;
3. through setting a 232 communication interface, a user can conveniently control the mapping relation between the multi-channel RS232 signal input port and the multi-channel RS232 signal output port by the CPLD through the program firmware, and the function definition of the output port can be flexibly adjusted more conveniently.
Drawings
Fig. 1 is a schematic view of an electrical connection structure of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "upper", "lower", "inner", "outer", "front end", "rear end", "both ends", "one end", "the other end" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the device or element to which the reference is made must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "disposed," "connected," and the like are to be construed broadly, and for example, "connected" may be either fixedly connected or detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1, the present invention provides an embodiment: the utility model provides a multichannel serial ports keeps apart module with state detection function, including multichannel RS232 signal input port, multichannel RS232 signal output port, CPLD, and 232 communication interface, CPLD's input is connected with through the signal line and receives and keeps apart opto-coupler group, the first detection level of second RS232-TTL level conversion chip keeps apart opto-coupler and the isolation opto-coupler of second detection level, first detection level keeps apart the opto-coupler, the isolation opto-coupler of second detection level passes through the signal line and respectively with TX end level detection module and RX end level detection module signal connection, TX end level detection module and RX end level detection module pass through the signal line respectively with two analog switch electric connection, TX end level detection module and RX end level detection module all pass through signal line and multichannel RS232 signal output port signal connection.
The output end of the CPLD is connected with a second TTL-RS232 level conversion chip and a transmitting isolation optocoupler set through signal lines, the transmitting isolation optocoupler set and a receiving isolation optocoupler set are composed of eight paths of optocouplers, the transmitting isolation optocoupler set is in signal connection with a multi-path RS232 signal output port through the first TTL-RS232 level conversion chip, the receiving isolation optocoupler set is in signal connection with the multi-path RS232 signal output port through the first RS232-TTL level conversion chip, the CPLD is in signal connection with the multi-path RS232 signal input port through the second TTL-RS232 level conversion chip and the second RS232-TTL level conversion chip, a communication interface of the CPLD is in signal connection with a 232 communication interface, and the CPLD transmits information into the main control unit through the 232 communication interface.
The working principle is as follows: multichannel serial ports passes through multichannel RS232 input port and is connected to the module to through second RS232-TTL level conversion chip (the utility model discloses use MAX1489E as the level conversion chip in the transceiver circuit) to convert the RS232 level into the TTL level and input CPLD, in handling the corresponding opto-coupler circuit in the back transmission opto-coupler group (constitute by 8 ways optical coupling), the conversion of rethread first TTL-RS232 level conversion chip is RS232 level with TTL level conversion, sends corresponding serial port.
In the receiving process, signals sent by the peripheral equipment are converted into TTL levels through a first RS232-TTL level conversion chip, received to a CPLD through corresponding optocouplers in a receiving isolation optocoupler group (consisting of 8 optical couplers), processed and sent to a second TTL-RS232 level conversion chip to convert the TTL levels into RS232 levels and received to a serial port bus of a computer or an industrial personal computer; the optical coupling circuit provides an isolation function, so that the transceiver circuit is in an isolation state, the transceiver electrical connection is effectively blocked, and the common-mode interference is reduced.
The receiving and transmitting signals of the multi-path RS232 signal output port are respectively connected to a transmitting level detection module and a receiving level detection module through two groups of analog switches and are used for detecting the working state, connection, disconnection or fault of the RS232 port; the analog switch is used for switching different output ports, and a group of level detection modules can realize the state detection of 8 paths of ports in a time division multiplexing mode.
According to the characteristics of RS232 level, logic 1(MARK) on data interfaces TxD and RxD is marked by-3V to-15V level, logic 0(SPACE) is marked by +3 to +15V level, and other levels outside the range are invalid levels.
The TX end level detection module and the RX end level detection module are used for judging whether the receiving or transmitting level of the RS232 output port is in an effective level range, if the level is in the effective level range, a low level is output, if the level is not in the effective range, a high level is output, and the signal is respectively input into the CPLD through the first detection level isolation optocoupler and the second detection level isolation optocoupler for state judgment.
The CPLD compares the level with the configuration information after detecting the level, and if the port is configured to be effective but the received detection level is high, the port is set to be in a receiving or transmitting fault state; the CPLD controls the analog switch to switch and sequentially detect the receiving and sending states of the 8 output serial ports, and transmits information to the main control unit through the 232 communication interface.
The CPLD can control the mapping relation between the multi-channel RS232 signal input port and the multi-channel RS232 signal output port through the program firmware, and the mapping relation can be configured through the 232 communication interface, so that the function definition of the output port can be flexibly adjusted more conveniently.
It is obvious to a person skilled in the art that the invention is not restricted to details of the above-described exemplary embodiments, but that it can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (7)
1. The utility model provides a multichannel serial ports isolation module with state detection function, includes multichannel RS232 signal input port, multichannel RS232 signal output port, CPLD and 232 communication interface, its characterized in that: the input end of the CPLD is connected with a receiving isolation optocoupler set, a first detection level isolation optocoupler and a second detection level isolation optocoupler of a second RS232-TTL level conversion chip through signal lines, and the output end of the CPLD is connected with a second TTL-RS232 level conversion chip and a transmitting isolation optocoupler set through signal lines.
2. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: and the transmitting isolation optocoupler group and the receiving isolation optocoupler group are respectively composed of eight optical couplers.
3. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: the first detection level isolation optical coupler and the second detection level isolation optical coupler are in signal connection with a TX end level detection module and an RX end level detection module respectively through signal lines, the TX end level detection module and the RX end level detection module are in electrical connection with two analog switches respectively through signal lines, and the TX end level detection module and the RX end level detection module are in signal connection with a multi-channel RS232 signal output port through signal lines.
4. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: the communication interface of the CPLD is in signal connection with the 232 communication interface, and the CPLD transmits information to the main control unit through the 232 communication interface.
5. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: and the CPLD is in signal connection with the multi-path RS232 signal input port through a second TTL-RS232 level conversion chip and a second RS232-TTL level conversion chip.
6. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: the emission isolation optocoupler set is in signal connection with the multiple RS232 signal output ports through a first TTL-RS232 level conversion chip.
7. The multi-channel serial port isolation module with the state detection function according to claim 1, wherein: the receiving isolation optocoupler set is in signal connection with the multiple RS232 signal output ports through a first RS232-TTL level conversion chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921288579.0U CN210377443U (en) | 2019-08-09 | 2019-08-09 | Multi-channel serial port isolation module with state detection function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201921288579.0U CN210377443U (en) | 2019-08-09 | 2019-08-09 | Multi-channel serial port isolation module with state detection function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN210377443U true CN210377443U (en) | 2020-04-21 |
Family
ID=70249977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201921288579.0U Active CN210377443U (en) | 2019-08-09 | 2019-08-09 | Multi-channel serial port isolation module with state detection function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN210377443U (en) |
-
2019
- 2019-08-09 CN CN201921288579.0U patent/CN210377443U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100593122B1 (en) | Redundant communications in a protective relay | |
CN110445533A (en) | A kind of dual redundant fiber optic Ethernet Transmission system | |
CN216596246U (en) | Self-adaptive circuit compatible with multi-serial port protocol and communication equipment | |
WO1998028883B1 (en) | Network including multi-protocol cross-connect switch | |
CN210377443U (en) | Multi-channel serial port isolation module with state detection function | |
US6328480B1 (en) | Connectors for providing fibre optic connection to Ethernet devices having twisted-pair connections | |
CN102055634A (en) | CAN node interconnection device based on optical fibers | |
CN214544305U (en) | Network transmission device and network transmission equipment | |
CN213957869U (en) | Internet gateway circuit | |
CN110855451B (en) | Non-bus signal switching system | |
CN209765328U (en) | industrial-grade remote IO module based on EtherCAT | |
CN112449148B (en) | Camera, camera system and data transmission system | |
CN201533316U (en) | Power-line carrier adapter and power-line carrier communication equipment provided therewith | |
WO2015131670A1 (en) | Device, method and system for achieving rack stacking based on switching network | |
TWI459758B (en) | Vdsl network system and a vdsl repeater thereof | |
CN111277471B (en) | Quick detection device of no central network connection | |
CN216670538U (en) | Switching value signal acquisition equipment | |
CN216721335U (en) | Data conversion device and hydrogen energy equipment | |
CN215912115U (en) | Communication test circuit and communication test tool | |
CN212277922U (en) | Lightning protection photoelectric isolation plug-in card for logging instrument well depth data channel | |
CN201682500U (en) | Interface conversion device of monitoring system | |
CN213521955U (en) | Serial port hybrid communication system applied to Internet of things | |
CN214174484U (en) | 5G light difference detection circuit and device | |
CN211046955U (en) | Fault monitoring device for wireless network bridge communication system | |
CN218240277U (en) | Cable state detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |