OpAmpDetailed
Detailed model of an operational amplifier
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
Name | Label | Description | Data Type | Valid 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_Pi | Pi | Obsolete constant pi; will be removed in future release | 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 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_v_pos | v_pos | v_pos | Structure | |
mo_v_pos/fixed | fixed | Cell of scalars | true | |
mo_v_pos/start | start | Cell of scalars | ||
mo_v_neg | v_neg | v_neg | Structure | |
mo_v_neg/fixed | fixed | Cell of scalars | true | |
mo_v_neg/start | start | Cell of scalars | ||
mo_v_vos | v_vos | v_vos | Structure | |
mo_v_vos/fixed | fixed | Cell of scalars | true | |
mo_v_vos/start | start | Cell of scalars | ||
mo_v_3 | v_3 | v_3 | Structure | |
mo_v_3/fixed | fixed | Cell of scalars | true | |
mo_v_3/start | start | Cell of scalars | ||
mo_v_in | v_in | v_in | Structure | |
mo_v_in/fixed | fixed | Cell of scalars | true | |
mo_v_in/start | start | Cell of scalars | ||
mo_v_4 | v_4 | v_4 | Structure | |
mo_v_4/fixed | fixed | Cell of scalars | true | |
mo_v_4/start | start | Cell of scalars | ||
mo_i_vos | i_vos | i_vos | Structure | |
mo_i_vos/fixed | fixed | Cell of scalars | true | |
mo_i_vos/start | start | Cell of scalars | ||
mo_i_3 | i_3 | i_3 | Structure | |
mo_i_3/fixed | fixed | Cell of scalars | true | |
mo_i_3/start | start | Cell of scalars | ||
mo_i_r2 | i_r2 | i_r2 | Structure | |
mo_i_r2/fixed | fixed | Cell of scalars | true | |
mo_i_r2/start | start | Cell of scalars | ||
mo_i_c3 | i_c3 | i_c3 | Structure | |
mo_i_c3/fixed | fixed | Cell of scalars | true | |
mo_i_c3/start | start | Cell of scalars | ||
mo_i_4 | i_4 | i_4 | Structure | |
mo_i_4/fixed | fixed | Cell of scalars | true | |
mo_i_4/start | start | Cell of scalars | ||
mo_q_fr1 | q_fr1 | q_fr1 | Structure | |
mo_q_fr1/fixed | fixed | Cell of scalars | true | |
mo_q_fr1/start | start | Cell of scalars | ||
mo_q_fr2 | q_fr2 | q_fr2 | Structure | |
mo_q_fr2/fixed | fixed | Cell of scalars | true | |
mo_q_fr2/start | start | Cell of scalars | ||
mo_q_fr3 | q_fr3 | q_fr3 | Structure | |
mo_q_fr3/fixed | fixed | Cell of scalars | true | |
mo_q_fr3/start | start | Cell of scalars | ||
mo_q_sum | q_sum | q_sum | Structure | |
mo_q_sum/fixed | fixed | Cell of scalars | true | |
mo_q_sum/start | start | Cell of scalars | ||
mo_q_sum_help | q_sum_help | q_sum_help | Structure | |
mo_q_sum_help/fixed | fixed | Cell of scalars | true | |
mo_q_sum_help/start | start | Cell of scalars | ||
mo_q_fp1 | q_fp1 | q_fp1 | Structure | |
mo_q_fp1/fixed | fixed | Cell of scalars | true | |
mo_q_fp1/start | start | Cell of scalars | ||
mo_v_source | v_source | v_source | Structure | |
mo_v_source/fixed | fixed | Cell of scalars | true | |
mo_v_source/start | start | Cell of scalars | ||
mo_x | x | x | Structure | |
mo_x/fixed | fixed | Cell of scalars | true | |
mo_x/start | start | Cell of scalars | ||
mo_v_out | v_out | v_out | Structure | |
mo_v_out/fixed | fixed | Cell of scalars | true | |
mo_v_out/start | start | Cell of scalars | ||
mo_i_out | i_out | i_out | Structure | |
mo_i_out/fixed | fixed | Cell of scalars | true | |
mo_i_out/start | start | Cell of scalars |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
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 |