OpAmpDetailed

Detailed model of an operational amplifier

    OpAmpDetailed

Library

Modelica/Electrical/Analog/Basic

Description

The OpAmpDetailed model is a general operational amplifier model. The emphasis is on separating each important data sheet parameter into a sub-circuit independent of the other parameters. The model is broken down into five functional stages input, frequency response, gain, slew rate and an output stage. Each stage contains data sheet parameters to be modeled. This partitioning and the modelling of the separate submodels are based on the description in [CP92].

Using [CP92] Joachim Haase (Fraunhofer Institute for Integrated Circuits, Design Automation Division) transferred 2001 operational amplifier models into VHDL-AMS. Now one of these models, the model "amp(macro)" was transferred into Modelica.

Reference:
[CP92] Conelly, J.A.; Choi, P.: Macromodelling with SPICE. Englewood Cliffs: Prentice-Hall, 1992

Parameters

OpAmpDetailed_0

NameLabelDescriptionData TypeValid Values

mo_Rdm

Rdm

Input resistance (differential input mode)

Scalar

mo_Rcm

Rcm

Input resistance (common mode)

Scalar

mo_Cin

Cin

Input capacitance

Scalar

mo_Vos

Vos

Input offset voltage

Scalar

mo_Ib

Ib

Input bias current

Scalar

mo_Ios

Ios

Input offset current

Scalar

mo_vcp

vcp

Correction value for limiting by p_supply

Scalar

mo_vcm

vcm

Correction value for limiting by msupply

Scalar

mo_Avd0

Avd0

Differential amplifier [dB]

Scalar

mo_CMRR

CMRR

Common-mode rejection [dB]

Scalar

mo_fp1

fp1

Dominant pole

Scalar

mo_fp2

fp2

Pole frequency

Scalar

mo_fp3

fp3

Pole frequency

Scalar

mo_fp4

fp4

Pole frequency

Scalar

mo_fz

fz

Zero frequency

Scalar

mo_sr_p

sr_p

Slew rate for increase

Scalar

mo_sr_m

sr_m

Slew rate for decrease

Scalar

mo_Rout

Rout

Output resistance

Scalar

mo_Imaxso

Imaxso

Maximal output current (source current)

Scalar

mo_Imaxsi

Imaxsi

Maximal output current (sink current)

Scalar

mo_Ts

Ts

Sampling time

Scalar

mo_vcp_abs

vcp_abs

Positive correction value for limiting by p_supply

Scalar

mo_vcm_abs

vcm_abs

Positive correction value for limiting by msupply

Scalar

mo_I1

I1

Current of internal source I1

Scalar

mo_I2

I2

Current of internal source I2

Scalar

mo_Avd0_val

Avd0_val

Differential mode gain

Scalar

mo_Avcm_val

Avcm_val

Common mode gain

Scalar

mo_sr_p_val

sr_p_val

Value of slew rate for increase

Scalar

mo_sr_m_val

sr_m_val

Negative alue of slew rate for increase

Scalar

mo_Imaxso_val

Imaxso_val

Orientation out outp

Scalar

mo_Imaxsi_val

Imaxsi_val

Orientation into outp

Scalar

OpAmpDetailed_1

NameLabelDescriptionData TypeValid 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

'v_pos'
'v_neg'
'v_vos'
'v_3'
'v_in'
'v_4'
'i_vos'
'i_3'
'i_r2'
'i_c3'
'i_4'
'q_fr1'
'q_fr2'
'q_fr3'
'q_sum'
'q_sum_help'
'q_fp1'
'v_source'
'x'
'v_out'
'i_out'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive pin of the input port

input

1

m

implicit

Negative pin of the input port

output

1

outp

implicit

Output pin

input

2

p_supply

implicit

Positive output voltage limitation

input

3

m_supply

implicit

Negative output voltage limitation

output

2