Engee documentation
Notebook

Operational amplifier in non-inverting amplifier mode

Use this model to study the operation of an operational amplifier in non-inverting mode.

Model description

This model consists of OperationalAmplifier and two resistors R1 and R2, whose values are set to 1 kOhm and 10 kOhm. An input signal with an amplitude of 0.1 is amplified to 1.1V. Since we are dealing with an ideal operational amplifier model, the resulting gain is independent of the load connected to it.

image.png

Let's run the model and plot the graph:

In [ ]:
model_name = "op-amp-circuit-noninverting-amplifier";
model_name in [m.name for m in engee.get_all_models()] ? engee.open(model_name) : engee.load( "$(@__DIR__)/$(model_name).engee");
res = engee.run( model_name );
In [ ]:
Vin = collect( res["Vin"] );
Vout = collect( res["Vout"] );
In [ ]:
plot( Vin.time, Vin.value )
plot!( Vout.time, Vout.value )
Out[0]:

As can be seen in the accompanying graphs, the gain of this circuit $1 + R2/R1$ is 11.

Conclusion

Without changing the topology of the accompanying models in Engee you can build quite complex circuits on operational amplifiers and not only.