Mar 26, 2004 #1 M mike_bihan Full Member level 3 Joined Mar 21, 2002 Messages 182 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 1,531 hspice phase margin I was using command to measure phase margin in hspice. .meas ac ugain_freq when Vdb(out)=0 .meas ac phase_margin ******* from=1 to=**** The question is how to find the minimum phase from 1Hz to unite-gain frequence? [/b]
hspice phase margin I was using command to measure phase margin in hspice. .meas ac ugain_freq when Vdb(out)=0 .meas ac phase_margin ******* from=1 to=**** The question is how to find the minimum phase from 1Hz to unite-gain frequence? [/b]
Mar 26, 2004 #2 M maxwellequ Full Member level 3 Joined Jun 27, 2001 Messages 185 Helped 25 Reputation 50 Reaction score 13 Trophy points 1,298 Activity points 2,208 hspice .meas ac .measure ac gain You can try .measure ac min_phase MIN vp(out) from=1 to=ugain_freq The phase_margin is, then, min_phase-(-180): .measure ac phase_margin = param ('180+min_phase') regards
hspice .meas ac .measure ac gain You can try .measure ac min_phase MIN vp(out) from=1 to=ugain_freq The phase_margin is, then, min_phase-(-180): .measure ac phase_margin = param ('180+min_phase') regards
Mar 26, 2004 #3 M mike_bihan Full Member level 3 Joined Mar 21, 2002 Messages 182 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 1,531 phase margin hspice fail
Mar 26, 2004 #4 M maxwellequ Full Member level 3 Joined Jun 27, 2001 Messages 185 Helped 25 Reputation 50 Reaction score 13 Trophy points 1,298 Activity points 2,208 .measure ac hspice What happens ? It fails on both measurements (min_phase and phase_margin)? I've already used this type of measurements several times. You should check the lis file to see if there is any relevant warning.
.measure ac hspice What happens ? It fails on both measurements (min_phase and phase_margin)? I've already used this type of measurements several times. You should check the lis file to see if there is any relevant warning.
Mar 26, 2004 #5 M mike_bihan Full Member level 3 Joined Mar 21, 2002 Messages 182 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,296 Activity points 1,531 phase margin measurement spice the reason i failed is that I typed ugain_freq as ugain-freq, so when it is being refered in other .meas commands, it is misinterpreted as 'ugain'-'freq'. Thanks, it is ok now.
phase margin measurement spice the reason i failed is that I typed ugain_freq as ugain-freq, so when it is being refered in other .meas commands, it is misinterpreted as 'ugain'-'freq'. Thanks, it is ok now.
Apr 9, 2009 #6 B bharatsmile2007 Full Member level 3 Joined Sep 19, 2007 Messages 179 Helped 1 Reputation 2 Reaction score 1 Trophy points 1,298 Activity points 2,306 hspice command to measure phase margin Hi, For finding out the phase margin u connect a ACM(ac magnitude) of 1v to inverting or non-inverting terminal. Thanks
hspice command to measure phase margin Hi, For finding out the phase margin u connect a ACM(ac magnitude) of 1v to inverting or non-inverting terminal. Thanks
Sep 24, 2010 #7 G gabicod Newbie level 1 Joined Oct 15, 2009 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Location usa Activity points 1,284 Re: hspice command to measure phase margin Hi, For finding out the phase margin .measure ac phaseM find vp(out) when v(out)=1 Regards
Re: hspice command to measure phase margin Hi, For finding out the phase margin .measure ac phaseM find vp(out) when v(out)=1 Regards