• 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. Does capacitor in analoglib have some leak current?

Stats

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

Does capacitor in analoglib have some leak current?

xxgenerall
xxgenerall over 12 years ago

Hi everyone,

I've simulated a very simple circuit, as follows.

It has a step-up signal as input. And signal "n2" is interesting.

  • cir.jpg
  • View
  • Hide
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    The reason for this is that there is no DC path from n1 to ground (it's floating at DC), and so the simulator inserts a gmin resistor to ground. Since the default value of gmin is 1e-12 Siemens (1e12 ohms), you then have a 2 second time constant - if you simulate for 2 seconds you'll see it's down to 0.369mV (i.e. 63% of the way there, what you'd expect after a time constant).

    In this trivial circuit, you could set the option gmin to 0 (this is generally not a good idea, as gmin conductances are there to aid convergence - having absolutely no path to ground means that there are an infinite number of solutions for the DC operating point, since a floating node could be anything; a high value like 1e12 ohms is not unrealistic in terms of leakage).

    Regards,

    Andrew.

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

    The reason for this is that there is no DC path from n1 to ground (it's floating at DC), and so the simulator inserts a gmin resistor to ground. Since the default value of gmin is 1e-12 Siemens (1e12 ohms), you then have a 2 second time constant - if you simulate for 2 seconds you'll see it's down to 0.369mV (i.e. 63% of the way there, what you'd expect after a time constant).

    In this trivial circuit, you could set the option gmin to 0 (this is generally not a good idea, as gmin conductances are there to aid convergence - having absolutely no path to ground means that there are an infinite number of solutions for the DC operating point, since a floating node could be anything; a high value like 1e12 ohms is not unrealistic in terms of leakage).

    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