Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Basic question about phase margin

Status
Not open for further replies.

analog_match

Member level 2
Joined
Nov 4, 2008
Messages
50
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
USA
Activity points
1,641
phase margin

To calculate phase margin do I always use
PM=180+phase(t.f) where, t.f. is the closed loop transfer fn.
So for example say the phase at 0db is +120, then what is the PM,
180+120=300 OR 180-120=60

Thanks
 

how to calculate phase margin

I believe the transfer function will determine the sign or direction of the margin
 

phase margin basic theory

transfer function will tell u,but if u r getting 120,then it is to be 120
 

calculating phase margin

analog_match said:
To calculate phase margin do I always use
PM=180+phase(t.f) where, t.f. is the closed loop transfer fn.
So for example say the phase at 0db is +120, then what is the PM,
180+120=300 OR 180-120=60
Thanks

Hi analog_match !

Here is a recommendation from my side:
Before calculating phase margin you should find a definition for that.
Here it is:
Phase margin is related to the LOOP GAIN (that´s the gain of the OPEN LOOP) and it is the difference between 180 deg and the actual phase at the frequency where the LOOP GAIN is 0 dB.
 

what is phase margin

In your example the phase margin is 60deg.
It's really the difference between 180 deg and the actual phase of the system at 0dB.
 

bode plot, phase correction

VVV said:
In your example the phase margin is 60deg.
It's really the difference between 180 deg and the actual phase of the system at 0dB.

No, that´s wrong as you are referring to the CLOSED loop phase (transfer function).
But you have to calculate with the loop gain phase instead (loop open).
 
cadence open loop phase margin

Thanks all for your reply to this question.

LvW, I have a comment and then a further question to this thread:

So basically what you are saying is if we have a t.f. G=A/(1+A*f)
where:
A->open loop gain.
f->gain of feedback network.

Then phase margin is calculated from magnitude and phase plot of the loop gain A*f, correct??

Now my question which stems from my confusion of how do I plot the magnitude and phase of loog gain, A(s)*f(s) to calculate the phase margin.

Generally when we measure a gain in a simulation tool like Pspice or cadence spectre etc. we have some input src and we put a signal of magnitude 1 in the "A.C. magnitude" field to linearize the circuit and then simply do an a.c. analysis on the output port. But this gives us the bode plot of G(s).

If I open the loop then I can get bode plots of A(s) and f(s) individually but how do I get the bode plot of A(s)*f(s).

Thanks
 

pspice phasemargin measurement

analog_match said:
....................
LvW, I have a comment and then a further question to this thread:
.......................
Generally when we measure a gain in a simulation tool like Pspice or cadence spectre etc. we have some input src and we put a signal of magnitude 1 in the "A.C. magnitude" field to linearize the circuit and then simply do an a.c. analysis on the output port. But this gives us the bode plot of G(s).
If I open the loop then I can get bode plots of A(s) and f(s) individually but how do I get the bode plot of A(s)*f(s).
Thanks

The answer is quite logical:
1.) Ground the "normal" input
2.) Open the loop and inject an ac test signal of 1 volt at one node of the cut and watch/draw the voltage at the other node of the cut.
3.) That´s the PRINCIPLE. However, in most cases the bias point is lost or changed by openeung the loop. That´s the reason several articles and papers have been written to solve this. There are several "tricky" methods.
The simplest method is to place the test voltage source BETWEEN both nodes of the cut. This works only if the cut is done at a low impedance point (opamp output)

Any further questions ?

Added after 1 hours 4 minutes:

I forgot to mention, that in case of a test voltage in series with the cut (between) you always have to calculate the ratio output/input - even when the test voltage is 1 volt.
 
how to calculate phase from transfer function

Thanks LvW. Your insight has been very helpful.
 

calculate phase margin

Hello All

If you decide to inject an AC source directly in your circuit to break the loop, how would you calculate the phase margin?

Would it be difference of the phase between out and in?
 

example for phase margin

parkl said:
Hello All

If you decide to inject an AC source directly in your circuit to break the loop, how would you calculate the phase margin?

Would it be difference of the phase between out and in?

No, of course not. Look at the DEFINITION of the margin. It is the difference between the actual phase shift (at the cross-over frequency) and -180 deg.
 

calculation of gain and phase margin in cadence

hi,

Using bode plot u can find the phase margin for both open loop and closed loop systems.. the magnitude plot and the phase plot are drawn and then phase angle at gain cross over frequency is found out and it is added with 180 degree..
 

open loop closed loop phase margin

gaya_pink said:
hi,
Using bode plot u can find the phase margin for both open loop and closed loop systems.. .

Correction: The phase margin is defined only for the open loop system.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top