d_term 90 tools/thermal/tmon/pid.c double p_term, i_term, d_term; d_term 103 tools/thermal/tmon/pid.c d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; d_term 105 tools/thermal/tmon/pid.c *yk += p_term + i_term + d_term;