1、 毕业设计(论文)毕业设计(论文) 题 目: 基于单片机的智能 电子计数器的设计 毕业设计(论文)时间:二 0 一 一年 3 月 日 5 月 日 共 周 I 摘摘 要要 数字频率计是电子测量领域中最常见的测量仪器之一。它可以测量方波和正弦波的 频率、周期和脉冲宽度等时间参数。 本设计是由单片机控制的数字频率计设计。本文在讨论频率测量的常用方法与原理 的基础上, 阐述了等精度测频系统的设计。 系统包括稳压电源电路、 信号放大整形电路、 测频电路、单片机电路模块、标准频率信号源、键盘模块、数码显示模块等。采用软硬 件结合的方法,频率、周期、脉宽和占空比的计算由单片机 89C51 完成,外围电路其数
2、 字电路部分使用了 CPLD,并采用 VHDL 语言进行设计描述,其输入通道由模拟电路来实 现。 系统将单片机 AT89C51 的控制灵活性及 CPLD 芯片的现场可编程性相结合,不但大 大缩短了开发研制周期,而且使本系统具有结构紧凑、体积小、可靠性高、测频范围宽、 精度高等优点。 关键词关键词: 频率计 单片机 CPLD 等精度 III Abstract Digital cymometer is one of the most common instruments of electronic measurement. It can measure time parameters such a
3、s the square wave and the sine wave frequency, cycle and pulse width, and so on. The design is the digital cymometer based on the signal chip computer control. Based on the discussion of the commonly used method of measuring frequency and on the basis of principle, it describes the design of frequen
4、cy measurement system with the same accuracy including the power supply system circuit, signal amplification plastic circuit, measuring frequency circuits, MCU circuit module, the standard frequency signal source, keyboard module, the digital display module, and so on. It takes the method of combination of hardware and software: frequency, period, pulse width and room-occupying ratio of calculation completed by the MCU 89C51, the external circuit part of its digital circuits used wit