CN212012667U - Half-duplex relay circuit - Google Patents

Half-duplex relay circuit Download PDF

Info

Publication number
CN212012667U
CN212012667U CN202021089435.5U CN202021089435U CN212012667U CN 212012667 U CN212012667 U CN 212012667U CN 202021089435 U CN202021089435 U CN 202021089435U CN 212012667 U CN212012667 U CN 212012667U
Authority
CN
China
Prior art keywords
chip
resistor
resistance
bus
inverter
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
CN202021089435.5U
Other languages
Chinese (zh)
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.)
Zhuhai Shengchang Electronics Co ltd
Original Assignee
Zhuhai Shengchang Electronics Co ltd
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 Zhuhai Shengchang Electronics Co ltd filed Critical Zhuhai Shengchang Electronics Co ltd
Priority to CN202021089435.5U priority Critical patent/CN212012667U/en
Application granted granted Critical
Publication of CN212012667U publication Critical patent/CN212012667U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

The utility model discloses a half-duplex relay circuit, including first RS485 chip U1, second RS485 chip U2, first phase inverter U3, second phase inverter U4, pull-up resistance R7, pull-up resistance R9, electric capacity C1, electric capacity C2, resistance R9 and resistance R10, first RS485 chip U1 obtains the data packet from bus 1, and output the effectual pulse signal of low level to second phase inverter U4, output high level after the reversal, so that second RS485 chip U2 is for sending the state, accomplish bus 1 to bus 2's signal relay, bus 2 is opposite with bus 1 to bus 2's relay, can well solve the shortcoming that current signal repeater can only unidirectional transmission signal, the installation of repeater arranges to become simple; and because the non-isolated type is adopted, the cost is low, and the circuit is simple and reliable.

Description

