Modeling delay and packet drop in Networked Control Systems using network simulator NS2

  • Mohammad Shahidul Hasan
  • Christopher Harding
  • Hongnian Yu
  • Alison Griffiths


Wireless Networked Control Systems (WNCS) are used to implement a control mechanism over a wireless network that is capable of carrying real-time traffic. This field has drawn enormous attention from current researchers because of its flexibility and robustness. However, designing efficient WNCS over Mobile Ad Hoc Networks (MANET) is still a challenging topic because of its less-predictable aspects, such as inconsistent delay, packet drop probability, and dynamic topology. This paper presents design guidelines for WNCS over MANET using the Network Simulator version 2, NS2 software. It investigates the impact of packet delay and packet drop under the AODV and DSR routing protocols. The simulation results have been compared to MATLAB results for validation.


Adhoc On-Demand Distance Vector (AODV) routing Dynamic Source routing (DSR) Mobile Adhoc Networks (MANET) Wireless Networked Control Systems (WNCS) 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    Future Directions in Control, Dynamics and Systems, [Online], — last access in Mar 2005.
  2. [2]
    J. Nilsson. Real-time Control Systems with Delays, Ph.D dissertation, Dept of Automatic Control, Lund Institute of Technology, Lund, Sweden, 1998, [Online], Available: Google Scholar
  3. [3]
    N. J. Ploplys. Wireless feedback control of mechanical systems, Master dissertation, Department of Mechanical Engineering. University of Illinois, Champaign, IL, 2003, [Online], Available: Google Scholar
  4. [4]
    S. Mastellone, C. T. Abdallah. Networked Control Systems and Communication Networks: Integrated Model and Stability Analysis. CD ROM Proceedings of the 16th IFAC World Congress, Prague, Czech Republic, July 2005.Google Scholar
  5. [5]
    J. Colandairaj, G. W. Irwin, W. G. Scanlon. Analysis and Co-Simulation of an IEEE 802.11B Wireless Networked Control System. CD ROM Proceedings of the 16th IFAC World Congress, Prague, Czech Republic, July 2005.Google Scholar
  6. [6]
    F. L. Lian, J. R. Moyne, D. M. Tilbury. Performance Evaluation of Control Networks: Ethernet, ControlNet and DeviceNet. IEEE Control Systems Magazine, vol. 21, no. 1, pp. 66–83, 2001.CrossRefGoogle Scholar
  7. [7]
    Jimmy Kin Cheong So. Delay Modelling and Controller Design for Networked Control Systems, Master dissertation, the Dept of Electrical and Computer Engineering, University of Toronto, Canada, 2003, [Online], Available: Scholar
  8. [8]
    A. Cervin, D. Hanriksson, B. Lincoln, J. Eker, K. E. ArZen. How does control timing affect performance? Analysis and Simulation of Timing using Jitterbug and TrueTime. IEEE Control Systems Magazine, vol. 23, no. 3, pp. 16–30, 2003.CrossRefGoogle Scholar
  9. [9]
    Y. Yang, Y. J. Wang, S. H. Yang. A Networked Control System with Stochastically Varying Transmission Delay and Uncertain Process Parameters. CD ROM Proceedings of the 16th IFAC World Congress, Prague, Czech Republic, July 2005.Google Scholar
  10. [10]
    W. Zhang, M. S. Branicky, S. M. Phillips. Stability of Networked Control Systems. IEEE Control Systems Magazine, vol. 21, no. 1, pp. 84–99, 2001.CrossRefGoogle Scholar
  11. [11]
    K. Ogata. Modern Control Engineering, 4th Edition, Prentice Hall, New Jersey, USA, 2002.Google Scholar
  12. [12]
    The Ns Manual (formerly ns Notes and Documentation), The VINT project, [Online], Available:
  13. [13]
    Networked Control Systems agent-plant extension of Network Simulator, NS2, [Online], Available:
  14. [14]
    C. E. Perkins, E. M. Royer. Ad hoc On-Demand Distance Vector Routing. In Proceedings of the 2nd IEEE Workshop on Mobile Computing Systems and Applications, New Orleans, LA, February, pp. 90–100, Feb 1999.Google Scholar
  15. [15]
    D. B. Johnson, D. A. Maltz, J. Broch. DSR: The Dynamic Source Routing Protocol for Multi-Hop Wireless Ad Hoc Networks, in Ad Hoc Networking, edited by Charles E. Perkins, Chapter 5, Addison-Wesley, Boston, USA, pp. 139–172, 2001.Google Scholar
  16. [16]
    H. N. Yu, C. Harding, M. Shahidul Hasan. Overview of Networks and Control, In Proceedings of the International Conference on Instrumentation, Control and Information Technology, Okayama University, Okayama, Japan, Aug pp. 205–210, 2005.Google Scholar
  17. [17]
    Eitan Altman, Tania Jimenez. NS Simulator for beginners, Lecture notes, [Online], Available:

Copyright information

© Institute of Automation, Chinese Academy of Sciences 2005

Authors and Affiliations

  • Mohammad Shahidul Hasan
    • 1
  • Christopher Harding
    • 1
  • Hongnian Yu
    • 1
  • Alison Griffiths
    • 1
  1. 1.Faculty of Computing, Engineering and TechnologyStaffordshire UniversityStaffordUK

Personalised recommendations