Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Additional op amp paremters (slew etc.) #330

Open
Exaeta opened this issue Apr 30, 2019 · 2 comments
Open

Feature Request: Additional op amp paremters (slew etc.) #330

Exaeta opened this issue Apr 30, 2019 · 2 comments

Comments

@Exaeta
Copy link

Exaeta commented Apr 30, 2019

I would like to request more realistic OP amps..

Real op amps have a number of features that make the simulator less than realistic...
In real circuits, you usually need a bypass capacitor, because of the current draw from the + and - pins.
The following things would be helpful:

Option to enable + and - pins
Ability to set slew rate
Ability to set GBP
Ability to set common mode range
Ability to enable non-zero input bias current
Ability to set minimum and maximum output voltages relative to Vcc and Vee.
Ability to set maximum source and sink current on op amp output.

@sharpie7 sharpie7 changed the title Feature Request: Realistic OP amps Feature Request: Additional op amp paremters (slew etc.) May 1, 2019
@pfalstad
Copy link
Collaborator

pfalstad commented May 6, 2019

#331 (comment)

ormaaj asked: "Is the 741 sufficient as a representative op-amp model? Yeah it's often used for illustration due to its historical significance and "simple" 3-stage bipolar design."

Good question. I can easily adjust the output current and slew rate. But the 741 isn't rail to rail. Another op-amp model might be better, if it's simple. The 741 is complicated enough as it is.

I found an LM324 model that is actually less complicated, and it gets closer to the rails, so maybe I'll use that?

@Exaeta
Copy link
Author

Exaeta commented May 6, 2019

I was thinking a slew rate and relative rail limit would be a good improvement, since it allows you to get a semi-accurate estimate of what would happen for a wide variety of op amps.

So how about a "select op amp" which has several, plus a custom option which allows you to set these parameters customly, instead of using a more realistic model. That way you have an ultra realistic model for certain op amps and a more ideal one for whatever you happen to use.

pfalstad added a commit to pfalstad/circuitjs1 that referenced this issue May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants