The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 23rd, 2024, 8:44am
Pages: 1
Send Topic Print
Modelling an incremental current source (Read 2248 times)
Rosh
Junior Member
**
Offline



Posts: 21

Modelling an incremental current source
Aug 19th, 2015, 8:03pm
 
I am trying to build a non-ideal voltage source with a drooping characteristic for increasing current that is drawn from the source.

So far my circuit consists of a voltage source in series with a resistance (which is the internal resistance) supplying a fixed capacitor load.

I now want to add a current source which keeps sinking increasing amount of currents from voltage source.

Is there any way to do this?


I want to accomplish this : Code:
I(n1,n)<+ dc+ 0.1 ;  



i.e the current source should draw 0.1A more current for each simulation time.


How do I accomplish this? The for loop doesn't work
Back to top
 
 
View Profile   IP Logged
boe
Community Fellow
*****
Offline



Posts: 615

Re: Modelling an incremental current source
Reply #1 - Aug 21st, 2015, 2:15am
 
Rosh,
Quote:
i.e the current source should draw 0.1A more current for each simulation time.
In transient simulation, the time steps may be unequal, so you should use something like I(tsim) = Idc + Gain * tsim.
- B O E
Back to top
 
 
View Profile   IP Logged
Rosh
Junior Member
**
Offline



Posts: 21

Re: Modelling an incremental current source
Reply #2 - Aug 23rd, 2015, 11:56pm
 
Thank you B O E. It works now  :) Cool
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.