2
$\begingroup$

I have a second order system and I need to control it using a PI controller. I need to tune the gains of the controller in order for the system to satisfy the below specifications:

$$ OS\% < 10\% \rightarrow Overshoot $$ $$ t_r < 1.2 \ seconds \rightarrow Rise \ Time $$

I have derived the third order transfer function of the closed loop system with the controller and I am not able to understand which characteristic polynomial I have to use in order to achieve the specified requirements.

EDIT:

Transfer function of the plant is:

$$ G(s) = \frac{10}{(s+1)(s+9)} $$

Transfer function of PI controller is:

$$ C(s)=\frac{K_p(s+c)}{s} $$ where $\ c = \frac{K_i}{K_p} $

The closed loop transfer function (linear unity feedback) is:

$$ T(s) = \frac{10K_p(s+c)}{s(s+1)(s+9) + 10K_p(s+c)} $$

So now how should I proceed in order to compute the gains $\ K_p $ and $\ K_i $ of the controller in order to satisfy the given specifications ?

$\endgroup$
6
  • $\begingroup$ Edit your question to show us your work, please. $\endgroup$
    – TimWescott
    Commented May 17, 2019 at 23:32
  • $\begingroup$ @TimWescott could you maybe now give me an advice ? $\endgroup$ Commented May 18, 2019 at 12:52
  • $\begingroup$ You're going to need to make an initial guess, followed by some cut and try, then refinement. I would start with the rise time -- what sort of pole position is suggested to you by a settling time of 1.2s, and why? $\endgroup$
    – TimWescott
    Commented May 18, 2019 at 16:30
  • $\begingroup$ With a system this fast, guess and check tuning should be easy. $\endgroup$
    – Drew
    Commented May 19, 2019 at 18:00
  • $\begingroup$ @Drew I have to guess and tune the zero which appears at the open loop transfer and the gain Kp simultaneously? Then check the closed loop response to check requirements ? $\endgroup$ Commented May 19, 2019 at 18:10

1 Answer 1

4
$\begingroup$

Step 1: Draw the root locus of the system.

Root locus of the system Here you can see the two poles of your plant $G(s)$ (marked with an x), at $p_1=-9$ and $p_2=-1$, the pole of your controller $C(s)$ at $p_c = 0$ and the zero (marked with an o) at $z_c = -c$ (for now just at a random location). The purple squares indicate the poles of the closed loop system for a certain gain $K_p$ and can only move over the blue lines (the root locus).

Step 2: Add the design requirements to your root locus.

  • Less than 10% overshoot can be indicated by adding diagonal lines through the origin with a slope of $\frac{\Re}{\Im} = \pm\left|\frac{\ln(10\%)}{\pi}\right|\approx \pm 0.73$, where $\Re$ and $\Im$ represents the real and imaginary axis respectively. All the closed loop poles of your system have to be between these two lines in the left open half plane.

  • Rise time less than 1.2 seconds does not have an analytic expression so cannot be translated directly to the root locus. My suggestion is to rewrite this requirement as a more conservative requirement on the settling time, such that the system is at least at 10% of it's final value within 1.2 seconds. The settling time requirement can be represented as a vertical line at $\Re = \frac{-\ln(0,1)}{t_s(10\%)} \approx -1.9$.

Root locus with design requirements Here you can see the design requirements, the diagonal lines indicate the overshoot at 10% and the vertical line indicates the settling time of 1.2 seconds. To fulfill all the design requirements, all the poles of the closed loop system (purple squares) have to be in the white area. Hence for the current configuration were do not satisfy the design requirements.

Step 3: is to tune the system. Since the purple block (pole) at the right cannot pass the zero and thus not fulfill the design requirements, we start with replacing the zero (e.g. at -1.5, thus $c = 1.5$). This will change the root locus significantly. Root locus with replaced integrator zero.

Now we can start changing the gain $K_p$ until all blocks are in the white area (e.g. $K_p = 2.4$) Root locus with updated gain

Hence, the controller $C(s) = \frac{2.4(s+1.5)}{s}$.

Step 4: Check if the designed controller fulfills the design requirements by taking the step response. Step response of closed-loop system

It can be seen that the overshoot $D = 8\%$ and the rise time $T_r = 0.593 -0.106 = 0.487$ seconds thus all requirements are fulfilled with the current controller.

$\endgroup$
2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.