CN111404504B - RS485 bus differential signal amplifier - Google Patents

RS485 bus differential signal amplifier Download PDF

Info

Publication number
CN111404504B
CN111404504B CN202010491963.1A CN202010491963A CN111404504B CN 111404504 B CN111404504 B CN 111404504B CN 202010491963 A CN202010491963 A CN 202010491963A CN 111404504 B CN111404504 B CN 111404504B
Authority
CN
China
Prior art keywords
pin
inverting unit
conversion module
resistor
output end
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
CN202010491963.1A
Other languages
Chinese (zh)
Other versions
CN111404504A (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.)
Guangzhou Embedsky Computer Tech Co ltd
Original Assignee
Guangzhou Embedsky Computer Tech 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 Guangzhou Embedsky Computer Tech Co ltd filed Critical Guangzhou Embedsky Computer Tech Co ltd
Priority to CN202010491963.1A priority Critical patent/CN111404504B/en
Publication of CN111404504A publication Critical patent/CN111404504A/en
Application granted granted Critical
Publication of CN111404504B publication Critical patent/CN111404504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F3/00Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
    • H03F3/45Differential amplifiers
    • H03F3/45071Differential amplifiers with semiconductor devices only
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03FAMPLIFIERS
    • H03F1/00Details of amplifiers with only discharge tubes, only semiconductor devices or only unspecified devices as amplifying elements
    • H03F1/52Circuit arrangements for protecting such amplifiers

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc Digital Transmission (AREA)
  • Logic Circuits (AREA)

Abstract

The invention discloses an RS485 bus differential signal amplifier, which is characterized in that: including first bus interface, the second bus interface, first RS485 conversion module, second RS485 conversion module and signal processing module, first bus interface is connected with the difference signal port of first RS485 conversion module, the level signal port of first RS485 conversion module is connected with signal processing module's input, signal processing module's output is connected with the level signal port of second RS485 conversion module, the second bus interface is connected with the difference signal port of second RS485 conversion module, signal processing module is used for accepting level signal and controls the receiving and dispatching state of first RS485 conversion module and second RS485 conversion module according to level signal's direction of transmission. The amplifier converts the differential signal into a TTL level signal, then carries out a series of phase reversal processing on the TTL level signal, and finally restores the TTL level signal into the differential signal, thereby realizing the amplification of the weak differential signal and accurately judging the differential signal.

Description

