Open access peer-reviewed chapter

Perspective Chapter: Enhancing Network Efficiency Using Ant Colony Optimization and Pareto Optimality for Tuning PI Controller in Congested Routers

Written By

Samira Chebli

Submitted: 13 February 2023 Reviewed: 16 March 2023 Published: 22 November 2023

DOI: 10.5772/intechopen.110898

From the Edited Volume

Disturbance Rejection Control

Edited by Mohammad Shamsuzzoha and G. Lloyds Raja

Chapter metrics overview

45 Chapter Downloads

View Full Metrics

Abstract

The objective of this manuscript is to stabilize the queue of the router congestion window by designing an active queue management (AQM). The problem is dealt with under the theory of the command by using the regulator PI for that purpose. The tuning of this controller is based on a new approach of stabilization that relies on an extension of Hermite-Biehler theorem applied to quasi-polynomials. This stabilization method turns out relevant to seek the optimized results achieved within this stability region. For that, the optimization is performed using an improved multi-objective ant colony optimization (ACO) algorithm. The performance of the proposed control scheme is evaluated via a series of numerical simulations in MATLAB and Simulink.

Keywords

  • congestion control
  • AQM
  • PI controller
  • Hermite-Biehler theorem
  • ant colony optimization (ACO)
  • time delay system
  • Pareto optimality
  • multi-objective

1. Introduction

The exponential increase in size and diversity of communication networks in the current era has become an issue for today’s communities and a fertile field for researchers. In recent decades, researchers have been increasingly motivated to generate new and more reliable computer network structures that can handle the dimensions of current networks.

The TCP/IP protocol, a standard of network languages, is adopted on the Internet to facilitate communication between machines around the world. This universal language ensures that IP packets do not get lost or arrive in duplicate and confirm that the packet has arrived at its destination. However, as traffic increases, the network may become congested, a common phenomenon in routing. Routers may not be able to handle the traffic and lose packets because there is no place to store them. Queue saturation exacerbates congestion, as the time for a packet to reach the head of the queue becomes too long. In addition to queue saturation, these factors contribute to a slowdown of routers [1, 2, 3, 4, 5].

To quantitatively analyze the phenomenon of congestion, the behavior of the TCP protocol was modeled using a system of delayed differential equations based on the analogy of fluid flow. Previous research has shown that this system can be analyzed using the theory of control [6, 7].

Delay times resulting from congestion in Internet management give rise to characteristic functions known as quasi-polynomials. The first research on quasi-polynomials was conducted by Pontryagin [8], who developed a formal and highly relevant mathematical tool for analyzing the stability of time-invariant delayed systems. Pontryagin’s necessary and sufficient condition for the roots of a quasi-polynomial to have a negative real part ensures Hurwitz stability for the quasi-polynomials in terms of a property of roots interlacing.

The issue with stabilizing delayed systems is that the characteristic equations of these models have an infinite number of roots, in contrast to systems without delay. The study of delayed systems presents a significant level of complexity, but a solution to this dilemma has been proposed in the work of [9, 10, 11]. This solution involves adopting an extension of the Hermite–Biehler theorem applied to quasi-polynomials, which is used to stabilize the TCP model using a proportional integrator (PI) controller [12, 13].

According to a survey conducted by the Japan Electric Measuring Instrument Manufacturers Association in 1989, the PI controller is used in more than 90% of industrial processes. This high usage is due to the unique characteristics of the PI controller, which provide stability, regardless of how optimal it may be. The proportional (P) and integral (I) actions of the PI controller complement each other to ensure immediate and rapid correction of any deviation of the quantity being adjusted. The PI controller eliminates large system inertias and residual steady-state error, while also accelerating system response and improving loop stability. Additionally, the PI controller can be combined with transmitters and logic, making it a strong candidate for use in the regulation of information transport, such as in TCP/IP networks.

The manuscript presents a problem that can be considered as a multi-objective optimization or Pareto optimality problem [14, 15]. The aim of the study is to minimize the rise time, settling time, and overshoot rate of the step response of the closed-loop system. However, these performance criteria are often conflicting, making simultaneous optimization challenging. To address this issue, the authors propose a multi-objective ant colony optimization (MOACO) technique based on the concept of Pareto optimality [16]. This technique guarantees reliable data transmission and is commonly used in routing problems. While previous studies have discussed ACO optimization for routing in TCP networks [17, 18, 19], this paper focuses on optimizing the flow of packets in a congested router by tuning the PI controller using the MOACO technique. Finally, the authors present a MATLAB simulation to demonstrate the performance of the proposed method (MOACO) for the PI-AQM control system.

