摘要CPLD的全称是复杂可编程逻辑器件,与过去的PLD相比,它有着更加复杂的内部逻辑结构,它是一个整体,它包含许多个逻辑块。将CPLD应用于数字电表设计中,可以更好的提升数字电表的测量精度。70363
本设计介绍了一种基于CPLD的数字电表设计。系统的检测部分由R/f变换模块,C/f变换模块,L/f变换模块,V/f变换模块组成,经过四选一数据选择器选择出一路,通过计数器计数在固定闸门脉宽下的次数,然后再通过单片机数据处理模块处理数据,通过LED显示模块显示。本设计通过CPLD实现对各个模块的功能控制。能实现对电阻、电容、电感、交直流电压电流的测量。
该论文有图31幅,表8个,参考文献20篇。
毕业论文关键词:复杂可编程逻辑器件 数字电表 万用表
The Design of Digital Meters Based on CPLD
Abstract The full name of CPLD is Complex Programmeable Logic Device. Comparing with the previous PLD, it is a whole with a more complex logical structure including several logic blocks. Applying CPLD to digital multimeter design will improve the measurement precision of digita multimeter.
This design introduces digita multimeter project based on CPLD.The inspection section consists of transformation modules like R/f, C/f, L/f, and V/f, one of which is chosen by one-of-four data selector, noted by the counter the frequency when it is under fixed gating pulse width, then data processed by MCU data processing module and results shown by LED display module. This design will take control of the functions of all modules through CPLD, making it able to measure resistance, capacitance, inductance, and ac,dc voltage and current.
This paper has 31 figures, 7 tables, 24 references.
Key Words: CPLD digital meters multimeter
目 录
摘 要 I
Abstract II
目 录 III
图清单 V
表清单 VI
1 绪论 1
1.1 研究背景及意义 1
1.3 本论文的设计重点 3
1.4 本章小结 3
2硬件设计 4
2.1总体方案设计 4
2.2 检测部分设计 4
2.3 CPLD模块设计 10
2.4 显示部分设计 15
2.5 档位及参数设计 17
2.6 本章小结 20
3 软件设计 21
3.1 软件设计环境 21
3.2 软件语言 21
3.3 软件设计思路 22
3.4 本章小结 24
4 硬件及软件调试 26
4.1 硬件调试 26
4.2 软件调试 29
4.3 本章小结 30
5 总结 31
参考文献 33
致 谢 34
附录一 总原理图1 35
附录二 总原理图2