• 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 15889
  • 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
  • xxgenerall
    xxgenerall over 12 years ago

    Simulation results are presented below.

    It is obvious that V(n2) goes up to 1V because of the input excitation, and then descends with time.

    I think capacitor is ideal. So why can't V(n2) stay at 1V? Is the capacitor not ideal? Does the capacitor model have some leakage current? 

    Can anyone help me, please? Thanks a lot!

    • sim.jpg
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 12 years ago

    HI xxgenerall,

    Have you tried a DC simulation and examined the voltage of node n2? I believe the steady-state voltage across n2 is 0 V - not 1V. The initial voltage of 1 V is due to displacement current and the charge is then re-distributed to set the voltage across the capacitor connected to ground to 0.

     Put another way, if the rise time of the 2 V signal is very long (dv/dt is about 0), the node voltage at n1 will eventually rise to 2V, but the voltage at n2 will never change from 0. 

     

    Shawn 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • xxgenerall
    xxgenerall over 12 years ago

    Hi all, I appreciate your help. Thank you very much. ^_^

    • 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