多通道音频信号处理(DTMFdecoders).ppt

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
多通道音频信号处理(DTMFdecoders).ppt

多通道音頻信號處理 (DTMF decoders) 主題架構 數位振盪器(Digital Oscillators) Goertzel’s algorithm (演算法) Interrupt(中斷)之資料結構與應用 數位振盪器原理推導 Digital Oscillators(數位振盪器) Digital Sinusoidal Oscillators :? H(z) = [b0*z^(-1)]/[1+a1*z^(-1)+a2*z^(-2)] -----(1) where b0 = Asin(w0) a1 = -2*cos(w0) a2 = 1 w0= 2πfi/fs ;fs:sampling frequency ? H(z) = [Asin(w0)*z^(-1)]/[1-2*cos(w0)*z^(-1)+z^(-2)] ? P1,2 = [cos(w0)+j sin(w0)],[cos(w0)-j sin(w0)] = 1∠w0 探討Digital Oscillators 與 DTMF decoders Goertzel’s algorithm (演算法) 解析運用在DTMF的Goertzel’s algorithm The DTMF frequency is transformed to a discrete fourier transform (DFT) coefficient. The relationship between the DTMF frequency (fi) and the DFT coefficient (k) is : k = N×fi/fs where fs = Sampling frequency N = Filter length For each k, the state variable, Vk(n) is: Vk(n) = 2×cos(2×π×k/N)×Vk(n-1)-Vk(n-2)+X(n) where n = 0,1,---,N Thereafter, the output, Y(n,k,N) is: Y(n,k,N) = Vk(N)- exp(-j2×π×k/N) ×Vk(N-1) Goertzel’s algorithm與DTMF之能量 轉換 The DTMF frequency at which the incoming signal has maximum energy is the detected frequency. This energy calculation is : 經Goertzel’s algorithm運算後的頻譜 |Y(n,k,N)|^2 = Vk(N)^2+Vk(N-1)^2 –2*cos(2πk/N)* Vk(N)^2*Vk(N-1)^2 系統流程圖 系統流程圖(續) Same as Last Digit System Implementation INT2 ISR ,turn on IMR Recv int Interrupt Set up the ISR vector .sect vectors b Main b Int1 ;02 INT1 interrupt b Int2 ;04 INT2 interrupt(Frame 0) b Int3 ;06 INT3 interrupt .space 2 * 16 ;08 TINT interrupt? Rint: b RecvInt ;0A Serial port receive interrupt RI XInt: b TransInt ;0C Serial port transmit interrupt X TRnt: b TRecvInt ;0E TDM receive interrupt TXnt: b TTransInt ;10 TDM transmit interrupt .space 18 *

文档评论(0)

170****0532 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8015033021000003

1亿VIP精品文档

相关文档