Abstract
A new robust adaptive controller is developed for the control of the hepatitis B virus (HBV) infection inside the body. The non‐linear HBV model has three state variables: uninfected cells, infected cells and free viruses. A control law is designed for the antiviral therapy such that the volume of infected cells and the volume of free viruses are decreased to their desired values which are zero. One control input represents the efficiency of drug therapy in inhibiting viral production and the other control input represents the efficiency of drug therapy in blocking new infection. The proposed controller ensures the stability and robust performance in the presence of parametric and non‐parametric uncertainties (and/or bounded disturbances). The global stability and tracking convergence of the process are investigated by employing the Lyapunov theorem. The performance of the proposed controller is evaluated using simulations by considering different levels of uncertainties. Based on the obtained results, the proposed strategy can achieve its desired objectives with different cases of uncertainties.
Inspec keywords: medical control systems, drugs, drug delivery systems, cellular biophysics, microorganisms, diseases, Lyapunov methods, adaptive control
Other keywords: robust adaptive Lyapunov‐based control, robust adaptive controller, hepatitis B virus infection, uninfected cells, free viruses, antiviral therapy, drug therapy, viral production, global stability, tracking convergence
1 Introduction
Hepatitis B is a potentially life‐threatening liver infection caused by the hepatitis B virus. It is a major global health problem that can cause chronic infection and puts people at high risk of death from cirrhosis and liver cancer. An estimated 240 million people are chronically infected with hepatitis B (defined as hepatitis B surface antigen positive for at least 6 months). More than 686,000 people die every year due to complications of hepatitis B, including cirrhosis and liver cancer [1].
Available drugs cannot clear the hepatitis B virus (HBV) infection; however, they stop replication of virus and prevent liver damage. Accordingly, among the dynamic models that have been proposed for monitoring the HBV changes during the drug therapy, the virus infection model introduced by Nowak et al. [2] was widely used and validated in studies on the virus infection dynamics. This model was obtained by performing various experimental tests on different patients.
Some other experimental studies were performed on the animals’ HBV‐infected models by Ganem [3] and Feitelson and Larkin [4]. However, some human features make it extremely difficult to extend the animal models to the human HBV [4].
Different methods [5–7] exist in the literature for antiviral therapy problem of infectious diseases. Sharomi and Malik [8] reviewed the available literature on mathematical models that use optimal control theory to deduce the optimal strategies aimed at curtailing the spread of an infectious disease. Moradi et al. [9] used an adaptive control strategy to manipulate the drug usage and consequently decrease the tumour volume in the cancer chemotherapy. Three mathematical cell‐kill models including log‐kill, Norton–Simon and E max hypotheses are considered in the presence of uncertainties [9]. Anelone and Spurgeon [10] employed a model of HIV infection together with an associated reachability analysis which considers the action of antiretroviral drugs to formulate the containment condition of HIV infection on the desirable manifold.
Hernandez‐Vargas and Middleton [11] proposed a mathematical model for the HIV infection. Their model represented the whole trajectory in HIV infection and its progression to AIDS with three stages: primary infection, asymptomatic and symptomatic periods. Also, Rivadeneira et al. [12] explained different studies on the HIV dynamics and proposed optimal control methods for its drug therapy. Different model predictive control methods [13, 14] were suggested for optimal drug scheduling in HIV treatment.
In particular, some control strategies have been applied for the HBV treatment. For instance, Ntaganda and Gahamanyi [15] employed a fuzzy logic for optimal control of the HBV. Su and Sun [7] compared the HBV treatment process using two different therapies (traditional Chinese and Western medicines) by employing an optimal method. Laarabi et al. [16] applied another optimal control strategy in order to minimise the treatment costs and maximise the volume of healthy cells. However, not enough appropriate control methods were presented for the non‐linear HBV dynamics with analysis of the process stability.
In this work, a robust adaptive Lyapunov‐based control strategy is developed for the HBV treatment. The objectives of this control strategy are decreasing the number of infected cells and the number of hepatitis B viruses. As a result of achievement to these objectives, the uninfected cells will increase. For this purpose, two applicable control inputs (the antiviral drug usage) are used to track the descending desired values of infected cells and viruses. These control inputs represent the efficiency of drug therapy in blocking new infection and inhibiting viral production [17]. This means that a control input affects the healthy and sick cells dynamics and the other one affects the hepatitis virus dynamics. The stability of process and tracking convergence are guaranteed using the presented Lyapunov analysis.
In summary, the proposed controller has the following characteristics in comparison with the previously suggested controllers for the HBV [7, 15, 16]: (i) being robust to the parametric uncertainties of the process using the adaptive control theory [18], and (ii) robustness against bounded unstructured modelling (non‐parametric) uncertainties and/or disturbances in the process by employing the sliding‐mode control theory [19]. Accordingly, in this paper, by combining the non‐linear adaptive control [18] and sliding‐mode control [19], a new robust adaptive Lyapunov‐based controller is presented for the HBV infection.
2 Mathematical model of HBV
The employed HBV dynamic model in this work is obtained from some clinical studies [2] on 50 patients for 24 weeks of the treatment. This non‐linear hepatitis B virus dynamics is given by the following system of differential equations [17]:
| (1) |
| (2) |
| (3) |
These dynamics are structured such that the constant parameters were separated from the varying measurable states: numbers of infected cells (y), uninfected cells (x) and free viruses (v). Initial conditions of this dynamics x(0) = x 0, y(0) = y 0 and v(0) = v 0 are given and the definitions of above model parameters are listed in Table 1. Note that the number of healthy cells (x) has a maximum saturation population in the unit of human blood volume. This saturation level is obtained as λ/d = 6.645 × 107 in Section 4 by employing the proposed controller.
Table 1.
| Parameter | Definition |
|---|---|
| d | death rate of target cells |
| δ | death rate of infected cells |
| c | clearance rate of free virions |
| p | production rate of virions per infected cell |
| β | infection rate of new target cells |
| λ | production rate of new target cells |
In this model (1)–(3), and are the control inputs to achieve the desired objectives, which are reducing the amounts of infected cells y and viruses v in the patient's body. Based on [20], the time unit of the model is in day and all the parameters are given in day as well. This time unit (day) has also been used in other similar HBV models [2, 17, 21].
3 Robust adaptive controller design
In this section, the robust adaptive sliding mode control strategy is developed for the non‐linear HBV model. For this purpose, the rates of drug usage and are controlled to track the descending desired values ( and ) for the numbers of infected hepatocytes (y) and free viruses (v). Moreover, using the proposed controller, the tracking performance is achieved in the presence of parametric and non‐parametric uncertainties of the non‐linear HBV model. The employed HBV dynamics is obtained from [2] in which numerous experimental tests were implemented to propose this model (1)–(3). These dynamics were structured such that the constant parameters are separated from the varying states (infected and uninfected cells and viruses). The values of these parameters were obtained from some experiments in [2] that are also represented in [22].
In this paper, different levels of uncertainty in the estimation of HBV model parameters have been considered. Another type of uncertainty considered in this work is the non‐parametric or un‐structured uncertainty. This type of uncertainty comes from some aspects of the process which are not taken into account in the developed model. These uncertainties can originate from measurement limitations and/or errors during the initial experiments, as well as the probable differences (such as age, genetic diversity and life style) among HBV patients.
Accordingly, two arbitrary disturbance functions and are taken into account as unstructured uncertainties of the HBV model. Therefore, (1)–(3) are modified to the following form:
| (4) |
| (5) |
| (6) |
The dynamics of the HBV model for the infected cells y and viruses v (5) and (6) can be rearranged as follows:
| (7) |
| (8) |
Then, the regressor matrices and in terms of certain functions of the variables , , x, y and v, and the vectors and in terms of the unknown parameters of the HBV dynamics (7) and (8) are defined as
| (9) |
| (10) |
| (11) |
| (12) |
such that (7) and (8) can be reformulated using and [23], as
| (13) |
| (14) |
Accordingly, the non‐linear control strategy for the amount of medication is defined as
| (15) |
| (16) |
The sign ^ is used to specify estimated values of the uncertain system parameters that are updated using adaptation laws. In other words, and are the estimations of and (introduced in (11) and (12)). The regressor matrices and in the control laws (15) and (16) are defined in (9) and (10) in terms of , , x, y and v. Based on (15) and (16), the controller is updated according to the patient's infected cells y, viruses v and uninfected cells x. The variables , in (13) and (14) are also defined separately as
| (17) |
| (18) |
where and are positive parameters. The terms and in (15) and (16) provide the robustness of the controller against the bounded model mismatches and/or disturbances ( and in (4)–(6)). In these terms, and are positive gains, and and are defined as tracking errors of infected cells and viruses with respect to their desired values ( and ):
| (19) |
| (20) |
Note that the proposed controller (15)–(16) requires the measurements of infected cells (y), uninfected cells (x) and viruses (v) populations per unit volume of the blood. Some methods in multiplicity of infection are currently employed for quantification of viruses and infected cells per unit volume of liquids [24]. Consequently, similar to the previous studies on the modelling [2, 25] and control [7, 15, 16, 26] of the HBV infection, it is considered that the viruses and cells measurements are possible for implementation of the proposed strategy. Also, the non‐linear HBV model originated from [2] in which the state variables (x, y and v) were measured to obtain the dynamic structure (1)–(3) and identify its parameters.
Now, the adaptation laws for updating the estimated parameters of the system ( and ) are defined as
| (21) |
| (22) |
where and are constant positive definite matrices.
In the next section, using the Lyapunov stability theorem, it will be proved that the proposed robust adaptive controller ensures the stability and convergence of the HBV therapy process in the presence of parametric and non‐parametric uncertainties.
4 Lyapunov analysis
The closed‐loop dynamics of the system using the proposed non‐linear robust adaptive controller is obtained by substituting the control laws (15) and (16) in the HBV model (7) and (8) and by adding and subtracting some terms:
| (23) |
| (24) |
Using (9)–(14) in (23) and (24), the closed‐loop dynamics of the controlled process is obtained as
| (25) |
| (26) |
where and are the vectors of parameter estimation errors. By simplifying (25) and (26), the closed‐loop dynamics is finally expressed as
| (27) |
| (28) |
To prove the process stability and the tracking convergence using the proposed controller, a Lyapunov function candidate is used as
| (29) |
The time derivative of V is then obtained as
| (30) |
where , because is a constant vector and . By employing the non‐linear closed‐loop dynamics (27) and (28) in (30), we have
| (31) |
Using the parameter adaptation laws (21) and (22), in (31) is simplified to:
| (32) |
The positive gains and in the robust controller (15) and (16) should be adjusted as large to overcome the upper bounds of non‐parametric uncertainties (disturbances and ) by satisfying the following inequalities:
| (33) |
Employing (33) in the time derivative of Lyapunov function (32) results in:
| (34) |
Based on the Lyapunov stability theorem [18], the proposed non‐linear control method guarantees the stability and tracking convergence ( and as ). In other words, if the rate of antiviral drug usage is adjusted based on the presented control laws (15) and (16), the populations of infective cells and free viruses converge to their desired values ( and ).
According to (29), the Lyapunov function V is positive definite in terms of , , and . Also, the time derivative of Lyapunov function is negative semi‐definite () in (34). Thus, V is bounded and consequently , , and remain bounded. The desired number of infected cells () and the desired number of viruses are defined bounded. Therefore, since and , the state variables y and v are also bounded due to the boundedness of and . Moreover, by applying the Barbalat's lemma [18], it is concluded that as . As a result and based on (34), the tracking errors of infected cells and viruses converge to zero ( and ). Therefore, the objectives of proposed non‐linear robust adaptive controller ( and ) are achieved. However, the vectors of parameters estimation errors ( and ) remain bounded.
Since the numbers of desired viruses and infected cells are designed to be descending and converge to zero ( and ) during treatment, the numbers of actual viruses and infected cells also converge to zero as a result of the above‐mentioned Lyapunov‐based convergence proof ( and ). Now, for evaluation of the uninfected cells (x) behaviour, (4) is rearranged as
(35) Setting and , we have:
(36) which means that:
(37) Therefore, as the time tends to infinity, the number of healthy cells (x) will converge to its maximum steady‐state value (), which is based on Table 2. □
Table 2.
| Parameter | Value | |
|---|---|---|
| d | 0.0038 | |
|
|
1.981 × 10−13 | |
|
|
0.0125 | |
| p | 842.0948 | |
| c | 0.67 | |
| x(0) | 5.5556 × 107 cells/mL | |
| y(0) | 1.1111 × 107 cells/mL | |
| v(0) | 6.3096 × 109 copies/mL | |
|
|
2.5251 × 105 |
5 Numerical results
The proposed robust adaptive sliding‐mode control strategy is evaluated in this section by performing some simulations. For this purpose, the parameters and initial conditions of the hepatitis B virus infection with the non‐linear model (1)–(3) are considered the same as ones presented in [22] for a patient. These values are listed in Table 2.
The desired descending amounts of infected cells and viruses in the blood that should be tracked using the proposed controller are assumed to be
| (38) |
| (39) |
where and are the final desired values of y and v, respectively. The constant parameters and are desired exponentially decreasing rates of infected cells and viruses during the treatment. For a treatment period of 100 days, these parameters are set on . It is worth mentioning that without loss of generality, other continuous decreasing functions for the desired values of y and v can be used instead of ones expressed in (38) and (39).
The unstructured uncertainties and/or disturbances ( and in (4)–(6) are considered to be non‐linear time varying; however, they can have any bounded functionality, without loss of generality. According to the progress of the HBV disease, and are assumed here to change daily, weekly and monthly due to the periods of human life, as
| (40) |
| (41) |
where are coefficients of time varying disturbances.
In these simulations, three cases of uncertainty are considered in the HBV model for evaluation of the controller performance. The percentages of parametric uncertainties and the coefficients of disturbances and/or non‐parametric uncertainties (40) and (41) in these three cases are listed in Table 3.
Table 3.
Percentages of parametric uncertainties and coefficients of non‐parametric uncertainties (40) and (41)
| Case of uncertainty | Parametric uncertainties | Non‐parametric uncertainty | ||
|---|---|---|---|---|
| Uncertainty percentage for | Uncertainty percentage for | for | for | |
| 1 | +50 | +30 | 0.2 | 0.3 |
| 2 | +30 | −20 | 0.15 | 0.2 |
| 3 | −30 | −50 | 0.1 | 0.1 |
The controller gains in (15)–(18) and the adaptation gains in (21) and (22) are adjusted using a trial and error method to have appropriate tracking convergence: , , and .
The performance of the proposed non‐linear controller in exponential decreasing of the infected cells y and viruses v per ml of the blood volume is shown in Fig. 1, for three cases of uncertainties.
Fig. 1.

Controller performance
(a) Decreasing the number of viruses, (b) Decreasing the number of infected cells, (c) Increasing the number of healthy (uninfected) cells, per ml of the blood volume
As seen in Fig. 1, the proposed controller provides the tracking of desired exponentially decreasing values (defined in (38) and (39) for the hepatitis B viruses and infected cells ( and ). To better illustrate this convergence performance, the normalised tracking errors for the populations of virions and infected cells with respect to their desired values ( and ) are shown in Fig. 2. It is observed that the tracking errors converge to zero ( and ) in the presence of different uncertainty cases (introduced in Table 3), as proved in Section 4 (Lyapunov analysis).
Fig. 2.

Normalised tracking errors
(a) Number of viruses, (b) Number of infected cells, in comparison with their desired values
It was mentioned earlier that x approaches to as the time tends to infinity (by employing the proposed strategy, if then ). However, since 100‐day treatment period is not comparable to infinity, x does not converge to its maximum level in Fig. 1c . To show the final convergence value, the result of x should be plotted for more than 300 days of treatment time. However, since the first 100 days of treatment is the most important time for the reduction of viruses and infected cells and increasing the number of uninfected cells, the simulation results are presented for this time interval.
The aforementioned convergence to desired control objectives is the result of drug therapy based on the designed robust adaptive laws (15) and (16). This drug usage is shown in Fig. 3 for different cases of modelling uncertainty.
Fig. 3.

Drug usage
(a) , (b) for different cases of modelling uncertainty (introduced in Table 3)
As seen, the controller could adapt to different uncertainties and adjust the drug inputs (Fig. 3) such that the desired descending numbers of viruses and infected cells are tracked (Figs. 1 and 2).
To demonstrate the parameter adaptation performance of the proposed strategy, the variations of parameters estimations with respect to their initial values are shown in Fig. 4 for two elements of . The adaptation of is obtained using the update rule (21), and the uncertainty percentages of the initial estimation are mentioned in Table 3 for different cases. It is observed in Fig. 4 that the estimation of unknown parameters in are bounded and consequently the error remains bounded as it was proved in Section 4. The results for are similar and they are not illustrated for the sake of brevity.
Fig. 4.

Adaptation performance for the parameters
(a) , (b) in different cases of uncertainty (in Table 3)
6 Conclusion
A non‐linear robust adaptive Lyapunov‐based control strategy was designed in this paper for the antiviral drug therapy of the hepatitis B virus infection with different cases of uncertainty. The objectives of proposed robust adaptive controller are decreasing the populations of infected cells and viruses by tracking desired descending values, which result in increasing the healthy (uninfected) cells. The stability of controlled process together with the tracking convergence and the bounded parameter adaptation were proved using the Lyapunov analysis.
The controller performance in the presence of different cases of parametric and non‐parametric uncertainties was investigated by some simulations. Due to the obtained results, the proposed non‐linear control strategy is robust against a wide range of modelling uncertainties and bounded disturbances, and can rapidly adjust the antiviral drug usage to reduce hepatitis viruses and infected cells.
The proposed non‐linear robust adaptive control strategy can be used in realistic health treatments of HBV patients, and can be redesigned for other diseases with different dynamic models in future works. In future studies on the HBV treatment, a discontinuous (discrete) control law can be developed to be applicable in clinical implementations. This is because that a discontinuous state feedback (discontinuous measurement of patient's viruses and cells) is more feasible in realistic therapies. However, the stability analysis of a discrete controller for a continuous non‐linear dynamic model of HBV may be mathematically challenging.
7 References
- 1. http://www.who.int/mediacentre/factsheets/fs204/en/, accessed July 2007
- 2. Nowak M., Bonhoeffer S., and Hill A.M. et al.: ‘Viral dynamics in hepatitis B virus infection’, Proc. Natl. Acad. Sci. USA, 1996, 93, pp. 4398–4402 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3. Ganem D.: ‘Hepadnaviridae and their replication’, in Fields B.N., Knipe D.M., and Howley P.M. (Eds): ‘Fields virology’ (Lippincott‐Raven, Philadelphia, 1996), pp. 2703–2737 [Google Scholar]
- 4. Feitelson M.A., and Larkin J.D.: ‘New animal models of hepatitis B and C’, ILAR J., 2001, 42, (2), pp. 127–138 [DOI] [PubMed] [Google Scholar]
- 5. DebRoy S., Kribs‐Zaleta C., and Mubayi A. et al.: ‘Evaluating treatment of hepatitis C for hemolytic anemia management’, Math. Biosci., 2010, 225, (2), pp. 141–155 [DOI] [PubMed] [Google Scholar]
- 6. Landi A., Mazzoldi A., and Andreoni C. et al.: ‘Modelling and control of HIV dynamics’, Comput. Methods Programs Biomed., 2008, 89, (2), pp. 162–168 [DOI] [PubMed] [Google Scholar]
- 7. Su Y., and Sun D.: ‘Optimal control of anti‐HBV treatment based on combination of traditional Chinese medicine and western medicine’, Biomed. Signal Proc. Control, 2015, 15, pp. 41–48 [Google Scholar]
- 8. Sharomi O., and Malik T.: ‘Optimal control in epidemiology’, Ann. Oper. Res., 2015, 251, pp. 1–17 [Google Scholar]
- 9. Moradi H., Sharifi M., and Vossoughi G.: ‘Adaptive robust control of cancer chemotherapy in the presence of parametric uncertainties: a comparison between three hypotheses’, Comput. Biol. Med., 2015, 56, pp. 145–157 [DOI] [PubMed] [Google Scholar]
- 10. Anelone A.J., and Spurgeon S.K.: ‘Prediction of the containment of HIV infection by antiretroviral therapy – a variable structure control approach’, IET Syst. Biol., 2017, 11, (1), pp. 44–53 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Hernandez‐Vargas E.A., and Middleton R.H.: ‘Modeling the three stages in HIV infection’, J. Theor. Biol., 2013, 320, pp. 33–40 [DOI] [PubMed] [Google Scholar]
- 12. Rivadeneira P.S., Moog C.H., and Stan G.‐B. et al.: ‘Mathematical modeling of HIV dynamics after antiretroviral therapy initiation: a review’, BioResearch Open Access, 2014, 3, (5), pp. 233–241 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13. Zurakowski R.: ‘Nonlinear observer output‐feedback MPC treatment scheduling for HIV’, Biomed. Eng. Online, 2011, 10, (1), p. 40 [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14. Zurakowski R., and Teel A.R.: ‘A model predictive control based scheduling method for HIV therapy’, J. Theor. Biol., 2006, 238, (2), pp. 368–382 [DOI] [PubMed] [Google Scholar]
- 15. Ntaganda J.M., and Gahamanyi M.: ‘Fuzzy logic approach for solving an optimal control problem of an uninfected hepatitis B virus dynamics’, Appl. Math., 2015, 6, pp. 1524–1537 [Google Scholar]
- 16. Laarabi H., Abta A., and Rachik M. et al.: ‘Optimal antiviral treatment strategies of HBV infection model with logistic hepatocyte growth’, ISRN Biomath., 2013, 2013, pp. 1–2 [Google Scholar]
- 17. Hattaf K., Rachik M., and Saadi S. et al.: ‘Optimal control of treatment in a basic virus infection model’, Appl. Math. Sci., 2009, 3, (17–20), pp. 949–958 [Google Scholar]
- 18. Slotine J.J.E., and Li W.: ‘Applied nonlinear control’ (Prentice‐Hall, Englewood Cliffs, 1991) [Google Scholar]
- 19. Edwards C., and Spurgeon S.: ‘Sliding mode control: theory and applications’ (CRC Press, Taylor & Francis, Boca Raton, FL, 1998) [Google Scholar]
- 20. Gourley S.A., Kuang Y., and Nagy J.D.: ‘Dynamics of a delay differential equation model of hepatitis B virus infection’, J. Biol. Dyn., 2008, 2, (2), pp. 140–153 [DOI] [PubMed] [Google Scholar]
- 21. Ribeiro R.M., Lo A., and Perelson A.S.: ‘Dynamics of hepatitis B virus infection’, Microbes Infect., 2002, 4, (8), pp. 829–835 [DOI] [PubMed] [Google Scholar]
- 22. Sheikhan M., and Ghoreishi S.A.: ‘Antiviral therapy using a fuzzy controller optimized by modified evolutionary algorithms: a comparative study’, Neural Comput. Appl., 2013, 23, (6), pp. 1801–1813 [Google Scholar]
- 23. Sharifi M., and Moradi H.: ‘Nonlinear robust adaptive sliding mode control of influenza epidemic in the presence of uncertainty’, J. Process Control, 2017, 56, pp. 48–57 [Google Scholar]
- 24. Abedon S., and Bartom E.: ‘Plaques’, in Brenner S., and Mille J. (Ed.): ‘Brenner‘s encyclopedia of genetics’ (Academic Press, Massachusetts, 2013, 2nd edn.), pp. 356–357 [Google Scholar]
- 25. Elaiw A., Alghamdi M., and Aly S.: ‘Hepatitis B virus dynamics: modeling, analysis, and optimal treatment scheduling’, Discret. Dyn. Nat. Soc., 2013, 2013, pp. 1–9 [Google Scholar]
- 26. Sheikhan M., and Ghoreishi S.A.: ‘Application of covariance matrix adaptation–evolution strategy to optimal control of hepatitis B infection’, Neural Comput. Appl., 2013, 23, (3–4), pp. 881–894 [Google Scholar]
