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
|
|
|
|
2023-01-15 14:41:02 +01:00
|
|
|
config MOTOR_FOC_BEMF_SENSE
|
|
|
|
bool "FOC support for Back-EMF sensing"
|
|
|
|
default n
|
|
|
|
|
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
|
|
|
|
2022-01-06 09:19:25 +01:00
|
|
|
config MOTOR_FOC_DUMMY
|
|
|
|
bool "Simulated FOC device"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Build a simulated lower-half FOC device
|
|
|
|
|
2023-11-07 13:41:55 +01:00
|
|
|
config MOTOR_FOC_FOCPWR
|
|
|
|
bool
|
|
|
|
|
2021-03-29 12:18:07 +02:00
|
|
|
endif #MOTOR_FOC
|