摘要
主要介绍以AT89C51单片机为核心部件的低频信号发生器的设计方法及工作原理。系统采用单片机扩展外部存储器和DAC接口技术,简化了仪器硬件设计。通过波形选择电路读取波形信号经离散化处理之后的波代码,并通过D/A转换,还原成所需要的波形。通过改变存储器输出波代码的速度来调节输出信号的频率,改变放大器的放大倍数来调节输出信号的幅值。此外还讨论了波形离散化处理方法及数据采样点数与存储容量的关系,并给出了系统结构图和软件框图。
The design approach and working principle of a low-frequency signal generator based on AT89C51 are intro-duced. The hardware design was simplified by using external memory extended with SCM and DAC interface technology. The wave code after discretization processing of waveform signal is read out though a waveform selection circuit,and reverted to the needed waveform by the D/A converter. The output signal frequency is adjusted by changing the wave code output speed of the memory. The amplitude is adjusted by changing the magnification of the amplifier. The waveform discretization processing method, and the relation between data sampling number and storage capacity are discussed. The system structure chart and software flow chart are given.
出处
《现代电子技术》
2014年第16期14-17,共4页
Modern Electronics Technique
基金
春晖计划(Z2012090)
关键词
低频信号
数据离散化
幅值
典型信号
low-frequency signal
data discretization
amplitude
typical signal