Introduction
Because I know that you’ve more than likely had enough of all the OpAmps and filters and OpAmp filters and such, we will be making a break from all those fancy circuits and components, and focus on the basics. We will take a look at a trick, that can be used with linear circuits with multiple voltage or signal sources, the superposition.
But why?
The answer is simple. Take this very simple circuit and tell me, what current flows through, let’s say… R2?
Even though this circuit consists of mere five components, solution is all but trivial. In the first course I showed you how to simplify a simple resistive circuit, but this doesn’t work here as we have two voltage sources. The only way to solve this circuit is by good old fashioned calculations. Let’s start with the two nodes.
Ok, this wasn’t so bad, how about the loops?
Had enough? Because I did. Luckily this is all we need. Let’s say that all resistors were 100 ohms, U1 was 5V and U2 was 3.3V. Plugging those numbers in above equations we get the following resistor currents:
Since all resistors are a hundred ohms, the voltage drops on resistors are just current through a resistor times one hundred.
A better alternative
If you skipped all the calculations in last chapter, I can’t blame you. They were everything but fun. And that was for a very simple circuit with two voltage sources and three resistors, just think what would happen if we had any more components! Luckily there is a better way. We call it superposition. If a circuit is linear (this means that output can be written in the form of
we can analyze the circuit with only one source connected at a time. We do that for all sources and sum up the results to get the full output. This is known as superposition. Note that “disconnection” means a different thing for voltage and current source. Voltage source gets replaced by an open circuit, while a current source is replaced by a short circuit as depicted below.
Let’s see how one would apply superposition theorem on this circuit. First, let’s disconnect U2 and solve the resulting circuit. Mind the direction in which currents are flowing as this is very important.
When U1 is disconnected we get the following:
And to get the final result it up:
If you ask me, this method is a lot better. Much simpler. Harder to get wrong. Add more positive descriptors.
Conclusion
Superposition is a powerful tool for analyzing linear circuits. Whenever possible, it will be an easier alternative to “standard” calculations. Disconnect all but one source, calculate whatever you want to calculate, rinse and repeat for other sources. We will explore a practical application of superposition in next course.
Written by Luka Pogačnik
This teaching material was created by Red Pitaya & Zavod 404 in the scope of the Smart4All innovation project.