The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> current source definition https://designers-guide.org/forum/YaBB.pl?num=1242720630 Message started by kanan on May 19th, 2009, 1:10am |
Title: current source definition Post by kanan on May 19th, 2009, 1:10am Hi, how to define a current source that does not drive an output node voltage above vdd? i.e. I have a definition like: isource #(.dc(10u)) i0 (vdd,n1); n1 is connected to the rest of circuit (basically set of switches and resistors). Now it so happens, that at certain conditions (switch turned on), current is drawn from the source and voltage at n1 begins to rise. However, once it rises to vdd, ideally no more current should be supplied.. but I observe that the node voltage continues to climb (current is continuosly supplied) What is way to prevent this? Is there something I can change in the manner in which the current source is defined? thanks K |
Title: Re: current source definition Post by Geoffrey_Coram on May 19th, 2009, 5:09am I think there are a few postings on this forum about a current source with "limiting" or "output limiting" to do this. It's a little tricky to make sure the i vs v characteristic is continuous and smooth enough not to cause convergence problems. |
Title: Re: current source definition Post by Ken Kundert on May 19th, 2009, 7:06am Take a look at the "Current limited voltage regulator" on the Verilog-AMS page. -Ken |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |