From 9f3ff5d12fdd2f76adbfad909797a831ccc02c1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zeng=20wei=20=28=E6=9B=BE=E5=A8=81=29?= Date: Sun, 3 Mar 2024 15:50:08 +0800 Subject: [PATCH] =?UTF-8?q?pi=E6=B5=8B=E8=AF=95=EF=BC=8C19.2=EF=BC=8C0.02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HARDWARE/PID.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HARDWARE/PID.c b/HARDWARE/PID.c index 7e7ce0c..ec4eba7 100644 --- a/HARDWARE/PID.c +++ b/HARDWARE/PID.c @@ -105,8 +105,8 @@ int calc_p(float t_t, float t_c, float error, int p_b, float pid_p, float pid_i) void PID_Calc() // pid calc { pid.set_tem = 37; - pid.Kp = 9.6; - pid.Ki = 0.01; + pid.Kp = 19.2; + pid.Ki = 0.02; int p_base = 52; float DelEk; // The difference between the last two deviations // float td;