# A multi-threaded communication architecture for networked control systems

## DOI:

https://doi.org/10.24949/njes.v12i1.403## Keywords:

Adaptive controls, Client-server systems, Communication architecture, Distributed system, Multithreading, Network delay, Networked control systems, Plant-controller communication## Abstract

Advancement in communication technology has paved the way for geographically dislocating controllers from the plants they are controlling. Establishing a secure and reliable communication is an essential component to achieve robust control performance. Myriad network control schemes have been proposed but they are incapacitated due to a lack of reliable software paradigm. This highlights the need of a distributed system, which provides platform for smooth communication between a plant and its controller. In this work, we propose CASAPAC, which is a multi-threaded communication architecture designed to ensure reliable and in-order delivery of information between different modules of a network control system. Any control algorithm can be tested and employed over any network using CASAPAC. An adaptive fuzzy controller and a network based gain scheduled PI (Proportional Integral) controller have been tested on different networks using CASAPAC. In both cases, tests were carried out on a real plant of a coupled tank system. CASAPAC was able to handle all the communication efficiently in different scenarios and good control performance was achieved in both cases.## References

M.B. Kadri, “Disturbance rejection in information poor systems using model free neurofuzzy control”, Ph.D. Thesis, University of Oxford, Oxford, United Kingdom, 2009.

K.M. Vijaya, S. Sundaram, S.N. Omkar, G. Ranjan and S. Prasad, “A direct adaptive neural command controller design for an unstable helicopter”, Eng. Appl. Artif. Intel, vol. 22, 2009, pp.181-191.

T.M. McPhillips, S.E. McPhillips, H.J. Chiu, A.E. Cohen, A.M. Deacon, P.J. Ellis, E. Garman, A. Gonzalez, N.K. Sauter, R.P. Phizackerley et al., “BluIce and the Distributed Control System: software for data acquisition and instrument control at macromolecular crystallography beamlines”, J. Synchrotron Radiat., vol. 9, 2002, pp. 401-405.

D.L. Rogerio, G. Holger, A.M. Hausi, S. Mary, A. Jesper, L. Marin, S. Bradley, T. Gabriel, M.V. Norha, V. Thomas et al., “Software engineering for self-adaptive systems: A second research roadmap”, Proceedings of Software Engineering for Self-Adaptive Systems II, Berlin, Heidelberg, Germany: Springer, pp. 1-32, 2013.

V. Valeriy, “Software engineering in industrial automation: State of the art review”, IEEE T. Ind. Inform., vol. 9, 2013, pp. 1234-1249.

W. Michael, G. Thomas, K. Atul and O. Manuel, “FASA: A software architecture and runtime framework for flexible distributed automation systems”, J. Syst. Architect., vol. 61, 2015, pp. 82-111.

E. Raphael, S. Thanikesavan, M. Aurelien and L. Jun, “Real-time network traffic handling in FASA”, Proceedings of 10th IEEE International Symposium on Industrial Embedded Systems (SIES), NY, USA, pp. 1-10, June 8-10, 2015.

G.R. Ashok and Y.C. Mo, “Networked control system: overview and research trends”, IEEE T. Ind. Electron., vol. 57, 2010, pp. 2527-2535.

A. Panos and B. John, “Special issue on technology of networked control systems”, P. IEEE, vol. 95, 2007, pp. 5-8.

Z. Lixian, G. Huijun and K. Okyay, “Network induced constraints in networked control systems: A survey”, IEEE T. Ind. Inform., vol. 9, 2013, pp. 403-416.

Z. Hui, S. Yang and M.A. Saadat, “Robust H∞ PID control for multivariable networked control systems with disturbance noise attenuation”, Int. J. Robust Nonlin., vol. 22, 2012, pp. 183-204.

W. Xiaofeng and M.D. Lemmon, “Event triggering in distributed networked control systems”, IEEE T. Automat. Contr., vol. 56, 2011, pp. 586-601.

M.C.F. Donkers, W.P.M.H Heemels, V.D.W. Nathan and H. Laurentiu, “Stability analysis of networked control systems using a switched linear systems approach”, IEEE T. Automat. Contr., vol. 56, 2011, pp. 2101-2115.

Y. Rongni, S. Peng, P.L. Guo and G. Huijun, “Network based feedback control for systems with mixed delays based on quantization and dropout compensation”, Automatica, vol. 47, 2011, pp. 2805-2809.

