Journal of Systems Engineering and Electronics ›› 2012, Vol. 34 ›› Issue (2): 249-252.doi: 10.3969/j.issn.1001-506X.2012.02.06

• 电子技术 • 上一篇    下一篇

基于压缩查找表的高精度正弦信号生成算法

罗海坤, 王永庆, 吴嗣亮   

  1. 北京理工大学信息与电子学院, 北京 100081
  • 出版日期:2012-02-15 发布日期:2010-01-03

High-precision sine signal generation based on compressed look-up table

LUO Haikun, WANG Yongqing, WU Siliang   

  1. School of Information and Electronics, Beijing Institute of Technology, Beijing 100081, China
  • Online:2012-02-15 Published:2010-01-03

摘要:

使用直接数字频率综合(direct digital synthesizer, DDS)技术生成正弦信号时,幅度精度与查找表容量两个条件相互制约,由于容量限制,高精度需要的超大容量查找表在实际中往往无法实现。针对该问题,提出了一种基于压缩查找表的高精度正弦信号生成算法。首先,推导了DDS输出信号精度与查找表容量的关系,为查找表的设计提供了理论依据。然后,依据精度需求构造了一种高效的压缩查找表,给出了查找表容量与压缩比的关系。最后,给出了算法的实现流程,通过仿真验证了信号精度及压缩比,信号幅度为106,精度为10-5时,压缩比达到107倍。

Abstract:

When using direct digital synthesizer (DDS) technology to generate sine signals, the amplitude precision and the look-up table scale restrict each other; a largescale look-up table for high precision output is often impractical owing to the limitation of capacity. To this problem, a high-precision sine signal generation algorithm based on compressed look-up table is proposed. Firstly, an analysis is given between the relationship of the DDS precision and the look-up table scale, which provides theoretical rules for the design of the look-up table. Then, an efficient compressed look-up table is constructed according to the requirement of precision, the relationship between look-up table scale and compression ratio is given. Finally, the implementation of the algorithm is presented, signal precision and compression ratio are confirmed through simulation, for a signal with an amplitude of 106 and a precision of 10-5, the compression ratio of 107 is obtained.