Abstract

A fractional-order controller will be proposed to regulate the inlet oxygen into the heart-lung machine. An analytical approach will be explained to satisfy some requirements together with practical implementation of some restrictions for the first time. Primarily a nonlinear single-input single-output (SISO) time-delay model which was obtained previously in the literature is introduced for the oxygen generation process in the heart-lung machine system and we will complete it by adding some new states to control it. Thereafter, the system is linearized using the state feedback linearization approach to find a third-order time-delay dynamics. Consequently classical PID and fractional order π‘ƒπΌπœ†π·πœ‡ controllers are gained to assess the quality of the proposed technique. A set of optimal parameters of those controllers are achieved through the genetic algorithm optimization procedure through minimizing a cost function. Our design method focuses on minimizing some famous performance criterions such as IAE, ISE, and ITSE. In the genetic algorithm, the controller parameters are chosen as a random population. The best relevant values are achieved by reducing the cost function. A time-domain simulation signifies the performance of π‘ƒπΌπœ†π·πœ‡ controller with respect to a traditional optimized PID controller.

1. Introduction

During the complex heart surgery like heart transplantation it may be needed to temporarily interrupt the heart beat. As a result the heart gets cold and set to a resting condition. In this situation the blood, which provides enough oxygen, is not fed to the human body. However this quickly harms the tissues of the body. Even by applying a body-cooling technology (hypothermia), the tissue damage cannot be prevented for a bigger duration time. Thus an artificial machine is essential to take over the functions of the heart and the lung during the surgery. This machine is called heart-lung machine (HLM) which will be located in extracorporeal circulation (ECC). The HLM receives the blood from vein, removes the carbon dioxide (CO2) from the blood, and adds required oxygen to the blood whilst delivering to the artery. In 1960 the HLM machine was used in the heart surgery for the first time. It is now well improved and still is in use as a reliable and effective method [1, 2].

An HLM is connected to the vascular system of the patient body by some specific tubes. During the cardiopulmonary bypass (CPB) surgeries the patient will be anaesthetized. Thus many vital and automatic tasks of the body will be interrupted. There is an alternative oxygenator as an artificial lung in the HLM machine to take over the function of gas exchange through propagation in a thin membrane with a high surface (1.8 m2).

This gas exchange operations will be controlled by the gas fractions and the flow rate of the total mixed gases injected to the oxygenator. This operation is still regulated manually. Nowadays, there is no automatic commercial blood-gas machine. Since the gas exchange operation in the oxygenator is a complicated and nonlinear process with delays together with longtime constants, a manual control of this process is somehow difficult [1–3]. This problem arises due to nonlinear and time-delay phenomena in the heart-lung machine. Therefore an automatic approach must be taken in action for the gases regulation in the HLM. This is an auxiliary aim to investigate its performance.

PID controller is the most commonly used controller in industry due to its simple construction and regulation [4–6]. This controller can be a useful tool in the heart-lung machine control.According to the development of fractional order calculus application in recent years, the researchers are trying to extend the common PID controller use to the fractional controller [7]. This is almost because a complex model of the controller can be briefly introduced by a concise fractional model. A fractional order PID controller was first introduced by Podlubny [8, 9] by defining it as π‘ƒπΌπœ†π·πœ‡ with πœ†,πœ‡βˆˆπ‘…. He has also shown that the stability and the performance characteristics of a system can be improved through choosing a real value for the integral and derivate orders. Frequency domain approach by using fractional order PID controllers was also studied in [10]. Further research activities run in order to define new effective tuning techniques for noninteger-order controllers by an extension of the classical control theory. To this respect, in [11] the extension of derivation and integration orders from integer to noninteger numbers provides a more flexible tuning strategy and therefore an easier achieving of control requirements with respect to classical controllers. In [12] an optimization method is proposed for tuning of FOPID controllers to achieve some specified desirable behavior of the controlled system such as gain margin and phase margin, high frequency noise rejection, and output disturbances attenuation. In this paper we use time-domain criterion such as integrated absolute error (IAE), integrated square error (ISE), and integrated time absolute error (ITAE). Consequently a fractional order controller is presented whilst the quality of the application in terms of the time response of heart-lung machine is also assessed. In this regard a genetic algorithm is used to find a set of the controller coefficient. This will be done through a fitness function to achieve rise in the performance indices of the rise time, overshoot, and settling time.

