In the fields of industrial control, power communication, intelligent instruments, etc., serial communication is usually used for data exchange. The original RS232 interface often causes signal transmission errors due to electrical interference due to factors such as the external application environment. In addition, the RS232 interface can only realize point-to-point communication, does not have networking function, and its maximum transmission distance is only 15 meters, which cannot meet the requirements of long-distance communication. RS485 solves these problems. The data signal adopts differential transmission mode, with a maximum transmission distance of about 1219 meters, allowing multiple transmitters to be connected to the same bus. Considering energy saving and low power consumption, the system voltage is changed from the traditional 5V to 3.3V, so the 3.3V powered RS485 interface came into being.
RS-485 Standard Overview
RS-485 data signals are transmitted in differential mode, and the receiving and transmitting ends connect AA and BB correspondingly through a balanced twisted pair. When line A is higher than line B (VA-VB> +200mV), the receiving end outputs a logic high level (RO=1); when line A is lower than line B (VA-VB-200mV), the receiving end outputs a logic low level (RO=0). When the logic level of the driver's input end is high (DI=1), the line A level is higher than the line B level; when the logic level of the driver's input end is low (DI=0), the line A level is lower than the line B level. See Figure 1.
The RS-485 interface uses differential transmission to transmit signals. The common-mode voltage range that the transceiver can withstand is generally -7V to +12V. Once the common-mode voltage exceeds this range, it will affect the reliability of communication and even damage the interface. Since each system will have an independent ground loop, under long-distance communication conditions, the ground potential difference VGPD between systems will be very large. The output common-mode voltage of the transmitter is VOC, so the common-mode voltage VCM at the input of the receiver is VOC+VGPD. The RS-485 standard stipulates that VOC is less than or equal to 3V, but the amplitude of VGPD can reach more than ten volts or even tens of volts, and may be accompanied by strong interference signals, causing the common-mode input VCM of the receiver to exceed the normal range and generate interference current on the signal line. The solution to this problem is:
a. Isolate the system power supply and the RS-485 transceiver power supply through an isolated DC-DC, as shown in Figure 2;
Figure 2: Low voltage 3.3V isolated power supply solution
b. Isolate the signal through optocoupler to reduce the impact of common mode voltage.
When this method is used, the signal lines and power lines of the bus transceiver are isolated from the power supply of the local signal.
Optocoupler isolation circuit
Optocouplers are often the main factor limiting the baud rate of communication data. For low-speed transmission, PS250, TIL117, etc. can be used. In high-speed circuit design, high-speed optocouplers such as 6N137 and 6N136 can be considered to optimize circuit parameter design. The schematic diagram of optocoupler isolation is shown in Figure 3. In Figure 3, if the resistors R3 and R4 are selected to be larger, the speed at which the light-emitting tube of the optocoupler enters the saturation state from the cutoff will be slower; if they are selected to be too small, the exit from saturation will be slower. Different types of optocouplers and drive circuits make the values of these two resistors slightly different, and the selection of resistance values is usually determined by experiments.
Figure 3: Schematic diagram of optocoupler isolation
Previous article:BC5-MM application circuit design in car Bluetooth equipment
Next article:Circuit Design of USB Interface Digital-to-Analog Conversion System
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- 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
- EEWORLD University Hall ---- A Global View of Analog IC Design
- How to solve the abnormal application of RS-485 automatic transceiver circuit?
- Why are the punctuation marks in my code like this? Shouldn't they be like the one in the picture below?
- Keysight Technologies Award-winning Live Broadcast: Oscilloscope Applications and Techniques in General Electronic Measurements
- [NXP Rapid IoT Review] + 3. A First Look at Rapid IoT Studio
- Has anyone used LT3751 to boost 400V?
- Ask about the issue of emission exceeding the standard
- [GD32E231 DIY Contest]——06. ESP8266 Software Secondary Development
- If I give you a...
- Using C6748 and C5509A to drive nRF24L01 for data transmission