We observe that by increasing (in absolute value) πΎπ, the final steady state value of ββ²(π‘)decreases, i.e. it gets closer to the set-point of 0. Correspondingly the error πdecreases (in absolute value). However, an offset between the value of the controlled variable and its set-point remains. This is as expected for a P controller. Note that in this example the values of πΎπhave to be negative. This is because when the level increases, the error π(π‘)is negative and we want an increase in the πβ²(π‘)signal, i.e. an increase in theoutlet flow rate. Therefore, πΎπhas to be negative to convert a negative π(π‘)into a positive πβ²(π‘).d) A change in the disturbance is considered, so the closed loop response equation for the regulator problem should be used. Furthermore, it is given that the disturbance undergoes a step change of size 0.001 m3/s, so its Laplace transform is πΉπβ²(π )=0.001π . We have a P controller only, so the closed loop response equation becomes:-1.5-1-0.500.511.502004006008001000h'(t), Ξ΅(t) [m]time [s]h (no control)Ξ΅(no control)-1.5-1-0.500.511.502004006008001000h'(t), Ξ΅(t) [m]time [s]h (no control)Ξ΅(no control)h (Kc=-0.3)h (Kc=-1)Ξ΅(Kc=-0.3)Ξ΅(Kc=-1)
ββ²(π )=πΊπ(π )1+πΊπ(π )βπΊπ(π )βπΊπ(π )β
πΊπ(π )β
πΉπβ²(π )=1s1+0.01βπΎπβ(β1s)β
1β
0.001π =0.001s(1+0.01βπΎπβ(β1s))π =0.001(π β0.01βπΎπ)π The final state steady value of ββ²(π‘)predicted by the above equation can be found in a variety of ways. Using e.g. the Final Value Theorem it can be found:limπ‘ββ(ββ²(π‘))=limπ β0(π ββ²(π ))=limπ β0(π 0.001(π β0.01βπΎπ)π )=limπ β0(0.001(π β0.01βπΎπ))=β0.1πΎπThe offset can be calculated from: ππππ ππ‘=πππ€_π πβπππππ_π£πππ’π=0β(β0.1πΎπ)=0.1πΎπ. For the πΎπvalues studied we hence have:πΎπππππ ππ‘-0.3-0.333-1-0.1It can be verified from the plots obtained above that the calculated offsets agree with the simulated ones. It can also be seen that as πΎπincreases the offset decreases, as expected from the analysis of P controllers.e) The comparison of P and PI control actions should look as follows:-0.15-0.1-0.0500.050.10.1502004006008001000h'(t), Ξ΅(t) [m]time [s]h (P, Kc=-1)h (PI, Kc=-1, ΟΞ=20)Ξ΅(P, Kc=-1Ξ΅h (PI, Kc=-1, ΟΞ=20)
This comparison is according to the expected differences between the P and PI control actions. The PI action removes the offset and the final value of the error is0.This is as expected due to thedefinition of the PI control action:πβ²(π‘)=πΎππ(π‘)+πΎπππΌβ«π(π‘)ππ‘π‘0The only way to obtain a πβ²(π‘)value at the new steady state which is constant and different from the initial value (assumed to be 0) is to have an error π(π‘)=0at the new steady state. When π(π‘)=0, the integralterm in the PI control action is constant and β 0.On the other hand, for a P controller the only way to have a πβ²(π‘)value at the new steady statedifferent than 0 is to have an error different than 0.Itcan be observed that the new steady state value of the controller signal πβ²(π‘)is the same for the Pand PI controller. This is as expected, since the value of πβ²(π‘)determines (via the transfer function ofthe valve) the value of the manipulated variableπΉπβ²(π‘), which should be the same for any controllertype, and should be the same as the input feed πΉπβ²(π‘)(the liquid level should be constant at the newsteady state).However, the PI controller brings the disadvantage of the oscillatory response, which is an outcome of the increase in the order of the closed-loop system in comparison to the open loop system by the addition of the I action. Note that when the error reaches 0 for the first time, the value of the controller signal πβ²(π‘)is at itsmaximum and not at the final steady state value. Therefore, the value of the integral has to decreaseand, to do so, the error has to change sign, i.e. the response has to be oscillatory