摘要
采用STC15F2K60S2单片机控制具有I2 C总线结构的PCF8591数模转换器,产生正弦波、方波和三角波3种信号波形,通过按键K1切换波形,K2实现频率的增大,K3调节频率的减小,最终输出幅值为5V可调频率的所需波形,并在液晶显示不同波形的波形名称和频率。同时,用Proteus软件对波形发生器进行仿真模拟,实验结果表明,仿真与实际制作电路的结果基本一致。该波形发生器操作方便,运行稳定可靠,输出波形可以满足教学和电子测量的要求。
With I2 C bus structure,PCF8591Digital-to-analog converters controlled by STC15F2K60S2 single chip microcomputer,generating sine wave,square wave and triangular wave.Through switch K1,it could change waveform.It could also increase and decrease of the frequency with switch K2 and K3.Finally,it outputs 5Vadjustable frequency,and the frequencies and names could reveal on liquid crystal display in different waveforms.And,by using software of Proteus to simulate waveform generator,it find that actual production circuit are basically identical.This kind of waveform generator is easy to handle,which operation is stable and reliable and its output waveform can meet the requirements of teaching and the electronic measurement.
出处
《国外电子测量技术》
2017年第7期98-102,共5页
Foreign Electronic Measurement Technology