The Design of a Two-Stage Comparator

Similar documents
Design and Layout of Two Stage High Bandwidth Operational Amplifier

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

Design Analysis and Performance Comparison of Low Power High Gain 2nd Stage Differential Amplifier Along with 1st Stage

Design and Simulation of Low Voltage Operational Amplifier

Advanced Operational Amplifiers

ECEN 474/704 Lab 6: Differential Pairs

Radivoje Đurić, 2015, Analogna Integrisana Kola 1

IJSRD - International Journal for Scientific Research & Development Vol. 4, Issue 03, 2016 ISSN (online):

Lecture 300 Low Voltage Op Amps (3/28/10) Page 300-1

Design of a low voltage,low drop-out (LDO) voltage cmos regulator

Low Quiescent Power CMOS Op-Amp in 0.5µm Technology

A Compact Folded-cascode Operational Amplifier with Class-AB Output Stage

A 24 V Chopper Offset-Stabilized Operational Amplifier with Symmetrical RC Notch Filters having sub-10 µv offset and over-120db CMRR

TWO AND ONE STAGES OTA

CMOS Operational Amplifier

Design of a Folded Cascode Operational Amplifier in a 1.2 Micron Silicon-Carbide CMOS Process

A CMOS Low-Voltage, High-Gain Op-Amp

ISSN:

Experiment #7 MOSFET Dynamic Circuits II

ALow Voltage Wide-Input-Range Bulk-Input CMOS OTA

ECEN 474/704 Lab 7: Operational Transconductance Amplifiers

Chapter 5. Operational Amplifiers and Source Followers. 5.1 Operational Amplifier

ETIN25 Analogue IC Design. Laboratory Manual Lab 2

Current Mirrors. Current Source and Sink, Small Signal and Large Signal Analysis of MOS. Knowledge of Various kinds of Current Mirrors

Lecture 240 Cascode Op Amps (3/28/10) Page 240-1

Experiment 5 Single-Stage MOS Amplifiers

Design and Simulation of Low Dropout Regulator

[Kumar, 2(9): September, 2013] ISSN: Impact Factor: 1.852

NOVEMBER 29, 2017 COURSE PROJECT: CMOS TRANSIMPEDANCE AMPLIFIER ECG 720 ADVANCED ANALOG IC DESIGN ERIC MONAHAN

Rail to Rail Input Amplifier with constant G M and High Unity Gain Frequency. Arun Ramamurthy, Amit M. Jain, Anuj Gupta

8. Combinational MOS Logic Circuits

COMPARISON OF THE MOSFET AND THE BJT:

G m /I D based Three stage Operational Amplifier Design

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

IOWA STATE UNIVERSITY. EE501 Project. Fully Differential Multi-Stage Op-Amp Design. Ryan Boesch 11/12/2008

DAT175: Topics in Electronic System Design

AN Analog Power USA Applications Department

Analog Integrated Circuit Design Exercise 1

DESIGN HIGH SPEED, LOW NOISE, LOW POWER TWO STAGE CMOS OPERATIONAL AMPLIFIER. Himanshu Shekhar* 1, Amit Rajput 1

LOW VOLTAGE ANALOG IC DESIGN PROJECT 1. CONSTANT Gm RAIL TO RAIL INPUT STAGE DESIGN. Prof. Dr. Ali ZEKĐ. Umut YILMAZER

A 16Ω Audio Amplifier with 93.8 mw Peak loadpower and 1.43 quiscent power consumption

Experiment #6 MOSFET Dynamic circuits

Design of High Gain Low Voltage CMOS Comparator

A PSEUDO-CLASS-AB TELESCOPIC-CASCODE OPERATIONAL AMPLIFIER

0.85V. 2. vs. I W / L

Obsolete Product(s) - Obsolete Product(s)

Lecture 330 Low Power Op Amps (3/27/02) Page 330-1

60V High-Speed Precision Current-Sense Amplifier

Topology Selection: Input

James Lunsford HW2 2/7/2017 ECEN 607

LECTURE 19 DIFFERENTIAL AMPLIFIER

