首页> 中文期刊> 《自动化仪表》 >多功能函数信号发生器设计

多功能函数信号发生器设计

         

摘要

目前市场上的信号发生器产生的波形种类较少,主要有方波、正弦波、锯齿波,且信号发生器价格昂贵,而试验室等多种场合可能需要用到更复杂的波形来作为模拟试验的输入.针对该问题,设计了基于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 STM32 has been designed. In this signal generator,D/A conversion is used, and the control of signal type, frequency, voltage is achieved by software. With STM32 as 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.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号