SLLU363 may 2023 MCF8315A
Decelerating the motor quickly requires motor mechanical energy to be extracted and disposed - input DC voltage increases if this energy is returned to the DC input supply. When active braking is enabled, energy taken from DC power supply is used to brake the motor - this prevents DC voltage spike during fast deceleration. The mechanical energy of the motor and energy taken from DC source, both are dissipated within the motor itself.
Follow below steps to decelerate the motor quickly.
Step 1: Enable active braking [ACTIVE_BRAKE_EN].
Step 2: Configure ACTIVE_BRAKE_CURRENT_LIMIT. This sets the maximum limit on the current sourced from the DC bus during active braking. Active brake current limit should be configured to a value lesser than the power supply current limit.
Step 3: Configure ACTIVE_BRAKE_BUS_CURRENT_SLEW_RATE. This sets the slew rate of the DC bus current starting from 0A to ACTIVE_BRAKE_CURRENT_LIMIT.
Step 4: Configure ACTIVE_BRAKE_MOD_INDEX_LIMIT. This sets the modulation index limit below which active braking will be applied. Above this modulation index, device will apply AVS if AVS is enabled. Setting a higher modulation index limit will decelerate the motor much faster.
Modulation index [VOLT_MAG] can be read back from ALGO_STATUS register.
Step 5: MCF8315A uses a PI controller to generate the D-axis reference current. Manually tune ACTIVE_BRAKE_KP and ACTIVE_BRAKE_KI if the active brake current looks unstable.