Become a subscriber (Free)

Join 29,000 other subscribers to receive subscriber sale discounts and other free resources.
Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine.

Using transmission line terminators to make signals reliable.

Don't let the jargon put you off a transmission line termination is just a:


You also need a capacitor that stops dc current flow i.e. your circuit uses less current. The resistor matches the end of the transmission line so that reflections are absorbed and your clock signal works correctly.

Read on to find out how you can tell if you have this problem and find help on how to solve it.

Note: problems that you may encounter are - the circuit does not work at all or seems to operate randomly.

Why transmission line effects are noticed more.

The PC revolution using faster computer processors has highlighted transmission line effects which, previously, were only really associated with radio cabling. It causes generally unreliable operation in digital circuits because it changes the voltage value and shape at the input to a gate.

Any wire pair (signal and ground path) can be a transmission line but it is not noticeable if the frequencies involved are low and the distance that the signal travels is short.

With the combination of higher frequencies and longer distances between components on a board, transmission line effects may cause problems.

You may think that you don't have to worry about it for your circuit operating at 1kHz but the problem is not the fundamental frequency but the total frequency. For a square wave it is the edges that are at high frequency. Edges are also used to clock data into digital circuits - so you may have a problem - depending on edge frequency and the distance that the signal travels.

Rule of thumb

Transmission line theory is a result of complex theory developed by Maxwell, Kelvin and Heviside which predicted the poor performance of a trans-Atlantic submarine able in 1858. The equations involve degree level mathematics which I won't go into (even if I could remember them). You only need the practical results.

Even if you did learn all about the equations the practicalities of applying them to hundreds of signals on a production board are too difficult. This is why you can buy a tool costing $3,000-$50,000 (plus $2,000 yearly maintenance!) that does the job for you - if you have the money! - just let your boss buy it. It's called Hyperlynx - and works extremely well - its simulations of PCBs produce results that are virtually identical to storage scope measurements and it even does cross talk calculations.

A rule of thumb for figuring out if you have a transmission line and not just a wire is:

You have a transmission line if...

The length of the wire is > (period of the signal / 10)

This is saying that the distortion caused by a transmission line effect does not matter if your signal is low frequency (high period) and the distance is short.

Another rule of thumb is that if your previously working prototype system just stops working when you plug it together (without the debugging cable between modules) - you may have a transmission line problem. This happened to me once and at the time I did not have any idea why - solving this involves adding damping resistors to the clock lines about 50ohms (absorbing reflections) - try experimenting with the value.

As an example of the first rule of thumb if you think of a 300MHz (sinewave) signal feeding into a wire...

The period of the signal is found from the equation (v=fL) L should be the greek letter Lambda (the period of the signal).

L - Lambda
v - velocity
f - frequency

For this example assume that the signal travels at the speed of light - for a real signal it is impeded by traveling through a material and will be 0.6 to 0.88 times the speed of light.

L=v/f so L = 3e8/300e6 = 1 metres ~ 3ft.

So for this signal the only time you need to think of the wire it travels through it as a transmission line is if your wire length is longer than 1m/10 ie greater than 10cm (~4in). If you use a factor of 0.6 for a PCB then have a distance of 6cm.

So having got here you then say "well my signal is not going at 300MHz so I don't need to worry about it"

This would be true if you were using sinewaves but you are using square waves. Which brings us to Mr. Fourier and fourier analysis which like Maxwell's equations I wont look at. Lets just use his results.

What are square waves.

Mr. Fourier's mathematical analysis shows that any signal is made up of sine waves added together. The important point is that the sharper the edges of the square wave the faster the sinewaves needed to make up the square wave.

This is why even for slow signals the rise/fall time of the signals edgedetermines whether or not you will see transmission line effects.

Unfortunately using the clock edge is the way that data is loaded into digital circuits so the signal quality at the clock edge is vital.

Incidentally this is why you can make a frequency double tripler etc. If you look at a square wave on a spectrum analyzer you will see sinewaves composed of the fundamental frequency with odd multiples of the fundamental. Filtering out one of these harmonics gives you a sine wave the higher frequency.

Rise time of typical logic gate.

For a typical digital chip e.g. 74LS373 the typical slew rate is approximately 1ns per volt. A voltage swing of 3V takes 3ns.

So what frequency is the edge...

f=1/Period = 1/3E-9 = 333MHz

Note: This edge frequency is independent of the signal frequency. So you can not get rid of transmission line effects by reducing the signal's frequency e.g. you may have a signal going at 1kHz but the edges will cause the effect of a 300MHZ transition! Also you can not reduce the slew rate to the gate (by adding a large capacitor) as the gate will oscillate.

What is the effect of a transmission line?

