基于STM32 PWM的正弦信号发生器设计  被引量:16

Design of sine-wave PWM signal generator based on STM32

在线阅读下载全文

作  者:洪俊峰[1] 卜文强 张榕鑫 程恩[1] 袁飞[1] 

机构地区:[1]厦门大学水声通信与海洋信息技术教育部重点实验室,福建厦门361005

出  处:《合肥工业大学学报(自然科学版)》2014年第2期188-191,224,共5页Journal of Hefei University of Technology:Natural Science

基  金:国家自然科学基金资助项目(61001142)

摘  要:文章阐述了基于STM32应用PWM方式产生幅度频率可调的模拟正弦波的一种方法。原理是在产生某一频率信号时,让采样脉冲的周期保持不变,在每个采样周期内改变1次占空比,改变的规律按正弦表变化,这样输出的信号经过滤波电路滤掉高次谐波以后就变换成相应的正弦波。设计经可编程芯片实现功能,实验结果表明设计系统的输出信号具有以下特点:稳定性和平滑性都很好,且相应的参数调节方便;这种信号产生方式与传统的信号相比具有较高的频率分辨率,且易于实现频率相位幅度的数控调制。相比于DDS技术,PWM方式的主要优点是从处理器到被控系统信号都是数字形式的,无需进行数模转换,能进一步提高信号的抗干扰能力,可广泛应用在测量、通信及功率控制与变换等领域中。A method of producing a frequency adjustable sine wave by pulse-width modulation (PWM ) based on STM32 is described .The principle is that in the production of a frequency signal , the sampling pulse cycle remains unchanged ,and the duty ratio is changed once in each sampling peri-od according to the sine table ,then the output signal filtering out higher harmonic through filter cir-cuit is transformed into the corresponding sine wave .This design realizes its function through the pro-grammable chip .The test results show that the output signal of the design system has the following features :it is smooth with good stability ,the corresponding parameters adjustment is convenient ,this way of signal generating has higher frequency resolution compared to traditional method ,and it is easy to realize the digital modulation of frequency phase and amplitude .Compared to the DDS technique , the major advantage of the PWM way is that this way from the processor to the controlled system sig-nal is in digital form without the digital-analog conversion .It can further improve the anti-interference ability of signal ,and can be widely used in many areas of measurement ,communication and power control and conversion .

关 键 词:脉冲调制(PWM) 正弦信号 数字形式 pulse-width modulation(PWM ) 

分 类 号:TN914.1[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象