Open Journal of Applied Sciences
Vol.04 No.11(2014), Article ID:50627,13 pages
10.4236/ojapps.2014.411049
Fuzzy Logic for Solving an Optimal Control Problem of Hypoxemic Hypoxia Tissue Blood Carbon Dioxide Exchange during Physical Activity
Jean Marie Ntaganda1, Mahamat Saleh Daoussa Haggar2*, Benjamin Mampassi3
1Department of Applied Mathematics, School of Pure and Applied Sciences, College of Science and Technology, University of Rwanda, Kigali, Rwanda
2N’Djamena University, N’Djamena, Chad
3Cheikh Anta Diop University, Dakar, Senegal
Email: jmnta@yahoo.fr, *daoussa_haggar@yahoo.fr, mampassi@yahoo.fr
Copyright © 2014 by authors and Scientific Research Publishing Inc.
This work is licensed under the Creative Commons Attribution International License (CC BY).
http://creativecommons.org/licenses/by/4.0/



Received 7 August 2014; revised 22 September 2014; accepted 7 October 2014
ABSTRACT
This paper aims at using of an approach integrating the fuzzy logic strategy for hypoxemic hypoxia tissue blood carbon dioxide human optimal control problem. To test the efficiency of this strategy, the authors propose a numerical comparison with the direct method by taking the values of determinant parameters of cardiovascular-respiratory system for a 30 years old woman in jogging as her regular physical activity. The results are in good agreement with experimental data.
Keywords:
Fuzzy Logic, Optimal Control, Membership Function, Membership Degree, Hypoxemic-Hypoxia, Pressure, Carbon Dioxide, Oxygen, Numerical Simulation

1. Introduction
Hypoxia, or hypoxiation, is a pathological condition related to adequate oxygen supply in human body. The derived adequate oxygen supply can be whole body (generalized hypoxia) or its region (tissue hypoxia). Generalized hypoxia occurs in healthy people when they ascend to high altitude, where it causes altitude sickness leading to potentially fatal complications: high altitude pulmonary edema (HAPE) and high altitude cerebral edema (HACE) [1] . Hypoxia also occurs in healthy individuals when breathing mixtures of gases with a low oxygen content that is while diving underwater especially when using closed-circuit re-breather systems that control the amount of oxygen in the supplied air. A mild and non-damaging intermittent hypoxia is used intentionally during altitude training to develop an athletic performance adaptation at both the systemic and cellular level.
Hypoxia is also a serious consequence of preterm birth in the neonate. The main cause for this is that the lungs of the human fetus are among the last organs to develop during pregnancy. To assist the lungs to distribute oxygenated blood throughout the body, infants at risk of hypoxia are often placed inside an incubator capable of providing continuous positive airway pressure (also known as a humidicrib).
Hypoxia denotes oxygen deficiency at the mitochondrial sites due to insufficient delivery of oxygen (low
) or inability to use oxygen (normal
). Hypotonic hypoxia is characterized by a
less than
. Below this threshold, the ventilation starts to increase by carotid body activity. Acute hypoxia with low
stimulates the carotid bodies. This triggers a rise in ventilation (primary hyperventilation). The hyperventilation reduces
and
, which limits the initial rise in ventilation, because it decreases the carotid body and central chemoreceptor stimuli.
In humans, hypoxia is detected by chemoreceptors in the carotid body. This response does not control ventilation rate at normal
, but below normal the activity of neurons innervating these receptors increases dramatically, so much so to override the signals from central chemoreceptors in the hypothalamus, increasing
despite a falling 
Any physical activity will obviously cause the body to demand more oxygen for normal functioning. The muscles will rob the brain of the marginal amounts of oxygen available in the blood and the time of onset of hypoxic symptoms is shortened.
This paper is organized as follows. Section 2 presents the model equations and optimal control problem. A short description of strategy approach by fuzzy logic for solving optimal control problems is discussed in this section. Section 3 is interested in the application of the direct approach and the approach integrating the fuzzy logic for solving an optimal control problem of glucose-insulin in diabetic human. The numerical simulation is presented in Section 4. Finally, we present conclusion remarks in Section 5.
2. Methods
First of all we focus on the models equations as developed by Guillermo Gutierrez [2] . The diagram for a two compartmental model is illustrated in the Figure 1 where mass transport model of tissue
exchange is developed to examine the relative contributions of blood flow and cellular hypoxia (dysoxia) to increases in tissue and venous blood
concentration.
From the diagram presented in the Figure 1, the equations of the model can be formulated as follows.
Figure 1. Diagram for the tissue
exchange model where
represents the total 










where the variable states 

It is known that the human respiratory control system varies the ventilation rate 




Consequently, the control of cardiovascular and respiratory system is described via the following two ordinary differential equations respectively.


where the functions 

Now let be interested in writing the arterial blood 


where 






where 
By considering the calculation done in [2] , the arterial pressure of 

where 

Similarly, blood 

where 

The respiratory control system aims at keeping 



Find 