RS485 bus differential signal amplifier
Technical Field
The invention relates to a signal amplifier, in particular to an RS485 bus differential signal amplifier.
Background
The RS485 bus is one of the communication commonly used in the field of industrial communication at present, and is frequently used in intelligent instruments, intelligent home furnishing and industrial control. In the RS485 communication network, a master-slave communication mode is generally adopted, that is, one master computer has multiple slave computers. The differential line technology is adopted for signal transmission to carry out communication, namely, the signal difference between two lines is utilized to transmit a digital signal 0 or 1, and for RS485, the two lines are A and B. Generally, when the voltage of A-B is greater than or equal to 0.2V, a signal 1 is transmitted on the bus; when the voltage of the A-B is less than or equal to-0.2V, a signal 0 is transmitted on the bus; and a-B is greater than-0.2 and less than 0.2, the bus signal cannot be determined to be either a 1 or a 0; the voltage between AB in the idle state is high. Its advantages are simple wiring, long transmission distance and high anti-interference power.
In theory, tens or hundreds of slave machines can be mounted on the RS485 bus, and in theory, the transmission distance can reach hundreds of meters to kilometers, so that the distance requirement required by most control quantities is met. However, in actual engineering use, the actual value and the theoretical value are far from each other due to the material of the wire and the field situation of actual engineering wiring. The signal on the bus is transmitted from the host computer over a long distance and is greatly attenuated when the impedance of the wire rod affects the tail end, so that the voltage difference between A, B is too small and is between an interval which is larger than-0.2 and smaller than 0.2, the signal transmission is not normal in bus communication, and the signal transmitted from the host computer to the slave computer over a long distance is affected by the impedance factor of the wire rod to be abnormal in the signal received on the host computer.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide the RS485 bus differential signal amplifier, which can avoid the situation that differential signals cannot be accurately judged due to signal attenuation of the RS485 bus and ensure the accuracy of remote communication of the RS485 bus.
In order to achieve the purpose, the invention provides the following technical scheme:
the RS485 bus differential signal amplifier is characterized in that: the differential signal processing circuit comprises a first bus interface, a second bus interface, a first RS485 conversion module, a second RS485 conversion module and a signal processing module, wherein the first bus interface is connected with a differential signal port of the first RS485 conversion module, the second bus interface is connected with a differential signal port of the second RS485 conversion module, the first RS485 conversion module and the second RS485 conversion module are used for converting differential signals into level signals or converting the level signals into the differential signals, the signal processing module comprises a first pull-up resistor, a second pull-up resistor, a first inverter, a second inverter, a first isolation module and a second isolation module, the first inverter comprises a first, a second, a third, a fourth, a fifth and a sixth inversion unit which are independent from each other, the second inverter comprises a seventh, an eighth, a ninth, a tenth, an eleventh and a twelfth inversion unit which are independent from each other, the output end of the first inverting unit is connected with the input end of the second inverting unit, the output end of the second inverting unit is connected with the transmitting end of the first RS485 conversion module, the input end of the third inverting unit is connected with the receiving end of the first RS485 conversion module, the output end of the third inverting unit is connected with the input end of the first isolation module, the first pull-up resistor is connected with the input end of the third inverting unit, the output end of the sixth inverting unit is connected with the input end of the fifth inverting unit, the output end of the fifth inverting unit is connected with the input end of the fourth inverting unit, the output end of the fourth inverting unit is connected with the enabling end of the first RS485 conversion module, the output end of the twelfth inverting unit is connected with the output end of the first isolation module, and the output end of the twelfth inverting unit is connected with the input end of the seventh inverting unit, the output end of the seventh inverting unit is connected with the transmitting end of the second RS485 conversion module, the input end of the ninth inverting unit is connected with the receiving end of the second RS485 conversion module, the output end of the ninth inverting unit is connected with the input end of the second isolation module, the second pull-up resistor is connected with the input end of the ninth inverting unit, the output end of the second isolation module is connected with the input end of the first inverting unit and the input end of the sixth inverting unit, the input end of the eleventh inverting unit is connected with the output end of the first isolation module, the output end of the eleventh inverting unit is connected with the input end of the tenth inverting unit, the output end of the tenth inverting unit is connected with the input end of the eighth inverting unit, and the output end of the eighth inverting unit is connected with the enabling end of the second RS485 conversion module.
As a preferable scheme: the first RS485 conversion module adopts a chip U4 with the model number of SN75176, pin No. 5 of U4 is grounded, pin No. 6 of U4 is connected with port No. 2 of first bus interface J1, pin No. 7 of U4 is connected with port No. 3 of J1, pin No. 8 of U4 is connected with power VCC, pin No. 6 of U4 is connected with power VCC through resistance R2, power VCC is connected with port No. 1 of J1, pin No. 7 of U4 is grounded through resistance R6, port No. 4 of J1 is grounded, pin No. 1 of U4 is connected with power VCC through resistance R9.
As a preferable scheme: the first inverter is a TLL inverter and comprises a chip U2, the model number of U2 is 74HC04, the pin 1 of U2 is connected with a power supply VCC through a resistor R1, the pin 2 of U2 is connected with the pin 3 thereof, the pin 7 of U2 is grounded, the pin 9 of U2 is connected with the pin 10 thereof through a resistor R4, the pin 11 of U2 is connected with the pin 12 thereof, the pin 13 of U2 is connected with the pin 1 thereof, the pin 4 of U2 is connected with the pin 4 of U4, and the pin 8 of U2 is connected with the pin 2 and the pin 3 of U4.
As a preferable scheme: the first isolation module adopts an isolation optocoupler chip U7, the type of U7 is HCPL-0601, the No. 8 pin of U7 is connected with the No. 5 pin and the No. 3 pin of power VCC1 and U7 and are grounded, the No. 6 pin of U7 is connected with the power VCC1 through a resistor R12, and the No. 2 pin of U7 is connected with the No. 6 pin of U2 through a resistor R11.
As a preferable scheme: the second isolation module adopts an isolation optocoupler chip U6, the model of U6 is HCPL-0601, the No. 3 pin and the No. 5 pin of U6 are grounded, the No. 8 pin of U3 is connected with a power supply VCC, and the No. 6 pin of U6 is connected with the No. 1 pin and the No. 13 pin of U2.
As a preferable scheme: the second inverter is a TTL inverter, which comprises a chip U3, wherein the U3 is 74HC04, the pin 1 of U3 is connected with the pin 12 thereof, the pin 2 of U3 is connected with the pin 4 of U5, the pin 3 of U3 is connected with the pin 8 thereof through a resistor R10, the pin 4 of U3 is connected with the pin 2 of U5, the pin 5 of U3 is connected with the pin 1 of U5, the pin 6 of U3 is connected with the pin 2 of U6 through a resistor R5, the pin 7 of U3 is grounded, the pin 9 of U3 is connected with the pin 10 thereof, the pin 11 and the pin 13 of U3 are both connected with the pin 6 of U7, and the pin 14 of U3 is connected with a power supply VCC 1.
As a preferable scheme: the second RS485 conversion module adopts a chip U5 with model number SN75176, pin 1 of U5 is connected to a power supply VCC1 through a resistor R8, pin 5 of U5 is grounded, pin 6 of U5 is connected to port 2 of the second bus interface J2, pin 7 of U5 is connected to port 3 of J2, pin 8 of U5 is connected to the power supply VCC1, pin 6 of U5 is connected to the power supply VCC1 through a resistor R3, port 1 of J2 is connected to the power supply VCC1, pin 7 of U5 is grounded through a resistor R7, and port 4 of J2 is grounded.
As a preferable scheme: the LED module also comprises a diode D1, wherein the anode of D1 is connected with the No. 9 pin of U2, and the cathode of D1 is connected with the No. 10 pin of U2.
As a preferable scheme: the LED lamp also comprises a diode D2, wherein the anode of D2 is connected with the No. 3 pin of U3, and the cathode of D2 is connected with the No. 8 pin of U3.
Compared with the prior art, the invention has the advantages that: when the amplifier works, the differential signal is converted into a TTL level signal by the first RS485 conversion module, the TTL level signal is subjected to the series of reversed phase processing by the signal processing module, the TTL level signal is restored into the differential signal by the second RS485 conversion module, the amplitudes of the two restored signals are increased, the weak differential signal is amplified, the difference value of the two amplified signals cannot be-0.2V < A-B <0.2V, and therefore whether the differential signal is 0 or 1 can be accurately judged.
Drawings
FIG. 1 is a schematic diagram of signal attenuation of an RS485 bus;
FIG. 2 is a schematic circuit diagram of an RS485 bus differential signal amplifier;
FIG. 3 is a circuit schematic of a signal processing module;
FIG. 4 is a specific circuit diagram of an RS485 bus differential signal amplifier;
FIG. 5 is a functional table of an RS485 conversion chip;
FIG. 6 is a schematic diagram of the conversion of a differential signal and a TTL level signal;
fig. 7 is a schematic diagram of an internal circuit of the TTL inverter.
Detailed Description
Referring to fig. 2, an RS485 bus differential signal amplifier includes a first bus interface, a second bus interface, a first RS485 conversion module, a second RS485 conversion module, and a signal processing module, wherein the first bus interface is connected to a differential signal port of the first RS485 conversion module, a level signal port of the first RS485 conversion module is connected to an input terminal of the signal processing module, an output terminal of the signal processing module is connected to a level signal port of the second RS485 conversion module, and the second bus interface is connected to a differential signal port of the second RS485 conversion module.
The first bus interface and the second bus interface are used for connecting the amplifier into an RS485 bus line; the first RS485 conversion module and the second RS485 conversion module are used for converting the differential signal into a level signal or converting the level signal into the differential signal; the signal processing module is used for receiving the level signal and controlling the receiving and sending states of the first RS485 conversion module and the second RS485 conversion module according to the transmission direction of the level signal.
Referring to fig. 2 and 3, the signal processing module in the present embodiment includes a first inverter, a second inverter, a first isolation module, and a second isolation module. The first inverter comprises a first inverting unit, a second inverting unit, a third inverting unit, a fourth inverting unit, a fifth inverting unit and a sixth inverting unit which are independent of each other, and the second inverter comprises a seventh inverting unit, an eighth inverting unit, a ninth inverting unit, a tenth inverting unit, an eleventh inverting unit and a twelfth inverting unit which are independent of each other.
The output end of the first inverting unit is connected with the input end of the second inverting unit, the output end of the second inverting unit is connected with the transmitting end of the first RS485 conversion module, the input end of the third inverting unit is connected with the receiving end of the first RS485 conversion module, the output end of the third inverting unit is connected with the input end of the first isolation module, the output end of the sixth inverting unit is connected with the input end of the fifth inverting unit, the output end of the fifth inverting unit is connected with the input end of the fourth inverting unit, and the output end of the fourth inverting unit is connected with the enabling end of the first RS485 conversion module.
The output end of the twelfth inverting unit is connected with the output end of the first isolating module, the output end of the twelfth inverting unit is connected with the input end of the seventh inverting unit, the output end of the seventh inverting unit is connected with the transmitting end of the second RS485 converting module, the input end of the ninth inverting unit is connected with the receiving end of the second RS485 converting module, the output end of the ninth inverting unit is connected with the input end of the second isolating module, the output end of the second isolating module is connected with the input end of the first inverting unit and the input end of the sixth inverting unit, the input end of the eleventh inverting unit is connected with the output end of the first isolating module, the output end of the eleventh inverting unit is connected with the input end of the tenth inverting unit, the output end of the tenth inverting unit is connected with the input end of the eighth inverting unit, and the output end of the eighth inverting unit is connected with the enabling end of the second RS485 converting module.
Referring to fig. 4, the first RS485 conversion module is a chip U4 with model SN75176, pin 5 of U4 is grounded, pin 6 of U4 is connected to port 2 of the first bus interface J1, pin 7 of U4 is connected to port 3 of J1, pin 8 of U4 is connected to VCC, pin 6 of U4 is connected to VCC through a resistor R2, pin 1 of J1 is connected to VCC, pin 7 of U4 is grounded through a resistor R6, port 4 of J1 is grounded, and pin 1 of U4 is connected to VCC through a resistor R9 (i.e., the aforementioned first pull-up resistor).
The first inverter is a TLL inverter, which includes a chip U2, and the internal circuit of the chip U2, model 74HC04 and 74HC04, as shown in fig. 7, includes six independent inverters, which can be used in this embodiment.
U2's pin number 1 passes through resistance R1 and connects the power VCC, U2's pin number 2 is connected with its pin number 3, U2's pin number 7 ground connection, U2's pin number 9 passes through resistance R4 and connects its pin number 10, U2's pin number 11 is connected with its pin number 12, U2's pin number 13 is connected with its pin number 1, U2's pin number 4 is connected with U4's pin number 4, U2's pin number 8 is connected with U4's pin number 2 and pin number 3.
The first isolation module adopts an isolation optocoupler chip U7, the type of U7 is HCPL-0601, the No. 8 pin of U7 is connected with the No. 5 pin and the No. 3 pin of power VCC1 and U7 and are grounded, the No. 6 pin of U7 is connected with the power VCC1 through a resistor R12, and the No. 2 pin of U7 is connected with the No. 6 pin of U2 through a resistor R11.
An isolation optocoupler chip U6 adopted by the second isolation module, the model of U6 is HCPL-0601, the No. 3 pin and the No. 5 pin of U6 are grounded, and the No. 8 pin of U3 is connected with a power supply VCC. Pin 6 of U6 connects to pin 1 and pin 13 of U2.
The second inverter is a TTL inverter, which comprises a chip U3, wherein the U3 is 74HC04, the pin 1 of U3 is connected with the pin 12 thereof, the pin 2 of U3 is connected with the pin 4 of U5, the pin 3 of U3 is connected with the pin 8 thereof through a resistor R10, the pin 4 of U3 is connected with the pin 2 of U5, the pin 5 of U3 is connected with the pin 1 of U5, the pin 6 of U3 is connected with the pin 2 of U6 through a resistor R5, the pin 7 of U3 is grounded, the pin 9 of U3 is connected with the pin 10 thereof, the pin 11 and the pin 13 of U3 are both connected with the pin 6 of U7, and the pin 14 of U3 is connected with a power supply VCC 1.
The second RS485 conversion module adopts a chip U5 with model number SN75176, pin 1 of U5 is connected to a power supply VCC1 through a resistor R8 (i.e., the aforementioned second pull-up resistor), pin 5 of U5 is grounded, pin 6 of U5 is connected to port 2 of the second bus interface J2, pin 7 of U5 is connected to port 3 of J2, pin 8 of U5 is connected to a power supply VCC1, pin 6 of U5 is connected to a power supply VCC1 through a resistor R3, port 1 of J2 is connected to a power supply VCC1, pin 7 of U5 is grounded through a resistor R7, and port 4 of J2 is grounded.
The power supply module comprises a voltage stabilizing chip U1, the model number of U1 is IB0505LS-1W, the pin 1 of U1 is input with a DC5V power supply VCC, the pin 2 of U1 is grounded, the pin 4 of U1 is grounded, and the pin 6 of U1 is output with a DV3.3V power supply VCC 1.
Fig. 7 is a circuit diagram of the TTL inverter in this embodiment, which includes six independent groups of inversion units.
The problem of signal attenuation in the RS485 transmission process is solved, and amplification needs to simultaneously meet three conditions:
1. the amplifier is arranged on the bus at the attenuation position of the signal at the remote end, and can convert the attenuated differential signal into a TTL signal and then convert the TTL signal into an unattenuated differential signal.
2. After the amplifier is connected to the bus, both sides of the amplifier are in a receiving state in the idle state of the bus.
3. When the bus of the front end of the amplifier is 1 or 0, the bus passing through the back end of the amplifier is also 0 or 1, and the amplifier does not irradiate interference on the bus signal.
The scheme can simultaneously meet the three conditions, and the analysis and specific work are as follows:
for ease of explanation, a combination of chip number and pin number is used to replace a pin of a chip. For example, pin number 5 of the U2 chip is denoted by U2.5, and so on.
When the bus is in an idle state, that is, no signal is transmitted on the bus, since the pull-up resistor R8 makes the 5 th pin U2.5 of the inverter U2 equal to 1, U2.6 equal to 0, U2.6 outputs a low level to U7.2, and at this time, the output signal of the output pin U7.6 of the optocoupler U7 is determined to be 1 by the pull-up resistor R12, U7.6 outputs 1 to U3.11 and U3.13, and U3.13 equal to 1, U3.12 equal to U3.1 equal to 0, so that U3.2 equal to U5.4 equal to 1, that is, the data transmission pin of the RS485 conversion chip U5 is always at a high level. Since U3.11 equals 1, U3.10 equals 0, U3.8 equals 1, U3.3 equals 1, U3.4 equals 0, and U3.4 equals 0, the enable terminals U5.2 and U5.3 of the RS485 conversion chip are low, so that U5 is always in the receiving state, i.e. the output terminal of the amplifier is in the receiving state when the bus is idle.
In the same analysis, the pull-up resistor R8 causes the inverter U3.5 to be 1, the inverter U3.6 to be 0, and the input of the U3.6 to the optocoupler U6.2 to be low, at which time the output U6.6 of the optocoupler U6 is determined to be 1 by the pull-up resistor R1, and the inverter U2.1 to be U2.13 to be 1. Since U2.1 equals 0, U2.2 equals U2.3 equals 1, and U2.4 equals U4.4 equals 1, that is, the data transmission pin of the RS485 conversion chip U4 is always high. When U2.6A is equal to 1, U2.6Y is equal to U2.5A is equal to 0, and U2.5A is equal to 0, U2.5Y is equal to U2.4A is equal to 1, U2.4Y is equal to 0, U2.4Y is equal to 0, enable terminals U4.2 and U4.3 of the RS485 conversion chip U4 are at low level, so that the RS485 conversion chip U4 is always in a receiving state, that is, the input terminal of the amplifier is in the receiving state when the bus is idle.
Therefore, after the amplifier is connected to the bus, the two sides of the amplifier are in a receiving state in the idle state of the bus, and the requirement of bidirectional communication of the RS485 bus is met.
When the amplifier works, namely when signals exist on a bus, weak differential signals are transmitted to an RS485 conversion chip U4 through J1, the U4 converts the differential signals between A, B into TTL signals, and the TTL signals are converted into the differential signals through a series of inversions by the RS485 conversion chip U5.
When the digital signal received at the input end of the amplifier is 0, i.e., if the RS485 conversion chip U4.1 is 0, U4.1 is U2.5 is 0, and since U2.5 is 0, U2.6 is U7.2 is 1, the output U7.6 of the high-speed optocoupler U7 is low, i.e., U7.6 is 0, and since U7.6 is 0, U7.6 is U3.11 is U3.13 is 0. Since U3.11 is equal to 0, U3.10 is equal to U3.9 is equal to 1, so that U3.8 is equal to U3.3 is equal to 0, U3.4 is equal to 1, U3.4 is connected to enable pins U5.2 and U5.3 of the RS485 converter U5, U5.2 is equal to U5.3 is equal to 1, and the RS485 converter converts the enable pin of the chip U5 to high level to put the chip in a transmitting state. U3.13 is equal to 0, so that U3.12 is equal to U3.1 is equal to 1, and U3.2 is equal to 0, and U3.2 is connected to a data transmission pin U5.4 of the RS485 conversion chip U5, i.e., U5.4 is equal to 0. The enabling pin of the RS485 chip U5 is at high level, and the data sending pin is at low level, so that the RS485 conversion chip U5 sends out 0, namely the digital signal sent out by the output end of the amplifier is 0.
When the input end of the amplifier receives a digital signal of 1, that is, the RS485 conversion chip U4.1 equals 1, then U4.1 equals U2.5 equals 1, and since U2.5 equals 1, then U2.6 equals U7.2 equals 0, so that the output U7.6 of the high-speed optocoupler U7 is high level, that is, U7.6 equals 1, and since U7.6 equals 1, then U7.6 equals U3.11 equals U3.13 equals 1. Since U3.11 is equal to 1, U3.10 is equal to U3.9 is equal to 0, so that U3.8 is equal to U3.3 is equal to 1, so that U3.4 is equal to 0, U3.4 is connected to enable legs U5.2 and U5.3 of RS485 converter U5, so that U5.2 is equal to U5.3 is equal to 0. As can be seen from the data manual of the RS485 conversion chip (see fig. 5), when the enable terminal of the chip is at a low level, no matter whether the data signal of the data transmission pin is 0 or 1RS485 bus A, B is at a high impedance, since the RS485 bus a is pulled up to VCC by the resistor R3 and the bus B is pulled down to GND by the pull-down resistor R7, a-B > is 0.2V, so that the signal 1 is transmitted on the bus.
Thus, the condition that the bus passing through the rear end of the amplifier is 0 or 1 when the bus of the front end of the amplifier is 0 or 1 is satisfied, and the amplifier does not disturb the bus signal.
Fig. 1 is a waveform diagram of a differential signal on an RS485 bus. As can be seen from fig. 1: signals of the differential signals sent by the RS485 host computer are attenuated after long-distance transmission, the situation that-0.2V is less than A-B is less than 0.2V may occur, and the differential signals cannot be accurately judged through signal difference values at the moment. As shown in fig. 6, the differential signal is converted into a TTL level signal by the first RS485 conversion module, the TTL level signal is subjected to the aforementioned series of inverse processing by the signal processing module, and finally the TTL level signal is restored into the differential signal by the second RS485 conversion module, and the amplitudes of the two restored signals become large, so that the weak differential signal is amplified, and the difference between the two amplified signals does not appear as-0.2V < a-B <0.2V, so that whether the differential signal is 0 or 1 can be accurately determined. The amplifier in this embodiment actually functions as a signal relay and amplification.
The TTL inverter used in this example is 74HC04, and the RS485 conversion chip is SN75176, or others such as SP3485 or MAX 485. The high-speed optical coupler is HCPL-0601, and can also be other types such as TLP 2309.
Referring to fig. 4, the amplifier in this embodiment further includes clamping diodes D1 and D2, where the anode of D1 is connected to pin No. 9 of U2, and the cathode of D1 is connected to pin No. 10 of U2. The positive pole of D2 is connected with pin No. 3 of U3, and the negative pole of D2 is connected with pin No. 8 of U3. The clamp diodes D1 and D2 can suppress negative interference pulses that may occur at the input terminal, and prevent the current of the emitter inside the inverter from becoming excessive when the input voltage is negative, thereby playing a role of protection.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments, and all technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.

