2021-03-29 12:18:07 +02:00
|
|
|
menuconfig MOTOR_FOC
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "FOC (Field Oriented Controller) driver support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables building of the "upper-half" FOC driver.
|
2021-03-29 12:18:07 +02:00
|
|
|
|
|
|
|
if MOTOR_FOC
|
|
|
|
|
|
|
|
config MOTOR_FOC_INST
|
2021-12-14 08:52:49 +01:00
|
|
|
int "FOC instances"
|
|
|
|
default 1
|
2021-03-29 12:18:07 +02:00
|
|
|
|
|
|
|
config MOTOR_FOC_PHASES
|
2021-12-14 08:52:49 +01:00
|
|
|
int "FOC phases number"
|
|
|
|
default 3
|
2021-03-29 12:18:07 +02:00
|
|
|
|
|
|
|
config MOTOR_FOC_SHUNTS
|
2021-12-14 08:52:49 +01:00
|
|
|
int "FOC number of shunts"
|
|
|
|
range 1 3
|
|
|
|
default 3
|
|
|
|
---help---
|
|
|
|
Number of shunts supported (or other types of current sensors).
|
|
|
|
Any current reconstruction must be done on the lower-half side.
|
2021-03-29 12:18:07 +02:00
|
|
|
|
|
|
|
config MOTOR_FOC_TRACE
|
2021-12-14 08:52:49 +01:00
|
|
|
bool "FOC trace support"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables FOC driver trace interface.
|
2021-03-29 12:18:07 +02:00
|
|
|
|
|
|
|
endif #MOTOR_FOC
|