xk 87 tools/thermal/tmon/pid.c void controller_handler(const double xk, double *yk) xk 92 tools/thermal/tmon/pid.c ek = p_param.t_target - xk; /* error */ xk 95 tools/thermal/tmon/pid.c xk, p_param.t_target); xk 101 tools/thermal/tmon/pid.c p_term = -p_param.kp * (xk - xk_1); xk 103 tools/thermal/tmon/pid.c d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; xk 107 tools/thermal/tmon/pid.c xk_1 = xk; xk 134 tools/thermal/tmon/tmon.h extern void controller_handler(const double xk, double *yk);