OpAmp
Simple nonideal model of an OpAmp with limitation
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
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_Slope | Slope | Slope of the out.v/vin characteristic at vin=0 | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_vin | vin | vin | Structure | |
mo_vin/fixed | fixed | Cell of scalars | true | |
mo_vin/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
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 |