1 Introduction

Lord Rayleigh was the first one who analyzed the dynamic of a spherical bubble surrounded by liquid. He ignored surface viscosity, tension, compressibility and considered a bubble full of gas. Additional attempts by Plesset lead to the Rayleigh–Plesset equation, the simplest equation to describe the bubble’s radial behavior [1]. In continuation, Keller presented the Rayleigh–Plesset–Keller equation which is the time evolution of a single and spherical bubble [2].

Recently, a comprehensive investigation into the dynamic of bubble near different types of boundaries has been carried out [3, 4]. There are different versions of the Rayleigh–Plesset equation that study the radial behavior of an encapsulated microbubble under different conditions. In [5], Doinikov attempted to model an encapsulated microbubble in the vicinity of a rigid wall by a modified version of Rayleigh–Plesset equation. In [6, 7], authors explained the bubble behavior under different conditions such as near a fluid layer and elastic wall with mathematical language. However, they ignored the fact that in the actual world contrast agent microbubble oscillates in the vicinity of a boundary layer [8]. Two modified Rayleigh–Plesset equations also describe the governing dynamics and the secondary Bjerknes force between two bubbles [9].The bubble radial behavior changes significantly in the presence of a boundary layer.

In [10], the authors reported that the scattered pressure of an encapsulated microbubble was influenced by the boundary layer such as an elastic wall. Similarly in [11], experimental studies show that bubble’s proximity to the boundary layer caused noticeable changes in the radius- time curve of bubble, Lankford experimental observation also confirms that the acoustic signal of the contrast agent microbubble is reduced due to its proximity to the rigid wall [12]. Garbin observed more than 50% reduction in the oscillation amplitude of an encapsulated microbubble due to the presence of the boundary layer [13].

Recently, encapsulated microbubble is widely used in modern medicine because it can pass through the narrowest vessels in the body when it is administrated to the circulatory system. Encapsulated microbubble is considered a novel method for transporting and releasing drugs to the desired location [14, 15]. Vibration of microbubble produces a local pulsating disturbance in the surrounding liquid and this property helps to blood–brain barrier opening [16]. Encapsulated microbubbles are also employed as an ultrasound contrast agent for clinical diagnosis in cardiology to improve the detection and characterization of tumors [17]. Nonlinear oscillation is generated, when microbubble is exposed to a typical acoustic field. This emission signal contains higher harmonics which can be distinguished from the primary ultrasound [18]. This property is employed in the ultrasound radiography application ranges from stroke detection to blood volume and perfusion measurement [19, 20].

The results of this study are also useful for industrial design. Control valves and pumps are vital components in industrial applications. The useful life of industrial valves and pumps are highly affected by the phenomenon of bubble collapse [21, 22]. In [23], the authors investigate the effect of the number of trims on the performance of the globe valve and how it suppresses the cavitation problem. It should be mentioned that most of the proposed methods are not economically justified and demand to change the mechanical structure of valves and pumps. This paper suggests a novel solution to prevent from bubble collapse and efficient method to extend the life of industrial valves.

Recently, sliding mode control (SMC) was turned into a popular method by robustness and simple implementation and applied to a variety of systems [24]. The main negative aspect of SMC control is a chattering phenomenon [25]. This phenomenon is extremely damaging to the actuators of the physical system [26]. In order to prevent chattering in SMC, Slotine proposed quasi-SMC, which considered a boundary layer for the sliding manifold [27]. The main drawback of the proposed method is to increase the tracking error of the state vector, which in many cases is undesirable. In [28], integral sliding mode control (ISMC) is introduced which improves both tracking error and chattering problem.

The rest of this paper is organized as follows. Section 2 contain model description including governing equation and also control challenges. Section 3 introduces various sliding mode control schemes and checking the stability of the proposed sliding manifold via the Lyapunov theory. Simulation results and analysis of their performances including the case of uncertain initial bubble radius and liquid viscosity are also presented.

2 Model description

