i don't know that controller, but it sounds like an instability in the compensation or feedback network during coasting. Are there settings for regeneration and where does the excess energy go during regen--is it setup to return to the pack or is it passed to a resistor to dissipate as heat?
If the encoder were not aligned then it seems like it wouldn't work well under acceleration and to high speed? So i suspect the issue elsewhere.
What kind of motor is it, what sensor is used for commutation, are there any other sensors for feedback such as hall sensors, tachometer, resolver, etc.? How are you using the controller--to do torque control (with current feedback) or speed control (with ? for feedback) ?
If the encoder were not aligned then it seems like it wouldn't work well under acceleration and to high speed? So i suspect the issue elsewhere.
What kind of motor is it, what sensor is used for commutation, are there any other sensors for feedback such as hall sensors, tachometer, resolver, etc.? How are you using the controller--to do torque control (with current feedback) or speed control (with ? for feedback) ?