A. Silberschatz, P.B. Galvin and G. Greg, Operating system concepts”. Ninth ed., NY, USA: Wiley, 2013.

J.L. Yan and T. Shaocheng, “Adaptive fuzzy control for a class of unknown nonlinear dynamical systems”, Fuzzy Set. Syst., vol, 263, 2015, pp. 49-70.

C. Seunghwan, N.S. Kiong and W. Wenqin, “Robust H∞ fuzzy control of discrete nonlinear networked control systems A SOS approach”, J. Frankl. Inst., vol. 351, 2014, pp. 4065-4083.

Y. Huaicheng, Y. Sheng, Z. Hao and S. Hongbo, “L2 control design of event triggered networked control systems with quantizations”, J. Frankl. Inst., vol. 352, 2015, pp.332-345.

G. Yang, W. Jingcheng, Z. Langwen and L. Chuang, “Robust H∞ control of multi systems with random communication network accessing”, J. Frankl. Inst., vol. 352, 2015, pp. 1693-1721.

L. Lu, P. Feng and X. Dingyu, “Fractional order optimal fuzzy control for network delay”, Optik, vol. 125, 2014, pp. 7020-7024.

H. Fei, F. Gang, W. Yong, Q. Jianbin and Z. Changzhu, “A novel dropout compensation scheme for control of networked TS fuzzy dynamic systems”, Fuzzy Set. Syst., vol. 235, 2014, pp. 44-61.

Z. Changzhu, F. Gang, Q. Jianbin, A.Z. Wen, “TS fuzzy model based piecewise H∞ output feedback controller design for networked nonlinear systems with medium access constraint”, Fuzzy Set. Syst., vol. 248, 2014, pp.86-105.

Z. Dawei, L.H. Qing and J. Xinchun, “Network-based output tracking control for TS fuzzy systems using an event-triggered communication scheme”, Fuzzy Set. Syst., vol. 273, 2015, pp. 26-48.

W. Huijiao, S. Peng and Z. Jianhua, “Event-triggered fuzzy filtering for a class of nonlinear networked control systems”, Signal Process., vol. 113, 2015, pp. 159-168.

H. Songlin, Y. Dong, P. Chen, X. Xiangpeng and Y. Xiuxia, “Event triggered controller design of nonlinear discrete time networked control systems in TS fuzzy model”, Appl. Soft. Comput., vol. 30, 2015, pp. 400-411.

D.T. Hoang, H.G. Zhi, K.D. Xuan and M.C. Xin, “FuSY. A normalized PID controller in networked control systems with varying time delays”, ISA T., vol. 52, 2013, pp. 592-599.

K. Kirsanov, “The Architecture of Robotics Control Software for Heterogeneous Mobile Robots Network”, Proceedings of 24th International Symposium on Intelligent Manufacturing and Automation (DAAAM 2014), London, UK, pp. 216-221, October 23-26, 2013.

C. Anton, H. Dan, L. Bo, E. Johan and E.A. Karl, “How does control timing affect performance”, IEEE Contr. Syst. Mag., vol. 23, 2003, pp. 16-30.

Z. Lai, P. Wu and D. Wu, “Application of fuzzy adaptive control to a MIMO nonlinear time delay pump valve system”, ISA T., vol. 57, 2015, pp. 254-261.

J. Li and H. Yue, “Adaptive fuzzy tracking control for stochastic nonlinear systems with unknown time varying delays”, Appl. Math. and Comput., vol. 256, 2015, pp. 514-528.

A. Arunkumar, R. Sakthivel and K. Mathiyalagan, “Robust reliable H∞ control for stochastic neural networks with randomly occurring delays”, Neurocomputing, vol. 149, 2015, pp. 1524-1534.

H. Tran, Z. Guan, X. Dang, X. Cheng and F. Yuan, “A normalized PID controller in networked control systems with varying time delays”, ISA T., vol. 52, 2013, pp. 592-599.

M.B. Kadri and A.L. Dexter, “Disturbance rejection using fuzzy model free adaptive control FMFAC with adaptive conditional defuzzification threshold”, Int. J. Uncertain. Fuzz., vol. 22, 2014, pp. 243-261.

M.B. Kadri, “Fuzzy relational control of uncertain systems”, J. Frankl. Inst., vol. 351, 2014, pp. 3013-3031.