• 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. Spectre setting for comparator-based PWM

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 14932
  • 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

Spectre setting for comparator-based PWM

greatqs
greatqs over 10 years ago

All,

I'm simulating a circuit with sinusoid being open-loop PWM modulated (natural sampled). Theoretically, the open-loop PWM modulation should be linear (no direct in-band signal harmonics). However, when I did the Spectre simulation with sweeping the reltol parameter, I found the distortion after anti-aliasing filtered and FFT is very big ( < 80dB) highly dependent on reltol with significant numerical noise floor. The THD gets flat (~140dB) until I set 'reltol' to some ridiculous value (method=gear2only, errpreset=conservative, reltol=1e-9).

I suspect this relates to Spectre time step algorithm to handle sharp zero-crossing points with good enough time step "accuracy" as I observed "numerical" jitter before in some frequency divider design which can be workaround by time step algorithm (i.e. LVLTIM) in other simulator.

Does anyone has experience on this and could share some lights?

Thanks,

QS

 

  • Cancel
Parents
  • ShawnLogan
    ShawnLogan over 10 years ago
    Dear Andrew and QS,

    I apologize for my potential suggestion to utilize maxstep in your application QS. As most of my simulations are focused on various types of oscillators, I set this option frequently to provide the level of measurement accuracy I need.

    My apologies again for any confusion I caused.

    Shawn
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • ShawnLogan
    ShawnLogan over 10 years ago
    Dear Andrew and QS,

    I apologize for my potential suggestion to utilize maxstep in your application QS. As most of my simulations are focused on various types of oscillators, I set this option frequently to provide the level of measurement accuracy I need.

    My apologies again for any confusion I caused.

    Shawn
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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