PX4 / sapog

Sapog - advanced multiplatform ESC firmware
https://kb.zubax.com/x/cYAh
BSD 3-Clause "New" or "Revised" License
204 stars 142 forks source link

Fixed false positive stall detection by raising the ZC failure limit #28

Closed pavel-kirienko closed 6 years ago

pavel-kirienko commented 6 years ago

Context https://forum.zubax.com/t/configuring-orel-for-particular-motor/80


Please read the section “2.2.6 Rotor stall detection” in the reference manual, and look at the parameter mot_zc_fails_max. The reason we have the zero crossing failure limit is that the early revisions of the firmware were prone to synchronization losses under all but ideal operating conditions and the ZC error counter was used to determine if the motor is likely still spinning or not. The modern firmware is much more robust than its early versions (some major improvements were made in the release v2.0 in particular), so the ZC error counter settings should probably be revised.