OpAmp

Simple nonideal model of an OpAmp with limitation

    OpAmp

Library

Modelica/Electrical/Analog/Basic

Description

The OpAmp is a simple nonideal model with a smooth out.v = f(vin) characteristic, where "vin = in_p.v - in_n.v". The characteristic is limited by VMax.v and VMin.v. Its slope at vin=0 is the parameter Slope, which must be positive. (Therefore, the absolute value of Slope is taken into calculation.)

Parameters

OpAmp_0

NameLabelDescriptionData TypeValid Values

mo_Slope

Slope

Slope of the out.v/vin characteristic at vin=0

Scalar

OpAmp_1

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

'vin'
'f'
'absSlope'

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

Output pin

input

2

VMax

implicit

Positive output voltage limitation

input

3

VMin

implicit

Negative output voltage limitation

output

2

See Also