Feedback

Subtracting operational amplifier circuit

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Inverting subtracter = feedback, based on the IdealizedOpAmpLimited model.

vOut = -k*(vIn1 - vIn2)

Parameters (6)

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

k

Value: 1

Type: Real

Description: Desired amplification

R1

Value: 1000

Type: Resistance (Ω)

Description: Resistance at inputs of OpAmp

R3

Value: R1 / k

Type: Resistance (Ω)

Description: Calculated resistance to reach desired amplification k

Connectors (5)

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

Components (5)

opAmp

Type: IdealizedOpAmpLimited

r1

Type: Resistor

r2

Type: Resistor

r3

Type: Resistor

r4

Type: Resistor

Used in Examples (2)

Subtracter

Modelica.Electrical.Analog.Examples.OpAmps

Inverting subtracter

ControlCircuit

Modelica.Electrical.Analog.Examples.OpAmps

Control circuit