yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

AC analysis superposition


4m read
·Nov 11, 2024

So in the last video, we talked about Oilers formula, and then we showed the expressions for how to extract a cosine and a sine from Oilers formula. We have a powerful set of expressions there for relating exponentials to sine waves.

Now, I want to show you an example, just a preview of when we get to the formal AC analysis. How are we going to exploit these expressions? How are we going to exploit these formulas? This is a real-world signal. This cosine term, let's suppose we build something that has a cosine to it. That could be something like a microphone that's hearing sounds that look like sine waves, and we would model those sine waves as a cosine wave that comes into some electronic system.

So let me draw a sketch of the clever approach that we're going to use. What I'm going to do is I'm going to build here. Here's a circuit I'm imagining. There are resistors, capacitors, and inductors—linear elements—and we can have sources and stuff like that. So there's something in here, and we have something going in and something coming out.

Okay, voltages and currents are coming out, voltage and current are coming in. I'm going to drive my circuit with some sort of sinusoid. I'll call that sinusoid—I'll give it an amplitude—and I'll call it cosine of Omega T, where Omega is the frequency, T is time, and A is the amplitude of the signal coming in here.

Now that signal is going to go into this circuit. Something's going to happen, and there's going to be a voltage coming out of here. We'll get V out over here of some sort, and it's going to be some amplitude. It's going to be some sort of a cosine wave of Omega T plus some phase angle—some angle—that's our job to discover. That's the circuit analysis problem for AC analysis.

We put in an AC signal, and we're going to get out another AC signal. This is the forced response. Remember, it's going to look like the input; it's going to be at the same frequency, but it's going to be at some different phase angle.

So, in order to do this, there's a fair amount of hard trigonometry we have to do. There's going to be a lot of cosines and sines and angles and things inside this, so that's pretty challenging analysis. Now, what we do with Oilers formula is we turn it into exponentials, and we already know how to solve exponentials.

So, we take the same circuit—it has the same stuff inside it as resistors and capacitors, the same exact circuit. Let's draw the same exact circuit there—that's identical—and it has the same output port right here. This time, what we're going to do is we're going to basically take this cosine, and we're going to cast this into an exponential. The way we do that is we use that formula; we use Oilers formula.

We basically create two sources—two separate sources—and they're exponential sources. It's going to be A over 2 e to the J Omega T; that's this source here. This source here is A over 2 e to the minus J Omega T; that's this waveform. If I add those together like that, remember the previous equation we just looked at? Oilers formula says that cosine equals that. The voltage here is exactly the same, and all we've done is describe the same exact cosine waveform as these two imaginary exponentials.

Now, I can't actually on my workbench build one of these things; these don't exist in real life. But they can exist mathematically; they can exist in my head. And I know that if I add these two voltages together, I do get a cosine. So, in our heads and on paper, we can actually drive circuits with these things. We can't actually build it, but on paper, we can do it.

Now that I have two sources, I can use the principle of superposition. This is another use of the very powerful idea of superposition. So, using the idea of superposition, I'm going to apply each of these two inputs one at a time and then add the results together.

So, over here, I'm going to get two outputs. I'm going to get a V out1, let's call it V out plus, which is what happens when I put in this plus source and suppress this one, which means I short it out. I'm going to get a V out plus. How do you solve a differential equation when you have an exponential going in? Well, we know this; it's going to be an exponential answer. It's going to be some constant times e to the J Omega T plus some constant, some angle.

Then I'm going to solve it again. I'm going to add to that V out minus, and I do that by suppressing this input and turning this one back on using superposition. V out for the plus—or, sorry, V out for this source here—is going to equal some other K, let's call that K plus plus K minus e to the minus J Omega T.

So, I'm going to put in two exponentials. I'm sure I'm going to get out two exponentials. Now, using Oilers formula, we know how to combine these. We can use that same expression, and we can recover our cosine. We can recover the real signal, and this will have some magnitude B.

We don't know the magnitudes yet, but we know what the shape of the waveform is. If we look at this, this is the same thing as this here. We did it by decomposing our cosine into exponentials, putting each exponential through this, and then recombining to get cosine. We do all those steps because solving differential equations with exponentials is the easiest way to do it.

So, just so you know, it's not twice as much work. What's going to happen is it's going to turn out that this whole solution down here, using the negative exponential, the answer is going to be exactly the same as the positive exponential except for there's just this conjugate—this complex conjugate—in here.

So, for real signals going in, the answer goes through, and it's always—these answers are always complex conjugates of each other as long as we start with a real input.

Okay, so that was a review of Oilers equation and a little preview, a little sneak preview of how we're going to do AC analysis using this really powerful tool.

More Articles

View All
Your Brain Tells You Time Is Real — But Is It Lying to You? | Dean Buonomano | Big Think
So there’s two general hypotheses or theories about the nature of time. One of them we’ll call Presentism. And Presentism, the notion is that only the present is real. The past was real. The future, some configuration of the future universe, will be real.…
Don’t Rely on Credibility Stamps
There are a lot of institutions in our society today that are relying upon credibility stamps. They used to be how you gain credibility in society. So, if you were a journalist writing for the New York Times or Washington Post, then you had the masthead o…
Birth of the Slacker | Generation X
Most Gen Xers are in school during the crash, so at first they think, “Like, so what?” I’d never quite understood the stock exchange game enough to be interested. I would like to meet this Dow Jones; I thought he was a guy in all the Disney movies. I viv…
Metric system unit conversion examples
Tomas dropped off two packages to be shipped. One package weighed 1.38 kg and the other package weighed 720 g. So the first one they given in kilograms and the second one they give us in grams. What was the combined weight of both packages in grams? So w…
Local linearization
[Voiceover] In the last couple videos, I showed how you can take a function, ah, just a function with two inputs, and find the tangent plane to its graph. The way that you think about this, you first find a point, some kind of input point, which is, you k…
Diversity, Equity, and Inclusion
All right, welcome back. A big shock from a big retailer, Tractor Supply, which actually is huge, got more than 2,200 stores all across America. Last night, coming out and saying they are cutting all of their diversity, equity, and inclusion efforts. That…