Operational amplifier in non-inverting amplifier mode
Using the example of this model, you can study the operation of an operational amplifier in a non-inverting mode.
Description of the model
This model consists of a block OperationalAmplifier and two resistances R1 and R2, the values of which are set to 1 kOhm and 10 kOhm. The input signal with an amplitude of 0.1 is amplified to 1.1 V. Since we are dealing with an ideal operational amplifier model, the gain value obtained does not depend on the load connected to it.
Let's run the model and build a 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 is It is equal to 11.
Conclusion
Without changing the topology of the accompanying models in Engee, it is possible to assemble quite complex circuits on operational amplifiers and more.
