AN1905 ST Microelectronics, Inc., AN1905 Datasheet - Page 40

no-image

AN1905

Manufacturer Part Number
AN1905
Description
St7mc Three-phase BLDC Motor Control Software Library
Manufacturer
ST Microelectronics, Inc.
Datasheet
ST7MC THREE-PHASE BLDC MOTOR CONTROL SOFTWARE LIBRARY
Figure 17. Commutation event processing (Sensorless mode only) continued
40/77
SW DEMAG
HW DEMAG
Update MCOMP& MPRSR with step
Enable D event if RampIndex= 2
Bemf are present and consecutive?
time and ratio stored in RAMP[ ]
(same number of C & Z event?)
(RampIndex = bemf_blank?)
Return from interrupt
Reset CeventCounter
Bemf blanking over?
without success?
& BemfCounter
Ramp finished
no
no
no
MDREG = MCOMP/(SWITCHED_SW_DEMAG)
yes
yes
yes
HSW DEMAG
Enable Z event
CeventCounter++
C_IT_ForcedSW
Stop motor

Related parts for AN1905