• 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. [Virtuoso] What is wrong with my RC transient simulation...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 16629
  • 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

[Virtuoso] What is wrong with my RC transient simulation ?

Leey
Leey over 6 years ago

Hi,

   I am trying to do a simple RC transient simulation in Cadence virtuoso. Please see the circuit below:

I am trying to see the transient current and voltage of the capacitor being charged,however I got the following simulation result:

where /net3 is the capacitor voltage and CO/plus is the capacitor current. This looks totally incorrect, and I have my simulation configuration as:

Could anyone help me figure out the issue? Thanks!

  • Cancel
  • Leey
    Leey over 6 years ago

    Sorry, something wrong with my uploading, here is the simulation result:

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sjwprc
    sjwprc over 6 years ago in reply to Leey

    Hi, you give DC source with cap as load, so the circuit is open. No current. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Leey
    Leey over 6 years ago in reply to sjwprc

    Thanks Sjwprc, but my goal is to see the transient current and voltage waveform when a cap is being charged. That is why I am using DC source for a cap.  

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to Leey

    You won't see any transient current or voltage as the capacitor is charged if you use a DC source. The DC operating point will find (in effect) the settled DC steady state. This is done by leaving the capacitor open-circuit, and so the DC voltage on the node between the capacitor and the resistor will be 20V. Thus the capacitor is fully charged at the beginning of the transient, and all you are seeing is numerical error in the simulator - you are seeing tiny variations in the voltage and the current oscillation is some kind of trapezoidal integration error at the same magnitude as iabstol (or it might be gmin-related - I didn't check). Probably that would go away if you used method=gear2only on the transient.

    If you want to see the capacitor being charged, you could set ic=0 (initial condition) on the capacitor and then run the transient. That would mean that the voltage between the resistor and capacitor starts the transient at 0V and the capacitor is discharged, so would then charge during the transient.

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Leey
    Leey over 6 years ago in reply to Andrew Beckett

    Thanks Andrew, it works now.

    • 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