boylesg
Advanced Member level 4

- Joined
- Jul 15, 2012
- Messages
- 1,023
- Helped
- 5
- Reputation
- 10
- Reaction score
- 6
- Trophy points
- 1,318
- Location
- Epping, Victoria, Australia
- Activity points
- 11,697
1.Choose a Tx buffer with lower slew rate (slower rise/fall times).What is the best way to suppress ringing on the leading edges of a square wave?
1.Choose a Tx buffer with lower slew rate (slower rise/fall times).
2.Make sure that driver's side's impedance is matched to the impedance of the transmittion medium.
3.Shorten the distance from Tx to Rx.
No.Do you think this might be correct?
Good observation.So clearly using a cap to suppress ringing is not a very robust approach.
No.
You don't match the output impedance of the Tx buffer to the input impedance of the Rx buffer.
You match the output impedance of the Tx buffer to that of the transmittion line - you do so with a series resistor.
The "transmittion line" might be a cable or a PCB trace for example...
Come to think of it that can't be it anyway. I was playing around with an astable 555 on my breadboard scoping the output and it also had the same ringing on leading edges of square wave. I happened to try a 10nF cap from pin 3 to GND and the ringing was greatly suppressed.
But this same approach did not work on my soldered circuit - it just resulted in the 555 in my buffer to overheat due to a too low impedance issue.
Perhaps it would be better to try a 1n4148 from pin 3 to Vcc - I will try that on my bread board and then on my soldered circuit if it seems to work. That would avoid the impedance issue.
BTW, do you use a well compensated oilloscope probe in your tests? Ringing is often due to it if impedances are mismatched.
What is the best way to suppress ringing on the leading edges of a square wave?
BTW, do you use a well compensated oilloscope probe in your tests? Ringing is often due to it if impedances are mismatched.
Ringing like this is caused by capacitance and inductance resonating. Depending on the details of your construction, you probably have a lot of stray inductance and capacitance - especially if you are using a solderless breadboard. Measure the resonant frequency and make a first guess at the capacitance and inductance, and see if they tie up. Wire is ~1nH per mm.
If you really have minimal inductance and capactance, then consider the effect of how you are measuring the signals. Typically a scope+probe will resonate at ~100MHz. See https://entertaininghacks.wordpress.com/2015/04/23/scope-probe-accessory-improves-signal-fidelity/ for the reason and the cure.
- - - Updated - - -
An uncompensated scope probe won't cause ringing, but it may cause edges to have an incorrect amplitude.
Impedance mismatch per se is unlikely to be a problem, unless there is a very long cable involved.
Scope probes can ring, typically at ~100MHz, for the reasons given at https://entertaininghacks.wordpress.com/2015/04/23/scope-probe-accessory-improves-signal-fidelity/
The problem is probably a combination of 1nH/mm wire inductance and stray capacitance in a breadboard. Moral: don't use solderless breadboards - you'll spend more time debugging the breadboard than your prototype!
To be sure, I would start with testing the probes. Many oscilloscopes offer a calibrated square-wave source, and with this the probe trimmer should be adjusted for a good pulse response. If not available, I would build a simple square-wave oscillator from a 555 or CD 4001, and adjust the probe.
Load and source mimatch may be one problem, long lines and poorly blocked DC power source another.
Where are my posts about this? On another thread maybe? There I mentioned the lack of supply bypass capacitors that the datasheet of the LM555 says are important. Then I got a reply that it worked and eliminated the ringing.
Ummmm....how would I adjust the probe Jir?
See the references in https://lmgtfy.com/?q=how+to+compensate+scope+probe Note that an improperly calibrated probe will not cause ringing - it will only cause the edges to be abnormally large/small compared with the rest of the waveform.
For more detailed information, see the references in https://entertaininghacks.wordpress.com/library-2/scope-probe-reference-material/
If you don’t, at best you will waste time chasing after strange unexpected effects. At worst you will damage the circuit, oscilloscope, or yourself.
Usually ringing is caused by excessively long scope probe ground inductance and probe capacitance resonating. To fix that remove the ground clip and tip and only use the tip&ring of the barrel on the probe between to adjacent pins for signal and ground.
The other cause is long line driving cable inductance and capacitance not loaded to the characteristic impedance thus ringing or a reactive load. This impedance can be reduced with twisted pair or shielded and terminated with something less than a 500 Ohms, if 50 Ohm cable a series 50R driving the coax and 50R terminating or 120R for twisted pair +/- 30% for 8 turns per foot or used two R's biased to some DC voltage are some options to offers ieal matched impedance and flattest frequency response at the expense of losing half the voltage which got doubled due to a 100% reflection of a high impedance load. ( transmission line theory)
OK.
Unfortunately my probes do not have any of the adjustments depicted in the other link.
Is there any point in having a go at adding the filters detailed here: https://lmgtfy.com/?q=how+to+compensate+scope+probe?
Perhaps connect the probe to the scope through a small circuit board where I can solder in the filters. The low frequency filter would be at the wrong end, but perhaps better than nothing?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?