The PI controller is a widely used closed loop controller for controlling a first order system. The basicfunctionality of a PI controller is to make the feedback measurement track the reference input. It performsthis action by controlling its output till the error between the reference and feedback signals becomeszero.