Skip to main content
Version: 5.0.x {stable}

Motor sensor type settings for BLDC

This page covers motor sensor settings for BLDC. BLDC algorithm supports only sensorless mode and hall sensor.

info

Next variables are located in the folder /driver.

Parameters

prest [-]

Preferred rotor position estimation mode.

BLDC

prestname
-1Driver is deinitialized, powerstage is in HiZ
0Auto mode
1Force sensoreless mode. (hall sensors are disabled)
2Force 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.