b. If the speed input mode is Analog, rotate the Speed Control potentiometer (R4) clockwise to control
the motor speed. Once the speed command is issued, the device will start commutating and the motor
should start spinning that is proportional to the voltage on the Speed Pin.
c. If the speed input mode is PWM, apply PWM signal to the speed pin with a given duty cycle with a low of
0 V to a high of 2.2 V (min). Once the speed command is issued, the device will start commutating and
the motor should start spinning that is proportional to the duty cycle.
2.
Wait for MPET to estimate motor electrical parameters.
The Motor Parameter Extraction Tool (MPET) will attempt to measure the motor resistance, inductance, and
Motor BEMF constant (Ke) and populate these parameters automatically during the initial position detect
(IPD) and open loop stage as the rotor speed attempts to accelerate. It usually takes around 10-15 seconds
to estimate motor resistance, inductance and Motor BEMF constant Ke.
3.
Check if motor spins in closed loop at commanded speed.
In closed loop, the motor should spin at the commanded speed and there should not be any faults triggered.
a. Enable the “Auto read fault status” toggle button towards the top right corner of the GUI. Then monitor
the Fault Status in the side panel to the right.
If no fault gets triggered, skip
and proceed to
.
4. Prepare device for fault handling if any fault gets triggered.
If the motor failed to spin successfully in closed loop, check the fault status.
a. Set zero speed command by turning off the PWM, turning the potentiometer completely
counterclockwise, or setting the I2C command percentage to 0%.
b. Clear the fault status registers by clicking on the “Clear” button in the Fault Status side panel to the right
as shown in
for steps to debug faults.
This completes the essential controls section. At the end of this section, user should be able to spin the motor in
closed loop. Save the register settings by clicking File->Save Registers in the GUI. If there were no faults, skip to
Figure 3-1. Fault Status
Essential Controls
8
MCF8316A Tuning Guide
SLLU335A – AUGUST 2021 – REVISED JANUARY 2022
Copyright © 2022 Texas Instruments Incorporated