Claims (9)

1. The RS485 bus differential signal amplifier is characterized in that: the differential signal processing circuit comprises a first bus interface, a second bus interface, a first RS485 conversion module, a second RS485 conversion module and a signal processing module, wherein the first bus interface is connected with a differential signal port of the first RS485 conversion module, the second bus interface is connected with a differential signal port of the second RS485 conversion module, the first RS485 conversion module and the second RS485 conversion module are used for converting differential signals into level signals or converting the level signals into the differential signals, the signal processing module comprises a first pull-up resistor, a second pull-up resistor, a first inverter, a second inverter, a first isolation module and a second isolation module, the first inverter comprises a first, a second, a third, a fourth, a fifth and a sixth inversion unit which are independent from each other, the second inverter comprises a seventh, an eighth, a ninth, a tenth, an eleventh and a twelfth inversion unit which are independent from each other, the output end of the first inverting unit is connected with the input end of the second inverting unit, the output end of the second inverting unit is connected with the transmitting end of the first RS485 conversion module, the input end of the third inverting unit is connected with the receiving end of the first RS485 conversion module, the output end of the third inverting unit is connected with the input end of the first isolation module, the first pull-up resistor is connected with the input end of the third inverting unit, the output end of the sixth inverting unit is connected with the input end of the fifth inverting unit, the output end of the fifth inverting unit is connected with the input end of the fourth inverting unit, the output end of the fourth inverting unit is connected with the enabling end of the first RS485 conversion module, the output end of the twelfth inverting unit is connected with the output end of the first isolation module, and the output end of the twelfth inverting unit is connected with the input end of the seventh inverting unit, the output end of the seventh inverting unit is connected with the transmitting end of the second RS485 conversion module, the input end of the ninth inverting unit is connected with the receiving end of the second RS485 conversion module, the output end of the ninth inverting unit is connected with the input end of the second isolation module, the second pull-up resistor is connected with the input end of the ninth inverting unit, the output end of the second isolation module is connected with the input end of the first inverting unit and the input end of the sixth inverting unit, the input end of the eleventh inverting unit is connected with the output end of the first isolation module, the output end of the eleventh inverting unit is connected with the input end of the tenth inverting unit, the output end of the tenth inverting unit is connected with the input end of the eighth inverting unit, and the output end of the eighth inverting unit is connected with the enabling end of the second RS485 conversion module.
2. The RS485 bus differential signal amplifier of claim 1, wherein: the first RS485 conversion module adopts a chip U4 with the model number of SN75176, pin No. 5 of U4 is grounded, pin No. 6 of U4 is connected with port No. 2 of first bus interface J1, pin No. 7 of U4 is connected with port No. 3 of J1, pin No. 8 of U4 is connected with power VCC, pin No. 6 of U4 is connected with power VCC through resistance R2, power VCC is connected with port No. 1 of J1, pin No. 7 of U4 is grounded through resistance R6, port No. 4 of J1 is grounded, pin No. 1 of U4 is connected with power VCC through resistance R9.
3. The RS485 bus differential signal amplifier of claim 2, wherein: the first inverter is a TLL inverter and comprises a chip U2, the model number of U2 is 74HC04, the pin 1 of U2 is connected with a power supply VCC through a resistor R1, the pin 2 of U2 is connected with the pin 3 thereof, the pin 7 of U2 is grounded, the pin 9 of U2 is connected with the pin 10 thereof through a resistor R4, the pin 11 of U2 is connected with the pin 12 thereof, the pin 13 of U2 is connected with the pin 1 thereof, the pin 4 of U2 is connected with the pin 4 of U4, and the pin 8 of U2 is connected with the pin 2 and the pin 3 of U4.
4. The RS485 bus differential signal amplifier of claim 3, wherein: the first isolation module adopts an isolation optocoupler chip U7, the type of U7 is HCPL-0601, the No. 8 pin of U7 is connected with the No. 5 pin and the No. 3 pin of power VCC1 and U7 and are grounded, the No. 6 pin of U7 is connected with the power VCC1 through a resistor R12, and the No. 2 pin of U7 is connected with the No. 6 pin of U2 through a resistor R11.
5. The RS485 bus differential signal amplifier of claim 4, wherein: the second isolation module adopts an isolation optocoupler chip U6, the model of U6 is HCPL-0601, the No. 3 pin and the No. 5 pin of U6 are grounded, the No. 8 pin of U3 is connected with a power supply VCC, and the No. 6 pin of U6 is connected with the No. 1 pin and the No. 13 pin of U2.
6. The RS485 bus differential signal amplifier of claim 5, wherein: the second inverter is a TTL inverter, which comprises a chip U3, wherein the U3 is 74HC04, the pin 1 of U3 is connected with the pin 12 thereof, the pin 2 of U3 is connected with the pin 4 of U5, the pin 3 of U3 is connected with the pin 8 thereof through a resistor R10, the pin 4 of U3 is connected with the pin 2 of U5, the pin 5 of U3 is connected with the pin 1 of U5, the pin 6 of U3 is connected with the pin 2 of U6 through a resistor R5, the pin 7 of U3 is grounded, the pin 9 of U3 is connected with the pin 10 thereof, the pin 11 and the pin 13 of U3 are both connected with the pin 6 of U7, and the pin 14 of U3 is connected with a power supply VCC 1.
7. The RS485 bus differential signal amplifier of claim 6, wherein: the second RS485 conversion module adopts a chip U5 with model number SN75176, pin 1 of U5 is connected to a power supply VCC1 through a resistor R8, pin 5 of U5 is grounded, pin 6 of U5 is connected to port 2 of the second bus interface J2, pin 7 of U5 is connected to port 3 of J2, pin 8 of U5 is connected to the power supply VCC1, pin 6 of U5 is connected to the power supply VCC1 through a resistor R3, port 1 of J2 is connected to the power supply VCC1, pin 7 of U5 is grounded through a resistor R7, and port 4 of J2 is grounded.
8. The RS485 bus differential signal amplifier of claim 3, wherein: the LED module also comprises a diode D1, wherein the anode of D1 is connected with the No. 9 pin of U2, and the cathode of D1 is connected with the No. 10 pin of U2.
9. The RS485 bus differential signal amplifier of claim 6, wherein: the LED lamp also comprises a diode D2, wherein the anode of D2 is connected with the No. 3 pin of U3, and the cathode of D2 is connected with the No. 8 pin of U3.
CN202010491963.1A 2020-06-03 2020-06-03 RS485 bus differential signal amplifier Active CN111404504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010491963.1A CN111404504B (en) 2020-06-03 2020-06-03 RS485 bus differential signal amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010491963.1A CN111404504B (en) 2020-06-03 2020-06-03 RS485 bus differential signal amplifier

