Galil DMC-13X8 Home Theater Server User Manual


 
Chapter 2 Getting Started 30 USER MANUAL
TE X (CR) Tell error
a few times, and get varying responses, especially with reversing polarity, it indicates system vibration.
When this happens, simply reduce KD.
Next you need to increase the value of KP gradually (maximum allowed is 1023). You can monitor the
improvement in the response with the Tell Error instruction
KP 10 (CR) Proportion gain
TE X (CR) Tell error
As the proportional gain is increased, the error decreases.
Again, the system may vibrate if the gain is too high. In this case, reduce KP. Typically, KP should
not be greater than KD/4. (Only when the amplifier is configured in the current mode).
Finally, to select KI, start with zero value and increase it gradually. The integrator eliminates the
position error, resulting in improved accuracy. Therefore, the response to the instruction
TE X (CR)
becomes zero. As KI is increased, its effect is amplified and it may lead to vibrations. If this occurs,
simply reduce KI. Repeat tuning for the Y, Z and W axes.
For a more detailed description of the operation of the PID filter and/or servo system theory, see
Chapter 10 - Theory of Operation.
Design Examples
Here are a few examples for tuning and using your controller. These examples have remarks next to
each command - these remarks must not be included in the actual program.
Example 1 - System Set-up
This example assigns the system filter parameters, error limits and enables the automatic error shut-off.
Instruction Interpretation
KP10,10,10,10 Set gains for a,b,c,d (or X,Y,Z,W axes)
KP*=10 Alternate method for setting gain on all axes
KPX=10 Alternate method for setting X (or A) axis gain
KPA=10 Alternate method for setting A (or X) axis gain
KP, 20 Set Y axis gain only
Instruction Interpretation
OE 1,1,1,1 Enable automatic Off on Error function for all axes
ER*=1000 Set error limit for all axes to 1000 counts
KP10,10,10,10 Set gains for a,b,c and d axes
KP*=10 Alternate method for setting gain on all axes
KPX=10 Alternate method for setting X (or A) axis gain
KPA=10 Alternate method for setting A (or X) axis gain
KP,,10 Set Z axis gain only
KPZ=10 Alternate method for setting Z axis gain