nuttx-apps/industry/foc/Kconfig
raiden00pl d75d6b7af0 Add FOC library
Supported features:
- float and fixed16 operations
- helper interface to interact with the kernel-side FOC device
- general interface for FOC controller
- PI current/voltage controller
- 3-phase space vector modulation
- general interface for FOC model
- PMSM model
- general interface for phase angle data
- open-loop handler
- general interface for phase velocity data
- general interface for ramp (eg. velocity ramp, torque ramp)
- (WIP) CORDIC interface for hardware acceleration
2021-04-10 00:39:09 -05:00

70 lines
1.4 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config INDUSTRY_FOC
bool "FOC Library"
default n
select LIBDSP
---help---
Enable or disable the FOC Library
if INDUSTRY_FOC
config INDUSTRY_FOC_CORDIC
bool "Enable CORDIC support"
depends on EXPERIMENTAL
default n
---help---
Enable support for CORDIC hardware acceleration
config INDUSTRY_FOC_FIXED16
bool "Enable support for fixed16"
default n
---help---
Enable support for FOC fixed16 calculations
config INDUSTRY_FOC_FLOAT
bool "Enable support for float"
default n
---help---
Enable support for FOC float calculations
config INDUSTRY_FOC_HANDLER_PRINT
bool "FOC handler state printer"
default n
---help---
Enable support for FOC handler state printer
config INDUSTRY_FOC_ANGLE_OPENLOOP
bool "FOC angle open-loop handler"
default y
---help---
Enable support for open-loop angle handler
config INDUSTRY_FOC_CONTROL_PI
bool "FOC PI controller"
default y
---help---
Enable support for classic FOC PI controller
config INDUSTRY_FOC_MODULATION_SVM3
bool "FOC SVM3 modulation"
default y
---help---
Enable support for FOC 3-phase space vector modulation
config INDUSTRY_FOC_MODEL_PMSM
bool "FOC PMSM model support"
select INDUSTRY_FOC_HAVE_MODEL
default n
---help---
Enable support for PMSM model
config INDUSTRY_FOC_HAVE_MODEL
bool
default n
endif