Advertisement

2. Problem statement

2.1 The linearized fluid-flow model of TCP

Transmission control protocol/Internet protocol (TCP/IP) is the most widespread family of protocols that manage routing on the Internet. TCP provides a secure service to deliver packages as IP, it ensures the delivery of these packages. The notoriety of the TCP/IP protocol is due to several factors including its reliability and its ability to allow a significant development of the Internet.

The reliability of transmission in TCP/IP networks is reflected in the use of acknowledgment packets (ACQs) and sequence numbers. When a node receives a packet, it sends an acknowledgment. A second acknowledgment for the same sequence number (duplicate acknowledgment) may be issued, meaning that a previous packet has been destroyed in the network or is delayed. This delay may be the result of increased traffic in the network, which may lead to the rejection of incoming frames in the buffers of the switches; this characterizes the phenomenon of congestion.

To address this issue, several active queue management (AQM) algorithms have been suggested, including random early detection (RED), adaptive RED (ARED) and Blue algorithms [20]. Such mechanisms which are basically heuristic methods tend to bring certain advantages such as drop tail enhancement by focusing on the length of the queue in order to reduce end-to-end delays and losses and, on the other hand, maximize the useful throughput in the network.

In this study, we focus on sharing a communication link between several senders as shown in Figure 1. It is assumed that the IP network has only one bottleneck, and that the link downstream of the router is borrowed by N flows.

Figure 1.

Network topology studied.

The behavior of TCP underwent numerous studies, which have subsequently given rise to a mathematical representation of TCP analogous to fluid flow. This fluid modeling makes it possible to carry out a quantitative analysis of the congestion phenomenon. In this article, we consider the fluid model proposed by [6, 7]. The system is represented by a couple of stochastic differential equations taking into account the evolution of the congestion window but neglecting the mechanisms of slow start and time out. The linearization of the system model around a point of equilibrium [21] gives rise to the following expression:

Gs=R3C32N2eRsR3CNs2+R+R2CNs+2+RseRsE1

2.2 The time-delay system model

Algorithms designed to regulate the length of queues may not always achieve their objectives, resulting in residual gaps. To compensate for these gaps, control theory approaches are employed. The aim of these approaches is to regulate the queue length to a specific threshold.

By reducing the congestion problem to a regulation problem, the system can be approximated as a first-order delay system, which is suitable for quantitative analysis without compromising the relevance of the results. This system model is described by

Gs=KeLsTs+1E2

Where

K=R3C34N2 is the state gain,

T=RR4C24N2+2RCN2R2CN+212 is the constant time, and

L=R2C2N+2RT is the time delay of the plant.

Advertisement

3. PI controller description

The focus of this section is on closed-loop stabilization using the PI controller for delayed linear invariant time systems (LTI).

The equation describing the PI regulator is given by

Cs=Kp+KisE3

Where Kprepresents the proportional gain, and Ki represents the integral gain. The essential point of this study is the computation of the stability region defined by the parameters Kp and Ki.

The selection of the PI controller is based on its ability to minimize system error due to its various characteristics. Broadly speaking, the PI regulator achieves regulation by adjusting the system input based on the size of the error (which is the responsibility of the proportional or P action) and the duration for which the error has persisted (which is the responsibility of the integral or I action).

3.1 Hermite-Biehler theorem

This study utilizes an extension of the Hermite-Biehler theorem to quasi-polynomials that are characteristic equations of system models with delay, for stabilizing the system model with the PI regulator after modeling congestion as a first-order delay system. The challenge of studying this class of systems is due to the fact that the number of roots is infinite, unlike polynomials where the number of roots is finite. Early work in this field by Pontryagin [8] formulates a necessary and sufficient condition for the roots of a quasi-polynomial to have a negative real part. This work is later extended and enriched by Batcharaya, Silva, et al. [9, 10, 11, 13] for the study of quasi-polynomials.

This approach has been applied to congestion control and is elaborated upon in [21, 22, 23]. The approach allows for obtaining a complete set of parameters Kp and Ki, which ensures the stability of the closed-loop system, in contrast to conventional methods that rely on a single parameter. This is an essential step for finding optimal stabilizing parameters, which will be discussed in the following section.

3.2 Ant colony optimization

This section focuses on seeking optimal stabilization parameters Kp and Ki from the region of stability computed using the Hermite-Biehler theorem extension approach discussed in the previous section.

