450 likes | 762 Views
The Art and Science of VLSI Chip Design: Bridging the Analog(ue) and Digital Worlds. Dr. Subhajit Sen DA-IICT, Gandhinagar. The “Digital Divide”. Analog(ue) or Physical Or Real World. Digital Or Computer Or Virtual World. Some statements About Analog vs. Digital.
E N D
The Art and Science of VLSI Chip Design: Bridging the Analog(ue) and Digital Worlds Dr. Subhajit Sen DA-IICT, Gandhinagar
The “Digital Divide” Analog(ue) or Physical Or Real World Digital Or Computer Or Virtual World
Some statements About Analog vs. Digital • My 3G phone sounds better than your 2G phone • A “Digital” equipment/instrument is superior to analog equipment • A “Digital” camera gives better picture quality than a film camera • Analog electronic circuits are more complex: require more components than digital ones • Analog equipments consumes more power than “digital” ones • Analog electronic circuits are harder to design than digital ones • Nobody designs analog circuits/instruments any more
The Analog vs. Digital Signal • Infinite precision in amplitude and time axes • Absolute vs. relative “one” and “zero” in a digital signal • A digital signal is often “coded” (0 second, 2 Volt) 10111 10110 10101 01101 11… (1 second, -1 Volt)
Stages of Progression from Analog to Digital • Sampling: • taking instantaneous time snapshots of changing phenomena • Quantization • Rounding off to integer or sub-integer amplitude intervals • Coding • Binary encoding, compression
v Rate = d Information Rate while Sampling d v
Minimum Sampling Rate d’ v v Minimum Sampling Rate = d’
Aliasing in continuous-time signal • Leads to information loss (or rather misinformation) • Sampled sequence: 0.6, 0.9, 0.9, …
Information rate or “Bandwidth” • Any phenomenon should be sampled at twice the bandwidth(or information rate) of the phenomenon • Sampling Rate = 2 X Bandwidth • Any information rate change higher than the bandwidth leads to “aliasing” and loss of information
Interpolation • Needed for signal reconstruction • Computation of predicted values • Circuit needed to generate interpolated time-instants
1.00 V -0.25 V 0.75 -0.5 0.5 -0.75 0.25 -1.00 0 Quantization • Inherently lossy • Needs accurate voltage reference • Typically combined with binary coding in circuits
Coding Binary encoding Inherent part of analog-digital converters/codecs 1.00 0100 -1.00 1001 0.75 0011 -0.75 1010 0.5 0010 -0.5 1011 0.25 0001 -0.25 1100 0 0000
Coding: compression More frequently used numbers or number sequences are encoded with short code words and vice-versa Analogy with text message abbreviations: “Wud b late 2nite, b4 12, 2 much wrk, lv” “AFAIK he is frm Thiruvananthapuram” Information loss
Ideal Sampling Capacitor 00110 10111 11111 10010
Clock Capacitor A Sampling Circuit
Track-and-Hold Circuit • Can use MOS transistor as switch Clock Capacitor
Anti-alias Filter T & H T & H Capacitor Sample-and-Hold circuit • Bandwidth reduction necessary to avoid aliasing • Inaccuracies: gain-error, distortion error,noise 00110 10111 11111 10010
From Analog signal to Digital Codes • Anti-alias filtering • Sample-and-Hold • Quantization/Coding Reference voltage clock ADC 10110 11011 1.. Anti-alias Filter/Amplifier Encoder Sample- And-Hold
Analog Re-construction • Decoder • Reconstruction filter Reference voltage 10110 10111… Decoder Re-construction Filter DAC Digital samples
Analog-Digital converter in VLSI chip Reference Clock Reference Voltage VLSI Chip Digital Or Computer Or Virtual World Analog or Physical Or Real World ADC Anti-alias Filter Encoder Sample- And-Hold 10110100… Digital Or Computer Or Virtual World DAC
Analog-Digital conversion “Raw” Analog Signal Low-pass (anti-alias) filtering Sampling and quantization Coding 00110 10111 11111 10010..
Clock Frequency Accuracy Analog information is preserved ONLY if the clock frequency is accurate Time period of an “on-chip” oscillator is governed by resistor/capacitor component values: R*C or L*C Very wide manufacturing variations in frequency if R and C components are INSIDE the chip: upto 40%
Reference Clock Crystal Oscillator: Electronic tuning fork Extremely accurate & stable clocks possible: fews seconds/year Eric Vittoz The Swiss connection
Reference Clock sub-division • Synchronization circuits or phase-locked-loops • Henri Bellescize • Arbitrary sub-division of clock is possible
Analog re-construction • Interpolation involves digital computations • A PLL (phase-locked-loop) can give sub-divided clock
Accuracy: Reference Voltage Sub-division • Very accurately matched components possible “on-chip” • Possible to improve precision using “calibration” 1.00 0100 0.75 0011 0.5 0010 0.25 0001 0 0000 -0.25 1100 -0.5 1011 -0.75 1010 -1.00 1001
Reference Voltage • Analog information is preserved ONLY if the reference voltage is accurate • Need an accurate “battery” on-chip • Use physical property of silicon: • Band-gap of silicon is 1.1 electron Volt at 0 degree Kelvin • Possible to design “on-chip” circuits to extract this voltage Bandgap=1.1 eV Conduction Band Valence Band
Analog De-mystified(Complexity) • A digital floating-point multiplier • An analog multiplier
Analog De-mystified(Complexity) “Digital” Radio Analog FM radio With antenna
Analog De-mystified (Why Analog chip design is Hard) • Digital Scaling: supply voltage going down • Noise is a indispensable part of analog circuits • Signal to Noise ratio reduces 5V supply more headroom less 1V supply Modern VLSI Systems Old Analog Systems
Analog De-mystified (Why Analog chip design is Hard) • Digital Scaling: supply voltage going down • Transistor non-linearity governed by voltage head-room • Lesser the head-room more the distortion • Signal to distortion ratio decreases 5V supply 1V supply Modern VLSI Systems Old Analog Systems
Chip Design at DA-IICT • A sample-and-Hold circuit with a back-end “sigma-delta” ADC designed and fabricated • 180nm CMOS • 2 iterations: • first version had a bug • Second has been tested for functionality • Testing issues
Conclusion:Is Digital Really Better Than Analog • Not always. Any signal transformation to digital domain always involves information loss due to aliasing, quantization and coding. If the signal source characteristics are not well known or power consumption is an issue use analog signal processing. • However, once analog signals are converted to digital domain they can be stored and transmitted without much degradation i.e. digital circuits are much more robust against noise and distortion when stored or transmitted.
The Art and Science of VLSI Chip Design: Bridging the Analog and Digital Worlds Modern VLSI chip based computers become interesting only when interfaced with the analog real world of continuous-time signals using analog signal- processing circuits that convert from continuous-time signals to coded bits. This talk will explain the methods (algorithms) and circuit techniques of this conversion based upon the sound principles of information-theoretic principles of sampling,aliasing, quantization and coding. It will also be explained how a crystal-oscillator attached to the chip pins and the silicon “band-gap” voltage reference inside the chip play a crucial role in preserving the accuracy of analog information inside a VLSI chip. The talk also explains the relative merits of analog and digital processing of real world signals. The talk then attempts to answer the critical question: given the increasing cost and complexity of chip design how much of digital processing is really necessary in electronic gadgets and instruments that sense, process, store and transmit real world analog signals.
Importance of Sinusoids • Fourier (spectrum) analysis • Analog Circuit distortion is detectable
Over-sampling and decimation • To reduce aliasing we may sample at a rate higher than twice the signal bandwidth • Can reduce the sample rate at any later stage by discarding samples (decimation) • Need to reduce information rate using an anti-alias filter
Coding: crytography Key Loss of key leads to loss of entire message “PvUmQ” “cAokadfofadsfxcliy” Computer “I won one crore lottery”