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

Manual Tuning

Kp and Ki coefficients can also be tuned manually by following below steps:

  1. Disable Speed loop by setting SPEED_LOOP_DIS to 1.
  2. Disable closed loop by setting CLOSED_LOOP_DIS to 1.
  3. Spin the motor in open loop by issuing non-zero speed command.
  4. Allow the open loop current to settle down and then measure the peak open loop phase current. Check the sign of the phase current by reading the Estimated Iq (register address: 0x000004E6).
  5. Enter 110% of measured peak phase current as the Iq reference in FORCE_IQ_REF_SPEED_LOOP_DIS. To convert Iq reference to FORCE_IQ_REF_SPEED_LOOP_DIS, see the MCF8316A Sensorless Field Oriented Control (FOC) Integrated FET BLDC Driver Data Sheet.
  6. Enable closed loop by setting CLOSED_LOOP_DIS to 0.
  7. Adjust the FORCE_IQ_REF_SPEED_LOOP_DIS such that the motor speed reaches the maximum speed.
  8. Calculate Speed loop Kp [SPD_LOOP_KP] and Speed loop Ki [SPD_LOOP_KI] using equation 1 and 2.
  9. Enable speed loop by setting SPEED_LOOP_DIS to 0.

S p e e d   l o o p   K p   =   I q   r e f e r e n c e   a t   m a x i m u m   s p e e d M a x i m u m   E l e c t r i c a l   S p e e d   i n   H z  

S p e e d   l o o p   K i = 0.1   × S p e e d   l o o p   K p

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

GUID-20220610-SS0I-FC0G-TXDN-R8NHRVL9X7RM-low.png Figure 2-12 FG, Phase Current and Motor Electrical Speed in Hz With Manually Tuned Kp and Ki

Figure 2-13 shows FG, phase current and motor electrical speed in Hz when the phase current drops from 3A to 1.5A. With well-tuned speed controller Kp and Ki coefficients, speed slightly overshoots for less than a second and recovers back to the steady state speed.

GUID-20220610-SS0I-VFPQ-TVDL-SMJFRLJBFMSQ-low.png Figure 2-13 FG, Phase Current and Motor Electrical Speed in Hz When the Phase Current Drops From 3A to 1.5A