摘要
论文介绍一种通过数字方式获得精准正弦波的算法,通过分析和差化积公式,预先计算需要对输出值的误差进行补偿的相应取样点的位置和相邻取样点的间隔,并在编程时在每个采样点的位置对正弦波的输出值进行误差校正。进而获得更精确的正弦波。该算法已在Altera公司的CYCLONEIV系列芯片Ep4CE15F7C8上完成了实现,采用VerilogHDL语言进行编程。该算法结构清晰简明,不需要调用乘法器,消耗更少的资源,生成波形较平滑,可被用作完整载波在一般通信系统中进行使用,也可应用在仪器仪表及工控等领域,合成较复杂的波形。
This paper introduces an algorithm to get the accurate sine wave by digital method. By analyzing and calculating the product formula,the position of the corresponding sampling point and the interval of the adjacent sampling point which need to compensate the error of the output value are caculated. The output value of the sine wave is subjected to error correction at the position of each sample point,thereby obtaining a more accurate sine wave. The algorithm has been implemented on the CYCLONEIV series chip Ep4CE15F7C8 of Altera Corporation,and is programmed with Verilog HDL. The algorithm has a clear and concise structure,does not need to call the multiplier,consumes less resources,generates a smoother waveform,can be used as a complete carrier in the general communication system,can also be used in instrumentation and industrial control.
出处
《舰船电子工程》
2017年第6期134-137,共4页
Ship Electronic Engineering