Presentation is loading. Please wait.

Presentation is loading. Please wait.

19 October 20151 A Stable System Clock Generator Using Reference Clock Sampling Aatmesh Shrivastava Robust Low Power VLSI Group University of Virginia.

Similar presentations


Presentation on theme: "19 October 20151 A Stable System Clock Generator Using Reference Clock Sampling Aatmesh Shrivastava Robust Low Power VLSI Group University of Virginia."— Presentation transcript:

1 19 October 20151 A Stable System Clock Generator Using Reference Clock Sampling Aatmesh Shrivastava Robust Low Power VLSI Group University of Virginia Alicia Klinefelter Robust Low Power VLSI Group University of Virginia

2 19 October 20152 Outline Motivation  Crystal oscillator design and power consumption Novel Circuit Architecture  Three phases of operation viz calibration, conversion and retention phase Circuit Design: Calibration Phase  F to V converter  Op-Amp  VCO  PTAT Conversion and Retention Phase  ADC  Capacitive DAC  R-2R DAC Summary References

3 19 October 20153 Motivation : Crystal Oscillator CRYSTAL Almost all microprocessors, micro-controllers, PICs, and CPUs operate using a crystal oscillator.  Crystal oscillator provides the reference clock. Why??  Highest accuracy and frequency stability compared to any known oscillator. Usually Fed to PLL to generate system clock, Sometimes can be used as is. Frequency range from 10Khz-50Mhz CRYSTAL SYMBOL Board Hook-up Equivalent circuitCircuit Diagram of Xtal oscillator

4 19 October 20154 Motivation : Crystal Oscillator Power Crystal with Char. frequency of 32Khz to 50Mhz designed to obtain power.  Most optimal point for oscillation.  Crystal parameter obtained through vendor data-sheets. Power dissipated ranges from 2.6uW @ 32Khz to 70mW @ 50Mhz.  At 200Khz power ranges from 5uW to 30uW. Crystal Oscillator consumes significant amount of power, critically impacts the power consumption of a system designed for lower power.

5 19 October 20155 Motivation : Proposed Circuit technique We propose a fully integrated reference/system clock circuit in CMOS.  The circuit achieves a high frequency stability of +/-250ppm.  We reduce the power consumption to a very low level < 2u Watts @ 200Khz  Unlike a crystal oscillator the power consumption of proposed circuit does not scale up with the frequency because of the architecture. Proposed Circuit

6 E A Retention Phase. (done=1)  After done goes high, DAC is calibrated with desired o/p voltage for VCO. Clock can be turned off.  The voltage at DAC can be maintained through bank of registers.  All other blocks except DAC, PTAT and VCO can be disabled and are disabled.  PTAT controls the temperature drift of VCO. Calibration Phase. (done=0)  A stable voltage is obtained at A, corresponding to reference frequency through crystal oscillator  The amplifier controls the VCO. The VCO oscillation frequency is converted back to voltage using F to V converter.  Feedback structure makes sure that A=E. (Need very high gain amplifier to insure this)  Calibration is completed once voltage at E becomes equal to A. Conversion Phase. (done=0)  Once E settles to value of A, Analog to Digital converter (ADC) and Digital to Analog Converter is enabled.  These two blocks generates C which is equal to B with <1mV quantization error.  Done signal goes high after conversion is done which causes MUX to select the DAC output. 19 October 20156 Circuit Operate in 3 Phases.

7 19 October 20157 Circuit Design: Frequency to Voltage converter[1] Is VDD Clk C1 C2 MP1MN1 MN2 T1 T2 Clk T1 T2 T1 Figure shows Frequency to Voltage converter (FVC) schematic which is based on switching capacitors and current source.  1 and  2 are pulse signals.   1 is generated after rising edge of Clock, while  2 is generated after falling edge of  1 Circuit Diagram FVC

8 19 October 20158 Functioning T2 T1 C1C2 Is When Clock is Low MP1 is on transmission gate T1 is off and MN2 is off. C1 gets charged through Is. C1=C2 When  goes high MP1 is off and MN2 is OFF. T1 is on and C1 and C2 Share charge as shown When  goes high T1 is off MP1 is off and MN2 is ON which discharges C1 to ground. C2 This process is repeated and eventually charges C2 to the maximum Voltage of C1. A voltage thus inversely proportional to frequency is obtained at C2.

