基于AVR单片机的工业控制器的设计
发布时间:2018-08-26 08:01
【摘要】:随着计算机硬软件技术、网络技术和通讯技术的发展,工业控制器呈现小型化、功能集成化等变化趋势。对于不需要采用DCS和现场总线控制系统的工业对象,采用相应工业控制器直接安装在工业现场完成控制要求是目前普遍应用的方式,利用AVR系列单片机来设计工业控制器,并实现工业控制器基本控制功能有一定的研究意义。 根据工业控制器的应用特点,采用AVR单片机完成工业控制器的硬件、软件设计和制作,采用了模块化设计方式,工业控制器由主控制电路模块、RS-485通讯模块、电源供电模块、A/D和D/A模块、DI/DO模块组成。在软件方面依然按照模块化设计思路,完成了主控制电路的软件模块、显示电路软件模块、采样电路软件模块、PID控制算法模块等设计,同时设计中体现了工业控制器低功耗、抗干扰的要求。 工业控制器的硬件设计中采用了Altium Designer10绘图软件,完成了各个模块硬件电路原理图和PCB图的设计。控制器的各软件模块设计采用了ICCAVR软件完成程序的编译、调试,生成可下载的.HEX目标文件,并通过ISP接口完成程序下载。最后对控制器硬软件进行总体调试,调试结果达到设计要求。
[Abstract]:With the development of computer hardware and software technology, network technology and communication technology, industrial controller presents a trend of miniaturization and functional integration. For the industrial objects which do not need to adopt DCS and fieldbus control system, it is a common application way to use the corresponding industrial controller to complete the control requirement in the industrial field directly. The industrial controller is designed by using the AVR series single chip microcomputer. And the realization of industrial controller basic control function has certain research significance. According to the application characteristics of the industrial controller, the hardware and software of the industrial controller are designed and fabricated by AVR single chip microcomputer. The modular design mode is adopted. The industrial controller is composed of the main control circuit module and RS-485 communication module. Power supply modules A / D and D / A / D / D / D / D / D / do modules. In the software aspect, the software module of main control circuit, display circuit software module, sampling circuit software module and pid control algorithm module are completed according to the modular design idea. At the same time, the low power consumption of industrial controller is embodied in the design. Anti-interference requirements. The Altium Designer10 drawing software is used in the hardware design of the industrial controller. The schematic diagram of the hardware circuit and the PCB diagram of each module are designed. The software modules of the controller are designed using ICCAVR software to compile, debug, generate downloadable .HEX target file, and download the program through ISP interface. Finally, the hardware and software of the controller are debugged as a whole, and the debugging results meet the design requirements.
【学位授予单位】:南京师范大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP273;TP368.12
本文编号:2204234
[Abstract]:With the development of computer hardware and software technology, network technology and communication technology, industrial controller presents a trend of miniaturization and functional integration. For the industrial objects which do not need to adopt DCS and fieldbus control system, it is a common application way to use the corresponding industrial controller to complete the control requirement in the industrial field directly. The industrial controller is designed by using the AVR series single chip microcomputer. And the realization of industrial controller basic control function has certain research significance. According to the application characteristics of the industrial controller, the hardware and software of the industrial controller are designed and fabricated by AVR single chip microcomputer. The modular design mode is adopted. The industrial controller is composed of the main control circuit module and RS-485 communication module. Power supply modules A / D and D / A / D / D / D / D / D / do modules. In the software aspect, the software module of main control circuit, display circuit software module, sampling circuit software module and pid control algorithm module are completed according to the modular design idea. At the same time, the low power consumption of industrial controller is embodied in the design. Anti-interference requirements. The Altium Designer10 drawing software is used in the hardware design of the industrial controller. The schematic diagram of the hardware circuit and the PCB diagram of each module are designed. The software modules of the controller are designed using ICCAVR software to compile, debug, generate downloadable .HEX target file, and download the program through ISP interface. Finally, the hardware and software of the controller are debugged as a whole, and the debugging results meet the design requirements.
【学位授予单位】:南京师范大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TP273;TP368.12
【参考文献】
相关期刊论文 前10条
1 吴焕琅;;AVR单片机的全功能工业控制器设计[J];单片机与嵌入式系统应用;2008年08期
2 刘西玲;低功耗抗干扰单片机电子门锁系统[J];电气传动自动化;1999年02期
3 朱小襄;ModBus通信协议及编程[J];电子工程师;2005年07期
4 骆德汉;MCS-51单片机应用系统的一种软件抗干扰方法[J];电子技术应用;1993年04期
5 曾洁;多路开关检测接口电路MC33993的原理及应用[J];国外电子元器件;2004年10期
6 李士勇;一种新型的模糊智能控制器(英文)[J];哈尔滨工业大学学报;1988年02期
7 Karam M. Elbayomy;;PID Controller Optimization by GA and Its Performances on the Electro-hydraulic Servo Control System[J];Chinese Journal of Aeronautics;2008年04期
8 康雁林;林喜竹;李建国;;基于AVR单片机的PID算法控制系统设计[J];河南师范大学学报(自然科学版);2010年02期
9 张震;王剑;黄国辉;姜周曙;;高性能通用温度采集仪的研制[J];机电工程;2010年03期
10 谢芳;杨红果;;数字PID改进算法的分析与实现[J];焦作师范高等专科学校学报;2010年02期
,本文编号:2204234
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2204234.html