The rest of the paper is organized as follows. First a fractional order π‘ƒπΌπœ†π·πœ‡ controller is introduced. Then a regular model for the heart-lung machine is introduced involving time delays.

In the current literature several efforts have been made in the feedback linearization technique besides analytical approaches are provided to linearize and design appropriate controller hereafter. Therefore the model is reduced to a linear model by using a state feedback linearization technique. Then classical PID and fractional π‘ƒπΌπœ†π·πœ‡ controllers are applied to the linear system. Parameters of the PID are first tuned through Ziegler-Nichols method. Since the obtained parameters result a response with large overshoot together with long settling time, a better output response is of the request. Simultaneously, a best response of using different methods is compared in order to find a better outcome. Accordingly, three different criterions are used to achieve an optimum parameter set. Parameters of PID and π‘ƒπΌπœ†π·πœ‡ controllers are achieved using genetic algorithm in order to minimize the cost function.

Both PID and π‘ƒπΌπœ†π·πœ‡ controllers, where the gains are optimized by genetic algorithm, are applied on the heart-lung machine. The quality of the system response is verified in a simulation study.

2. Fractional Order π‘ƒπΌπœ†π·πœ‡ Controller

A real value of the order of integral and derivative terms provides more flexibility in the controller design to achieve a desired response. This motivates many researchers to generalize the common controller to the fractional order one [9]. PID controllers are the most widely used controllers in industry. A generalization of classical PID controller to the fractional order one is expressed as π‘ƒπΌπœ†π·πœ‡ by 𝐢(𝑠)=π‘ˆ(𝑠)𝐸(𝑠)=π‘˜π‘+π‘˜π‘–π‘ πœ†+π‘˜π‘‘π‘ πœ‡withπœ†,πœ‡βˆˆβ„+.(1) In fact an appropriate time domain action will be written as follows: 𝑒(𝑑)=π‘˜π‘π‘’(𝑑)+π‘˜π‘–π·βˆ’πœ†π‘’(𝑑)+π‘˜π‘‘π·πœ‡π‘’(𝑑).(2) The performance of PID and π‘ƒπΌπœ†π·πœ‡controllers on the heart-lung machine is investigated in the next section.

3. The Oxygenator Model

In this paper we will use the proposed model in [2]. However the shortcoming of the previous model will be modified by adding the blood gas analyzer (BGA) dynamics. There is no time-delay seen in the achieved model. Thus it will be convenient for the linearization of the oxygen exchange process model. The linearization process results a system without delay time. Thereafter the produced delay by the mass transportation will be added to the open loop model as a pure delay. Ultimately PID and π‘ƒπΌπœ†π·πœ‡ controllers are designed for the time-delay linear system.