When faced with multiple paths between a starting point and an endpoint, the goal is to identify the most efficient route. Ants achieve this by exploring the different paths and leaving a trace (pheromone) along the way. Over time, the preferred paths are marked with more pheromone while less-used paths have their pheromones evaporate (as shown in Figure 2).

Figure 2.

Ants converge to shortest path from their nest to the food.

The ant colony optimization (ACO) approach, introduced by Marco Dorigo et al., is a population-based method inspired by the behavior of real ant colonies in finding food sources. This concept has been applied to complex combinatorial optimization problems that aim to identify optimal solutions within the constraints of the problem, such as congestion control in TCP networks [24, 25].

There are three essential phases in the ant colony algorithm:

  1. Initialization: a set of ants is generated at the starting point.

  2. Path construction: each ant selects a path to traverse based on the pheromone level and heuristic information.

  3. Pheromone update: the amount of pheromone on the path is updated based on the quality of the solution found by the ant.

The ACO algorithm has been used to search for the optimal set of parameters Kp and Ki for the congestion control problem in TCP networks. In this case, the algorithm seeks to identify the best values for Kp and Ki that lead to stable performance within the constraints of the system [24, 25].

In the following, the three steps of ACO algorithm are elaborated.

3.2.1 Initialization

The objective is to identify the shortest Hamiltonian cycle within a graph, wherein each vertex of the graph symbolizes a distinct city. The distance between cities iand j is represented bydij, and the pair ij represents the edge between these two cities. We first initialize the quantity of pheromone on edges withτinit, and each ant traverses the graph and constructs a complete path (a solution).

3.2.2 Constructing ant solution

During each phase of the solution-building process, the ant must determine which location to move to, and this determination is made probabilistically based on the levels of pheromones present as well as statistical information. This approach enables the ant to discover a high-quality solution. The probability that an ant k moves from vertex i to vertexj, which belongs to a set of vertices that are not yet visited by the ant k denoted bySik, is [26]:

Pijk=τijtα.ηijβlSikτilα.ηilβE4

α and β are two parameters that influence the importance of the pheromone intensity τij, and the statistical information called visibility ηij. This value guides the choice of ants to nearby towns and avoids those that are too far away ηij=1dij. For α=0, one takes into account just the visibility, that is to say that the choice will have fallen each time on the nearest city. Ifβ=0, only the pheromone tracks play on the choice. To avoid too fast selection of a path, a suitable compromise between these two parameters is mandatory.

3.2.3 Updating pheromone

When all the ants have constructed a solution, an amount of pheromones τijk is deposited by each ant k on its path.

For any iteration t, if the path ij is in the round of the ant k the quantity of pheromones deposited on this path is [27]:

τijkt=QLktE5

Where Lkt is the total length of the ant tour k, and Q is a constant.

The quantity of pheromones added is contingent upon the quality of the solution achieved, whereby lower pheromone amounts correspond to better solutions. To prevent disregard of inferior solutions and to prevent convergence toward local optima of inferior quality, a parameter is introduced to simulate the evaporation of pheromone trails. This parameter, ρ,called the evaporation rate 0<ρ<1 is described as follows:

τijt+11ρτijt+τijtE6

Where τijt=k=1mτijkt, t represents a given iteration and m the number of ants.

Advertisement

4. Design of PI controller using ACO with multiple objective optimization

In this section, we introduce the PI-MOACO controller, which employs an ACO algorithm to optimize the gains KpandKi used in congestion control by AQM, as demonstrated in Figure 3.

Figure 3.

Ant colony optimization flowchart for a PI proportional-integral controller.

The ACO algorithm generates the gains KpandKi of the PI controller from the stability region. To leverage the ACO algorithm, it is preferable to represent the optimization problem using a direct path in the form of a construction graph, as illustrated in Figure 4.

Figure 4.

ACO graph.

The population is represented by a matrix (nx2), with the ant selecting the optimal parameters KpandKi of the PI controller by minimizing the objective function. Figure 5 depicts the design problem utilizing the ant colony PI algorithm.

Figure 5.

Stabilizing region of (Kp, Ki) for the PI controller in the congestion control.

4.1 Cost functions used for the multi-objective ACO

Each parameter of KpandKi is encoded by n nodes in this study. Hence, a solitary node symbolizes the optimal values of KpandKi. The primary step in utilizing the optimization technique is to select the criteria for optimization that assess fitness. Four performance indices, namely integrated-absolute error (IAE), integrated-squared error (ISE), integrated-time-absolute error (ITAE), and integrated-time-squared error (ITSE), are employed to minimize the error signal e(s). Their expressions are as follows:

