1、 逻辑分析仪的设计逻辑分析仪的设计 作者姓名: 专业名称:电子信息科学与技术 指导教师: 逻辑分析仪的设计 - I - 摘要摘要 逻辑分析仪用于涉及大量信号或复杂的触发器要求的数字测量, 但是以往的独立式逻辑分析仪不仅结构复杂,而且价格昂贵。文章介 绍了一种基于单片机的逻辑分析仪,阐述了逻辑分析仪的硬件电路设 计和软件设计部分。通过本次设计实践证明该逻辑分析仪不仅结构简 单、成本较低,而且具有通道数量多、捕获速度快、性能稳定等特 点。 本系统的设计电路由8位数字信号发生器电路、数据采集电路、功 能控制系统、显示电路四部分构成。8位数字信号发生器电路:由单片 机、液晶、按键等元器件组成,可以产生
2、8路循环移位逻辑信号序列, 并能设定、调节并显示预置值。数据采集电路:由单片机控制,含有 RAM及8位输入电路等,能够采集并存储输入的8位逻辑序列。功能控 制系统:它也是由单片机控制,完成设定、显示、调整系统各功能项 的任务。显示电路:主要由可编程逻辑器件CPLD和电平移位及扫描电 路组成,用于将RAM中的8路逻辑序列取出,将其高速送入示波器稳 定显示。 关键词关键词 :逻辑分析仪 AT89C51 数字信号发生器 示波器 逻辑分析仪的设计 - II - AbstractAbstract Logic Analyzer used to involve a lot of signal digital
3、 measurement requirements or complex triggers, but independent Logic Analyzer in the past not only complicated and expensive. This article describes a kind of logic analysis instrument based on single-chip, in this paper, the logical analyzer design of hardware circuit and the software design part.
4、Through this design practice proves that the logical analyzer is not only simple structure, low cost, and has the number of channels, capture speed, stable performance, and so on. The system design of circuit consists of 8-bit data acquisition circuit for digital signal generator circuit, four part,
5、 features, display control system circuit. 8-bit digital signal generator circuit: it is made of single-chip, LCD, press the key components, and so on, can produce 8 cyclic shift logic signal sequences, and can establish, regulate and displays the preset value. Data acquisition circuit: single-chip
6、control, with RAM and 8-bit input circuit, to collect and enter a sequence of 8-bit logical storage. Function control system: it is also controlled by the single-chip, complete set, displays tasks, adjust all functions of the system. Display circuits: mainly of programmable logic device CPLD and level shifting and scan circuit, used for remove RAM 8 channels in logical sequence, the stability of high-speed into the oscilloscope display. Keywords: logic analyzer, AT89C51, digital waveform gene