When the high frequency edge reaches the input gate - without correct termination - the signal is reflected back down the wire. Amazingly this reflection adds to the signal that is still traveling up the wire! This action is similar to a wave traveling through water - when it hits a wall it is reflected (violently) - equivalent to an open circuit. If you imagine a beach - the wave is gently lost - a short circuit. If you put a sponge instead of a wall then the wave would be absorbed - correctly terminated.

The reflection can be negative voltage (depending on the signal frequency, the characteristic impedance and the input impedance of the gate).

So over a short period of time you will see a range of voltages at the input to the gate causing the 'edge' to be ragged - this then clocks your circuit in the wrong way.


The solution to the problem is to terminate the transmission line. If you investigate transmission line theory you find out that a transmission line has what is known as a characteristic impedance.

  • For cables (twisted pair) its approximate value is 100 ohms.
  • For PCBs (boards) its approximate value is 50 ohms.
  • For RF cables (depends on RF cable - designed as 50,75,300 Ohms).

If you add a termination resistor that is the same value as the characteristic impedance then instead of the signal being reflected back down the wire it is absorbed.

When done correctly the circuit will behave exactly as you expect. Magically all the problems disappear and your circuit will be clocked correctly.

Solving the problem - adding an AC termination

There are about eight different termination schemes e.g. Thevenin, serial, parallel, parallel ac, parallel dc etc. but you only need to worry about this one: the parallel ac termination.

This termination scheme is easy since...

  • It does not use dc current - some do.
  • You can put pcb tracks down for it and leave unused i.e. if unsure whether you need it - on a SMT (surface mount) board = no drilling.
  • You can apply it even after your board is made - no track cutting
All in all it is a good way to get the job done.

Here's what you do

Add a capacitor and series resistor as shown in the diagram - change the resistance depending on where you are working i.e. 50, 100 or 300 Ohms - you don't have to be exact - You can find published information on-line for the characteristic impedance that your connection needs - use 56Ohm for pcb, 120ohm for twisted pair (read parallel cable or serial cable). If you work with RF circuits the values do have to be exact.

For the capacitance on PCB use 33pF, twisted pair (cables) use 470pF. Note you may have to fiddle with these values to find the best one (using a good scope of course).

Note place the terminator at the end of the cable/track as close as possible to the input of the gate you are driving.

Thats it!

transmission line AC termination.

New! Comments

Have your say about what you just read! Leave me a comment in the box below.

Claim Your: Useful

"Arduino Software Guide"

   Right Now...

Jump from Transmission line to
Best-Microcontroller-Projects Home Page

Privacy Policy | Contact | About Me

Site Map | Terms of Use

Visit our Facebook Page:

   Click Here

Sign up for MicroZine
''The'' Microcontroller Newsletter

Enter your first Name and primary email address in the form below:

And receive absolutely FREE a full project for:

"Measuring Analogue Voltages
Without An ADC"

(Using only one pin).

Instant Download:
You Can
Get It Right Now

Warning: This project could be  Removed 
at any time.  

It will  NOT be 
available indefinitely SO
To avoid 
disappointment  get it:


Don't worry -- your e-mail address is totally secure. I promise to use it only to send you MicroZine
Remember this is a project with full description and fully debugged C Source code - and it's not available from the main website.

You can only get it through this newsletter.

To get exclusive access Enter your first name Name and primary email address Now in the form above.:

But wait !

There's more...

You'll receive more
free and exclusive reports as well as site information and site product updates

Scroll up to the form above and sign up NOW. Don't forget it's FREE and if you don't like it, you can unsubscribe at any time.

Click Here Now to use the form above to get your Valuable information absolutely free.

Readers Comments

"I wanted to thank
you so so so much
for all the information
you have provided in
your site it's


- Ranish Pottath

"This site really is
the best and my favorite.
I find here many useful
projects and tips."

- Milan


"Awesome site,
very, very easy and nice
to navigate!"

- Matt

Learn Microcontrollers

"Interested in

Sign up for The
Free 7 day guide:


"I am a newbie to PIC
and I wanted to say
 how great your
site has been for me."

- Dave


"Your site is a great
and perfect work.

- Suresh


"I couldn't find the correct
words to define
yourweb site.

Very useful, uncovered,
honest and clear.

Thanks so much for
your time and works.

- Anon

Recent Articles

  1. DS18B20: How to use it on the Arduino Uno.

    How to Easily Use the DS18B20 Maxim One-Wire thermometer with Arduino example code using both external powered and parasitic powered devices.

    Read more

  2. Eye Tracking System

    Eye tracking : How to detect the gaze of your eye and track where you are looking.

    Read more

  3. The best Microcontroller projects and resources.

    Do you want to learn how to use a microcontroller in your electronic projects or do you need inspiration for your next project? If so you have found the right place!

    Read more