The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 4th, 2024, 11:13pm
Pages: 1 2 
Send Topic Print
Op-Amp code and Ramp Input (Read 23080 times)
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: Op-Amp code and Ramp Input
Reply #15 - Apr 20th, 2006, 12:30pm
 
The best place is in the comments at the top of the code. It may be in a manual in cdsdoc, but I don't recall whether it is or not for these manuals.

Similarly the models produced by modelwriter are pretty well commented.

Regards,

Andrew.

Back to top
 
 
View Profile WWW   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: Op-Amp code and Ramp Input
Reply #16 - Apr 21st, 2006, 1:43am
 
Most of the folks I know that use the model just look at the comments in the code to make the understanding.. but of course most of them STARTED with opamp macro models in spice.. (probably showing my age) so we don't need more..

Basics - first stage sets the gain, accounts for input saturation.
second stage sets the dominant pole
output stage takes into account the supply clamping, output loading (by way of feedback to the second stage)

This is off the top of my head.. hopefully others can expand on this..

its (or something quite similar) is probably described in Miller and Fitzpatrick as well... but this was probably not copied from that ..
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
Pages: 1 2 
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.