Commit Graph

18 Commits

Author SHA1 Message Date
raiden00pl
6cf6a73fc0 industry/foc: add support for PMSM feedforward compensation
reference: https://electronics.stackexchange.com/questions/386246/field-oriented-control-feed-forward-term
2023-10-17 14:24:23 +08:00
raiden00pl
a56f0922c5 industrial/foc: add an interface that returns the modulation state
Useful for debugging and demonstrating FOC operation
2023-10-05 20:42:46 +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
fbb09ff128 foclib/fixed16: add support for observers 2022-02-20 21:55:14 +08:00
raiden00pl
54c0b9a9d8 industry/foc/foc_align: add support for sensor index search 2021-11-07 03:46:17 -06:00
raiden00pl
4001d27571 industry/foc: add support for Hall sensor 2021-10-30 10:17:07 -05:00
raiden00pl
5b52247625 industry/foc: add support for qenco 2021-10-30 10:17:07 -05:00
raiden00pl
515a25fbb8 industry/foc/*/foc_velocity.c: add methods to set the zero velocity and direction of the velocity 2021-10-30 10:17:07 -05:00
raiden00pl
6cafdae44a industry/foc/*/foc_angle.c: add methods to set the zero angle and direction of the angle 2021-10-30 10:17:07 -05:00
raiden00pl
2e61b3e310 industry/foc/*/foc_velocity.c: run method should return int 2021-10-30 10:17:07 -05:00
raiden00pl
cb78f6d0df industry/foc/*/foc_angle.c: run method should return int 2021-10-30 10:17:07 -05:00
raiden00pl
27c282a58a include/industry/foc/*/foc_angle.h: add a field with angle type 2021-10-30 10:17:07 -05:00
raiden00pl
9362fe760d include/industry/foc/*/foc_handler.h: remove useless FAR 2021-10-30 01:19:43 -05:00
raiden00pl
f009d68a91 industry/foc: add motor identification routine 2021-10-30 01:18:12 -05:00
raiden00pl
f2fc2af8e3 industry/foc: add sensor alignment routine 2021-10-30 01:18:12 -05:00
raiden00pl
084cfa4e5e industry/foc: add general FOC routine handler 2021-10-30 01:18:12 -05:00
raiden00pl
a0fbd104fa industry/foc: add support for CORDIC 2021-07-28 14:24:08 -03:00
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