期刊文献+

多功能函数信号发生器设计 被引量:2

Design of the Multi-Functional Signal Generator
在线阅读 下载PDF
导出
摘要 目前市场上的信号发生器产生的波形种类较少,主要有方波、正弦波、锯齿波,且信号发生器价格昂贵,而试验室等多种场合可能需要用到更复杂的波形来作为模拟试验的输入。针对该问题,设计了基于STM32的函数信号发生器。该信号发生器采用D/A转换,通过软件来实现对信号的类型、频率、电压等的控制。信号发生器以STM32作为控制核心,外部接入键盘,通过键盘的输入来实现对波形和频率的快速改变;利用函数库math.h,不仅能输出使用较多的正弦波、方波、锯齿波、三角波,还能输出指数函数、对数函数等任意函数的模拟信号,也可以产生频率、电压随时间变化的波形。试验表明:该信号发生器设计简单,能够实现对信号的波形、频率等的灵活控制,系统稳定可靠,输出信号失真小。该发生器具有低成本、低功耗的特点,能够应用在试验室等场合中。 At present,the commercial available signal generators only provide a few types of waveforms,mainly including square wave,sine wave and sawtooth wave,and these generators are expensive,while in laboratory and various other occasions,more complex waveforms may be necessary to be used as inputs in simulation experiments.Aiming at these problems,a function signal generator based on STM32has been designed.In this signal generator,D/A conversion is used,and the control of signal type,frequency,voltage is achieved by software.With STM32as the control core,the signal generator connects the keyboard externally to achieve therapid changes of wave shape and frequency through its input;by adopting math.h function library,besides the waveforms used frequently,such as sine wave,square wave,sawtooth wave,and triangular wave,this signal generator also outputs the analog signals of exponential function,logarithmic function and other functions as well as the waveforms which frequency and voltage are changing along with time.Experiments show that the signal generator is simple in design;it achieves the flexible control for signal waveform,frequency and etc.;the system is stable and reliable;the distortion of the output signal is small.The generator is low cost and low power consumption.This function signal generator can be applied in laboratory and other occasions.
作者 王珊 王利 王国帅 杨敏 马振兴 WANG Shan;WANG Li;WANG Guoshuai;YANG Min;MA Zhenxing(School of Mechanical Engineering,North University of China,Taiyuan 030051,China)
出处 《自动化仪表》 CAS 2017年第11期99-102,共4页 Process Automation Instrumentation
基金 中北大学研究生科技立项基金资助项目(20161302)
关键词 STM32 D/A转换 信号发生器 math.h库 正弦函数 指数函数 对数函数 双曲余弦函数 STM32 D/A conversion Signal generator Math.h library Sine function Exponential function Logarithmic function Hyperbolic cosine function
  • 相关文献

参考文献11

二级参考文献75

共引文献64

同被引文献16

引证文献2

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部