subject to the system (1)-(2) and (3)-(4).
In the relation (7), the positive scalar coefficients




Let us consider 

on a regular grid

The functions

where 
and the desired final vector
such that it can be written as follows.

where
with










We are looking for 


Therefore the cost function (10) becomes

where (12) is determined using rectangular method such that the discretisation is done on a regular grid
Finally, the discrete formulation of optimal problem (7) subject to (1)-(2) and (3)-(4) is written as follows.

where 








components of solution of the system (1)-(2) and (3)-(4) associated to



Description of Fuzzy Logic Strategy Approach
Let us consider the following problem.
Find


subject to

where 

The problems (15) and (16) can be solved by the dynamic programming method. This method has a fast convergence, its convergence rate is quadratic and the optimal solution is often represented as a state of control feedback [7] . However, the solution determined by this method depends on the choice of the initial trajectory and in some cases this solution is not optimal. It is for this reason that the integration of the fuzzy logic [8] can permit to determine quickly the optimal solution. We develop a linearization strategy of the subject system by an approach based on the fuzzy logic. This approach had been developed by Takagi-Sugeno [9] [10] . The model that has been introduced in 1985 by Takagi-Sugeno permits to get some fuzzy linearization regions in the state space [11] . While taking these fuzzy regions as basis, non linear system is decomposed in a structure multi models which is composed of several independent linear models [12] . The linearization is made around an operating point contained in these regions.
Let’s consider the set of operating point 


The approximation of order zero gives:

Using the first order of Taylor expansion series we obtain:

To improve this approximation, we introduce the factor of the consequence for fuzzy Takagi-Sugeno system. This factor permits to minimize the error between the non linear function and the fuzzy approximation. If 

If one replaces the term 


where 




Therefore, the optimal control problems (15) and (16) become a linear quadratic problem which the feedback control is given by the following expression [13] [14] :

where

is the feedback gain matrix and 

It is obvious that the linearization around every operating point gives the system for which the equations have the form (20). Because there are 



Then, this transformation gives the following equation:


where

and where 

3. Numerical Approaches for Solving the Optimal Control Problem (7), (1)-(4)
3.1. Fuzzy Strategy
To approximate the optimal control problems (7), (1)-(2) and (3)-(4), we propose to use the explicit Euler scheme. The stability of this scheme constitutes an advantage to approach some ordinary differential equations.
The discretisation of the constraints (1)-(2) and (3)-(4) is done using the first order explicit Euler method. From the Equations (1)-(2) and (3)-(4) and taking 


Applying the first order explicit Euler’s method, the system (27) is transformed as follow

where 


ating point number related to each operating point we have the system

where
Let us set the following variable change

that is
The system (27) can be formulated using the relations (6) and (30) but here we prefer to keep this form. The use of these relations is taken into account in numerical simulation. Therefore, the approximation of objective function (7) is made using the rectangular method and it becomes

where
and where


Find 
subject to
3.2. Direct Approach
To approximate the system (1)-(4), let us consider

a linear B-splines basis functions on the uniform grid

such that
Let us introduce the vector space 

1)
2)
Let us consider 
satisfying

We verify easily that


Therefore, the system (1)-(4) can be approached by the following form
Find 





such that




To approximate the optimal problems (1)-(4), let us set













Therefore, the problems (1) and (2) can take the following compact form

where 
We must determine 


Therefore, we can approximate the objective function by

where
tion given by the problem (46) has been shown in [15] .
Finally, the optimal control problems (7), (1)-(2) and (3)-(4) are minimisation problems with constraint. The discreet formulation of such problem can be written as follows.
Find 

subject to

where 





the matrix such that the 



4. Numerical Simulation
Let us consider a hypoxic patient (a 30 year old woman) practicing jogging as physical activity for a period of 













take 




























The operating points associated to those linguistic variables are given in the Table 1, membership functions associated to this labeling are represented in the Figure 2 and Figure 3 and Table 2 shows the obtained degrees of membership of each linguistic variable.
Using parameters values from Table 3 we get 

Table 1. Variables and their operating points.
Table 2. Variables and their corresponding degrees of membership.
Table 3. Value of used parameters.


Figure 2. Membership function of 



Figure 3. Membership function of 

The next step of the fuzzy logic strategy at this point is the defuzzification. The formulas used in the defuzzification are illustrated in (26). Now considering our Equation (29), the matrices 





Since there are three linear state systems, the solution leads to three feedback controls of the form
where 



For solving the optimal control problem (7) subject to the system (1)-(2) and (3)-(4), we take 


Figure 4. Variation of heart rate (a) and Ventilation rate (b) for a 30 years old woman during jogging as her physical activity. The curves in dotted line represent the parameter for the direct approach. The curve dashed line show the parameter for the approach integrating the fuzzy logic strategy.

Figure 5. Variation of carbon dioxide in tissue (a) and in vascular (b) for a 30 years old woman during jogging as her physical activity. The curves in dotted line represent the parameter for the the direct approach. The curve dashed line show the parameter for the approach integrating the fuzzy logic strategy.