9 19 October 20159 Output waveforms AOUT Out build-Up Steady state internal net waveforms

10 19 October 201510 Circuit Design: Folded Cascode Operational Amplifier VDD INP INN MP1 MP2 MN1 MN2 M1 VM VDD VM VM=VDD/2 OUT A B C Cp Gain of the amplifier gets multiplied through each stage. Very High gain. Quiescent current = 200nA Since Op-amp is used in feedback structure, stability of the system is achieved Cp. Compensating Cap + _ OUT

11 19 October 201511 Proposed Circuit Stability of the system Feedback path Because of the feedback, stability sims were done.

12 19 October 201512 Insuring Stability of the system + _ VCO F to V OUTA REF As voltage at A changes, frequency of VCO changes and because frequency changes voltage at OUT will changes. In other words voltage at A changes voltage at OUT. This means there is a phase difference b/w A and OUT or there is a pole b/w A and OUT. OUT being feedback net so this pole impacts the stability. We obtain the delay from A to OUT. Using the delay number we approximate the pole by RC and perform open loop AC analysis. = + _ OUT A REF Pole to replace VCO and F to V for stability analysis open-loop ac analysis reduction for the system. Feedback portion of the system

13 19 October 201513 Stability Analysis Phase Margin= DC Gain= 100 dB

14 19 October 201514 Voltage Controlled Oscillator + _ INV BUF OUT5 OUT1 VP VN OPAMP Current Mirror VP VN IN = Delay Element in VCO Functioning Current sources MP and MN determine the delay and hence frequency of VCO. As Output of OPAMP increases, VN increases and VP decreases. Current sources MP and MN drive increases, which increases frequency. Five such delay elements are used. MP MN

15 Voltage Controlled Oscillator VCO output at VN=700mV VCO output at VN=883mV f=200Khz

16 Effect of Temperature variation on VCO After the calibration phase, VCO input would remain at constant voltage. Temperature will cause current source to vary. This will change the frequency.  Frequency changes from 220Khz to 200 Khz from 0 to 100 o C Sweeping temperature for IN. With increasing temperature IDRIVE of NMOS drops

17 19 October 201517 Removing effect of Temperature: PTAT[2] Idrive reduces with temp. Use PTAT to control temperature drift. Add current of MOS and PTAT to get zero temperature coefficient. (ZTC) Start-up IBIB RB IBIB 1 1 1 M>1 MP2MP1 MN1 MN2 As Temperature increases, the Threshold voltage of transistor decreases. Current in the circuit is given by VGS With temperature VT of MN1 drops hence VGS, consequently VB increases increasing IB. VB

18 PTAT Output Sweeping temperature for IPTAT. 19 October 201518

19 Getting ZTC currents for VCO Variation of Current sources in VCO. 19 October 201519 Current in VCO’s current source vary by 3nA over ~400nA over a temperature variation of 0 to 100 o C

20 VCO output at 0, 50 and 100 Degrees 19 October 201520 With change is temperature frequency of oscillation changes from 200 Khz to 201 Khz. Frequency stability = +/-250ppm

21 Putting it together: Calibration Phase FV1 FV2 VCO_in FV1 FV2 FV2=FV1

22 Putting it together: Calibration Phase CLKIN VCO_OUT

23 ADC Architectures Sigma Delta Successive Approximation AccuracyHigh Accuracy Determined by DAC and Comparator PowerHigherLower Conversion Time Fast (due to oversampling) N*(cycle time) No pipeline delay Typical Bit Range> 10 bits< 15 bits ComplexityHighLow 19 October 201523

24 Successive Approximation (SAR) ADC Begins by making assumptions about bit values starting with the MSB and forcing 1000…00 (V ref /2)onto the DAC. If this voltage is above the analog input, the assumed bit goes to 0, else it remains 1. Then assumptions are made about all bits till the LSB and checked so the system “zeros in” on the result. 19 October 201524