The proposed model in [2] explains the gas transportation process in the oxygenator. The model can be considered as a nonlinear single-input-single-output process where the blood flow rate π‘žπ‘ may be treated as a predictable perturbation. However from the prior knowledge it is assumed constant at the beginning of the process. Here pCO2 is neglected to be considered as a process output. In this paper, just the partial pressure of the blood oxygen is controlled. This system can be described as follows: Μ‡π‘₯=𝑓(π‘₯)+𝑏𝑒,𝑦=𝑐π‘₯,(3) where π‘₯βˆˆβ„13, π‘βˆˆβ„13, π‘’βˆˆβ„, π‘¦βˆˆβ„, and 𝑓(β‹…)is a smooth nonlinear function. Meanwhile π‘π‘‡ξ‚Έπ‘žπ‘’=000000000000𝑔𝑉𝑔𝑒,(4) where 𝑒 = pO2,𝑔,in = pbarFiO2 is the control input. Meanwhile, the appeared vascular conditions apart from the blood flow rate π‘žπ‘, in the state variables are assumed constant. It is therefore assumed to be a perturbation that directly acts on the states. The state variables are considered as follows: ξ€Ίπ‘₯π‘₯=1,π‘₯2,π‘₯3,π‘₯4,π‘₯5,π‘₯6,π‘₯7,π‘₯8,π‘₯9,π‘₯10,π‘₯11,π‘₯12,π‘₯13𝑇=⎑⎒⎒⎒⎒⎣pO2,pCO2,𝑝Hvirt,[H]rbc,𝑝CO2,rbc,pO2,ξ€ΊHCO3ξ€»rbc,…,𝑝CO2,pl,[H]pl,ξ€ΊHCO3ξ€»pl,pCO2,𝑔,out,[]carb,pO2,𝑔,out⎀βŽ₯βŽ₯βŽ₯βŽ₯βŽ¦π‘‡,(5) where pO2 and pCO2 are the measured by BGA values whilst pHvirt is the corrected value (virtual value) of pH. [H] is the hydrogen ions concentration. pCO2 and pO2 denote the partial pressure of the blood CO2 and pO2, respectively. [HCO3] indicates the bicarbonate concentration and [carb] is the carbamate concentration. pCO2,𝑔,out and pO2,𝑔,out stand for the partial pressure of CO2 and O2 in the gas phase, respectively. β€œrbc” and β€œpl” subtitles denote the red blood cells and the blood plasma, respectively. The variables in (5) are replaced with the oxygenator equations. The first two equations state the BGA actions in terms of the state representation by Μ‡π‘₯1=1𝑇BGAξ€·π‘₯6βˆ’π‘₯1ξ€Έ,Μ‡π‘₯2=1𝑇BGAξ€·π‘₯8βˆ’π‘₯2ξ€Έ.(6)