Figure 6. Variation of optimal arterial partial pressure of carbon dioxide (a) and oxygen (b) for a 30 years old woman during jogging as her physical activity. The curve in solid line represents the wanted value. The curve in dotted line indicates the optimal parameter for the approach integrating the fuzzy logic strategy. The curve in dashed line represents the optimal parameter for the direct approach.
The controls variation of the cardiovascular respiratory system are represented in Figure 4 which shows the increase of both the heart rate and the alveolar ventilation until they reach a stabilized state. It is a perfect representation of the importance of physical activity in the regulation of the cardiovascular respiratory system; in order to avoid or even heal non severe Hypoxemic-Hypoxia. In the case of Hypoxemic-Hypoxia, there is a perfect deficit of oxygen in the body. The ventilation rate plays an important role in the gas supply and regulation through the body. An increase in heart rate and ventilation rate results in an adequate and regular supply of both oxygen and carbon dioxide in the body. The Figure 5 shows a decrease of tissue and venous carbon dioxide concentration. This results from the brut increase of ventilation during the initial stage of the physical activity which is followed by a gradual increase of ventilation. The absence of a perfect ventilation leads to an increase (decrease) of carbon dioxide 

5. Concluding Remarks
In this work, two numerical approaches have been compared to determine the optimal trajectories of arterial pressures of of carbon dioxide and oxygen as response to controls of cardiovascular-respiratory system subjected to a physical activity. The finding results show that those two used methods are satisfactory and closed. Consequently, the approach integrating the fuzzy logic strategy is very important for the resolution of the optimal control problem. In particular, it gives the optimal trajectories of cardiovascular-respiratory system in the same way it ensures their performance.
References
- Cymerman, A. and Rock, P.B. (2009) Medical Problems in High Mountain Environments. A Handbook for Medical of Ficers. USARIEM-TN94-2. US Army Research Institute of Environmental Medicine Thermal and Mountain Medicine Division Technical Report.
- Gutierrez, G. (2004) A Mathematical Model of Tissue-Blood Carbon Dioxide Exchange during Hypoxia. American Journal of Respiratory and Critical Care Medicine, 169, 525-533.
- Timischl, S., Batzel, J. J. and Kappel, F. (2000) Modeling the Human Cardiovascular-Respiratory Control System: An Optimal Control Application to the Transition to Non-REM Sleep. Spezialforschungsbereich F-003 Technical Report 190, Karl-Franzens-Universitat, Graz.
- Severinghaus, J.W. (1979) Simple, Accurate Equations for Human Blood O2 Dissociation Computations. Journal of Applied Physiology, 46, 599-602.
- Giovannini, I., Chiarla, C., Boldrini, G. and Castagneto, M. (1993) Calculation of Venoarterial CO2 Concentration Difference. Journal of Applied Physiology, 74, 959-964.
- Douglas, A.R., Jones, N.L. and Reed, J.W. (1988) Calculation of Whole Blood CO2 Content. Journal of Applied Physiology, 65, 473-477.
- Yakowitz, S.J. (1986) The Stagewise Kuhn-Tucker Condition and Differential Dynamic Programming. IEEE Transactions on Automatic Control, 31, 25-30.
- Masmoudi, N.K. and Derbel, N. (2003) Optimal Control of Nonlinear Systems by Fuzzy Logic. ISCIII, Nabeul,.
- Sugeno, M. and Murakami, K. (1984) Fuzzy Parking Control of Model Car. 23rd IEEE Conferences on Decision and Control, Las Vegas, 12-14 December 1984, 902-903. http://dx.doi.org/10.1109/CDC.1984.272144
- Takagi, T. and Sugeno, M. (1985) Fuzzy Identification of Systems and Its Applications to Modeling and Control. IEEE Transactions on Systems Man and Cybernetics, 15, 116-132. http://dx.doi.org/10.1109/TSMC.1985.6313399
- Park, M.I., Kim, E., Ji, S. and Park, M. (1987) A New Approach to Fuzzy Modeling. IEEE Transactions on Fuzzy Systems, 5, 328-337.
- Jacobson, D., Lele, D. and Speyer, J.L. (1971) New Necessary Conditions of Optimality for Control Problems with State-Variable Inequality Constraints. Journal of Mathematical Analysis and Applications, 35, 255-284. http://dx.doi.org/10.1016/0022-247X(71)90219-8
- Kwakernaak, H. and Savan, R. (1972) Linear Optimal Control Systems. Wiley, Inter-Science, New York.
- Trélat, E. (2005) Contrôle Optimal: Théeorie et Applications, Vuibert, Collection, Mathématiques Concrètes.
- Ntaganda, J.M. and Mampassi, B. (2007) Modelling Blood Partial Pressures of the Human Cardiovascular Respiratory System. Applied Mathematics and Computation, 187, 1100-1108. http://dx.doi.org/10.1016/j.amc.2006.09.016
NOTES
*Corresponding author.



























