A5 Operational Amplifiers

Updated 4 Oct 2026

What is an Op-Amp?

  • The operational amplifier (op-amp) is an electronic circuit element designed to be used with other circuit elements to perform a specified signal-processing operation.
  • An op-amp is an active circuit element designed to perform mathematical operations of addition, subtraction, multiplication, division, differentiation, and integration.
  • The op-amp is an electronic unit that behaves like a voltage-controlled voltage source

Powering the Op-Amp

  • เราจะใช้ KCL มองเป็นก้อน ๆ (Block) เดียวเลย
io=i1+i2+i++i−\boxed{i_o=i_1+i_2+i_++i_-}
  • เป็นที่มาในการวิเคราะห์วงจร Op-Amp เลย

Equivalent Circuit of the non-ideal Op-amp

  • แม้ว่าจะเป็น Non-ideal— RiR_i จะมีค่าสูงมาก ๆ ทำให้กระแสที่เข้าจะน้อยมาก ๆ
  • ส่วนตรง Output จะมี Controlled Voltage Source อยู่
    • AA คือ gain
    • RoR_o อนุกรมอยู่ภายใน มีค่าน้อยมาก ๆ
  • The differential input voltage vdv_d vd=v2−v1v_d=v_2-v_1
  • The output voltage vov_o is given by vo=Avd=A(v2−v1)\boxed{v_o=Av_d=A(v_2-v_1)}

The Ideal Op Amp

Ideal Op Amp Rules

  1. No current ever flows into either input terminal.
i1=0 and i2=0i_1=0 \text{ and } i_2=0
  1. There is NO voltage different between the two input terminals.
v1=v2v_1=v_2 v1−v2=0v_1-v_2=0

ก็คือมอง Node v1v_1 กับ v2v_2 เป็น Node เดียวกันไปเลยอะ

  • An ideal op amp is an amplifier with infinite open-loop gain (AA), infinite input resistance (RiR_i), and zero output resistance (RoR_o)
  • ส่วนใหญ่ตอนวิเคราะห์ใช้ Nodal Analysis นะ!
  • ปกติจะเจอ Op Amp กับ C เสมอ (ไม่ค่อยเจอคู่กับ L นะ)

Inverting Amplifier

  1. Applying KCL at node 1,
    • สมมติให้กระแสไหลออกทั้งหมดนะ
    v1−viR1+v1−voRf=0\frac{v_1-v_i}{R_1}+\frac{v_1-v_o}{R_f}=0
  2. But v1=v2=0v_1=v_2=0 for an ideal op amp, since the non-inverting terminal (+) is grounded. 0−viR1+0−voRf=0\frac{0-v_i}{R_1}+\frac{0-v_o}{R_f}=0 −voRf=viR1-\frac{v_o}{R_f}=\frac{v_i}{R_1} vo=−RfR1vi\boxed{v_o=-\frac{R_f}{R_1}v_i}

An inverting amplifier reverses the polarity of the input signal while amplifying it.

  • โดยถือว่า −RfR1-\frac{R_f}{R_1} เป็น AA หรือเรียกว่า Gain


Non-inverting Amplifier

  1. Applying KCL at node 1,
    • สมมติให้กระแสไหลออกทั้งหมดนะ
    v1−0R1+v1−voRf=0\frac{v_1-0}{R_1}+\frac{v_1-v_o}{R_f}=0
  2. But v1=v2=viv_1=v_2=v_i viR1+vi−voRf=0\frac{v_i}{R_1}+\frac{v_i-v_o}{R_f}=0 vo=(1+RfR1)vi\boxed{v_o=\Big(1+\frac{R_f}{R_1}\Big)v_i}

An non-inverting amplifier is an op amp circuit designed to provide a positive voltage gain.


Summing Amplifier

vo=−(RfR1v1+RfR2v2+RfR3v3)\boxed{v_o=-\Big(\frac{R_f}{R_1}v_1+\frac{R_f}{R_2}v_2+\frac{R_f}{R_3}v_3\Big)}

Difference Amplifier

vo=R2R1(v2−v1)\boxed{v_o=\frac{R_2}{R_1}(v_2-v_1)}