UMAINE ECE Morse Code ROM and Transmitter at ISM Band Frequency

High Voltage and Temperature Auto Zero Op-Amp Cell Features Applications Process Technology Introduction Parameter Unit Rating

Design of Analog and Mixed Integrated Circuits and Systems Theory Exercises

A new class AB folded-cascode operational amplifier

Micropower, Single-Supply, Rail-to-Rail, Precision Instrumentation Amplifiers MAX4194 MAX4197

Linear IC s and applications

Lecture 11 Digital Circuits (I) THE INVERTER

Dual operational amplifier

Electronics Prof. D. C. Dube Department of Physics Indian Institute of Technology, Delhi

Design of an Amplifier for Sensor Interfaces

Laboratory 8 Operational Amplifiers and Analog Computers

Low Power Op-Amp Based on Weak Inversion with Miller-Cascoded Frequency Compensation

CMOS RE-CONFIGURABLE MULTI-STANDARD RADIO RECEIVERS BIASING ANALYSIS

Low Cost, General Purpose High Speed JFET Amplifier AD825

Designing a 960 MHz CMOS LNA and Mixer using ADS. EE 5390 RFIC Design Michelle Montoya Alfredo Perez. April 15, 2004

DIGITALLY controlled and area-efficient calibration circuits

Class-AB Low-Voltage CMOS Unity-Gain Buffers

NE/SA/SE532 LM258/358/A/2904 Low power dual operational amplifiers

Current Source/Sinks

Common Mode Feedback for Fully Differential Amplifier in ami06 micron CMOS process

A 2.4 GHZ RECEIVER IN SILICON-ON-SAPPHIRE MICHAEL PETERS. B.S., Kansas State University, 2009 A REPORT

Design of High-Speed Op-Amps for Signal Processing

Low Power and Fast Transient High Swing CMOS Telescopic Operational Amplifier

Non-linear Control. Part III. Chapter 8

You will be asked to make the following statement and provide your signature on the top of your solutions.

A Novel Design of Low Voltage,Wilson Current Mirror based Wideband Operational Transconductance Amplifier

PAD: Procedural Analog Design Tool D. Stefanovic, M. Kayal, M. Pastre

Lecture 11 Circuits numériques (I) L'inverseur

Design of Gain Enhanced and Power Efficient Op- Amp for ADC/DAC and Medical Applications

Low-Power, Precision, 4-Bump WLP, Current-Sense Amplifier

Chapter 2 CMOS at Millimeter Wave Frequencies

LP2902/LP324 Micropower Quad Operational Amplifier

AVoltage Controlled Oscillator (VCO) was designed and

SOLIMAN A. MAHMOUD Department of Electrical Engineering, Faculty of Engineering, Cairo University, Fayoum, Egypt

Chapter 12 Opertational Amplifier Circuits

A New Design Technique of CMOS Current Feed Back Operational Amplifier (CFOA)

IN RECENT years, low-dropout linear regulators (LDOs) are

INF3410 Fall Book Chapter 6: Basic Opamp Design and Compensation

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

LM2904AH. Low-power, dual operational amplifier. Related products. Description. Features. See LM2904WH for enhanced ESD performances

A high-speed CMOS current op amp for very low supply voltage operation

Analysis and Design of High Speed Low Power Comparator in ADC

ISSCC 2004 / SESSION 26 / OPTICAL AND FAST I/O / 26.8

Rail to rail CMOS complementary input stage with only one active differential pair at a time

A Novel Continuous-Time Common-Mode Feedback for Low-Voltage Switched-OPAMP

SGM ns, Low-Power, 3V/5V, Rail-to-Rail Input Single-Supply Comparator

MP5120, MP5220, MP5420 High Speed, +/-9V, Rail-to-Rail Input-Output Op Amps

MICROELECTRONIC CIRCUIT DESIGN Third Edition

A Switched-Capacitor Band-Pass Biquad Filter Using a Simple Quasi-unity Gain Amplifier

Transcription:

