Home
last modified time | relevance | path

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

/linux/tools/thermal/tmon/
A Dpid.c46 static double xk_1, xk_2; /* input temperature x[k-#] */ variable
76 xk_1 = 0.0; in controller_reset()
101 p_term = -p_param.kp * (xk - xk_1); in controller_handler()
103 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; in controller_handler()
107 xk_1 = xk; in controller_handler()
108 xk_2 = xk_1; in controller_handler()

Completed in 2 milliseconds