The values of pCO2 and pO2 processes are considered as output. The equations in [4] are accordingly modified to: Μ‡π‘₯3=1𝑇pHξ€Ίβˆ’π‘₯3ξ€·π‘₯βˆ’log4ξ€·ξ€·0.058π‘₯3𝑆π‘₯βˆ’0.437π‘₯ξ€Έβˆ’0.529π‘₯3,+4.6ξ€Έξ€Έξ€»(7)Μ‡π‘₯4=1𝑉rbcξ‚Έπ‘žrbcξ€·[H]rbc,inβˆ’π‘₯4ξ€Έβˆ’π‘‰rbc2.303𝛽rbcπ‘₯4Γ—ξ€·βˆ’π‘…HCO3,rbc+1.5Μ‡π‘₯12̇𝑆π‘₯βˆ’0.6capπ‘₯ξ‚Ή,ξ€Έξ€Έ(8)Μ‡π‘₯5=1𝛼CO2𝑉rbcξƒ¬π‘žrbcξ‚€ξ€ΊCO2ξ€»rbc,inβˆ’π›ΌCO2π‘₯5+𝐷CO2,π‘šξ€·π‘₯8βˆ’π‘₯5ξ€Έ+𝑉rbc𝑅HCO3,rbcβˆ’π‘‰rbcΜ‡π‘₯12ξƒ­,(9)Μ‡π‘₯6=π‘žπ‘ξ‚€ξ€ΊO2𝑏,inβˆ’ξ€ΊO2𝑏+𝐷O2,π‘šξ€·π‘₯13βˆ’π‘₯6𝑉𝑏𝛼CO2+cap𝑏π‘₯𝑑𝑆π‘₯ξ€Έ/𝑑π‘₯π‘₯𝑑π‘₯π‘₯/𝑑π‘₯6,ξ€Έξ€Έ(10)Μ‡π‘₯7=1𝑉rbcξ‚ƒπ‘žrbcξ‚€ξ€ΊHCO3ξ€»rbc,inβˆ’π‘₯7+𝐷HCO3,rbcξ‚€π‘₯10βˆ’π‘₯7π‘Ÿξ‚βˆ’π‘‰rbc𝑅HCO3,rbcξ‚Ή,(11)Μ‡π‘₯8=1𝑉pl𝛼CO2βŽ‘βŽ’βŽ’βŽ’βŽ’βŽ£π‘žplξ‚€ξ€ΊCO2ξ€»pl,inβˆ’π›ΌCO2π‘₯8+𝐷CO2,π‘šξ€·π‘₯11βˆ’π‘₯8ξ€Έ+𝐷CO2,rbcξ€·π‘₯5βˆ’π‘₯8ξ€Έ+𝑉pl𝑅HCO3,pl⎀βŽ₯βŽ₯βŽ₯βŽ₯⎦,(12)Μ‡π‘₯9=1𝑉plξ‚Έπ‘žplξ€·[H]pl,inβˆ’π‘₯9ξ€Έβˆ’π‘‰pl2.303𝛽rbcπ‘₯9𝑅HCO3,plξ‚Ή,(13)Μ‡π‘₯10=1𝑉plξ‚ƒπ‘žplξ‚€ξ€ΊHCO3ξ€»pl,inβˆ’π‘₯10ξ‚βˆ’π·HCO3,rbcξ‚€π‘₯10βˆ’π‘₯7π‘Ÿξ‚βˆ’π‘‰pl𝑅HCO3,plξ‚„,(14)Μ‡π‘₯11=1π‘‰π‘”ξ‚€π‘žπ‘”ξ‚€pCO2,𝑔,inβˆ’π‘₯11+𝐷CO2,π‘špbarξ€·π‘₯8βˆ’π‘₯11,(15)Μ‡π‘₯12=1𝑉rbcβŽ‘βŽ’βŽ’βŽ’βŽ’βŽ’βŽ’βŽ’βŽ£π‘žrbcξ€·[]carbinβˆ’π‘₯12ξ€Έ+π‘˜π‘Žπ›ΌCO2𝑉rbcπ‘₯5ξ€·[]Hbβˆ’π‘₯12ξ€ΈΓ—ξƒ©π‘˜π‘§π‘œπ‘†ξ€·π‘₯π‘₯ξ€Έπ‘˜π‘§π‘œ+π‘₯4+π‘˜π‘§π‘Ÿξ€·ξ€·π‘₯1βˆ’π‘†π‘₯ξ€Έξ€Έπ‘˜π‘§π‘Ÿ+π‘₯4ξƒͺβˆ’π‘‰rbcπ‘˜π‘Žπ‘₯12π‘₯4π‘˜π‘βŽ€βŽ₯βŽ₯βŽ₯βŽ₯βŽ₯βŽ₯βŽ₯⎦,(16)Μ‡π‘₯13=1π‘‰π‘”ξ‚€βˆ’π‘žπ‘”π‘₯13+𝐷O2,π‘špbarξ€·π‘₯6βˆ’π‘₯13.(17)

