πŸ“•

Superposition

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.
Video preview

But why?

The answer is simple. Take this very simple circuit and tell me, what current flows through, let’s say… R2?
notion image
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.
A:βˆ’I1+I2βˆ’I3=0β†’I2=I1+I3A:-I_1+I_2-I_3=0 \rightarrow I_2=I_1+I_3
Ok, this wasn’t so bad, how about the loops?
L1L1UR1+UR2βˆ’U1=0U_{R_1}+U_{R_2}-U_1=0I1R1+I2R2=U1I_1 R_1+I_2 R_2=U_1I1R1+(I1+I3)R2=U1I_1 R_1+(I_1+I_3 ) R_2=U_1I1(R1+R2)+I3R2=U1I_1 (R_1+R_2 )+I_3 R_2=U_1I3=1R3(U1βˆ’I1(R1+R2))I_3=\frac{1}{R_3} (U_1-I_1 (R_1+R_2 ))L2L2UR3+UR2βˆ’U2=0U_{R_3}+U_{R_2}-U_2=0I3R3+(I1+I3)R2=U2I_3 R_3+(I_1+I_3 ) R_2=U_2I1R2+I3(R2+R3)=U2I_1 R_2+I_3 (R_2+R_3 )=U_2I1R2+R2+R3R3(U1βˆ’I1(R1+R2))=U2I_1 R_2+\frac{R_2+R_3}{R_3} (U_1-I_1 (R_1+R_2 ))=U_2I1(R2βˆ’(R2+R3)(R1+R2)R3)=U2βˆ’R2+R3R3U1I_1 (R_2-\frac{(R_2+R_3)(R_1+R_2)}{R_3})=U_2-\frac{R_2+R_3}{R_3} U_1I1=U2βˆ’R2+R3R3U1R2βˆ’(R2+R3)(R1+R2)R3I_1 = \frac{U_2-\frac{R_2+R_3}{R_3} U_1}{R_2-\frac{(R_2+R_3)(R_1+R_2)}{R_3}}
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:
I1=22.3mAI_1=22.3 mAI2=27.7mAI_2=27.7 mAI3=5.3mAI_3=5.3 mA
Β 
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Β 
aβ‹…U1+bβ‹…U2+...+xβ‹…I1+yβ‹…I2+...=Xa \cdot U_1+b \cdot U_2+...+x \cdot I_1+y \cdot I_2+...=X
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.
notion image
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.
I1(1)=U1R1+R2∣R1=5V100Ξ©+50Ξ©=33.3mAI_{1_{(1)}}=\frac{U_1}{R_1+R_2 |R_1}=\frac{5 V}{100 \Omega+50 \Omega}=33.3 mAI2(1)=βˆ’I3(1)=I1(1)2=16.7mAI_{2_{(1)}}= -I_{3_{(1)}}=\frac{I_{1_{(1)}}}{2}=16.7 mA
When U1 is disconnected we get the following:
I3(2)=U2R3+R1∣R2=3.3V100Ξ©+50Ξ©=22mAI_{3_{(2)}}=\frac{U_2}{R_3+R_1 |R_2}=\frac{3.3 V}{100 \Omega +50 \Omega}=22 mAI2(2)=βˆ’I1(2)=I3(2)2=11mAI_{2_{(2)}}= -I_{1_{(2)}}=\frac{I_{3_{(2)}}}{2}=11 mA
And to get the final result it up:
I1=I1(1)+I1(2)=33.3βˆ’11=22.3mAI_1=I_{1_{(1)}}+I_{1_{(2)}}=33.3-11=22.3 mAI2=I2(1)+I2(2)=16.7+11=27.7mAI_2=I_{2_{(1)}}+I_{2_{(2)}}=16.7+11=27.7 mAI3=I3(1)+I3(2)=βˆ’16.7+22=5.3mAI_3=I_{3_{(1)}}+I_{3_{(2)}}=-16.7+22=5.3 mA
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.
Β 

Experiment in the video:

πŸ”¬
Resistors in Superposition

Experiments related to resistors

Experiments & Lessons
Gallery view