PID controller for viacar