The Design of a Two-Stage Comparator Introduction A comparator is designed with the specifications provided in Table I. Table II summarizes the assumptions that may be made. To meet the specifications, a two stage open-loop comparator has been employed due to the following reasons: Metrics Differential Voltage Gain Propagation Delay Common Mode Range Slew Rate Output Dynamic Range Specifications >2000 < 750 ns >±3V >±2V >±3V Metrics Assumptions Process AMI 1.5µ n-well Power Supply ±5V Load Capacitance 5 pf Area As little as possible Power As little as possible Table I. The specifications that have to be met Table II. Assumptions that may be made The gain is sufficiently high to warrant two stages and modest enough to obliterate any need for the use of any more than the two stages. Power supply voltages of ±5V provides sufficient headroom for obviating any need for the use of the cascode configuration. The required slew rate being not very high, large source and sink currents are unnecessary, and consequently, a push-pull configuration is unnecessary. The output capacitive load at the output is not so large so as to cursor need for high-speed digital buffers in the circuit.

Design Procedure The most difficult of the specifications that have to be reconcile with is the delay time, which has to be less than 750 ns. The equation for delay time is given by the equation 0.693 RC < 700ns where, R is the total resistance looking into the output of the device, which is the parallel combination of the drain-source resistances of the transistors of the second stage, and, C is the total capacitance at the output, which, for the present, we assume to be the same as the load capacitance mentioned in Table II. Using the above equation the smallest value of R may be calculated to 0.202M ohms. Two equations govern the required minimum value of I 7 and care needs to be taken so as to take effects due to both the equations into account. The minimum current requirement may be found, first, from considerations of slew rate. Slew rate is given by he expression I 7 /C L. This expression may be used to calculate a minimum value of I 7. I 7 /C L = SR => I 7 = SR * C L = 2M x 5p = 10 µa Hence the minimum value of I 7 cannot be less than 10 µa. The other constraint for the minimum value of I 7 arises from considerations of the propagation time delay. The time delay is given by the expression t p = (V OH V OL )/(2 x SR) Assuming an output dynamic (V OH V OL ) range of 7 V (which is 1V above the requirement), and for a propagation delay of 700ns (which is 50ns below the requirement), the slew rate is calculated to be 5V/µs. This aught to be the minimum slew rate that one must design for. As this slew rate is much greater than the one specified, this is the slew rate that one needs to design for. Using this new value for the slew-rate, the minimum current requirement that would be required is calculated to be 25µA. We shall take a margin and work with a value of current that is about 35µA-40µA. As a check, the actual output resistances for the worst-case value of I 7 (30µA) is used for calculated (using the formula r ds = 1/?I D ). r ds6 = 1/(0.07 x 30µ) = 0.473M, and r ds7 = 1/(0.12 x 30µ) = 0.277M,. Hence, R = (r ds7 r ds6 ) = 0.1752M Since this value of resistance, is rather close to that which is required, it is inadvisable to alter either the value of the current, or the value of the length of any of the transistors of the output stage, as, altering either of these (as shall be seen later,) may vilify the propagation time-delay.

Since power is a (tacit) limitation, a minimum value of 5 µa is assumed to flow into each branch of the differential amplifier. This implies that a total of 10 µa flows through the transistor M5. The first stage is designed with a gain of 120. Gain is not a limitation in itself. Hence only a small gain is assumed here. The gain may be simply doubled by doubling the length and the width simultaneously. gain = gm1(r ds4 r ds2 ) = 120 Using the procedure mentioned above, the parallel combination of the sourcedrain resistances is calculated to be (r ds2 r ds4 ) = (2.857M 1.67M) = 1.052M. Hence, as both the gain and the equivalent resistances are known, the gm1 and gm2 may be calculated gm1 = gain / (r ds2 r ds4 ) = 1.14 x 10-4 The trans-conductance is related to the ratio of the width to the length of a MOS transistor by the equation gm1 2IDK( W / L) This equation may be used for calculating the value of the W/L ratio for transistors and, since all the other quantities are already known. W/L ratio thus calculated for transistors and are 16.5. The W/L for the transistors M3 and M4 are calculated using the positive common mode range value. CMR+ is given by the equation CMR+ = V DD V GS3 + V t1 From this equation, the value of V G3 may be calculated to 1.0597V. Once this is known, the value of the W/L ratio for transistors M3 and M4 may be calculated using the formula for the drain current, which is given by I D = (K /2)(W/L)(V GS - V T ) 2 The value of (W/L) that emerges from this equation is (W/L) = 1.709. A (W/L) of 2 is assumed for the purpose of the calculations and simulation. Since the transistors M3 and M4 need to be matched, the value of W/L of transistor M4 is taken to be the same as that of the transistor M3.

