Motor sensor type settings for BLDC
This page covers motor sensor settings for BLDC. BLDC algorithm supports only sensorless mode and hall sensor.
Next variables are located in the folder /driver
.
Parameters
prest
[-]
Preferred rotor position estimation mode.
BLDC
prest | name |
---|---|
-1 | Driver is deinitialized, powerstage is in HiZ |
0 | Auto mode |
1 | Force sensoreless mode. (hall sensors are disabled) |
2 | Force hall sensors. (Sensoreless is disabled) |
Auto mode mode (prest = 0)
In this mode, the driver automatically selects between sensored and sensorless mode. Typically, hall sensors are used only for startup.
If there is an error on hall sensors or they are disconnected, sensorless mode is used.
Shell commands
reinit [prest]
Deinitializes the Driver block. Then, start the Driver initialization procedure.
If the reinit
command is run without parameters, it starts new initialization with the currently set rotor angle estimation. If the parameter [prest]
is entered, new Driver initialization is done for the motor sensor defined by the parameter prest
.