raiden00pl
f9a4ace59a
examples/foc: fix warning for sensored configurations
2023-11-13 08:47:21 -08:00
raiden00pl
87dcf877e7
examples/foc: raise error if both sensorless and sensored modes enabled
2023-11-13 08:47:21 -08:00
raiden00pl
8a04e2b282
examples/foc: add #error messages
2023-11-13 08:47:21 -08:00
raiden00pl
3c541c496b
examples/foc: allow sensored velocity mode
2023-11-13 08:47:21 -08:00
raiden00pl
292b0cbc28
examples/foc: change the velocity ramp parameters scale to x1
...
controlling the ramp with greather accuracy makes no practical sense
2023-10-29 10:40:27 +08:00
raiden00pl
8568439b80
examples/foc: configure acceleration and deceleration from command line
2023-10-29 10:40:27 +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
4652c5516d
examples/foc: rename SETPOINT_ADC_SCALE to SETPOINT_INTF_SCALE
...
SETPOINT_INTF_SCALE is more appropriate name because this definition is not only used for ADC scale
2023-10-18 14:15:47 +08:00
raiden00pl
de6a384668
examples/foc: add velocity PI controller
2023-10-18 14:15:12 +08:00
raiden00pl
c8a4abfcb2
examples/foc: remove align configuration checks
...
these are already done when you configure the align routine
2023-10-17 22:42:42 +08:00
raiden00pl
8e0819df04
examples/foc: add velocity observers
2023-10-17 22:42:42 +08:00
raiden00pl
969607ac44
examples/foc: fix setpoint scale for char interface
2023-10-17 14:23:42 +08:00
raiden00pl
13bfad1053
examples/foc: control motor identification parameters from cmd line
2022-11-04 02:07:15 +08:00
raiden00pl
b1f91528ec
examples/foc: separate control thread configuration from general args
2022-11-04 02:07:15 +08:00
raiden00pl
8d61a10a74
industry/foc/foc_ident: make the Ki resistance measurement parameter configurable
...
The hardcoded parameter may not be suitable for various types of motors
2022-10-24 01:14:52 +08:00
raiden00pl
7dbd02947e
examples/foc: support for motor identification
2022-08-28 01:20:53 +08:00
raiden00pl
e6b6c14f53
examples/foc: make the FOC current controller configurable
...
For now only the FOC PI current controller is supported, but this can be easily extended to support other control methods
2022-02-16 23:49:46 +08: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
0577bd2c33
examples/foc: add a simple character based interface to interact with the app
2021-12-08 12:20:42 -06:00
raiden00pl
3fda1294d7
examples/foc: move setpoint and vbus configuration from foc_adc.h to foc_cfg.h
2021-12-07 07:51:12 -06:00
raiden00pl
edeaacedb0
examples/foc/foc_cfg.h: fix typo
2021-12-07 07:51:12 -06: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
9c8e3cc46a
examples/foc: add option to disable open-loop operations
...
Initial step towards sensored control
2021-10-30 10:00:38 -05:00
raiden00pl
864a61a431
Add FOC motor controller example
...
For now, only open-loop velocity control is supported.
2021-04-10 00:40:43 -05:00