From ecaaa18286c096dc50d99bfe91d6bd8f77ef7dfa Mon Sep 17 00:00:00 2001 From: Carsten Keller Date: Sun, 9 Jun 2024 17:58:22 +0200 Subject: [PATCH] Limitiere Regelung nur auf 12-Bit-Wert (10-Bit gab probleme beim Regeln (Ziel nicht erreichbar)) --- Source/ElektronischeLast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/ElektronischeLast.cpp b/Source/ElektronischeLast.cpp index 597b9da..df91d39 100644 --- a/Source/ElektronischeLast.cpp +++ b/Source/ElektronischeLast.cpp @@ -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;