基于罗克韦尔PLC的电机控制(6.4)

更新时间:2023-10-13 17:41:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

本科毕业设计(论文)

题目

基于罗克韦尔PLC的

电机控制

学生姓名 教学院系 专业年级 指导教师 单 位 辅导教师 单 位

张明鹿 学 号 0607030113

电子信息工程学院 自动化2006级

谌海云

职 称

教授

西南石油大学电子信息工程学院 刘慧芳

职 称

硕士研究生

西南石油大学电子信息工程学院

完成日期 2010 年 6 月 2 日

西南石油大学本科毕业设计(论文)

摘 要

电动机作为机械运动中的驱动设备,一直起着非常重要的作用。将电机进行网络化控制是满足远程控制系统的客观需求,也是发展趋势。本次设计借助西南石油大学-罗克韦尔自动化油气自动化示范中心的罗克韦尔三层网络平台,设计完成了基于罗克韦尔PLC的电机控制。

本文首先对系统进行设计和构建。在熟悉各器件原理和构造的基础上,选择合适的器件,搭建了以ControlLogix系统为中心,以ControlNet为纽带,以ControlLogix5561 PLC为控制器,以三相异步电动机的转速为控制对象,以PowerFlex40变频器为执行机构,以测速发电机为检测机构,通过EtherNet上的PC机进行控制的系统。

系统设备间网络通讯的实现。为利用网络实现控制数据的传输与交换,通过RSLinx软件建立通讯通道,RSNetworx软件对ControlNet进行组态和配置,RSLogix5000对控制器进行逻辑编程, RSView32对上位机的人机监控进行设计,实现了不同网络上各设备间的相互通讯。

系统数学模型的建立和控制算法的实现。在对电机变频调速系统进行机理分析的基础上,得到电机变频调速控制系统的网络模型。通过MATLAB的Simulink工具将仿真结果与实际结果进行比较,证明了所得模型的有效性;为实现对电机转速的精确控制,在系统中加入PID控制算法,借助MATLAB的Simulink工具选择合适的参数,达到了良好的控制效果。并对制算法的效果进行了动态性能和稳态性能的比较分析。

本文成功实现了电机转速的网络控制。此系统开放灵活,易于扩展和改造,可以将其广泛应用到实际工业场合,具有很好的应用价值。

关键词:可编程控制器 PowerFlex40变频器 ControlLogix系统 异步电动机 测速发电机 PID

2

ABSTRACT

As mechanical drive equipment,motor has been playing a very important roal.Currently,the motor control is AC,networked and intelligent.The purpose of motor control with network is to meet the objective needs of remote control systems.the research depends

on

the

three-layer

network

platforms

of

Southwest

Petroleum

University-Rockwell Automation Oil & Gas Automation Center of Excellence in Southwest Petroleum University.The motor control system based on Rockwell PLC is completed.

First,system design and construction.After choosing suitable device,familiar with it,the motor control system is constructed in which ControlLogix is as center,ControlNet is as link,ControlLogix 5561 PLC is as controller,the three-phase asynchronous motor speed is as control object,PowerFler 40 transducer is as implement unit,tachogenerator is as sensor unit and the PC on EtherNet is as remote humen-machine interface monitor.

The relation of inter-network communications between equipments.For the control dada transmission and exchange through network, RSLinx software is used for communications channel establish, RSNetworx software is used ControlNet configuration and deployment,RSLogix5000 software is used for controller logic program,RSView32 is used for human-machine interface design. Then, each equipment can communicate with each other between different networks.

The design of system mathematical model and the achievement of control algorithm. Based on the analysis if the transducer motor’s speed-frequency principle, the motor speed control network model is concluded. Comparing the simulation results with the actual results, validity of the model is proved in the paper.For achiving the precision of the motor speed control, PID control is adopted. Under the help of MATLAB Simulink tool, suitable parameters are chosen and the good control performance is achieved, PID control algorithms also has been analyzed on the dynamic and steady performance.

The motor control system is realized successfully in the paper.It is flexible and easy to be expanded and transformed,which can be widely applied to actural industrial occasions to solve many problems.It is good Valuable.

Keywords: PLC, PowerFler 40 transducer , ControlLogix system, asynchronous motor, tachogenerator, PID control

目 录

1绪论 ............................................................................................................ 1

1.1课题研究概述 ......................................................................................................... 1 1.2电机控制的发展趋势 ............................................................................................. 2 1.3罗克韦尔网络化结构在电机控制系统中的应用 ................................................. 2 1.4 PLC技术 ................................................................................................................. 3 1.5本文的主要内容 ..................................................................................................... 4

2网络结构和ControlLogix系统 .................................................................. 5

2.1 NetLinx三层网络架构 ........................................................................................... 6

2.1.1通用工业协议CIP ........................................................................................... 7 2.1.2工业以太网EtherNet/IP .................................................................................. 8 2.1.3控制网ControlNet ........................................................................................... 8 2.1.4设备网DeviceNet ............................................................................................ 9 2.2 Controllogix系统 .................................................................................................. 10 2.3本章小结 ............................................................................................................... 11

3交流调速和变频器 ................................................................................... 12

3.1交流调速 ............................................................................................................... 12 3.2变频器调速原理 ................................................................................................... 13 3.2.1变频器的主电路 ............................................................................................ 13 3.2.2变频调速原理与优势 .................................................................................... 13 3.3 PowerFlex40变频器 ............................................................................................. 14 3.4本章小结 ............................................................................................................... 14

4系统设计和实现 ....................................................................................... 15

4.1方案选择 ............................................................................................................... 15 4.1.1控制层次选择 ................................................................................................ 15 4.1.2控制算法比较 ................................................................................................ 16 4.1.3检测元件选取 ................................................................................................ 17 4.1.4系统总体方案设计 ........................................................................................ 18 4.2硬件设计 ............................................................................................................... 19 4.2.1变频器设置 .................................................................................................... 20 4.2.2变频器和控制器连接 .................................................................................... 20 4.2.3变频器和电机的连接 .................................................................................... 21 4.2.4控制器与电机的连接 .................................................................................... 21 4.3软件设计 ............................................................................................................... 21 4.3.1设定通信驱动 ................................................................................................ 21 4.3.2梯形图程序的编写和I/O 组态 .................................................................... 22 4.3.3控制网的规划 ................................................................................................ 27 4.3.4 OPC服务器的建立 ....................................................................................... 28

I

本文来源:https://www.bwwdw.com/article/wu4f.html

Top