Half-duplex relay circuit
Technical Field
The utility model relates to a relay circuit technical field, in particular to half-duplex relay circuit.
Background
In the prior art, many repeaters can only transmit signals in a single direction, control signals are required to be at the front stage of the repeater, the placement position and wiring of a controller in debugging and application are limited, and a double-isolation half-duplex repeater is also provided, but the signal repeater has the defects of complex circuit, high cost and the like.
SUMMERY OF THE UTILITY MODEL
The utility model discloses aim at solving one of the technical problem that exists among the prior art at least. Therefore, the utility model provides a with low costs, the simple and reliable non-isolated half-duplex relay circuit of circuit.
The utility model discloses a technical scheme that its technical problem was solved to an embodiment adopted is: a half-duplex relay circuit comprises a first RS485 chip U1, a second RS485 chip U2, a first phase inverter U3, a second phase inverter U4, a pull-up resistor R7 and a pull-up resistor R9, wherein an A end and a B end of a first RS485 chip U1 are respectively connected with a bus 1, an RO end of the first RS485 chip U1 is respectively connected with an input end of the second phase inverter U4 and a DI end of a second RS485 chip U2, and an output end of the second phase inverter U4 is respectively connected with an output end of the second RS485 chip U1
Figure BDA0002536162370000011
The end is connected with the DE end, the DI end of the first RS485 chip U1 is respectively connected with the RO end of the second RS485 chip U2 and the input end of the first phase inverter U3, and the output end of the first phase inverter U3 is respectively connected with the output end of the first RS485 chip U1
Figure BDA0002536162370000012
The end of the second RS485 chip U2 is connected with the DE end, the A end and the B end of the second RS485 chip U2 are respectively connected with the bus 2, one end of a pull-up resistor R7 is connected with the input end of a first inverter U3, the other end of the pull-up resistor R7 is respectively connected with an external power supply and the power supply end of the first inverter U3, one end of a pull-up resistor R9 is connected with the input end of a second inverter U4, and the other end of the pull-up resistor R9 is connected with the power supply end of the second inverter U4; the circuit also comprises a resistor R10 and a capacitor C2, wherein one end of the resistor R10 is respectively connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2, and the other end of the resistor R10 is respectively connected with a pull-up resistor R9,One end of the capacitor C2 is connected with the input end of the second inverter U4, and the other end of the capacitor C2 is connected with the ground end; the LED driving circuit further comprises a resistor R8 and a capacitor C1, one end of the resistor R8 is connected with the DI end of the first RS485 chip U1 and the RO end of the second RS485 chip U2 respectively, the other end of the resistor R8 is connected with one end of a pull-up resistor R7, one end of a capacitor C1 and the input end of the first inverter U3 respectively, and the other end of the capacitor C1 is connected with the ground end.
The half-duplex relay circuit further comprises a diode D1 and a diode D2, wherein the anode of the diode D1 is connected with a capacitor C1, the cathode of the diode D1 is respectively connected with the DI end of the first RS485 chip U1 and the RO end of the second RS485 chip U2, the anode of the diode D2 is connected with the capacitor C2, and the cathode of the diode D2 is respectively connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2.
The half-duplex relay circuit further comprises a resistor R2 and a resistor R5, one end of the resistor R2 is connected with the end B of the first RS485 chip U1 and the bus 1, the other end of the resistor R2 is connected with the end A of the first RS485 chip U1 and the bus 1, one end of the resistor R5 is connected with the end B of the second RS485 chip U2 and the bus 2, and the other end of the resistor R5 is connected with the end A of the first RS485 chip U2 and the bus 2.
The half-duplex relay circuit further comprises a resistor R1, a resistor R3, a resistor R4 and a resistor R6, one end of the resistor R1 is grounded, the other end of the resistor R1 is connected with the resistor R2, one end of the resistor R3 is connected with an external power supply, the other end of the resistor R3 is connected with the resistor R2, one end of the resistor R4 is grounded, the other end of the resistor R4 is connected with the resistor R5, one end of the resistor R6 is connected with the external power supply, and the other end of the resistor R6 is connected with the resistor R5.
The utility model has the advantages that: a half-duplex relay circuit comprises a first RS485 chip U1, a second RS485 chip U2, a first inverter U3, a second inverter U4, a pull-up resistor R7, a pull-up resistor R9, a capacitor C1, a capacitor C2, a resistor R9 and a resistor R10, wherein the first RS485 chip U1 obtains a data packet from a bus 1 and outputs a low-level effective pulse signal to the second inverter U4, and outputs a high level after reversing so that the second RS485 chip U2 is in a sending state and completes signal relay from the bus 1 to the bus 2, relay from the bus 2 to the bus 1 is opposite to relay from the bus 1 to the bus 2, the defect that an existing signal relay can only transmit signals in a single direction can be well overcome, and the installation arrangement of the relay becomes simple; and because the non-isolated type is adopted, the cost is low, and the circuit is simple and reliable.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a circuit diagram of a half-duplex relay circuit.
Detailed Description
This section will describe in detail the embodiments of the present invention, preferred embodiments of the present invention are shown in the attached drawings, which are used to supplement the description of the text part of the specification with figures, so that one can intuitively and vividly understand each technical feature and the whole technical solution of the present invention, but they cannot be understood as the limitation of the protection scope of the present invention.
In the description of the present invention, a plurality of means are two or more, and the terms greater than, less than, exceeding, etc. are understood as excluding the number, and the terms greater than, less than, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
In the description of the present invention, it should be understood that the orientation or positional relationship indicated with respect to the orientation description, such as up, down, front, rear, left, right, etc., is based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention.
In the present invention, unless otherwise explicitly defined, the terms "set," "mounted," "connected," and the like are to be understood in a broad sense, and may be directly connected or indirectly connected through an intermediate medium, for example; can be fixedly connected, can also be detachably connected and can also be integrally formed; may be a mechanical connection; either as communication within the two elements or as an interactive relationship of the two elements. The technical skill in the art can reasonably determine the specific meaning of the above words in the present invention by combining the specific contents of the technical solution.
Referring to fig. 1, a half-duplex relay circuit includes: the bus structure comprises a first RS485 chip U1, a second RS485 chip U2, a first inverter U3, a second inverter U4, a pull-up resistor R7 and a pull-up resistor R9, wherein the A end and the B end of the first RS485 chip U1 are respectively connected with a bus 1, the RO end of the first RS485 chip U1 is respectively connected with the input end of the second inverter U4 and the DI end of the second RS485 chip U2, and the output end of the second inverter U4 is respectively connected with the DI end of the second RS485 chip U1
Figure BDA0002536162370000041
The end is connected with the DE end, the DI end of the first RS485 chip U1 is respectively connected with the RO end of the second RS485 chip U2 and the input end of the first phase inverter U3, and the output end of the first phase inverter U3 is respectively connected with the output end of the first RS485 chip U1
Figure BDA0002536162370000051
The end of the second RS485 chip U2 is connected with the DE end, the A end and the B end of the second RS485 chip U2 are respectively connected with the bus 2, one end of a pull-up resistor R7 is connected with the input end of a first inverter U3, the other end of the pull-up resistor R7 is respectively connected with an external power supply and the power supply end of the first inverter U3, one end of a pull-up resistor R9 is connected with the input end of a second inverter U4, and the other end of the pull-up resistor R9 is connected with the power supply end of the second inverter U4; the LED driving circuit further comprises a resistor R10 and a capacitor C2, one end of the resistor R10 is connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2 respectively, the other end of the resistor R10 is connected with the pull-up resistor R9, one end of the capacitor C2 and the input end of the second inverter U4 respectively, and the other end of the capacitor C2 is connected with the ground end; comprises a resistor R8 and a capacitor C1, wherein one end of the resistor R8 is respectively connected with the DI end of the first RS485 chip U1 and the second RS485 chip U2The other end of the resistor R8 is connected to a pull-up resistor R7, one end of a capacitor C1, and the input end of the first inverter U3, respectively, and the other end of the capacitor C1 is connected to the ground.
In the utility model, when the bus 1 and the bus 2 are idle, the input end of the first phase inverter U3 and the input end of the second phase inverter U4 are respectively pulled up to a high level by the pull-up resistor R7 and the pull-up resistor R9, so the output end of the first phase inverter U3 and the output end of the second phase inverter U4 output a low level in opposite phases, and the first RS485 chip U1 and the second RS485 chip U2 are both in a receiving mode; when a data packet is sent from the bus 1, the first RS485 chip U1 receives the data packet and outputs the data packet from the RO terminal, and is input to the input end of a second inverter U4 after passing through a low-pass filter circuit consisting of a resistor R10 and a capacitor C2, since the data packet output by the RO terminal of the first RS485 chip U1 is a pulse signal with low level and high effect, the input of the second inverter U4 is now a low signal for the entire packet time length, therefore, the output terminal of the second inverter U4 inverts and outputs high, so as to make the second RS485 chip U2 in a transmitting mode, meanwhile, the data packet output from the RO terminal of the first RS485 chip U1 is input to the DI terminal of the second RS485 chip U2, then the second RS485 chip U2 sends out a data packet to the bus 2, when the data packet is sent, the bus 1 and the bus 2 are restored to an idle state, the first RS485 chip U1 and the second RS485 chip U2 are both in a receiving mode, and then the signal relay from the bus 1 to the bus 2 is completed;
when a data packet is sent from the bus 2, the second RS485 chip U2 receives the data packet and outputs the data packet from the RO terminal, and is input to the input end of the first inverter U3 after passing through a low-pass filter circuit consisting of a resistor R8 and a capacitor C1, since the data packet output by the RO terminal of the second RS485 chip U2 is a pulse signal with low level and high effect, the input of the first inverter U3 is now low for the entire packet time, therefore, the output terminal of the first inverter U3 inverts and outputs high, causing the first RS485 chip U1 to be in a transmit mode, meanwhile, the data packet output from the RO terminal of the second RS485 chip U2 is input to the DI terminal of the first RS485 chip U1, and then the first RS485 chip U1 sends out a data packet to the bus 1, when the data packet sending is finished, the bus 1 and the bus 2 are restored to the idle state, the first RS485 chip U1 and the second RS485 chip U2 are both in a receiving mode, and then the signal relay from the bus 2 to the bus 1 is finished.
The half-duplex relay circuit further comprises a diode D1 and a diode D2, wherein the anode of the diode D1 is connected with a capacitor C1, the cathode of the diode D1 is respectively connected with the DI end of the first RS485 chip U1 and the RO end of the second RS485 chip U2, the anode of the diode D2 is connected with the capacitor C2, and the cathode of the diode D2 is respectively connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2; the diode D1 and the diode D2 are used for accelerating discharge of the capacitor C1 and the capacitor C2, and can accelerate inversion of the first inverter U3 and the second inverter U4.
The half-duplex relay circuit further comprises a resistor R2 and a resistor R5, one end of the resistor R2 is connected with the B end of the first RS485 chip U1 and the bus 1 respectively, the other end of the resistor R2 is connected with the A end of the first RS485 chip U1 and the bus 1 respectively, one end of the resistor R5 is connected with the B end of the second RS485 chip U2 and the bus 2 respectively, and the other end of the resistor R5 is connected with the A end of the first RS485 chip U2 and the bus 2 respectively; the resistor R2 and the resistor R5 can avoid the problem of signal reflection.
The half-duplex relay circuit further comprises a resistor R1, a resistor R3, a resistor R4 and a resistor R6, wherein one end of the resistor R1 is grounded, the other end of the resistor R1 is connected with the resistor R2, one end of the resistor R3 is connected with an external power supply, the other end of the resistor R3 is connected with the resistor R2, one end of the resistor R4 is grounded, the other end of the resistor R4 is connected with the resistor R5, one end of the resistor R6 is connected with the external power supply, and the other end of the resistor R6 is connected with the resistor R5; the resistor R1, the resistor R3, the resistor R4 and the resistor R6 are bias resistors, and therefore the anti-interference capability of the bus is improved.
Of course, the present invention is not limited to the above-mentioned embodiments, and those skilled in the art can make equivalent modifications or substitutions without departing from the spirit of the present invention, and such equivalent modifications and substitutions are included in the scope defined by the claims of the present application.

