资源预览内容
第1页 / 共32页
第2页 / 共32页
第3页 / 共32页
第4页 / 共32页
第5页 / 共32页
第6页 / 共32页
第7页 / 共32页
第8页 / 共32页
第9页 / 共32页
第10页 / 共32页
亲,该文档总共32页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
. . . . . . . 南 阳 理 工 学 院 本科生毕业设计(论文) 学院(系): 电子与电气工程系 专 业: 电子信息工程 学 生: xXX 指导教师: XXX 完成日期 2011 年 5 月 . . . . . . . 理工学院本科生毕业设计(论文) 基于 CAN 总线的变压器 监测终端软件设计 Software Design of Transformer Monitoring Terminal Based on CAN Bus 总 计: 25 页 表 格: 0 个 插 图: 10 幅 . . . . . . . . . . . . . . 南南 阳阳 理理 工工 学学 院院 本本 科科 毕毕 业业 设设 计(论文)计(论文) 基于 CAN 总线的变压器 监测终端软件设计 SoftwareSoftware DesignDesign ofof TransformerTransformer MonitoringMonitoring TerminalTerminal BasedBased onon CANCAN BusBus 学 院(系): 电子与电气工程系 专 业: 电子信息工程 学 生 姓 名: 曾伟纳 学 号: 94107045 指 导 教 师(职称): 乔建良(副教授) 评 阅 教 师: 完 成 日 期: 理工学院 Nanyang Institute of Technology . . . . . . . 基于 CAN 总线的变压器监测终端软件设计 电子信息工程专业 曾伟纳 【摘 要】本文针对现代变压器监测系统的要求,首先讨论了本设计的产生、应用 背景和设计要求,接着讨论了电网质量监测的集成系统的实现原理,设计了一种基于 80C196KC 和 CPLD 的监控装置,来完成弱电对强电的控制。80C196KC 是整个系统的核 心即 CPU 部分。本文详细分析了 80C196KC 的原理,阐述了利用 80C196KC 和各种外设 芯片来实现数据存储、处理、显示和通讯,接着讨论了 CAN 总线,并分析了通过 SJA1000 控制器实现 CAN 通讯的原理、方式和过程 。 【关键词】变压器监测终端;CAN 总线;控制器;通信系统 SoftwareSoftware DesignDesign ofof TransformerTransformer MonitoringMonitoring TerminalTerminal BasedBased onon CANCAN BusBus ElectronicElectronic InformationInformation EngineeringEngineering SpecialtySpecialty ZENGZENG WeinaWeina AbstractAbstract:According to the modern requirement of monitoring system,first this article discusses the design production, application background and design requirements; and then kicks around the integrated system of power quality monitoring the implementation principle;at last we designed a kind of based on 80C196KC and CPLD monitoring device, to complete the control of elv to high. The core of the whole system is 80C196KC which is that CPU part . This article analyzes the principle of 80C196KC in detail firstly,and then describes that using 80C196KC and various peripherals chips to realize the data storage,processing,display and communications;following it discusses the CAN bus;and also analyzes the realization of CAN communication principle,ways and process through SJA1000 controller. KeyKey wordswords: Transformer monitoring terminal; CAN Bus; controller;communication system . . . . . . . 目 录 1 引言 .1 1.1 国外发展现状 .1 1.1.1 变压器监测终端的通信结构.1 1.1.2 存在的问题.1 1.1.3 变压器监测终端通信技术的发展.2 2 CAN 总线概述.2 2.1 CAN 总线的产生与发展 .2 2.2 CAN 总线技术介绍 .2 2.2.1 位仲裁.2 2.2.2 CAN 的报文格式 .3 2.2.3 数据错误检测.3 2.3 CAN 总线性能特点 .3 2.3.1 CAN 总线特点 .3 2.3.2 CAN 总线优势 .4 2.4 CAN 总线模块 .4 2.4.1 芯片简介.5 2.4.2 模块的使用说明.5 3 变压器监测终端的设计概述 .5 3.1 变压器监测终端的技术指标 .5 3.2 变压器监测终端的设计概述 .6 3.3数据的存储、处理、显示及通讯的实现 .7 3.3.1 80C196KC 的体系结构和硬件描述 .7 3.3.2 定时监测的实现.8 3.3.3LCD 实时显示的实现.10 3.3.4 复位及电源监控.10 4 软件设计与实现.10 4.1 软件实现.11 4.1.1 MCS-96 指令系统 .11 4.1.2 VHDL 语言和可编程逻辑电路 .11 . . . . . . . 4.1.3 VISUAL BASIC.12 4.2 用 SJA1000 和 PCA82C250 实现 CAN 通讯 .13 4.3 CAN 的初始化 .14 4.4 用中断方式实现 CAN 的接收和发送 .14 4.5 IEC6087C5101 协议 .16
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号