Multi-point data communication networks such as Profibus, Modbus, and BACnet typically require interoperability between the RS-485 two-wire, half-duplex bus system and the four-wire, full-duplex bus system. These systems can extend to hundreds of meters in length and are subject to large ground potential differences (GPD). These potential differences can exceed the common-mode voltage range of the transceiver and cause damage to the device. To eliminate GPD, galvanically isolated transceivers are used to isolate the control electronics of the bus node from the actual transceiver stage that connects to the bus. Figure 1 shows a block diagram of a hybrid network using a 2-4 wire converter.
Figure 1 A 2-to-4- wire converter ensures compatibility between half-duplex and full-duplex systems
To make the converter operation independent of the data rate, the converter drivers and receivers are turned on and off by the logic state of the bus. The bus is driven at every bit interval, making the converter operation independent of the signal data rate. Simple control logic ensures that drivers D1 and D2 are enabled only by a logic low activation at the output of the opposite receiver (i.e., R1 or R2). Because the bus fault protection voltage V FS
> 200 mV is present at the receiver input , both receiver outputs are logic high during the bus idle period. The inverter gate inverts this logic high to a low state and enables the receiver while turning off the driver. In the half-to-full-duplex direction ( Figure 2 : from left to right), a negative bus voltage at the input of R1 activates driver D2 with a low state to the driver input. D2 responds by driving the transmit bus with a negative output voltage. When the bus voltage at the input of R1 becomes positive, D2 is immediately disabled. However, its output is high because the fault protection bias resistor R FS forms the bus voltage V FS . (During the entire input period, the output of R2 remains high, ensuring that R1 remains valid and D1 remains invalid)
Figure 2 Converter timing for half-duplex to full-duplex direction
In the full-to-half-duplex direction (Figure 3: right to left), a negative bus voltage at the input of R2 activates driver D1 and forces a low state to the driver input. D1 responds by driving the two-wire bus with a negative output voltage. When the bus voltage at the input of R2 becomes positive, D1 is deactivated after a delay time. During this delay time, D1 drives the bus with a negative voltage before presenting a high impedance to prevent switching transients at the output of R1.
We recommend that the minimum delay time produced by the R D ?CD time constant be 1.3 times the maximum propagation delay of the driver to compensate for tolerances in component values, inverter thresholds, and supply voltages. For a given capacitance, the required R D value can be determined using Equation 1 :
Where tPLH-max is the maximum low-to-high propagation delay of driver D2 , VIT+min is the minimum positive input threshold of the Schmitt trigger inverter, and VCC -max is the maximum supply voltage. After D1 fails, its output remains high due to the bus voltage VFS formed by
the fault protection bias resistor RFS . When the bus voltage at the input of R2 returns to negative, D1 is immediately activated due to the rapid discharge of CD through the discharge diode DD . The timing diagram in Figure 3 shows that a remote receiver on a half-duplex bus, represented here by R , converts a negative bus voltage into a low bit. A high bit consists of a low main driver positive bus voltage and the remaining fault protection voltage VFS .
Figure 3 Converter timing for full-duplex to half-duplex direction
The final converter design shown in Figure 4 uses two full-duplex transceivers: one configured as a half-duplex transceiver; the other in full-duplex mode. The converter has a data rate of up to 200 kbps and is powered by a single 3.3 V supply. Table 1 shows the bill of materials (BOM) for this circuit.
Table 1. Two-to-four-wire converter BOM
Figure 4 Dual isolated two-to-four-wire converter design
The transceiver stages of both converter ports require the isolated supplies V ISO-1 and V ISO-2 to be derived from a central 3.3V supply. A schematic is shown in Figure 5. To avoid output peak requirements during no-load conditions, each rectified output includes a minimum load resistor of 2 kΩ.
Figure 5 Isolated power supply design for V ISO-1 and V ISO-2
Summary A
two-to-four-wire converter can be used to connect a single half-duplex transceiver or a complete half-duplex bus to a full-duplex bus. When connecting a two-to-four-wire converter to a full-duplex bus, it is important to note that the master node's microcontroller will change its transmission format from full-duplex to half-duplex when communicating with the converter node.
Reference address:Signal Chain Basics: How to Design a 2-to-4-Wire Converter for RS-485
Figure 1 A 2-to-4- wire converter ensures compatibility between half-duplex and full-duplex systems
To make the converter operation independent of the data rate, the converter drivers and receivers are turned on and off by the logic state of the bus. The bus is driven at every bit interval, making the converter operation independent of the signal data rate. Simple control logic ensures that drivers D1 and D2 are enabled only by a logic low activation at the output of the opposite receiver (i.e., R1 or R2). Because the bus fault protection voltage V FS
> 200 mV is present at the receiver input , both receiver outputs are logic high during the bus idle period. The inverter gate inverts this logic high to a low state and enables the receiver while turning off the driver. In the half-to-full-duplex direction ( Figure 2 : from left to right), a negative bus voltage at the input of R1 activates driver D2 with a low state to the driver input. D2 responds by driving the transmit bus with a negative output voltage. When the bus voltage at the input of R1 becomes positive, D2 is immediately disabled. However, its output is high because the fault protection bias resistor R FS forms the bus voltage V FS . (During the entire input period, the output of R2 remains high, ensuring that R1 remains valid and D1 remains invalid)
Figure 2 Converter timing for half-duplex to full-duplex direction
In the full-to-half-duplex direction (Figure 3: right to left), a negative bus voltage at the input of R2 activates driver D1 and forces a low state to the driver input. D1 responds by driving the two-wire bus with a negative output voltage. When the bus voltage at the input of R2 becomes positive, D1 is deactivated after a delay time. During this delay time, D1 drives the bus with a negative voltage before presenting a high impedance to prevent switching transients at the output of R1.
We recommend that the minimum delay time produced by the R D ?CD time constant be 1.3 times the maximum propagation delay of the driver to compensate for tolerances in component values, inverter thresholds, and supply voltages. For a given capacitance, the required R D value can be determined using Equation 1 :
Where tPLH-max is the maximum low-to-high propagation delay of driver D2 , VIT+min is the minimum positive input threshold of the Schmitt trigger inverter, and VCC -max is the maximum supply voltage. After D1 fails, its output remains high due to the bus voltage VFS formed by
the fault protection bias resistor RFS . When the bus voltage at the input of R2 returns to negative, D1 is immediately activated due to the rapid discharge of CD through the discharge diode DD . The timing diagram in Figure 3 shows that a remote receiver on a half-duplex bus, represented here by R , converts a negative bus voltage into a low bit. A high bit consists of a low main driver positive bus voltage and the remaining fault protection voltage VFS .
Figure 3 Converter timing for full-duplex to half-duplex direction
The final converter design shown in Figure 4 uses two full-duplex transceivers: one configured as a half-duplex transceiver; the other in full-duplex mode. The converter has a data rate of up to 200 kbps and is powered by a single 3.3 V supply. Table 1 shows the bill of materials (BOM) for this circuit.
Table 1. Two-to-four-wire converter BOM
Figure 4 Dual isolated two-to-four-wire converter design
The transceiver stages of both converter ports require the isolated supplies V ISO-1 and V ISO-2 to be derived from a central 3.3V supply. A schematic is shown in Figure 5. To avoid output peak requirements during no-load conditions, each rectified output includes a minimum load resistor of 2 kΩ.
Figure 5 Isolated power supply design for V ISO-1 and V ISO-2
Summary A
two-to-four-wire converter can be used to connect a single half-duplex transceiver or a complete half-duplex bus to a full-duplex bus. When connecting a two-to-four-wire converter to a full-duplex bus, it is important to note that the master node's microcontroller will change its transmission format from full-duplex to half-duplex when communicating with the converter node.
Previous article:Selecting the right operational amplifier for MEMS microphone preamplification applications (Part 2)
Next article:MAX44281 Ultra-Small Operational Amplifier
- Popular Resources
- Popular amplifiers
Recommended Content
Latest Analog Electronics Articles
- High signal-to-noise ratio MEMS microphone drives artificial intelligence interaction
- Advantages of using a differential-to-single-ended RF amplifier in a transmit signal chain design
- ON Semiconductor CEO Appears at Munich Electronica Show and Launches Treo Platform
- ON Semiconductor Launches Industry-Leading Analog and Mixed-Signal Platform
- Analog Devices ADAQ7767-1 μModule DAQ Solution for Rapid Development of Precision Data Acquisition Systems Now Available at Mouser
- Domestic high-precision, high-speed ADC chips are on the rise
- Microcontrollers that combine Hi-Fi, intelligence and USB multi-channel features – ushering in a new era of digital audio
- Using capacitive PGA, Naxin Micro launches high-precision multi-channel 24/16-bit Δ-Σ ADC
- Fully Differential Amplifier Provides High Voltage, Low Noise Signals for Precision Data Acquisition Signal Chain
MoreSelected Circuit Diagrams
MorePopular Articles
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
MoreDaily News
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Sandia Labs develops battery failure early warning technology to detect battery failures faster
- Ranking of installed capacity of smart driving suppliers from January to September 2024: Rise of independent manufacturers and strong growth of LiDAR market
- Industry first! Xiaopeng announces P7 car chip crowdfunding is completed: upgraded to Snapdragon 8295, fluency doubled
- P22-009_Butterfly E3106 Cord Board Solution
Guess you like
- 5G will change the way we surf the Internet. Will each of us have a small base station?
- Learning to use FPGA to implement video and image processing design
- [Review of SGP40] Rapid deployment of AI ambient air quality tracking model #1 Unboxing
- What is a NB-IoT card?
- [RVB2601 Creative Application Development] Part 2 Development Preparation 2 (Development Environment Setup and Helloworld Example)
- Comparison of technical performance between 433MHz solution and 2.4G, micro-power, and direct sequence spread spectrum solutions
- EEWORLD University Hall----Mathematical Linear System Theory
- IIS2ICLX 2-axis digital inclinometer test
- [Fudan Micro FM33LG0 Series Development Board Review] Development Environment First
- OpenRGB, an open-source lighting control that does not rely on manufacturer software