Main Content

Operational Amplifier

Model operational amplifier with two or more poles

  • Library:
  • Mixed-Signal Blockset / Utilities

  • Operational Amplifier

Description

Use the Operational Amplifier block to model an operational amplifier with two or more poles. You can create a double pole amplifier from the important circuit parameters or a multiple pole amplifier from transfer function. The operational amplifier model can be used to characterize the operational amplifier performance as part of a larger circuit system.

Ports

Input

expand all

Positive input terminal of the operational amplifier.

Data Types: single | double

Negative input terminal of the operational amplifier.

Data Types: single | double

Output

expand all

Positive output terminal of the operational amplifier.

Data Types: single | double

Negative output terminal of the operational amplifier.

Data Types: single | double

Parameters

expand all

Type of the operational amplifier circuit. You can create either a simple double pole circuit using circuit parameters or multiple pole circuit directly from transfer function.

Programmatic Use

Block parameter: CircuitType
Type: character vector
Values: Double Pole Circuit| Multiple Pole Circuit
Default: Double Pole Circuit
Signal Parameters

Maximum supply voltage provided to the Operational Amplifier block, specified as a real scalar in volts.

Programmatic Use

Block parameter: VoltageSupplyPlus
Type: character vector
Values: real scalar
Default: 5

Minimum supply voltage provided to the Operational Amplifier block, specified as a real scalar in volts.

Programmatic Use

Block parameter: VoltageSupplyMinus
Type: character vector
Values: real scalar
Default: -5

Offset voltage at the input of the operational amplifier, specified as a scalar in volts. Input offset voltage is applied to obtain a zero voltage at the output of the operational amplifier.

Programmatic Use

Block parameter: OffsetVoltage
Type: character vector
Values: scalar
Default: 0

Resistance at the output terminals of the operational amplifier, specified as a positive real scalar in ohms.

Programmatic Use

Block parameter: OutputResistance
Type: character vector
Values: positive real scalar
Default: 80
Advanced Parameters

The gain of the operational amplifier without any positive or negative feedback, specified as a unitless positive real scalar.

Programmatic Use

Block parameter: Gain
Type: character vector
Values: positive real scalar
Default: 855e3

The frequency at which the open loop gain of the operational amplifier becomes unity, specified as a positive real scalar in hertz.

Programmatic Use

Block parameter: FrequencyUnityGain
Type: character vector
Values: positive real scalar
Default: 1e8

Maximum value of the current passing through the tail MOSFET in the operational amplifier circuit, specified as a scalar in amperes.

Programmatic Use

Block parameter: InputCurrentMax
Type: character vector
Values: scalar
Default: 100e-6

The rate of the change of the output voltage of the operational amplifier with time, specified as a positive real scalar.

Programmatic Use

Block parameter: SlewRate
Type: character vector
Values: positive real scalar
Default: 0.5e6

Poles in the transfer function of the operational amplifier in the Laplace domain, specified as a column vector.

Programmatic Use

Block parameter: Poles
Type: character vector
Values: column vector
Default: 80

Zeros in the transfer function of the operational amplifier in the Laplace domain, specified as a column vector.

Programmatic Use

Block parameter: Zeros
Type: character vector
Values: column vector
Default: 80

Sample interval used in MATLAB® analyses, specified as a scalar in seconds.

Programmatic Use

Block parameter: SampleInterval
Type: character vector
Values: scalar
Default: 1e-8

Select the simulation mode. This choice affects the simulation performance.

Simulating the model using the Code generation method requires additional startup time, but the subsequent simulations run faster. Simulating the model using the Interpreted execution method may reduce the startup time, but the subsequent simulations run slower. For more information, see Simulation Modes.

Programmatic Use

Block parameter: SimulateUsing
Type: character vector
Values: Code generation| Interpreted execution
Default: Interpreted execution
Introduced in R2021b