1、 微机原理及微机原理及接接口技术口技术 课程设计说明书课程设计说明书 题题 目:基于目:基于 PCPC 机机 ISA ISA 或或 PCIPCI 总线的总线的 I/OI/O 卡设计卡设计 院院 系:系:机械工程与自动化学院机械工程与自动化学院 专专 业:业:机械设计制造及其自动化机械设计制造及其自动化 班班 级:级: 姓姓 名:名: 学学 号:号: 指导教师:指导教师: 日日 期:期:2012-12-9 1 目 录 一 中文摘要 2 二 英文摘要 2 三 设计任务书 3 四 设计正文 4 1 硬件设计 4 1.1 PCI 总线 4 1.1.1 PCI 总线特点 4 1.1.2 PCI 总线简介
2、 4 1.2 74LS138 译码器 8 1.3 比较译码器 74LS688 9 1.4 地址锁存器 74ALS373 9 1.5 总线缓冲器 74LS24510 1.6 功率放大器 ULN2803A 10 1.7 光电耦合器 11 1.8 发光二级管 12 2 软件设计 12 3 总结与体会 14 五 参考文献 15 2 摘 要 随着计算机软硬件技术和控制、测量技术的不断发展,许多工程技术 人员都将 PC 机作为控制、测量开发的首选平台。而 PCI(Peripheral Component Interconnect,即外围部件互连)总线作为一种高性能、通用的 局部总线,是目前计算机插卡式外设
3、总线的事实标准。PCI 总线具有 32/64 位总线宽度。 地址线和数据线复用, 支持猝发传输, 传输速率高达 132MB/s; 系统占用率低,具有较好的兼容性;有完备的即插即用(PnP)管理体制,可 同时支持多组外围设备。 虽然PCI总线也经历了从PCI、 PCI-X到 PCI Express 的发展,但 PCI 总线由于存在时间长,开发工具、开发资料众多,在对数 据吞吐量要求不是很高的工业控制、测量领域仍有着顽强的生命力。在此 处设计了基于 PCI 总线的数据采集卡,可以完成 8 路数字量 I/O 采集功能。 关键词:微机原理; 控制系统;单片机; 汇编语言;接口设计 Abstract A
4、long with the computer hardware and software technology, measurement and control technology continues to develop, many engineering and technical personnel will be PC as the control, measurement and development platform of choice.PCI (Peripheral Component Interconnect, i.e. peripheral component inter
5、connect) bus is a high performance, generic local bus, is the computer plug-in peripheral bus standard in fact.PCI bus with 32/64 bus width.Address line and data line multiplexing, supporting burst transmission, high transmission rate up to 132MB/s; the system occupancy rate is low, which has good compatibility; complete plug-and-play (PnP) management system, can simultaneously support multiple groups of peripheral devices.Although the PCI bus al