SLLA575 June   2022 DRV10987 , MCF8316A , MCT8316A

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2Design Challenges and Solutions
    1. 2.1 Minimizing Motor Startup Time
      1. 2.1.1 Align
      2. 2.1.2 Initial Position Detect (IPD)
      3. 2.1.3 Slow First Cycle
    2. 2.2 Improving Motor Speed Stability – Tuning Speed PI Controller
      1. 2.2.1 Auto Tuning
      2. 2.2.2 Manual Tuning
    3. 2.3 Improving System Efficiency by Minimizing Power Losses
  5. 3References

Auto Tuning

MCF8316A auto tunes Kp and Ki coefficients after measuring the mechanical parameters such as friction coefficient, moment of inertia through MPET.

Follow the below steps to auto tune Kp and Ki coefficients:

  1. Program SPD_LOOP_KP and SPD_LOOP_KI to zero.
  2. Enable MPET Ke measurement by setting MPET_KE to 1.
  3. Run the MPET by setting MPET_CMD to 1. Motor starts to spin.
  4. After motor stops spinning, SPD_LOOP_KP and SPD_LOOP_KI gets updated to auto tuned Kp and Ki values.
  5. Issue run command and track the motor speed.
  6. If there is any overshoot during ramp up, check the closed loop current and set the open loop current same as closed loop current.

Figure 2-11 shows the FG, phase current and motor electrical speed in Hz with auto tuned Kp and Ki. Motor speed steadily ramps up to the target speed without any overshoots.

GUID-20220614-SS0I-FHWL-8N1Q-P6PSZFLRWFTV-low.png Figure 2-11 FG, Phase Current and Motor Electrical Speed in Hz With Auto Tuned Kp and Ki