基于单片机的多伺服控制系统的设计(任务书,开题报告,外文翻译,论文30000字)
摘要
CAN(ControllerAreaNetwork)即控制器局域网络。雏形是德国的BOSCH公司为汽车小体积、少成本、高效化性能检测,控制各系统而设计的,由于其高性能、高可靠性、以及独特的设计,CAN越来越受到人们的重视。随着其技术手段的规范化,相关协议近年来不断地完善,现如今已有许多公司研发不限于汽车行业相关内容,为各类电子产品的相关控制提供便利。
本论文阐述的就是一种基于CAN总线的多伺服控制系统的设计分布式电机控制系统,与一般的单控制器—驱动—单电机相比具有实时、可靠、灵活等优势。
该伺服控制系统中央控制芯片是51系列单片机AT89C52,CAN通讯控制芯片为PHILIPS生产的SJA1000, CAN通讯接收器为PCA82C250,还有台达系列伺服驱动器工业产品ASDA-A2型号伺服电机。文中介绍了现场总线CAN总线的一些相关知识,此次使用的相关芯片、器材功能参数详解,继而详细介绍了系统:CAN控制板硬件设计以及伺服电机驱动程序梯形图设计。使用辅助软件Altium Designer画出系统的原理图、VISIO绘制相关参数表格。
最终结果表明,本文研究的基于单片机的多伺服控制系统控制系统可实现一对多的灵活精准控制与即时监测。
图44表12 参45
关键词;工业产品;CAN总线;多伺服电机;单片机;实时监测
Abstract
CAN (Controller Area Network), that is the controller local area network. The prototype is the German company BOSCH for automobile with small volume, less cost, efficient performance testing, design and control the system, because of its high performance, high reliability and unique design, CAN has been paid more and more attention. With the standardization of its technical means, the relevant agreements have been continuously improved in recent years. Nowadays, many companies have not limited their research and development to the relevant content of the automotive industry, providing convenience for the control of various types of electronic products.
This paper is the design of a distributed control system of multi motor servo control system based on CAN bus, and the general single - - single motor drive controller compared with real-time, reliable, flexible and other advantages.
The servo control system of the central control chip is 51 Series MCU AT89C52, CAN communication control chip for the PHILIPS production of SJA1000, PCA82C250 and CAN communication receiver, delta series servo driveindustrial products ASDA-A2 type servo motor. This paper introduces some relevant knowledge of CAN bus, the use of equipment, related chip function parameters detailed, then introduces the system: CAN control board hardware design and servo motor drive design program of ladder diagram. Use the auxiliary software Altium Designer to draw the schematic diagram of the system and draw the relevant parameter table of VISIO.
The final results show that the multi servo control system based on single chip microcomputer can realize one to many flexible, precise control and real-time monitoring.
Figure 43, table 12, reference42
Key words: industrial products、 CAN bus、 multi servo motor、microcontroller、 real-time monitoring
目录
摘要 I
Abstract II
目录 IV
第一章绪论 1
1.1 论文的背景及意义 1
1.2 国内外的研究现状 3
1.3 课题的研究内容 4
第二章 CAN总线技术简介 6
2.1 现场总线概述 6
2.1.1 现场总线的含义及其特点 6
2.1.2 现场总线的优点 7
2.1.3 现场总线的标准发展 8
2.2 CAN总线及其通信技术 10
2.2.1 CAN总线简介 10
2.3.2 CAN总线的基本特点 11
2.3.3 CAN总线协议 13
2.3.4 CAN总线错误界定及处理 30
2.4 本章小结 32
第三章电机控制系统硬件设计 33
3.1 电机控制系统硬件总体设计 33
3 .2 CAN控制板硬件设计 34
3.2.1 CAN控制器SJA 1000 35
3.2.2 CAN收发器PCA82C250 42
3.2.3微处理器AT89C52 46
3.2.4串口通信电路的设计 48
3.2.2 光电隔离电路设计 52
3.3 伺服驱动器系统相关 53
3.3.1 伺服驱动器系统相关简介 53
3.3.2伺服驱动器系统与单片机之间通讯的实现 55
3.3.3主站伺服驱动器和从站设备的IO 数据映射 59
3.3.4 伺服驱动器伺服电机控制程序 60
3.4 本章小结 61
第四章电机控制系统软件设计 62
4.1 开发环境介绍 62
4.2 系统上位机软件设计 65
4.2.1 上位机软件设计总体流程 65
4.2.2 串口通信软件设计 66
4.2.3 控制界面软件设计 71
4.3系统测试与分析 72
4.4 本章小结 73
第五章总结与展望 74
5.1 总结 74
5.2 展望 75
参考文献 76
致谢 79 |