Claims (4)

1. A half-duplex relay circuit, comprising: the power supply circuit comprises a first RS485 chip U1, a second RS485 chip U2, a first inverter U3, a second inverter U4, a pull-up resistor R7 and a pull-up resistor R9, wherein the A end and the B end of the first RS485 chip U1 are respectively connected with a bus 1, the RO end of the first RS485 chip U1 is respectively connected with the input end of the second inverter U4 and the DI end of the second RS485 chip U2, the output end of the second inverter U4 is respectively connected with the RE end and the DE end of the second RS485 chip U1, the DI end of the first RS485 chip U1 is respectively connected with the RO end of the second RS485 chip U6329 and the input end of the first inverter U3, the output end of the first inverter U3 is respectively connected with the RE end and the DE end of the first RS485 chip U1, the A end and the B end of the second RS485 chip U2 are respectively connected with the bus 2, one end of the pull-up resistor R7 is respectively connected with the power supply end of the first RS485 chip U585, and the pull-up resistor R573 23, one end of a pull-up resistor R9 is connected with the input end of the second inverter U4, and the other end of the pull-up resistor R9 is connected with the power supply end of the second inverter U4; the LED driving circuit further comprises a resistor R10 and a capacitor C2, one end of the resistor R10 is connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2 respectively, the other end of the resistor R10 is connected with the pull-up resistor R9, one end of the capacitor C2 and the input end of the second inverter U4 respectively, and the other end of the capacitor C2 is connected with the ground end; the LED driving circuit further comprises a resistor R8 and a capacitor C1, one end of the resistor R8 is connected with the DI end of the first RS485 chip U1 and the RO end of the second RS485 chip U2 respectively, the other end of the resistor R8 is connected with one end of a pull-up resistor R7, one end of a capacitor C1 and the input end of the first inverter U3 respectively, and the other end of the capacitor C1 is connected with the ground end.
2. The half-duplex relay circuit of claim 1, wherein: the LED module further comprises a diode D1 and a diode D2, wherein the anode of the diode D1 is connected with the capacitor C1, the cathode of the diode D1 is connected with the DI end of the first RS485 chip U1 and the RO end of the second RS485 chip U2, the anode of the diode D2 is connected with the capacitor C2, and the cathode of the diode D2 is connected with the RO end of the first RS485 chip U1 and the DI end of the second RS485 chip U2.
3. The half-duplex relay circuit of claim 1, wherein: still include resistance R2 and resistance R5, the one end of resistance R2 is connected with B end and bus 1 of first RS485 chip U1 respectively, the other end of resistance R2 is connected with A end and bus 1 of first RS485 chip U1 respectively, the one end of resistance R5 is connected with B end and bus 2 of second RS485 chip U2 respectively, the other end of resistance R5 is connected with A end and bus 2 of first RS485 chip U2 respectively.
4. A half-duplex relay circuit according to claim 3, wherein: still include resistance R1, resistance R3, resistance R4 and resistance R6, the one end ground connection of resistance R1, the other end and the resistance R2 of resistance R1 are connected, the one end and the external power supply of resistance R3 are connected, the other end and the resistance R2 of resistance R3 are connected, the one end ground connection of resistance R4, the other end and the resistance R5 of resistance R4 are connected, the one end and the external power supply of resistance R6 are connected, the other end and the resistance R5 of resistance R6 are connected.
CN202021089435.5U 2020-06-12 2020-06-12 Half-duplex relay circuit Active CN212012667U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021089435.5U CN212012667U (en) 2020-06-12 2020-06-12 Half-duplex relay circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021089435.5U CN212012667U (en) 2020-06-12 2020-06-12 Half-duplex relay circuit

