AN 669: Drive-On-Chip Design Example for Cyclone V Devices

ID 683466
Date 5/15/2022
Public
Document Table of Contents

6.5. Tuning the PI Controller Gains

The Drive-On-Chip Design Example contains three PI control loops for current (inner most loop), speed and position. You can tune the gain of each PI control loop.

When tuning these gains, only change the values a little at a time while monitoring the performance on the Waveform tab.

  1. On the Current Control tab, enter values for:
    • Kp (proportional gain).
    • Ki (integral gain).
  2. Click Update Parameters.
  3. On the Speed Control tab:
    • Enter values for Kp (proportional gain) and Ki (integral gain).
    • Click Update Parameters.
  4. On the Position Control tab:
    • Enter a value for Position Kp.
    • Click Update Parameters.