摘要
伺服电机联动控制系统应用于精确定位控制方面的设备.系统主要按照X轴、Y轴、Z轴三个方向的伺服电机联动控制,实现简单的绘图功能,达到伺服电机联动控制的工艺设计需求,对系统进行硬件和软件设计,通过调试和仿真达到设计工艺的要求,满足设计的需求。系统主要通过可编程控制器控制方式进行设计,在分析该系统的工艺要求基础上,提出详尽的控制策略和总体设计思路。系统主要由西门子S7-1200可编程控制器、传感器检测单元、伺服电动机执行机构等组成,系统分为总体设计、硬件图纸设计、软件流程及程序设计以及仿真设计等。在总体设计中对系统工艺进行详细分析,并提出总体设计的思路;在硬件设计中重点对PLC及其他接线进行详细设计和分析;在软件设计中,重点对程序流程进行分析,并完成软件程序设计。系统设计通过仿真设计和调试,达到了设计的基本控制要求,控制逻辑清晰,功能实现满足了工艺的需求。
关键词:伺服电动机;联动控制;可编程控制器;仿真设计
Abstract
The servo motor linkage control system is mainly used for precise positioning control equipment. The system is mainly based on the servo motor linkage control of x-axis, Y-axis and z-axis to achieve simple drawing function and meet the process design requirements of servo motor linkage control. Hardware and software design is carried out for the system, and the requirements of design process are achieved through debugging and simulation to meet the design requirements Ask. The system is mainly designed by PLC control mode. Based on the analysis of the process requirements of the system, the detailed control strategy and overall design idea are proposed. The system is mainly composed of Siemens s7-1200 programmable controller, sensor detection unit, servo motor actuator, etc. the system is divided into overall design, hardware drawing design, software flow and program design, simulation design, etc. In the overall design, the system process is analyzed in detail, and the overall design idea is proposed; in the hardware design, the PLC and other wiring are mainly designed and analyzed in detail; in the software design, the program flow is mainly analyzed, and the software program design is completed. Through simulation design and debugging, the system design has achieved the basic control requirements of the design, the control logic is clear, and the function realization meets the process requirements.
Key words: servo motor; linkage control; programmable controller; simulation design
目录
摘要 1
Abstract 2
1 绪论 4
1.1课题研究的目的及意义 4
1.2系统研究的内容 5
1.3系统研究的思路 5
2 伺服电动机联动控制的总体设计 6
2.1工艺设计要求 6
2.2系统控制方案 7
3 伺服电动机联动控制的硬件设计 9
3.1可编程控制器的选型 9
3.2伺服电动机的选型 10
3.3伺服驱动器的选型 12
3.4限位开关的选型 12
3.5系统的I/O分配 13
3.6伺服电路图的设计 14
3.7 PLC电路图的设计 15
4 伺服电动机联动控制的软件设计 16
4.1博途V14软件的介绍 16
4.2 系统的流程图设计 17
4.3程序的设计 19
4.3.1 系统的组态 19
4.3.2 高速计数的程序设计 20
4.3.3 原点复位的程序设计 21
4.3.4 切割绘图的程序设计 24
4.3.5 限位保护的程序设计 28
4.3.6 脉冲输出的程序设计 28
5 伺服电动机联动控制的联机调试 30
总结 31
致 谢 32
参考文献 33
1 绪论
1.1课题研究的目的及意义
伺服电动机在工业应用控制中比较广泛,经常应用于数控机床、伺服机械手、工业机器人等场合。伺服电动机在伺服控制系统中作为执行单元,承担着机械结构的动力输出,伺服电动机属于高精度的脉冲控制输出的位移电动机,通过伺服驱动器控制,输出脉冲信号对伺服电动机进行旋转,脉冲信号的数量决定伺服电动机的旋转角度,脉冲的频率决定伺服电动机的旋转速度。本设计主要针对伺服电动机联