omron — Ix30 Motor x PID Proportional Gain

PMAC Product Guide If the analog output is unidirectional (bit 16 of Ix02 is 1), this bias term is added before the absolute value function is performed. It is used if there is a directional bias on the motor. In this type of motor, Ix79 (offset after absolute value) is used to control output deadband or dithering. For a PMAC-commutated motor (Ix01=1), this is the value that is added onto the B-phase output of the commutation algorithm. This is the DAC with the lower address (higher-numbered, i.e. DAC 2 of a DAC 1 and DAC 2 pair) of the adjacent DAC pair used for commutation. Ix79 is added onto the other phase output (higher-addressed, lower-numbered DAC) of the commutation algorithm.

In addition to the primary use of compensating for analog offsets, it can be used in certain phasing search or phasing direction algorithms for permanent-magnet brushless motors because it drives the motor like a stepper motor. Ix29 can be used to create a torque offset for a motor not commutated by PMAC. For a motor commutated by PMAC, use the "Output Offset" register Y:$0045, etc., instead (it is also suitable for a motor not commutated by PMAC). Servo Control I-Variables The servo control variables in the range Ix30-Ix69 have different meanings on a PMAC with the Option 6 Extended Servo Algorithm.

For a PMAC with Option 6, refer to the manual for Option 6 for descriptions of the variables in this range. Ix30 Motor x PID Proportional Gain Range: -8,388,608 .. 8,388,607 Default: 2000 Units: (Ix08/2 19 ) DAC bits/Encoder count This term provides a control output proportional to the position error (commanded position minus actual position) of motor x. It acts effectively as an electronic spring. The higher Ix30 is, the stiffer the spring is. Too low a value will result in sluggish performance. Too high a value can cause a buzz from constant over-reaction to errors.

If Ix30 is set to a negative value, this has the effect of inverting the command output polarity for motors not commutated by PMAC, when compared to a positive value of the same magnitude. This can eliminate the need to exchange wires to get the desired polarity. On a motor that is commutated by PMAC, changing the sign of Ix30 has the effect of changing the commutation phase angle by 180 o . Negative values of Ix30 cannot be used with the auto tuning programs in the PMAC Executive program. Warning: Changing the sign of Ix30 on a motor that has been closing a stable servo loop will cause an unstable servo loop, leading to a probable runaway condition.

Usually, this parameter is set initially using the Tuning utility in the PMAC Executive Program. It may be changed on the fly at any time to create types of adaptive control. Note: The default value of 2000 for this parameter is exceedingly weak for most systems (all but the highest resolution velocity-loop systems), causing sluggish motion and/or following error failure. Most users will immediately want to raise this parameter significantly even before starting serious tuning. If the servo update time is changed, Ix30 will have the same effect for the same numerical value.

However, smaller update times (faster update rates) should permit higher values of Ix30 (stiffer systems) without instability problems. 118 I-Variables