Delta A2 Servo Electronic Gear Ratio Setup and Troubleshooting

When working with servo systems, achieving precise positioning is critical. A common challenge engineers face is configuring the electronic gear ratio correctly. If you have ever set a Delta A2 servo drive to a ratio like 128/1, sent 10,000 pulses from a PLC, and found the motor did not complete exactly one revolution, you are not alone. This situation often leads to confusion, especially when the drive’s displayed pulse count after homing does not match the PLC’s expected value. Let’s explore why this happens and how to resolve it.

Understanding Electronic Gear Ratio in Delta A2 Servos

The electronic gear ratio in a servo drive scales the input command pulses to the actual motor movement. It is defined by two parameters: the numerator (P1-44) and the denominator (P1-45). The formula is:

Electronic Gear Ratio = (P1-44) / (P1-45)

For a ratio of 128/1, you would set P1-44 = 128 and P1-45 = 1. This means 128 input pulses are required to move the motor one encoder count. However, the actual motor movement per command pulse also depends on the encoder resolution. The Delta A2 series typically uses a 20-bit encoder (1,048,576 pulses per revolution). The relationship is:

Command Pulses per Revolution = Encoder Resolution × (P1-45 / P1-44)

With P1-44=128, P1-45=1, and encoder resolution 1,048,576, the required command pulses for one revolution would be 1,048,576 / 128 = 8,192 pulses. Sending 10,000 pulses would result in more than one revolution (10,000 / 8,192 ≈ 1.22 revolutions). This explains why the motor does not stop at exactly one turn.

Common Causes of Pulse Count Mismatch

Several factors can cause the displayed pulse count on the servo drive to differ from the PLC’s output count, especially after homing:

  • Incorrect Homing Parameters: The homing mode (P1-01) and related settings (P1-02 to P1-04) define how the drive establishes the zero position. If the homing offset (P1-06) is not zero, the drive may display a non-zero pulse count after homing.
  • Pulse Output Type Mismatch: Ensure the PLC’s pulse output mode (e.g., pulse + direction, CW/CCW) matches the servo drive’s input setting (P1-00). A mismatch can cause missed or extra pulses.
  • Electronic Gear Ratio Calculation Error: As shown above, the ratio must be calculated based on the desired movement per command pulse. Many users mistakenly set the ratio to achieve 10,000 pulses per revolution without considering the encoder resolution.
  • Signal Noise or Interference: In industrial environments, electromagnetic interference can corrupt pulse signals. Always use shielded twisted-pair cables and proper grounding.
  • Drive Parameter P0-02 (Display Scaling): This parameter scales the displayed position. If not set to 1:1, the panel may show a value that does not directly correspond to the actual pulse count.

Step-by-Step Configuration for Accurate Positioning

To achieve a 1:1 correspondence between PLC pulses and motor movement, follow these steps:

Step Action Parameter Setting
1 Set pulse input type P1-00 Match PLC output (e.g., 2 for pulse + direction)
2 Calculate gear ratio P1-44, P1-45 For 10,000 pulses/rev: P1-44=1,048,576, P1-45=10,000 (simplify if needed)
3 Set display scaling P0-02 Set to 1 (1:1 scaling) for direct pulse display
4 Configure homing P1-01 to P1-04 Select appropriate homing method and speeds
5 Clear homing offset P1-06 Set to 0

Verifying the Setup

After configuring the parameters, perform these checks:

  • Use the servo drive’s panel to monitor the received pulse count (monitor variable 00-00 or 00-01 depending on mode). Compare it with the PLC’s output count.
  • Execute a relative move command from the PLC for a known distance and measure the actual motor movement with a dial indicator or encoder feedback.
  • Check the homing repeatability by performing multiple homing cycles and observing the final position value.

Troubleshooting Tips

If the pulse count still does not match, consider these advanced checks:

  • PLC Scan Time: High-speed pulse outputs may be affected by the PLC’s scan cycle. Use dedicated motion control modules or interrupt routines for precise pulse generation.
  • Servo Drive Response: Parameter P2-00 (position loop gain) and P2-02 (speed loop gain) affect following error. Tune these for your load to minimize lag.
  • Backlash Compensation: In mechanical systems with gears or couplings, enable backlash compensation (P1-25) if necessary.
  • Firmware Version: Ensure both PLC and servo drive firmware are up to date. Some older versions may have bugs related to pulse counting.

Key Takeaway:

The electronic gear ratio must be calculated based on the encoder resolution and the desired command pulse count per revolution. A ratio of 128/1 with a 20-bit encoder requires 8,192 pulses per revolution, not 10,000. Always verify the homing offset and display scaling to ensure the panel reading matches the PLC’s pulse count.

By carefully setting these parameters and understanding the underlying mechanics, you can achieve precise and repeatable motion control with Delta A2 servo drives. Remember that each application may require fine-tuning, so always test thoroughly before deploying in production.

Similar Posts