摘要
DSP在国内的应用已经越来越广泛 ,DSP是哈佛结构 ,硬件功能比冯·诺依曼结构的单片机强大 ,在 DSP上进行交流采样的数据计算时 ,采用传统的算法已不能充分发挥 DSP的优势。本文以 ADSP2 1xx系列 DSP为基础 ,提出了在电力系统交流采样计算中 ,适合于在 DSP上运行的新的开平方算法。该方法程序非常简洁易懂 ,避免了耗时的除法运算 ,不需要进行数据的规格化和非规格化处理 ,速度快 ,精度高 ,容易根据实际情况灵活控制计算时间。同时还提出了一种适合于 DSP上运行的快速位翻转计算方法。
DSPs have been more and more widely used in China. With the Harvard structure, DSP is much more powerful than the MCU with Von Neumann structure. The traditional computing method is no longer able to take advantage of DSPs when we do computation of AC sampling with DSPs. This paper brings forward a new square root computation used on the DSPs in the AC sampling computing of power system based on the ADSP21xx series DSps. This computation is rapid and highly precise because it has avoided the time-consuming division operation and does not need to normalize and denormalize the data. In addition, it is very easy to be understanded and it can be neatly controlled to save computing time. Besides, this paper also brings forward a bitreversal computation that can run fast on DSPs.
出处
《电气电子教学学报》
2003年第5期30-33,共4页
Journal of Electrical and Electronic Education