1 Introduction

The studies for various Hopfield neural networks (HNNs) have been continuously active over the past three decades because of their successful applications in numerous areas, for instance, optimizations, signal processing, image processing, solving nonlinear algebraic equations, pattern recognitions, associative memories [1,2,3,4,5]. Since the applications of HNNs rely heavily on network dynamics, many efforts have been undertaken to investigate their dynamical properties and a lot of valuable results have been reported, including stability [6], oscillation [7], bifurcation [8,9,10], chaos [11], and synchronization [12, 13] and the references.

One major and often encountered difficulty in the analysis of neural network dynamics is the ubiquity of time delays that can result in instability, oscillation, periodic solution, anti-periodic solution, almost periodic solution, quasi-periodic solution, and even give rise to multistability and chaotic motion. Among them, the time delays resulting from the communication and response of neurons are regarded as a critical player due to the finite switching speed of amplifiers and the non-instantaneous signal transmission between neurons [14]. Over the years, the study of dynamics of HNNs or population with such time delays has received considerable interest of many researchers [2,3,4,5, 7, 11, 15]. Additionally, it has been observed that a typical time delay called leakage delay also has important consequences on dynamics of neural networks [16,17,18,19,20,21]. In particular, the leakage delay in a negative feedback terms can drive a stable system to be unstable [22]. It is therefore also of great significance to clarify the dynamics of HNNs subject to leakage delays.

In 2009, Hu and Huang [23] investigated a ring of HNN with four neurons and delays, which is described as follows:

$$\begin{aligned} \textstyle\begin{cases} \dot{x_{1}}(t)=-r_{1}x_{1}(t)+g_{1}(x_{1}(t))+f_{1}(x_{4}(t-\tau _{2}))+f _{1}(x_{2}(t-\tau _{2})),\\ \dot{x_{2}}(t)=-r_{2}x_{2}(t)+g_{2}(x_{2}(t))+f _{2}(x_{1}(t-\tau _{1}))+f_{2}(x_{3}(t-\tau _{1})),\\ \dot{x_{3}}(t)=-r _{3}x_{3}(t)+g_{3}(x_{3}(t))+f_{3}(x_{2}(t-\tau _{2}))+f_{3}(x_{4}(t- \tau _{2})),\\ \dot{x_{4}}(t)=-r_{4}x_{4}(t)+g_{4}(x_{4}(t))+f_{4}(x _{3}(t-\tau _{1}))+f_{4}(x_{1}(t-\tau _{1})), \end{cases}\displaystyle \end{aligned}$$

where \(\dot{x}=\mathrm{d}x/\mathrm{d}t\); \(x_{i}(t)\) represents the state of the ith neuron at time t; \(r_{i}\geq 0\) is the internal decay rate; \(f_{i}\) is the connection function between neurons; \(g_{i}\) represents the nonlinear feedback function; \(\tau _{j}\geq 0\) is the communication time delay; and \(i=1,2,3,4\), \(j=1,2\). By using the associated characteristic equation, the stability and Hopf bifurcations of the HNN are studied, as well as the stability and direction on the Hopf bifurcation are determined by employing the normal form method and the center manifold reduction. For more ring networks research results, one can read the references [8, 24,25,26] and the references cited therein.

Fractional calculus, a classical mathematical notion that has a history of over 300 years, is a generalization of the ordinary differentiation and integration to arbitrary non-integer order, having been demonstrated to play important roles in physics, biology and engineering [27,28,29,30,31,32,33,34,35]. In fact, the importance of fractional calculus is reflected in three main points: first, the orders of derivatives and integrals in fractional calculus are real numbers; second, fractional-order derivative acts as an effective measure for the description of memory and hereditary properties of various materials and processes; and third, the fractional-order derivative makes a real object models more accurately than the integer order. Based on these advantages, fractional calculus has been proposed to model, design, and control various neural networks in recent years. For instance, several works concerning fractional neural networks have appeared recently: undamped oscillations generated by Hopf bifurcations in fractional-order recurrent neural networks with Caputo derivative were studied in [36, 37]; for a fractional BAM neural network with leakage delay, conditions for the Hopf bifurcation were discussed in [38], and so on.

Oscillations are ubiquitous in dynamic neuronal networks and play critical roles in fundamental processes such as controlling dynamics of neurons at subthreshold potentials, regulating rhythmic neuronal ensembles within local networks, and determining global oscillations measured by electroencephalography [12]. It is well known that Hopf bifurcations, which include supercritical and subcritical Hopf bifurcations, can help us to efficiently design biochemical oscillators. In this regard, it is important to note that most of the results on Hopf bifurcation theory of integer-order neural networks cannot be simply generalized to those for the cases of fractional neural networks because of the substantial differences between integer-order system and fractional-order system. To the best of our knowledge, up to today only a few results on the Hopf bifurcation of fractional-order system have been reported, and thus, it is still an open problem to study Hopf bifurcations of fractional-order dynamical systems [39]. This finding motivates the search for the properties of bifurcated oscillations of a ring of fractional-order neural network with four neurons further.

Based on the above motivations, the present work is devoted to the study of stability and Hopf bifurcation for a delayed ring of fractional-order neural network with four neurons and leakage delays. The main contributions can be summarized in three aspects:

  1. (1)

    A new delayed four-neuron fractional-order ring network with leakage delays is proposed.

  2. (2)

    Two important dynamical properties—stability and oscillation—of the four neurons fractional-order ring networks without and with explicit leakage delays are investigated.

  3. (3)

    The effects of the order on the Hopf bifurcation are discussed.

The rest of this paper is organized as follows. In Sect. 2, several definitions and lemma of fractional-order calculus are recalled. In Sect. 3, the discussed models are proposed. In Sect. 4, by analyzing the associated characteristic equation, the local stability of the trivial steady state for the delayed fractional-order HNN is examined. Moreover, the existence of the Hopf bifurcation of the delayed fractional-order HNN without and with leakage time delays is established. In Sect. 5, illustrative examples are provided to demonstrate the theoretical results. Some conclusions are given in the last section.

2 Preliminaries

In this section, we introduce some definitions and lemmas of fractional derivatives, which serve as a basis for the proofs of the main result of Sect. 4.

Generally, there exist mainly three widely used fractional operators, namely the Grünwald–Letnikov definition, the Riemann–Liouville definition, and the Caputo definition. Since the Caputo derivative only requires the initial conditions, which are based on integer-order derivative and represents well-understood features of physical situation, it is more applicable to real world problems. With this notion in mind, we shall use the Caputo fractional-order derivative to model and analyze the stability of the proposed fractional-order algorithms in this paper.

Definition 2.1

([28])

The fractional integral of order ϕ for a function \(g(t)\) is defined as follows:

$$\begin{aligned} I^{\phi }g(t)=\frac{1}{\varGamma (\phi )} \int _{t_{0}}^{t} (t-s)^{\phi -1}g(s)\,d \mathrm{s}, \end{aligned}$$

here, \(t\geq t_{0}\), \(\phi >0\), and \(\varGamma (\cdot )\) is the gamma function satisfying \(\varGamma (s)=\int _{0}^{\infty }t^{s-1}e^{-t}\,d \mathrm{t}\).

Definition 2.2

([28])

Caputo fractional derivative of order ϕ for a function \(g(t)\in C^{n}([t_{0}, \infty ),R)\) is defined in the following form:

$$\begin{aligned} D^{\phi }g(t)=\frac{1}{\varGamma (n-\phi )} \int _{t_{0}}^{t} \frac{g^{(n)}(s)}{(t-s)^{ \phi -n+1}}\,d\mathrm{s}, \end{aligned}$$

here, \(t\geq t_{0}\), and \(n-1\leq \phi < n\), \(n\in N^{+}\).

Moreover, if \(0<\phi <1\), then

$$ D^{\phi }g(t)=\frac{1}{\varGamma (1-\phi )} \int _{t_{0}}^{t} \frac{g^{\prime }(s)}{(t-s)^{ \phi }}\,d\mathrm{s}. $$

Lemma 2.1

([29])

For the following autonomous system

$$ D^{\phi }y=Jy, \quad y(0)=y_{0}, $$

in which \(0<\phi <1\), \(y\in R^{n}\), \(A\in R^{n\times n}\) is asymptotically stable if and only if \(\vert \arg (\lambda _{i}) \vert >\phi \pi /2\) (\(i=1,2,\ldots,n\)), then each component of the states decays towards 0 like \(t^{-\phi }\). Furthermore, this system is stable if and only if \(\vert \arg (\lambda _{i}) \vert \geq \phi \pi /2\) and those critical eigenvalues that satisfy \(\vert \arg (\lambda _{i}) \vert =\phi \pi /2\) have geometric multiplicity one.

3 Model description

This paper considers the following ring fractional HNN with four neurons and time delays in leakage terms:

$$\begin{aligned} \textstyle\begin{cases} D^{\phi _{1}}x_{1}(t)=-r_{1}x_{1}(t-\sigma )+ag_{1}(x_{1}(t))+b_{1}f _{1}(x_{4}(t-\tau _{2}))+c_{1}f_{1}(x_{2}(t-\tau _{2})),\\ D^{\phi _{2}}x _{2}(t)=-r_{2}x_{2}(t-\sigma )+ag_{2}(x_{2}(t))+b_{2}f_{2}(x_{1}(t- \tau _{1}))+c_{2}f_{2}(x_{3}(t-\tau _{1})),\\ D^{\phi _{3}}{x_{3}}(t)=-r _{3}x_{3}(t-\sigma )+ag_{3}(x_{3}(t))+b_{3}f_{3}(x_{2}(t-\tau _{2}))+c _{3}f_{3}(x_{4}(t-\tau _{2})),\\ D^{\phi _{4}}{x_{4}}(t)=-r_{4}x_{4}(t- \sigma )+ag_{4}(x_{4}(t))+b_{4}f_{4}(x_{3}(t-\tau _{1}))+c_{4}f_{4}(x _{1}(t-\tau _{1})), \end{cases}\displaystyle \end{aligned}$$
(3.1)

where \(\phi _{i}\in (0,1]\) (\(i=1,2,3,4\)) is fractional order; \(x_{i}(t)\) (\(i=1,2,3,4\)) represents state variables; \(r_{i}\geq 0\) (\(i=1,2,3,4\)) specifies the internal decay rate; a, \(b_{i}\), \(c_{i}\) (\(i=1,2,3,4\)) denote the connection weights; \(f_{i}(\cdot )\) is the connection function between neurons; \(g_{i}(\cdot )\) (\(i=1,2,3,4\)) represents the nonlinear feedback function; σ is the leakage delay; \(\tau _{1}\) and \(\tau _{2}\) are the communication time delays.

Remark 3.1

In fact, if \(\phi _{i}=1\) (\(i=1,2,3,4\)), the fractional-order system (3.1) changes into the following integer-order system:

$$ \textstyle\begin{cases} \dot{x_{1}}(t)=-r_{1}x_{1}(t-\sigma )+ag_{1}(x_{1}(t))+b_{1}f_{1}(x _{4}(t-\tau _{2}))+c_{1}f_{1}(x_{2}(t-\tau _{2})),\\ \dot{x_{2}}(t)=-r _{2}x_{2}(t-\sigma )+ag_{2}(x_{2}(t))+b_{2}f_{2}(x_{1}(t-\tau _{1}))+c _{2}f_{2}(x_{3}(t-\tau _{1})),\\ \dot{x_{3}}(t)=-r_{3}x_{3}(t-\sigma )+ag_{3}(x_{3}(t))+b_{3}f_{3}(x_{2}(t-\tau _{2}))+c_{3}f_{3}(x_{4}(t- \tau _{2})),\\ \dot{x_{4}}(t)=-r_{4}x_{4}(t-\sigma )+ag_{4}(x_{4}(t))+b _{4}f_{4}(x_{3}(t-\tau _{1}))+c_{4}f_{4}(x_{1}(t-\tau _{1})). \end{cases} $$

In this work, for the sake of simplicity, we discuss the fractional-order system (3.1) when \(\sigma =\tau _{1}=\tau _{2}=\tau \), \(\phi =\phi _{1}=\phi _{2}=\phi _{3}=\phi _{4}\), and so system (3.1) can be rewritten as

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-r_{1}x_{1}(t-\tau )+ag_{1}(x_{1}(t))+b_{1}f_{1}(x _{4}(t-\tau ))+c_{1}f_{1}(x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=-r _{2}x_{2}(t-\tau )+ag_{2}(x_{2}(t))+b_{2}f_{2}(x_{1}(t-\tau ))+c_{2}f _{2}(x_{3}(t-\tau )),\\ D^{\phi }{x_{3}}(t)=-r_{3}x_{3}(t-\tau )+ag _{3}(x_{3}(t))+b_{3}f_{3}(x_{2}(t-\tau ))+c_{3}f_{3}(x_{4}(t-\tau )), \\ D^{\phi }{x_{4}}(t)=-r_{4}x_{4}(t-\tau )+ag_{4}(x_{4}(t))+b_{4}f _{4}(x_{3}(t-\tau ))+c_{4}f_{4}(x_{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(3.2)

Moreover, when system (3.2) does not involve leakage time delay, then system (3.2) can be described by

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-r_{1}x_{1}(t)+ag_{1}(x_{1}(t))+b_{1}f_{1}(x_{4}(t- \tau ))+c_{1}f_{1}(x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=-r_{2}x_{2}(t)+ag _{2}(x_{2}(t))+b_{2}f_{2}(x_{1}(t-\tau ))+c_{2}f_{2}(x_{3}(t-\tau )), \\ D^{\phi }{x_{3}}(t)=-r_{3}x_{3}(t)+ag_{3}(x_{3}(t))+b_{3}f_{3}(x _{2}(t-\tau ))+c_{3}f_{3}(x_{4}(t-\tau )),\\ D^{\phi }{x_{4}}(t)=-r _{4}x_{4}(t)+ag_{4}(x_{4}(t))+b_{4}f_{4}(x_{3}(t-\tau ))+c_{4}f_{4}(x _{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(3.3)

Accordingly, the primary objective of this paper is to study the stability and the Hopf bifurcations of networks (3.2) and (3.3) by taking time delay as the bifurcation parameter through the approach of stability analysis [27]. Moreover, the effects of the order on the creation of bifurcation for the two proposed models are also numerically discussed.

Throughout of this paper, some basic assumptions are presented first.

\((\mathbf{C1})\) :

\(f_{i}, g_{i}\in \mathrm{C}(R,R)\), \(f_{i}(0)=g_{i}(0)=0\), \(xf_{i}(x)>0\), \(xg_{i}(x)>0\) (\(i=1,2,3,4\)) for \(x\neq 0\).

4 Stability and bifurcation analysis

4.1 Existence of bifurcation without leakage delays

In this subsection, by applying the previous analytic technique, we shall investigate the stability and bifurcation of system (3.3) by taking communication time delay as the bifurcation parameter. Accordingly, it is easy to show that the origin is an equilibrium point of system (3.3) under assumption \((\mathbf{C1})\). The linearization of (3.3) at the origin is given by

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-r_{1}x_{1}(t)+ax_{1}(t)+m_{1}x_{4}(t-\tau )+n_{1}x _{2}(t-\tau ),\\ D^{\phi }x_{2}(t)=-r_{2}x_{2}(t)+a x_{2}(t)+m_{2} x _{1}(t-\tau )+n_{2} x_{3}(t-\tau ),\\ D^{\phi }x_{3}(t)=-r_{3}x_{3}(t)+a x_{3}(t)+m_{3} x_{2}(t-\tau )+n _{3} x_{4}(t-\tau ),\\ D^{\phi }x_{4}(t)=-r_{4}x_{4}(t)+a x_{4}(t)+m _{4} x_{3}(t-\tau )+n_{4} x_{1}(t-\tau ), \end{cases}\displaystyle \end{aligned}$$
(4.1)

whose characteristic equation is

det ( s ϕ + k 1 n 1 e s τ 0 m 1 e s τ m 2 e s τ s ϕ + k 2 n 2 e s τ 0 0 m 3 e s τ s ϕ + k 3 n 3 e s τ n 4 e s τ 0 m 4 e s τ s ϕ + k 4 ) =0,
(4.2)

where \(k_{i}=r_{i}-ag_{i}'(0)\), \(m_{i}=b_{i}f_{i}'(0)\), \(n_{i}=c_{i} f _{i}'(0)\) (\(i=1,2,3,4\)).

By (4.2), we have

$$\begin{aligned} P_{1}(s)+P_{2}(s)e^{-2s\tau }+P_{3}(s)e^{-4s\tau }=0, \end{aligned}$$
(4.3)

where

$$\begin{aligned}& \begin{aligned} P_{1}(s) &=s^{4\phi }+(k_{1}+k_{2}+k_{3}+k_{4})s^{3\phi }+(k_{1}k_{2}+k _{1}k_{3}+k_{1}k_{4}+k_{2}k_{3}+k_{2}k_{4}+k_{3}k_{4})s^{2\phi } \\ &\quad {} + (k_{1}k_{2}k_{3}+k_{1}k_{2}k_{4}+k_{1}k_{3}k_{4}+k_{2}k_{3}k _{4})s^{\phi }+k_{1}k_{2}k_{3}k_{4}, \end{aligned} \\& \begin{aligned} P_{2}(s) &=-(m_{1}n_{4}+m_{2}n_{1}+m_{3}n_{2})s^{2\phi }+(m_{3}n_{2}k _{4}+m_{4}n_{3}k_{2}+m_{1}n_{4}k_{2}+m_{4}n_{3}k_{1} \\ &\quad {} +m_{2}n_{1}k_{4}+m_{1}n_{4}k_{3}+m_{2}n_{1}k_{3}+m_{3}n_{2}k _{1})s^{\phi }-(m_{4}n_{3}k_{1}k_{2}+m_{2}n_{1}k_{3}k_{4} \\ &\quad {} +m_{1}n_{4}k_{2}k_{3}+m_{3}n_{2}k_{1}k_{4}), \end{aligned} \\& \begin{aligned} P_{3}(s) &=m_{1}m_{3}n_{2}n_{4}+m_{2}m_{4}n_{1}n_{3}-m_{1}m_{2}m_{3}m _{4}-n_{1}n_{2}n_{3}n_{4}. \end{aligned} \end{aligned}$$

Let \(P_{1}(s)=A_{1}+iB_{1}\), \(P_{2}(s)=A_{2}+iB_{2}\), \(P_{3}(s)=A_{3}\), and from Eq. (4.3), we have

$$\begin{aligned} (A_{1}+iB_{1})e^{2s\tau } +(A_{2}+iB_{2})+A_{3}e^{-2s\tau }=0. \end{aligned}$$
(4.4)

Let \(s=iw=w(\cos \frac{\pi }{2}+i\sin \frac{\pi }{2})\) (\(\omega >0\)) be a root of Eq. (4.4). Substituting s into Eq. (4.4) and separating the real and imaginary parts yields the following equations:

$$\begin{aligned} \textstyle\begin{cases} ({A}_{1}+{A}_{3})\cos 2w\tau + {B}_{1}\sin 2w\tau =-{A}_{2},\\ {B}_{1}\cos 2w\tau +({A}_{1} -{A}_{3})\sin 2w\tau =-{B}_{2}, \end{cases}\displaystyle \end{aligned}$$
(4.5)

which lead to

$$\begin{aligned} \textstyle\begin{cases} \cos 2w\tau =-\frac{{A}_{2}({A}_{1}-{A}_{3}) +{B}_{1}{B}_{2}}{{A} _{1}^{2}+{B}_{1}^{2}-{A}_{3}^{2}} =\mathcal{F}(w),\\ \sin 2w\tau =-\frac{ {B}_{2}({A}_{1}+{A}_{3}) -{A}_{2}{B}_{1}}{{A}_{1}^{2}+{B}_{1}^{2}- {A}_{3}^{2}} =\mathcal{G}(w). \end{cases}\displaystyle \end{aligned}$$
(4.6)

It is easy to see that

$$\begin{aligned} \mathcal{F}^{2}(w)+\mathcal{G}^{2}(w)=1. \end{aligned}$$
(4.7)

From (4.6), one can obtain

$$\begin{aligned} \tau ^{(l)}=\frac{1}{2w}\bigl[\arccos \mathcal{F}(w)+2l\pi \bigr],\quad l=0,1,2,\ldots . \end{aligned}$$
(4.8)

Define the bifurcation point

$$\begin{aligned} \tau _{0}^{*}=\min \bigl\{ \tau ^{(l)}\bigr\} ,\quad l=0,1,2,\ldots . \end{aligned}$$
(4.9)

To theoretically gain the sufficient conditions for the Hopf bifurcation, we assume that the following assumptions hold:

\((\mathbf{C2})\) :

Eq. (4.7) has no positive real root;

\((\mathbf{C3})\) :

Eq. (4.7) has at least a positive real root.

Denote

Ξ 1 = Π 1 , Ξ 2 = | Π 1 1 Π 3 Π 2 | , Ξ 3 = | Π 1 1 0 Π 3 Π 2 Π 1 0 Π 4 Π 3 | , Ξ 4 = Π 4 Δ 3 ,

where

$$\begin{aligned}& \varPi _{1}=k_{1}+k_{2}+k_{3}+k_{4}, \\& \varPi _{2}=k_{1}k_{2}+k_{1}k_{3}+k_{1}k_{4}+k_{2}k_{3}+k_{2}k_{4}+k _{3}k_{4}-(m_{1}n_{4}+m_{2}n_{1}+m_{3}n_{2}), \\& \begin{aligned} \varPi _{3}&=(k_{1}k_{2}k_{3}+k_{1}k_{2}k_{4}+k_{1}k_{3}k_{4}+k_{2}k_{3}k _{4})+(m_{3}n_{2}k_{4}+m_{4}n_{3}k_{2}+m_{1}n_{4}k_{2} \\& \quad{} +m_{4}n_{3}k_{1}+m_{2}n_{1}k_{4}+m_{1}n_{4}k_{3}+m_{2}n_{1}k_{3}+m _{3}n_{2}k_{1}), \end{aligned} \\& \begin{aligned} \varPi _{4}&=k_{1}k_{2}k_{3}k_{4}-(m_{4}n_{3}k_{1}k_{2}+m_{2}n_{1}k_{3}k _{4}+m_{1}n_{4}k_{2}k_{3}+m_{3}n_{2}k_{1}k_{4}) \\ & \quad{} +m_{1}m_{3}n_{2}n_{4}+m_{2}m_{4}n_{1}n_{3}-m_{1}m_{2}m_{3}m_{4}-n_{1}n _{2}n_{3}n_{4}. \end{aligned} \end{aligned}$$

Now, we will reconsider the stability of system (3.3) when \(\tau =0\). According to the Routh–Hurwitz criterion, we have the following lemma.

Lemma 4.1

If \(\tau =0\) and \(\varXi _{1}>0\), \(\varXi _{2}>0\), \(\varXi _{3}>0\), \(\varXi _{4}>0\), then system (3.3) is asymptotically stable.

Proof

When \(\tau =0\), by (4.3), we get

$$\begin{aligned} \lambda ^{4}+\varPi _{1}\lambda ^{3}+\varPi _{2}\lambda ^{2}\varPi _{3}\lambda +\varPi _{4}=0. \end{aligned}$$
(4.10)

If the conditions of \(\varXi _{1}>0\), \(\varXi _{2}>0\), \(\varXi _{3}>0\), \(\varXi _{4}>0\) hold, then the roots \(\lambda _{i}\) of Eq. (4.4) satisfy \(\vert \arg (\lambda _{i}) \vert >\phi \pi /2\). Thus, according to Lemma 2.1, system (3.3) is asymptotically stable when \(\tau =0\). □

To throw up our main results, we further give the following assumption:

\((\mathbf{C4})\) :

\(\frac{\varUpsilon _{1}\varOmega _{1}+\varUpsilon _{2}\varOmega _{2}}{ \varOmega _{1}^{2}+\varOmega _{2}^{2}}\neq 0\),

where

$$\begin{aligned}& \varUpsilon _{1} =2w_{0}\bigl[P_{2}^{R} \sin 2w_{0}\tau _{0}-P_{2}^{I}\cos 2w _{0}\tau _{0} +2\bigl(P_{3}^{R}\sin 4w_{0}\tau _{0}-P_{3}^{I}\cos 4w\tau _{0}\bigr)\bigr], \\& \varUpsilon _{2} =2w_{0}\bigl[P_{2}^{R} \cos 2w_{0}\tau _{0}+P_{2}^{I}\sin 2w _{0}\tau _{0} +2\bigl(P_{3}^{R}\cos 4 \omega _{0}\tau _{0}+P_{3}^{I}\sin 4 \omega _{0}\tau _{0}\bigr)\bigr], \\& \varOmega _{1} =P_{1}^{\prime R}+ \bigl(P_{2}^{\prime R}-2\tau _{0}P_{2}^{R} \bigr)\cos 2w_{0}\tau _{0}+\bigl(P_{2}^{\prime I}-2 \tau _{0}P_{2}^{I}\bigr)\sin 2w_{0} \tau _{0} -4\tau _{0}P _{3}^{R}\cos 4 \omega _{0}\tau _{0}, \\& \varOmega _{2} =P_{1}^{\prime I}- \bigl(P_{2}^{\prime R}-2\tau _{0}P_{2}^{R} \bigr)\sin 2w_{0}\tau _{0}+\bigl(P_{2}^{\prime I}-2 \tau _{0}P_{2}^{I}\bigr)\cos 2w_{0} \tau _{0} +4\tau _{0}P _{3}^{R}\sin 4w_{0}\tau _{0}. \end{aligned}$$

Lemma 4.2

Let \(s(\tau )=\nu (\tau )+iw(\tau )\) be a root of Eq. (4.3) near \(\tau =\tau _{j}\) satisfying \(\nu (\tau _{j})=0\), \(w(\tau _{j})=w_{0}\), then the following transversality condition holds:

$$ \operatorname{Re} \biggl[\frac{ds}{d\tau } \biggr] \bigg\vert _{(w=w_{0},\tau =\tau _{0})} \neq 0. $$

Proof

By using the implicit function theorem and differentiating (4.3) with respect to τ, we have

$$\begin{aligned} &P_{1}'(s)\frac{ds}{d\tau }+P_{2}'(s)e^{-2s\tau } \frac{ds}{d\tau }+P _{2}(s)e^{-2s\tau } \biggl(-2\tau \frac{ds}{d\tau }-2s \biggr) \\ &\quad {} +P_{3}'(s)e^{-4s\tau } \frac{ds}{d\tau }+P_{3}(s)e^{-4s\tau } \biggl(-4\tau \frac{ds}{d\tau }-4s \biggr)=0, \end{aligned}$$

where \(P_{i}'(s)\) is the derivative of \(P_{i}(s)\).

Noting that \(P_{3}'(s)=0\), therefore we have

$$\begin{aligned} \frac{ds}{d\tau }=\frac{\varUpsilon (s)}{\varOmega (s)}, \end{aligned}$$
(4.11)

where

$$\begin{aligned}& \varUpsilon (s) =2s\bigl[P_{2}(s)e^{-2s\tau }+2P_{3}(s)e^{-4s\tau } \bigr], \\& \varOmega (s) =P_{1}'(s)+\bigl[P_{2}'(s)-2 \tau P_{2}(s)\bigr]e^{-2s\tau }-4\tau P _{3}(s)e^{-4s\tau }. \end{aligned}$$

Let \({P'}_{i}^{R}\), \({P'}_{i}^{I}\) be the real and imaginary parts of \(P_{i}(s)\) (\(i=1,2,3\)), respectively. We further suppose that \(\varUpsilon _{1}\), \(\varUpsilon _{2}\) are the real and imaginary parts of \(\varUpsilon (s)\), respectively, and \(\varOmega _{1}\), \(\varOmega _{2}\) are the real and imaginary parts of \(\varOmega (s)\), respectively, then

$$\begin{aligned} \operatorname{Re} \biggl[\frac{ds}{d\tau } \biggr] \bigg\vert _{(\tau =\tau _{0}^{*},w=w_{0} ^{*})}= \frac{\varUpsilon _{1}\varOmega _{1}+\varUpsilon _{2}\varOmega _{2}}{\varOmega _{1}^{2}+\varOmega _{2}^{2}}. \end{aligned}$$
(4.12)

And from \((\mathbf{C3})\) we conclude that the transversality condition is satisfied. This completes the proof of Lemma 4.2. □

From the above analysis, we can obtain the following results.

Theorem 4.1

If system (3.3) satisfies:

  1. (1)

    Under assumptions \((\mathbf{C1})\)\((\mathbf{C4})\), then the zero equilibrium point is globally asymptotically stable for \(\tau \in [0,+ \infty )\).

  2. (2)

    Under assumptions \((\mathbf{C1})\), \((\mathbf{C3})\), and \((\mathbf{C4})\), then

    1. (i)

      the zero equilibrium point is locally asymptotically stable for \(\tau \in [0,\tau _{0})\);

    2. (ii)

      system (3.3) undergoes a Hopf bifurcation at the origin when \(\tau =\tau _{0}\). That is, a family of periodic solutions can bifurcate from the zero equilibrium point at \(\tau =\tau _{0}\).

Theorem 4.1 shows that there is an explicit communication time delay value \(\tau =\tau _{0}\), which can determine the stability of system (3.3) and can induce oscillatory dynamics even when the deterministic counterpart of system (3.3) exhibits no oscillations.

4.2 Bifurcation analysis involving leakage delays

In this subsection, we first study the stability of system (3.2) by taking the leakage time delay as the bifurcation parameter. Then we further look for the sufficient conditions of Hopf bifurcation for the proposed system.

It is obvious that the origin is an equilibrium point of system (3.2) under assumption \((\mathbf{C1})\). The linear equation of system (3.2) at the origin is

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-r_{1}x_{1}(t-\tau )+\mu _{1}x_{1}(t)+m_{1}x_{4}(t- \tau )+n_{1}x_{2}(t-\tau ),\\ D^{\phi }x_{2}(t)=-r_{2}x_{2}(t-\tau )+ \mu _{2} x_{2}(t)+m_{2} x_{1}(t-\tau )+n_{2} x_{3}(t-\tau ),\\ D^{ \phi }x_{3}(t)=-r_{3}x_{3}(t-\tau )+\mu _{3} x_{3}(t)+m_{3} x_{2}(t- \tau )+n_{3} x_{4}(t-\tau ),\\ D^{\phi }x_{4}(t)=-r_{4}x_{4}(t- \tau )+\mu _{4} x_{4}(t)+m_{4} x_{3}(t-\tau )+n_{4} x_{1}(t-\tau ), \end{cases}\displaystyle \end{aligned}$$
(4.13)

and the associated characteristic equation of system (4.13) is

det ( s ϕ μ + r 1 e s τ n 1 e s τ 0 m 1 e s τ m 2 e s τ s ϕ μ + r 2 e s τ n 2 e s τ 0 0 m 3 e s τ s ϕ μ + r 3 e s τ n 3 e s τ n 4 e s τ 0 m 4 e s τ s ϕ μ + r 4 e s τ ) =0,
(4.14)

which equals to the following equation:

$$\begin{aligned} \begin{aligned}[b] & \bigl(s^{\phi }-\mu \bigr)^{4}+Q_{1} \bigl(s^{\phi }-\mu \bigr)^{3}e^{-s\tau }+Q_{2} \bigl(s^{ \phi }-\mu \bigr)^{2}e^{-2s\tau }\\&\quad{} +Q_{3} \bigl(s^{\phi }-\mu \bigr)e^{-3s\tau }+Q_{4}e ^{-4s\tau }=0,\end{aligned} \end{aligned}$$
(4.15)

in which

$$\begin{aligned}& Q_{1} =r_{1}+r_{2}+r_{3}+r_{4}, \\& Q_{2} =-n_{3}m_{4}+r_{2}r_{4}-m_{3}n_{2}+r_{1}r_{4}+r_{1}r_{3}+r_{2}r _{3}-m_{2}n_{1}+r_{3}r_{4}-m_{1}n_{4}+r_{1}r_{2}, \\& \begin{aligned} Q_{3} &=-m_{3}n_{2}r_{4}+r_{1}r_{3}r_{4}+r_{2}r_{3}r_{4}-r_{2}n_{3}m _{4}+r_{1}r_{2}r_{3}-m_{2}n_{1}r_{4} -r_{1}n_{3}m_{4}+r_{1}r_{2}r_{4} \\ &\quad{} -n_{4}m_{1}r_{3}-m_{3}n_{2}r_{1}, \end{aligned} \\& \begin{aligned} Q_{4} &=r_{1}r_{2}r_{3}r_{4}-m_{1}m_{2}m_{3}m_{4}-n_{1}n_{2}n_{3}n _{4}-m_{2}n_{1}r_{3}r_{4} -m_{3}n_{2}r_{1}r_{4}+r_{1}r_{2}r_{4}-n_{4}m _{1}r_{3} \\ & \quad {} -m_{3}n_{2}r_{1} -m_{1}n_{4}r_{2}r_{3}+m_{1}m_{3}n_{2}n_{4}-m_{3}m _{4}r_{1}r_{2}+m_{2}m_{4}n_{1}n_{3}. \end{aligned} \end{aligned}$$

Multiplying \(e^{4s\tau }\) on both sides of Eq. (4.15), we get

$$\begin{aligned} \bigl[\bigl(s^{\phi }-u\bigr) e^{s\tau } \bigr]^{4}+Q_{1}\bigl[\bigl(s^{\phi }-u\bigr) e^{s\tau }\bigr]^{3}+Q _{2}\bigl[ \bigl(s^{\phi }-u\bigr) e^{s\tau }\bigr]^{2}+Q_{3} \bigl(s^{\phi }-u\bigr) e^{s\tau }+Q _{4}=0. \end{aligned}$$
(4.16)

Suppose that \(h+ik=(s^{\phi }-u) e^{s\tau }\) in Eq. (4.16), it follows that

$$\begin{aligned} (h+ik)^{4}+Q_{1}(h+ik)^{3}+Q_{2}(h+ik)^{2}+Q_{3}(h+ik)+Q_{4}=0. \end{aligned}$$
(4.17)

Since \(Q_{i}\) are constants, for all the roots \((h+ik)\) of Eq. (4.17), the details can be seen in [38].

\(s=i\omega =\omega (\cos \frac{\pi }{2}+i\sin \frac{\pi }{2})\) (\(\omega >0\)) is a purely imaginary root of Eq. (4.17) if and only if

$$\begin{aligned} \textstyle\begin{cases} (\omega ^{\phi }\cos \frac{\phi \pi }{2}-u)\cos \omega \tau - \omega ^{\phi }\sin \frac{\phi \pi }{2}\sin \omega \tau =h,\\ ( \omega ^{\phi }\cos \frac{\phi \pi }{2}-u)\sin \omega \tau -\omega ^{ \phi }\sin \frac{\phi \pi }{2}\cos \omega \tau =k. \end{cases}\displaystyle \end{aligned}$$
(4.18)

If \(\omega ^{2\phi }-2u\omega ^{\phi }\cos \frac{\phi \pi }{2}+u^{2} \neq 0\), then by Eq. (4.18) we have that

$$\begin{aligned} \textstyle\begin{cases} \cos \omega \tau =\frac{\omega ^{\phi }(h\cos \frac{\phi \pi }{2} +k \sin \frac{\phi \pi }{2})-hu}{\omega ^{2\phi }-2u\omega ^{\phi }\cos \frac{ \phi \pi }{2}+u^{2}},\\ \sin \omega \tau =\frac{\omega ^{\phi }(k \cos \frac{\phi \pi }{2} -h\sin \frac{\phi \pi }{2})-ku}{\omega ^{2 \phi }-2u\omega ^{\phi }\cos \frac{\phi \pi }{2}+u^{2}}. \end{cases}\displaystyle \end{aligned}$$
(4.19)

Because \(\sin ^{2}\omega \tau +\cos ^{2}\omega \tau =1\), Eq. (4.19) implies that

$$\begin{aligned} \omega ^{2\phi }=h^{2}+k^{2}. \end{aligned}$$
(4.20)

By a direct computation, one can have

$$\begin{aligned} \omega =\sqrt[2\phi ]{h^{2}+k^{2}}. \end{aligned}$$
(4.21)

According to \(\cos \omega \tau =\frac{\omega ^{\phi }(h\cos \frac{ \phi \pi }{2} +k\sin \frac{\phi \pi }{2})-hu}{\omega ^{2\phi }-2u \omega ^{\phi }\cos \frac{\phi \pi }{2}+u^{2}}\), we obtain that

$$\begin{aligned} \tau ^{(l)}=\frac{1}{\omega } \biggl[\arccos \biggl( \frac{\omega ^{\phi }(h \cos \frac{\phi \pi }{2} +k\sin \frac{\phi \pi }{2})-hu}{\omega ^{2 \phi }-2u\omega ^{\phi }\cos \frac{\phi \pi }{2}+u^{2}} \biggr)+2l\pi \biggr],\quad l=0,1,2,\ldots . \end{aligned}$$
(4.22)

To establish the main results for system (3.2), it is necessary to make the following assumptions.

\((\mathbf{C5})\) :

Eq. (4.21) has at least one positive real root.

For system (3.2), we define the bifurcation point as follows:

$$\begin{aligned} \tau _{0}=\min \bigl\{ \tau ^{(l)}\bigr\} ,\quad l=0,1,2, \ldots, \end{aligned}$$

where \(\tau ^{(l)}\) is defined by (4.22).

To produce our main results, furthermore, we assume that the following condition holds:

\((\mathbf{C6})\) :

\(\frac{\varPhi _{1}\varPsi _{1}+\varPhi _{2}\varPsi _{2}}{\varPsi _{1} ^{2}+\varPsi _{2}^{2}}\neq 0\),

where

$$\begin{aligned}& \begin{aligned} \varPhi _{1} &=\omega _{0} \bigl[m_{2}^{R}\sin \omega _{0}\tau _{0}^{*}-m_{2}^{I} \cos \omega _{0}\tau _{0}^{*} +2\bigl(m_{3}^{R} \sin 2\omega _{0}\tau _{0}^{*}-m _{3}^{I}\cos 2\omega _{0}\tau _{0}^{*}\bigr)\bigr] \\ &\quad {} +3\bigl(m_{4}^{R}\sin 3\omega _{0} \tau _{0}^{*}-m_{4}^{I}\cos 3\omega _{0}\tau _{0}^{*}\bigr)] +4m_{5}^{R} \sin 4\omega _{0}\tau _{0}^{*}], \end{aligned} \\& \begin{aligned} \varPhi _{2} &=\omega _{0} \bigl[m_{2}^{R}\cos \omega _{0}\tau _{0}^{*}+m_{2}^{I} \sin \omega _{0}\tau _{0}^{*} +2\bigl(m_{3}^{R} \cos 2\omega _{0}\tau _{0}^{*}+m _{3}^{I}\sin 2\omega _{0}\tau _{0}^{*}\bigr)\bigr] \\ &\quad {} +3\bigl(m_{4}^{R}\cos 3\omega _{0} \tau _{0}^{*}+m_{4}^{I}\sin 3\omega _{0}\tau _{0}^{*}\bigr)] +4m_{5}^{R} \cos 4\omega _{0}\tau _{0}^{*}], \end{aligned} \\& \begin{aligned} \varPsi _{1} &=m_{1}^{\prime R}+ \bigl(m_{2}^{\prime R}-\tau _{0}^{*}m_{2}^{R} \bigr)\cos \omega _{0}\tau _{0}^{*}+ \bigl(m_{2}^{\prime I}-\tau _{0}^{*}m_{2}^{I} \bigr)\sin \omega _{0}\tau _{0}^{*} \\ &\quad {} +\bigl(m_{3}^{\prime R}-2\tau _{0}^{*}m_{3}^{R} \bigr)\cos 2\omega _{0}\tau _{0} ^{*}+ \bigl(m_{3}^{\prime I}-2\tau _{0}^{*}m_{3}^{I} \bigr)\sin 2\omega _{0}\tau _{0}^{*} \\ &\quad {} +\bigl(m_{4}^{\prime R}-3\tau _{0}^{*}m_{4}^{R} \bigr)\cos 3\omega _{0}\tau _{0} ^{*}+ \bigl(m_{4}^{\prime I}-3\tau _{0}^{*}m_{4}^{I} \bigr)\sin 3\omega _{0}\tau _{0}^{*} \\ &\quad {} -4\tau _{0}^{*}m_{5}^{R} \cos 4\omega _{0}\tau _{0}^{*}, \end{aligned} \\& \begin{aligned} \varPsi _{2} &=m_{1}^{\prime I}- \bigl(m_{2}^{\prime R}-\tau _{0}^{*}m_{2}^{R} \bigr)\sin \omega _{0}\tau _{0}^{*}+ \bigl(m_{2}^{\prime I}-\tau _{0}^{*}m_{2}^{I} \bigr)\cos \omega _{0}\tau _{0}^{*} \\ &\quad {} -\bigl(m_{3}^{\prime R}-2\tau _{0}^{*}m_{3}^{R} \bigr)\sin 2\omega _{0}\tau _{0}+\bigl(m _{3}^{\prime I}-2\tau _{0}^{*}m_{3}^{I} \bigr)\cos 2\omega _{0}\tau _{0}^{*} \\ &\quad {} -\bigl(m_{4}^{\prime R}-3\tau _{0}^{*}m_{4}^{R} \bigr)\sin 3\omega _{0}\tau _{0} ^{*}+ \bigl(m_{4}^{\prime I}-3\tau _{0}^{*}m_{4}^{I} \bigr)\cos 3\omega _{0}\tau _{0}^{*} \\ &\quad {} +4\tau _{0}^{*}m_{5}^{R} \sin 4\omega _{0}\tau _{0}^{*}. \end{aligned} \end{aligned}$$

Lemma 4.3

Let \(s(\tau )=\mu (\tau )+i\omega (\tau )\) be a root of system (3.2) near \(\tau =\tau _{j}\) satisfying \(\mu (\tau _{j})=0\), \(\omega (\tau _{j})=\omega _{0}\), then the following transversality condition holds:

$$ \operatorname{Re} \biggl[\frac{ds}{d\tau } \biggr] \bigg\vert _{(\omega =\omega _{0},\tau = \tau _{0}^{*})}\neq 0. $$

Proof

Equation (4.15) can be transformed into

$$\begin{aligned} m_{1}(s)+m_{2}(s)e^{-s\tau }+m_{3}(s)e^{-2s\tau }+m_{4}(s)e^{-3s \tau }+m_{5}(s)e^{-4s\tau }=0, \end{aligned}$$
(4.23)

where \(m_{1}(s)=(s^{\alpha }-\mu )^{4}\), \(m_{2}(s)=Q_{1}(s^{\alpha }- \mu )^{3}\), \(m_{3}(s)=Q_{2}(s^{\alpha }-\mu )^{2}\), \(m_{4}(s)=Q_{3}(s ^{\alpha }-\mu )\), \(m_{5}(s)=Q_{4}\).

Based on the implicit function theorem and differentiating (4.23) with respect to τ, it reads

$$\begin{aligned} &m_{1}'(s)\frac{ds}{d\tau } +m_{2}'(s)e^{-s\tau } \frac{ds}{d\tau } +m _{2}(s)e^{-s\tau } \biggl(-\tau \frac{ds}{d\tau }-s \biggr) \\ &\quad {} +m_{3}'(s)e^{-2s\tau }\frac{ds}{d\tau } +m_{3}(s)e^{-2s\tau } \biggl(-2\tau \frac{ds}{d\tau }-2s \biggr) \\ &\quad {} +m_{4}'(s)e^{-3s\tau }\frac{ds}{d\tau } +m_{4}(s)e^{-3s\tau } \biggl(-3\tau \frac{ds}{d\tau }-3s \biggr) \\ &\quad {} +m_{5}'(s)e^{-4s\tau }\frac{ds}{d\tau } +m_{5}(s)e^{-4s\tau } \biggl(-4\tau \frac{ds}{d\tau }-4s \biggr)=0, \end{aligned}$$
(4.24)

where \(m_{i}'(s)\) are the derivatives of \(m_{i}(s)\).

Based on Eq. (4.23) and \(m_{5}'(s)=0\), one can have

$$\begin{aligned} \frac{ds}{d\tau }=\frac{\varPhi (s)}{\varPsi (s)}, \end{aligned}$$
(4.25)

where

$$\begin{aligned}& \varPhi (s) =s\bigl[m_{2}(s)e^{-s\tau }+2m_{3}(s)e^{-2s\tau } +3m_{4}(s)e^{-3s \tau }+4m_{5}(s))e^{-4s\tau } \bigr], \\& \begin{aligned} \varPsi (s) &=m_{1}'(s)+\bigl[m_{2}'(s)- \tau m_{2}(s)\bigr]e^{-s\tau }+\bigl[m_{3}'(s)-2 \tau m_{3}(s)\bigr]e^{-2s\tau } \\ &\quad {} +\bigl[m_{4}'(s)-3\tau m_{4}(s) \bigr]e^{-3s\tau }-4\tau m_{5}(s)e^{-4s \tau }. \end{aligned} \end{aligned}$$

Let \({m'}_{i}^{R}\), \({m'}_{i}^{I}\) be the real and imaginary parts of \(m_{i}(s)\) (\(i=1,2,3\)), respectively; \(\varPhi _{1}\), \(\varPhi _{2}\) be the real and imaginary parts of \(\varPhi (s)\), respectively; and \(\varPsi _{1}\), \(\varPsi _{2}\) be the real and imaginary parts of \(\varPsi (s)\), respectively, then it can be derived from (4.25) that

$$\begin{aligned} \operatorname{Re} \biggl[\frac{ds}{d\tau } \biggr] \bigg\vert _{(\tau =\omega =\omega _{0}, \tau _{0}^{*})}= \frac{\varPhi _{1}\varPsi _{1}+\varPhi _{2}\varPsi _{2}}{\varPsi _{1}^{2}+ \varPsi _{2}^{2}}. \end{aligned}$$
(4.26)

From \((\mathbf{C6})\), we can conclude that the transversality condition is met. □

Assume that \((\mathbf{C1})\), \((\mathbf{C5})\)\((\mathbf{C6})\), Lemma 2.1, and Lemma 4.3 hold, we can obtain the following theorem.

Theorem 4.2

For system (3.2), the following results hold:

  1. (1)

    If \((\mathbf{C1})\) and \((\mathbf{C5})\) are satisfied, then the zero equilibrium point is globally asymptotically stable for \(\tau \in [0,+\infty )\).

  2. (2)

    If \((\mathbf{C1})\), \((\mathbf{C5})\)\((\mathbf{C6})\) hold, then

    1. (i)

      the zero equilibrium point is locally asymptotically stable for \(\tau \in [0,\tau _{0}^{*})\);

    2. (ii)

      system (3.2) undergoes a Hopf bifurcation at the origin when \(\tau =\tau _{0}^{*}\), i.e., it has one branch of periodic solutions bifurcating from the zero equilibrium point near \(\tau =\tau _{0}^{*}\).

This theorem demonstrates that the stability and the Hopf bifurcation of the neural network are not only crucially dependent on the communication delays, but also heavily influenced by the leakage delay. It is therefore essential for considering the effects of communication and leakage delays in designing or controlling neural networks.

5 Illustrative examples

In this section, we give several examples to show the feasibility and effectiveness of the results obtained in this paper. All of the simulation results are based on Adama–Bashforth–Moulton predictor-corrector scheme [40] with step-length \(h=0.01\).

5.1 Example 1

Consider the following system without leakage delays:

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-0.2x_{1}(t)-0.2\tanh (x_{1}(t))+0.3\tanh (x_{4}(t- \tau ))+0.4\tanh (x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=0.4x_{2}(t)-0.2 \tanh (x_{2}(t))+1.2\tanh (x_{1}(t-\tau ))-0.8\tanh (x_{3}(t-\tau )), \\ D^{\phi }x_{3}(t)=0.6x_{3}(t)-0.2\tanh (x_{3}(t))+0.4\tanh (x_{2}(t- \tau ))+0.6\tanh (x_{4}(t-\tau )),\\ D^{\phi }x_{4}(t)=0.8x_{4}(t)-0.2 \tanh (x_{4}(t))-1.6\tanh (x_{3}(t-\tau ))-1.5\tanh (x_{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(5.1)

In this case, let \(\phi =0.92\), and the initial values are selected as \((x_{1}(0),x_{2}(0),y_{1}(0),y_{2}(0))=(-0.2,0.1,-0.2,-0.1)\). By computing, we get \(\omega _{0}=1.1675\), and then \(\tau _{0}=0.5421\). Obviously, system (5.1) at the zero equilibrium point is locally asymptotically stable when \(\tau =0.47<\tau _{0}\), as shown in Figs. 12. Furthermore, Figs. 34 display that the zero equilibrium point of system (5.1) is unstable, and Hopf bifurcation occurs when \(\tau =0.6>\tau _{0}\).

Figure 1
figure 1

Time responses of system (5.1) with \(\phi =0.92\), \(\tau =0.47<\tau _{0}=0.5421\)

Figure 2
figure 2

Phase diagrams of system (5.1) with \(\phi =0.92\), \(\tau =0.47<\tau _{0}=0.5421\)

Figure 3
figure 3

Time responses of system (5.1) with \(\phi =0.92\), \(\tau =0.6> \tau _{0}=0.5421\)

Figure 4
figure 4

Phase diagrams of system (5.1) with \(\phi =0.92\), \(\tau =0.6>\tau _{0}=0.5421\)

5.2 Example 2

For making a comparison with Example 1, let \(\phi =0.92\), and now we consider the following system with leakage delays:

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=-0.2x_{1}(t-\tau )-0.2\tanh (x_{1}(t))+0.3\tanh (x _{4}(t-\tau ))+0.4\tanh (x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=0.4x _{2}(t-\tau )-0.2\tanh (x_{2}(t))+1.2\tanh (x_{1}(t-\tau ))-0.8\tanh (x_{3}(t-\tau )),\\ D^{\phi }x_{3}(t)=0.6x_{3}(t-\tau )-0.2\tanh (x _{3}(t))+0.4\tanh (x_{2}(t-\tau ))+0.6\tanh (x_{4}(t-\tau )),\\ D ^{\phi }x_{4}(t)=0.8x_{4}(t-\tau )-0.2\tanh (x_{4}(t))-1.6\tanh (x _{3}(t-\tau ))-1.5\tanh (x_{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(5.2)

By a simple calculation, we have \(\omega _{0}=1.5554\), \(\tau _{0}^{*}=0.3976\). Therefore, the zero equilibrium point of system (5.2) is locally asymptotically stable when \(\tau =0.36<\tau _{0}\), as described in Figs. 56. Furthermore, the zero equilibrium point of system (5.2) is unstable, and Hopf bifurcation occurs when \(\tau =0.42> \tau _{0}^{*}\), as depicted in Figs. 78.

Figure 5
figure 5

Time responses of system (5.2) with \(\phi =0.92\), \(\tau =0.36<\tau _{0}^{*}=0.3976\)

Figure 6
figure 6

Phase diagrams of system (5.2) with \(\phi =0.92\), \(\tau =0.36<\tau _{0}^{*}=0.3976\)

Figure 7
figure 7

Time responses of system (5.2) with \(\phi =0.92\), \(\tau =0.42>\tau _{0}^{*}=0.3976\)

Figure 8
figure 8

Phase diagrams of system (5.2) with \(\phi =0.92\), \(\tau =0.42>\tau _{0}^{*}=0.3976\)

To better reflect the impact of leakage delay on the bifurcation point for system (5.2), the corresponding bifurcation point \(\tau _{0}\), \(\tau _{0}^{*}\) can be determined as the order ϕ varies. It can be seen from Fig. 9 that the values of \(\tau _{0}\) are larger than the case of \(\tau _{0}^{*}\) for the same order ϕ. This implies that Hopf bifurcation easily occurs in advance for system (5.2) involving leakage delay compared with system (5.1) for some fixed order ϕ.

Figure 9
figure 9

Effects of ϕ on \(\tau _{0}\) in system (5.1) and \(\tau _{0}^{*}\) in system (5.2)

5.3 Example 3

Consider the following system without leakage delays:

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=x_{1}(t)-0.8\tanh (x_{1}(t))+1.8\tanh (x_{4}(t- \tau ))+1.5\tanh (x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=1.2x_{2}(t)-0.8 \tanh (x_{2}(t))-1.5\tanh (x_{1}(t-\tau ))-1.6\tanh (x_{3}(t-\tau )), \\ D^{\phi }x_{3}(t)=0.9x_{3}(t)-0.8\tanh (x_{3}(t))+0.5\tanh (x_{2}(t- \tau ))+1.2\tanh (x_{4}(t-\tau )),\\ D^{\phi }x_{4}(t)=1.5x_{4}(t)-0.8 \tanh (x_{4}(t))-1.2\tanh (x_{3}(t-\tau ))-1.8\tanh (x_{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(5.3)

Taking the order and initial values as \(\phi =0.96\) and \((x_{1}(0),x _{2}(0),x_{3}(0),x_{4}(0))=(-0.05, 0.05, 0.05,-0.05)\), respectively, we can have \(\omega _{0}=1.8697\), and then \(\tau _{0}=0.4486\). Thus, the zero equilibrium point of system (3.2) is global asymptotically stable when \(\tau =0.38<\tau _{0}\) (see Figs. 1011), and when \(\tau =0.46>\tau _{0}\), system (5.3) at the zero equilibrium point is unstable (see Figs. 1213).

Figure 10
figure 10

State response of system (5.3) with \(\phi =0.96\), \(\tau =0.38<\tau _{0}=0.4486\)

Figure 11
figure 11

Phase portrait of system (5.3) with \(\phi =0.96\), \(\tau =0.38<\tau _{0}=0.4486\)

Figure 12
figure 12

State response of system (5.3) with \(\phi =0.96\), \(\tau =0.46>\tau _{0}=0.4486\)

Figure 13
figure 13

Phase portrait of system (5.3) with \(\phi =0.96\), \(\tau =0.46>\tau _{0}=0.4486\)

If leakage delay is considered in system (5.3), we will give the following example to demonstrate its impact.

5.4 Example 4

Consider the following system with leakage delays:

$$\begin{aligned} \textstyle\begin{cases} D^{\phi }x_{1}(t)=x_{1}(t-\tau )-0.8\tanh (x_{1}(t))+1.8\tanh (x_{4}(t- \tau ))+1.5\tanh (x_{2}(t-\tau )),\\ D^{\phi }x_{2}(t)=1.2x_{2}(t- \tau )-0.8\tanh (x_{2}(t))-1.5\tanh (x_{1}(t-\tau ))-1.6\tanh (x_{3}(t- \tau )),\\ D^{\phi }x_{3}(t)=0.9x_{3}(t-\tau )-0.8\tanh (x_{3}(t))+0.5 \tanh (x_{2}(t-\tau ))+1.2\tanh (x_{4}(t-\tau )),\\ D^{\phi }x_{4}(t)=1.5x _{4}(t-\tau )-0.8\tanh (x_{4}(t))-1.2\tanh (x_{3}(t-\tau ))-1.8\tanh (x_{1}(t-\tau )). \end{cases}\displaystyle \end{aligned}$$
(5.4)

The same order and initial values are chosen as those in system (5.3). We now get \(\omega _{0}=2.9997\) and \(\tau _{0}^{*}=0.2477\). Therefore, when \(\tau =0.22<\tau _{0}^{*} \), system (5.4) at the zero equilibrium point is global asymptotically stable (see Figs. 1415); when \(\tau =0.28>\tau _{0}^{*}\), system (5.4) at the zero equilibrium point is unstable (see Figs. 1617). Moreover, if the order ϕ varies, the corresponding \(\omega _{0}\), \(\tau _{0}^{*}\) can be obtained. It can be seen from Fig. 18 that the onset of Hopf bifurcation of system (5.4) is gradually postponed as the order increases.

Figure 14
figure 14

State response of system (5.4) with \(\phi =0.96\), \(\tau =0.22<\tau _{0}=0.2427\)

Figure 15
figure 15

Phase portrait of system (5.4) with \(\phi =0.96\), \(\tau =0.22<\tau _{0}=0.2427\)

Figure 16
figure 16

State response of system (5.4) with \(\phi =0.96\), \(\tau =0.28>\tau _{0}=0.2427\)

Figure 17
figure 17

Phase portrait of system (5.4) with \(\phi =0.96\), \(\tau =0.28>\tau _{0}=0.2427\)

Figure 18
figure 18

Effects of ϕ on \(\tau _{0}\) in system (5.3) and \(\tau _{0}^{*}\) of system (5.4)

6 Conclusion

In this paper, the issue of bifurcation for a ring of fractional neural networks with four neurons and time delay in leakage terms has been studied. By utilizing time delay as the bifurcation parameter, some criteria to ensure that existence of the Hopf bifurcation for the fractional four neurons networks were established. The analytic results have shown that both the leakage time delay and communication time delay can change the dynamic behavior quantitatively, for example, greatly changing the stability of equilibrium solution, further leading to Hopf bifurcation and oscillation solutions. Moreover, the impact of the order on the creation of bifurcation was also numerically demonstrated. As a continuation of the previously mentioned series of works, our results may enrich our understanding of the bifurcation for delayed ring fractional neural networks. Finally, simulation examples have been performed to illustrate the main results.