## Step response of control system with PI controller

In this post, we will see the step response of control system with and without PI controller.

**Step response without PI controller**

A unity feedback closed loop system has a open loop transfer function as shown below

We can see that the steady state error for a unit step input is 0.5 for the given system.

It is also seen that the response has settled at 0.5, so steady state error is 1-0.5=0.5 (Refer the response below)

**Step response with PI controller**

We saw in the video lecture that PI controller is used to decrease the steady state error without affecting the stability.

Let us see, how the PI controller denoted by will improve the steady state error of the system G(s) described above. So after adding PI controller in the forward path , overall closed loop looks like the diagram below, where (R(s) is the input i.e unit step function, since we are interested in step response)

Let be

i.e

So the combined open loop transfer function (OLTF) is =

After unit step input is applied as shown in the block diagram, the unit step response looks like below.

So , we can see the difference in step response before and after adding Proportional Integral controller(PI). PI controller is used to improve steady state response in cases like these. Always remember that increasing the type of the system decreases the steady state error.

In this case, introducing PI controller in the forward path has helped us achieve zero steady state error for step input instead of 0.5. If you have any doubts regarding this topic, please use comments section.