ISE=0tmaxet2IAE=0tmaxetITAE=0tmaxtetITSE=0tmaxtet2E7

where et is the error signal in time domain.

In the following, the ACO is characterized by a number of antsm=300, evaporation rate ρ=0.7, and the number of iterations = 50, α=0.8, andβ=0.2 .

Advertisement

5. Simulation results and analysis

In this section, we assess the efficacy of the closed-loop system using the MOACO with PI controller via simulation. The simulation is performed using MATLAB, with an example from the literature model system used to illustrate the study presented throughout the paper, with the aim of optimally stabilizing the system.

Ĝs=2.34.105e0.77s5.03s+1E8

By applying the Hermite–Biehler extension approach, we find that the set of Kpstabilizing values is given below:

Kp4.27.1063.89.105.E9

Figure 5 provides a two-dimensional representation of the complete set of stabilizing PI controller variables Kpandkifor the TCP/AQM system. The MOACO method provides the PI controller’s optimum parameters, which are given in Table 1. Figure 6 presents the step response for the different PI controllers optimized by MOACO.

Performances criteriaKp (10−5)Ki (10−5)
IAE1.851.08
ISE1.601.02
ITAE2.11.11
ITSE2.351.12

Table 1.

Optimum parameters of PI controller.

Figure 6.

Step response by different objectives with MOACO-PI controller.

To analyze the dynamic performance of the system studied, we consider three performance criteria, namely settling time, rise time, and overshoot rate, among others.

Settling time is the time taken to reach the final value of the output to within 5%.

Rise time is the time at which the output signal crosses its asymptote for the first time. The rise time is a relevant parameter for encrypting the speed of a closed-loop system, which is the ultimate objective of our study.

Overshoot rate measures how much the output exceeds the steady-state value before settling.

Table 2 summarizes these standard performance measures.

Performances criteriaRise time (s)Settling time (s)Overshoot (%)
IAE0.799.8059.15
ISE0.8911.1456.17
ITAE0.7210.3162.15
ITSE0.669.9665.58

Table 2.

Numerical values of standard performance measures.

The results show a conflict between the performance indices, which is expected since we use an approach based on the Pareto optimality principle. From Table 2, we can see that ITSE provides the best rise time among all the other objectives. The best value of settling time is given by the IAE criterion, and the smallest overshoot rate is provided by the ISE cost function. It has been highlighted that the main purpose of this study is to minimize the time delay occurring through the TCP network, with guaranteed stability. From the table above, we can conclude that these objectives are achieved since we obtain quite small rise and settling times.

Advertisement

6. Conclusion

This paper addresses the problem of congestion, one of the most common challenges encountered in communication networks. The proposed approach involves computing the stability region for a first-order delay system controlled by a PI controller using an extension of the Hermite-Biehler theorem applied to quasi-polynomials. The next step involves using a multi-objective optimization method based on the ant colony optimization (ACO) algorithm to search for optimal PI controller gains Kp and Ki within the stability region. Four performance criteria calculated in closed-loop plant are used as objective functions. Simulation results demonstrate the effectiveness of the proposed method in terms of dynamic performance, including reduction of maximum overshoot, rise time, and settling time. The MOACO algorithm allows for rapid convergence in local research, highlighting the flexibility and efficiency of the proposed approach.

Overall, the simulation results support the effectiveness of the proposed approach in addressing the problem of congestion in communication networks.

Advertisement

Conflict of interest

The author declares no conflict of interest.

Advertisement

Funding

This research received no external funding.

