User Manual

Table Of Contents
AC-induction-Motor-Operation
140 Advanced Digital Motor Controller User Manual V2.1, December 3, 2020
increased for low speed/high torque requirement and can be decreased (Field Weaken-
ing) for high speed/ low torque requirement.
Set the operating mode to FOC torque. Set Amps limit according to the applications
need but do not exceed the motor specifications.
Save the settings to the controller.
Next step is to tune FOC (Flux and Torque) PID. Start with low proportional gain e.g.
0.1, and then set some Integral gain. Integral gain is more important in this case.
Alternatively use the method as described in chapter “FOC Gains Tuning” in Section 8,
using the Stator Resistance (Rs) and the Stator Inductance (Ls).
Monitor and Record the Flux Amps and Torque Amps for the desired motor channel
when tuning the FOC PID.
Put some high load on the rotor and command a step Torque Amps from the slider bar
(say 10A). Record the “FOC Torque Amps” reading on the chart. If the step response
reaches the desired (10A) steady state fast enough then the PID is can be considered
tuned. If it is slow then increase integral gain. If the Torque and Flux Amps show noise
at high speed or motor produces noisy sound, then lower your proportional gain Kp.
Once FOC/current PID is tuned, FOC torque mode is ready to operate and FOC speed
mode can then be tuned. Note: It is important to know the value of Flux Amps the mo-
tor is designed to operate under. Flux Amps stay the same during entire FOC operation
unless field weakening is used.
Now motor Torque can be set to any desired value from 0 to plus or minus the value stored
in the Amps Limit configuration parameter, by sending a command of -1000 to +1000 using
the slider, analog input, pulse input, scripting, CAN or any other command mode.
Note that in Torque Mode, the Max Speed RPM configuration parameter is used to limit
the motor speed if the motor is not loaded and the desired torque is below the torque
that can actually be reached by the motor under the current load conditions. For example,
a torque command of 50A on an unloaded motor (that will never draw 50A) will cause the
voltage to increase to the maximum value, and therefore the motor to maximum speed,
unless the speed is limited by the Max RPM parameter. For more details see chapter
“Speed Limiting in FOC Torque Mode” below.
Note that, with bad tuning of FOC (flux and torque) PID, the motor might draw much high-
er current than expected. If so, try using lower bandwidth for FOC gains. For more details
see chapter “FOC Gains Determination & Tuning, page 122.
Configuring FOC Speed Mode
To configure FOC Speed mode, configure first the FOC Torque mode as described in the
section above.
Set the controller to FOC Speed Mode
Tune speed loop PID in a similar manner as was done for FOC PID. Use the PID gains
found in the Motor Output, Closed Loop Speed Parameters menus (do not use the FOC
PID gains). It can be started with Kp term and introduce small Kd term. Once transient re-
sponse on the graph seems reasonable then Ki can be used to get rid of steady state error.
Now motor Speed can be set to any desired value from 0 to plus or minus the value stored
in the Max RPM configuration parameter, by sending a command of -1000 to +1000 using
the slider, analog input, pulse input, scripting, CAN or any other command mode.
E.g. use the Roborun slider, or the console command
!G 1 800