Engee documentation

Operational Amplifier

The perfect operational amplifier.

blockType: AcausalFoundation.Electrical.Elements.OperationalAmplifier

Path in the library:

/Physical Modeling/Fundamental/Electrical/Elements/Operational Amplifier

Description

The Op-Amp unit simulates an ideal operational amplifier. The figure shows the implementation scheme.

op amp schem

The block implementation is based on the following assumptions:

  • the gain of an ideal operational amplifier A it is considered infinite.

  • then for the final output it should be V1 = 0.

  • an ideal operational amplifier also implies that the current from p before n equal to zero (i1 = 0).

These assumptions lead to the following equations for the block:

equations
  v1 == p.v — n.v;
  v1 == 0;
  i1 == 0;
end

Ports

+ — non-inverting input
electricity

The electrical port represents the non-inverting input + of the operational amplifier.

— inverting input
electricity

The electrical port represents the inverting input of the operational amplifier.

out — pass output:q[<br>] electricity

The electrical port represents the output of the operational amplifier.

Parameters

Initial value of current into output node — initial value of output current
0 (by default)

The initial value of the output current.