A full list of constant values is available in [2]. The carbonic acid hydration is according to (18)-(19) and the oxygen correction curve can be described through (20)–(22): 𝑅HCO3,pl=βˆ’π‘˜π‘’π›ΌCO2π‘₯8+π‘˜π‘£π‘˜π‘₯9π‘₯10=𝑓HCO3,plξ€·π‘₯8,π‘₯9,π‘₯10ξ€Έ,𝑅(18)HCO3,plξ‚΅=catβˆ’π‘˜π‘’π›ΌCO2π‘₯5+π‘˜π‘£π‘˜π‘₯4π‘₯7ξ‚Ά=𝑓HCO3,rbcξ€·π‘₯4,π‘₯5,π‘₯7ξ€Έ,(19)ξ€ΊO2𝑏=𝛼O2π‘₯6+cap𝑏𝑆π‘₯π‘₯ξ€Έ,(20)𝑝O2,virt=π‘₯π‘₯=π‘₯6100.024(37βˆ’π‘‡π‘)+0.4(π‘₯3βˆ’7.4)+0.06log(40/π‘₯5),𝑆π‘₯(21)π‘₯ξ€Έ=π‘Ž1π‘₯π‘₯+π‘Ž2π‘₯2π‘₯+π‘Ž3π‘₯3π‘₯+π‘₯4π‘₯π‘Ž4+π‘Ž5π‘₯π‘₯+π‘Ž6π‘₯2π‘₯+π‘Ž7π‘₯3π‘₯+π‘₯4π‘₯,(22) where π‘Žπ‘—,𝑗=1,…,7, are constant parameters obtained from experimental observations. The output vector 𝑐 in (3) delivers the measured by BGA oxygen partial pressure to the output. Without loss of generality the output is supposed as 𝑦=π‘₯1.(23)

4. Time Delay of the HLM System

