Electronic Circuits for Mechatronics (ELCT 609)...Note that: Q1 and Q2 are matched and Ξ² is large....

22
Electronic Circuits for Mechatronics (ELCT 609) Summer 2020 : Round II Lecture 11: Op-amp Linear and Non-linear Applications Course Instructor: Dr. Eman Azab 1

Transcript of Electronic Circuits for Mechatronics (ELCT 609)...Note that: Q1 and Q2 are matched and Ξ² is large....

  • Electronic Circuits for Mechatronics

    (ELCT 609)

    Summer 2020 : Round II

    Lecture 11: Op-amp Linear and Non-linear

    Applications

    Course Instructor: Dr. Eman Azab

    1

  • Op-amps: IntroductionCircuit Modeling

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    2

    mailto:[email protected]

  • Ideal Op-amp Operational amplifiers are

    voltage amplifiers with very highgain

    Differential Input/Single outputcircuit is the most famous op-amp structure

    Ideal op-amp have the followingSpecs:

    Infinite Differential voltagegain

    Zero Common-modevoltage gain

    Infinite Input Resistance

    Zero Input Currents

    Zero Output Resistance

    Infinite Bandwidth (Gain isconstant all over thefrequency Spectrum)

    π‘‰π‘œπ‘’π‘‘ = 𝐴𝑉𝑑 𝑉1 βˆ’ 𝑉2 + π΄π‘‰π‘π‘šπ‘‰1 + 𝑉2

    2

    𝐴𝑉𝑑 = ∞ π΄π‘‰π‘π‘š = 0

    𝑅𝑖𝑛 = ∞ π‘…π‘œπ‘’π‘‘ = 0

    𝐴𝑉𝑑 𝑠 = πΆπ‘œπ‘›π‘ π‘‘.

    𝑖𝑖𝑛+ = 0 π‘–π‘–π‘›βˆ’ = 0

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    3

    Operational amplifiers arevoltage amplifiers with very highgain

    Differential Input/Single outputcircuit is the most famous op-amp structure

    Ideal op-amp have the followingSpecs:

    Infinite Differential voltagegain

    Zero Common-modevoltage gain

    Infinite Input Resistance

    Zero Input Currents

    Zero Output Resistance

    Infinite Bandwidth (Gain isconstant all over thefrequency Spectrum)

    π‘‰π‘œπ‘’π‘‘ = 𝐴𝑉𝑑 𝑉1 βˆ’ 𝑉2 + π΄π‘‰π‘π‘šπ‘‰1 + 𝑉2

    2

    mailto:[email protected]

  • Ideal Op-amp Ideal Op-amp can be modeled using the following circuit:

    π‘‰π‘œπ‘’π‘‘ = 𝐴𝑉𝑑 𝑉1 βˆ’ 𝑉2 + π΄π‘‰π‘π‘šπ‘‰1 + 𝑉2

    2

    𝐴𝑉𝑑 = ∞ π΄π‘‰π‘π‘š = 0

    𝑅𝑖𝑛 = ∞ π‘…π‘œπ‘’π‘‘ = 0

    𝐴𝑉𝑑 𝑠 = πΆπ‘œπ‘›π‘ π‘‘.

    𝑖𝑖𝑛+ = 0 π‘–π‘–π‘›βˆ’ = 0Figure from Sedra/Smith Copyright Β© 2010 by Oxford University Press, Inc.

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    4

    mailto:[email protected]

  • Non-ideal Op-ampCircuit Realizations of Op-amp

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    5

    mailto:[email protected]

  • Ex.: Two stage CMOS Op-amp

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    6

    mailto:[email protected]

  • Ex.: BJT 741 Op-amp

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    7

    mailto:[email protected]

  • Op-amp Applications

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    8

    mailto:[email protected]

  • Voltage Amplifier

    Inverting and Non-Inverting Amplifiers

    𝑣𝑂𝑣𝐼

    = βˆ’π‘…2𝑅1

    𝑣𝑂𝑣𝐼

    = 1 +𝑅2𝑅1

    Figures from Sedra/Smith Copyright Β© 2010 by Oxford University Press, Inc.

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    9

    mailto:[email protected]

  • Voltage Amplifier

    Inverting Amplifiers

    𝑣𝑂𝑣𝐼

    = βˆ’π‘…2𝑅1

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    10

    mailto:[email protected]

  • Voltage Buffer

    Voltage Buffer

    The voltage at the input is derived at the output node

    without drawing any current from the input source

    𝑣𝑂𝑣𝐼

    = 1

    Figure from Sedra/Smith Copyright Β© 2010 by Oxford University Press, Inc.

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    11

    mailto:[email protected]

  • Voltage Difference Amplifier

    The circuit subtracts two voltage signals

    By Applying Superposition principle between 𝑣𝐼1 and 𝑣𝐼2

    By Choosing:

    𝑣𝑂 = βˆ’π‘£πΌ1𝑅2𝑅1

    + 𝑣𝐼2𝑅4

    𝑅4 + 𝑅31 +

    𝑅2𝑅1

    𝑅2𝑅1

    =𝑅4𝑅3

    𝑣𝑂 =𝑅2𝑅1

    𝑣𝐼2 βˆ’ 𝑣𝐼1

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    12

    mailto:[email protected]

  • Voltage Integrator

    Inverting configuration with General Impedances

    Lossless inverting Integrator

    𝑉𝑂𝑉𝑖

    = βˆ’π‘2𝑍1

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    13

    mailto:[email protected]

  • Voltage Integrator

    Lossy Integrator

    DC Gain is defined by:

    𝑣𝑂𝑣𝑖

    = βˆ’

    𝑅𝐹𝑅

    1 + 𝑠𝐢𝑅𝐹

    𝑣𝑂𝑣𝑖(0) = βˆ’

    𝑅𝐹𝑅

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    14

    mailto:[email protected]

  • Voltage Differentiator

    Op-amp based Differentiator

    𝑣𝑂𝑣𝑖(𝑠) = βˆ’π‘ πΆπ‘…

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    15

    mailto:[email protected]

  • Voltage Weighted Summer

    Figure from Sedra/Smith Copyright Β© 2010 by Oxford University Press, Inc.

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    16

    mailto:[email protected]

  • Voltage Comparator

    Figure from Sedra/Smith Copyright Β© 2010 by Oxford University Press, Inc.

    Positive Feedback is employed

    The output voltage is either the high or the low voltagesupply

    𝑣𝑖 < 𝑣+ 𝑣𝑂 = 𝑉𝐢𝐢

    𝑣𝑖 > 𝑣+ 𝑣𝑂 = 𝑉𝑆𝑆

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    17

    mailto:[email protected]

  • Voltage Logarithmic Amplifier Non-linear logarithmic Amplifier

    BJT operates in the Active Region

    π‘‰π‘œπ‘’π‘‘ = βˆ’π‘‰π΅πΈ = βˆ’π‘‰π‘‡π‘™π‘›πΌπΆπΌπ‘œ

    𝐼𝐢 =𝑉𝑖𝑛𝑅1

    π‘‰π‘œπ‘’π‘‘ = βˆ’π‘‰π΅πΈ = βˆ’π‘‰π‘‡π‘™π‘›π‘‰π‘–π‘›πΌπ‘œπ‘…1

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    18

    mailto:[email protected]

  • Voltage anti-Logarithmic Amplifier

    Non-linear Anti-logarithmic Amplifier

    BJT operates in the Active Region

    𝑉𝑖𝑛 = βˆ’π‘‰π΅πΈ = βˆ’π‘‰π‘‡π‘™π‘›πΌπΆπΌπ‘œ

    𝐼𝐢 =π‘‰π‘œπ‘’π‘‘π‘…1

    π‘‰π‘œπ‘’π‘‘ = πΌπ‘œπ‘…1expβˆ’π‘‰π‘–π‘›π‘‰π‘‡

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    19

    mailto:[email protected]

  • Voltage Multiplier or Divider

    π‘‰π‘œπ‘’π‘‘ = πΌπ‘œπ‘…1expβˆ’π‘‰π‘–π‘›π‘‰π‘‡

    π‘‰π‘œπ‘’π‘‘ = βˆ’π‘‰π΅πΈ = βˆ’π‘‰π‘‡π‘™π‘›π‘‰π‘–π‘›πΌπ‘œπ‘…1

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    20

    mailto:[email protected]

  • Example

    For the 4127 IC showed in figure, find the output voltage (Vout) as a function in the input currents (Ix and Iy).

    Using the 4127 IC and the linear/nonlinear op-amp applications, design the following functions with minimum number of op-amps and derive K, n and m as a function in the circuit parameters.

    Note that: Q1 and Q2 are matched and Ξ² is large.

    π‘‰π‘œπ‘’π‘‘ = 𝐾𝐼π‘₯𝐼𝑦

    π‘š

    π‘‰π‘œπ‘’π‘‘ = 𝐾𝐼π‘₯𝐼𝑦

    π‘šβˆ’π‘›

    Course Instructor: Dr. Eman Azab

    Contact: [email protected]

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    21

    mailto:[email protected]

  • Example Solution

    For the 4127 IC showed in figure, find the output voltage (Vout) as a function in the input currents (Ix and Iy).

    Note that: Q1 and Q2 are matched and Ξ² is large.

    Electronic Circuits for Mechatronics ELCT 609

    Summer R2 2020

    22