• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Gain margin and phase margin expressions from nyquist p...

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 126
  • Views 10773
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Gain margin and phase margin expressions from nyquist plots

unSkilled
unSkilled over 1 year ago

Virtuoso IC6.1.8-64b.500.27

mmsim 21.10.612

Hi all,

I have run some stb sims and the output log says that the circuit is unstable, but the step response of the transient simulation looks OK (about 30 deg worst case) and confirmed it through a visual inspection of the nyquist plot. I would like to generate expressions that read both phase and gain margin directly from the nyquist plot and store them in my assembler view. Visual inspection isn't an option when simulation hundreds of corners. 

Has anybody implemented this before? Thanks in advance,

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Are you producing the nyquist plots by plotting the loop gain from a Spectre stb analysis? If not, how are you doing this?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 1 year ago

    Are you producing the nyquist plots by plotting the loop gain from a Spectre stb analysis? If not, how are you doing this?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • unSkilled
    unSkilled over 1 year ago in reply to Andrew Beckett

    Correct,

    However, when using the pm/gm calculations from the stb analysis it says the circuit is unstable.

    WARNING (SPECTRE-16922): Cannot obtain the phase margin and gain margin because the circuit is a positive feedback system and is unstable. This is because the magnitude of loopGain is greater than one at 112.202 Hz when the phase of loopGain crosses zero degree. To make the circuit stable, ensure that the magnitude of loopGain is less than one when the phase of loopGain crosses zero degree.

    The circuit is an LDO regulator, so I sweep the load current to check for the stability at all load conditions. For some values of the load current, the phase starts at 180 and rolls down whereas for others, the phase starts at -180 and goes up (and then back down eventually)

    These are the simulation results (it's an RC extracted view, so I used spectre X set in LX, as the GUI indicates this is a good setting for power management circuits). The load is steped down by halving it every 50us and running an stb at selected times. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information