Beruflich Dokumente
Kultur Dokumente
By
S.Kali Praveen
M.Tech (VLSI – SD)
3 rd Semester
Roll No: 260416
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION ENGINEERING
NATIONAL INSTITUTE OF TECHNOLOGY
WARANGAL-506004 (A.P)
i
CERTIFICATE
ii
ACKNOWLEDGEMENT
I would also like to thank all the teaching and non-teaching staff of the
ECE department for the constant support throughout my M.Tech thesis.
The mini project would not have been completed, but for the motivation,
encouragement and guidance that I received from several people. I express my
heartfelt appreciation and gratitude to all of them.
S.Kali Praveen
M.Tech. (VLSI System Design)
Roll no. 260416
iii
Chapter-1
Introduction
The modern magnetic hard disk-drive is a marvel of technology. The fairly
elaborate resident subsystem of analog, mixed-signal, and digital ICs, including a
microcontroller, make the modern disk drive an autonomous device which may
be directly connected over a standard interface bus to the host computer without
need of an external interface board. The disk-controller section manages the disk
address space, contains semiconductor memory buffers, formats the disk while
mapping out defective sectors, and implements error correction coding. Smart-
power ICs synthesize three-phase waveforms for the spindle-motor and the
currents for the voice-coil actuator to position the head on a disk track. The rather
sophisticated servo-control strategies to accelerate the head between tracks and
optimally place it on the sought track are implemented digitally on a
microcontroller. The ADC and DAC embedded with the microcontroller for this
control function have modest specifications of 8b to 10b resolution at 3 to 5 MHz
sample rate.
After arriving at the suitable architecture the VGA is designed to meet the following goals:
• The gain control range of the VGA should be high enough to handle the dynamic
range of the input signal.
• The VGA gain should be high enough to maintain the required signal level at the
output of the receiver and should have a continuous gain control.
• The Noise Figure of the VGA should be low enough to ensure that the receiver
yields the required output SNR.
• Since the VGA senses larger input levels it should have high linearity so that the
overall receiver IIP3 does not degrade
Chapter-2
Literature Survey
In fact, for low supply voltage, it becomes more advantageous to steer the
currents from M2 and M3 directly to the supply without cross-coupling to the load.
As such, the current and the voltage drop across the load can be minimized, and
the load can be maximized for maximum gain without sacrificing the dc output
and the output swing. In general, to make the gain insensitive to the process
variation and temperature, it may be necessary to use resistive loads and include
resistive degeneration for the input devices M5 and M6.As always, degeneration
can also help with the linearity at a cost of gain reduction. The range of the
control voltage may be limited for a linear gain control, and a scaling network can
be added right after the actual control voltage to extend it to a full supply range. If
a linear in dB is desired, the scaling network may be more complicated, in
particular for CMOS amplifiers as compared to bipolar counterparts. Finally,
resistive degeneration can also be considered for the steering devices M1-M4 to
linearize the gain as a function of the control voltage.
Chapter-3
In Hard disk drive read channels, variable gain amplifiers are used to
provide constant voltage at the output of analog front-end regardless of variations
in the input voltage level. Basic block diagram of the Hard disk drive read
channel is shown in figure 3.1 below
Signal variations at the input and output of VGA are shown in figure 3.2 below.
Step-1: From the input and output signal variations calculate the minimum and
maximum gain values required. Assume equal common mode voltage level at
the input and output. Input signal variation of 10mVp-p for logic-1 is to be
amplified to fixed voltage level of 0.5V .It requires a minimum and maximum gain
values of 17dB and 34dB respectively. So a gain range of 15dB to 40dB is
chosen.
Step-2: The design is targeted for 50MbPS HDD read channel. So the time
period of the periodic bit stream is 20nsec.So the pulse duration is
10nsec.Assume that the output of VGA has to settle in less than 7.5nsec (for 2%
tolerance band), calculate the required bandwidth for VGA using the following
equation:
Settling time = 4T
Where “T” is the time constant and T=1/2*π*f.
Ö f > 85 MHz.
Ö
Step-5: Output voltage swing required is 1Vp-p.If VGA is designed for large
output swing than required linearity at the smaller voltage swing will be good.
Parameter Specification
Bandwidth 90MHz
THD -25dB
Power 5mW
1. For a 25dB of total gain variation, each of the first two stages has to
provide -2.5dB to +10dB (12.5dB gain variation).
Third stage:
1. Last stage is providing large constant gain of 20 dB to satisfy the
maximum and minimum gain requirements.
2. Bandwidth must be at least equal to 85MHz to satisfy the settling time
requirements.
3. Power allotted is 1.25mW since Bandwidth is lower.
4. Output swing must be 2 Vp-p
5. It should provide low distortion.
Chapter- 4
4.1 Introduction:
Application requires exponential gain control behavior which can be
approximated by a function with “x “being the controlling variable. This
expression is plotted in Fig. 4.1, where the y scale is in dB’s. It is possible to see
that the gain expression in eqn 1 provides the necessary exponential transfer
Characteristics and shows a good match for -0.7 < x < 0.7. Further, it can be
shown that the maximum gain range is given by eqn 2. Therefore, for a gain
range of 30 dB the value of x needs to be varied from -0.698 to +0.698.
4.2.1 First and Second Stages: As both the gain control stages operate
similarly we will discuss only the first stage. Transistors Q3 and Q4 are diode
connected and operate as the load transistors for the differential pair Q1 and Q2.
The gain for the first stage is controlled by the ratio of the transconductances of
Q2 and Q4 (and Q1 and Q3), {gainstage1= (gm2/gm4)}. The ratio of their
transconductances can be varied by changing the ratio of the currents that pass
through Q2 and Q4. The current flowing through Q2 and Q4 are given by
The gain of the first stage can therefore be altered by changing the value
of the current I1 and is equal to
The left half of the gain expression given by (5) is a function of device sizes and
process parameters and is a constant during normal use. The right half has the
form .As mentioned earlier, except for the square root this
expression has the exact form we desire. To compensate for the square root we
use two stages and vary the current I1 from -0.7Ib to +0.7Ib to achieve the
necessary 30 dB of gain variation. Currently a simple class-A current amplifier is
used to generate the current I1. Alternately, a class-AB current amplifier design
can also be used and will further help reduce power consumption. However, care
must be taken to reduce crossover distortion or VGA gain hunting is likely to
occur.
U4.2.2 Offset Voltage Generator:
The voltage sources (Voff ) are included to allow the current sources of
the second and third stages to operate in the saturation region. The value of 0.4
V for this offset voltage is selected such that it is greater than the (Vgs - Vt) of the
current sources but is small enough such that it does not have much impact on
the input common mode range of the VGA. This offset voltage is generated using
a feedback scheme that provides a low impedance voltage source and is shown
in Fig. 4.3. Fig. 4.4 shows the characteristic of offset voltage generator.
Fig 4.3: Offset voltage generator
When the load current approaches 100 nA the offset voltage rapidly rises
to 0.4 V and then remains fairly steady even when the load current increases to
100 μA. If common mode range is not of concern then a simple diode connected
transistor can be used instead. Transistor Q32 is operated in the subthreshold
region and transistors Q31, Q33 and Q34 are operated in strong inversion.
Transistor Q34 is in the triode region and acts as a resistive load for transistor
Q32. The low resistance at this node is included to stabilize the loop by
increasing the pole frequency formed at the drains of Q32 and Q34. As soon as
the gate to source voltage of Q32 is sufficiently large (approximately equal to
Vofft) the drain current of Q32 increases and pulls up the gate of transistor Q33.
This in turn rapidly increases the gate to source voltage of transistor Q31 and
Voff does not increase beyond the desired value. The circuit in Fig. 4.3 functions
in manner that is similar to a series voltage regulator except here we fix the
voltage drop across the load transistor rather than the output voltage. Since the
necessary δ Vgs, (δ Vgs = Vgs - G), is small the turn on voltage for transistor
Q33 is approximately equal to Vtn. Using this constraint, the desired offset
voltage, Voff, can be set using (6).
Here is equal to KTIq which is approximately equal to 26mV at room
temperature, the slope factor is usually between 1.3 and 2 and is fairly
controllable. Kn is the transconductance parameter for NMOS transistors, W32,
L32, W34 and L34 are the widths and lengths of transistor Q32 and Q34. is a
process dependent parameter and is highly unpredictable. However, affects
the offset voltage only logarithmically such that a 100% variation in only
causes a 6% variation in the offset voltage. The other parameters are likely to
have much smaller variation. The loop gain for the offset voltage generator with a
load capacitance of 5 pF is shown in Fig. 4.5 and the closed loop source
impedance of the generator is shown in Fig. 4.6. The source impedance of a
diode connected, 1/gm, and transistor is also shown in Fig. 4.6. We note that the
source impedance for the offset voltage generator is lower than that for the diode
connected transistor for low frequencies and increases at higher
frequencies. This results in a slight degradation of the CMRR at these
frequencies. However, as mentioned earlier, the dc voltage drop across the diode
connected transistor is larger.
Fig 4.5:
4.2.3 Third Stage: An expanded view of the third stage is shown in Fig. 4.7.
Previously, transistors Q11, Q12, Q15, Q16 and Q19 and Q20 were omitted from
Fig. 4.2 for clarity. Transistors Q15 and QI6 are identical in size to Q9 and Q10
and are used to cancel the Miller multiplication effect. Transistors Q19 and Q20
are primarily included to reduce the negative feedback effect of the transistors
Q15 and QI6.However, they also function to reduce the gate-to-source capacitive
loading effects of transistors and Q16.
For our design the reduction, at extremely high frequencies the gain of the
third stage becomes sufficiently small due to its own bandwidth limitations and
the Miller multiplication effect becomes insignificant. In Fig. 4.9 we plot the gain
versus frequency for the second stage with and without our Miller cancellation
circuit. The heavy line shows the result after Miller effect cancellation and the thin
line shows the result without any cancellation. In this figure we note the reduction
in gain due to Miller multiplication and also the reduction of this multiplication
effect at higher frequencies. We also note that the plot is smoother after
cancellation, i.e. more constant group delay. The Miller multiplication effect has
been canceled but there is a slight reduction in the overall bandwidth due to the
increase in the gate-to-source capacitance. The transistors Q15 and Q16
primarily affect the high frequency ac behavior and so the overall circuit can
effectively be simplified by removing Q15, Q16, Q19 and Q20 and assuming that
the gate-to-drain capacitances of transistors Q9 and Q10 are zero and that the
effective transconductance of Q15 and Q16 are reduced slightly.
Fig 4.9:
The common mode gain for a completely balanced circuit is ideally zero.
However, any imbalance between the two sides results in some nonzero
common mode gain. This is illustrated in Fig. 4.10. For this simulation the
threshold voltage of transistor Q9 was altered by 10mV. We note both a nonzero
common mode gain and also the beneficial effect of adding Cm.Though a
complete analysis for common mode gain is not provided as this would entail
listing the influence of each transistor in the third stage and all of their
parameters. However, an qualitative explanation can be provided for the Vt offset
situation just mentioned. Other situations can be analyzed similarly. The common
mode gain for each half of the circuit is given by the ratio of the conductances
go/gl. Here go is the conductance of the current source IL and gl is the effective
conductance looking into the drain of transistor Q17 with the common mode
feedback circuit being functional. The low frequency value of gl is given by
(gm17gm13)/ (gds13+ gm17). The offset voltage is amplified by the gain of the
third stage and causes the two output voltages to be different. This in turn causes
the effective gl of the two halves to be different. The transconductance of Q17,
(gm17), essentially remains the same because of the extremely small change in
the current due to this change in the output voltage. Likewise, the
transconductance of Q13, also essentially remains the
same as the Vds is maintained constant by the common mode feedback effect.
However, the conductance of Q13, gds13 = (kP’*W/L)*(Vgs13-Vt-Vds13)
,changes because Vgs13 changes due to the difference in the two output
voltages. This causes the conductance looking into the drain of Q17 to be
different for that looking into the drain of Q18. Therefore, the gains of the two
halves are not equal and this results in the nonzero common mode gain.
Due to the fully differential structure of the VGA any common mode signal
at the input of the first stage is severely attenuated by the first two stages before
it gets to the out- put stage, i.e., the overall VGA has a fairly high common mode
rejection ratio (CMRR). Therefore, one of the primary purposes of the common
mode feedback circuit in the output stage is to stabilize the output voltage in the
face of process and temperature variations. The primary source of such
variations is possible changes in the threshold voltages of the transistors,
particularly those of Q9 and Q13. It also serves to reject any other common
mode signals that may arrive at the third stage via the supplies or the substrate.
Additionally, because of the complete symmetry maintained throughout the
design the power supply rejection ratio is extremely high for this circuit.
Gain variation and the frequency response are typically as shown in below
figures 4.13 and 4.14 respectively.
This circuit exhibits high accuracy and linearity, but it has a very low power
conversion efficiency, since the current output stage works in a class A fashion.
Moreover, it could be difficult to match current with the quiescent current in MA,
since they are affected by different process tolerances.
Step -2 : From the Bandwidth specification calculate the value of gm3,4 using
the following equation:
BW = gm3,4/2πCload
Assume Cload = 10 fF Calculate the (W/L)3,4 from gm3,4 and I1,I2 values found
in step 1
Step-3: Calculate the value of (W/L)1,2 from the gain spec using the following
eqn:
Gain = gm1,2/gm3,4
Step-4: The bias current required is to be varied from +/- 0.7 I1 to achieve a gain
variation of 15dB.
Step-2: From the band width specification calculate gds11 and from that
calculate (w/L)11 using the following eqns:
Assume Veff11=0.1V
BW=gds11/2 πCload
And gds11=kp’*(w/L)11* Veff11
Step-3: From the gain spec calculate (W/L)9,10 using the following eqn:
Gain = gm9,10/gds11
Step-5: The required bias voltage is generated bye the biasing circuit consisting
of Q21 and Q22.
Assume Iss/2 in the biasing circuit and calculate the values of Q21 and Q22.
Step-6: Adjust the (W/L)13,14 to provide output common mode voltage equal to
the mid point of the power supplies.
Chapter-5
Conclusion