mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Setup current and speed limits (markdown)
@@ -1,15 +1,15 @@
|
||||
## Current Limit
|
||||
## :zap: Current Limit
|
||||
You can adjust I_MOT_MAX parameter in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) file to decrease/increase current limit(Amps).<br>
|
||||
I_DC_MAX should be set to I_MOT_MAX + 2A.<br>
|
||||
|
||||
## 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>
|
||||
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>
|
||||
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>
|
||||
The speed can overshoot the limit, this is a known [issue](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/132).<br>
|
||||
|
||||
## Setting up the Current and Speed limits on the go
|
||||
## :gear: Setting up the Current and Speed limits on the go
|
||||
This feature let's you change the Max Current(I_MOT_MAX) and Max Speed(N_MOT_MAX) on the go without having to modify [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h) and flash the board
|
||||
* press the power button for more than 5 sec and immediately after the beep sound press one more time shortly
|
||||
* move and hold the pots to a desired limit position for Max Current(INPUT1) and Max Speed(INPUT2), maximum being the values you have put in config.h
|
||||
|
Reference in New Issue
Block a user