毕业论文单片机控制多路数据采集系统摘 要本设计主要完成了基于 AT89S51 单片机控制的数据采集系统的硬件电路设计以及相应的软件设计。本系统的硬件设计主要包括:多路转换开关及前置放大电路的设计,采样保持电路的设计,模数转换电路的设计,数模转换电路的设计。多路转换开关及前置放大电路的设计中重点介绍了多路开关的选择、AD521 放大倍数的计算以及多路开关 CD4051和放大器 AD521 硬件连接电路。采样保持电路的设计中重点介绍了采样保持电路的原理和主要参数以及采样保持器的选择和连接电路。模数转换电路的设计中重点介绍了系统 A/D 通道的选择和 A/D 转换器的各项误差分析以及 A/D 转换器 AD574 的介绍、输入方式和连接电路。数模转换电路的设计中重点介绍了 D/A 通道的选择,D/A 转换器的选择以及 D/A 转换器 DAC0832 的介绍、连接电路和 DAC0832 的输出方式。硬件设计中还介绍了单片机的选择,单片机 AT89S51 的时钟电路和复位电路。本系统的软件设计主要包括编译器的选择,各部分的流程图以及程序的设计。本设计中还分析了系统的性能及误差。本设计基本上实现了对多路数据采集的设计,但是由于时间紧凑以及自己的知识水平有限等原因,没有对所设计的整个系统进行调试及仿真,因而也就没能做出实物出来;同时可能有很多问题还没有发现,希望老师和同学给予指出。关键词: 数据采集;AT89S51 单片机;CD4051;DAC0832ABSTRACTCompleted the design of the main AT89S51 Microcontroller based data acquisition system hardware design and the corresponding software design. The hardware design of the system include: multi-switch and preamplifier circuit design, sample and hold circuit, ADC circuit design, digital to analog conversion circuit. Multi-switch and preamplifier circuit design highlights the choice of multi-way switch, AD521, and the calculation of the magnification CD4051 MUX hardware connection circuit and amplifier AD521. Sample and hold circuit design focuses on the principles of sample and hold circuit and the main parameters and sample and hold circuit for the selection and connection. Analog-digital conversion circuits focus...