Using FACTs to analyze circuits by inspection.
I recently read the book "Linear Circuit Transfer Functions" by Christophe P. Basso, and I realised that KVL and KCL are slow. There are far easier and faster techniques to analyze circuits, which provide more insight than plain old KVL or KCL. In many cases we can find the transfer function by looking at the circuit (this is called "solving by inspection").
General transfer function and Low entropy form.
The general transfer function of an n-order network looks like:
But it is hard to find out the poles and zeros at a glance. Hence this form is called high entropy form. The low entropy form of the same transfer function would look like:
Why not KVL and KCL?
So why not KVL and KCL? Both laws are fairly straightforward to apply. But they don't provide insight into the transfer function. Most of the time the complex frequency () is littered throughout the numerator and denominator and it is hard to simplify it into a low entropy form from which we can easily read off the poles and zeros.
The humble Wheatstone bridge.
Let us solve the following simple-looking problem, everyone's favourite Wheatstone bridge. We have to find the transfer function, .
We will use KCL to find the transfer function. Labelling the top node A and bottom node B, we can write the following equations:
Also note that .
Now here is the time-consuming part: we need to solve for . Starting with the equation for node B:
Substituting the value of in the equation for node A, we get (you can already see this is getting very messy):
After further simplification (which I did using sympy), we get our transfer function:
That was a lot of work for a fairly simple-looking circuit! And the resultant expression is hard to follow. What happens to the gain when R₅ increases? What if R₃ decreases? The expression is in a high entropy form.
The calculations would be even worse had we had energy-storing elements in the network. FACTs aims to solve these exact problems by eliminating the need for KVL and KCL on huge networks which can be a headache.
Solving by inspection.
We start by discussing simple methods to solve circuits by inspection. Rules like Voltage Divider Rule and Current Divider Rule are indispensable tools to solve circuits by inspection. You have already solved a few circuits by inspection before by applying Thevenin's theorem or Norton's theorem. Let us solve a simple problem, showcasing the ease of solving these circuits.
In the following circuit, we are asked to find its transfer function:
We start by forgetting about the existence of the capacitor and apply Thevenin's theorem:
The Thevenin's equivalent circuit is then:
and the transfer function:
is the static DC gain, i.e. the voltage gain when is equal to 0 (in other words, the capacitor is removed, or the ratio ).
Notice how we didn't have to solve a system of linear equations when using inspection. We just found the answer to simpler problems and combined them to get the desired result. This is the power of solving by inspection. You will soon see that we will do the same thing in the Extra Element Theorem.
The Extra Element Theorem (EET).
The Extra Element Theorem is very powerful. It allows one to remove an element (with impedance Z) entirely from a network and breaks down a complex problem into 3 simple ones:
- The gain of the network with the element removed ().
- The impedance of the network with the input zeroed ().
- The impedance of the network with the output nulled ().
These values are generally easier to calculate than considering the entire network. To get the final transfer function (), we use the EET formula:
When it is easier to short the impedance rather than removing it, we use the following formula:
where is the gain of the network with the element shorted. I will not go into the derivation of these formulas, as the book really explains them well.
Instead let us jump straight into the example:
Revisiting the Wheatstone bridge.
We will solve the same Wheatstone bridge as above and this time we will use the power of the EET to solve it quickly. We start by removing the pesky resistor , hence
To compute , we need to simply remove the resistor and compute the gain:
To compute , we simply need to short the voltage source and find the resistance across the terminals:
The procedure to find may sound confusing at first (at least it was for me). What we have to do, is to insert a current source supplying across the terminals of the removed impedance . We assume that there is no output at all (rather, enforce that there is no output): () and compute the voltage across the terminals of . Finally .
Now applying KVL to the loop:
Applying KCL: , and then substituting the values for and :
Hence, we get:
Substituting these values into the EET formula we get our final transfer function:
And that's it!
Generalized first order transfer functions.
Now you are probably disappointed because finding is fairly complex. We can rewrite EET in the following form, which eliminates the need for nulling the output and converts it into a gain calculation, which is much easier to find.
- - Final transfer function.
- - Gain when all (removed) elements are at zero frequency (capacitors are removed and inductors are shorted).
- - Gain when element numbered 1 is at its high frequency state (capacitors are shorted and inductors are removed).NOTE: The superscript ¹ is an index not an exponent.
- - The time constant of the element numbered 1. This can be calculated by using the formula for capacitors and for inductors. These 3 values are easy to calculate for most systems. Let us do an example:
To find , we short the capacitor. Applying voltage divider rule to and , we get:
Finally to find , we find the Thevenin's resistance by shorting . We get:
Hence we get the transfer function :
What's next?
Naturally the next step would be to solve a lot of problems using this theorem, to get comfortable with it. But what if you encounter multiple energy-storing elements? Or you want to remove a pesky resistor and a pesky capacitor? Fortunately there is a more generalized form of the EET, called the nEET. Which is covered in the next article.