Skip to main content
FW version: Stable

What is the difference between iref & ipeak?

note

Both parameters can be found in the /driver folder.

  • iref: the reference current to the PID current control loop.
  • ipeak: the absolute current limit

The PID control may not always be flawless and may result in overshooting at times. However, the IPEAK comes into action and effectively eliminates the overcurrent. You will be notified of the overcurrent detection by displaying the message "overcurrent detected" in the terminal, and the corresponding flag in /driver/state will be set.

IREF vs IPEAK