数字信号处理a(双语)补充课件lectu.ppt
《数字信号处理a(双语)补充课件lectu.ppt》由会员分享,可在线阅读,更多相关《数字信号处理a(双语)补充课件lectu.ppt(45页珍藏版)》请在三一办公上搜索。
1、Chapter 12,Analysis of Finite Wordlength Effects,Introduction,Ideally,the system parameters along with the signal variables have infinite precision taking any value between-and In practice,they can take only discrete values within a specified range since the registers of the digital machine where th
2、ey are stored are of finite lengthThe discretization process results in nonlinear difference equations characterizing the discrete-time systems,Introduction,These nonlinear equations,in principle,are almost impossible to analyze and deal with exactlyHowever,if the quantization amounts are small comp
3、ared to the values of signal variables and filter parameters,a simpler approximate theory based on a statistical model can be applied,Introduction,Using the statistical model,it is possible to derive the effects of discretization and develop results that can be verified experimentallySources of erro
4、rs-(1)A/D conversion(2)Filter coefficient quantization(3)Quantization of arithmetic operations,Introduction,A/D Conversion Error-generated by the filter input quantization processIf the input sequence xn has been obtained by sampling an analog signal xa(t),then the actual input to the digital filter
5、 is,where en is the A/D conversion error,Introduction,Filter coefficient quantizationConsider the first-order IIR digital filter yn=yn-1+xnwhere yn is the output signal and xn is the input signal,Introduction,The desired transfer function is,which may be much different from the desired transfer func
6、tion H(z),The actual transfer function implemented is,Introduction,Thus,the actual frequency response may be quite different from the desired frequency responseCoefficient quantization problem is similar to the sensitivity problem encountered in analog filter implementation,Introduction,Arithmetic Q
7、uantization Error-For the first-order digital filter,the desired output of the multiplier is,where en is the product roundoff error,Due to product quantization,the actual output of the multiplier of the implemented filter is,Two basic types of binary representations of data:(1)Fixed-point,(2)Floatin
8、g-point formatsArithmetic operations involving the binary dataFinite wordlength limitations of the registers storing the data and the results of arithmetic operations,12.1Quantization Process and Error,For example in fixed-point arithmetic,product of two b-bit numbers is 2b bits long,which has to be
9、 quantized to b bits to fit the prescribed wordlength of the registersIn fixed-point arithmetic,addition operation can result in a sum exceeding the register wordlength,causing an overflowIn floating-point arithmetic,there is no overflow,but results of both addition and multiplication may have to be
10、 quantized,12.1Quantization Process and Error,定点数的表示分为三种(原码、反码、补码):设有一个(b+1)位码定点数:0 1 2 b,则 原码表示为 例:1.111-0.875,0.0100.25,反码表示:(正数同原码,负数则将原码中的尾数按位求反)例:-0.875 1.000,0.25 0.010,补码表示(正数同原码,负数则将原码中的尾数求反加1)例:-0.875 1.001,0.25 0.010,12.1Quantization Process and Error,Analysis of various quantization effec
11、ts on the performance of a digital filter depends on(1)Data format(fixed-or floating-point),(2)Type of representation numbers(3)Type of quantization,and(4)Digital filter structure implementing the transfer function,Since the number of all possible combinations of the type of arithmetic,type of quant
12、ization method,and digital filter structure is very large,quantization effects in some selected practical cases are discussedAnalysis presented can be extended easily to other cases,12.1Quantization Process and Error,In DSP applications,it is a common practice to represent the data either as a fixed
13、-point fraction or as a floating-point binary number with the mantissa as a binary fractionAssume the available word length is(b+1)bits with the most significant bit(MSB)representing the signConsider the data to be a(b+1)-bit fixed-point fraction,12.1Quantization Process and Error,Representation of
14、a general(b+1)-bit fixed-point fraction is shown below,Smallest positive number that can be represented in this format will have a least significant bit(LSB)of 1 with remaining bits being all 0s,12.1Quantization Process and Error,Decimal equivalent of smallest positive number is=2-bNumbers represent
15、ed with(b+1)bits are thus quantized in steps of 2-b,called quantization stepAn original data x is converted into a(b+1)-bit fraction Q(x)either by truncation or rounding,12.1Quantization Process and Error,The quantization process for truncation or rounding can be modeled as shown below,12.1Quantizat
16、ion Process and Error,t xT-x=Q(x)-x,Since representation of a positive binary fraction is the same independent of format being used to represent the negative binary fraction,effect of quantization of a positive fraction remains unchangedThe effect of quantization on negative fractions is different f
17、or the three different representations,12.1Quantization Process and Error,12.2 Quantization of Fixed-Point Numbers,Truncation of a(b+1)-bit fixed-point number to(b+1)bits is achieved by simply discarding the least significant bits as shown below,12.2 Quantization of Fixed-Point Numbers,21,-t 0,1、Tru
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 数字信号 处理 双语 补充 课件 lectu
链接地址:https://www.31ppt.com/p-5984532.html