Lab 3 Two Stage Amplifier: MOS Characterization
Lab 3 Two Stage Amplifier: MOS Characterization
Submitted By:
Christian Allan G. Lumakin
INTRODUCTION
Amplifiers are very necessary element in any project dealing with signal strength
and quality. The two-stage amplifier circuit comprises of two stages each of which
perform amplification on the incoming signals and output finally obtained at the end of
2nd stage, two-stage operational amplifier exhibits two poles below the unity open-loop
gain.
.tran – Transient analysis with the sampling time and total time
step1_TSAmp
.op
.option post probe
.ac dec 10 10 10g
.meas ac GB when vdb(n4)=0
.probe v(n4)
.lib 'rf018.l' TT
.alter
mp6 Vout n4 vdd vdd pch l=1u w=66u
mn7 Vout n6 gnd gnd nch l=1u w=30u
.meas ac gb when vdb(Vout)=0
.probe v(Vout)
.end
step2_TSAmp(a)
.op
.option post probe
.ac dec 10 10 10g
.meas ac GB when vdb(Vout)=0
.probe v(Vout)
.lib 'rf018.l' TT
.end
Two-Stage Amplifier as a Unit Gain Buffer
As we can see on the graph, the gain is at 0 and the phase margin is less than
0 ° , this happens when the system is unstable. The system is stable when the phase
margin is above 45 ° . The higher the phase margin, the more stable the system.
Circuit simulation code:
step2_TSAmp(b)
.op
.option post probe
.tran 1n 3u
.probe tran v(Vout) v(Vinp)
.lib 'rf018.l' TT
.end
The slew rate graphical data of the simulation shows that the system is
unstable since the Vin is stable, but the Vout is oscillating.
Step 3: Simulate the effect of phase margin when adding compensation capacitor.
step3_TSAmp(a)
.op
.option post probe
.ac dec 10 10 10g
.meas ac Gb when vdb(Vout)=0
.probe v(Vout)
.lib 'rf018.l' TT
.alter
Cc n4 Vout 2p
.end
Two-Stage Amplifier with Compensation Capacitor
step4_TSAmp(a)
.op
.option post probe
.ac dec 10 10 10g
.meas ac Gb when vdb(Vout)=0
.probe v(Vout)
.lib 'rf018.l' TT
.alter
Cc n4 Vout 4p
.alter
Cc n4 Vout 6p
.end
step4_TSAmp(b)
.op
.option post probe
.tran 1n 3u
.probe tran v(Vout) v(Vinp)
.lib 'rf018.l' TT
.alter
Cc n4 Vout 4p
.alter
Cc n4 Vout 6p
.end
Slew Rate with varying Compensation Capacitor
As we see from the results from the simulations above, the bigger the value of the
compensation capacitor, the better the phase margin and also decreases the slew rate
since larger compensation capacitor needs more time to charge or discharge.
Step 5: Observe the effect after adding a compensated resistor.
step5_TSAmp(a)
.op
.option post probe
.ac dec 10 10 10g
.meas ac Gb when vdb(Vout)=0
.probe v(Vout)
.lib 'rf018.l' TT
.alter
Rc n4 Cc 1.234k
.alter
Rc n4 Cc 6k
.end
Two-Stage Amplifier with Compensation Resistor
From the simulation above, as the Rc increases the phase margin also improved.
Circuit simulation code:
TSAmp(ICMR)
.op
.option post probe
.dc vinp 0 1.8 0.1
.probe v(Vout) v(Vinp)
.probe i(mn2)
.lib 'rf018.l' TT
.end
Step 7: Perform the FFT analysis in the circuit of figure 4.11 while changing the
value of Rs, get the frequency spectrum.
Circuit simulation code:
.op
.option post probe
.dc vin- 0v 2v 0.001v
.probe v(vout), v(vr)
.lib 'rf018.l' TT
.end
TSAmp(CMRR)
.op
.option post probe
.ac dec 100 10 10g
.print vdb(Vout)
.lib 'rf018.l' TT
.alter
V2 Vin+ gnd dc 1.5V ac 1v
.end
.op
.option post probe
.tran 0.1n 800n
.meas tran t when v(vout)=1.5v rise=1
.meas S param='0.9/t'
.probe v(Vinp)
.lib 'rf018.l' TT
.alter
Vinp Vinp gnd pulse(0.8v 1.5v 0n 0n 0n 400n 800n)
.end
Slew Rate 1
Slew Rate 2
Question: