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__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' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
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 |