jump to navigation

Transmission Line Calculator March 6, 2007

The Excel based tool (see link below) calculates the capacitance and inductance per unit length as well as the impedance of a transmission line. It may be applied to wires, PCBs, etc.

A cross section of the transmission line is drawn into the Excel grids using different colors to represent the conductor, shield (return), and insulator. A finite element model of the transmission line is then solved with 1 Volt applied to the conductor with respect to the shield. The voltages throughout the insulator are found. This allows the stored energy, capacitance, inductance and impedance to be found.

image001.png

Each grid of the insulator can be thought of as 4 capacitors each having a capacitance per unit length of 2*Eo*Er where Eo is 8.854 pF/m and Er is the relative permittivity of the material (see figure below). Once the total capacitance is found, the inductance per unit length is then:

L = Mu*Eo*Er/C (in nH/m)

where Mu = 1257 nH/m

And the impedance is then:

Z = SQRT(L/C)

image003.png

Instructions:

1. RIGHT-CLICK, download, and save this file on your computer:

http://circuitcalculator.com/wordpress/wp-content/uploads/2007/03/trans-line-calc.xls

(Left-Clicking and/or Opening in browser DOES NOT WORK.)

2. Close any open instances of Excel that are running on your computer.

3. After saving, open the file. It contains macros, so you may see a warning. Macros must be enabled for it to work.

Comments»

1. kumar - April 2, 2007

Can you post copy of excel file?

2. Brad - April 2, 2007

Kumar,

There was a link inside the post, but it was hard to see. I have moved it to the bottom of the article and added instructions.

Thanks,

Brad

3. Richard Georgerian - April 25, 2007

Brad,

I really like the transmission line Excel program. Is there a book that you used that details how the calculations are done?

Best regards,

Richard

4. Brad - April 25, 2007

Richard,

I don’t have a specific book I am using. I can’t remember exactly where I leaned how to solve field equations with Excel, but have been doing it for a while. Once the field is solved, C, L, and Z can be found as described in [1].

The basic concept to solve for the field is that the voltage of each cell is equal to the average of the surrounding cells. So, each cell has the formula to sum the 4 neighboring cells and divide by 4. This leads to circular references, so you have to enable the option for Excel to solve iteratively.

The conductor and shield are fixed at 1V and 0V and do not use the averaging equations. You end up with the voltage distribution within the insulator.

The next step is to calculate the energy stored in each cell which can be looked at as containing 4 capacitors as described in the main article above.

E = C*V^2/2

After adding up all the stored energy, we can find the overall capacitance (per unit of length) by applying the same energy equation to the whole structure knowing that it has 1V applied and solving for C. Then, the inductance can be calculated as discussed in [1] and above.

Brad

[1] http://atlc.sourceforge.net/theory.html

5. Richard Georgerian - April 26, 2007

Brad,

Thank-you for your response and the added information. I was able to download the pdf at [1] http://atlc.sourceforge.net/theory.html

It was exactly what I was looking for regarding the simple explanation and excellent examples regarding this type of transmission line modeling. I was able to convert the C program to Excel visual basic applications, and got the same results.

For those just learning about transmission line modeling I would strongly recommend reading this paper first. I have read -
Dennis Sullivan, Electromagnetic Simulation Using the FDTD Method;
Kenneth Granzow, Digital Transmission Lines-Computer Modeling and Analysis;
Allen Taflove, The Finite-Difference Time-Domain Method.

Now those books make a lot more sense, and I’ll start to reread them without being too confused.

Many thanks.

Richard

6. Brad - April 26, 2007

Richard,

Thanks for the reference books - I will check them out - and I’m glad you got the same answer!

Brad

7. Frank - February 6, 2008

I tried to download this three times to different media, nothing was saved.
What happened?

8. Brad - February 7, 2008

Frank,

I am not sure what was wrong. I will send you the file by email.

Brad

9. Frank - February 8, 2008

It works. Thanks. I had to change the macro security to run it. Now to play.

10. Dick Dillman - September 2, 2008

This is a useful tool. Thanks. It would be even more useful if it calculated mutual inductance and capacitance of coupled lines.

11. Charles Grasso - October 15, 2008

Hi there!
I guess I don’t understand the instructions!
The instructions state to modify the conductor, shield, and insulator…not sure how to do that. But the instructions also state not to change the outer shield.

How does one make a microstrip in this tool?

—Reply—
I haven’t looked at this for a while, and now I can see that the instructions were not that great. The solver goes by the color of the cells, so to modify the conductor, shield, and insulator, you just change the colors. The solver needs the outer most cells to be shield, so that is why it says not to modify the outer shield.

It is just a simple tool, but a microstrip can be approximated by having a trace (conductor) near one of the shield walls (which represents the ground plane) and far from the other shield walls (especially the opposite wall). For example, the gap to the ground plane can be one grid while the gap to the opposite wall is 10 grids or more. You may want to try some iterations moving the walls farther away until they do not have much affect on the C, L, and Zo results.

Brad

12. raaj - November 10, 2008

hi for all….

What is stripline and microstripline? plz explain with example?

—Reply—
Hi Raaj, rather than repeat information that is readily available, I recommend:
http://en.wikipedia.org/wiki/Stripline
http://en.wikipedia.org/wiki/Microstrip
Brad

13. raaj - November 12, 2008

this is useful for me thanks brad…
if stripline is in between power and ground plane then how return path will function? plz explain

raaj

14. raaj - November 12, 2008

hai brad..

now iam working in pads2007…i want to know about commercial pcb design.plz refer any website

thanks
raaj