Transistor number 5 is used as a current mirror for mirroring 10 µa current. This may be accomplished by mirroring a current of 10 µa from a current mirror (M8) that has a W/L of 1 and a 10 µa current feeding its gate. This leads to a W/L of 1 for transistor number 5. Finally, the width to length ratios of the transistors for the output stage are calculated. For the calculation of the W/L of transistor 6, two insular issues must be addressed. First, the gate to source voltage of M6 must equal the gate to source voltage of transistor M3. Second, the drain current of the transistor must be sufficient to provide for whatever current is necessary for the prevention of slewing at the output stage (as discussed in the first paragraph of this section). These facts may be incorporated in the drain current equation I D6 = (K 6 /2)(W/L) 6 (V GS3 - V T ) 2 which results in the W/L ratio of the transistor to be of the order of 33. For drawing a current of about 25 µa, the W/L ratio of transistor number 7 should be of the order of 2.5. The results from the above discussion are summarized in Table III. Transistor Number W/L Calculated Used for Simulation L W L W 1 16.5 1.6 26.4 1.6 27 2 16.5 1.6 26.4 1.6 27 3 2 1.6 3.2 1.6 3.2 4 2 1.6 3.2 1.6 3.2 5 1 1.6 1.6 1.6 1.6 6 33 1.6 52.8 1.6 53 7 2.5 1.6 4 1.6 4 Table III The theoretical values that were derived from the calculations above and the values that were used for the simulations. Obstacles Faced and how they were Surmounted The comparator was not designed with all of the gain taken into consideration. After the above-mentioned configuration was simulated, all the specifications other than the specifications for the gain were met. The gain turned out to be of the order of 1300. Unfortunately the method of increasing gain, which first comes to mind, is to increase the values of the lengths of the output transistors, while still keeping the W/L of the output stage transistor constant. This increases the value of the resistances (by decreasing the value of?,) and yet does not affect any of the other parameters in the circuit. The difficulty of using this methodology lies in the fact that gain is increased by employing an increase in the value of the equivalent output resistance. The delay time (which is related to the output resistance as 0.693 RC) also increases. So the designer is

in a quandary since increasing gain (which the unfortunate designer is attempting to achieve,) would also increase the delay time (which the designer is trying to belie). Gain may also be increased by increasing the trans-conductance of the transistor M6, since it is this transistor that is providing the gain. Increasing the trans-conductance would entertain an increase in the value of the current (since the only method of increasing the trans-conductance would be to increase the W/L of the particular transistor in question, which in turn would increase the drain current flowing through it). This in itself would be beneficial to both the gain and the time delay (, as the source-drain resistance also decreases). Unfortunately, this method requires a change in the value of transistor M7 to reflect the amount of current that should actually flow through the circuit, and, more importantly, may require a change the M3, M4 transistor sizes (since the voltages seen at the drains of the transistors M3 and M4 should be matched to the voltages seen at the gate of the transistor M6), which would lead to changing the currents in,, which would lead to a redesign of the first stage. A much more elegant method for increasing the gain exists. Until now, all effort was expended in efforts to increase the gain of the second stage. The most obvious solution of decreasing the value? and increasing the gain was that this was detrimental to the propagation delay of the circuit. And that was due to the fact that a large capacitance was directly connected to the equivalent resistances as seen in the output. Such a large capacitance does not exist on the first stage of the comparator. Hence, increasing the gain of the first stage using this methodology would not only increase the entire gain of the circuit, but would also ensure that the propagation delay would not be affected to any noticeable extent. All other specifications that were already met were not affected in any way. The final values of the W/L ratios are shown in Table IV. Transistor Number W/L Calculated L W 1 16.5 2 33 2 16.5 2 33 3 2 3.2 6.2 4 2 3.2 6.4 5 1 1.6 1.6 6 33 1.6 52.8 7 2.5 1.6 4 Table IV The values of the lengths and the widths necessary for the increase of gain is presented in this table. Cells which are highlighted are values that have been changed The comparator has an input offset voltage of 4.04mV. This obstacle in design was insurmountable.