25 SAR ADC Block Diagram [4] Comparator: Compares assumption coming from DAC and input analog voltage. DAC: Takes current assumption bits and turns them into analog voltage for comparison in next stage. SAR Logic: Takes output of comparator (0 or 1) to determine the next bit value and set the next bit assumption. 19 October 201525

26 Comparator Three op amps used (two P, one N) 19 October 201526

27 The Charge Scaling 10-bit DAC [3] Capacitor DAC acts as both DAC and sample-hold circuit. Design consideration: base cap size, C. Needs to be reset before use (discharge caps). 19 October 201527

28 DAC makes series of guesses. – If (guess voltage) > (analog input) over-approximation. This bit is 0. – Else the guess is below the expected value. This bit is 1. 19 October 201528

29 The R-2R 10-bit DAC [3] Simple voltage divider network. Does not require initialization signal and does not need to be periodically refreshed. Tradeoff: branch current vs. resistor size 19 October 201529

30 The ADC/DAC Network Active Power consumption: 550nA Technology: IBM 130nm Supply Voltage: 1 V Sampling Rate: 20 kHz Future optimizations: – Low-power optimization for ADC 19 October 201530

31 19 October 201531 Summary Novel low power, high stability clock circuit is proposed. The circuit achieves a frequency stability of +/-250ppm. Power in calibration-phase = 5uW, retention-phase = 2uW. Similar to crystal in stability (+/-100ppm) better than crystal in terms of power consumption.  Power consumption does not scale up with frequency unlike crystal oscillator

32 19 October 201532 Questions?

33 19 October 201533 Aatmesh as4xz@virginia.edu References [1] A Djemouai et al. “New Frequency Locked Loop based CMOS frequency to voltage converter: Design and Implementation” IEEE Transactions on Circuits and systme II: Analog and Digital Signal Processing. vol. 48 No-5, May 2001. [2] D. Liu et al. “A simple voltage reference circuit using transistor with ZTC point and PTAT current source” IEEE J Solid-State Circuits vol. 29 pp 663- 670, June 1994. [3] Allen E. and Holberg D. “CMOS Analog Circuit Design” Oxford University Press, New York, 2002. [4] Simone Gambini and Jan Rabaey. “Low-Power Succesive Approximation Converter with 0.5 V Supply in 90 nm CMOS” IEE Transactions of Solid-State Circuits. Vol. 42, no. 11, Nov. 2007.

34 19 October 2015Aaatmesh34 BACK UP

35 Crystal Oscillator: Design 19 October 201535 Aatmesh as4xz@virginia.edu RBIAS During start-up phase RBIAS( extremely high value) keeps the Inverter at VM. Oscillation builds up with noise. The crystal passes only the resonant frequency voltage, which gets amplifier. The amplified value gets passed through crystal which again gets amplified. This goes on till Oscillation saturates. CL

36 19 October 2015Aaatmesh36 + _ VCO F to V OUTA REF Feedback portion of the system = + _ OUT A REF Pole to replace VCO and F to V for stability analysis Configuration for open-loop ac analysis of the system. A to OUT delay = 100uS So if R=10K C=100pF We choose R=50K and C=100pF for our ac analysis

37 19 October 201537 Addressing variability: Global variation Global variation will cause the shift in the current in PTAT which can cause the temperature compensation to drift either in CTAT or PTAT direction. Start-up IBIB RB 1 1 1 M>1 MP2MP1 MN1 MN2 Vary RB through bit control to affect a good ztc point.

38 19 October 201538 Addressing variability: Local Mismatch Local mismatch can cause an offset which can cause frequency of VCO to be different from Clock. FV1 FV2 If we bit control the current source of FV2, we can set f(Clock)=f(VCO).

39 19 October 201539 Solution for high frequency clocks In order to get higher frequency output divide the VCO output by K just like a PLL. This would have very little impact on over all power consumption of the system.


Download ppt "19 October 20151 A Stable System Clock Generator Using Reference Clock Sampling Aatmesh Shrivastava Robust Low Power VLSI Group University of Virginia."

Similar presentations


Ads by Google