Commit Graph

19 Commits

Author SHA1 Message Date
raiden00pl
27588be53e examples/foc: replace CONFIG_INDUSTRY_FOC_* with CONFIG_EXAMPLES_FOC_*
Decouple the FOC example configuration from the FOC lib configuration.
Purely cosmetic change, without affecting functionality.
2023-11-18 08:40:16 -08:00
raiden00pl
fa19b71ba4 examples/foc: get iphase scale from the FOC device interface 2023-11-15 03:48:53 -08:00
raiden00pl
ce53f0fc4c examples/foc: add torque saturation 2023-11-14 09:46:07 -08:00
raiden00pl
dc4330476d examples/foc: add velocity saturation 2023-11-14 09:46:07 -08:00
raiden00pl
1c922f2d2d examples/foc: add phase angle observer support (sensorless mode)
This app can work now as sensorless ESC.

Also introduce a cmd line option that force open-loop control
which is useful when tuning angle/velocity observers
2023-10-19 19:33:43 +08:00
raiden00pl
de6a384668 examples/foc: add velocity PI controller 2023-10-18 14:15:12 +08:00
raiden00pl
8e0819df04 examples/foc: add velocity observers 2023-10-17 22:42:42 +08:00
raiden00pl
9bcca69967 examples/foc: initialize motor phy 2023-10-17 22:42:42 +08:00
raiden00pl
b88057fffd examples/foc: support svm3 state with nxscope 2023-10-05 20:42:46 +08:00
raiden00pl
111e02dbdb examples/foc: improve the readability of the motor structures 2023-05-17 13:45:24 +08:00
raiden00pl
7dbd02947e examples/foc: support for motor identification 2022-08-28 01:20:53 +08:00
raiden00pl
95b1625a6d examples/foc/foc_motor: store the configured FOC run mode in a separate variable
The controller mode can change during example execution and depends on the thread state (IDENT [not yet upstream] / ALIGN / RUN)
2022-02-17 10:30:41 +01:00
Petro Karashchenko
9480c0ec12 include: fix double include pre-processor guards
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 17:36:21 +08:00
raiden00pl
15b66aa128 examples/foc: add Qenco support 2021-11-07 03:44:03 -06:00
raiden00pl
5ee9572531 examples/foc: add Hall sensor support 2021-11-04 13:50:57 -05:00
raiden00pl
c771942d8e examples/foc: add support for sensor alignment 2021-11-04 13:50:57 -05:00
raiden00pl
b30f3329f6 foc/examples: initial logic to support torque, velocity and position controller modes 2021-11-04 13:50:57 -05:00
raiden00pl
b0eeefd0a5 examples/foc: add logic for controller state machine 2021-11-04 13:50:57 -05:00
raiden00pl
f9cec1c770 examples/foc: move the motor controller code to separate files 2021-10-31 12:13:45 -05:00