Limitiere Regelung nur auf 12-Bit-Wert (10-Bit gab probleme beim Regeln (Ziel nicht erreichbar))

This commit is contained in:
Carsten Keller 2024-06-09 17:58:22 +02:00
parent 96b47ec852
commit ecaaa18286
Signed by: carsten
GPG Key ID: DF06343A3A9B8868

View File

@ -64,7 +64,7 @@ static PIDController pid =
.limMin = 0.0f,
.limMax = 4095.0f,
.limMinInt = 0.0f,
.limMaxInt = 2048.0f,
.limMaxInt = 4095.0f,
.T = 0.001f,
};
static uint32_t dac_value;