modelIdealizedOpAmpLimited

Idealized operational amplifier with limitation

Extends from Modelica.Icons.ObsoleteModel (Icon for classes that are obsolete and will be removed in later versions).

Information

Idealized operational amplifier with saturation:

  • Input currents are zero.
  • No-load amplification is high (but not infinite).
  • Output voltage is limited between positive and negative supply.

Supply voltage is either defined by parameter Vps and Vns or by (optional) pins s_p and s_n.

In the first case the necessary power is drawn from an implicit internal supply, in the second case from the external supply.

If initialization is problematic for a model containing this as a component you can set the homotopyType parameter. Using Linear ignores the saturation initially which simplifies the initialization, and may help if the component is connected with negative feedback; but generally fails if the feedback is positive. Using LowerLimit (or UpperLimit) gives a fixed value within the saturation bounds, which works with positive feedback. However, it does not work if the intent is to initialize the input to give a specific output.

Parameters

TypeNameDefaultDescription
RealV015000.0No-load amplification
BooleanuseSupplyfalseUse supply pins (otherwise constant supply)
SI.VoltageVps+15Positive supply voltage
SI.VoltageVns-15Negative supply voltage
Advanced
Booleanstricttrue= true, if strict limits with noEvent(..)
Initialization
Modelica.Blocks.Types.LimiterHomotopyhomotopyTypeModelica.Blocks.Types.LimiterHomotopy.NoHomotopySimplified model for homotopy-based initialization

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinin_pPositive pin of the input port
Modelica.Electrical.Analog.Interfaces.NegativePinin_nNegative pin of the input port
Modelica.Electrical.Analog.Interfaces.PositivePinoutPin of the output port
Modelica.Electrical.Analog.Interfaces.PositivePins_pOptional positive supply pin
Modelica.Electrical.Analog.Interfaces.NegativePins_nOptional negative supply pin

Components

TypeNameDefaultDescription
SI.VoltagevpsPositive supply voltage
SI.VoltagevnsNegative supply voltage
SI.Voltagev_inin_p.v - in_n.vInput voltage difference
SI.Voltagev_outout.vOutput voltage to ground
SI.Powerp_inin_p.v*in_p.i + in_n.v*in_n.iInput power
SI.Powerp_outout.v*out.iOutput power
SI.Powerp_s-(p_in + p_out)Supply power
SI.Currenti_sp_s/(vps - vns)Supply current