Layout Issues Prime considerations in the layout are those that are concerned with the matching of the two transistors and so as to be able to obtain minimum offset voltage, efficient placement of the body contact at a distance of every 50? and the minimization of the total size of the comparator. The transistors have to be laid out using design paradigms that calculate distances in units of? which measures 0.6µm in length. All transistor sizes are thus recalculated by dividing the actual sizes of the transistors by 0.6µ. Transistor sizes thus calculated are listed in Table V. Transistor Number Calculated Practical W L W L 1 55 3.33 55 4 2 55 3.33 55 4 3 10.667 6 11 6 4 10.667 6 11 6 5 3 3 3 3 6 88 3 88 3 7 6.667 3 6 3 8 3 3 3 3 Table IV The magnitudes of the transistor sizes in terms of?. Both the theoretically calculated and the practical values used in the design are mentioned. Input Transistors The sizes of the input transistor sizes are large. It is necessary to divide the transistors into transistors of much smaller dimensions, and then connecting them up in parallel. In the present implementation, the transistors have been divided up into eight equal parts (so that each transistor was about 7? wide) and placed as shown in the Figure I below. The input transistors are matched using a method known as centroid matching. This effectively puts the two transistors evenly about a centroid position. The following diagram depicts this configuration schematically.

centroid Figure I A schematic representation of the method employed for centroid matching. Figure II depicts a schematic representation of the connection diagram. Fortunately, the two source terminals of the transistors are connected. This allows for a serpentine common source of the transistors. D2 Figure II A schematic representation of the connection diagram used for the layout. S1, S2 D1

Such a structure embodies the matching of the two transistors, is compact, and yet, uses only one metal for the interconnections. The problem of the above configuration lies in the amount of parasitic capacitance created due to the high amount of metal connections that have been used. Another problem that is not so evident is the intricate circuitry necessary for providing body contact within the structure. The layout of the schematic provides evidence of the greatest dexterity the designer has had to resort to, for providing body contacts effectively and efficiently. The Output Transistor The biggest of all the transistors is the output transistor M6 having a width of 88?. This has been divided up into 15 separate transistors and connected up in parallel. They are placed in an efficient manner so as to conserve space and consequently reduce the parasitic capacitances. Here again, the placement of the body contacts have been an extremely convoluted task. All other transistors have been small enough so as to obviate the need for intricate design. Nevertheless intelligent placement of the body contact has been necessary. The final layout area was 160µm x 130µm. Extraction of Parasitic Capacitances Parasitic capacitance extraction had been attempted. The spice file that resulted form the extraction process however did not contain any information of the values of the extracted capacitances. Internet searches to correctly extract the parasitic capacitances were in vain. The resultant spice parameter file however is appended at the end of the report for whatever it is worth. Results and Discussion The results of the synthesis have been briefly provided in Table V. These results have been further exemplified in the diagrams present in the annexure. Metrics Specifications (for 3mv p-p) Specifications (for 6mv p-p) Differential Voltage 3034.83 3034.83 Gain Propagation Delay 465.289ns 309.26 ns (rise edge) Propagation Delay 735.178ns 666.23 ns (fall edge) Slew Rate (rise edge) 5.45939 V/µs 11.6079 V/µs Slew Rate(fall edge) 3.5469 V/µs 5.7866 V/µs Output Dynamic Range 9.79971 V (4.85V-4.946V) 9.79971 V (4.85V-4.946V)

