Updated Setup current and speed limits (markdown)

Candas1
2022-04-21 11:06:20 +02:00
parent e7e516fd48
commit 13c75ce07c

@@ -4,7 +4,14 @@ I_DC_MAX should be set to I_MOT_MAX + 2A.<br>
## :o: Speed Limit ## :o: Speed Limit
You can adjust N_MOT_MAX in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase the speed limit(RPMs).<br> You can adjust N_MOT_MAX in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase the speed limit(RPMs).<br>
This is only limiting the speed, the speed you will actually reach depends on control type, control mode, phase advance/field weakening settings, speed coefficient, and current limit.<br> This is only limiting the speed, the speed you will actually reach depends on:
* [Control type/Control mode](https://github.com/EFeru/hoverboard-firmware-hack-FOC#foc-firmware)
* [Phase advance/Field weakening](https://github.com/EFeru/hoverboard-firmware-hack-FOC#field-weakening--phase-advance) settings
* Type of [wheel/wiring](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Hoverboard-Wheels)
* The [input calibration](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration)
* [Speed coefficient](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Parameters#coefficients)
* [Current limit](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Setup-current-and-speed-limits/_edit#zap-current-limit)
Be aware that the firmware has a hard limit of 2000 RPMs to prevent overflows.<br> Be aware that the firmware has a hard limit of 2000 RPMs to prevent overflows.<br>
This [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/86) explains how to reach high speeds, but use it at your own risk.<br> This [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/86) explains how to reach high speeds, but use it at your own risk.<br>
The speed can overshoot the limit, this is a known [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/132).<br> The speed can overshoot the limit, this is a known [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/132).<br>