Publications (2)

Publication Number Publication Date
CN111404504A CN111404504A (en) 2020-07-10
CN111404504B true CN111404504B (en) 2020-10-09

Family

ID=71431890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010491963.1A Active CN111404504B (en) 2020-06-03 2020-06-03 RS485 bus differential signal amplifier

Country Status (1)

Country Link
CN (1) CN111404504B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115168272A (en) * 2022-07-18 2022-10-11 江苏科技大学 Long-distance serial line debugging interface circuit and signal transmission method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860466A (en) * 2010-04-20 2010-10-13 深圳茂硕电源科技股份有限公司 Conversion device for implementing RS-485 bus transmission DALI protocol
CN203406837U (en) * 2013-07-12 2014-01-22 精量电子(深圳)有限公司 Signal amplification circuit and signal amplifier
CN204206152U (en) * 2014-08-26 2015-03-11 深圳中德世纪新能源有限公司 A kind of difference I2C bus communication interface circuit
CN105471420A (en) * 2014-08-26 2016-04-06 深圳中德世纪新能源有限公司 Differential I2C bus communication interface circuit
CN210745144U (en) * 2020-01-14 2020-06-12 西南交通大学 Circuit capable of prolonging USB communication distance

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201018526Y (en) * 2007-03-05 2008-02-06 武汉理工大学 DALI-RS485 gateway apparatus
CN210015164U (en) * 2019-05-06 2020-02-04 华立科技股份有限公司 Electric energy meter and RS485 communication system thereof
CN209708119U (en) * 2019-06-14 2019-11-29 山东山大华天科技集团股份有限公司 A kind of half-duplex RS 232-RS485 automatic switching circuit and communication equipment
CN110690757B (en) * 2019-09-09 2023-04-28 上海科梁信息科技股份有限公司 Data monitoring device of electric power transmission and distribution system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860466A (en) * 2010-04-20 2010-10-13 深圳茂硕电源科技股份有限公司 Conversion device for implementing RS-485 bus transmission DALI protocol
CN203406837U (en) * 2013-07-12 2014-01-22 精量电子(深圳)有限公司 Signal amplification circuit and signal amplifier
CN204206152U (en) * 2014-08-26 2015-03-11 深圳中德世纪新能源有限公司 A kind of difference I2C bus communication interface circuit
CN105471420A (en) * 2014-08-26 2016-04-06 深圳中德世纪新能源有限公司 Differential I2C bus communication interface circuit
CN210745144U (en) * 2020-01-14 2020-06-12 西南交通大学 Circuit capable of prolonging USB communication distance

