ata 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 focused on the design of the system A / D channel selection and A / D converter of the error analysis and A / D converter AD574 introduction, input and connection circuits. Digital-analog conversion circuit design highlights the D / A channel selection, D / A converter selection and D / A converter DAC0832 introduction, connecting the output circuit and the DAC0832. It also describes the hardware design, the choice of microcontroller, microcontroller AT89S51 the clock circuit and reset circuit. The software design includes the choice of compiler, various parts of the flow chart and program design. This design also analyzed the system performance and errors.
The design is basically realized the design of multi-channel data acquisition, but because of tight time and limited knowledge of their own reasons, not the entire system is designed for debugging and simulation, and thus have not been able to make in-kind out; the same time There may be many problems have not been found, giving hope that teachers and students.
Key
words: data acquisition; AT89S51 microcontroller; CD4051; DAC0832
目 录
第一章 引言 1
1.1 多路数据采集系统简介 1
1.2 本设计的主要任务 1
第二章 系统硬件设计 3
2.1 硬件设计思想 3
2.2 硬件电路设计 4
2.2.1 多路转换开关 4
2.2.2 前置放大电路 6
2.2.3 采样/保持电路 8
2.2.4 模/数转换电路 12
2.2.5 数/模转换电路 17
2.2.6 硬件和单片机的连接电路 22
第三章 系统的软件设计 26
3.1 KEILC51 编译器简介 26
3.1.1 uVision2集成开发环境 26
3.1.2 编辑器和调试器 27
3.2 程序流程图 28
3.2.1主程序流程图 28
3.2.2 A/D转换程序的流程图和D/A转换程序的流程图 29
3.3 系统总图 30
第四章 系统性能及误差分析 31
4.1系统可靠性措施 31
4.1.1低功耗措施 31
4.1.2抗干扰措施 31
第五章 结论 32
致 谢 33
参考文献 34
附录1 35
附录2(系统硬件总图) 38
第一章 引言
1.1 多路数据采集系统简介
在工业生产和科学技术研究过程的各行业中,常常要对各种数据进行采集,随着现代化工业的发展,多路数据采集系统成为日益重要的技术,广泛应用于工农业等行业。多路数据采集系统通常采用的方法有,用微机控制,微机在工业领域中的一个主要应用就是与原有设备相结合,构成新的数字化、智能化的测控系统,从而提高原有设备的性能,但微机设备复杂、成本较高,使得微机控制的数据采集系统技术难度、成本都相应的提高,从而制约了微机在数据采集这方面的应用。随着单片机技术的飞速发展,应用领域日益扩大,各种型号、系