IdealizedOpAmpLimted

Idealized operational amplifier with limitation

    IdealizedOpAmpLimted

Library

Modelica/Electrical/Analog/Ideal

Description

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.

Parameters

IdealizedOpAmpLimted_0

NameLabelDescriptionData TypeValid Values

mo_V0

V0

No-load amplification

Scalar

mo_useSupply

useSupply

Use supply pins (otherwise constant supply)

Number

0
1

mo_Vps

Vps

Positive supply voltage

Scalar

mo_Vns

Vns

Negative supply voltage

Scalar

mo_homotopyType

homotopyType

Simplified model for homotopy-based initialization

Structure

mo_homotopyType/choice1

Homotopy is not used

Number

0
1

mo_homotopyType/choice2

Simplified model without limits

Number

0
1

mo_homotopyType/choice3

Simplified model fixed at upper limit

Number

0
1

mo_homotopyType/choice4

Simplified model fixed at lower limit

Number

0
1

IdealizedOpAmpLimted_1

NameLabelDescriptionData TypeValid Values

mo_strict

strict

= true, if strict limits with noEvent(..)

Scalar

true
false

IdealizedOpAmpLimted_2

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'vps'
'vns'
'v_in'
'v_out'
'p_in'
'p_out'
'p_s'
'i_s'
'simplifiedExpr'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

in_p

implicit

Positive pin of the input port

input

1

in_n

implicit

Negative pin of the input port

output

1

out

implicit

Pin of the output port

input

2

Port 4

implicit

Optional positive supply pin

input

mo_useSupply

Port 5

implicit

Optional negative supply pin

output

mo_useSupply