Learning Objectives On successful completion on this part you should be able to
- Simulate control systems using Simulink
- Evaluate control system performance using Simulink
On successful completion on this part you should be able to
- Build fuzzy inference systems using Matlab
- Simulate fuzzy inference systems
- Draw surface view between the input and output.
STAGE 1: Control System Simulation
- To simulate control systems using Simulink
- To evaluate control system performance
Figure 1: Proportional control for the system without disturbance
Procedure
- We opened matlab>>Simulink>>new model.
- The model as shown in figure 1 above. The blocks were placed on the model by clicking on the library browser>>commonly used blocks/continuous blocks. Eg to add the integrator we clicked library browser>>commonly used blocks, we right clicked the integrator and choose the option Add block to model.
- The block properties were changed to those of the blocks in figure 1 by double clicking the block.
- In addition to the blocks as shown figure 1 we added a step input and a scope. Figure 2 below shows the construction of the model Simulink
Figure 2: Model construction in matlab simulink
- We then defined Kp in MATLAB command window and hit enter to save on the workspace. We clicked run icon to run model the output of the model was as shown below.
- The values of Kp were varied to 10 and 3 and the outputs plotted as shown below.
Figure 3: output of the model without disturbance Kp=5
Figure 4 output of the model without disturbance Kp=10
Figure 5 output of the model without disturbance Kp =2
From the plots it can be observed that increasing Kp reduces steady state error, increases overshoot and reduces rise time and the vice versa.
- The value of Kp was set to 5 then we included an integral and differential component. We added a PID controller on our system and plotted the output for the step input into our controller as shown below.
Figure 6: Our proportional control with differentiator and integrator component-PID controller added to it
Figure 7: output of figure 6 Ki=1 Kp=5 Kd =1
- We adjusted the values of Kd, Ki and Kp of the PID controller so that we can obtain the best response. We obtained Kp=2, Ki=1 and Kd=1 as our best points. The plot was as shown below:
Figure 8: output of figure 6 Ki=1 Kp =2 Kd=1
- We constructed the system with disturbance as shown below. Its response was as shown below:
Figure 9: system with disturbance
Figure 10: plot for system in figure 9
We then included a PID in the system and repeated the steps in 8
Figure 11: system with disturbance and a PID Kp=5 Kd=10 Ki=20
Figure 12: plot for system in figure11
It is observed that as we varied Kp the transient response varied I was observed that with increased Kp the transient response was short and improved steady state response.
STAGE 2: fuzzy interference system
Objectives
- To build a fuzzy interference system using MATLAB.
- To simulate fuzzy interference systems.
- To draw surface view between the input and output.
Procedure
- We typed fuzzy and hit enter to load the fuzzy GUI on the command window.
- From the GUI we defined our inputs and output then saved to workspace.
- We then defined the membership function by double clicking on one of the inputs then changed the range, types and parameters of the membership function.
Figure 13: FIS GUI
Figure 14: membership function GUI
- We loaded the Load the tipping example system of the toolbox by typing fuzzy tipper in the MATLAB command window.
Observation:
We compared the tipping system we constructed and they were similar. The membership functions, rules and surface views were the same. It was also observed that as you varied the membership functions the output surfaces varied.
STAGE 3: Mandani fuzzy control
Objectives
- To design Mandani fuzzy controllers.
- To simulate the fuzzy control systems.
- To fine tune fuzzy control systems.
Procedure
- We designed the block diagram as shown in figure 15 below and simulated it. The block model in Simulink is as shown in figure 15. We varied the PID constants.
Figure 15: Fuzzy Logic control system
Figure 16: Fuzzy logic control system
Figure 17: response of the Fuzzy Logic unit Discussions
It is not possible to achieve a fuzzy controller by changing the membership functions only and keeping all the three parameters at unit. The fuzzy controller performs better than PID controller especially when the membership functions and the rules are well defined. When the three normalization constants are varied the performance of the system in both transient and steady state is affected. H0 causes the transient time be longer while h1 reduces as it its value is increased. On the other hand, h2 reduces the transient time however increasing the overshoot.
A tuned fuzzy controller has a high accuracy compared with traditional PID controller in controlling a system. It is also easier to tune it to the desired output of the system under control.
STAGE4: TSK Fuzzy control
STAGE 1: Control System Simulation
Objectives
- To design TSK fuzzy controllers.
- Simulate TSK fuzzy controller.
- Fine tune TSK control systems.
Procedure
- We divided the non-linear part of equation 1 2 below into five sections. We used each section and designed a PID controller in Simulink as shown below to form a TSK fuzzy controller.
- We simulated and fine-tuned the fuzzy controller to achieve the shortest rise time.
- The difference caused by using alternative fuzzy interference system were studied.
- Comparison of the TSK fuzzy controller with the traditional PID controller.
- Comparison of the TSK fuzzy controller with the Mandani fuzzy controller.
Figure 18: Five stages PID
Figure 19: ouptput for TSK fuzzy logic
Derivative action is more often is used to improve transient response of the closed loop system. However D control is not used because it amplifies high frequency noise which is never desired. Derivative action decreases rise time and oscillations. However, it does not have any effect on steady state performance of the closed loop as seen from the figure above.
The following are advantages of TSK fuzzy controller compared to the Mandani fuzzy controller and the traditional PID controller; works with less precise inputs, doesn’t need fast processors and it is more robust than other non-linear controllers.
Reference
Åström, K. J. and Wittenmark, B. (1984). &rpsxwhu frqwuroohg vvwhpv-wkhru dqg ghvljq, Prentice-Hall, Englewood Cliffs.
Åström, K., Hang, C., Persson, P. and Ho,W. (1992). Towards intelligent PID control, $XWRPDW-LFD - (1): 1–9
Åström, K. J. and Hägglund, T. (1995). 3,' &rqwuroohuv -7khru-'hvljq- dqg 7xqlqj, second edn, Instrument Society ofAmerica, 67Alexander Drive, POBox 12277, Research Triangle Park, North Carolina 27709, USA.
Hangos, K. M., Lakner, R., & Gerzson, M. (2004). Intelligent Control Systems: an Introduction with Examples. Boston, MA, Springer US. https://dx.doi.org/10.1007/b101833.
Harris, C. J. (1992). Intelligent control. London, Taylor and Francis.
IEEE International Symposium on Intelligent Control. (2015). 2015 IEEE International Symposium on Intelligent Control (ISIC 2015): proceedings: September 21-23, 2015, Sydney, Australia. https://ieeexplore.ieee.org/servlet/opac?punumber=7302393.
IEEE International Symposium on Intelligent Control, Intelligent Systems & Semiotics. (2000). Proceedings of the 1999 IEEE International Symposium on Intelligent Control, Intelligent Systems & Semiotics: September 15-17, 1999, Cambridge, MA. [Piscataway, NJ], IEEE. https://ieeexplore.ieee.org/servlet/opac?punumber=6450.
IEEE Xplore (Online Service), & Institution of Electrical Engineers. (2000). Colloquium on "Intelligent Control". [Piscataway, N.J.], IEEE
Jantzen, J. (1998). Design of fuzzy controllers, rqolqghvljq_, Technical University of Denmark: Dept. of Automation, https://www.iau.dtu.dk/˜ jj/pubs. Lecture notes, 27 p.
Jantzen, J. (1997). A robustness study of fuzzy control rules, lq eufit (ed.), 3urfhhglqjv) liwk (xurshdq &rqjuhvv rq) x]] dqg, qwhooljhqw 7hfkqrorjlhv, elite Foundation, Promenade 9, D-52076 Aachen, pp. 1222–1227.
Mizumoto, M. (1992). Realization of PID controls by fuzzy control methods, LQ IEEE (ed.),
Qiao,W. and Mizumoto, M. (1996). PID type fuzzy controller and parameters adaptive method, )x]] 6hwv dqg 6vwhpv -: 23–35
Ruano, A. E. (2005). Intelligent control systems using computational intelligence techniques. London, Institution of Electrical Engineers. https://www.books24x7.com/marc.asp?bookid=15536.
Siddique, N. (2016). Intelligent control. [Place of publication not identified], Springer International Pu.
Siler, W. and Ying, H. (1989). Fuzzy control theory: The linear case,) X]] 6HWV DQG 6VWHPV-: 275–290.
Smith, L. C. (1979). Fundamentals of control theory, &KHPLFDO (QJLQHHULQJ - (22):11–39.(Deskbook issue).
Stanford University, & Hayes-Roth, B. (1992). Intelligent control.
Stephanou, H. E., Meyste, A., & Luh, J. Y. S. (1989). Intelligent Control: Symposium Proceedings. Los Alamitos, IEEE Computer Society Press. https://ieeexplore.ieee.org/servlet/opac?punumber=272.
Tso, S. K. and Fung, Y. H. (1997). Methodological development of fuzzy-logic controllers from Multivariable linear control, (((7udqv-6vwhpv-0dq &ehuqhwlfv-(3): 566–572.
World Congress on Intelligent Control and Automation. (2016). 2016 12th World Congress on Intelligent Control and Automation (WCICA): June 12-15, 2016, Guilin, China. https://ieeexplore.ieee.org/servlet/opac?punumber=7569773
To export a reference to this article please select a referencing stye below:
My Assignment Help. (2020). Control System Simulation, Fuzzy Interference System, And TSK Fuzzy Control. Retrieved from https://myassignmenthelp.com/free-samples/ecte441-intelligent-control1.
"Control System Simulation, Fuzzy Interference System, And TSK Fuzzy Control." My Assignment Help, 2020, https://myassignmenthelp.com/free-samples/ecte441-intelligent-control1.
My Assignment Help (2020) Control System Simulation, Fuzzy Interference System, And TSK Fuzzy Control [Online]. Available from: https://myassignmenthelp.com/free-samples/ecte441-intelligent-control1
[Accessed 23 December 2024].
My Assignment Help. 'Control System Simulation, Fuzzy Interference System, And TSK Fuzzy Control' (My Assignment Help, 2020) <https://myassignmenthelp.com/free-samples/ecte441-intelligent-control1> accessed 23 December 2024.
My Assignment Help. Control System Simulation, Fuzzy Interference System, And TSK Fuzzy Control [Internet]. My Assignment Help. 2020 [cited 23 December 2024]. Available from: https://myassignmenthelp.com/free-samples/ecte441-intelligent-control1.