#SLVSCP28146 shows the motor-start sequence implemented in the DRV10982-Q1 device.
Power-On StateThis is the initial power-on state of the motor start sequencer (MSS). The MSS starts in this state on initial power-up or whenever the DRV10982-Q1 device comes out of either standby or sleep mode.
ISDen JudgmentAfter power-on, the DRV10982-Q1 MSS enters the ISDen judgment where it checks to see if the initial speed detect (ISD) function is enabled (ISDen = 1). If ISD is disabled, the MSS proceeds directly to the BrkEn Judgment. If ISD is enabled, the motor start sequence advances to the ISD state.
Speed<ISDThr JudgmentIf the motor speed is lower than the threshold defined by ISDThr[1:0], then the motor is considered to be stationary and the MSS proceeds to the BrkEn judgment. If the speed is greater than the threshold defined by ISDThr[1:0], the start sequence proceeds to the Forward judgment.
Forward JudgmentThe MSS determines whether the motor is spinning in the forward or the reverse direction. If the motor is spinning in the forward direction, the DRV10982-Q1 device executes the resynchronization (see GUID-C8C99B7B-D99E-40AA-9CB3-5CF77A3F8895.html#GUID-C8C99B7B-D99E-40AA-9CB3-5CF77A3F8895) process by transitioning directly into the ClosedLoop state. If the motor is spinning in the reverse direction, the MSS proceeds to the Speed>RvsDrThr.
Speed>RvsDrThr JudgmentThe motor start sequencer checks to see if the reverse speed is greater than the threshold defined by RvsDrThr[1:0]. If it is, then the MSS returns to the ISD state to allow the motor to decelerate. This prevents the DRV10982-Q1 device from attempting to reverse drive or brake a motor that is spinning too quickly. If the reverse speed of the motor is less than the threshold defined by RvsDrThr[1:0], then the MSS advances to the RvsDrEn judgment.
RvsDrEn JudgmentThe MSS checks to see if the reverse drive function is enabled (RvsDrEn = 1). If it is, the MSS transitions into the RvsDr state. If the reverse drive function is not enabled, the MSS advances to the BrkEn judgment.
RvsDr StateThe DRV10982-Q1 device drives the motor in the forward direction to force it to rapidly decelerate (see GUID-71679C0A-38EC-4485-9AE8-727D982E01F1.html#GUID-71679C0A-38EC-4485-9AE8-727D982E01F1). When it reaches zero velocity, the MSS transitions to the Accelerate state.
BrkEn JudgmentThe MSS checks to determine whether the brake function is enabled (BrkDoneThr[2:0] ≠ 000). If the brake function is enabled, the MSS advances to the brake state.
Time>BrkDoneThr JudgmentThe MSS applies brake for a time configured by BRKDoneThr[2:0]. After brake state, the MSS advances to the IPDEn judgment.
IPDEn JudgmentThe MSS checks to see if IPD has been enabled (IPDCurrThr[3:0] ≠ 0000). If the IPD is enabled, the MSS transitions to the IPD state. Otherwise, it transitions to the align state.
Align StateThe DRV10982-Q1 device performs the align function (see GUID-792898C5-5F2E-45FA-BAFE-0079086EB996.html#GUID-792898C5-5F2E-45FA-BAFE-0079086EB996). After the align completes, the MSS transitions to the Accelerate state.
IPD StateThe DRV10982-Q1 device performs the IPD function. The IPD function is described in GUID-4692CE62-D9BB-4081-8A4A-C70689F09942.html#GUID-4692CE62-D9BB-4081-8A4A-C70689F09942. After the IPD completes, the MSS transitions to the accelerate state.
Accelerate StateThe DRV10982-Q1 device accelerates the motor according to the settings of StAccel and StAccel2. After applying the accelerate settings, the MSS advances to the Speed>Op2ClsThr judgment.
Speed>Op2ClsThr JudgmentThe motor accelerates until the drive rate exceeds the threshold configured by the Op2ClsThr[4:0] settings. When this threshold is reached, the DRV10982-Q1 device enters into the ClosedLoop state.
ClosedLoop StateIn this state, the DRV10982-Q1 device drives the motor based on feedback from the commutation control algorithm.
DIR Pin Change JudgmentIf the DIR pin is changed during any of above states, DRV10982-Q1 device stops driving the motor and restarts from the beginning.