Publications (1)

Publication Number Publication Date
CN212012667U true CN212012667U (en) 2020-11-24

Family

ID=73418552

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021089435.5U Active CN212012667U (en) 2020-06-12 2020-06-12 Half-duplex relay circuit

Country Status (1)

Country Link
CN (1) CN212012667U (en)

Similar Documents

Publication Publication Date Title
CN107395243B (en) Single-wire communication circuit
CN111162815B (en) Full-duplex communication circuit and full-duplex communication device
CN109600288B (en) Isolation circuit and electronic control unit of controller area network CAN signal
CN212012667U (en) Half-duplex relay circuit
CN111711552B (en) Terminal resistor access circuit, servo driver and control system
EP1970816B1 (en) A conversion circuit
CN217935635U (en) Data conversion circuit
CN111600697A (en) Half-duplex relay circuit
CN214311733U (en) RS485 circuit capable of automatically controlling receiving and transmitting
CN212324116U (en) Communication equipment, tower amplifier equipment and automatic switching circuit thereof
CN101662405B (en) Communication circuit of CAN bus
CN209949101U (en) 485 communication is from receiving and dispatching circuit
CN113726622A (en) Communication equipment, tower amplifier equipment and automatic switching circuit thereof
CN109901540B (en) Automatic matching method, circuit and equipment for parallel machine CAN matching resistor
CN218771301U (en) Protection circuit and intelligent gateway of RS485 chip
CN212112465U (en) 3V and 5V singlechip serial port communication circuit
CN216697257U (en) Single-wire asynchronous serial communication circuit realized by photoelectric coupler
CN212322413U (en) Electronic fence communication module
CN203537475U (en) Relay serial port camera
CN220064804U (en) Single-wire-controlled RS485-RS232 switching circuit
CN218471302U (en) Isolation circuit
CN215773149U (en) Communication device based on timer extension
CN113141244B (en) Full duplex communication device, electrical appliance system and communication method thereof
CN209767567U (en) Multi-master RS485 bus system
CN215498960U (en) High-speed CAN isolation transmission circuit and CAN transceiver

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant