mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Parameters (markdown)
@@ -3,12 +3,20 @@ Parameters are used in config.h to configure the behavior of the firmware, by en
|
|||||||
### Battery Management
|
### Battery Management
|
||||||
For parameters related to Battery Management, please visit following [wiki section](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Battery).
|
For parameters related to Battery Management, please visit following [wiki section](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Battery).
|
||||||
|
|
||||||
|
### Variant specific parameters
|
||||||
|
Variant specific parameters are covered in the wiki section of for each variant.
|
||||||
|
|
||||||
### Input Calibration
|
### Input Calibration
|
||||||
For Parameters related to Input Calibration, please visit following [wiki section](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration).
|
For Parameters related to Input Calibration, please visit following [wiki section](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Input-Calibration).
|
||||||
|
|
||||||
## Further Input processing
|
## Further Input processing
|
||||||
After the inputs have been mapped to the MIN, MID and MAX value that have been calibrated, following parameters can help adjust the behavior of the firmware.
|
After the inputs have been mapped to the MIN, MID and MAX value that have been calibrated, following parameters can help adjust the behavior of the firmware.
|
||||||
|
|
||||||
|
### Deadband
|
||||||
|
DEADBAND parameter is used to set a dead area around the MIN value that will still map to a zero input value.<br>
|
||||||
|
This is for example used with PWM variant to prevent jitters at standstill due to signal noise.<br>
|
||||||
|
It can also help in addition to the auto-calibration if your joystick is not perfectly centered.<br>
|
||||||
|
|
||||||
### Rate limiting
|
### Rate limiting
|
||||||
DEFAULT_RATE parameter is used to limit the rate of change of the inputs in the main loop between 2 loop iterations.<br>
|
DEFAULT_RATE parameter is used to limit the rate of change of the inputs in the main loop between 2 loop iterations.<br>
|
||||||
This helps smooth out the final ouput to the motor control model.<br>
|
This helps smooth out the final ouput to the motor control model.<br>
|
||||||
|
Reference in New Issue
Block a user