For users who require the interface to have long-distance (>1km) high-speed (up to 19200bps) communication capabilities, as well as strong anti-interference and noise suppression capabilities in industrial sites, for ordinary RS232 interfaces, point-to-point single-line common ground connection (Singleended) is used. In the flat drive mode, the maximum communication distance is 15.25m, which obviously cannot meet the requirements. Therefore, consider the 20mA current loop driving method. Compared with the level mode, the current loop has one advantage:
the level mode 20mA current loop mode
Signal is easy to attenuate Signal is not easy to attenuate
Susceptible to interference and strong anti-interference ability
Long distance, high frequency suitable for long distance
Low transmission performance and high-speed communication
In this design, Motorola's optocoupler TIL117 is selected for signal conversion and photoelectric isolation. In this way, data information is transmitted through a closed current loop. The low-resistance transmission communication method of this current loop has a strong ability to suppress interference that enters the communication loop.
The 20mA current loop interface communication method is shown in Figure 1.
The circuit consists of the following two parts:
1.DC-DC converter
The DC-DC module is used to adjust the +5V DC voltage provided by the device to ±12V DC voltage to provide the driving voltage for the current source.
2. Signal converter (current loop driver/receiver)
The circuit of the signal converter is shown in Figure 2.
The selection of communication protocol is carried out through SW1, see Table 1.
The transmitter (TD, DTR) and receiver (RD) of this current loop interface board can work in active and passive modes. By selecting DIP switch SW2 on the interface board, you can switch between the two modes. When switching, it must be noted that for both parties in communication, the sending and receiving of the same signal must be active on one side, and only one side can be active.
Table 1 SW1 settings
PROTOCOL | SW1 | |
1 | 2 | |
XON/XOFF | ON | OFF |
DTR | OFF | ON |
Select DIP switch SW2, there are 4 communication methods, see Table 2. SW2 settings are shown in Table 3.
Table 2 SW2 settings
Way | Corresponding party 1 | Corresponding party 2 | ||
RD | TD(DTR) | RD | TD(DTR) | |
1 | Active | Active | Passive | Passive |
2 | Active | Passive | Active | Passive |
3 | Passive | Active | Passive | Active |
4 | Passive | Passive | Active | Active |
Table 3 SW2 settings
Way | Corresponding party 1 | Corresponding party 2 | ||||||||||||||||||
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | |
1 | O | O | O | O | O | O | O | O | O | O | ||||||||||
2 | O | O | O | O | O | O | O | O | O | O | ||||||||||
3 | O | O | O | O | O | O | O | O | O | O | ||||||||||
4 | O | O | O | O | O | O | O | O | O | P |
"O" means ON, and a space means OFF.
This product has been successfully developed and passed debugging at the user's site, and has now entered the mass production stage.
Previous article:Application of TrimediaDSP chip in video communication
Next article:Mobile digital image spread spectrum communication system
- Popular Resources
- Popular amplifiers
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- 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
- [Evaluation of EC-01F-Kit, the NB-IoT development board of Essence] 03. Discussion: Frequent disconnection after the device is connected to the network
- If you use tweezers to short-circuit the output of a power supply, how many states will the load have?
- Can a relay that switches on and off frequently be connected to a transformer?
- What tests need to be done before using power electronic products such as motor controllers after they have been stored for a long time?
- Receiver system design
- EEWORLD University Hall ---- Electrical Engineering North China Electric Power University Li Yonggang
- 100 sets of Pingtouge RISC-V low-power RVB2601 development boards are waiting for you, as well as projectors and other gifts~
- FPGA_100 Days Journey_if_else and case.pdf
- Based on PSOC6 development board simulation I2C solution X-NUCLEO-IKS01A3 LIS2DW12
- How to measure the output impedance of an amplifier circuit