modelDifferentialAmplifier
Differential amplifier
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model demonstrates a differential amplifier to attenuate the input voltage to a level that can be handled by the measurement instrument.
Two sinusoidal source voltages with a phase shift of 120° (e.g., two phases of a three-phase system) feed a load resistor. The voltage at the load resistor has to be measured but is too high for direct measurement.
Notes
- The output of the amplifier is inverted with respect to the differential input, as well as attenuated by the factor 1/data.k.
- The influence of the measurement instrument's input resistance on the measurement result is small.
- The current consumption of the amplifier inputs at the source circuit is small (
resistor1.iandresistor2.i). - The common of the source and the common of the amplifier are connected by a ground resistor.
In case this resistance is low, a small current is flowing between the amplifier's common and the source's common (
resistorGround.i). In case this resistance is high, the amplifier's common is floating with respect to the source's common with a high voltage (resistorGround.v).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OpAmps.OpAmpCircuits.DifferentialAmplifierData | data | Parameters for source, OpAmp and measurement |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Sources.SineVoltage | sourceVoltage1 | ||
| Modelica.Electrical.Analog.Sources.SineVoltage | sourceVoltage2 | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistanceLoad | ||
| Modelica.Electrical.Analog.Sensors.VoltageSensor | voltageSensorSource | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistorGround | ||
| Modelica.Electrical.Analog.Ideal.OpAmpLimited | opAmp | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor1 | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor2 | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor3 | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistor4 | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | positiveSupply | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | negativeSupply | ||
| Modelica.Electrical.Analog.Basic.Resistor | resistanceInstrument | ||
| Modelica.Electrical.Analog.Sensors.VoltageSensor | voltageSensor | ||
| Modelica.Blocks.Math.RootMeanSquare | rootMeanSquare | ||
| Modelica.Electrical.Analog.Basic.Ground | ground |