Table V A brief summary of the results has been presented here. Measurements of slew rate, and propagation delay is done at an input differential voltage of 6mV peak-topeak. Differential Voltage Gain In the calculations, only the first stage gain was calculated and matched to 120V/V. The actual value of the first stage voltage gain (before the first stage was modified,) was given by 130V/V. The second stage thus had (and still has) a voltage gain of 10V/V. After modification of the first stage, the voltage gain of the first stage increased to 300V/V. The reason for the gain not doubling is that the length of and are not increased by a factor of 2 but increased from 1.6µm to 2µm. This allowed for the increase of the gain sufficiently so as to meet the specification, and yet, not increase the size of the transistors and especially since the W/L ratios of these transistors are great in the first place. Propagation Delay Calculations that have been done predicted that the circuit would have a propagation delay of less than 700ns. The propagation delay of the rising edge was significantly smaller than the propagation delay of the falling edge, and this is expected since the amount of current that can be provided by the larger transistor M6 is much greater than the current sinking capability of the much smaller transistor M7. Again the calculations pertain to the greater value, since the current equations that were used for finding the propagation delay depended upon the current carrying capability of the current mirroring transistor M7. The actual propagation delay 735.178ns corresponds closely to the calculated 700ns. Slew Rate Reasons identical to those of the above result in the slew rate of the rising edge to be much greater than the slew rate of the falling edge. The amplifier was designed to have a slew rate of something greater than 5 V/µs for reasons mentioned in the design procedure. The falling edge slew rate of 3.5469 V/µs corresponds to a not-tooclose approximation to the slew rate calculated and deemed necessary. Output Dynamic Range The output dynamic range limitation being most trivial has not been calculated. It is seen that the specifications for the output dynamic range has been more than met with. Common Mode Range The differential amplifiers have been designed so that none of the transistors go out of saturation for a common mode voltage of ±3.5V. A common mode voltage of ±3V have been applied to the transistor with a differential input voltage of 4mV. The comparator operated perfectly. Conclusion The comparator that has been designed meets all the specifications. It is intuitive to go through the utility of the comparator that has been designed. The comparator designed above would probably be used as an element of a generic ADC/DAC. Issues

that are of special interest for the proper and efficient functioning of the ADC/DAC are input offset voltage, slew rate, area considerations, and power consumption. Input Offset Voltage The input offset voltage of the comparator that has been designed is 4.04mV. This may be in excess of the input offset voltage that is inevitably created as a result of process irregularities and this additional input offset voltage may be additive. This has serious consequences. First this limits the resolution of the DAC. Second, if greater resolution is necessary, additional circuitry is necessary for minimizing the effect of this offset voltage, which would increases the size of the DAC. Slew Rate The slew rate of the comparator allows for a maximum bandwidth of about 354KHz [(3.54V/ µs)/ 10V]. In contemporary technology, DVD * video object sampling frequency is 48/96 KHz, and audio object sampling frequencies are 44.1/48/88.2/96/176.4/192 KHz, and CD quality music is recorded at 44.1KHz. Hence it is well suited for general audio/video ADC/DAC conversion. Area The area of the comparator is 160µm x 130µm. 4807 such comparators would fill a 1cm x 1cm area of the chip. ADC/DACs made of such comparators shall take up much space. As the necessary precision requirement increases, one has to make even bigger comparators to nullify the effect of the slew rate. Power Consumption The power consumption of the comparator is of the order of 400µW. A 64-bit DAC built using this comparator would require 0.0256W. Fifty such DAC/ACD should consume enough power to light up a flashlight! In summary, the designed comparator if used as part of an ADC would be useful in most generic audio/video applications. The word size of the comparator would be limited because of size and the power consumption related problems. Even though the parasitic capacitances have not been extracted, the slew rate is sufficiently high to make room for any feasible extra amount of capacitance and yet not compromise on the bandwidth to an extent that would render the device inoperable for generic audio/video applications. * Source: http://www.disctronics.co.uk/technology/dvdaudio/dvdaud_audio.htm Source: http://www.sony-middleeast.com/sacd/faq.htm

This document was created with Win2PDF available at http://www.daneprairie.com. The unregistered version of Win2PDF is for evaluation or non-commercial use only.