Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Thread Tools Display Modes
Old 1st February 2007, 05:55 PM   (permalink)
Default Configurable opamp model for Spice

Found this from EDN and it works! Thought I would share...

If you have ever wanted to have a generic Spice opamp model that allows you to easily configure things like

* Open loop gain
* Input bias current
* Unity gain bandwidth
* Slew rate
* Phase Margin
* RIN, CIN
* Iq
* Output rail swing
* CMRR

Then this is for you! You can tailor this to simulate any opamp you wish when the real model is not available or requires too much work to create.

What it doesnt model:
* PSRR
* AC noise
* High frequency, NON-DOMINANT poles & zeros - these can be added if you feel comfortable modifying the model.
* It doesn't "float". Some of the stages are referenced to node 0 which, is ground in PSpice. If you don't know what "float" means, then this limitation probably won't bother you. I am working on changing the model to get it to float correctly but I'm not quite there yet. I also plan on adding PSRR & a frequency dependent output impedance instead of the Rout that's in there now.

To use the model just pass the appropriate parameters to the subcircuit. All default values make the opamp work very similar to a uA741.

The enclosed documentation also shows the macromodel for the netlist so you can figure out how to change the model if you wish.
Attached Files
File Type: zip config_opamp.zip (162.2 KB, 9 views)
Optikon is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Model Gas Turbine ECU Barry Micro Controllers 16 22nd May 2006 02:04 PM
Need LM317 model for SIMetrix (Spice model?) dinofx Electronic Projects Design/Ideas/Reviews 8 10th January 2006 09:06 PM
LM317 Spice Model? adamthole General Electronics Chat 5 20th October 2005 12:12 AM
Opamp Vo Vin lag: Cancelled using another lag eblc1388 General Electronics Chat 6 1st May 2005 10:51 AM
Looking for a PSpice model ElectricWraith General Electronics Chat 4 21st March 2004 07:51 PM



All times are GMT. The time now is 06:13 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.