当前位置:网站首页>Cause analysis of serial communication overshoot and method of termination
Cause analysis of serial communication overshoot and method of termination
2022-06-26 08:12:00 【circuit in my brain】
First of all, let's take a look at our commonly used serial communication wiring methods ,MCU Of RX,TX Let's add one here 33~100Ω To match the impedance of the transmission line ,USB turn TTL This end is not terminated with any resistance ,MCU Here and USB turn TTL This is through 15cm Long DuPont line connection , The circuit diagram is as follows ,USB turn TTL Connected to the upper computer ,MCU adopt TXD Continuously send data to the upper computer ,RXD For the upper computer MCU Send measurement instructions .

1、MCU_TX wave form

2、USB_RX

3、MCU_RX

4、USB_TX

We have found the problem from the above test waveform ,MCU Of TX and USB Of TX There is basically no overshoot ,MCU Of RX and USB Of RX All have relatively large overshoot , This overshoot one 15% One 30%, Overshoot is relatively large , The cause of this overshoot is the impedance mismatch , And the long wire makes us see the reflection of the signal .
We use MCU_TX( Proximal end ) and USB_RX( Distal ) Take this group for example , We put the matching 100R Remove the resistor , Look at the waveform of the remote end as follows :

It can be found that the overshoot increases again 3% about .
And then we put 100R Resistance welding back , Parallel one at the far end 470p capacitance , This increases the transmission delay , Let us ring and drown in the rising edge , So we can see the waveform at the far end without overshoot .

Some people may say that the communication signal frequency of the serial port is not high , For example, the baud rate of the serial port above me is :961200bps, Look at the frequency 500k When , If the 500k It is far from the frequency that requires impedance matching .
My understanding of this question is as follows :
because commonly No To be terminated Maximum length in Count Is the rising edge of the signal ns Count , That is to say
Len max > RT
Len max Is the maximum length of a transmission line that is not terminated ,RT Is the rising edge of the signal . for instance : The signal 10M The frequency of , The clock period is 100ns, The rising edge is 10ns, Then the maximum length of the transmission line that does not need to be terminated is 10in, Test us MCU Of TX The rising edge time of is shown in the figure below , It can be seen that the rise time is 1.1ns, That is, the maximum length of the transmission line that does not need to be terminated 1.1in, That is to say 2.79cm, The length of the transmission line we use is 15cm about , So we can see the reflection of the signal . We solved the problem of reflection by adding a capacitor at the far end , Is to make the rising time of the signal longer , Submerge the reflection in the rising edge process .

边栏推荐
- Golang collaboration and channel usage
- arduino——ATtiny85 SSD1306 + DHT
- Okhttp3 source code explanation (IV) cache strategy, disadvantages of Android mixed development
- 信息学奥赛一本通 1355:字符串匹配问题(strs)
- QT之一个UI里边多界面切换
- Read excel table and render with FileReader object
- Which securities company has the lowest Commission for opening a mobile account? Is it safe to open an account online?
- Seven important reasons for responsive Web Design
- . eslintrc. JS configuration
- "System error 5 occurred when win10 started mysql. Access denied"
猜你喜欢

The solution of installing opencv with setting in pycharm

MySQL practice: 4 Operation of data

解决 psycopg2.NotSupportedError: PQconninfo not available in libpq < 9.3

Can the warehouse management system help enterprises reduce storage costs

Crawler case 1: JS reversely obtains HD Wallpapers of minimalist Wallpapers

Flume learning notes
![[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc](/img/c2/d1432ab6021ee9da310103cc42beb3.jpg)
[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc

MySQL practice: 1 Common database commands

Chapter 4 (functions and preprocessing)

How to design API return codes (error codes)?
随机推荐
Handwritten instanceof underlying principle
Use middleware to record slow laravel requests
loading view时,后面所有东西屏蔽
Jz-063- median in data stream
Opencv鼠标事件+界面交互之绘制矩形多边形选取感兴趣区域ROI
Idea auto Guide
1. error using XPath to locate tag
Junit
我想要股票账户优惠开户,如何操作?手机开户安全么?
Go language shallow copy and deep copy
See which processes occupy specific ports and shut down
Real machine debugging of uniapp custom base
Gavin teacher's insight on transformer live class - multi state transition of financial BOT and rasa interactive behavior analysis of Rasa project (52)
Detailed explanation and code implementation of soft voting and hard voting mechanism in integrated learning
Which securities company has the lowest Commission for opening a mobile account? Is it safe to open an account online?
What are the characteristics of digital factory in construction industry
Wechat applet beginner level chapter
Area of Blue Bridge Cup 2 circle
Baoyan postgraduate entrance examination interview - Network
Yyds dry inventory executor package (executor function)