The governing dynamic of encapsulated microbubble is achieved by using the image sources method and Lagrangian formula [29, 30]. As shown in Fig. 1, in the image sources method, a virtual bubble is considered on the right side of the real bubble instead of wall. The governing dynamic of encapsulated microbubble in the vicinity of an elastic wall is described by the nonlinear second-order differential equation known as Rayleigh–Plesset-like equation as follows [31];

$$R\ddot{R}\left( {1 - \frac{{\dot{R}}}{c}} \right) + \frac{3}{2}\dot{R}^{2} \left( {1 - \frac{{\dot{R}}}{3c}} \right) = \left( {\frac{{1 + \frac{{\dot{R}}}{c} + \frac{R}{c}}}{{\rho_{L} \tau \left( \varepsilon \right)}}} \right) \times \left[ {P_{G0} \left( {\frac{{R^{3} - R_{0}^{3} }}{{R^{3} - a^{3} }}} \right) - 4\mu_{L} \frac{{\dot{R}}}{R} - P_{0} - P_{ac} - S} \right]$$
(1)

where \(R,\dot{R}{\text{ and S}}\) describe microbubble radius, interface velocity of microbubble and the effect of encapsulation, respectively. De Jong mathematically models the effect of encapsulation as follows [32];

$$S = 4\kappa_{s} \frac{{\dot{R}}}{{R^{2} }} + 4\chi \left( {\frac{1}{{R_{0} }} - \frac{1}{R}} \right)$$
(2)
Fig. 1
figure 1

Schematic sketch of encapsulated MB in the vicinity of an elastic wall

The equilibrium gas pressure \(\left( {P_{G0} } \right)\) inside the microbubble in the vicinity of an elastic wall is introduced as follows;

$$P_{G0} = P_{0} + \frac{{2\sigma \left( {R_{0} } \right)}}{{R_{0} }}$$
(3)

The parameters used in Eqs. 13 are completely introduced in Table 1. The first step for employing control algorithms into nonlinear dynamic of encapsulated microbubble in the vicinity of an elastic wall is rewriting the Eq. (1) into state-space form. For this purpose, the vector \(X = \left[ {x_{1} \, x_{2} } \right]^{T} = \left[ {R \, \dot{R}} \right]^{T}\) is considered as the state vector.

Table 1 Encapsulated micro bubble parameters

According to this consideration, the equivalent state-space form of Eq. (1) is obtained as follows:

