AddAdding operational amplifier circuit |
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Inverting adder, based on the IdealizedOpAmpLimited model.
-vOut = k1*vIn1 + k2*vIn2
Vps |
Value: +15 Type: Voltage (V) Description: Positive supply |
---|---|
Vns |
Value: -15 Type: Voltage (V) Description: Negative supply |
V0 |
Value: 15000.0 Type: Real Description: No-load amplification |
k1 |
Value: 1 Type: Real Description: Weight of input 1 |
k2 |
Value: 1 Type: Real Description: Weight of input 2 |
R |
Value: 1000 Type: Resistance (Ω) Description: Resistance at output of OpAmp |
R1 |
Value: R / k1 Type: Resistance (Ω) Description: Calculated resistance to reach desired weight 1 |
R2 |
Value: R / k2 Type: Resistance (Ω) Description: Calculated resistance to reach desired weight 2 |
p1 |
Type: PositivePin Description: Positive electrical pin of port 1 |
|
---|---|---|
n1 |
Type: NegativePin Description: Negative electrical pin of port 1 |
|
p2 |
Type: PositivePin Description: Positive electrical pin of port 2 |
|
n2 |
Type: NegativePin Description: Negative electrical pin of port 2 |
|
p1_2 |
Type: PositivePin Description: Positive electrical pin 1.2 |
opAmp |
Type: IdealizedOpAmpLimited |
|
---|---|---|
r1 |
Type: Resistor |
|
r2 |
Type: Resistor |
|
r |
Type: Resistor |
Modelica.Electrical.Analog.Examples.OpAmps Inverting adder |
|
Modelica.Electrical.Analog.Examples.OpAmps Control circuit |