Home
last modified time | relevance | path

Searched refs:xk_1 (Results 1 – 1 of 1) sorted by relevance

/tools/thermal/tmon/
Dpid.c57 static double xk_1, xk_2; /* input temperature x[k-#] */ variable
87 xk_1 = 0.0; in controller_reset()
112 p_term = -p_param.kp * (xk - xk_1); in controller_handler()
114 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; in controller_handler()
118 xk_1 = xk; in controller_handler()
119 xk_2 = xk_1; in controller_handler()