• 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. PSpice
  3. PSpice derivative not smooth

Stats

  • State Verified Answer
  • Replies 3
  • Subscribers 26
  • Views 4590
  • Members are here 0
More Content

PSpice derivative not smooth

BertRAMAerts
BertRAMAerts over 1 year ago

This is my circuit:

What I do not understand is the un-stability of the derivative:

I would expect a flat line...  What can be wrong

  • Sign in to reply
  • Cancel
  • BertRAMAerts
    0 BertRAMAerts over 1 year ago

    Of course a derivative of 200K=200000 is huge, atan(200000)-Pi/2=5E-6 so very very close to Pi/2.
    Taking a much bigger max timestep of 0.5usec instead of 0.01usec gives a better result with much less noise.
    Not sure why...

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • BertRAMAerts
    +1 BertRAMAerts over 1 year ago in reply to BertRAMAerts

    It was just a setting: I made the relative tolerance 10 times smaller than the default value:

    and now the gain looks great even with very small timestep of 0.01 usec:

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • AyushD
    0 AyushD over 1 year ago in reply to BertRAMAerts

    You just tighten the accuracy and hence smooth line.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

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