$$\left\{ \begin{aligned} & \dot{x}_{1} = x_{2} \\ & \dot{x}_{2} = \frac{{ - 3x_{2}^{2} }}{{2x_{1} }}\left( {\frac{{1 - \frac{{x_{2} }}{3c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) - \frac{{4\mu_{L} x_{2} }}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) + \frac{{P_{G0} }}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right)\left( {\frac{{x_{1}^{3} - R_{0}^{3} }}{{x_{1}^{3} - a^{3} }}} \right) \\ & \quad \quad - \frac{S}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) - \frac{1}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right)u\left( t \right) \\ & y = x_{1} \\ \end{aligned} \right.$$
(4)

where \(\left( {u\left( t \right) = P_{0} + P_{ac} } \right)\) and \(\left( {y = x_{1} = R} \right)\) are considered to be control input signal i.e. acoustic pressure wave and the output of the system, respectively. The system presented in (4) can be simplified into affine form as follows;

$$\left\{ \begin{aligned} & \dot{x}_{1} = x_{2} \\ & \dot{x}_{2} = f\left( X \right) + g\left( X \right)u\left( t \right) \\ \end{aligned} \right.$$
(5)

The terms \(f\left( X \right)\) and \(g\left( X \right)\) in system (5) are nonlinear and differentiable functions as follows;

$$\begin{aligned} f\left( X \right) & = \frac{{ - 3x_{2}^{2} }}{{2x_{1} }}\left( {\frac{{1 - \frac{{x_{2} }}{3c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) - \frac{{4\mu_{L} x_{2} }}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) + \frac{{P_{G0} }}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right)\left( {\frac{{x_{1}^{3} - R_{0}^{3} }}{{x_{1}^{3} - a^{3} }}} \right) \\ & \quad - \frac{S}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) \, ,g\left( X \right) = - \frac{1}{{\rho_{L} \tau \left( \varepsilon \right)x_{1} }}\left( {\frac{{1 + \frac{{x_{2} }}{c} + \frac{{x_{1} }}{c}}}{{1 - \frac{{x_{2} }}{c}}}} \right) \\ \end{aligned}$$
(6)

Remark 1

The distance between wall and microbubble is in order of bubble size; therefore, time delays problem is negligible for sound wave propagation between wall and bubble [33].

Remark 2

The term \(\rho_{L} \tau \left( \varepsilon \right)\) in Eq. (1) determines the effective density. The term \(\tau \left( \varepsilon \right)\) is a dimensionless factor that depends on the wall’s mechanical properties. In other words, the material of considered wall has direct effect on the behavior of designated microbubble.

Both experimental and theoretical research emphasizes that bubble’s radial behavior enormously changes in the presence of a boundary layer. In [13], Garbin published his experimental observations on changes in the amplitude of oscillation caused by wall presence. He assumed that a single bubble with initial radius \(R_{0} = 2\;\upmu{\text{m}}\) is derived with the acoustic pressure wave as follows;

$$P_{ac} \left( t \right) = P_{m} \sin \left( {2\pi ft} \right)\exp \left[ { - \left( {\frac{2ft}{N}} \right)^{4} } \right]$$
(7)

where \(P_{m} = 200\;{\text{KPa}}\) is the pressure amplitude,\(f = 2.45{\text{ MHz}}\) is the center frequency and \(N = 10\) is the number of acoustic cycles. According to Fig. 2, the radius-time curve shows more than 50% reduction in amplitude oscillation of the bubble due to the presence of wall.

Fig. 2
figure 2

Experimental comparison of radius-time curves for an encapsulated MB surrounded by liquid (No wall), in the vicinity of wall (No contact), attached to wall (Contact) [31]

Theoretical analysis of the bubble’s radial behavior confirmed the experimental results. This analysis was based on Eq. (1) and parameters presented in Table 1 for three different conditions. First, the bubble is oscillating far away from the wall and surrounded by liquid. Second, the bubble is attached to the wall and finally, the bubble is in the vicinity of the wall but no contact between wall and bubble is established. The bubble is insonified with the same condition as experimental observation. According to Fig. 3, the oscillation amplitude of the bubble in the vicinity of the wall is reduced more than 60% and it has higher frequency than bubble surrounded by liquid.

Fig. 3
figure 3

Theoretical comparison of radius-time curves for an encapsulated MB surrounded by liquid (No wall), in the vicinity of wall (No contact), attached to the wall (Contact) [31]

Both experimental and theoretical results confirmed that microbubble in the vicinity of an elastic wall presents radial oscillation with lower amplitude but higher frequency than bubble surrounded by liquid. In this paper, we intend to use nonlinear control algorithm in order to take the radial oscillation of microbubble under control. In the other word, our main control objective is that bubble follow the desired radius by applying control input signal i.e. acoustic pressure wave.

One of the important advantages of this research is in the field of ultrasonic target imaging. In ultrasonic target imaging, distinguishing the scattered pressure of designated microbubble from other circulating microbubbles is a crucial task. The scatter pressure generated by encapsulated microbubble in far-field zone, i.e., for \(r_{1} \gg R\) is given by [7];

$$P\left( {r_{1} \gg R} \right) = \frac{{\rho_{L} \left( {R^{2} \ddot{R} + 2R\dot{R}^{2} } \right)}}{{r_{1} }}\frac{2\beta }{{\rho_{L} + \beta }}$$
(8)

This equation relies heavily on the bubble radius and its derivatives. Different harmonics in the Fourier spectrum of scatter pressure are observed due to the pulsating behavior of the designated bubble, which makes it difficult to distinguish the scattered pressure from other agents. The nonlinear control scheme presented in this paper prevents from pulsating behavior and makes it easy to distinguish the scattered pressure.

3 Controller design

In this section, the procedure of designing a sliding mode controller is discussed. Our main control objective is to obtain a stabilizing control input signal \(\left( {u\left( t \right)} \right)\) which is able to regulate the radius of the bubble \(\left( {x_{1} \left( t \right)} \right)\) into the desired radius \(\left( {x_{d} \left( t \right)} \right)\). The stabilization of the bubble dynamic is guaranteed by using the Lyapunov stability analysis theory.

The design of the sliding mode controller starts by defining the error in the system (5) as follows;

$$e\left( t \right) = x_{1} \left( t \right) - x_{d} \left( t \right)$$
(9)

where \(x_{d} \left( t \right)\) is the desired reference radius.

The most significant step in the process of designing a sliding mode controller is determination of sliding manifold. Since the nonlinear dynamic of a microbubble in the vicinity of an elastic wall (5) has a relative degree of two, the sliding manifold is defined as follows;

$$S_{Tra} \left( X \right) = \left[ {\frac{d}{dt} + \lambda } \right]e\left( t \right) = \dot{e}\left( t \right) + \lambda e\left( t \right),\lambda > 0$$
(10)

The sliding mode controller design is consists of two phases. In the first phase, the system states \(X = \left[ {x_{1} \, x_{2} } \right]^{T}\) move from initial states \(\left( {X\left( 0 \right)} \right)\) toward the sliding manifold \(\left( {S_{Tra} \left( X \right)} \right)\) in the phase plane \(\left( {x_{1} - x_{2} {\text{ plane}}} \right)\) under equivalent control law \(\left( {u_{equ} \left( t \right)} \right)\). In the second phase, the switching control law \(\left( {u_{sw} \left( t \right)} \right)\) is applied to transfer system states along the sliding manifold (10) to the desired point \(\left( {x_{d} \left( t \right)} \right)\). The equivalent control law \(\left( {u_{equ} \left( t \right)} \right)\) is achieved by checking the invariance condition \(\left( {\dot{S}_{Tra} \left( X \right) = 0} \right)\) as follows;

$$\dot{S}_{Tra} \left( X \right) = \ddot{e}\left( t \right) + \lambda \dot{e}\left( t \right) = \ddot{x}_{1} \left( t \right) - \ddot{x}_{d} \left( t \right) + \lambda \dot{e}\left( t \right) = 0$$
(11)

Substituting from (5) into (11) yields;

$$u_{equ} \left( t \right) = g^{ - 1} \left( X \right)\left( { - f\left( X \right) + \ddot{x}_{d} - \lambda \dot{e}\left( t \right)} \right)$$
(12)

Theorem 1

For the nonlinear system of encapsulated microbubble in the vicinity of an elastic wall (5), the tracking error (9) exponentially converges to zero if the following control law holds;

$$u_{Tra} (t) = u_{equ} \left( t \right) + u_{sw} \left( t \right) = g^{ - 1} \left( X \right)\left( { - f\left( X \right) + \ddot{x}_{d} - \lambda \dot{e}\left( t \right) - K_{1} \text{sgn} \left( {S_{Tra} \left( X \right)} \right)} \right)$$
(13)

where \(\left( {K_{1} > 0} \right)\) is a design constant.

Proof

Positive-definite Lyapunov candidate function is considered as follows;

$$V\left( X \right) = \frac{1}{2}S_{Tra}^{2} \left( X \right)$$
(14)

Taking its derivative with along the time yields;

$$\dot{V}\left( X \right) = S_{Tra} \left( X \right)\dot{S}_{Tra} \left( X \right) = S_{Tra} \left( X \right)\left( {f\left( X \right) + g\left( X \right)u\left( t \right) - \ddot{x}_{d} + \lambda \dot{e}\left( t \right)} \right)$$
(15)

According to the Lyapunov theory, the main task of a control input signal (13) is making \(\left( {\dot{V}\left( X \right)} \right)\) negative definite. Substituting Eq. (13) into Eq. (15) yields:

$$\dot{V}\left( X \right) = S_{Tra} \left( X \right)\left( { - K_{1} \text{sgn} \left( {S_{Tra} \left( X \right)} \right)} \right) < 0,K_{1} > 0$$
(16)

It is obvious that \(\left( {\dot{V}\left( X \right)} \right)\) is negative definite function if a positive value is selected for the gain \(\left( {K_{1} } \right)\). According to the Lyapunov theory, the sliding manifold (10) is asymptotically stable and tracking error (9) exponentially converges to zero. The proof is completed.□

It should be noted that oftentimes the parameters like liquid viscosity and initial radius are uncertain in the dynamic of microbubble in the vicinity of an elastic wall [34]. In this case, the estimated dynamic \(\left( {\hat{f}\left( X \right)} \right)\) should be replaced instead of \(\left( {f\left( X \right)} \right)\) in Eq. (13).We assume that the estimated error \(\left| {f\left( X \right) - \hat{f}\left( X \right)} \right|\) is bounded by some known function as \(F = F\left( {x,\dot{x}} \right)\), i.e. \(\left| {\hat{f}\left( X \right) - f\left( X \right)} \right| < F\).

Theorem 2

Tracking error (9) converges to zero and the chattering phenomenon is optimally minimized if the gain \(\left( {K_{1} } \right)\) is selected as \(K_{1} = F + \eta ,\eta > 0\)

Proof

The reachability condition is considered as follows;

$$\frac{1}{2}\frac{d}{dt}\left( {S_{Tra}^{2} (X)} \right) \le - \eta \left| {S_{Tra} \left( X \right)} \right|,\eta > 0$$
(17)

Taking its derivative with respect to time yields:

$$S_{Tra} \left( X \right)\dot{S}_{Tra} \left( X \right) = S_{Tra} \left( X \right)\left( {f\left( X \right) + g\left( X \right)u\left( t \right) - \ddot{x}_{d} \left( t \right) + \lambda \dot{e}\left( t \right)} \right) \le - \eta \left| {S_{Tra} \left( X \right)} \right|$$
(18)

Substituting Eq. (13) into Eq. (18) yields;

$$S_{Tra} \left( X \right)\dot{S}_{Tra} \left( X \right) = S_{Tra} \left( X \right)\left( {f\left( X \right) + g\left( X \right)\left( \begin{aligned} g^{ - 1} \left( X \right)\left( { - \hat{f}\left( X \right) + \ddot{x}_{d} - \lambda \dot{e}\left( t \right)} \right) \hfill \\ - K_{1} g^{ - 1} \left( X \right)\text{sgn} \left( {S_{Tra} \left( X \right)} \right) \hfill \\ \end{aligned} \right) - \ddot{x}_{d} + \lambda \dot{e}\left( t \right)} \right)$$
(19)

By simplifying Eq. (19) and substituting \(\text{sgn} \left( {S_{Tra} \left( X \right)} \right)\) with \(\frac{{\left| {S_{Tra} \left( X \right)} \right|}}{{S_{Tra} \left( X \right)}}\) yields;

$$S_{Tra} \left( X \right)\dot{S}_{Tra} \left( X \right) \le \left| {S_{Tra} \left( X \right)} \right|\left( {F - K_{1} } \right) \le - \eta \left| {S_{Tra} \left( X \right)} \right|$$
(20)

It is understood from Eq. (20) that the optimal choice for the gain \(\left( {K_{1} } \right)\) is as follows;

$$K_{1} \ge F + \eta \Rightarrow K_{1} = F + \eta$$
(21)

Since all actuators in the actual world have the control bounds, we propose the following constraint;

$$u\left( t \right) = \left\{ {\begin{array}{*{20}l} {u\left( t \right)} & {{\text{if}}\;\;\left| u \right| \le u_{\hbox{max} } } \\ {\frac{u\left( t \right)}{{\left| {u\left( t \right)} \right|}}u_{\hbox{max} } } & {{\text{if}}\;\;\left| u \right| \ge u_{\hbox{max} } } \\ \end{array} } \right.$$
(22)

Here \(u_{\rm{max} }\) is the maximum value of the control input signal.

The system states reaches the sliding manifold \(\left( {S_{Tra} \left( X \right) = 0} \right)\) in a finite time \(\left( {t_{r} } \right)\). This time is calculated by integrating the reachability condition of Eq. (17) between \(t = 0\) and \(t = t_{r}\) as follows;

$$t_{r} \, \le \, \frac{{S_{Tra} \left( {X = 0} \right)}}{\eta }$$
(23)

One solution to reduce the chattering magnitude is to use saturation function instead of sign function in the control input signal (13) as follows;

$$sat\left( {\frac{{S_{Tra} \left( X \right)}}{\phi }} \right) = \left\{ \begin{array}{ll} 1 &\quad \left| {\frac{{S_{Tra} \left( X \right)}}{\phi }} \right| \le 1 \hfill \\ \text{sgn} \left( {\frac{{S_{Tra} \left( X \right)}}{\phi }} \right) &\quad \left| {\frac{{S_{Tra} \left( X \right)}}{\phi }} \right| > 1 \hfill \\ \end{array} \right.$$
(24)

where \(\phi\) is the thickness of the boundary layer around the sliding manifold. This reduction in the chattering magnitude caused by the interpolation of the sliding manifold \(\left( {S_{Tra} \left( X \right)} \right)\) in a thin layer of thickness \(\phi\), but its main drawback is increasing steady-state error.

The main benefit of integral sliding manifold control over the boundary layer and traditional sliding manifold is the elimination of chattering problem and the improvement of the steady-state error [35]. In this novel solution, the integral sliding manifold is suggested as follows;

$$S_{ISMC} \left( X \right) = \dot{e}\left( t \right) + \lambda_{1} e\left( t \right) + \lambda_{2} \int_{0}^{t} {e\left( \tau \right) \, } d\tau$$
(25)

where \(\left( {\lambda_{1} ,\lambda_{2} > 0} \right)\) are design constants.

Theorem 3

For the nonlinear system of encapsulated microbubble in the vicinity of an elastic wall (5), according to the reachability law condition of Eq. (17), the bubble radius will converge asymptotically to the desired radius and stay there forever if the sliding manifold is selected as Eq. (25) and the control input signal is adopted as follows;

$$u_{ISMC} \left( t \right) = g^{ - 1} \left( X \right)\left( { - f\left( X \right) + \ddot{x}_{d} - \lambda_{1} \dot{e}\left( t \right) - \lambda_{2} e\left( t \right) - K_{2} sat\left( {\frac{{S_{ISMC} \left( X \right)}}{\phi }} \right)} \right)$$
(26)

where \(\left( {K_{2} > 0} \right)\) is a design constant.

Proof

The sliding manifold \(\left( {S_{ISMC} \left( X \right)} \right)\) is considered outside of the boundary layer (24), hence, the Eq. (26) can be rewritten as follows;

$$u_{ISMC} \left( t \right) = g^{ - 1} \left( X \right)\left( { - f\left( X \right) + \ddot{x}_{d} - \lambda_{1} \dot{e}\left( t \right) - \lambda_{2} e\left( t \right) - K_{2} \text{sgn} \left( {S_{ISMC} \left( X \right)} \right)} \right)$$
(27)

Positive-definite Lyapunov candidate function is considered as follows;

$$V\left( X \right) = \frac{1}{2}S_{ISMC}^{2} \left( X \right)$$
(28)

Taking its derivative with respect to time yields:

$$\dot{V}\left( X \right) = S_{ISMC} \left( X \right)\dot{S}_{ISMC} \left( X \right) = S_{ISMC} \left( X \right)\left( {\ddot{e}\left( t \right) + \lambda_{1} \dot{e}\left( t \right) + \lambda_{2} e\left( t \right)} \right)$$
(29)

Substituting from Eq. (9) into Eq. (29) yields;

$$\dot{V}\left( X \right) = S_{ISMC} \left( X \right)\left( {f\left( X \right) + g\left( X \right)u\left( t \right) - \ddot{x}_{d} + \lambda_{1} \left( {x_{2} - \dot{x}_{d} } \right) + \lambda_{2} \left( {x_{1} - x_{d} } \right)} \right)$$
(30)

The main objective of the control input signal (27) is making \(\dot{V}\left( x \right)\) negative definite which leads to asymptotically stabilization of integral sliding manifold. Substituting Eq. (26) into Eq. (30) yields;

$$\dot{V}\left( X \right) = S_{ISMC} \left( X \right)\left( { - K_{2} \text{sgn} \left( {S_{ISMC} \left( X \right)} \right)} \right) < 0$$
(31)

According to the Lyapunov theory and reachability condition (17), Eq. (31) states that integral sliding manifold (25) is asymptotically stable. In other words, the tracking error (9) is converged exponentially to zero within the finite time and the chattering problem is minimized simultaneously. In the integral sliding mode control solution, the reaching time from initial states to the boundary layer is calculated by integrating the reachability condition (17) between \(t = 0\) and \(t = t_{r}\) as follows;

$$t_{r} \le \frac{{\left| {S_{ISMC} \left( {X = 0} \right)} \right| - \phi }}{\eta }$$
(32)

Remark 3

by a simple comparison between Eqs. (23) and (32), it is understood that using integral sliding manifold leads to faster reaching time than the traditional sliding manifold.

Remark 4

the thickness of the boundary layer \(\left( \phi \right)\) in the saturation function of Eq. (24) has a direct relationship with the faster reaching time (32) and attenuation of chattering magnitude but has a reverse relationship with steady-state error (9).

Corollary 1

with regards to Eq. (22), in a saturated condition \(\left( {\left| {u\left( t \right)} \right| \ge u_{\hbox{max} } } \right)\), the control input signal of Eq. (26) acts like a conventional PID controller with coefficients of \(K_{p} = \frac{{\lambda_{1} }}{\phi },K_{I} = \frac{{\lambda_{2} }}{\phi },K_{d} = \frac{1}{\phi }\)

Proof

The control input signal (26) in a saturation condition (29) is defined as follows;

$$u\left( t \right) = u_{\hbox{max} } sat\left( {\frac{{S_{ISMC} \left( X \right)}}{\phi }} \right)$$
(33)

Substituting Eq. (25) into Eq. (33) yields;

$$u\left( t \right) = u_{\hbox{max} } sat\left( {\frac{{\dot{e}\left( t \right) + \lambda_{1} e\left( t \right) + \lambda_{2} \int_{0}^{t} {e\left( \tau \right) \, } d\tau }}{\phi }} \right)$$
(34)

By expanding Eq. (34) one can easily conclude;

$$u\left( t \right) = u_{\hbox{max} } sat\left( {\frac{1}{\phi }\left( {\dot{e}\left( t \right)} \right) + \frac{{\lambda_{1} }}{\phi }\left( {e\left( t \right)} \right) + \frac{{\lambda_{2} }}{\phi }\left( {\int_{0}^{t} {e\left( \tau \right)} \, d\tau } \right)} \right)$$
(35)

Equation (35) has structure of conventional PID controller with coefficients of

$$K_{p} = \frac{{\lambda_{1} }}{\phi },K_{d} = \frac{1}{\phi },K_{I} = \frac{{\lambda_{2} }}{\phi }$$
(36)

The proof is completed.□

4 Results and discussion

In order to evaluate the performance of proposed methods, the nonlinear dynamics of the bubble in the vicinity of an elastic boundary (5) are tested under control input signals \(\left( {u_{Tra} \left( t \right)} \right)\) and \(\left( {u_{ISMC} \left( t \right)} \right)\). The simulations are performed by using Matlab-Simulink software with the step size \(.001\).

In the first simulation, the nonlinear dynamic of bubble (5) is evaluated under the traditional sliding mode controller (13). The parameters of the controller are selected as follows; \(\lambda = 50,K_{1} = 1.\) Fig. 4a shows the Bubble’s radial behavior under traditional sliding mode control (13). It is understood that the bubble with an initial radius of \(R_{0} = 2\;\upmu{\text{m}}\) successfully converged to the desired radius of \(R_{d} = 2.4\;\upmu{\text{m}}\). It means that the proposed method prevents bubble collapse or undesired oscillation. As shown in Fig. 4b, the control input signal (13) suffers from the chattering phenomenon. It should be noted that the chattering problem in the control input signal caused by the signum function in Eq. (13).

Fig. 4
figure 4

Bubble dynamic under traditional sliding mode control: a tracking performance, b control effort

In the second simulation, the nonlinear dynamic of the bubble (5) under the boundary layer sliding mode controller is examined. The parameters of the controller are selected as follows; \(\lambda = 50,K_{1} = 1,\phi = .3 \, .\) bubble radius and control effort under the boundary layer sliding mode controller are depicted in Fig. 5a and b, respectively. By a simple comparison with traditional sliding mode control, it is easy to understand that the chattering problem is almost eliminated from the control effort signal but the tracking error and reaching time are increased.

Fig. 5
figure 5

Bubble dynamic under boundary layer sliding mode control: a tracking performance, b control effort

In the third simulation, the nonlinear dynamic of the bubble (5) under the integral sliding mode controller (26) is evaluated. The parameters of the controller are selected as follows;\(\lambda_{1} = 50,\lambda_{2} = 1,K_{2} = 1,\phi = .01.\) Fig. 6a and b, present bubble radius, and control effort under integral sliding mode controller. It is clear that all control objectives including the elimination of chattering problem and convergence of tracking error to zero are satisfied under robust integral sliding mode control.

Fig. 6
figure 6

Bubble dynamic under robust integral sliding mode control: a tracking performance, b control effort

In order to carry out a comparative study between the performance of the proposed controller, root mean square error (RMSE) is introduced as follows;

$$RMSE = \sqrt {\frac{1}{\Delta T}\int_{0}^{\Delta T} {e^{2} \left( t \right)dt} }$$
(37)

where \(\left( {\Delta T = 6\;\upmu\text{s} } \right)\) is simulation time. According to Table 2, the best result in terms of time response and the quality of the control input signal is generated by using the integral sliding manifold controller. Fig  7 evaluates all three types of controllers in terms of minimizing tracking error. It is clear that the best result is achieved by using an integral sliding manifold.

Table 2 Comparison between controllers performance
Fig. 7
figure 7

Comparison of tracking error (\((e(t) = x_{1} (t) - x_{d} (t))\)) for all three types of controller

In order to verify that the proposed method (26) is insensitive to parametric or structured uncertainties, the initial radius \(\left( {R_{0} } \right)\) and liquid viscosity \(\left( {\mu_{L} } \right)\) have been deviated by \(\pm \;30\%\). According to Fig. 8a and b integral sliding mode controller presents robust performance against initial radius uncertainty while other performance indexes such as reaching time, steady-state error and attenuation of chattering phenomenon are fulfilled.

Fig. 8
figure 8

Evaluating robustness of against parametric uncertainty: a − 30% uncertainty of initial radius, b + 30% uncertainty of initial radius

Figure 9a and b present tracking performance of integral sliding mode control under uncertainty of liquid viscosity. Despite little variation from desired objectives such as steady-state error and reaching time, the controller still has acceptable performance.

Fig. 9
figure 9

Evaluating robustness of against parametric uncertainty: a − 30% uncertainty of liquid viscosity, b + 30% uncertainty of liquid viscosity

5 Conclusion

In this paper, we have tackled the challenging problem of designing a robust integral sliding mode controller for an encapsulated microbubble in the vicinity of an elastic wall. The main contribution of this paper is to prevent nonlinear radial oscillation of encapsulated microbubble using nonlinear control methods. We start by representing the Rayleigh–Plesset-like equation into state-space form. Then three types of sliding mode controller including traditional, boundary layer and robust integral SMC are introduced. The simulation results confirmed the efficiency of integral SMC over traditional and boundary layer SMC in terms of minimizing chattering problem and improving time response performances. The work in this paper can be extended in many ways. For example, the design of a fuzzy controller for the nonlinear dynamic of encapsulated microbubble can also be tested. It is also possible to consider more complex bubble dynamics, such as two coupled bubbles or dynamic of encapsulated microbubble between two elastic walls.