Commit Graph

9 Commits

Author SHA1 Message Date
Carl Ljungholm 84f2253f98 Limit m_speed_pid_set_rpm to achievable RPM.
If m_speed_pid_set_rpm is allowed to exceed foc_openloop_rpm before index is found,
then there will be a jump in torque when index is found.
If m_speed_pid_set_rpm is allowed to exceed [l_min_erpm, l_max_erpm] then there is
a wind up effect since it will take time for m_speed_pid_set_rpm to return to valid
range due to ramp limit.
2024-02-20 11:29:59 +01:00
Benjamin Vedder a207d75a69 Added foc-play-samples 2023-12-31 17:26:15 +01:00
Benjamin Vedder f9d5ee138d Added support for playing up to 3 audio channels while the motor is running 2023-12-26 22:37:41 +01:00
Benjamin Vedder fd80107522 More hall sensor tweaks 2023-08-08 19:56:48 +02:00
Benjamin Vedder 9eb978ef15 Added option to select PID speed controller source, some cleanup 2023-07-01 14:51:08 +02:00
Benjamin Vedder c01de39288 Added res, ind and lambda estimation lbm commands 2022-12-19 00:14:57 +01:00
Benjamin Vedder d6d6aefc68 Duty downramp transition rewrite 2022-12-10 23:34:11 +01:00
Benjamin Vedder e025e177e0 Observers, observers, observers 2022-05-21 22:54:12 +02:00
Benjamin Vedder b900ffcde5 Orginized files 2022-05-15 11:55:34 +02:00