Struct SYN_AutoTune_Config¶
ClassList > SYN_AutoTune_Config
Auto-tuner configuration.
#include <syn_autotune.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_DataLog * | datalog |
| SYN_AutoTune_Flags | flags |
| uint16_t | gain_multiplier_pct |
| SYN_AutoTune_Limits | limits |
| uint32_t | measure_ms |
| SYN_AutoTune_Method | method |
| SYN_AutoTune_Mode | mode |
| uint32_t | ramp_ms |
| uint8_t | relay_cycles |
| int32_t | setpoint |
| uint32_t | settle_ms |
| int32_t | test_output |
| uint32_t | watchdog_ms |
Public Attributes Documentation¶
variable datalog¶
If set, capture tuning telemetry
variable flags¶
Feature enablement flags
variable gain_multiplier_pct¶
Gain multiplier percentage (1-200). Default: 100. Allows applying a safety margin to calculated PID gains (e.g., 80 for 80%).
variable limits¶
Physical constraints
variable measure_ms¶
Duration to average velocity
variable method¶
PID gain formula
variable mode¶
Operating mode
variable ramp_ms¶
Ramp time — ms to ramp from 0 to test_output. Default: 500 ms. Prevents jerking heavy loads with a step input.
variable relay_cycles¶
Oscillation cycles to measure
variable setpoint¶
Position to oscillate around
variable settle_ms¶
Time to reach steady-state
variable test_output¶
Motor output during test (% of output_max). If 0, the tuner will probe for the minimum motion output.
variable watchdog_ms¶
Abort if update() not called within this time (ms). Protects against application crashes. Default: 500 ms.
The documentation for this class was generated from the following file src/syntropic/control/syn_autotune.h