Also Published As

Publication number Publication date
CN111404504A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109525475B (en) Single bus communication signal isolation circuit
CN105141491B (en) RS485 communication circuit and method for realizing spontaneous self-receiving
CN111404504B (en) RS485 bus differential signal amplifier
CN107395243A (en) A kind of single-wire communication circuit
AU2008200997B2 (en) A conversion circuit
CN214707733U (en) Communication circuit of monitoring equipment
CN214380868U (en) CAN bus isolator for transparent data transmission
CN202904571U (en) Controller area network (CAN) bus interface circuit with electric isolation function
CN215871167U (en) IGBT drive control isolation and power isolation circuit
CN213659668U (en) RS-485 circuit with waveform shaping function
CN115309683A (en) Serial port self-adaptive switching circuit and communication equipment
CN209930254U (en) Serial port self-sending and self-receiving control circuit
CN101290607B (en) Chip debugging interface device
CN210041858U (en) One-master multi-slave high-speed serial communication device
CN210466075U (en) Information acquisition and control device for clothes hanger hanging system
CN211606512U (en) Isolation interface circuit based on high-speed optocoupler
CN109474505B (en) Single-bus communication signal enhancement circuit with monitoring function
CN221240359U (en) CAN to optical fiber circuit for single machine communication in railway auxiliary power supply box
CN220064804U (en) Single-wire-controlled RS485-RS232 switching circuit
CN112634602B (en) RS-485 circuit with waveform shaping function
CN219322401U (en) Half-duplex optical communication module and multi-device communication system thereof
CN218633934U (en) High-speed 485 isolation self-transmitting and receiving circuit
CN216561446U (en) Encoder control circuit
CN216719086U (en) Electric energy meter communication isolation circuit, device and electric energy meter
CN212061150U (en) Isolation protection circuit for realizing multi-machine communication serial port

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant