Introduction

The memristor was originally predicted by Chua (1971), which is considered to be the fourth basic circuit element besides resistor, capacitor and inductor. However, the first practical memristor device was realized by HP laboratory until 2008 (Strukov et al. 2008). Similar to the operating principle of synapsis in human brain, the memristor has the function of memorizing the direction of flow of electric charge in the past. Therefore, it performs as a forgetting and remembering process in human brains. In recent years, memristor has become a hot topic due to its potential applications in next generation computers and powerful brain-like computers. By substituting resistor in traditional neural network with memristor, the memristive neural network is then constructed, which can make the artificial neural networks of human brain better. Recently, there have been many interesting research on the dynamics of memristive neural networks (Li and Cao 2016; Yang et al. 2017; Qi et al. 2014; Rakkiyappan et al. 2015; Chen et al. 2015). In Qi et al. (2014), the stability of delayed memristive neural networks with time-varying impulses is studied. The stability of memristor-based fractional-order neural networks with different memductance functions is investigated using Lyapunov method and Banach contraction principle in Rakkiyappan et al. (2015).

The second-order term in neural network is called inertial term, which cause more complex dynamic behavior compared with first-order neural networks. Physically, the second-order term represents inductance in circuit systems. There is strong biological background for the introduction of an inductance term in neural system (Ke and Miao 2013; Liu et al. 2009; Zhang and Quan 2015; Dong et al. 2012; He et al. 2012; Li et al. 2004; Liu et al. 2009; Wheeler and Schieve 1997; Hu et al. 2015; Zhang et al. 2015; Cao and Wan 2014). In semicircular canals of some animals, the membrane of a hair cell can be implemented by equivalent circuits that contain an inductance (Liu et al. 2009; Zhang and Quan 2015; Dong et al. 2012). The squid axon of sepia can also be elaborated by designing an inductance (He et al. 2012; Li et al. 2004; Liu et al. 2009; Wheeler and Schieve 1997). Hu et al. (2015) investigates the synchronization for an array of linearly and diffusively coupled inertial delayed neural networks (DNNs) by pinning control. The stability and synchronization of inertial neural network with time-delays is studied using matrix measure strategy in Cao and Wan (2014). Up to now, most of the results of inertial network have not taken the impact of memristors into consideration.

By combining inertial neural network and memristive neural network, inertial memristive neural network is then constructed. Until now, there are still very few results about this type of neural network (Rakkiyappan et al. 2016), which motivates our study. Due to the physical meaning and biological background of inertial and memristor, the combination of them can model more complex dynamical behavior in nature and extend the theorem of neural networks.

Synchronization is an important phenomenon in nature, and has been widely applied in various fields such as chemical reactors, biological systems, information processing, secure communication, etc. (Cao and Lu 2006; Ke and Miao 2013; Yang et al. 2015; Rakkiyappan et al. 2016; Balasubramaniam et al. 2011; Wang et al. 2014; Wen et al. 2013; Wu and Zeng 2015; Yang et al. 2014; Wan et al. 2016; Abdurahman et al. 2015; Liu et al. 2016). In Yang et al. (2015), exponential synchronization of neural networks with discontinuous activations with mixed delays has been discussed by combining state feedback control and impulsive control techniques. Rakkiyappan et al. (2016) has discussed the global exponential stability of inertial memristive neural networks and global exponential pinning synchronization of coupled inertial memristive neural networks. Exponential synchronization of memristive Cohen-Grossberg neural networks with mixed delays is researched in Yang et al. (2014). It is noticed that, most results about synchronization are limited to an infinite-time asymptotical process (Cao and Lu 2006; Ke and Miao 2013; Yang et al. 2015; Rakkiyappan et al. 2016; Balasubramaniam et al. 2011; Wang et al. 2014; Wen et al. 2013; Wu and Zeng 2015; Yang et al. 2014), that is, only when the time tends to infinity, the error between drive-response systems approaches zero. But in practical fields such as physical and engineering systems, due to the machine’s and human’s life spans are limited, we often require systems to achieve synchronization in finite time (Wan et al. 2016; Abdurahman et al. 2015; Liu et al. 2016; Polyakov 2012; Liu et al. 2014; Shen and Cao 2011; Bao and Cao 2016; Bhat and Bernstein 2000). Shen and Cao (2011) has investigated finite-time synchronization of an array of coupled neural networks via discontinuous controllers. In Bao and Cao (2016), the author has studied the finite-time generalized synchronization of nonidentical delayed chaotic systems. Up to now, the research for the finite-time synchronization of inertial memristive neural networks has not been found yet.

Different from the finite-time synchronization, where the final convergence time is closely related to the initial synchronization errors, the settling time of the fixed-time synchronization can be directly calculated regardless of the initial synchronization errors, which can lead to better applications in real practices (Wan et al. 2016; Polyakov 2012). To the best of the authors knowledge, the fixed-time synchronization of inertial memristive neural networks has not been studied in previous paper yet, this motivates our current research interest.

The main contribution of this paper is that it provides effective controllers to realize finite-time and fixed-time synchronization for inertial memristive neural networks.

The remainder of this paper is organized as follows. In section “Preliminaries”, some notations and preliminaries are given. The model formulation and main results are presented in sections “Modeling” and “Main results”. In section “Numerical examples”, three numerical examples are given to demonstrate the effectiveness of the main results. Finally, conclusions are drawn in section “Conclusion”.

Notations. Throughout this paper, \(R^n\) denotes the n-dimensional Euclidean space. The superscript T denotes vector transposition. \(R^{n\times n}\) is the set of all \(n\times n\) real matrices. \(I_{n}\) is the identity matrix of order n. \(\text{ sign }(\cdot )\) is the sign function. \(C^{(1)}([-\tau , 0], R^{n})\) denotes the family of continuous functions from \([-\tau , 0]\) to \(R^{n}\).

Preliminaries

In this section, some elementary notations and lemmas are introduced which play an important role in the proof of the main results in section “Modeling”.

Definition 1

(Filippov and Arscott 2013) Suppose \(E\subseteq R^{n}\), then \(x\mapsto F(x)\) is called a set-valued map from \(E\mapsto R^{n}\), if for each point \(x\in E\), there exists a nonempty set \(F(x)\subseteq R^{n}\). A set-valued map F with nonempty values is said to be upper semicontinuous at \(x_{0}\in E\), if for any open set N containing \(F(x_{0})\), there exists a neighbourhood M of \(x_{0}\) such that \(F(M)\subseteq N\). The map F(x) is said to have a closed image if for each \(x\in E\), F(x) is closed.

Definition 2

(Filippov and Arscott 2013) For the system \(dx/dt=f(t,x)\), \(x\in R^{n}\), with discontinuous right-hand sides, a set-valued map is defined as

$$\begin{aligned} F(t,x)=\cap _{\delta >0}\cap _{\mu (N)=0}\overline{co}[f(B(x,\delta )\backslash N)], \end{aligned}$$

where \(\overline{co}[E]\) is the closure of the convex hull of set E, \(B(x,\delta )=\{y:\Vert y-x\Vert \le \delta \}\), and \(\mu (N)\) is the Lebesgue measure of set N. A solution in Filippov’s sense of the Cauchy problem for this system with initial condition \(x(0)=x_{0}\) is an absolutely continuous function x(t), \(t\in [0,T]\), which satisfies the differential inclusion

$$\begin{aligned} \frac{dx}{dt}\in F(t,x), \quad \quad t\in [0,T]. \end{aligned}$$

Lemma 1

(Shen and Cao 2011) Assume that a continuous, positive-definite function V(t) satisfies the following differential inequality:

$$\begin{aligned} \dot{V}(t)\le -cV^{\beta }(t), t\ge t_{0}, \end{aligned}$$

where \(c>0, 0<\beta <1\). Then, V(t) satisfies the following inequality:

$$\begin{aligned} V^{1-\beta }(t)\le V^{1-\beta }(t_{0})-c(1-\beta )(t-t_{0}), t_{0}\le t\le t^{*}, \end{aligned}$$

and \(V (t)=0\) for all \(t\ge t^{*}\) with \(t^{*}\) given by \(t^{*}=t_{0}+\frac{V^{1-\beta }(t_{0})}{c(1-\beta )}\).

Lemma 2

(Polyakov 2012) Assume that a continuous radically unbounded function \(V(t):R^{n}\rightarrow R^{+}\cup \{0\}\) satisfies the following differential inequality

(1) :

\(V(t)=0\rightarrow t=0,\)

(2) :

\(\dot{\tilde{V}}(t)\le -aV^{p}(t)-bV^{q}(t)\) for some \(a, b>0, p>1, 0<q<1\), where \(\dot{\tilde{V}}\) is the set-valued Lie derivative of V.

Then, \(V(t)=0, t\ge T(x_{0})\), with the settling time bounded by \(T(x_{0})\le T_{max}=\frac{1}{a(p-1)}+\frac{1}{b(1-q)}\).

Lemma 3

(Xu and Wang 1983) If \(x_{1}, x_{2}\ldots x_{n}\ge 0\), \(0<q\le 1, p>1\), then

$$\begin{aligned} \sum \limits _{i=1}^{n}x^{q}_{i}\ge \left( \sum \limits _{i=1}^{n}x_{i}\right) ^{q}, \quad \sum \limits _{i=1}^{n}x^{p}_{i}\ge n^{1-p}\left( \sum \limits _{i=1}^{n}x_{i}\right) ^{p}. \end{aligned}$$

Lemma 4

(Xu and Wang 1983) For any real vectors \(x, y\in R^{n}\), the following inequality holds

$$\begin{aligned} 2x^{T}y\le x^{T}x+y^{T}y. \end{aligned}$$

Modeling

Consider the dynamic equation of the ith node of the inertial memristive neural network consisting of n nodes:

$$\begin{aligned} \frac{d^{2}x_{i}(t)}{dt^{2}}&= -d_{i}\frac{dx_{i}(t)}{dt}-c_{i}x_{i}(t)+\sum \limits _{j=1}^{n}a_{ij}(x_{i}(t))f_{j}(x_{j}(t))\nonumber \\&+\sum \limits _{j=1}^{n}b_{ij}(x_{i}(t))f_{j}(x_{j}(t-\tau (t)))+I_{i},\quad i=1,\ldots ,n \end{aligned}$$
(1)

where \(x_{i}(t)\) is the state vector of the ith neuron. \(d_{i}>0\), \(c_{i}>0\) are positive constants. The second derivative of \(x_{i}(t)\) is called an inertial term of system (1). The nonlinear function \(f_{i}\) denotes activation function for the neural network. \(I_{i}\) is the external input of the system. \(\tau (t)\) is the time-varying delay that satisfies \(0\le \tau (t)\le \tau \), \(\dot{\tau }(t)\le \theta < 1\), where \(\tau \), \(\theta \) are constants. \(a_{ij}(x_{i}(t))\) and \(b_{ij}(x_{i}(t))\) are the memristive connection weights. According to the character of the memristor, the state parameters in (1) are supposed to satisfy the following condition:

$$\begin{aligned} a_{ij}(x_{i}(t))&=\left\{ \begin{array}{c} \hat{a}_{ij}, |x_{i}(t)|\le T_{i}, \\ \check{a}_{ij}, |x_{i}(t)|> T_{i}, \end{array}\right. \end{aligned}$$
(2)
$$\begin{aligned} b_{ij}(x_{i}(t))&=\left\{ \begin{array}{c} \hat{b}_{ij}, |x_{i}(t)|\le T_{i}, \\ \check{b}_{ij}, |x_{i}(t)|> T_{i}, \end{array}\right. \end{aligned}$$
(3)

for \(i, j=1, 2, \ldots n\), where \(\hat{a}_{ij}, \check{a}_{ij}, \hat{b}_{ij}, \check{b}_{ij}\) are known constants with respect to memristors. The initial value associated with system (1) is

$$\begin{aligned} x_{i}(\omega )=\varPhi _{i}(\omega ), \quad \frac{dx_{i}(\omega )}{d\omega }=\varPsi _{i}(\omega ), \quad -\tau \le \omega \le 0, \end{aligned}$$

where \(\varPhi _{i}(\omega ), \varPsi _{i}(\omega )\in C^{(1)}([-\tau , 0], R^{n})\), \(i=1, 2, \ldots , n\).

To derive the main results, the following assumptions are introduced.

Assumption 1

For all \(x, y\in R\),\(x\ne y\), the neural activation function \(f_{i}(\cdot )\) satisfies

$$\begin{aligned} |f_{i}(x)-f_{i}(y)| \le l_{i}|x-y|, i=1, \ldots , n, \end{aligned}$$

where \(l_{i}\) are known constants.

Assumption 2

There exists constants \(M_{i}\) s.t.\(|f_{i}(z)|\le M_{i}, \forall z\in R, i=1\ldots n\).

Based on the theories of set-valued maps and differential inclusions, the model (1) with initial values can be described by the following differential inclusion:

$$\begin{aligned} \frac{d^{2}x_{i}(t)}{dt^{2}}+d_{i}\frac{dx_{i}(t)}{dt} &\in - c_{i}x_{i}(t)+\sum \limits _{j=1}^{n}co[\underline{a}_{ij}, \overline{a}_{ij}]f_{j}(x_{j}(t)) \\ &\quad +\sum \limits _{j=1}^{n}co[\underline{b}_{ij}, \overline{b}_{ij}]f_{j}(x_{j}(t-\tau (t)))+I_{i}, \end{aligned}$$
(4)

where \(\underline{a}_{ij}=\min \{\hat{a}_{ij}, \check{a}_{ij}\}, \overline{a}_{ij}=\max \{\hat{a}_{ij}, \check{a}_{ij}\}\) \(\underline{b}_{ij}=\min \{\hat{b}_{ij}, \check{b}_{ij}\}, \overline{b}_{ij}=\max \{\hat{b}_{ij}, \check{b}_{ij}\}\),

$$\begin{aligned} co[\underline{a}_{ij}, \overline{a}_{ij}]&=\left\{ \begin{array}{l} \hat{a}_{ij}, |x_{i}(t)|< T_{i}, \\ {[\underline{a}_{ij}, \overline{a}_{ij}]}, |x_{i}(t)|= T_{i}, \\ \check{a}_{ij}, |x_{i}(t)|> T_{i}, \end{array}\right. \\ co[\underline{b}_{ij}, \overline{b}_{ij}]&=\left\{ \begin{array}{l} \hat{b}_{ij}, |x_{i}(t)|< T_{i}, \\ {[\underline{b}_{ij}, \overline{b}_{ij}]}, |x_{i}(t)|= T_{i}, \\ {\check{b}_{ij}}, |x_{i}(t)|> T_{i}, \end{array}\right. \end{aligned} $$
(5)

or equivalently, for \(i, j=1, 2, \ldots n \), there exists \(\tilde{a}_{ij}(x_{i}(t))\in co[\underline{a}_{ij}, \overline{a}_{ij}]\), \(\tilde{b}_{ij}(x_{i}(t))\in co[\underline{b}_{ij}, \overline{b}_{ij}]\) such that

$$\begin{aligned} \frac{d^{2}x_{i}(t)}{dt^{2}}+d_{i}\frac{dx_{i}(t)}{dt} &=-c_{i}x_{i}(t)+\sum \limits _{j=1}^{n}\tilde{a}_{ij}(x_{i}(t))f_{j}(x_{j}(t))\nonumber \\&+\sum \limits _{j=1}^{n}\tilde{b}_{ij}(x_{i}(t))f_{j}(x_{j}(t-\tau (t)))+I_{i}. \end{aligned}$$
(6)

Next, by introducing the following variable transformation:

$$\begin{aligned} p_{i}(t)=x_{i}(t), q_{i}(t)=\frac{dx_{i}(t)}{dt}+x_{i}(t), \end{aligned}$$

system (6) can be transformed into the first-order form

$$\begin{aligned} \left\{ \begin{aligned} \dot{p}_{i}(t)&=-p_{i}(t)+q_{i}(t), \\ \dot{q}_{i}(t)&=(-1+d_{i}-c_{i})p_{i}(t)+(1-d_{i})q_{i}(t) +\sum \limits _{j=1}^{n}\tilde{a}_{ij}(p_{i}(t))f_{j}(p_{j}(t))\\&\quad +\sum \limits _{j=1}^{n}\tilde{b}_{ij}(p_{i}(t))f_{j}(p_{j}(t-\tau (t)))+I_{i}, \\ \end{aligned} \right. \end{aligned}$$
(7)

with the initial condition given by

$$\begin{aligned} \left\{ \begin{aligned} p_{i}(s)&=\phi _{i}(s), \\ q_{i}(s)&=\phi _{i}(s)+\psi _{i}(s), \end{aligned} \right. \end{aligned}$$
(8)

where \(-\tau \le s\le 0, i=1, \ldots , n\).

By letting \(p(t)=(p_{1}(t), p_{2}(t), \ldots , p_{n}(t))^{T}, q(t)=(q_{1}(t), q_{2}(t), \ldots , q_{n}(t))^{T}\), system (7) can be written as the following compact form:

$$\begin{aligned} \left\{ \begin{aligned} \dot{p}(t)&=-p(t)+q(t), \\ \dot{q}(t)&=(-I_{n}+D-C)p(t)+(I_{n}-D)q(t)+ \tilde{A}(p(t))f(p(t))\\&\quad +\tilde{B}(p(t))f(p(t-\tau (t)))+I, \end{aligned} \right. \end{aligned}$$
(9)

where \(D=diag\{d_{1}, d_{2}, \ldots , d_{n}\}\), \(C=diag\{c_{1}, c_{2}\cdots c_{n}\}, \tilde{A}(p(t))=(\tilde{a}_{ij}(p(t)))_{n\times n},\tilde{B}(p(t))=(\tilde{b}_{ij}(p(t)))_{n\times n}\).

Now we choose (9) as the master system, the corresponding slave system is formulated as

$$\begin{aligned} \left\{ \begin{aligned} \dot{y}(t)&=-y(t)+z(t)+u_{1}(t), \\ \dot{z}(t)&=(-I_{n}+D-C)y(t)+(I_{n}-D)z(t)+ \tilde{A}(y(t))f(y(t))\\&\quad +\tilde{B}(y(t))f(y(t-\tau (t)))+I+u_{2}(t), \end{aligned} \right. \end{aligned}$$
(10)

where \(y(t)=[y_{1}(t), \ldots , y_{n}(t)]^{T}, z(t)=[z_{1}(t), \ldots , z_{n}(t)]^{T}\) are the state variables of the response system, \(u_{1}(t), u_{2}(t)\in R^{n}\) are control inputs to be designed later. \(\tilde{A}(y(t))=(\tilde{a}_{ij}(y(t)))_{n\times n}, \tilde{B}(y(t))=(\tilde{b}_{ij}(y(t)))_{n\times n}\).

Denote the synchronization error \(e_{1}(t)=y(t)-p(t), e_{2}(t)=z(t)-q(t)\), we get the error system

$$\begin{aligned} \left\{ \begin{aligned} \dot{e}_{1}(t)&=-e_{1}(t)+e_{2}(t)+u_{1}(t), \\ \dot{e}_{2}(t)&=(-I_{n}+D-C)e_{1}(t)+(I_{n}-D)e_{2}(t)+ \tilde{A}(y(t))f(y(t))\\&\quad +\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{A}(p(t))f(p(t))\\&\quad -\tilde{B}(p(t))f(p(t-\tau (t)))+u_{2}(t). \end{aligned} \right. \end{aligned}$$
(11)

Design the following state feedback controller

$$\begin{aligned} \left\{ \begin{aligned} u_{1}(t)&=K_{1}SIGN(e_{1}(t))|e_{1}(t)|+K_{2}SIGN(e_{1}(t))|e_{1}(t-\tau (t))|\\&\quad -c SIGN(e_{1}(t))|e_{1}(t)|^{\beta }, \\ u_{2}(t)&=\varGamma SIGN(e_{2}(t))|e_{2}(t)|+M sign(e_{2}(t))-c SIGN(e_{2}(t))|e_{2}(t)|^{\beta }, \end{aligned} \right. \end{aligned}$$
(12)

where \(K_{1}=diag\{k_{11}\cdots k_{1n}\}, K_{2}=diag\{k_{21}\cdots k_{2n}\}, \varGamma =diag\{\gamma _{1}\cdots \gamma _{n}\}, \; |e_{1}(t)|=(|e_{11}(t)|\cdots |e_{1n}(t)|)^{T}, \; SIGN(e_{1}(t))=diag\{sign(e_{11}(t))\cdots sign(e_{1n}(t))\}, \; SIGN(e_{2}(t))=diag\{sign(e_{21}(t))\cdots sign(e_{2n}(t))\},\; sign(e_{1}(t))=(sign(e_{11}(t)), \ldots,\; sign(e_{1n}(t)))^{T},\; sign(e_{2}(t))=(sign(e_{21}(t)), \ldots , sign(e_{2n}(t)))^{T}, \; |e_{1}(t-\tau (t))|=(|e_{11}(t-\tau (t))|, \ldots , |e_{1n}(t-\tau (t))|)^{T},\; |e_{1}(t)|^{\beta }=(|e_{11}(t)|^{\beta }, \ldots , |e_{1n}(t)|^{\beta })^{T},\; |e_{2}(t)|^{\beta }=(|e_{21}(t)|^{\beta }, \ldots , |e_{2n}(t)|^{\beta })^{T},\; c>0\;{\text{and}}\;0<\beta <1\) are the tunable parameters, \(k_{1i}, k_{2i}, \gamma _{i}, M\) are the parameters that remain to be designed.

Definition 3

(Shen and Cao 2011) If there exists a constant \(t^{*} > 0\) which depends on the initial vector value that satisfies

  1. (1)

    \(\lim _{t\rightarrow t^{*}}\Vert e(t)\Vert =0, \)

  2. (2)

    \(\Vert e(t)\Vert =0, t\ge t^{*}\).

Then the drive-response system (9) and (10) is said to achieve finite-time synchronization with settling time \(t^{*}\).

For the convenience of the following discussion, we introduce some notations as follows, \(a^{+}_{ij}=max\{|\hat{a}_{ij}|, |\check{a}_{ij}|\}, b^{+}_{ij}=max\{|\hat{b}_{ij}|, |\check{b}_{ij}|\}, \; \overline{M}=(M_{1}, \ldots , M_{n})^{T},\; L=diag(l_{1}, \ldots , l_{n}).\)

Main results

Finite-time synchronization

Theorem 1

Under Assumption 1 and 2 , the drive-response systems (9) and (10) will achieve finite-time synchronization under controller (12) if the following conditions hold

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{1i}\le 1-|-1+d_{i}-c_{i}|-\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji},\\ & \gamma _{i}\le -1-|1-d_{i}|,\\ & k_{2i}\le -\sum \limits _{j=1}^{n}l_{i}b^{+}_{ji},\\ & M\le -\frac{1}{n}[1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}(\overline{B}-\underline{B})\overline{M}], \end{aligned} \end{array}\right. \end{aligned}$$

for \(i=1, \ldots , n\), and the setting time is given by \(T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\).

Proof

Choose a Lyapunov functional as

$$\begin{aligned} V(t)=\sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|. \end{aligned}$$

Taking the set-valued Lie derivative of V(t) with respect to t along the trajectory of the error system (11) yields

$$\begin{aligned} \dot{\tilde{V}}(t)&=\sum \limits _{i=1}^{n}sign(e_{1i}(t))\dot{e}_{1i}(t)+\sum \limits _{i=1}^{n}sign(e_{2i}(t))\dot{e}_{2i}(t)\nonumber \\ &=sign(e_{1}(t))^{T}\dot{e}_{1}(t)+sign(e_{2}(t))^{T}\dot{e}_{2}(t)\nonumber \\ &=sign(e_{1}(t))^{T}[-e_{1}(t)+e_{2}(t)+u_{1}(t)]+sign(e_{2}(t))^{T}[(I_{n}-D)e_{2}(t)\nonumber \\&+(-I_{n}+D-C)e_{1}(t)+\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))+u_{2}(t)]\nonumber \\ &=-sign(e_{1}(t))^{T}e_{1}(t)+sign(e_{1}(t))^{T}e_{2}(t)+sign(e_{2}(t))^{T}(-I_{n}+D\nonumber \\&-C)e_{1}(t)+sign(e_{2}(t))^{T}(I_{n}-D)e_{2}(t)+sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))\nonumber \\&-\tilde{A}(p(t))f(p(t))+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&+sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t)\nonumber \\ \le&-\sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|+\sum \limits _{i=1}^{n}|-1+d_{i}-c_{i}||e_{1i}(t)|\nonumber \\&+\sum \limits _{i=1}^{n}|1-d_{i}||e_{2i}(t)|+sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&+sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t). \end{aligned}$$
(13)

According to Assumptions 1 and 2, it follows that

$$\begin{aligned}&sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))]\nonumber \\&\quad =sign(e_{2}(t))^{T}\tilde{A}(y(t))[f(y(t))-f(p(t))]\nonumber \\&\qquad +sign(e_{2}(t))^{T}[\tilde{A}(y(t))-\tilde{A}(p(t))]f(p(t))\nonumber \\&\quad \le 1^{T}A^{+}L|e_{1}(t)|+1^{T}(\overline{A}-\underline{A})\overline{M}= \sum \limits _{i=1}^{n}\left( \sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}\right) |e_{1i}(t)| +1^{T}(\overline{A}-\underline{A})\overline{M}. \end{aligned}$$
(14)

Similarly, we have

$$\begin{aligned}&sign(e_{2}(t))^{T}[\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&\le \sum \limits _{i=1}^{n} \left( \sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}\right) |e_{1i}(t-\tau (t))|+1^{T}(\overline{B}-\underline{B})\overline{M}.\nonumber \\ \end{aligned}$$
(15)

Thus,

$$\begin{aligned}&sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t)\nonumber \\&\quad =sign(e_{1}(t))^{T}[K_{1}SIGN(e_{1}(t))|e_{1}(t)|+K_{2}SIGN(e_{1}(t))|e_{1}(t-\tau (t))|\nonumber \\&\qquad -c SIGN(e_{1}(t))|e_{1}(t)|^{\beta }]+sign(e_{2}(t))^{T}[\varGamma SIGN(e_{2}(t))|e_{2}(t)|\nonumber \\&\quad +M sign(e_{2}(t))-c SIGN(e_{2}(t))|e_{2}(t)|^{\beta }]\nonumber \\&\quad \le \sum \limits _{i=1}^{n}k_{1i}|e_{1i}(t)|+\sum \limits _{i=1}^{n}k_{2i}|e_{1i}(t-\tau (t))|-c\sum \limits _{i=1}^{n}|e_{1i}(t)|^{\beta }\nonumber \\&\qquad +\sum \limits _{i=1}^{n}\gamma _{i}|e_{2i}(t)|+Mn-c\sum \limits _{i=1}^{n}|e_{2i}(t)|^{\beta }. \end{aligned}$$
(16)

Substituting (14), (15) and (16) into (13), it follows that

$$\begin{aligned} \dot{\tilde{V}}(t)\le&\sum \limits _{i=1}^{n} \left[ -1+|-1+d_{i}-c_{i}|+\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}+k_{1i}\right] |e_{1i}(t)|+\sum \limits _{i=1}^{n}[1+|1-d_{i}|\nonumber \\&+\gamma _{i}]|e_{2i}(t)|+\sum \limits _{i=1}^{n} \left[ \sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}+k_{2i}\right] |e_{1i}(t-\tau (t))|+[1^{T}(\overline{A}-\underline{A})\overline{M}\nonumber \\&+1^{T}(\overline{B}-\underline{B})\overline{M}+Mn]-c\sum \limits _{i=1}^{n}|e_{1i}(t)|^{\beta }-c\sum \limits _{i=1}^{n}|e_{2i}(t)|^{\beta }. \end{aligned}$$
(17)

When the parameters satisfy the following condition

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{1i}\le 1-|-1+d_{i}-c_{i}|-\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}, \\ & \gamma _{i}\le -1-|1-d_{i}|, \\ & k_{2i}\le -\sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}, \\ & M\le -\frac{1}{n}[1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}(\overline{B}-\underline{B})\overline{M}], \end{aligned} \end{array}\right. \end{aligned}$$

we have \(\dot{\tilde{V}}(t)\le -c\sum \nolimits _{i=1}^{n}|e_{1i}(t)|^{\beta }-c\sum \nolimits _{i=1}^{n}|e_{2i}(t)|^{\beta }\le -c(\sum \nolimits _{i=1}^{n}|e_{1i}(t)|+\sum \nolimits _{i=1}^{n}|e_{2i}(t)|)^{\beta } =-cV(t)^{\beta }.\) According to Lemma 1, \(V(t)=0, t\ge T\), where \(T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\). That is, \(\Vert e(t)\Vert =\sum \nolimits _{i=1}^{n}|e_{1i}(t)|+\sum \nolimits _{i=1}^{n}|e_{2i}(t)|=0, t\ge T\). By Definition 3, drive-response system (9) and (10) will realize finite-time synchronization in a finite time \(T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\). \(\square \)

Remark 1

By designing the state feedback controller which contain both the current and past state information, the finite-time synchronization of drive-response system can be achieved. It can be seen that the sign function plays an important role in this controller designing. Note that the settling time can be turned by selecting different values of c and \(\beta \). Compared with Hu et al. (2015) and Cao and Wan (2014), the impact of memristor is taken into account in the dynamics of inertial neural network. Due to the memory characteristic of memristor , it has better performance in imitating the biological synapses. The network model considered here has characteristics of complex brain networks such as node degree, distribution, so it may provide a helpful tool in research for cognitive neural dynamics.

According to the character of the memristor, each of matrices \(\tilde{A}(p(t)), \tilde{B}(p(t))\) has \(2^{n}\) possible values. Then, choose the largest eigenvalue of the \(2^{n}\) cases and give the following notations

$$\begin{aligned} &\lambda _{\max }(AA^{T})= \max \{\lambda _{\max }(\tilde{A}(y(t))\tilde{A}^{T}(y(t)))\}, \\ &\lambda _{\max }(BB^{T})&= \max \{\lambda _{\max }(\tilde{B}(y(t))\tilde{B}^{T}(y(t)))\}. \end{aligned}$$

When the feedback controller are chosen as follows

$$\begin{aligned} \left\{ \begin{aligned} u_{1}(t)&=Ke_{1}(t)-\frac{c}{2}e^{2\beta -1}_{1}(t)- \frac{c}{2}\left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }\frac{e_{1}(t)}{e^{T}_{1}(t)e_{1}(t)}, \\ u_{2}(t)&=\varGamma _{1}e_{2}(t)+\varGamma _{2}sign(e_{2}(t))-\frac{c}{2} e_{2}(t)^{2\beta -1}, \end{aligned} \right. \end{aligned}$$
(18)

where \(e^{2\beta -1}_{1}(t)=(e^{2\beta -1}_{11}(t)\ldots e^{2\beta -1}_{1n}(t))^{T}\), \(e^{2\beta -1}_{2}(t)=(e^{2\beta -1}_{21}(t)\ldots e^{2\beta -1}_{2n}(t))^{T}\), \(c>0, \frac{1}{2}<\beta <1\). Then, we have the following theorem.

Theorem 2

Under Assumption 1 and 2 , the drive-response systems (9) and (10) will achieve finite-time synchronization when the following conditions hold

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{i}\le -\frac{1}{2}\left( l_{i}^{2}+\frac{l^{2}_{i}}{1-\theta }\right) , \\ & \gamma _{1i}\le -\frac{1}{2} [1+(-1+d_{i}-c_{i})^{2}+2(1-d_{i})+\lambda _{max}(AA^{T})+\lambda _{max}(BB^{T})], \\ & \gamma _{2i}\le -\sum \limits _{j=1}^{n}M_{j}(\overline{a}_{ij}-\underline{a}_{ij}+\overline{b}_{ij}-\underline{b}_{ij}), \end{aligned} \end{array}\right. \end{aligned}$$

for \(i=1, \ldots , n\), and the setting time is given by \(T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\).

Proof

Choose a Lyapunov functional as

$$\begin{aligned} V(t)=e_{1}(t)^{T}e_{1}(t)+e_{2}(t)^{T}e_{2}(t)+\int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du, \end{aligned}$$

where \(Q=diag\{q_{1}\cdots q_{n}\}, q_{i}\) are the constants to be determined later.

Taking the set-valued Lie derivative of V(t) with respect to t along the trajectory of the error system (11) and utilizing Lemma 4 yields

$$\begin{aligned} \dot{V}(t) &=2e_{1}(t)^{T}[-e_{1}(t)+e_{2}(t)+u_{1}(t)]+2e_{2}(t)^{T} [(-I_{n}+D-C)e_{1}(t)\nonumber \\&+(I_{n}-D)e_{2}(t)+\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))+u_{2}(t)]\nonumber \\&+e_{1}(t)^{T}Q e_{1}(t)-(1-\dot{\tau }(t))e_{1}(t-\tau (t))^{T}Q e_{1}(t-\tau (t))\nonumber \\ \le&-2 e_{1}(t)^{T}e_{1}(t)+2 e_{1}(t)^{T}e_{2}(t)+2 e_{2}(t)^{T}(-I_{n}+D-C)e_{1}(t)\nonumber \\&+2e_{2}(t)^{T}(I_{n}-D)e_{2}(t)+\lambda _{max}(AA^{T})e_{2}(t)^{T}e_{2}(t)+e_{1}(t)^{T}L^{T}Le_{1}(t)\nonumber \\&+2\overline{M}^{T}(\overline{A}-\underline{A})^{T}|e_{2}(t)|+\lambda _{max}(BB^{T})e_{2}(t)^{T}e_{2}(t)\nonumber \\&+e_{1}(t-\tau (t))^{T}L^{T}Le_{1}(t-\tau (t))+2\overline{M}^{T}(\overline{B}-\underline{B})^{T}|e_{2}(t)|\nonumber \\&+e_{1}(t)^{T}Q e_{1}(t)-(1-\dot{\tau }(t))e_{1}(t-\tau (t))^{T}Q e_{1}(t-\tau (t))\nonumber \\&+2 e_{1}(t)^{T}u_{1}(t)+2 e_{2}(t)^{T}u_{2}(t)\nonumber \\ \le&-2 e_{1}(t)^{T}e_{1}(t)+e_{1}(t)^{T}e_{1}(t)+e_{2}(t)^{T}e_{2}(t)+e_{1}(t)^{T}e_{1}(t)\nonumber \\&+e_{2}(t)^{T}(-I_{n}+D-C)(-I_{n}+D-C)^{T}e_{2}(t)+2 e_{2}(t)^{T}(I_{n}-D)e_{2}(t)\nonumber \\&+\lambda _{max}(AA^{T})e_{2}(t)^{T}e_{2}(t)+\lambda _{max}(BB^{T})e_{2}(t)^{T}e_{2}(t)+e_{1}(t)^{T}Q e_{1}(t)\nonumber \\&+2\overline{M}^{T}(\overline{A}-\underline{A}+\overline{B}-\underline{B})^{T}|e_{2}(t)|+e_{1}(t)^{T}L^{T}Le_{1}(t)\nonumber \\&+e_{1}(t-\tau (t))^{T}L^{T}Le_{1}(t-\tau (t))-(1-\theta )e_{1}(t-\tau (t))^{T}Q e_{1}(t-\tau (t))\nonumber \\&+2 e_{1}(t)^{T}u_{1}(t)+2 e_{2}(t)^{T}u_{2}(t)\nonumber \\ &=e_{1}(t)^{T}(L^{T}L+Q)e_{1}(t)^{T} +e_{2}(t)^{T}[I_{n}+(-I_{n}+D-C)(-I_{n}+D-C)^{T}\nonumber \\&+2(I_{n}-D)+\lambda _{max}(AA^{T})I_{n}+\lambda _{max}(BB^{T})I_{n}]e_{2}(t)\nonumber \\&+2\overline{M}^{T}(\overline{A}-\underline{A}+\overline{B}-\underline{B})^{T}|e_{2}(t)|+e_{1}(t-\tau (t))^{T}L^{T}Le_{1}(t-\tau (t))\nonumber \\&-(1-\theta )e_{1}(t-\tau (t))^{T}Q e_{1}(t-\tau (t))+2 e_{1}(t)^{T}u_{1}(t)+2 e_{2}(t)^{T}u_{2}(t). \end{aligned}$$
(19)

Choose \(q_{i}=\frac{l_{i}^{2}}{1-\theta }\), then \(e_{1}(t-\tau (t))^{T}L^{T}Le_{1}(t-\tau (t))-(1-\theta )e_{1}(t-\tau (t))^{T}Q e_{1}(t-\tau (t))=0. \) Substituting \(u_{1}(t), u_{2}(t)\) into (19), it can be achieved that

$$\begin{aligned}&2 e_{1}(t)^{T}u_{1}(t)+2 e_{2}(t)^{T}u_{2}(t)\nonumber \\&\quad =2 e_{1}(t)^{T} \left[ Ke_{1}(t)-\frac{c}{2}e^{2\beta -1}_{1}(t)-\frac{c}{2} \left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }\frac{e_{1}(t)}{e^{T}_{1}(t)e_{1}(t)}\right] \nonumber \\&\qquad +2 e_{2}(t)^{T}\left[ \varGamma _{1}e_{2}(t)+\varGamma _{2}sign(e_{2}(t))- \frac{c}{2} e_{2}(t)^{2\beta -1}\right] \nonumber \\&\quad =2 e_{1}(t)^{T}Ke_{1}(t)-c\sum \limits _{i=1}^{n}e^{2\beta }_{1i}(t) -c\left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }\nonumber \\&\qquad +2 e_{2}(t)^{T}\varGamma _{1}e_{2}(t)+2 e_{2}(t)^{T}\varGamma _{2}sign(e_{2}(t))-c\sum \limits _{i=1}^{n}e^{2\beta }_{2i}(t). \end{aligned}$$
(20)

Therefore,

$$\begin{aligned} \dot{V}(t)&=e_{1}(t)^{T}(L^{T}L+Q+2K)e_{1}(t)+e_{2}(t)^{T}[I_{n}+2(I_{n}-D)+(-I_{n}+D\nonumber \\&-C)(-I_{n}+D-C)^{T}+\lambda _{max}(AA^{T})I_{n}+\lambda _{max}(BB^{T})I_{n}+2\varGamma _{1}]e_{2}(t)\nonumber \\&+2\overline{M}^{T}(\overline{A}-\underline{A}+\overline{B}-\underline{B})^{T}|e_{2}(t)|+2e_{2}(t)^{T}\varGamma _{2}sign(e_{2}(t))\nonumber \\&-c\left[ \sum \limits _{i=1}^{n}e^{2\beta }_{1i}(t)+ \sum \limits _{i=1}^{n}e^{2\beta }_{2i}(t)\right] -c\left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }. \end{aligned}$$
(21)

When the parameters satisfy the conditions

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{i}\le -\frac{1}{2}\left( l_{i}^{2}+\frac{l^{2}_{i}}{1-\theta }\right) , \\ & \gamma _{1i}\le -\frac{1}{2} [1+(-1+d_{i}-c_{i})^{2}+2(1-d_{i})+\lambda _{max}(AA^{T})+\lambda _{max}(BB^{T})], \\ & \gamma _{2i}\le -\sum \limits _{j=1}^{n}M_{j}(\overline{a}_{ij}-\underline{a}_{ij}+\overline{b}_{ij}-\underline{b}_{ij}), \end{aligned} \end{array}\right. \end{aligned}$$

we have

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & L^{T}L+Q+2K\le 0, \\ & I_{n}+(-I_{n}+D-C)(-I_{n}+D-C)^{T}+2(I_{n}-D)+\lambda _{max}(AA^{T})I_{n}\\ & +\lambda _{max}(BB^{T})I_{n}+2\varGamma _{1}\le 0,\\ & 2\overline{M}^{T}(\overline{A}-\underline{A}+\overline{B}-\underline{B})^{T}|e_{2}(t)|+2 e_{2}(t)^{T}\varGamma _{2}sign(e_{2}(t))\le 0, \end{aligned} \end{array}\right. \end{aligned}$$

According to Lemma 3, we have

$$\begin{aligned} \dot{V}(t)&\le -c\left[ \sum \limits _{i=1}^{n}e^{2\beta }_{1i}(t)+ \sum \limits _{i=1}^{n}e^{2\beta }_{2i}(t)+ \left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Qe_{1}(u)du\right) ^{\beta }\right] \nonumber \\&\le -c\left[ \sum \limits _{i=1}^{n}e^{2}_{1i}(t)+\sum \limits _{i=1}^{n} e^{2}_{2i}(t)+\int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right] ^{\beta }\nonumber \\&=-cV(t)^{\beta }. \end{aligned}$$
(22)

By Lemma 1, it follows that \(V(t)=0, t\ge T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\). Due to \(e_{1}(t)^{T}e_{1}(t)+e_{2}(t)^{T}e_{2}(t)\le V(t)\), thus, \(e_{1}(t)^{T}e_{1}(t)+e_{2}(t)^{T}e_{2}(t)=0, t\ge T\). According to Definition 3, drive-response system (9) and (10) will realize finite-time synchronization with the settling time \(T=\frac{V^{1-\beta }(0)}{c(1-\beta )}\). \(\square \)

Remark 2

Compared with Rakkiyappan et al. (2016), where the global exponential stability of inertial memristive neural networks and global exponential pinning synchronization of coupled inertial memristive neural networks are discussed, we consider the finite-time synchronization of the same network model here. Different from previous work which focus on the asymptotic synchronization, we care more about the length of convergence time and design a controller to make it be able to adjusted to an arbitrary length. It has been proved that finite-time synchronization has better application in the practical fields, such as signal processing, pattern recognition, associative memories and optimization problems. Thus, our work is the extension of Rakkiyappan et al. (2016).

Fixed-time synchronization

According to the previous discussion, the settling time of finite-time synchronization relies on the initial condition of drive-response systems. Thus, different initial conditions may result in different convergence time. However, the initial condition of many practical systems can hardly be estimated or even impossible to be measured, which leads to the inaccessibility of the final settling time and deteriorating of the systems performance. To overcome this difficulty, the concept of fixed-time synchronization is proposed, where the settling time is independent of the initial conditions.

Consider the drive-response model (9) and (10) mentioned above. Choose the following fixed-time controller

$$\begin{aligned} \left\{ \begin{aligned} u_{1}(t)&=K_{1}SIGN(e_{1}(t))|e_{1}(t)|+K_{2}SIGN(e_{1}(t))|e_{1}(t-\tau (t))|\\&-a(2n)^{p-1}[SIGN(e_{1}(t))](|e_{1}(t)|^{p}+|e_{2}(t)|^{p}), \\ u_{2}(t)&=\varGamma SIGN(e_{2}(t))|e_{2}(t)|+M sign(e_{2}(t))\\&-b SIGN(e_{2}(t))(|e_{1}(t)|^{q}+|e_{2}(t)|^{q}), \end{aligned} \right. \end{aligned}$$
(23)

then the error system is obtained as follows

$$\begin{aligned} \left\{ \begin{aligned} \dot{e_{1}}(t)&=-e_{1}(t)+e_{2}(t)+u_{1}(t), \\ \dot{e_{2}}(t)&=(-I_{n}+D-C)e_{1}(t)+(I_{n}-D)e_{2}(t)+ \tilde{A}(y(t))f(y(t))\\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{A}(p(t))f(p(t))\\&-\tilde{B}(p(t))f(p(t-\tau (t)))+u_{2}(t), \end{aligned} \right. \end{aligned}$$
(24)

where \(K_{1}=diag\{k_{11}\cdots k_{1n}\}, K_{2}=diag\{k_{21}\cdots k_{2n}\}, |e_{1}(t)|=(|e_{11}(t)|\cdots |e_{1n}(t)|)^{T},\; \varGamma =diag\{\gamma _{1}\cdots \gamma _{n}\}, SIGN(e_{1}(t))=diag\{sign(e_{11}(t))\cdots sign(e_{1n}(t))\},\; SIGN(e_{2}(t))=diag\{sign(e_{21}(t))\cdots sign(e_{2n}(t))\},\; sign(e_{1}(t))=(sign(e_{11}(t)) \cdots sign(e_{1n}(t)))^{T},\; sign(e_{2}(t))=(sign(e_{21}(t))\cdots sign(e_{2n}(t)))^{T}, |e_{1}(t-\tau (t))|=(|e_{11}(t-\tau (t))|\ldots |e_{1n}(t-\tau (t))|)^{T}, M\in R.\; a>0, b>0, p>1, 0<q<1\) are tunable constants, \(k_{1i}, k_{2i}, \gamma _{i}, M\) are the parameters to be determined later.

Definition 4

If the drive-response systems (9) and (10) satisfy the condition of finite-time synchronization, furthermore, there exists constant \(T_{max}>0\) such that

$$\begin{aligned} t^{*}\le T_{max}, \forall e_{0}(\theta )\in C^{n}[-\tau , 0]. \end{aligned}$$

Then, the drive-response systems (9) and (10) are said to achieve fixed-time synchronization.

Theorem 3

The drive-response systems (9) and (10) will achieve fixed-time synchronization if the following conditions hold

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{1i}\le 1-|-1+d_{i}-c_{i}|-\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}, \\ & \gamma _{i}\le -1-|1-d_{i}|, \\ & k_{2i}\le -\sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}, \\ & M\le -\frac{1}{n}[1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}(\overline{B}-\underline{B})\overline{M}], \end{aligned} \end{array}\right. \end{aligned}$$

That is, \(\Vert e(t)\Vert =\sum \nolimits _{i=1}^{n}|e_{1i}(t)|+\sum \nolimits _{i=1}^{n}|e_{2i}(t)|=0, t\ge T=\frac{1}{a(p-1)}+\frac{1}{b(1-q)}.\)

Proof

Choose a Lyapunov functional as

$$\begin{aligned} V(t)=\sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|. \end{aligned}$$

Taking the set-valued Lie derivative of V(t) with respect to t along the trajectory of the error system (21) yields

$$\begin{aligned} \dot{\tilde{V}}(t) &=sign(e_{1}(t))^{T}\dot{e}_{1}(t)+sign(e_{2}(t))^{T}\dot{e}_{2}(t)\nonumber \\ &=sign(e_{1}(t))^{T}[-e_{1}(t)+e_{2}(t)+u_{1}(t)]+sign(e_{2}(t))^{T}[(-I_{n}+D\nonumber \\&-C)e_{1}(t)+(I_{n}-D)e_{2}(t)+\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))+u_{2}(t)]\nonumber \\ &=-sign(e_{1}(t))^{T}e_{1}(t)+sign(e_{1}(t))^{T}e_{2}(t)+sign(e_{2}(t))^{T}(-I_{n}+D\nonumber \\&-C)e_{1}(t)+sign(e_{2}(t))^{T}(I_{n}-D)e_{2}(t)+sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))\nonumber \\&-\tilde{A}(p(t))f(p(t))+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&+sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t)\nonumber \\ \le&-\sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|+\sum \limits _{i=1}^{n}|-1+d_{i}-c_{i}||e_{1i}(t)|\nonumber \\&+\sum \limits _{i=1}^{n}|1-d_{i}||e_{2i}(t)|+sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&+\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&+sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t). \end{aligned}$$
(25)

According to Assumptions 1 and 2, we have

$$\begin{aligned}&sign(e_{2}(t))^{T}[\tilde{A}(y(t))f(y(t))-\tilde{A}(p(t))f(p(t))\nonumber \\&\qquad +\tilde{B}(y(t))f(y(t-\tau (t)))-\tilde{B}(p(t))f(p(t-\tau (t)))]\nonumber \\&\quad =sign(e_{2}(t))^{T}\tilde{A}(y(t))[f(y(t))-f(p(t))]+sign(e_{2}(t))^{T}[\tilde{A}(y(t))-\tilde{A}(p(t))]\nonumber \\&f(p(t))+sign(e_{2}(t))^{T}\tilde{B}(y(t))[f(y(t-\tau (t)))-f(p(t-\tau (t)))]\nonumber \\&\qquad +sign(e_{2}(t))^{T}[\tilde{B}(y(t))-\tilde{B}(p(t))]f(p(t-\tau (t)))\nonumber \\&\quad \le 1^{T}A^{+}L|e_{1}(t)|+1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}B^{+}L|e_{1}(t-\tau (t))|+1^{T}(\overline{B}-\underline{B})\overline{M}, \nonumber \\ \end{aligned}$$
(26)

By Lemma 3, it follows that

$$\begin{aligned}&sign(e_{1}(t))^{T}u_{1}(t)+sign(e_{2}(t))^{T}u_{2}(t)\nonumber \\&\quad \le \sum \limits _{i=1}^{n}k_{1i}|e_{1i}(t)|+ \sum \limits _{i=1}^{n}k_{2i}|e_{1i}(t-\tau (t))|-a(2n)^{p-1} \left[ \sum \limits _{i=1}^{n}|e_{1i}(t)|^{p}\right. \nonumber \\&\qquad \left. +\sum \limits _{i=1}^{n}|e_{2i}(t)|^{p}\right] + \sum \limits _{i=1}^{n}\gamma _{i}|e_{2i}(t)|+Mn-b \left( \sum \limits _{i=1}^{n}|e_{1i}(t)|^{q}+\sum \limits _{i=1}^{n}|e_{2i}(t)|^{q}\right) \nonumber \\&\quad \le \sum \limits _{i=1}^{n}k_{1i}|e_{1i}(t)| +\sum \limits _{i=1}^{n}k_{2i}|e_{1i}(t-\tau (t))|-a\left[ \sum \limits _{i=1}^{n}|e_{1i}(t)|+ \sum \limits _{i=1}^{n}|e_{2i}(t)|\right] ^{p}\nonumber \\&\qquad +\sum \limits _{i=1}^{n}\gamma _{i}|e_{2i}(t)|+Mn-b \left( \sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|\right) ^{q}\nonumber \\&\quad =\sum \limits _{i=1}^{n}k_{1i}|e_{1i}(t)|+\sum \limits _{i=1}^{n}k_{2i}|e_{1i}(t-\tau (t))|+\sum \limits _{i=1}^{n}\gamma _{i}|e_{2i}(t)|\nonumber \\&\qquad +Mn-aV(t)^{p}-bV(t)^{q}, \end{aligned}$$
(27)

Substituting (26) and (27) into \(\dot{\tilde{V}}(t)\), we have

$$\begin{aligned} \dot{\tilde{V}}(t)\le&\sum \limits _{i=1}^{n} \left[ -1+|-1+d_{i}-c_{i}|+\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}+k_{1i}\right] |e_{1i}(t)|+\sum \limits _{i=1}^{n}[1+|1-d_{i}|\nonumber \\&+\gamma _{i}]|e_{2i}(t)|+\sum \limits _{i=1}^{n} \left[ \sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}+k_{2i}\right] |e_{1i}(t-\tau (t))|\nonumber \\&+[1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}(\overline{B}-\underline{B})\overline{M}+Mn]-aV(t)^{p}-bV(t)^{q}. \end{aligned}$$
(28)

When the parameters satisfy the condition in Theorem 3

$$\begin{aligned}\left\{ \begin{array}{c} \begin{aligned} & k_{1i}\le 1-|-1+d_{i}-c_{i}|-\sum \limits _{j=1}^{n}l_{i}a^{+}_{ji}, \\ & \gamma _{i}\le -1-|1-d_{i}|, \\ & k_{2i}\le -\sum \limits _{j=1}^{n}l_{i}b^{+}_{ji}, \\ & M\le -\frac{1}{n}[1^{T}(\overline{A}-\underline{A})\overline{M}+1^{T}(\overline{B}-\underline{B})\overline{M}], \end{aligned} \end{array}\right. \end{aligned}$$

we have \(\dot{\tilde{V}}(t)\le -aV(t)^{p}-bV(t)^{q}\). From Lemma 2, V(t) converges to zero in a fixed time, and the fixed time is estimated by \(T=\frac{1}{a(p-1)}+\frac{1}{b(1-q)}\). Hence, \(\Vert e(t)\Vert =\sum \limits _{i=1}^{n}|e_{1i}(t)|+\sum \limits _{i=1}^{n}|e_{2i}(t)|=0, t\ge T\). Consequently, under controller (23), systems (9) and (10) realize fixed-time synchronization. This completes the proof of the theorem. \(\square \)

Remark 3

Compared with finite-time synchronization where the convergence time relies on the initial synchronization error, the settling time of fixed-time synchronization is independent on initial conditions. In some fields, such as secure communication and pattern recognition, it has restrictive requirement on the convergence speed and the initial conditions are usually hard to be obtained. Thus, the fixed-time synchronization is more favorable and applicable than finite-time synchronization in such cases.

Numerical examples

In this section, numerical examples are presented to illustrate the effectiveness of our results.

Example 1

Consider the following inertial memristive neural network with the master system given by

$$\begin{aligned} \left\{ \begin{aligned} \dot{p}_{1}(t)&=-p_{1}(t)+q_{1}(t), \\ \dot{p}_{2}(t)&=-p_{2}(t)+q_{2}(t), \\ \dot{q}_{1}(t)&=(-1+d_{1}-c_{1})p_{1}(t)+(1-d_{1})q_{1}(t)+a_{11}(p_{1}(t))f_{1}(p_{1}(t))\\&+a_{12}(p_{1}(t))f_{2}(p_{2}(t))+b_{11}(p_{1}(t))f_{1}(p_{1}(t-\tau (t)))\\&+b_{12}(p_{1}(t))f_{2}(p_{2}(t-\tau (t)))+I_{1}, \\ \dot{q}_{2}(t)&=(-1+d_{2}-c_{2})p_{2}(t)+(1-d_{2})q_{2}(t)+a_{21}(p_{2}(t))f_{1}(p_{1}(t))\\&+a_{22}(p_{2}(t))f_{2}(p_{2}(t))+b_{21}(p_{2}(t))f_{1}(p_{1}(t-\tau (t)))\\&+b_{22}(p_{2}(t))f_{2}(p_{2}(t-\tau (t)))+I_{2}, \end{aligned} \right. \end{aligned}$$
(29)

where

$$ \begin{aligned} a_{11}(p_{1}(t))&=\left\{ \begin{array}{l} 1, |p_{1}(t)|\le 1, \\ -1, |p_{1}(t)|> 1, \end{array}\right. a_{12}(p_{1}(t))=\left\{ \begin{array}{c} 1, |p_{1}(t)|\le 1, \\ 2, |p_{1}(t)|> 1, \end{array}\right. \\ a_{21}(p_{2}(t))&=\left\{ \begin{array}{c} -1, |p_{2}(t)|\le 1, \\ 1, |p_{2}(t)|> 1, \end{array}\right. a_{22}(p_{2}(t))=\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ 1, |p_{1}(t)|> 1, \end{array}\right. \\ b_{11}(p_{1}(t))&=\left\{ \begin{array}{c} -1, |p_{1}(t)|\le 1, \\ 2, |p_{1}(t)|> 1, \end{array}\right. b_{12}(p_{1}(t))=\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ 0, |p_{1}(t)|> 1, \end{array}\right. \\ b_{21}(p_{2}(t))&=\left\{ \begin{array}{c} 1, |p_{2}(t)|\le 1, \\ 0, |p_{2}(t)|> 1, \end{array}\right. b_{22}(p_{2}(t))=\left\{ \begin{array}{c} 1, |p_{2}(t)|\le 1, \\ -1, |p_{2}(t)|> 1, \end{array}\right. \end{aligned} $$
(30)

and the slave system described as

$$\begin{aligned} \left\{ \begin{aligned} \dot{y}_{1}(t)&=-y_{1}(t)+z_{1}(t)+k_{11}sign(e_{11}(t))|e_{11}(t)|\\&\quad+k_{21}sign(e_{11}(t))|e_{11}(t-\tau (t))|-csign(e_{11}(t))|e_{11}(t)|^{\beta },\\ \dot{y}_{2}(t)&=-y_{2}(t)+z_{2}(t)+k_{12}sign(e_{12}(t))|e_{12}(t)|\\&\quad+k_{22}sign(e_{12}(t))|e_{12}(t-\tau (t))|-csign(e_{12}(t))|e_{12}(t)|^{\beta },\\ \dot{z}_{1}(t)&=(-1+d_{1}-c_{1})y_{1}(t)+(1-d_{1})z_{1}(t)+a_{11}(y_{1}(t))f_{1}(y_{1}(t))\\&\quad+a_{12}(y_{1}(t))f_{2}(y_{2}(t))+b_{11}(y_{1}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{12}(y_{1}(t))f_{2}(y_{2}(t-\tau (t)))+I_{1}+\gamma _{1}sign(e_{21}(t))|e_{21}(t)|\\&\quad+Msign(e_{21}(t))-csign(e_{21}(t))|e_{21}(t)|^{\beta },\\ \dot{z}_{2}(t)&=(-1+d_{2}-c_{2})y_{2}(t)+(1-d_{2})z_{2}(t)+a_{21}(y_{2}(t))f_{1}(y_{1}(t))\\&\quad+a_{22}(y_{2}(t))f_{2}(y_{2}(t))+b_{21}(y_{2}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{22}(y_{2}(t))f_{2}(y_{2}(t-\tau (t)))+I_{2}+\gamma _{2}sign(e_{22}(t))|e_{22}(t)|\\&\quad+Msign(e_{22}(t))-csign(e_{22}(t))|e_{22}(t)|^{\beta }, \end{aligned} \right. \end{aligned}$$
(31)

where \(f_{1}(x)=f_{2}(x)=sinx\), \(c_{1}=c_{2}=1, d_{1}=2, d_{2}=1\), \(\tau (t)=0.8+0.2sin3t\), \(I_{1}=I_{2}=0\). By Assumptions 1 and 2, \(l_{1}=l_{2}=1, \overline{M}=1\), When the control gains are taken as \(k_{11}=-1, k_{12}=-3, k_{21}=-3, k_{22}=-3, \gamma _{1}=-2, \gamma _{2}=-2, M=-7\), the condition of Theorem 1 is satisfied. The initial conditions are chosen as \(p_{1}(t)=4, p_{2}(t)=3, q_{1}(t)=2, q_{2}(t)=3, y_{1}(t)=-0.5, y_{2}(t)=-0.7, z_{1}(t)=-1, z_{2}(t)=0, \forall t\in [-1, 0].\) One can see from Figs. 1, 2, 3, 4 and 5 that the states of the slave system indeed converge to the master system with the settling time \(t^{*}\) and the convergence error remains zero afterwards. Thus, the effectiveness of Theorem 1 is verified.

Fig. 1
figure 1

State trajectories of \(p_{1}(t)\) and \(y_{1}(t)\)

Fig. 2
figure 2

State trajectories of \(p_{2}(t)\) and \(y_{2}(t)\)

Fig. 3
figure 3

State trajectories of \(q_{1}(t)\) and \(z_{1}(t)\)

Fig. 4
figure 4

State trajectories of \(q_{2}(t)\) and \(z_{2}(t)\)

Fig. 5
figure 5

Synchronization error \(e_{11}, e_{12}, e_{21}, e_{22}\) between systems (29) and (31)

Example 2

Consider the following inertial memristive neural network with the master system given by

$$\begin{aligned} \left\{ \begin{aligned} \dot{p}_{1}(t)&=-p_{1}(t)+q_{1}(t),\\ \dot{p}_{2}(t)&=-p_{2}(t)+q_{2}(t),\\ \dot{q}_{1}(t)&=(-1+d_{1}-c_{1})p_{1}(t)+(1-d_{1})q_{1}(t)+a_{11}(p_{1}(t))f_{1}(p_{1}(t))\\&\quad+a_{12}(p_{1}(t))f_{2}(p_{2}(t))+b_{11}(p_{1}(t))f_{1}(p_{1}(t-\tau (t)))\\&\quad+b_{12}(p_{1}(t))f_{2}(p_{2}(t-\tau (t)))+I_{1},\\ \dot{q}_{2}(t)&=(-1+d_{2}-c_{2})p_{2}(t)+(1-d_{2})q_{2}(t)+ a_{21}(p_{2}(t))f_{1}(p_{1}(t))\\&\quad+a_{22}(p_{2}(t))f_{2}(p_{2}(t))+b_{21}(p_{2}(t))f_{1}(p_{1}(t-\tau (t)))\\&\quad+b_{22}(p_{2}(t))f_{2}(p_{2}(t-\tau (t)))+I_{2}, \end{aligned} \right. \end{aligned}$$
(32)

where

$$\begin{aligned} \begin{aligned} a_{11}(p_{1}(t))&=\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ -1, |p_{1}(t)|> 1, \end{array}\right. a_{12}(p_{1}(t))=\left\{ \begin{array}{c} 1, |p_{1}(t)|\le 1, \\ 0, |p_{1}(t)|> 1, \end{array}\right. \\ a_{21}(p_{2}(t))&=\left\{ \begin{array}{c} -1, |p_{2}(t)|\le 1, \\ 2, |p_{2}(t)|> 1, \end{array}\right. a_{22}(p_{2}(t)) =\left\{ \begin{array}{c} -1, |p_{1}(t)|\le 1, \\ 1, |p_{1}(t)|> 1, \end{array}\right. \\ b_{11}(p_{1}(t))&=\left\{ \begin{array}{c} -1, |p_{1}(t)|\le 1, \\ 1, |p_{1}(t)|> 1, \end{array}\right. b_{12}(p_{1}(t)) =\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ 0, |p_{1}(t)|> 1, \end{array}\right. \\ b_{21}(p_{2}(t))&=\left\{ \begin{array}{c} 1, |p_{2}(t)|\le 1, \\ 0, |p_{2}(t)|> 1, \end{array}\right. b_{22}(p_{2}(t)) =\left\{ \begin{array}{c} 2, |p_{2}(t)|\le 1, \\ -1, |p_{2}(t)|> 1, \end{array}\right. \end{aligned} \end{aligned}$$
(33)

and the slave system is

$$\begin{aligned} \left\{ \begin{aligned} \dot{y}_{1}(t)&=-y_{1}(t)+z_{1}(t)+k_{1}e_{11}(t)-\frac{c}{2}e^{2\beta -1}_{11}(t)\\&\quad-\frac{c}{2}\left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }\frac{e_{11}(t)}{e^{T}_{1}(t)e_{1}(t)},\\ \dot{y}_{2}(t)&=-y_{2}(t)+z_{2}(t)+k_{2}e_{12}(t)-\frac{c}{2}e^{2\beta -1}_{12}(t)\\&\quad-\frac{c}{2}\left( \int ^{t}_{t-\tau (t)}e^{T}_{1}(u)Q e_{1}(u)du\right) ^{\beta }\frac{e_{12}(t)}{e^{T}_{1}(t)e_{1}(t)},\\ \dot{z}_{1}(t)&=(-1+d_{1}-c_{1})y_{1}(t)+(1-d_{1})z_{1}(t)+a_{11}(y_{1}(t))f_{1}(y_{1}(t))\\&\quad+a_{12}(y_{1}(t))f_{2}(y_{2}(t))+b_{11}(y_{1}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{12}(y_{1}(t))f_{2}(y_{2}(t-\tau (t)))+I_{1}+\gamma _{11}e_{21}(t)\\&\quad+\gamma _{21}sign(e_{21}(t))-\frac{c}{2}e^{2\beta -1}_{21}(t),\\ \dot{z}_{2}(t)&=(-1+d_{2}-c_{2})y_{2}(t)+(1-d_{2})z_{2}(t)+a_{21}(y_{2}(t))f_{1}(y_{1}(t))\\&\quad+a_{22}(y_{2}(t))f_{2}(y_{2}(t))+b_{21}(y_{2}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{22}(y_{2}(t))f_{2}(y_{2}(t-\tau (t)))+I_{2}+\gamma _{12}e_{22}(t)\\&\quad+\gamma _{22}sign(e_{22}(t))-\frac{c}{2}e^{2\beta -1}_{22}(t), \end{aligned} \right. \end{aligned}$$
(34)

where \(f_{1}(x)=f_{2}(x)=sinx, \; c_{1}=c_{2}=1, d_{1}=d_{2}=2, \; \tau (t)=0.8+0.2sin(3t),\;\theta =0,\; I_{1}=I_{2}=0.\) By Assumptions 1 and 2, \(l_{1}=l_{2}=1, \overline{M}=1\),, When the control gains are taken as \(k_{1}=k_{2}=-2, k_{21}=-3, k_{22}=-3, \gamma _{11}=\gamma _{12}=-10, \gamma _{21}=\gamma _{22}=-10,\) the condition of Theorem 2 is satisfied. Choose the initial condition as \(p_{1}(t)=2, p_{2}(t)=-1.3, q_{1}(t)=0.4, q_{2}(t)=-0.2, y_{1}(t)=-0.5, y_{2}(t)=0.7, z_{1}(t)=-0.5, z_{2}(t)=0.8, \forall t\in [-1, 0].\) The simulation results are shown as Fig. 6, which verify the effectiveness of Theorem 2.

Fig. 6
figure 6

Synchronization error \(e_{11}, e_{12}, e_{21}, e_{22}\) between systems (31) and (33)

Example 3

Consider the following master inertial memristive neural network

$$\begin{aligned} \left\{ \begin{aligned} \dot{p}_{1}(t)&=-p_{1}(t)+q_{1}(t),\\ \dot{p}_{2}(t)&=-p_{2}(t)+q_{2}(t),\\ \dot{q}_{1}(t)&=(-1+d_{1}-c_{1})p_{1}(t)+(1-d_{1})q_{1}(t)+ a_{11}(p_{1}(t))f_{1}(p_{1}(t))\\&\quad+a_{12}(p_{1}(t))f_{2}(p_{2}(t))+b_{11}(p_{1}(t))f_{1}(p_{1}(t-\tau (t)))\\&\quad+b_{12}(p_{1}(t))f_{2}(p_{2}(t-\tau (t)))+I_{1},\\ \dot{q}_{2}(t)&=(-1+d_{2}-c_{2})p_{2}(t)+(1-d_{2})q_{2}(t)+ a_{21}(p_{2}(t))f_{1}(p_{1}(t))\\&\quad+a_{22}(p_{2}(t))f_{2}(p_{2}(t))+b_{21}(p_{2}(t))f_{1}(p_{1}(t-\tau (t)))\\&\quad+b_{22}(p_{2}(t))f_{2}(p_{2}(t-\tau (t)))+I_{2}, \end{aligned} \right. \end{aligned}$$
(35)

where

$$\begin{aligned} \begin{aligned} a_{11}(p_{1}(t))&=\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ -1, |p_{1}(t)|> 1, \end{array}\right. a_{12}(p_{1}(t)) =\left\{ \begin{array}{c} 1, |p_{1}(t)|\le 1, \\ 0, |p_{1}(t)|> 1, \end{array}\right. \\ a_{21}(p_{2}(t))&=\left\{ \begin{array}{c} -1, |p_{2}(t)|\le 1, \\ 2, |p_{2}(t)|> 1, \end{array}\right. a_{22}(p_{2}(t)) =\left\{ \begin{array}{c} -1, |p_{1}(t)|\le 1, \\ 1, |p_{1}(t)|> 1, \end{array}\right. \\ b_{11}(p_{1}(t))&=\left\{ \begin{array}{c} -1, |p_{1}(t)|\le 1, \\ 1, |p_{1}(t)|> 1, \end{array}\right. b_{12}(p_{1}(t)) =\left\{ \begin{array}{c} 2, |p_{1}(t)|\le 1, \\ 0, |p_{1}(t)|> 1, \end{array}\right. \\ b_{21}(p_{2}(t))&=\left\{ \begin{array}{c} 1, |p_{2}(t)|\le 1, \\ 0, |p_{2}(t)|> 1, \end{array}\right. b_{22}(p_{2}(t)) =\left\{ \begin{array}{c} 2, |p_{2}(t)|\le 1, \\ -1, |p_{2}(t)|> 1, \end{array}\right. \end{aligned} \end{aligned}$$
(36)

and the slave system is

$$\begin{aligned} \left\{ \begin{aligned} \dot{y}_{1}(t)&=-y_{1}(t)+z_{1}(t)+k_{1}e_{11}(t)+k_{11}sign(e_{11}(t))|e_{11}(t)|+k_{21}sign(e_{11}(t))\cdot \\&\quad|e_{11}(t-\tau (t))|-a(2n)^{p-1} sign(e_{11}(t))[|e_{11}(t)|^{p}+|e_{21}(t)|^{p}],\\ \dot{y}_{2}(t)&=-y_{2}(t)+z_{2}(t)+k_{2}e_{12}(t)+k_{12}sign(e_{12}(t))|e_{12}(t)|+k_{22}sign(e_{12}(t))\cdot \\&\quad|e_{12}(t-\tau (t))|-a(2n)^{p-1} sign(e_{12}(t))[|e_{12}(t)|^{p}+|e_{22}(t)|^{p}],\\ \dot{z}_{1}(t)&=(-1+d_{1}-c_{1})y_{1}(t)+(1-d_{1})z_{1}(t)+ a_{11}(y_{1}(t))f_{1}(y_{1}(t))\\&\quad+a_{12}(y_{1}(t))f_{2}(y_{2}(t))+b_{11}(y_{1}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{12}(y_{1}(t))f_{2}(y_{2}(t-\tau (t)))+I_{1}+\gamma _{1}sign(e_{21}(t))|e_{21}(t)|\\&\quad+Msign(e_{21}(t))-bsigne_{21}(t)[|e_{11}(t)|^{q}+|e_{21}(t)|^{q},\\ \dot{z}_{2}(t)&=(-1+d_{2}-c_{2})y_{2}(t)+(1-d_{2})z_{2}(t)+ a_{21}(y_{2}(t))f_{1}(y_{1}(t))\\&\quad+a_{22}(y_{2}(t))f_{2}(y_{2}(t))+b_{21}(y_{2}(t))f_{1}(y_{1}(t-\tau (t)))\\&\quad+b_{22}(y_{2}(t))f_{2}(y_{2}(t-\tau (t)))+I_{2}+\gamma _{2}sign(e_{22}(t))|e_{22}(t)|\\&\quad+Msign(e_{22}(t))-bsigne_{22}(t)[|e_{12}(t)|^{q}+|e_{22}(t)|^{q}], \end{aligned} \right. \end{aligned}$$
(37)

where \(f_{1}(x)=f_{2}(x)=sinx\), \(c_{1}=c_{2}=1, d_{1}=d_{2}=2, p=2, q=0.5, a=b=1\), \(\tau (t)=0.8+0.2sin3t\), \(I_{1}=I_{2}=0\). According to Assumption 1 and 2, \(l_{1}=l_{2}=1, \overline{M}=(1, 1)^{T}\). When the control gains are chosen as \(k_{11}=-3, k_{12}=-1, k_{21}=-2, k_{22}=-4, \gamma _{1} = \gamma _{2}=-2, M=-10\), the condition of Theorem 3 is satisfied. The initial condition is taken as \(p_{1}(t)=5, p_{2}(t)=5, q_{1}(t)=5, q_{2}(t)=0.2, y_{1}(t)=-0.5, y_{2}(t)=-0.7, z_{1}(t)=-0.3, z_{2}(t)=-3, \forall t\in [-1, 0].\) The simulation results are shown as Figs. 7, 8, 9, 10 and 11, which verify the effectiveness of Theorem 3.

Fig. 7
figure 7

State trajectories of \(p_{1}(t)\) and \(y_{1}(t)\)

Fig. 8
figure 8

State trajectories of \(p_{2}(t)\) and \(y_{2}(t)\)

Fig. 9
figure 9

State trajectories of \(q_{1}(t)\) and \(z_{1}(t)\)

Fig. 10
figure 10

State trajectories of \(q_{2}(t)\) and \(z_{2}(t)\)

Fig. 11
figure 11

Synchronization error \(e_{11}, e_{12}, e_{21}, e_{22}\) between systems (35) and (37)

Conclusion

This paper has addressed the finite-time and fixed-time master-slave synchronization control problem for the inertial memristive neural networks with time-varying delays. Utilizing the Fillipov discontinuous theory and a variable transformation, the problem of second-order equations can be converted into first-order one. Then, by designing Lyapunov function and constructing feedback controller, sufficient conditions are derived respectively for the two types of synchronization. Finally, numerical simulations have been presented to verify the effectiveness of our theoretical results.