合肥工业大学学报(自然科学版)
閤肥工業大學學報(自然科學版)
합비공업대학학보(자연과학판)
JOURNAL OF HEFEI UNIVERSITY OF TECHNOLOGY(NATURAL SCIENCE)
2014年
2期
188-191,224
,共5页
洪俊峰%卜文强%张榕鑫%程恩%袁飞
洪俊峰%蔔文彊%張榕鑫%程恩%袁飛
홍준봉%복문강%장용흠%정은%원비
脉冲调制(PWM)%正弦信号%数字形式
脈遲調製(PWM)%正絃信號%數字形式
맥충조제(PWM)%정현신호%수자형식
pulse-width modulation(PWM )%sinusoidal signal%digital form
文章阐述了基于STM32应用PWM 方式产生幅度频率可调的模拟正弦波的一种方法。原理是在产生某一频率信号时,让采样脉冲的周期保持不变,在每个采样周期内改变1次占空比,改变的规律按正弦表变化,这样输出的信号经过滤波电路滤掉高次谐波以后就变换成相应的正弦波。设计经可编程芯片实现功能,实验结果表明设计系统的输出信号具有以下特点:稳定性和平滑性都很好,且相应的参数调节方便;这种信号产生方式与传统的信号相比具有较高的频率分辨率,且易于实现频率相位幅度的数控调制。相比于DDS技术,PWM方式的主要优点是从处理器到被控系统信号都是数字形式的,无需进行数模转换,能进一步提高信号的抗干扰能力,可广泛应用在测量、通信及功率控制与变换等领域中。
文章闡述瞭基于STM32應用PWM 方式產生幅度頻率可調的模擬正絃波的一種方法。原理是在產生某一頻率信號時,讓採樣脈遲的週期保持不變,在每箇採樣週期內改變1次佔空比,改變的規律按正絃錶變化,這樣輸齣的信號經過濾波電路濾掉高次諧波以後就變換成相應的正絃波。設計經可編程芯片實現功能,實驗結果錶明設計繫統的輸齣信號具有以下特點:穩定性和平滑性都很好,且相應的參數調節方便;這種信號產生方式與傳統的信號相比具有較高的頻率分辨率,且易于實現頻率相位幅度的數控調製。相比于DDS技術,PWM方式的主要優點是從處理器到被控繫統信號都是數字形式的,無需進行數模轉換,能進一步提高信號的抗榦擾能力,可廣汎應用在測量、通信及功率控製與變換等領域中。
문장천술료기우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 .