IdealOpAmpLimited
Ideal operational amplifier with limitation
Library
Modelica/Electrical/Analog/Ideal
Description
The ideal OpAmp with limitation behaves like an ideal OpAmp without limitation,if the output voltage is within the limits VMin and VMax. In this casethe input voltage vin = in_p.v - in_n.v is zero.If the input voltage vin less than 0, the output voltage is out.v = VMin.If the input voltage is vin larger than 0, the output voltage is out.v = VMax.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_s | s | s | Structure | |
mo_s/fixed | fixed | Cell of scalars | true | |
mo_s/start | start | Cell of scalars |
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 |