References

  1. 1. Jacobson V. Congestion avoidance and control. ACM SIGCOMM Computer Communication Review. 1995;25(1):157-187
  2. 2. Chiu D, Jain R. Analysis of the increase/decrease algorithms for congestion avoidance in computer networks. Journal of Computer Networks and ISDN. 1989;17(1):1-14
  3. 3. Ohsaki H, Sugiyama K, Imase M. Congestion propagation among routers with TCP flows, international. Journal of Computer Networks & Communications. 2009;1(2):112-127
  4. 4. Alshimaa HI, el Sayed A, Elsaghir Z, Morsi IZ. Enhanced random early detection (ENRED). International Journal of Computer Applications. 2014;92:9
  5. 5. Low HS, Paganini F, Doyle JC. Internet congestion control. IEEE Control Systems Magazine. 2002;22:28-43
  6. 6. Misra V, Gong W, Towsley D. Stochastic differential equation modeling and analysis of TCP windowsize behavior. In: Proceedings of PERFORMANCE. Vol. 99. USA: University of Massachusetts; 1999
  7. 7. Misra V, Gong W, Towsley D. Fluid-based analysis of a network of AQM routers supporting TCP flows with an application to RED. In: Proceedings of the Conference on Applications, Technologies, Architectures, and Protocols for Computer Communication. Stockholm, Sweden. 2000. pp. 151-160
  8. 8. Pontryagin LS. On the zeros of some elementary transcendental function. American Mathematical Society Translation. 1955;2:95-110
  9. 9. Silva GJ, Datta A, Bhattacharyya SP. New results on the synthesis of PID controller. IEEE Transactions on Automatic Control. 2002;47(2)
  10. 10. Silva GJ, Datta A, Bhattacharyya SP. Stabilization of time delay systems. In: Proceedings of the American Control Conference. Chicago, IL, USA. 2000. pp. 963-970
  11. 11. Silva GJ, Datta A, Bhattacharyya SP. PID Controllers for Time Delay Systems. London: Springer; 2005
  12. 12. Silva GJ, Datta A, Bhattacharyya SP. Stabilization of first-order systems with time delay using the PID controller. In: Proceedings of the American Control Conference. Arlington, VA, USA. 2001. pp. 4650-4655
  13. 13. Bhattacharyya SP, Datta A, Keel LH. Linear Control Theory: Structure, Robustness and Optimization. USA: CRC Press, Taylor & Francis; 2009
  14. 14. Chinchuluun A et al. Pareto optimality, game theory and equilibria. In: Springer Optimization and Its Applications. Berlin, Germany. 2008
  15. 15. Censor Y. Pareto optimality in multiobjective problems. Applied Mathematics and Optimization. 1977;4(1):41-59s. DOI: 10.1007/BF01442131
  16. 16. Zheng Z et al. Meta-heuristic techniques in microgrid management: A survey. Swarm and Evolutionary Computation. 2023;2023:101256
  17. 17. Rathore S, Khan MR. Performance of TCP and UDP protocols for secure multipath aco communication in manet. International Journal of Development Research. 2017;07(01):11214-11218
  18. 18. Ring S et al. Ant colony optimization based model for network zero-configuration. In: Signal Processing and Communications International Conference, Bangalore, India. 2004. DOI: 10.1109/SPCOM.2004.1458494
  19. 19. Ramamoorthy R, Thangavelu M. An enhanced distance and residual energy-based congestion aware ant colony optimization routing for vehicular ad hoc networks. International Journal of Communication Systems. 2022;35(11):e5179
  20. 20. Giménez A et al. New RED-type TCP-AQM algorithms based on beta distribution drop functions. Applied Sciences. 2022;12(21):11176
  21. 21. Chebli S, Elakkary A, Sefiani N, Elalami N. New PI stabilization of first-order congestion control of active queue management routers. In: Proceeding of Electrical and Information Technologies (ICEIT) Conference; March 2015; Marrakech, Morocco. pp. 12-217
  22. 22. Chebli S. PI stabilization for congestion control of AQM routers with tuning parameter optimization. International Journal of Interactive Multimedia and Artificial Intelligence. 2016;4(1):52-55
  23. 23. Chebli S, Elakkary A, Sefiani N. Design of an Optimal PI (Proportional–Integral) Controller for the Robust Control of Uncertain TCP Traffic. USA: NOVA Science Publisher; 2021. pp. 39-106
  24. 24. Dorigo M. Optimization, Learning and Natural Algorithms (in Italian). Italy: Dipartimento di Elettronica, Politecnico di Milano; 1992
  25. 25. Dorigo M, Maniezzo V, Colorni A. The ant system: Optimization by a colony of cooperating agents. IEEE Transactions on Systems, Man, and Cybernetics – Part B. 1996;26(1):29-41
  26. 26. Abolhasan M, Wysocki T, Dutkiewicz E. A review of routing protocols for mobile ad hoc networks. Ad Hoc Networks. 2004;2(1):1-22
  27. 27. Bullnheimer B, Hartl RF, Strauss C. An improved ant system algorithm for the vehicle routing problem. Annals of Operations Research. 1999;89:319-328

Written By

Samira Chebli

Submitted: 13 February 2023 Reviewed: 16 March 2023 Published: 22 November 2023