Professional Documents
Culture Documents
Final Lab Report Grade: Last Name: Venepally First Name: Jashwanth ID: 1206445964
(10) Objectives / Requirements (50) Opamp (30) Buffer / second stage (30) Load Drive Stage (80) Overall system uncompensated & compensated (50) Comparison / Conclusion Total Grade : _______________ / 250
Venepally Jashwanth
Requirements:
Voltage supply 2.5 V, 0.35 Micron CMOS Process Delivers 50 mA current Output Regulated Voltage of 2.25 V VRipple <5%
Overall System:
LDO regulator: symbol view The first stage is a Differential amplifier, followed by buffer and driver stages. It is a closed loop system with the feedback implemented by a resistor divider circuit. The load has a capacitance of 100nF and an associated ESR of 0.5m Ohms. The LDO is expected to maintain a regulated voltage of 2.25V for various load currents. These load currents is implemented using a current source drawing different currents in the specified range. The choice of the individual stages and their design is explained in the following sections. Venepally Jashwanth 2
Differential Amplifier
2.1 DC
2.1.1 Analysis: The current through the tail transistor is 10uA. Therefore a current of 5uA flows through each of the two branches of the diff amp. Let veff=0.1V The output has to be biased at vdd/2=1.25V. For PMOS: Venepally Jashwanth 3
w= 3.133u since the PMOS are diode connected vsd=vsg=veff+vth= 0.1+0.54=0.64 (vsd,vsg are the same for all the PMOS transistors here) the output is at vout= vdd-(vsd1+vsd2)=2.5-2*0.64= 1.22 For NMOS: Let veff=0.1V L=300n Kn= 274u w comes out to be w= 1.094u vgs= veff+vth = 0.1+0.5= 0.6V vds=vdSat= 0.1v For the tail transistor: I=10uA w/l= 450/300n 2.1.2 DC Simulations: The simulated diff amp is shown below
From these values and the current equ veff= 0.22V vgs= veff+vth = 0.22+0.5= 0.72V
Venepally Jashwanth
P0 P1 P2 P3 N0 N1 N2 N3 N4
2.1.3. DC Comparisons: For NMOS: vgs= veff+vth = 0.1+0.5= 0.6V vds=vdSat= 0.1v For Tail transistor: vgs=0.22V vgs= veff+vth = 0.22+0.5= 0.72V
For PMOS: since the PMOS are diode connected vsd=vsg=veff+vth= 0.1+0.54=0.64 (vsd,vsg are the same for all the PMOS transistors here) VGS (mV) Analysis/ Simulations -640/ -705.1 -640/ -705.1 -640/ -578.4 -640/ -578.4 600/629.9 600/629.9 600/718.4 600/718.4 720/757.8 IDS (UA) Analysis/ Simulations -5/-5.143 -5/-5.143 -5/-5.143 -5/-5.143 5/5.143 5/5.143 5/5.143 5/5.143 10/10.27 VDS Analysis/ Simulations -640/ -705.1 -640/ -705.1 -640/ -578.4 -640/ -578.4 100/220.6 100/220.6 100/563.6 100/563.6 220/432.1
P0 P1 P2 P3 N0 N1 N2 N3 N4
The values are close. The error is possibly due to the current equation is an approximation and further it neglects the channel-length modulation effect. 2.2 AC 2.2.1 Analysis: Output Impedance: The output impedance can be approximated to be rout= (gmp1*rds3*rds1) * (gmn3*rds3*rds1) From cadence: gmp1=68.22u gdsp1=1.103u gdsp3= 1.176u gmn3= 74.14u gds3=2.293u gds1= 3.40u Therefore rout= 499.4MOhms. Input Impedance: The current flowing in to the gate is almost zero. Therefore rin= infnity Transconductance: Gm= The transconductance for a cascoded diff amp is given by Venepally Jashwanth 5
Venepally Jashwanth
2.2.3 Comparison: gm 74.4E-6 1.37E-6 Ro 500M 10.8M Rin infinity 64G gain 80dB 55dB
Analysis Simulations
Venepally Jashwanth
Venepally Jashwanth
P1 P0
3.2.3 Comparision: For PMOS P0: w= 6.266u. also, vsg= veff+vth=0.64V Venepally Jashwanth
vsd> veff 10
P0 Simulation Analysis
3.2 AC 3.2.1 Analysis: Input Impedance: The current flowing in to the gate is 0 therefore rin= infinity
Output Impedance: rds0||rds1 from cadence gds1= 1.853u gds2=1.902u rout= 0.265M Transconductance: Gm The transconductance is equal to transconductnce of P0= gm from Cadence gm=134.5u AC Voltage Gain: The AC voltage gain of an amplifier is 1V/V. that is 0dB 3.2.2 AC SIMULATIONS: Input Impedance:
Venepally Jashwanth
11
gm= 916u
Venepally Jashwanth
12
Parameter Values
gm 916u
gain=-2.3dB Ro 0.84M
Rin 36G
Gain dB -2.3
Ro 0.26M 0.84M
Gain dB 0 -2.3
3.3 Frequency Response: 3.3.1 Analysis: Pole of the buffer as calculated in part 2 of this lab was taking values from cadence this values turns out to be fp= 41.9M Hz 3.3.2 simulations:
4. Driver Circuit: Objective: The objective is to design a driver transistor which drives the load. It should be able to drive a range of currents like 1mA-50mA. Also, the voltage drop across its source-drain should be less i.e 250mv since we are implementing a low drop-out voltage regulator. The choice for driver circuit is PMOS source follower. The PMOS source follower is chosen over NMOS source follower because of the Diff Amp type we have chosen to implement. The cascode Diff Amp with 9 transistor implementation does not have a large voltage swing /headroom at its output. This small AC voltage cannot drive a NMOS gate to ON state. Whereas for a PMOS no such problem exists because it takes the difference of Source and Drain voltages. Requirements: Current drive: 1mA-50mA Voltage drop: 250mV Regulated Voltage: 2.25V 4.1 DC 4.1.1 Analysis: The output regulated voltage is 2.25V i.e Vdrain=Vd=2.25 Vsource= Vs=2.5V Vds= 0.25=250m Vsd> Vsg- |Vtp| ==> Vg > Vd- |Vtp| ==> Vg > 1.71V Vsg=Vs-Vg< 2.5-1.71= 1.79V ; L=300nM, Kp= 95.75u
for I=1mA upon calculation w turns out to be w= 0.1m for I=25mA upon calculation w turns out to be w= 2.5m for I=25mA upon calculation w turns out to be w= 5m For all the cases Vsg and Vsd are shown above
Venepally Jashwanth
14
The figures show the DC biasing points of the pass transistor for i=1m,50m,25mA. The values are tabulated as below.
4.1.3 Comparisons: VGS Analysis/ Simulations For i=1mA For i=25mA For i=50mA <-1.79V/-474.9 <-1.79V/-701.6 <-1.79V/-792
4.2 AC 4.2.1 Analysis: Input impedance: The current flowing in to the gate is 0. Therefore rin= infinity Output impedance: without any load. just for the Pass transistor output impedance = rds1= 1/gds= 1/41.43m= 24.1 Ohms Transconductance: The transconcutance is gm= 311.9m A/V Gain: The gain is gm. rds = 7.4V/V= 17.5dB
Venepally Jashwanth
15
Venepally Jashwanth
16
Transconductane= 176m gm Pass 311.9u ro 158 Ohms gain dB 34.9 rin 1.1M Ohms
Venepally Jashwanth
17
Analysis Simulations
4,3 Frequency response: 4.3.1 Analysis: The significant pole at the output can be approximated as( as explained in part-2 of the lab report) : Taking values from cadence Ro= 1/gds=24 Ohms: Cload= 1uF Therefore fp turns out to be 6.6KHz 4.3.2 Simulations:
Venepally Jashwanth
18
For 25mA:
Venepally Jashwanth
19
For i=25mA P2 Vgs(mv) -610.8 Vds(mv) -610.8 Id(uA) -5.135 For i=50mA P2 Vgs(mv) -610.8 Vds(mv) -610.8 Id(uA) -5.132
For all the currents the voltage at the output is regulated at 2.25V. The figures for DC are shown above the tables.
Venepally Jashwanth
20
Gain= 91.76dB Gain crossover: wgx= 2.087MHz Phase Crossover: wpx =1.119MHz wgx> wpx==> Overall system is unstable Poles: one pole at95.5Hz, 108.7kHz, 1MHz Zeros: Zero at 949.9Hz
Venepally Jashwanth
21
Gain= 82.55dB Gain crossover: wgx= 4.659MHz Phase Crossover: wpx =1.018MHz wgx> wpx==> Overall system is unstable Poles: one pole at 8.598KHz, 637.5kHz,2MHz Zeros: Zero at 91.56kHz Phase margin: -248+180=-68 for i=50mA
The magnitude and phase plots for the individual blocks: The plots are drawn for a current of 25mA. at the output of diff amp:
The poles, gain and zeros are marked in the graph. Their values and analysis is given in the tables below. at the output of buffer:
Venepally Jashwanth
23
Overall open loop System gain is without compensation: 71.6dB Bandwidth: 5.16M Hz 5.3 Transient uncompensated:
vripple= (2.37-2.1)/2.5= 0.108% Settling time: the system was found to be unstable. In fact it was found to be marginally stable. So it keeps oscillating.
Venepally Jashwanth
24
for 25mA:
Venepally Jashwanth
25
gain dB gain crossover Hz phase crossover Hz phase margin deg poles Hz zeros Hz
The magnitude and phase plots for the individual blocks: at the differential amplifier:
Venepally Jashwanth
26
Upon zooming in, the same graph looks like Venepally Jashwanth 27
6. Comparison/ Conclusion:
Op-Amp: we set out design an op-amp with a very high gain so that it acts as a good error amplifier. 50-60 dB gain was sufficient. I have designed a op-amp with a gain of 62dB. Since such a high gain is not possible with 5 transistor differential amplifier, I chose a cascodeddifferential amplifier. The output of the op-amp is biased at vdd/2. Buffer Stage: The buffer stage is used to avoid impedance missmatch between the op-amp and pass transistor. The buffer has a very high input impedance and moderaltely output impedance. The voltage gain of the buffer was designed to be 0dB. The buffer was implemented using a PMOS transistor. Load Stage: The load/ driver transistor is used to regulate the output voltage at 2.25V irrespective of the Load currents. For all the varying currents in the load, the output was regulated at 2.25V. Since a Low drop out is required it cannot be implemented using a NMOS transistor. So I designed the driver stage with PMOS of width 6m. Over-all Feedback System: Venepally Jashwanth 28
For i=25mA P2 Vgs(mv) -610.8 Vds(mv) -610.8 Id(uA) -5.135 For i=50mA P2 Vgs(mv) -610.8 Vds(mv) -610.8 Id(uA) -5.132
6.2 AC Parameters: The various AC parameters are summarized in the tables below: Differential Amp Buffer Pass Gain (dB) f3dB (MHz) P2 P3 Unity BW Analysis 80 0.3M 41.9M 6.6K Simulation 55 1M 515M 34.5K 5.16M 70 80 Error % 31 91
Final Discussion: An LDO is designed with a regulated voltage of 2.25V. The transient analysis is plotted and the ripple time is found to be 0.18%. Settling time is 100usec.
Venepally Jashwanth
29
For compensated:
gain dB gain crossover Hz phase crossover Hz phase margin deg for 1mA 83.3 18.6k 1.17M 89 for 25mA 82.34 203.6K 996.9K 68.8 for 50mA 71.6 243K 1.057m 67
Improvements: Since the compensation was done using a capacitor at the output, slew rate at the output decreases. Instead by using lead compensation technique this can be avoided. To make the system insusceptible to changes in the output load, a high gain error amplifier may be used. The settling time was found to be 100usec. In application where this amount of settling time is not acceptable, I can decrease it by using higher current drive in the LDO and by chooisng a Q-factor that is optimal. Result: I have designed an LDO with the required specifications.
Venepally Jashwanth
30