联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All DSP编程(202) 
按平台查找All Asm(202) 

[DSP编程] traffic_lights

本系统采用MSC-51系列单片机ATSC51和可编程并行I/O接口芯片8255A为中心器件来设计交通灯控制器,实现了能根据实际车流量通过8051芯片的P1口设置红、绿灯燃亮时间的功能;红绿灯循环点亮,倒计时剩5秒时黄灯闪烁警示(交通灯信号通过PA口输出,显示时间直接通过8255的PC口输出至双位数码管);车辆闯红灯报警;绿灯时间可检测车流量并可通过双位数码管显示。
The system uses MSC-51 series single-chip ATSC51 and programmable parallel I/O interface chip 8255A-centric device designed to control traffic lights, can be achieved in accordance with the actual traffic flow through the P1 port 8051 chip set red, green fuel Liang function of time traffic light cycle, the countdown five seconds left when the yellow light flashing warning (traffic lights through the PA output signal indicates the time directly through the PC port output 8255 to double-digits) vehicle alarm闯红灯 green time traffic flow can be detected through a double-digital display. (2009-05-19, Asm, 4KB, 下载9次)

http://www.pudn.com/Download/item/id/766595.html

[DSP编程] TI 54x fft

DSP编程代码,FFT算法,经典!! FFT实验 一、 理论: 公式(1)FFT运算公式 FFT并不是一种新的变换,它是离散傅立叶变换(DFT)的一种快速算法。由于我们在计算DFT时一次复数乘法需用四次实数乘法和二次实数加法;一次复数加法则需二次实数加法。每运算一个X(k)需要4N次复数乘法及2N+2(N-1)=2(2N-1)次实数加法。所以整个DFT运算总共需要4N^2次实数乘法和N*2(2N-1)=2N(2N-1)次实数加法。如此一来,计算时乘法次数和加法次数都是和N^2成正比的,当N很大时,运算量是可观的,因而需要改进对DFT的算法减少运算速度。 根据傅立叶变换的对称性和周期性,我们可以将DFT运算中有些项合并。 我们先设序列长度为N=2^L,L为整数。将N=2^L的序列x(n)(n=0,1,……,N-1),按N的奇偶分成两组,也就是说我们将一个N点的DFT分解成两个N/2点的DFT,他们又从新组合成一个如下式所表达的N点DFT: 一般来说,输入被假定为连续、合成的。当输入为纯粹的实数的时候,我们就可以利用左右对称的特性更好的计算DFT。 我们称这样的RFFT优化算法是包装算法:首先2N点实数的连续输入称为“进包”。其次N点的FFT被连续被运行。最后作为结果产生的N点的合成输出是?
DSP programming code, the FFT algorithm, classic! ! FFT an experimental and theoretical : formula (1) FFT formula FFT is not a new transformation, it is the discrete Fourier transform (DFT), a fast algorithm. As in the calculation of DFT at the complex multiplication required a four real multiplication and secondary real Adder; Adder required a complex real Adder II. Each Operational an X (k) needs time 4N complex multiplication and 2N 2 (N-1) = 2 (2N-1) Real Adder. Therefore, the whole operation would need a total DFT 4N ^ 2 times the actual amount of multiplication and N* 2 (2N-1) = 2N (2N-1 ) times the actual amount of additive. So, when calculating the number of multiplication and addition are the number and proportion of N ^ 2, when the big N, Operational capacity is substantial and (2006-01-02, Asm, 429KB, 下载530次)

http://www.pudn.com/Download/item/id/137839.html
总计:202