How to define VCCS function

Hello , I am just getting started with circuits , so pardon my ignorance .

I want to know how I define VCCS function for a device in a ckt . For example i = f(Vin)=(K * (Vin - VT)^2)/2 .

Thanks

by veer
April 27, 2012

Hi @veer, the VCCS element only supports a linear relationship between control and output. However, you can use a normal current source element and the experimental behavioral sources support to do what you want. For example, you could if you have a node named "in", then define a current source and set its parameter I to be something like: (0.1*(V(in)-1.5)^2)/2. (Named variables like "K" and "VT" aren't yet supported.) Hope that helps! If not, post a public circuit so we can see what you're trying to do.

by mrobbins
April 27, 2012

Here are some examples of using behavioural sources:

https://www.circuitlab.com/browse/by-tag/behavioural-sources/

by signality
April 27, 2012

Thanks guys , I'll give behavioral source a try .

By the way I am taking " Circuits and Electronics" 6.002x from MITx . I think they will be offering the on line class again , may be circuitlab.com want to tie up with them just a thought.

by veer
April 27, 2012

Post a Reply

Please sign in or create an account to comment.

Go Ad-Free. Activate your CircuitLab membership. No more ads. Save unlimited circuits. Run unlimited simulations.

About CircuitLab

CircuitLab is an in-browser schematic capture and circuit simulation software tool to help you rapidly design and analyze analog and digital electronics systems.