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.