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_vin

vin

vin

Structure

mo_vin/fixed

fixed

Cell of scalars

true
false

mo_vin/start

start

Cell of scalars

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