周期同步位置模式(CSP),轮廓位置模式(PPM),位置模式(PM)

什么是运动控制?

  运动控制就是经过机械传动装置对运动部件的位置、速度进行实时的控制管理,使运动部件按照预期的轨迹和规定的运动参数(如速度、加速度参数等)完成相应的动做。html

运动控制系统的典型构成

  1. 开环系统(电机:步进电机;驱动器:脉冲分配,电流放大)oop

 

  2. 半闭环系统(电机:直流伺服电机、交流伺服电机;驱动器:电流放大,位置反馈控制)学习

 

 

  3. 半闭环系统(直流伺服电机、交流伺服电机;驱动器:速度反馈控制,电流放大;运动控制器:运动规划,速度指令,位置反馈取自电机轴)flex

 

  4. 全闭环系统(驱动器:速度反馈控制,电流放大;运动控制器:运动规划,速度指令,位置反馈取自负载)spa

 

   全闭环伺服系统能够消除机械传动带来的偏差,而半闭环系统只能补偿部分偏差,所以,半闭环伺服系统的精度比全闭环伺服系统的精度要低一些。因为采用了位置检测装置,因此全闭环系统的位置精度在其余因素肯定了以后,主要取决于检测装置的分辨率和精度。code

   注意半闭环系统2与3的区别。驱动器若是工做在位置模式,运动控制器(运动控制卡、PLC...)就只作位置轨迹的规划(Trajectory generator),每一个通讯周期发送目标位置到驱动器。驱动器接收到设定位置后,与当前位置比较,并依据控制器-驱动器通讯周期与驱动器位置环周期进行线性或者非线性插值,将插值做为每一个位置环周期的“设定位置”。htm

  举个例子,假设驱动器位置环周期是125us,控制器和驱动器通讯周期为 2ms,当前位置为 0,目标位置为 1mm,那么接下来 16 个周期驱动器位置环的“设定位置”就依次为:0.0625mm0.125mm0.1875mm0.25mm,……1mm. 若是没有插值,那么接下来驱动器的1 个周期的设定位置就是 1mm,驱动器在第 125us时,位置为 1mm,在 2-16 个周期,设定位置维持不变,至关于电机中止,直到第 2ms接收到新的“给定位置”。因为间隔仅为 2ms,电机并不会真的中止,而是表现为顿挫感,转动不流畅,不连贯。 对象

  驱动器若是工做在速度模式,那么控制器就不只作位置曲线的规划,还要完成位置环的调节。此时NC周期与位置环周期相等,没必要插值。伺服驱动器的位置环被忽略,其速度环直接接受上层给出的“设定速度。blog

 

 驱动器工做模式(Modes of operation

   CANopen DSP 402协议中对象字典6060h 处定义了驱动器的工做模式:ci

  不一样的驱动器支持的工做模式有所不一样。好比下图左边是MAXON的EPOS2驱动器支持的模式,右边是MAXPOS驱动器支持的工做模式(能够看出它们都遵循了CANopen 402标准):

 

 

 

   

  从上面的这些表中能够看出关于位置控制主要有三种模式:周期同步位置模式(CSP),轮廓位置模式(PPM),位置模式(PM)。

  1. 轮廓位置模式(Profile Position Mode)
  Speed, position and acceleration can be limited, profiled moves using a Trajectory Generator can be executed. The trajectory generator supplies the control loop(s) with the demand values.  

  轮廓位置模式下,驱动器接收主站发送来的目标位置指令,在驱动器内部根据速度、加速度规划参数设置进行轨迹规划。例如:应用程序要求伺服轴以设定的速度、加速度运动到某个目标位置,驱动器接到这个指令后,在内部的轨迹生成器中计算出每NC周期(好比:1ms)伺服轴应该到达的位置,而后发送给位置环去执行。 

  2. 位置模式(Position Mode)
  Position demand value can be set directly. 
The Position Mode allows positioning without profile, i.e. the target position is set immediately as a new set value for the position control loop.  The Position Mode is a useful operating mode for a situation wherethe axis acts as a slave axis commanded by progressive positions set values without large jumps. Hence, the path generator is not needed. An example for a progressive set value is an analog set value voltage. 

  Special operating modes without path generation are Master Encoder Mode where the slave axis follows the signal pulses from an external encoder (e.g. that of a master axis) or Step Direction Mode, where each pulse command from a stepper motor drive corresponds to a small rotating angle. Alternative operating modes allow running the motion controller without receiving on-line commands. Instead, analog voltage signals or signal pulses are used as command values. These incoming signals are converted to set values that are directly fed into the corresponding control loop without a profile or trajectory being generated

   

  3. 周期同步位置模式(Cyclic synchronous position mode,与轮廓位置模式(Profile Position Mode )不一样,其轨迹发生器位于控制器端,而非驱动器内。在该模式下,控制器只须要周期性的下发目标位置便可(与位置插补模式的原理相相似),并且能够设置附加的速度前馈(Velocity offset)或转矩前馈(Torque offset):

   即轮廓位置模式的Trajectory Generator在驱动器内,周期同步位置模式的Trajectory Generator在控制器内,而位置模式(Position Mode)、电子手轮模式(Master Encoder Mode)、脉冲/方向模式(Step Direction Mode)则不须要轨迹生成器。

 

 

参考:

固高运动控制技术基础

英威腾SV-DA100交流伺服驱动器EtherCAT技术指南_V1.00

Motion Control for Newbies, featuring maxon EPOS2 P  p46

The Position-based Type II On-Line Trajectory Generation Algorithm

V-rep学习笔记:Reflexxes Motion Library 1

V-rep学习笔记:Reflexxes Motion Library 3

DS402几种位置模式的区别

CiA DSP 402标准

相关文章
相关标签/搜索