The oxygen and neutral gasses mixing process in the mixer consists of a time delay 𝑇𝑑1(π‘žπ‘”) [2]. This delay is caused by the metric distance between the mixer and oxygenator due to the gas flow rate in the tubing system. The blood gas analyzer (CDI500, Terumo, Japan) (Terumo Cardiovascular Systems Corporation, 6200 Jackson Road, Ann Arbor, MI 48103/800-262-3304/734-663-4145 (http://www.terumo-cvs.com/)). has an internal sampling time of 𝑇𝑠,BGA= 6 sec with the sample blood 1 (mmHg). The dominant time constant of 𝑇BGA is shown in (6). The next time delay is concerned with BGA which is indicated by 𝑇𝑑2(π‘žπ‘) for to the blood flow rate. This delay is caused by the blood transportation from the artery, vein, and oxygenator to the BGA sensors. In this case no internal variables of the model are needed. The above two time delays can be integrated as 𝑇𝑑=𝑇𝑑1(π‘žπ‘”)+𝑇𝑑2(π‘žπ‘).

5. State Feedback Linearization

The model in (6)–(23) for the oxygenator is a nonlinear model with time delay. Excluding the time delay from the model and by using the state feedback linearization method a linear model is achieved. Later, the time delay is added to the linear model. The linearizing control law using the state feedback is as follows [13, 14]: 1𝑒=πΏπ‘”πΏπ‘“π›Ύβˆ’1ξ‚€βˆ’πΏπ›Ύπ‘“π‘₯1,+𝜈(24) where 𝐿𝑓π‘₯1 and 𝐿𝑔𝐿𝑓π‘₯1 denote Lie derivative which is as follows: 𝐿𝑓π‘₯1=πœ•π‘₯1πΏπœ•π±π‘“(𝐱),𝑔𝐿𝑓π‘₯1=πœ•π‘₯1πœ•π±π‘”(𝐱).(25)β€ŽIn fact the linearization procedure is to continue the output differentiation until the input term β€œπ‘’β€ appears in the 𝑑𝛾𝑦/𝑑𝑑𝛾 term such that the coefficient of β€œπ‘’β€, that is, πΏπ‘”πΏπ‘“π›Ύβˆ’1 is supposed to be nonzero. Thus, the resultant linear model is of order 𝛾 with β€œπœˆβ€ as input and β€œy” as output: 𝑑𝛾𝑦𝑑𝑑𝛾=𝜈,(26) where 𝛾 is called the relative degree of the system. If the system in (26) has stable zero dynamics and 𝛾 as the relative degree of system then the state feedback law is 1𝑒=πΏπ‘”πΏπ‘“π›Ύβˆ’1π‘₯1ξƒ©βˆ’π›Ύξ“π‘—=0𝛽𝑗𝐿𝑗𝑓π‘₯1ξƒͺ.+𝜈(27) It stabilizes the system exponentially with the following characteristic polynomial: 𝑠𝛾+π›½π›Ύβˆ’1π‘ π›Ύβˆ’1+β‹―+𝛽1𝑠+𝛽0,𝛽𝛾=1.(28) The aim is to find the characteristic polynomial which is Hurwitz; that is, the coefficients are positive and the roots are all negative real valued. For the oxygenator system, three times differentiation is needed to make the input appears. Thus the relative degree of the oxygenator system will be found 𝛾=3. For more details about the state feedback linearization method one may refer to [13, 14]. However the linear stable system is as follows: 𝛾𝑗=0𝛽𝑗𝑦(𝑗)=𝜈.(29)β€ŽIn which the parameters (𝛽0,…,𝛽3) are chosen such that the input restriction and the sampling time 𝑇𝑠,BGA=𝑇𝑑 = 6 s is met. In other words it cannot be considered a linear system with a very fast response. The β€œbest practice” rule that sample time should be 10 times per process time constant or faster (𝑇𝑠≀0.1𝑇p) provides a powerful guideline for setting an upper limit on both control loop sample time and bump test data collection sample time [15]. Therefore poles of linear systems are assumed to be located at 𝑠1,2,3=βˆ’0.015. According to the feedback linearization technique a linear system with time delay is achieved. Consequently the linear transfer function is as follows: π‘’βˆ’6𝑠(𝑠+0.015)3.(30) In this system the total time delay is 𝑇𝑑 = 6 sec. The fraction input oxygen FiO2 and the partial pressure of the oxygen pO2 are considered as the input and output, respectively.

6. The Controller Design and the Simulation

A state feedback linearization of the oxygenator block diagram of the heart-lung machine is illustrated in Figure 1.

In this paper, classical PID and fractional π‘ƒπΌπœ†π·πœ‡ controllers are applied to the oxygenator system. One of the most commonly used methods in tuning of PID parameters is the Ziegler-Nichols method [16]. In this method first the system is set in a closed loop using just with a pure proportional controller. The proportional gain is tuned such that the sinusoidal response is achieved at the output. This gain and the period of the sinusoidal response are treated as the critical gain (π‘˜cr) and the period (𝑇cr), respectively. Then by using Table 1, PID parameters are, respectively, tuned. The appropriate output response using the Ziegler-Nichols method is stable; however, there are oscillations, overshoot, and rather long settling time at the output response (Figure 2). Thus, an optimal method should have been used in order to obtain a response with fewer settling time with lower overshoot.

Genetic algorithm is one of the optimization methods [17] which is based on the natural selection such as inheritance and mutation. In this algorithm variables which must be optimized are considered as gens. Accordingly set of all variables are defined as a chromosome or a person in the population. Each person or chromosome is considered as a point in the search space. This algorithm needs a cost function or fitness function in order to guide the procedure towards an optimum solution. During the classic PID controller tuning, each of parameters I, P, and D is assumed as gen. A set of genes establishes the chromosome or a person. Similarly for the fractional π‘ƒπΌπœ†π·πœ‡ controller adjustment parameters P, I, D, πœ†, and πœ‡ are individually assumed as genes and likewise for the chromosome.

In the genetic algorithm, first an initial population is randomly generated in the search space. Then some persons are randomly selected from the mating pool as parents to breed new children. The crossover operator is applied on their chromosomes during the breeding procedure. Fitness of each person is calculated according to the fitness function. A person/persons who has/have more fitness is/are considered for the next generation. The genetic algorithm uses the mutation operator in order to escape from local minimum. This operator provides the diversity of the population in the search space for each generation. After some iteration a near optimum solution will be achieved in the search area. In fact three different criterions, IAE, ISE, and ITAE are considered as optimization indexes or the fitness functions in order to find optimum parameters of PID and π‘ƒπΌπœ†π·πœ‡ controllers. These are defined as follows: ξ€œIAE=𝑇0||||𝑒(𝑑)𝑑𝑑,𝑒(𝑑)=π‘¦π‘‘ξ€œ(𝑑)βˆ’π‘¦(𝑑),(31)ISE=𝑇0𝑒2ξ€œ(𝑑)𝑑𝑑,(32)ITAE=𝑇0𝑑||||𝑒(𝑑)𝑑𝑑,(33) where 𝑦𝑑(𝑑), 𝑦(𝑑), and 𝑒(𝑑) are the desired output (the reference input), the system output, and the error signal respectively. By minimizing these three performance indexes we seek which one of these criterions reduces not only the overshoot but also the steady-state error and the settling time. Finally the genetic algorithm yields optimum parameters which minimize the IAE, ISE, and ITAE indexes according to Table 1.

7. Simulation Results

Repeating the genetic algorithm with different initial population achieves an optimum parameters of PID and π‘ƒπΌπœ†π·πœ‡ controllers as in Table 1.

8. Investigation of the Time Indices of the System

The range of oxygen partial pressure is set to 100–200 mmHg during the surgery. In this paper the oxygen partial pressure is assumed 160 mmHg. Thus the reference input is considered as a step function with the amplitude of 160 mmHg. Applying the classic and fractional PID controllers with optimum parameters in Table 1 generates the step response of the system as depicted in Figures 2, 3, 4, 5, and 6. To be more specific, the rise time, the settling time, the overshoot, and IAE values are also compared in Table 2. From Figure 2 it can be concluded that despite of the fast response in the Ziegler-Nichols technique there are oscillations and overshoot in the response and the settling time is also high. However, the obtained responses by the GA-tuned PID controllers with IAE, ISE, and ITAE criteria, are found rather better than the classic PID controller counterpart and the Ziegler-Nichols technique. Furthermore the overshoot is found smaller whilst the error is also converged to zero. As shown in Figure 6 the achieved response by the GA-tuned fractional π‘ƒπΌπœ†π·πœ‡ controller with IAE, ISE, and ITAE results in better response in comparison with the PID controller tuned by GA with IAE, ISE, and ITAE criterias in price of fewer rise and settling time.

9. Analysis of the Performance of the Controller in Presence of the Perturbation

The blood flow varies from 1to5 mL/sec during the surgery. Therefore it is considered as a step disturbance. For analyzing the performance of PID and π‘ƒπΌπœ†π·πœ‡ controllers, a step disturbance is applied to the system which is shown in Figure 7. The system response in presence of the disturbance is also depicted in Figure 8 whilst applying PID and π‘ƒπΌπœ†π·πœ‡controllers. From Figure 8 it can be seen that the response which is obtained by GA-tuned π‘ƒπΌπœ†π·πœ‡ controller, converges faster to the steady state with lower overshoot. Additional improvements over the classic PID are also reported in Table 2.

10. Conclusion

In this paper a model of the heart-lung machine with the time delay is considered. The model is treated as a single-input single-output with time delay. The goal in this system is to control the oxygen partial pressure, using the ratio of the input oxygen FiO2. Primarily the system is linearized into a third-order system with time-delay. PID and π‘ƒπΌπœ†π·πœ‡ controllers are chosen to control the heart-lung machine. The Ziegler-Nichols technique is used to tune PID parameters. Applying this controller results an oscillatory response with large overshoot. Then the GA is used to optimally tune the PID and π‘ƒπΌπœ†π·πœ‡ controllers parameters to find a better response with lower overshoot and settling time by minimizing three different criterions IAE, ISE, and ITAE. The time indices are investigated when a step input and disturbance are applied distinctly. Simulation results are presented in Figures 2–8 and Tables 1 and 2. The results verify that π‘ƒπΌπœ†π·πœ‡ controller, tuned by minimizing IAE criteria in comparison with PID controller which minimized ITAE, provides better performance characteristics in terms of the transient and steady-state response. The outcome is also verified in presence of the step disturbance rejection.