• 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. RF Design
  3. LC Oscillator - Cadence

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 63
  • Views 7743
  • 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

LC Oscillator - Cadence

rsrk
rsrk over 13 years ago

 Hi

This is could be quite obvious to many of you. Still ...

When I tried to simulate ideal LC oscillator with initial conditions(voltage across the capacitor) using cadence tools ... I realised that output voltage is decaying as time progresses. I mean ... without any series resistance across either capacitor and/or inductor how could I expect output voltage to decay ??

Secondly ... though output voltage is oscillating, I expect voltage across the capacitor, at t=0, to be the one I imposed ... rather in transient analysis I am observing it to be zero. I wanted to be clear as I need to work phase differences.

Could someone throw light on it.

Regards
SRK

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    This is almost certainly dependent upon what you set errpreset to in the tran analysis (unfortunately you didn't post your input.scs netlist as I asked you to, which would have enabled me to see what analysis options you had set).

    If you run the above circuit with a transient analysis for 100ns with no options set on the tran form, it will not decay. The same is true if you set errpreset to moderate. However, if you set it to conservative or liberal, the method that is used will be gear2only or  trapgear2 (it actually depends a bit on which specific version of spectre you're using - see "spectre -h tran" to see what errpreset does in the version of spectre you're using).

    When gear2 methods are used, they introduce a small amount of numerical damping - which in the case of an ideal oscillator will cause the oscillation to die out. In many simulations that small numerical damping is useful because it stops trapezoidal ringing, but is something you often want to avoid in a real oscillator.

    If you really want to use errpreset=conservative or liberal, you can do - just go to the Options form at the bottom of the transient form and change method to be traponly - that will stop the decay. 

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    This is almost certainly dependent upon what you set errpreset to in the tran analysis (unfortunately you didn't post your input.scs netlist as I asked you to, which would have enabled me to see what analysis options you had set).

    If you run the above circuit with a transient analysis for 100ns with no options set on the tran form, it will not decay. The same is true if you set errpreset to moderate. However, if you set it to conservative or liberal, the method that is used will be gear2only or  trapgear2 (it actually depends a bit on which specific version of spectre you're using - see "spectre -h tran" to see what errpreset does in the version of spectre you're using).

    When gear2 methods are used, they introduce a small amount of numerical damping - which in the case of an ideal oscillator will cause the oscillation to die out. In many simulations that small numerical damping is useful because it stops trapezoidal ringing, but is something you often want to avoid in a real oscillator.

    If you really want to use errpreset=conservative or liberal, you can do - just go to the Options form at the bottom of the transient form and change method to be traponly - that will stop the decay. 

    Regards,

    Andrew.

    • 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