AD-DA (v.5b).ppt
《AD-DA (v.5b).ppt》由会员分享,可在线阅读,更多相关《AD-DA (v.5b).ppt(49页珍藏版)》请在麦多课文档分享上搜索。
1、AD/DA (v.5b),1,CENG4480_A3 Analog/Digital Conversions,Analog to Digital (AD), Digital to Analog (DA) conversion,AD/DA (v.5b),2,Analog/digital conversions,Topics Digital to analog conversion Analog to digital conversion Sampling-speed limitation Frequency aliasing Practical ADCs of different speed,AD
2、/DA (v.5b),3,Digital to Analogue Conversion,DAC,AD/DA (v.5b),4,NMAX (bit length) DAC,Input code n (NMAX bit Binary code) 0110001 0100010 0100100 0101011 : :,Output voltage = Vout(n),V+ref ( High Reference Voltage),V-ref (Low Reference Voltage),Digital to analog converter (DAC),AD/DA (v.5b),5,DAC: ba
3、sic equation,At n=0, Vout(0) = V-refAt max. n_max= 2NMAX -1, (E.g. NMAX=8, n_max=28-1=255) Vout cannot reach V+ref , E.g. NMAX=8, n=0, 1, 2, 255. Some DACs have internal reference voltage settings, some can be set externally.,Code (n),Exercise 3.1,Answer the questions for a 10-bit DAC. How many digi
4、tized level can you use? If V+ref=10V, V-ref=0V, calculate the code to make the output to be around 3 Volts. What is the maximum voltage you can obtain?,AD/DA (v.5b),6,Student ID: _ Name: _ Date:_ (Submit this to the tutor at the end of the lecture.),AD/DA (v.5b),7,DAC: characteristics,Glitch: A tra
5、nsient spike in the output of a DAC that occurs when more than one bit changes in the input code. Use a low pass filter to reduce the glitch Use sample and hold circuit to reduce the glitch Settling time: Time for the output to settle to typically 1/4 LSB after a change in DA output.,AD/DA (v.5b),8,
6、Two DAC implementations,Type 1: Weighted Adder DAC Easy to design, use many different Resistor values so it is difficult to manufacture. Type 2: R-2R Resistive-Ladder DAC Use only two R and 2R resistor values, easy to manufacture.,AD/DA (v.5b),9,Type 1: Weighted Adder DAC (E.g. N=8),Virtual earth V-
7、ref,i=8, 28-8 R = Ri=7, 28-7 R = 2R : :i=3, 28-3 R = 25R i=2, 28-2 R = 26Ri=1, 28-1 R = 27R,Resistor=2(N-i)*R,Ii=8 =28-1 *I1=27 * I1,I=Ii=1=Current= (Vref -V-ref)/(28-1R)=(1/28-1)(Vref -V-ref)/R,Ii=1,Ii=8,Resistor,AD/DA (v.5b),10,When ith bit (e.g. N=8, i=7 , N-i=1) = 1 ith analog switch (FET transi
8、stor) is turned on Ii then flows thru. Resistor 2N-iR,Weighted Adder DAC (Contd),AD/DA (v.5b),11,When n has only one bit turned-on,input side,feedback side,Weighted Adder DAC (Contd),AD/DA (v.5b),12,E.g. a 4-bit DAC, N=4. Input code=0101=n=n3+n1 (two bits are on)=binary0100+binary0001,When n has mul
9、tiple on-bits,Weighted Adder DAC (Contd),* difficult to make because it require a wide range of different precise resistors Rs,bit3 is on,bit1 is on,bit1,bit3,Exercise 3.2,For Weighted Adder DAC, V+ref=10V, V-ref=0V , R=1K calculate the current I and V0 when the input is I V0 Bit7,Bit0 0000 0000=_ 0
10、000 0001=_ 1010 1010=_ 1111 1111=_,AD/DA (v.5b),13,AD/DA (v.5b),14,Practical resistor network DAC and audio amplifier (not perfect but ok) Set R=2K,Because ideal resistors are difficult to find in the market,AD/DA (v.5b),15,Type 2: R-2R Resistive-Ladder DAC,Vertical current,AD/DA (v.5b),16,Required
11、only R the other goes to the op-amp negative-feedback point Where Since inputs V+ V- of the opamp inputs are the same , the vertical current will not be changed by input code n,DAC type2: R-2-R resistor-ladder,Exercise 3.3,For R-2-R resistor-ladder DAC, V+ref=10V, V-ref=0V , R=1K calculate the curre
12、nt I1 and V0 when the input is I1 V0 Bit7,Bit0 0000 0000=_0 0_ 0000 0001=_ 1010 1010=_ 1111 1111=_,AD/DA (v.5b),17,AD/DA (v.5b),18,Analog to Digital Conversion,ADC,AD/DA (v.5b),19,Analog to Digital Conversion ADC,N (MAX) bit ADC,output code = n 0110001 0100010 0100100 0101011 : : :,Input voltage = V
13、),V+ref,V-ref,AD/DA (v.5b),20,ADC Major characteristics,n=converted code, V=input voltage, The linearity measures how well the transition voltages lie on a straight line. The differential linearity measures the equality of the step size. Conversion time:between start convert and result generated Con
14、version rate=inverse of conversion time,AD/DA (v.5b),21,Analog to digital converter example,Convert an analog level to digital output From 1, e.g. V-ref=0V, V=10mV.,AD/DA (v.5b),22,ADC Type 1: Integrating or dual slope,Accumulate the input current on a capacitor for a fixed time and then measure the
15、 time (T) to discharge the capacitor at a fixed discharge rate. 1) S1-V1:Integrate the input on the cap. For N clock ticks 2) S1- -Vref: restart clock (S2-counter) discharge C at know rate(governed by -Vref and R) 3) When the cap. is discharged to 0 voltage, the comparator will stop the counter.,pro
16、blem -very slow,AD/DA (v.5b),23,Integrating dual slope ADC: Simplified Diagram,Discharge time for stopping counter by S2 depends on RC and Q,AD/DA (v.5b),24,Type 2: Tracking ADC,The ADC repeatedly compares its input with DAC outputs. Up/down count depends on input/DAC output comparison.,Main problem
17、 also slow,AD/DA (v.5b),25,Type 3 ADC : successive approximation,Faster, use binary search to determine the output bits.,problem still slow although faster than types 1 & 2,AD/DA (v.5b),26,Flow chart of Successive-approximation ADC,Exercise 3.4 Successive-approximation ADC,How many times it goes thr
18、ough inner loop (analog input DA output is yes) if the output is expected to be the following? Bit7,Bit0 0000 0000=_ 0000 0001=_ 1010 1010=_ 1111 1111=_,AD/DA (v.5b),27,AD/DA (v.5b),28,Type 4 ADC : Flash ADC (very fast),Divide the voltage range into 2N-1 levels; use 2N-1 comparators to determine wha
19、t the voltage level is Use a 2N-1 input to N bit priority decoder to work out the binary number,AD/DA (v.5b),29,Diagram of a flash ADC 1,AD/DA (v.5b),30,Type 4 ADC : Flash ADC (contd),Very fast for high quality audio and video. Very expensive for wide bits conversion. Sample and hold circuit usually
20、 NOT required. The number of comparators needed is 2N-1 which grows rapidly with the number of bits E.g. for 4-bit, 15 comparators; for 6-bit, 63 comparators.,AD/DA (v.5b),31,Type 5 ADC : subranging Flash ADC,Compromise; medium speed Pure Flash ADC is very expensive for large number of bits. Subrang
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ADDAV5BPPT
