Transcript for:
Fourier Series and Signal Energy

[Music] okay so welcome to a la communication course so far we have done some discussion about Fourier series and the representation of any signal any periodic signal let's say with respect to some known basis periodic signals like Co sinusoidal sinusoidal or exponential sinusoidal so this is something we have done we've also done a simple example in the last class I just recapitulate that so what we have done is we had a signal like this which has a period of 2pi so define from minus PI to PI and it is basically centered around 2pi again and so on so it just repeats after every 2 pi and the strength is 1 so this is our general signal which is wtj okay so while representing this WT we could represent WT as exponential Fourier series so n going from minus infinity I'm just recapitulate it the same result so it is DN e to the power J n 2 pi F 0 T where of course F 0 is 1 by 2 pi which is meaning that T 0 is 2 pi so that the period and we have also evaluated our DN so that happens to be whenever n is not equal to 0 so DN becomes 1 by n pi sine n PI by 2 so this was our DN and e0 was just half so this is something we have already done so eventually what we have got is something like this a spectra which was defined in frequency domain so it was having value of 1/2 or 0.2 at 0 then at every F 0 to F 0 3 and 0 there are values so at f 0 it is if you just put sorry at means frequency a component 1 so that is n equal to 1 so there if you just put this you get 1 by pi and so on so at 2 so this was at 1 at 2 we got 0 and so on it was going into negative again 0 and so on and symmetric so that's minus 1 minus 2 something like this so this is what we have got if you see carefully that our this TN tom is now a real number all DN including d0 these are real numbers so initially what we have told that DN can be a complex number and the amplitude of that is plotted in amplitude spectrum and the phase of that is plotted in phase victim because the d-ends are all reals and so the D and D minus n so basically what happens the phase part is always 0 so the phase spectrum will nothing but will be just 0 everywhere so it does not have any phase part right for all the frequency component so for every other frequency component starting from means the DC value which is at frequencies 0 so it has a half so that means you if you wish to plot this it should be something like this all the basis function so D 0 so that's in time if we just plot so that is actually half strength DC that the strength is 1/2 times 0 minus infinity to plus infinity defined as this next is at frequency one Hadj so the it's a sinusoid or we should say cosinusoidal with amplitude 1 by pi so all we have to do is we have to draw a cosinusoidal of frequency 1 that means the period is 1 so basically so this part if this is 0 this must be 1 and so on it repeats after the radius 1 so the period is 1 and what happens basically the strength should be 1 by pi as we have got and remember because the phase is 0 so the cost actually starts from here on the zero phase cosinusoidal so always whenever you are actually constructing these signals you have individual constituent of this same signal so basically signal has been decomposed into multiple either DC value and all other orthogonal cosinusoidal so we just try to plot those cosinusoidal now what is happening you should also remember that this particular cosinusoidal if you see it from here because it is a exponential Fourier series so this part is actually making the e to the power J 2 pi that F is now 1 ok so basically it's at 1 this is defined so F will be 1 over here so it is this right and you have a corresponding cosinusoidal at the negative frequency so that also you will have to put so and because the d ends are for both the cases 1 by pi so it becomes 1 by pi e to the power minus J 2 pi T and then if you just add these two what you get is actually a cost with strength 1 by PI okay so that means the frequency of it is one and the strength is one by PI so basically whenever I am plotting this cosinusoidal you need to understand that we are taking a positive frequency and the corresponding negative frequency taking both the amplitude as well as the phase information so if you see over here carefully we were actually taking the amplitude information and putting it over here because the amplitude is even symmetric amplitude spectrum so we'll have same value over here so modulus of DN will be put over here and the phase of DN will be since put over here plus and minus so that's the phase part because here the phase is zero so we don't see the effect of phase but otherwise the phase effect should be there and the corresponding cosinusoidal that will be happening then will give you exactly the amplitude as well as the phase information so cost will be either lag or leading by that amount of phase so this is what you have to do whenever you are trying to Drew means draw the corresponding basis signals you have to take from the amplitude signal the amplitude and you have to take phase from the phase spectrum okay so these two information you have to take and you have to draw the basis signal similarly the second one will also come over here if you see the second one the second one has amplitude zero at frequency 2 right so of course the time period will be at 1 by 2 so basically what will happen this this has a higher frequency so it will actually repeat within this okay so the thing will be at a higher frequency but because the amplitude is 0 you don't see this because it has its echo sinusoidal where the amplitude is 0 so the third constant is non-existent the fourth one if you see is that the amplitude which is negative so accordingly cosinusoidal will have a negative sign in front of that so the cosinusoidal will start at a PI phase shift so it will be looking like this frequency of that will be three times so you start putting the three times frequency within this and it keep doing that as you go along the frequency line your frequencies will be doubled twice or four times and accordingly the repetition period will be synced and you will have to draw those things with exact phase and amplitude once you draw this and if you add all of them up to infinity you will see that exactly the signal that we have targeted will be generated so this is this is the significance of it so basically what we have done is taken a periodic signal we could represent them with respect to corresponding cosinusoidal or DC value and the specification that is required is completely contained in that BN so DN basically gives you two information one is the amplitude information and other one is the phase information for every frequency whenever you specify n that means it is n into f0 that fundamental frequency so n into F zero at that frequency what's the corresponding amplitude that will be the modulus of DN and the phase of DN will be the corresponding phase so you get these two and then you plot it and whenever you are plotting you are actually putting a cosinusoidal so you are taking two values from the spectrum as we have already explained that it should be always because it's a real signal so it should always take a exponential Fourier series one from positive and a corresponding negatives so these two together will generate your cosine Phi that is what is happening so and you will be getting as long as you are having that complete amplitude spectrum and complete phase spectrum for every frequency term you will be getting corresponding amplitude and phase and accordingly you draw the cosine of order and you add them up if your phase and frequency sorry phase and amplitude informations are correct that means DN you have correctly evaluated you will always if you sum all of them you will always get your signal back this is what is happening that every single now is decomposed into all the harmonics of it and every hard monix is defined for this particular targeted signal is defined by its specific amplitude and specific phase okay so so far so good we know now what's the utility of Fourier series and how Fourier series actually represent a signal in a different domain so it's it's actually we are representing the signal in frequency domain so we are almost seeing the frequency component or the sinusoidal component of that signal which constituent this particular signal okay so this is all good now we have talked about a measurement of a signal right initially in the first few classes so we have talked about energy of a signal so if the signal was real we have told that the signal has to be squared and integrated over the time that it is defined so let us say it is defined from A to B so as long as signal GT is a real signal this is what we will have to do and we get the corresponding energy of the signal this is something we have defined that squaring the signal and then integrating over the time that it is defined now if the signal is not real that it is a complex signal then we have to specify another term that means you have to take the modulus of that signal and square it so basically you have to do this mod GT square DT and you have to integrate so same thing you have to do but for calculating valued into energy because it is a complex signal and energy is a real number so we need a real number so we have to do or we have to take the signal we have to do a complex conjugate of that this is all something we have defined by definition this must be energy right so there is something we are told already that is a measurement of signal like we have done that vector analogies are in vector it's the distance of the vector or the strength of the vector which is also means measured by distance square right so this is how it is being measured now if we just say for any signal we want to basically get the energy value of that signal right it's very easy take that signal integrate it over the time that it is defined so suppose we have that square pulse right so remember it's a periodic signal so definition of energy we have already talked about periodic signal where it becomes a power signal right so the definition of energy is not there but if we just take the definition from minus PI to PI then it is a energy signal and then within this we can still define the energy of this signal so if you wish to calculate the energy what you can do you can just integrate from minus PI to PI G square right if this is my signal you can get it is there any other way or in the frequency domain can we also talk about this energy representation or can we just say that this particular signal we have already identified that it is means defined by multiple basis signals and their linear combination and the coefficient of them are already known via Fourier series right so if we just take this signal and take those constituent is there a possibility of defining the energy from that perspective so in the frequency perspective every component how much energy it actually provides to add up to give this energy is it possible so that something will be now exploding so let us try to see what happens to this so before that let us say I have two signal XT and YT okay so my definition these two signals are orthogonal to each other so I am just trying to exploit that orthogonal property and energy calculation okay so we are just assuming that two signals very simple two signals which are orthogonal to each other it might be just like cos Omega CT and sine Omega CT we have already proven these two signal are orthogonal within a particular period right so if it is defined from - pie - pie okay so take these to signal and let us say I wish to generate another signal JP which is just an addition of these two signals now my target is so I am almost going towards linear combination of orthogonal signals so right now I am just giving a very simple example that I have got two orthogonal signal and just adding them it is a linear combination with coefficient one right plus one so I am just adding these two signal now we wish to see suppose for XT and YT I have already evaluated the energy of them so this is suppose E X and this is ey I have evaluated the energy of that so how I have evaluated X & Y if means I do not care if they are complex or if they are real so I just have done this XT modular square integration BT over the period that it is defined okay so A to B so for our case if XT is cos Omega C T so minus PI to plus one okay so this is something I have evaluated and this gives me e X similarly for y also I have done the same thing so I have done a to be Y T modular square DT that gives me e Y suppose I know these two parameter e ex and ey both of them can I now calculate the energy of JT without actually means adding them integrating and all those things so does orthogonality gives me some idea of these things so let us try to see so energy of JT what does that mean a to be modular JT square DT right so that actually means a B now it should be XT plus y T modulus whole square DT right now expand this so that should be mod XT whole square plus mod y T whole square plus xt y star T plus X star T YT right this whole thing integration over DT right so now you can see this particular part mod XT whole square DT that is actually e^x for us this part is the ey for us now the orthogonality plays a big role what's the integration under t over that period as long as xt and YT are orthogonal signal we know that that term should be zero that's the property of orthogonal any orthogonal signal if you take that signal and take the complex conjugate of that multiply that and integrate over the period that you are targeting or where the signal is defined it will be always as long as XT YT are orthogonal that should be always 0 so this term happens to be 0 this term happens to be 0 so basically what we get is the energy of Jed is just the summation of energy of x and y is a very fundamental result which has big implications ok so we will try to use this and try to prove a very fundamental theorem which is called percival film so let us try to see if now from this if you just go to a linear combination of orthogonal signal so suppose I have a signal let us say XT that is defined as some linear combination with coefficients CI XIT where all the x i's are orthogonal to each other ok so that means that if you take cross product so X 1 with X 2 T star and you integrate over the particular targeted period you will get 0 okay so these are all excited are all individual orthogonal signal and as I goes from in to its limit as many eyes are there ok so over I you have to solve ok so if this happens what we can get if you see so the energy of XT if you just try to calculate this that must be we know that it's a just take the previous example if you have two orthogonal signals to each other it will be individual energies square or individual energy addition of that right so if I try to calculate the individual energy the individual constituent is suppose let's say I start from one so or zero so let's say I start from one so c1 x1 P what's the energy if we know that x1 P has an energy of u1 okay already therefore that c1 x1 t will have an energy of you have to integrate modulus of this so C 1 into C 1 star so that should be mod C 1 square that will go out of the integration so if I just do that C 1 X 1 T C 1 star X 1 star T DT integration so C 1 C 1 star will be mod C 1 square this integration x1 p x1 star T DT that is the energy of x1 which is u1 so it should be mod C 1 square e 1 so that's the first term so it should be the first term should give me the first energy component and similarly all other energy component so there will be C 2 mod square e 2 plus dot dot dot up to as many eyes are there all cross components because the signals are orthogonal to each other will be just vanished so I can always evaluate as long as I can represent a signal with respect to the Constituent orthogonal signal and they are in linear combination if I know all those coefficients I can always evaluate the energy of the original signal this is what was targeted and I can do that now let's apply this to Fourier series let's see what happens so in Fourier series what has happened any signal XT a periodic signal of course that has been represented as n equal to minus infinity plus infinity we are taking the exponential Fourier series formula so that should be DN e to the power minus it was sorry plus J 2 pi and s0 T right so that's the representation we have already seen that and BN must be evaluated as done by Fourier series right so this is something we have already seen now what we are saying is this that here as long as we know D n we know that for every end these are those orthogonal components right so therefore the energy of X must be the individual energy where the coefficients are it's a linear combination of these orthogonal signal right each of those orthogonal signal what's their corresponding energy so if I just take it B power J 2 pi n f0 T and I wish to evaluate its energy so what I have to do I will take this signal I have to do a complex conjugate J 2 pi n s 0 P bTW integrate over a period let's say minus PI to PI if I don't do this this will give me 1 so I get 2 pi right so this is what I get immediately so I know that if this is a particular signal and I wish to evaluate its energy so I can always evaluate it like this and of course whenever we are evaluating this energy it also has 1 by p0 if you remember the signal means the way the signal has been evaluated so the corresponding DN term will always have 1 by T 0 so that 1 by T 0 will come so 1 by 2 pi will come this will give me 1 so that will be always giving me 1 because this 1 by T 0 or 1 by T 0 means 1 by 2 pi that will be there ok so I have to evaluate this way the energy 1 by 2 pi minus PI to PI you have to do this right and I get individual energy of those signals as right so this is something I get so once I have got this then I know that the overall energy should be just individuals suppose the 0s term is d0 so mod D 0 square plus then I have to get D 1 D minus 1 everybody's mod square so D 1 square plus D minus 1 square plus dot dot dot now I also know that of course remember that this coefficient square into the energy of the first one okay now the energy of the first one is for any value of n that's 1 so that is why all those values are coming to be 1 right so what we get what all energy is just the summation of this coefficients so I can either write them as n equal to minus infinity to plus infinity mod D n square or I can because I know these two are symmetric so I can write it as mod B 0 square plus 2 into n going from 1 to infinity mod en square I can also write this way this is the famous possible theorem of computation of energy of a particular signal so basically what has happened if I had a signal XT I was aware of its energy so that I can do in a very simple way that okay take the signal integrate it from within a period so let us say minus Phi 2 pi I can do that that is one way of doing it but because I know the possible theorem what I can do if I know the Fourier series representation of this signal that just means that all that D ends I know I have evaluated all those D ends and so once I know all those dn the energy of the signal is also can be written or can also be represented in a different way that means all constituent signals all Constituent means orthogonal signal you take their coefficient and take a modulus of that next square and all of them you will get the energy of the signal so basically it's just very simply understandable that a signal if it is already there you have decomposed into multiple basis signals and each of those basis signal has their own energy ok so the energy is dependent on the corresponding coefficients that is the N so as long as you know that DN you can take modular square you get your energy representation of that particular constituent signal and we call the signal is linear combination you can just take linear combination of this energy or addition of this energy I should not say linear combination addition of these energies that will create the overall energy what exactly is this if you just take it from vector analogy so we have already done a vector analogy to signal so what is happening if you have in vector we already know that if a particular vector is represented by linear combination of two vectors then what should be the strength of this vector that must be through Pythagoras theorem we know because these two are orthogonal so that must be this square plus this square right and this square is the actually strength or measurement of that vector so measurement of this vector plus measurement of this vector must be the measurement of this vector as long as the measurement measurement is distance square okay so if that is the case and if we are talking about Euclidean space we can always see vector measurement which is distance square is just the vector measurement of the corresponding component in means when represented in orthogonal vector space right same thing is happening over here if you see what is happening this D ends so whatever D and we are putting over here this D ends are actually the measurement or the coefficients of the corresponding orthogonal signals that constituent the signal so as long as we know this D ends we can get corresponding energy which is actually again the measurement of that particular signal or the energy of that particular signal so measurement means energy over here so energy of that particular signal so we get energy of all constituent signals and it's just the addition of those energy which gives me the overall energy of the signal that's the strength of possible system so basically Percival's theorem state almost similar thing as we have got in vector so all the cross terms are vanished because they are orthogonal similar thing happening like vectors and only the corresponding measurement add up to give me the measurement of the signal and our measurement is energy so in the next class what we'll try to do after getting this sense of signal we'll try to think about a signal which is continuous in time that true means in a way but most importantly if it is a non periodic signal or energy signals what to do what kind of treatment we should take for those kind of signals will concern means will concern ourselves about that on