CN201114169Y - Serial communication interface isolation driving circuit - Google Patents
Serial communication interface isolation driving circuit Download PDFInfo
- Publication number
- CN201114169Y CN201114169Y CNU2007201554062U CN200720155406U CN201114169Y CN 201114169 Y CN201114169 Y CN 201114169Y CN U2007201554062 U CNU2007201554062 U CN U2007201554062U CN 200720155406 U CN200720155406 U CN 200720155406U CN 201114169 Y CN201114169 Y CN 201114169Y
- Authority
- CN
- China
- Prior art keywords
- serial communication
- output
- communication interface
- terminal
- photocoupler
- 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 - Lifetime
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
技术领域 technical field
本实用新型涉及一种通信接口电路,特别是一种使串行总线上的设备在线上电和电源故障时不会对总线造成影响的串行通信接口隔离驱动电路。The utility model relates to a communication interface circuit, in particular to a serial communication interface isolation driving circuit which prevents the equipment on the serial bus from being affected by the bus when it is powered on and the power supply fails.
背景技术 Background technique
半双工串行通信驱动芯片是通信领域大量应用的芯片。以RS485通信接口为例,一种主要的应用方式是:CPU通信方向控制信号直接连接所述RS485的方向控制端,RS485的方向控制端都是采用低电平控制芯片接受通信信号,高电平控制发送通信信号。由于所述RS485总线上同一时间只能允许一个驱动口处于发送状态,所以总线上的设备驱动或故障时都不能处于发送状态,特别是在线连接设备时,因一些CPU复位后端口呈现高电平状态,而RS485驱动芯片方向控制端是高电平处于发送状态,所以启动时会造成总线上多个设备都处于发送状态,从而引起总线故障。The half-duplex serial communication driver chip is a chip widely used in the field of communication. Taking the RS485 communication interface as an example, a main application method is: the CPU communication direction control signal is directly connected to the direction control terminal of the RS485, and the direction control terminal of the RS485 uses a low-level control chip to receive the communication signal, and a high-level control chip Controls the sending of communication signals. Since the RS485 bus can only allow one driver port to be in the sending state at the same time, the device on the bus cannot be in the sending state when it is driven or faulty, especially when the device is connected online, because some CPU ports show a high level after reset state, while the direction control terminal of the RS485 driver chip is in the sending state at a high level, so when starting, it will cause multiple devices on the bus to be in the sending state, thereby causing a bus failure.
另一种主要的应用方式为:发出控制信号的CPU电源与RS485电源采用光电耦合器(以下简称光耦)隔离,CPU发出的通信方向控制信号通过光耦与RS485的通信方向控制信号连接。当作为方向控制信号发出端的CPU掉电后,光耦输出端为高电平信号,使RS485处于发送状态,也同样给RS485总线造成故障。Another main application method is: the CPU power supply that sends the control signal and the RS485 power supply are isolated by a photocoupler (hereinafter referred to as the photocoupler), and the communication direction control signal sent by the CPU is connected to the communication direction control signal of the RS485 through the photocoupler. When the CPU, which is the sending end of the direction control signal, is powered off, the output end of the optocoupler is a high-level signal, which makes the RS485 in the sending state, and also causes failures to the RS485 bus.
实用新型内容Utility model content
本实用新型克服了上述缺点,提供了一种结构比较简单、总线设备在线上电和电源故障不会对总线造成影响的串行通信接口隔离驱动电路。The utility model overcomes the above-mentioned shortcomings, and provides a serial communication interface isolation drive circuit with a relatively simple structure, in which the bus equipment is powered on and the power failure does not affect the bus.
本实用新型解决其技术问题所采取的技术方案是:一种串行通信接口隔离驱动电路,包括光电耦合器和串行通信驱动芯片,所述光电耦合器的输入端用于接收CPU发出的通信方向控制信号,所述串行总线用于接收发送总线信号,还包括反向器,所述光电耦合器的输出连接到所述反向器的输入端,所述反向器的输出端与所述串行通信驱动芯片的方向控制端相连,所述光电耦合器的输入端和输出端分别采用不同的电源。The technical solution adopted by the utility model to solve the technical problem is: a serial communication interface isolation drive circuit, including a photoelectric coupler and a serial communication drive chip, the input end of the photocoupler is used to receive the communication sent by the CPU Direction control signal, the serial bus is used to receive and send bus signals, and also includes an inverter, the output of the photocoupler is connected to the input of the inverter, and the output of the inverter is connected to the inverter The direction control terminal of the serial communication driver chip is connected, and the input terminal and output terminal of the photocoupler adopt different power sources respectively.
所述光电耦合器的输入端和所述CPU可采用同一电源,所述光电耦合器的输出端可与所述反向器、串行通信驱动芯片采用相同的另一电源。The input end of the optocoupler and the CPU can use the same power supply, and the output end of the optocoupler can use another same power supply as the inverter and the serial communication driver chip.
所述串行通信驱动芯片可为RS485通信驱动芯片。The serial communication driver chip may be an RS485 communication driver chip.
所述光电耦合器可为高速光电耦合器。The optocoupler may be a high-speed optocoupler.
本实用新型通过在光电耦合器的输出端设置反向器,使串行通信驱动芯片的方向控制端是低电平时处于接收状态,高电平时处于发送状态,当光耦的输入端和输出端在使用不同电源情况下,如果光耦与CPU连接的输入端为电源掉电故障或复位时光耦的输入端呈现高电平,所述光耦的输出端也为高电平,经反向器反向输出变为低电平信号,所述低电平信号迫使所述串行通信驱动芯片的通信方向处于接收状态,不会使串行通信总线造成破坏,对串行通信网络起到明显的保护作用。The utility model arranges a reverser at the output end of the optocoupler, so that the direction control end of the serial communication drive chip is in the receiving state when it is low level, and is in the sending state when it is high level. When the input end and output end of the optocoupler In the case of using different power sources, if the input terminal of the optocoupler connected to the CPU is a power failure or reset, the input terminal of the optocoupler presents a high level, and the output terminal of the optocoupler is also at a high level. The reverse output becomes a low-level signal, and the low-level signal forces the communication direction of the serial communication driver chip to be in the receiving state, which will not cause damage to the serial communication bus and play a significant role in the serial communication network. Protective effects.
附图说明 Description of drawings
图1为本实用新型的电路原理图。Fig. 1 is the circuit schematic diagram of the utility model.
具体实施方式 Detailed ways
如图1中所示,为本实用新型一种优选实施例的电路原理图,本实施例中的串行通信驱动芯片采用的是RS485芯片,其中CPU U4的通信方向控制信号通过RT_Ctrl端与一个光电耦合器U1的输入端相连,所述光耦U的输出端连接到一个反向器U2的输入端,而所述反向器U2将接收到的信号反向后输出的信号送入所述RS485芯片U3的方向控制端,所述CPU U4和光耦U1的输入端使用同一个电源VCC,光耦U1的输出端、反向器U2和RS485芯片U3则使用另一个电源VCC1。As shown in Fig. 1, it is the circuit principle diagram of a kind of preferred embodiment of the utility model, what the serial communication drive chip in the present embodiment adopts is the RS485 chip, wherein the communication direction control signal of CPU U4 communicates with a RT_Ctrl end through RT_Ctrl end The input end of the optocoupler U1 is connected, the output end of the optocoupler U is connected to the input end of an inverter U2, and the output signal of the inverted signal received by the inverter U2 is sent to the The direction control terminal of the RS485 chip U3, the input terminal of the CPU U4 and the optocoupler U1 use the same power supply VCC, and the output terminal of the optocoupler U1, the inverter U2 and the RS485 chip U3 use another power supply VCC1.
根据上述结构可知,由于光耦U1的输出通信方向控制信号通过反向器U2反向后控制所述RS485 U3的信号传输方向,因此使串行通信驱动芯片的方向控制端是低电平时处于接收状态,高电平时处于发送状态,当光耦的输入端和输出端在使用不同电源情况下,如果光耦与CPU连接的输入端为电源掉电故障或复位时光耦的输入端呈现高电平,所述光耦的输出端也为高电平,经反向器反向输出变为低电平信号,所述低电平信号迫使所述串行通信驱动芯片的通信方向处于接收状态,不会使串行通信总线造成破坏,对串行通信网络起到明显的保护作用。According to the above structure, since the output communication direction control signal of the optocoupler U1 is reversed by the inverter U2 to control the signal transmission direction of the RS485 U3, the direction control terminal of the serial communication driver chip is in the receiving state when it is at a low level. state, it is in the sending state when it is high, when the input and output of the optocoupler use different power sources, if the input of the optocoupler connected to the CPU is a power failure or reset, the input of the optocoupler presents a high level , the output terminal of the optocoupler is also at a high level, and the reverse output of the inverter becomes a low level signal, and the low level signal forces the communication direction of the serial communication driver chip to be in the receiving state. It will cause damage to the serial communication bus and play an obvious role in protecting the serial communication network.
以上对本实用新型所提供的串行通信接口隔离驱动电路进行了详细介绍,本文中应用了具体个例对本实用新型的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本实用新型的方法及其核心思想;同时,对于本领域的一般技术人员,依据本实用新型的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本实用新型的限制。The above is a detailed introduction to the serial communication interface isolation drive circuit provided by the utility model. In this paper, specific examples are used to illustrate the principle and implementation of the utility model. The description of the above embodiments is only used to help understand the utility model. new method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the utility model, there will be changes in the specific implementation and application scope. In summary, the contents of this specification should not It should be understood as a limitation of the present utility model.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNU2007201554062U CN201114169Y (en) | 2007-06-29 | 2007-06-29 | Serial communication interface isolation driving circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNU2007201554062U CN201114169Y (en) | 2007-06-29 | 2007-06-29 | Serial communication interface isolation driving circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN201114169Y true CN201114169Y (en) | 2008-09-10 |
Family
ID=39965918
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNU2007201554062U Expired - Lifetime CN201114169Y (en) | 2007-06-29 | 2007-06-29 | Serial communication interface isolation driving circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN201114169Y (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101997603A (en) * | 2009-08-14 | 2011-03-30 | 国际商业机器公司 | Power-up of device via optical serial interface |
| CN109167594A (en) * | 2017-10-30 | 2019-01-08 | 武汉奇致激光技术股份有限公司 | A kind of photoelectric coupling structures and methods of micro controller and one-wire bus device |
-
2007
- 2007-06-29 CN CNU2007201554062U patent/CN201114169Y/en not_active Expired - Lifetime
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101997603A (en) * | 2009-08-14 | 2011-03-30 | 国际商业机器公司 | Power-up of device via optical serial interface |
| US8542991B2 (en) | 2009-08-14 | 2013-09-24 | International Business Machines Corporation | Power-up of device via optical serial interface |
| CN101997603B (en) * | 2009-08-14 | 2014-08-13 | 国际商业机器公司 | Method of utilization via optical serial interface |
| CN109167594A (en) * | 2017-10-30 | 2019-01-08 | 武汉奇致激光技术股份有限公司 | A kind of photoelectric coupling structures and methods of micro controller and one-wire bus device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101436786A (en) | Power supply switching device and network equipment | |
| CN204965418U (en) | Novel RS -485 interface drive circuit | |
| CN201434881Y (en) | A kind of RS485 interface circuit and electric energy meter using the circuit | |
| CN103838700A (en) | level multiplexing control serial communication device and communication method thereof | |
| CN210222744U (en) | Master-slave equipment switching device and terminal equipment based on USB _ OTG mode | |
| CN103294629B (en) | A kind of interface conversion circuit and device | |
| US20220206983A1 (en) | Low Power Embedded USB2 (eUSB2) Repeater | |
| CN102749986A (en) | USB 3.0 main control device and method for reducing low power consumption thereof | |
| CN104485999A (en) | Optical transmission device and optical transceiver module | |
| CN201114169Y (en) | Serial communication interface isolation driving circuit | |
| CN207801971U (en) | A kind of airborne CAN bus repeater | |
| CN205302279U (en) | Serial interface data protocol converter | |
| CN210490838U (en) | Isolated communication circuit and system | |
| CN211124025U (en) | Multi-protocol simulation simulator | |
| CN110888831B (en) | A multi-power domain asynchronous communication device | |
| CN216526802U (en) | Equipment for realizing on-line programming of CAN bus to embedded programmable controller | |
| CN103631186B (en) | A kind of on-board equipment plug and play test interface circuit and realize instant inserted and instant using type data transmission method | |
| CN202872758U (en) | Intrinsically safe serial port communication isolating circuit for mining | |
| CN107577634B (en) | Control method for device connected with chip set and host | |
| CN107332673B (en) | A USB2.0\3.0 HUB using ultra-high frequency microwave isolation | |
| CN208384565U (en) | A low-power RS485 communication interface circuit | |
| CN202257145U (en) | Control box | |
| CN202563487U (en) | Electronic whiteboard adapter | |
| CN206041992U (en) | A bluetooth communication system | |
| CN201449605U (en) | An Application System of Single Chip Microcomputer Serial Port Communication Circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| ASS | Succession or assignment of patent right |
Owner name: CHONGQING CHUANYI AUTOMATION CO., LTD. Free format text: FORMER OWNER: CHONGQING SICHUAN INSTRUMENT COMPLEX CO.,LTD. Effective date: 20090403 |
|
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20090403 Address after: No. 1, people's village, Beibei District, Chongqing, China: 400700 Patentee after: Chongqing Sichuan Instrument Complex Co., Ltd. Address before: No. 61, Mount Huangshan Avenue, North New District, Chongqing: 401121 Co-patentee before: Technical Center of China Silan Instrument Group Co., Ltd. Patentee before: Chongqing Sichuan General Factory Co., Ltd. |
|
| CX01 | Expiry of patent term |
Granted publication date: 20080910 |
|
| CX01 | Expiry of patent term |