Proportionalâ€“integralâ€“derivative controller