1 Introduction

Coupled oscillators are of great interest for a variety of applications where they provide tractable models of spatio-temporal pattern generation through interaction between systems with attracting periodic behavior. For weak coupling of N hyperbolic attracting limit cycle oscillators, a standard normal hyperbolicity argument (Hoppensteadt and Izhikevich 2012) means there is an attracting invariant N-torus containing all nearby attractors. For a general system of \(N=3\) non-identical oscillators and in this limit of weak coupling a wide variety of partial frequency synchronized solutions were found in Baesens et al. (1991). These involved considering perturbations of the intrinsic frequencies of the oscillators. It is natural to ask whether these frequency-desynchronized solutions can appear spontaneously, rather than through forced symmetry breaking.

The general case of N symmetrically coupled phase oscillators was considered, for example, in Ashwin et al. (1990, 2008, 2016). A result from Ashwin et al. (1990) is that for such systems with full permutation symmetry \(\textbf{S}_N\), the low dimensionality means that only frequency synchronized solutions can appear, even though a wide variety of phase dynamics are possible.

The possibility of breaking of frequency synchrony in networks of oscillators that are still identical is discussed in Ashwin and Burylko (2015) where the idea of a weak chimera as a symmetry breaking of frequencies is introduced. It is also highlighted in Ashwin and Burylko (2015) that because of the presence of 2-in-phase invariant subspaces that are codimension one in the phase space of phase differences, weak chimeras cannot appear in \(\textbf{S}_N\)-symmetric phase oscillators. But they can appear in a wide range of less symmetric networks that still have a transitive action of symmetries which mean all oscillators can be viewed as identical. For example, they can be found in oscillator networks with modular structures (Ashwin and Burylko 2015) or rings with next-nearest neighbor coupling (Thoubaan and Ashwin 2018). Similar structures can be found that relate chaotic dynamics (Bick and Ashwin 2016; Bick 2017).

Such solutions with broken frequency symmetry can also occur for more general \(\textbf{S}_N\)-symmetric fully symmetric coupled oscillators: For example, chimeras can be found in coupled Landau oscillators with full permutation symmetry (Sethia and Sen 2014). This leads to the interesting question of how the breakdown of an invariant N-torus associated with weak coupling can lead to the appearance of solutions with broken frequency synchrony. The smallest case where one could plausibly see this is for three fully and identically coupled phase oscillators with \(\textbf{S}_3\) symmetry. Indeed, this has been observed in 3 coupled Kuramoto-style oscillators with inertia (Maistrenko et al. 2017), where a wide variety of periodic and chaotic solutions are found in the case that the damping is not too strong. Kuramoto oscillators with inertia have been used to model power grid networks (Filatrella et al. 2008) and show a range of dynamics (Olmi et al. 2015). For strong enough damping, this reduces to Kuramoto oscillators with identical frequencies where neither chaos nor breaking of frequency synchrony is possible (Ashwin et al. 1990).

In this paper, we exhibit some bifurcations associated with heteroclinic networks that organize the emergence of frequency-synchronized solutions in three coupled Kuramoto oscillators with inertia. Firstly, we clarify the bifurcation happening at the organizing center identified in Maistrenko et al. (2017) and named in that work as Point \(\textsf {B}\): By developing a bespoke Lin’s method (Lin 1990; Homburg and Sandstede 2010), we show numerically that this is a symmetric codimension-two homoclinic bifurcation where there is a tangency of stable and unstable manifolds. Specifically, we (a) find the space of bounded solutions of the variational equations and (b) set up a bifurcation function that is zero precisely when there is a tangency of manifolds. Numerical bifurcation analysis further sheds light on codimension-one bifurcations related to Point \(\textsf {B}\). Secondly, we identify a further codimension-two Point \(\textsf {C}\) that corresponds to the existence of a heteroclinic connection between synchrony and a non-trivial equilibrium. This yields an entire network of heteroclinic connections that allow for complicated patterns of oscillator phases passing one another. These organizing centers are not only interesting examples of global bifurcations in symmetric systems in their own right but also elucidate how heteroclinic networks can lead to the emergence of weak chimeras in minimal networks of phase oscillators with inertia.

The rest of the paper is organized as follows: Sect. 2 introduces the model of three symmetric Kuramoto oscillators with inertia, and summarizes basic properties of the phase space. In Sect. 3, we discuss the equilibria of the system, their linear stability, and relevant bifurcations that are relevant for the codimension-two Point \(\textsf {B}\). Section 4 identifies the bifurcation at Point \(\textsf {B}\) as a symmetric homoclinic tangency and confirms this numerically using Lin’s method. We turn to the global dynamics in parameter space near Point \(\textsf {B}\) in Sect. 5 and identify the codimension-two Point \(\textsf {C}\) as an organizing center. This point corresponds to a heteroclinic connection between distinct equilibria. We conclude with some remarks in Sect. 6.

2 Three Globally Coupled Kuramoto Oscillators with Inertia

In this paper, we analyze the dynamics and bifurcations of \(N=3\) globally and identically coupled Kuramoto oscillators with inertia as in Maistrenko et al. (2017). Specifically, the phase \(\theta _k\in \mathbb {T}\) of oscillator k evolves according to

$$\begin{aligned} m\ddot{\theta }_k + \epsilon \dot{\theta }_k&= \omega + \frac{\mu }{N}\sum _{j=1}^{N}\sin (\theta _j-\theta _k-\alpha ). \end{aligned}$$
(1)

for parameters \(m>0\), \(\omega \), \(\mu \), \(\epsilon \) and \(\alpha \). The system has a continuous phase-shift symmetry \(\theta _k\mapsto \theta _k+\phi \) for \(\phi \in \mathbb {T}\). Without loss of generality, we may assume \(\omega =0\) by exploiting the phase shift symmetry and set \(m=1\) by rescaling \(\epsilon \) and \(\mu \). Note that rescaling time \(t\mapsto \nu ^{-1}t\) with \(\nu >0\) corresponds to a parameter transformation \((\epsilon , \mu )\mapsto (\nu \epsilon , \nu ^2\mu )\). We henceforth fix \(\epsilon =0.1\) as in Maistrenko et al. (2017).

Due to the global and identical coupling, the system (1) is equivariant with respect to the symmetric group of three elements \(\textbf{S}_{3}\) acting by permuting the indices of the oscillators. The symmetry implies the existence of invariant sets

$$\begin{aligned} \textbf{E}_{12}&= \big \lbrace \theta _1 = \theta _2, \dot{\theta }_1 = \dot{\theta }_2\big \rbrace ,&\textbf{E}_{23}&= \big \lbrace \theta _2 = \theta _3, \dot{\theta }_2 = \dot{\theta }_3\big \rbrace ,&\textbf{E}_{31}&= \big \lbrace \theta _3 = \theta _1, \dot{\theta }_3 = \dot{\theta }_1\big \rbrace , \end{aligned}$$
(2)

which correspond to phase configurations where two oscillators are synchronized in phase and frequency. Note that \(\textbf{S}_3\) is generated by the three cycle \(\rho =(231)\) and the transposition \(\kappa =(23)\); observe that \(\rho \) permutes the invariant sets (2) while \(\kappa \) permutes \(\textbf{E}_{12}\) and \(\textbf{E}_{13}\) and leaves \(\textbf{E}_{23}\) invariant. The invariant sets intersect in the in-phase solution

$$\begin{aligned} \textrm{O}= \textbf{E}_{12}\cap \textbf{E}_{23}\cap \textbf{E}_{13} = \big \lbrace \theta _1 = \theta _2 = \theta _3, \dot{\theta }_1 = \dot{\theta }_2=\dot{\theta }_3\big \rbrace . \end{aligned}$$
(3)

2.1 Phase-Difference Coordinates

As in Maistrenko et al. (2017), we introduce phase-difference coordinates \(\eta _1:= \theta _1-\theta _2\), \(\eta _2:=\theta _1-\theta _3\) to reduce the phase-shift symmetry. In these coordinates and setting \(m=1\), the system (1) reduces to

$$\begin{aligned} \ddot{\eta }_1 + \epsilon \dot{\eta }_1&= -\frac{\mu }{3}\left( 2\cos (\alpha )\sin (\eta _1)+\sin (\eta _{2}+\alpha )+\sin (\eta _1-\eta _{2}-\alpha )\right) =: \mu f_1(\eta _1,\eta _2) \end{aligned}$$
(4a)
$$\begin{aligned} \ddot{\eta }_2 + \epsilon \dot{\eta }_2&= -\frac{\mu }{3}\left( 2\cos (\alpha )\sin (\eta _2)+\sin (\eta _{1}+\alpha )+\sin (\eta _2-\eta _{1}-\alpha )\right) =: \mu f_2(\eta _1,\eta _2) . \end{aligned}$$
(4b)

that determines the evolution of \(\eta := (\eta _1,\dot{\eta }_1, \eta _2, \dot{\eta }_2)\). Writing \(\psi _1:= \dot{\eta }_1\) and \(\psi _2:=\dot{\eta }_2\), () is equivalent to

$$\begin{aligned} \dot{\eta }_1&= {\psi }_1 \end{aligned}$$
(5a)
$$\begin{aligned} \dot{\psi }_1&= -\epsilon \dot{\eta }_1 -\frac{\mu }{3}\left( 2\cos (\alpha )\sin (\eta _1)+\sin (\eta _{2}+\alpha )+\sin (\eta _1-\eta _{2}-\alpha )\right) \end{aligned}$$
(5b)
$$\begin{aligned} \dot{\eta }_2&= {\psi }_2\end{aligned}$$
(5c)
$$\begin{aligned} \dot{\psi }_2&= - \epsilon \dot{\eta }_2 -\frac{\mu }{3}\left( 2\cos (\alpha )\sin (\eta _2)+\sin (\eta _{1}+\alpha )+\sin (\eta _2-\eta _{1}-\alpha )\right) . \end{aligned}$$
(5d)

In the phase-difference coordinates, the invariant subspaces are given by

$$\begin{aligned} \textbf{E}_{12}&= \left\{ \eta _1 = \dot{\eta }_1 = 0\right\} ,&\textbf{E}_{23}&= \left\{ \eta _1-\eta _2 = \dot{\eta }_1-\dot{\eta }_2 = 0\right\} ,&\textbf{E}_{31}&= \left\{ \eta _2 = \dot{\eta }_2 = 0\right\} , \end{aligned}$$
(6)

as illustrated in Fig. 1a. The action of the generators of \(\textbf{S}_{3}\) is given by \(\rho :(\eta _1,\dot{\eta }_1,\eta _2,\dot{\eta }_2)\mapsto (-\eta _2,-\dot{\eta }_1,\eta _1-\eta _2,\dot{\eta }_1-\dot{\eta }_2)\) and \(\kappa (\eta _1,\psi _1,\eta _2,\psi _2)\mapsto (\eta _2,\psi _2,\eta _1,\psi _1)\).

Fig. 1
figure 1

Illustration of coordinates and invariant subspaces for (4). Panel a shows a projection of phase space to the phase-difference coordinates \((\eta _1,\eta _2)\). The invariant subspaces \(\textbf{E}_{12}\), \(\textbf{E}_{23}\), \(\textbf{E}_{31}\) (blue lines) intersect in the fully synchronized phase configuration \(\textrm{O}\). Panel b illustrates the symmetric coordinates \(\varphi \) as defined in (7); here the cyclic permutation \(\rho \) of the indices acts as a rotation by \(2\pi /3\)

2.2 Symmetric Coordinates

A coordinate system where permutations of the oscillators act orthogonally is given by a complex phase

$$\begin{aligned} \varphi = \theta _1w+\theta _2w^2+\theta _3 \end{aligned}$$
(7)

where \(w:= \exp (2\pi i/3)\); see also Ashwin et al. (1990). These coordinates also reduce the phase-shift symmetry since \(\varphi \) is invariant with respect to it. In the complex phase coordinates, we have

$$\begin{aligned} \textbf{E}_{12}&= \mathbb {R},&\textbf{E}_{23}&= \mathbb {R}w,&\textbf{E}_{31}&= \mathbb {R}w^2 \end{aligned}$$
(8)

as illustrated in Fig.  1b. Now \(\rho \) acts by multiplication with w. Note that phase-difference coordinates and the complex phase variables are related through

$$\begin{aligned} (\varphi ,\dot{\varphi }) = (-\eta _1w^2-\eta _2, -\dot{\eta }_1w^2-\dot{\eta }_2). \end{aligned}$$
(9)

3 Equilibria and Bifurcations

We first give an overview of the equilibria and their stability and identify the essential bifurcations that organize the dynamics. In Sect. 5, we complement the results given in Maistrenko et al. (2017) by numerical continuation analysis in Auto (Doedel et al. 2000) and by numerical exploration.

Up to symmetry, we classify two equilibria. First, the in-phase solution \(\textrm{O}\) at the origin is an equilibrium in reduced coordinates. Second, there is one non-trivial equilibrium in each invariant subspace \(\textbf{E}_{kj}\): The subspace \(\textbf{E}_{12}\) contains the equilibrium \(\textrm{S}_{12} = (0, 0, s, 0)\) with

$$\begin{aligned} s={{\,\textrm{atan2}\,}}(-6\tan (\alpha ), -9+\tan (\alpha )^2), \end{aligned}$$

independent of \(\mu \) and \(\epsilon \). Its symmetric copies in \(\textbf{E}_{23}\) and \(\textbf{E}_{31}\) are \(\textrm{S}_{23} = (-s, 0, -s, 0)\) and \(\textrm{S}_{31} = (s, 0, 0, 0)\), respectively. In the covering space \(\mathbb {R}^4\) of the phase space \((\mathbb {T}\times \mathbb {R})^2\), we write

$$\begin{aligned} \textrm{S}_{kj}^{(p,q)}&\in [0+2p\pi , 2\pi +2p\pi )\times \mathbb {R}\times [0+2q\pi , 2\pi +2q\pi )\times \mathbb {R}, \end{aligned}$$
(10)
$$\begin{aligned} \textrm{O}^{(p,q)}&= (2p\pi , 0, 2q\pi , 0). \end{aligned}$$
(11)

to denote the equilibria and their symmetric counterparts. We omit the indices of the specific subspaces or equilibria and just write \(\textbf{E}\), \(\textrm{O}\), or \(\textrm{S}\) unless the context means the indices are relevant.

3.1 Linear Stability

The structure of the equations of motion and the symmetries restrict the stability properties of the vector field. Let \(\dot{\eta }=F(\eta ,\alpha ,\mu )\) denote the vector field of the system of first-order ODEs corresponding to (). The linearization of F at a point \((\eta _1, \psi _1, \eta _2, \psi _2)\) is

$$\begin{aligned} \textrm{d}F = \left( \begin{array}{cccc} 0 & 1 & 0 & 0\\ \mu \partial _{\eta _1} f_1 & -\epsilon & \mu \partial _{\eta _2}f_1 & 0\\ 0 & 0 & 0 & 1\\ \mu \partial _{\eta _1} f_2 & 0 & \mu \partial _{\eta _2}f_2 & -\epsilon \\ \end{array}\right) . \end{aligned}$$
(12)

If \(\lambda _p\) denote the eigenvalues of \(\textrm{d}F\), we have

$$\begin{aligned} \sum _{p=1}^{4}\lambda _p = {{\,\textrm{trace}\,}}(\textrm{d}F) = -2\epsilon . \end{aligned}$$
(13)

For points on the invariant subspaces \(\textbf{E}_{kj}\) two eigenvalues correspond to eigenvectors that are parallel to \(\textbf{E}_{kj}\) and two that are transverse; we denote them by \(\lambda ^\parallel _p\) and \(\lambda ^\perp _p\), respectively. Restricting to the invariant subspaces \(\textbf{E}_{kj}\) we have that \(\sum _{p=1}^{2}\lambda ^{\parallel }_p = {{\,\textrm{trace}\,}}(\textrm{d}F|_{\textbf{E}_{kj}}) = -\epsilon \) and thus

$$\begin{aligned} \lambda ^{\parallel }_1+\lambda ^{\parallel }_2=\lambda ^{\perp }_1+\lambda ^{\perp }_2=-\epsilon . \end{aligned}$$
(14)

These conditions hold in particular for the linearization at the equilibria \(\textrm{O}\) and \(\textrm{S}\) (corresponding to limit cycles in the original system) and restrict their eigenvalues. If \(\lambda = a\pm bi\) with \(b\ne 0\) is an eigenvalue then (14) implies that \(a=-\frac{\epsilon }{2}<0\). For the equilibrium \(\textrm{O}\), symmetry implies \(\lambda ^{\parallel }_p = \lambda ^{\perp }_p\).

3.2 Dynamics and Bifurcations of Cluster States

For \(\alpha <\frac{\pi }{2}\), the equilibrium \(\textrm{O}\) is a stable bifocus. For \(\alpha =\frac{\pi }{2}\), the equilibria \(\textrm{O}\) and \(\textrm{S}_{kj}\) undergo a (symmetric) transcritical bifurcation (TC). Henceforth, we primarily focus on \(\alpha >\frac{\pi }{2}\) beyond the transcritical bifurcation point. In terms of notation, for equilibria P, Q we write \({{\,\textrm{Hom}\,}}(P\rightarrow Q)\) for a homoclinic connection from P to Q; heteroclinic connections are denoted with \({{\,\textrm{Het}\,}}\) and \(\overset{\textbf{E}}{\rightarrow }\) indicates that the connection lies in \(\textbf{E}\).

Fig. 2
figure 2

A bifurcation analysis shows asymptotic dynamics of (1) with \(m=1\), \(\epsilon =0.1\) both on and off the invariant set \(\textbf{E}\); shading represents the observable \(\mathcal {D}\) obtained from numerical integration over \(T=4000\) time units. Keeping \(\mu =0.06\) fixed and varying \(\alpha \) (dashed line in the left panel) there is homoclinic connection \(\textrm{S}\rightarrow \textrm{S}\) within \(\textbf{E}\) (red line) for \(\alpha <\frac{\pi }{2}\) and a homoclinic connection \(\textrm{O}\rightarrow \textrm{O}\) within \(\textbf{E}\) (orange line) for \(\alpha >\frac{\pi }{2}\) that come together at Point \(\textsf {A}\) on the transcritical bifurcation of \(\textrm{O}\) and \(\textrm{S}\) at \(\alpha =\frac{\pi }{2}\) (TC; black line). A branch of pitchfork of limit cycles (PFoLC) bifurcations on \(\textbf{E}\) and a secondary period-doubling bifurcation (PD\(_1\)) come together at the codimension-two Point \(\textsf {B}\) at \((\alpha , \mu )\approx (1.70111, 0.03317)\) that organizes bifurcations to frequency-unlocked solutions

We first restrict our attention to the dynamics within the invariant (cluster) space \(\textbf{E}\), for fixed \(\mu =0.06\) and varying the phase lag \(\alpha \) (indicated by a dashed line in Fig.  2). The saddle \(\textrm{O}\) and sink \(\textrm{S}\) have a codimension zero connection \({{\,\textrm{Het}\,}}(\textrm{O}\rightarrow \textrm{S})\) in \(\textbf{E}_{kj}\). A branch of periodic orbits corresponds to partially synchronized weak chimera dynamics: Two oscillators are phase-synchronized and rotate relative to the remaining oscillator. As \(\alpha \) is decreased, continuation of this branch of periodic orbits leads to a homoclinic bifurcation involving a homoclinic orbit \({{\,\textrm{Hom}\,}}\!\big (\textrm{S}^{(1,0)}\overset{\textbf{E}}{\rightarrow }\textrm{S}^{(0,0)}\big )\) at \(\alpha \approx 1.25\) as \(\alpha \) is decreased (red line in Fig. 2). As \(\alpha \) is increased, the periodic orbit bifurcates in a homoclinic bifurcation involving \({{\,\textrm{Hom}\,}}\!\big (\textrm{O}^{(1,0)}\overset{\textbf{E}}{\rightarrow }\textrm{O}^{(0,0)}\big )\) at \(\alpha \approx 1.9\) (orange line in Fig.  2).

Between the red and orange lines shown in Fig.  2, there is a limit cycle within \(\textbf{E}\). The existence of this periodic solution is bounded by the homoclinic bifurcation branches \({{\,\textrm{Hom}\,}}\!\big (\textrm{O}^{(1,0)}\overset{\textbf{E}}{\rightarrow }\textrm{O}^{(0,0)}\big )\) and \({{\,\textrm{Hom}\,}}\!\big (\textrm{S}^{(1,0)}\overset{\textbf{E}}{\rightarrow }\textrm{S}^{(0,0)}\big )\). Continued in two parameters, these branches come together on the transcritical bifurcation line—marked as Point \(\textsf {A}\) in Fig.  2.

3.3 Solutions Breaking Cluster States

Further bifurcations lead to stable dynamics off the invariant set \(\textbf{E}\) where the oscillators form clusters. Continuation in one parameter with \(\mu =0.06\) fixed shows that the branch of periodic orbits in \(\textbf{E}\) considered above loses stability in a pitchfork bifurcation of limit cycles (PFoLC) at \(\alpha \approx 1.74\) (green line in Fig.  2). This results in two symmetry-related branches of a stable limit cycle with partial frequency synchrony off \(\textbf{E}\) (but broken phase-synchronyFootnote 1). These branches lose stability in a period-doubling bifurcation PD\(_1\) (blue line in Fig.  2). Further bifurcations of the periodic orbits involve homoclinic orbits \({{\,\textrm{Het}\,}}\!\big (\textrm{S}_{23}^{(1,0)}\rightarrow \textrm{S}_{23}^{(0,0)}\big )\) and \({{\,\textrm{Hom}\,}}\!\big (\textrm{S}_{23}^{(2,0)}\rightarrow \textrm{S}_{23}^{(0,0)}\big )\) that do not lie in \(\textbf{E}\) (not shown in Fig.  2).

The numerical continuation of these bifurcations in two parameters highlights a codimension-two point that organizes the emergence of these bifurcations between these phase-/frequency-synchrony patterns. As shown in Fig.  2, the PFoLC and PD\(_1\) bifurcation curves continued in \((\alpha ,\mu )\) terminate on the point \((\alpha , \mu )\approx (1.70111, 0.03317)\) on the homoclinic bifurcation curve \({{\,\textrm{Hom}\,}}\!\big (\textrm{O}^{(1,0)}\overset{\textbf{E}}{\rightarrow }\textrm{O}^{(0,0)}\big )\). This codimension-two point was already observed in Maistrenko et al. (2017) and dubbed Point \(\textsf {B}\). It relates the bifurcations of weak chimera solutions on and off \(\textbf{E}\).

Indeed, for \(\alpha >\frac{\pi }{2}\), the attracting dynamics are typically away from \(\textbf{E}\). This is captured by the quantity

$$\begin{aligned} \mathcal {D}(\eta )&:= \left( \sin \left( \frac{\eta _1}{2}\right) ^2+\dot{\eta }_1^2\right) \left( \sin \left( \frac{\eta _2}{2}\right) ^2+\dot{\eta }_2^2\right) \left( \sin \left( \frac{\eta _1-\eta _2}{2}\right) ^2+(\dot{\eta }_1-\dot{\eta }_2)^2\right) \end{aligned}$$
(15)

that vanishes for \(\eta \in \textbf{E}\). Thus, the average of \(\mathcal {D}(\eta )\) will converge to zero for attractors that lie in \(\textbf{E}\) while it will be nonzero otherwise. Note that the dynamics off \(\textbf{E}\) may be chaotic as the invariant subspace \(\textbf{E}\) is two-dimensional. Figure  2 shows \(\mathcal {D}\) averaged over trajectories for varying parameters together with bifurcation curves computed in Auto, illustrating some of the fine structure of the dynamics near Point \(\textsf {B}\).

4 Bifurcations of the Heteroclinic Connection at Point \(\textsf {B}\)

We now consider the bifurcation occurring at Point \(\textsf {B}\) in more detail. We demonstrate that this is a symmetric homoclinic tangency bifurcation of the \(\textrm{O}\rightarrow \textrm{O}\) homoclinic connection; see Homburg and Sandstede (2010) for general theory. To ease notation, we write \(\textrm{O}\) instead of the specific \(\textrm{O}^{(p,q)}\) in the covering space unless necessary.

4.1 A Codimension Two Symmetric Homoclinic Tangency Bifurcation

First, note that in a large neighborhood of Point \(\textsf {B}\), the Jacobian (12) of () near the equilibrium \(\textrm{O}\) has two identical real positive eigenvalues and two identical real negative eigenvalues. If \(W^\textrm{s}\) denotes the stable manifold and \(W^\textrm{u}\) the unstable manifold defined in the usual way, we have

$$\begin{aligned} \dim (W^\textrm{u}(\textrm{O}))=\dim (W^\textrm{s}(\textrm{O}))=2, \end{aligned}$$

i.e., both are two-dimensional invariant manifolds within \(\mathbb {R}^4\). To find homoclinic connections \(\textrm{O}\rightarrow \textrm{O}\) we focus on a Poincaré section perpendicular to one of the invariant subspaces in \(\textbf{E}\). For concreteness, we consider the section

$$\begin{aligned} \Sigma := \left\{ \, (\eta _1,\psi _1,\eta _2,\psi _2)\,\left| \;\eta _1=-\pi \right. \right\} \end{aligned}$$

perpendicular to \(\textbf{E}' = \textbf{E}_{31}\). Note that \(\textbf{E}'\) is the fixed point subspace of \(\kappa ' =(13)\) that acts on the reduced phase difference coordinates by \(\kappa '(\eta _1,\psi _1,\eta _2,\psi _2)\mapsto (\eta _1,\psi _1,-\eta _2,-\psi _2)\)

Fig. 3
figure 3

Illustration of the section \(\Sigma \). Panel a shows the dynamics restricted to the invariant subspace \(\textbf{E}'\): The stable (green) and unstable (red) manifold of \(\textrm{O}\) intersect \(\Sigma \cap \textbf{E}'\) (purple line) in points \(P_\textrm{s}'\) (dark green) and \(P_\textrm{u}'\) (red), respectively. Panel b shows the section \(\Sigma \): The reflection symmetry \(\kappa '(\eta _2, \dot{\eta }_2) = (-\eta _2, -\dot{\eta }_2)\) that fixes \(\Sigma \cap \textbf{E}'\) forces the intersections of \(W^\textrm{u}(\textrm{O})\) (red line segment) and \(W^\textrm{s}(\textrm{O})\) (green line segment) with \(\Sigma \) to affine planes \(\Sigma _{\textrm{s},\textrm{u}}\) determined by \(\dot{\eta }_1\) corresponding to \(P_{\textrm{s},\textrm{u}}'\) (gray). Observe the codimension zero connection from \(\textrm{O}\) to \(\textrm{S}\)

Restricted to \(\textbf{E}'\), the section \(\Sigma ':= \Sigma \cap \textbf{E}'\) corresponds to a line; cf. Fig. 3a. Both the unstable manifold \(W^\textrm{u}(\textrm{O})\) and the stable manifold \(W^\textrm{s}(\textrm{O})\) will intersect \(\Sigma '\) in a single point, say \(P'_\textrm{u}\) and \(P'_\textrm{s}\), respectively. Hence, it is generically codimension one that there are homoclinic connection \(\Gamma \) from \(\textrm{O}\rightarrow \textrm{O}\) within \(\textbf{E}'\) if \(P'=P'_\textrm{u}=P'_\textrm{s}= (\pi ,p',0,0)\)Footnote 2.

Now consider the full (reduced four-dimensional) phase space at \(P'\in \Gamma \subset \textbf{E}'\). The tangent space at \(P'\) can be decomposed as

$$\begin{aligned} \mathbb {R}^4 = W_1\oplus W_2 \oplus W_3 \oplus W_4 \end{aligned}$$
(16)

where \(W_1=\textrm{T}_{P'}W^\textrm{s}(\textrm{O})\cap \textrm{T}_{P'} W^\textrm{u}(\textrm{O})\), \(\textrm{T}_{P'}W^\textrm{s}(\textrm{O})=W_1\oplus W_2\) and \(\textrm{T}_{P'}W^\textrm{u}(\textrm{O})=W_1\oplus W_3\). Given that \(W^\textrm{s}(\textrm{O})\) and \(W^\textrm{u}(\textrm{O})\) are both two-dimensional, it might be expected in a generic situation that

$$\begin{aligned} \dim (W_1)&=2 \end{aligned}$$
(17)

will only appear at codimension three in parameter space: \(W^\textrm{s}(\textrm{O})\cap \Sigma \) and \(W^\textrm{u}(\textrm{O})\cap \Sigma \) close to \(P'\) are line segments and it generically takes a two parameter variation to align them.

Here, the problem is restricted by symmetry so that a tangency only requires varying one additional parameter leading to a codimension two homoclinic tangency. More specifically, note that since \(\textbf{E}'\)—and in particular \(P'\)—is fixed under \(\kappa '\) we have that \(W^\textrm{u}(\textrm{O})\cap \Sigma \) and \(W^\textrm{s}(\textrm{O})\cap \Sigma \) are mapped to themselves by \(\kappa '\). This can only happen if \(W^\textrm{u}(\textrm{O})\cap \Sigma \), \(W^\textrm{s}(\textrm{O})\cap \Sigma \subset \{\dot{\eta }_1 = p'\}\cap \Sigma \); this is illustrated in Fig. 3b. This symmetry-induced constraint reduces the codimension by one allowing for a homoclinic tangency at codimension two.

4.2 A Lin’s Method to Find Point \(\textsf {B}\)

We now develop a procedure based on Lin’s method (Lin 1990) to determine the bifurcation point by finding and analyzing the connecting orbit; see also Homburg and Sandstede (2010). The first step is to find the homoclinic orbit \(\Gamma \) from \(\textrm{O}^{(0,0)}\) to \(\textrm{O}^{(-1,0)}\) in \(\textbf{E}\), that is,

$$\begin{aligned} \Gamma \subset W^\textrm{u}(\textrm{O}^{(0,0)})\cap W^\textrm{s}(\textrm{O}^{(-1,0)}) \cap \textbf{E}. \end{aligned}$$

For the Jacobian \(\textrm{d}F\) let \(w_{\textrm{u} 1,2}\) denote the left eigenvectors corresponding to the positive eigenvalues and \(w_{\textrm{s} 1,2}\) the left eigenvectors corresponding to the negative eigenvalues. The problem can be expressed as a three-point boundary value problem on \([-T,T]\) for large \(T>0\) with four projection boundary conditions and one phase condition. Specifically, \(\Gamma \) is a solution to the boundary value problem

$$\begin{aligned} \dot{Z}&= F(Z,\alpha ,\mu ) \end{aligned}$$
(18a)
$$\begin{aligned} 0&= \langle w_{s1},(Z(-T)-\textrm{O}^{(0,0)})\rangle \end{aligned}$$
(18b)
$$\begin{aligned} 0&=\langle w_{\textrm{s}2},(Z(-T)-\textrm{O}^{(0,0)})\rangle \end{aligned}$$
(18c)
$$\begin{aligned} 0&=\langle w_{\textrm{u}1},(Z(T)-\textrm{O}^{(-1,0)})\rangle \end{aligned}$$
(18d)
$$\begin{aligned} 0&=\langle w_{\textrm{u}2},(Z(T)-\textrm{O}^{(-1,0)})\rangle \end{aligned}$$
(18e)
$$\begin{aligned} 0&=\langle (Z(0)-(-\pi ,0,0,0)),(1,0,0,0)\rangle . \end{aligned}$$
(18f)

We consider \(Z=(\eta _1,\dot{\eta }_1,\eta _2,\dot{\eta }_2)\) but work within the invariant subspace \(\eta _2=\dot{\eta }_2=0\) and so we only need to solve for the first two components. If \(E^\textrm{s}\), \(E^\textrm{u}\) denote the stable and unstable subspaces, respectively, then the middle four conditions of () are equivalent to

$$\begin{aligned} Z(-T)&\in E^\textrm{u}(\textrm{O}^{(0,0)}), \\ Z(T)&\in E^\textrm{s}(\textrm{O}^{(-1,0)}) \end{aligned}$$

while the final equation in () is equivalent to the condition

$$\begin{aligned} P':= Z(0)\in \Sigma . \end{aligned}$$

The system () is overdetermined, but fixing \(\mu \) and allowing \(\alpha \) to vary will approximate the codimension one condition \(P_\textrm{u}'=P_\textrm{s}'=P'\) for the homoclinic orbit. This yields the curve \(\mu _{\Gamma }(\alpha )\) of parameter values shown in Fig. 4 of parameter values where a homoclinic connection \(\textrm{O}\rightarrow \textrm{O}\) exists in \(\textbf{E}\); this curve is identical to the orange curve in Fig. 2 computed using Auto.

Fig. 4
figure 4

The boundary value problems (18,19) are solved on the truncated interval \([-T,T]\) with \(T=150\). Top left: the location \(\mu =\mu _{\Gamma }(\alpha )\) of the homoclinic orbit \(\Gamma \) to \(\textrm{O}\) as a function of \(\alpha \) near Point \(\textsf {B}\). Bottom left: the “gap function” \(\Delta (\alpha )\): points where this crosses zero corresponds to a homoclinic \(\Gamma \) that satisfies the extra tangency condition of manifolds (17). Note that crossing at \(\alpha =1.7011\) and \(\mu =0.03317\) at point \(\textsf {B}\), indicating the presence of a two-dimensional intersection between the tangent spaces \(\textrm{T}_pW^\textrm{u}(\textrm{O})\) and \(\textrm{T}_pW^\textrm{s}(\textrm{O})\) for a point on the connection \(\Gamma \) homoclinic to \(\textrm{O}\). Right: the solutions of the boundary value problem for Z (top) and V (bottom) for the initial point away from point B: we choose \(\mu =0.03\) and use the continuity of Z to determine \(\alpha \). Note that Z is continuous meaning we have located the homoclinic, but there are discontinuities in the first and third component of V meaning \(\Delta \ne 0\)

The second step is to determine any tangencies of the invariant manifolds. Note that \(W_1\) in (16)—that aligns with the homoclinic connection—can be interpreted as the set of solutions \(V(t)=(\eta _1,\dot{\eta }_1,\eta _2,\dot{\eta }_2)\) of the variational equation \(\dot{V}=\textrm{D}F(Z,\alpha ,\mu )V\) that remain bounded as \(t\rightarrow \pm \infty \). Thus, in addition to () we consider solutions of the variational equation for () given by

$$\begin{aligned} \dot{V}&= \textrm{D}F(Z,\alpha ,\mu _h(\alpha ))V\end{aligned}$$
(19a)
$$\begin{aligned} 0&= \langle w_{\textrm{s}1},V(-T)\rangle \end{aligned}$$
(19b)
$$\begin{aligned} 0&=\langle w_{\textrm{s}2},V(-T)\rangle \end{aligned}$$
(19c)
$$\begin{aligned} 0&=\langle w_{\textrm{u}1},V(T)\rangle \end{aligned}$$
(19d)
$$\begin{aligned} 0&=\langle w_{\textrm{u}2},V(T))\rangle \end{aligned}$$
(19e)
$$\begin{aligned} 0&=\langle (1,0,0,0),V(0)\rangle \end{aligned}$$
(19f)
$$\begin{aligned} 1&=\langle (0,0,1,0),V(0)\rangle . \end{aligned}$$
(19g)

More precisely, we need to find values of \(\mu =\mu _h(\alpha )\) that satisfy () and where additionally the variational equations have two independent solutions.

We solve this problem using a Lin-type method by allowing solutions within V to have a discontinuity in two of the components at \(t=0\). More precisely, we examine solutions of the six-dimensional boundary value problem (),() in \([-T,T]\) for large T where all components of V are continuous at \(t=0\) except for the “gaps”

$$\begin{aligned} \xi _1&=\langle (1,0,0,0),V(0^+)-V(0^-)\rangle ,\end{aligned}$$
(20a)
$$\begin{aligned} \xi _2&=\langle (0,0,1,0),V(0^+)-V(0^-)\rangle , \end{aligned}$$
(20b)

where \(0^+\), \(0^-\) denote the limits to 0 from the positive and negative side, respectively. Note that since \(V(t)=\dot{Z}(t)\) is the only bounded solution of the variational equations that lies within the tangent space to \(\textbf{E}\) but the final condition on () ensures that we are finding a non-trivial solution transverse to \(\textbf{E}\). We examine

$$\begin{aligned} \Delta (\alpha ):=\xi _2(\alpha ,\mu _h(\alpha )) \end{aligned}$$

and zeros of this correspond to homoclinic bifurcations that satisfy (17). Figure 4 shows the curve of \((\alpha ,\mu )\) giving this homoclinic connection, the size of the gap \(\Delta \) along this curve and a typical solution for the Lin problem. Note that there is a unique location where \(\Delta =0\) corresponding to \(\textsf {B}\). At this point note that also \(\xi _1=0\) because of the symmetry \(\kappa \).

5 Global Dynamics, Organizing Centers, and Point \(\textsf {C}\)

Varying parameters \((\alpha ,\mu )\) around Point \(\textsf {B}\) shows a wide range of dynamical behavior ranging from periodic to chaotic. We now show that these dynamics are organized by the interplay of the invariant manifolds of not only \(\textrm{O}\) but also the non-trivial equilibria \(\textrm{S}\) that can form heteroclinic connections and networks. Possibilities are sketched in Fig. 5. On the one hand, these include not only the codimension-one homoclinic connection \(\textrm{O}\rightarrow \textrm{O}\) in \(\textbf{E}\) as well as the additional codimension-two tangency at Point \(\textsf {B}\) discussed above. On the other hand, we find that there is an additional codimension-two Point \(\textsf {C}\) at which there is a heteroclinic \(\textrm{S}\rightarrow \textrm{O}\) connection off \(\textbf{E}\), which also organizes global dynamics.

Fig. 5
figure 5

Schematic diagram showing parts of heteroclinic networks connecting the equilibria \(\textrm{O}\) (orange) and \(\textrm{S}\) (black) at points \(\textsf {B}\) and \(\textsf {C}\) of the parameter plane as well as for a more general point on the homoclinic bifurcation line \(\text{ Hom }(\textrm{O}\rightarrow \textrm{O})\). The connections from \(\textrm{O}\) in \(\textbf{E}_{12}\), \(\textbf{E}_{23}\), \(\textbf{E}_{31}\) are shown in red, green, and blue, respectively. The one-dimensional unstable manifolds of \(\textrm{S}\) are shown in gray. For \(\textsf {B}\) the \(\textrm{O}\rightarrow \textrm{O}\) connections are shown dashed to indicate they have a degeneracy associated with the two dimensional tangency. The more general \(\textrm{O}\rightarrow \textrm{O}\) homoclinic is as for \(\textsf {B}\) but without the tangency. For \(\textsf {C}\) there is a connection from \(\textrm{S}\) to symmetrically placed copies of \(\textrm{O}\). There are robust connections from \(\textrm{O}\) to \(\textrm{S}\) in one direction and to a saddle periodic orbit (represented by red, green and blue dashed lines). Note that in all of these cases, there will be a variety of pseudo-orbits that wind around the torus while visiting \(\textrm{O}\) and \(\textrm{S}\) in various ways

5.1 Heteroclinic Networks and Chaotic Dynamics

The chaotic attractors that appear close to Point \(\textsf {B}\) are characterized by phase slips associated with chimera states with rapid transitions along the sets \(\textbf{E}_{kj}\). Figure 6 shows a single numerically approximated trajectory started close to \(\textrm{O}\) that explored the unstable manifold of \(\textrm{O}\) and hence also the unstable manifolds of \(\textrm{S}\) in various copies on the torus. Note that trajectories repeatedly approach \(\textrm{S}_{kj}\) before being ejected along its one-dimensional unstable manifold. The chaotic dynamics near Point \(\textsf {B}\) appear to be organized by the interplay of the invariant manifolds of both \(\textrm{O}\) and \(\textrm{S}_{kj}\). Figure 5 illustrates the different heteroclinic connections that are possible: The codimension-zero \(\textrm{O}\rightarrow \textrm{S}\) connections are shown in purple, and the codimension-one \(\textrm{O}\rightarrow \textrm{O}\) connections in \(\textbf{E}_{12}\), \(\textbf{E}_{23}\), \(\textbf{E}_{31}\) are shown in red, green, and blue, respectively (so colors correspond to phase slips of one of the three oscillators). Moreover, the one-dimensional unstable manifold of \(\textrm{S}\) (gray line in Fig. 5) approaches \(\textrm{O}\) and \(\textrm{S}\) in a complicated sequential manner.

Fig. 6
figure 6

Projection of the numerically computed attractor with parameters at Point \(\textsf {B}\) (\(\mu =0.03317\), \(\alpha = 1.70111\)). Left: projection onto \(\phi =\phi _r+i\phi _i\) and Right: showing a scaled version of \(|\dot{\phi }|^2\) as a third coordinate. The invariant set \(\textbf{E}\) is depicted by red lines that bound four copies of the unit cell of the \(\phi \)-torus. The attractor is approximated using a single long trajectory shown in blue—this is given an initial condition close to \(\textrm{O}\) and wraps around the torus in a complicated and recurrent manner

To gain insights into how the unstable manifold \(W^{\textrm{u}}(\textrm{S})\) of \(\textrm{S}\) wraps around the torus, we follow the sequence of “phase slips” along the \(\textrm{O}\rightarrow \textrm{O}\) transition—an increase of phase by an integer multiple of \(2\pi \) along one of the invariant subspaces \(\textbf{E}_{12}, \textbf{E}_{23},\textbf{E}_{31}\). Our approach to visualize the winding of trajectories is inspired by the extraction of kneading sequences from the Lorenz equations in Barrio et al. (2012). More precisely, we assign the \(\textrm{O}\rightarrow \textrm{O}\) connection in each \(\textbf{E}_{kj}\) a different color (as illustrated in Fig. 5). Colors are then added in the sequence of the phase slips along each of the invariant subspaces \(\textbf{E}_{kj}\) with a weight that decays according to a geometric sequence: If \(W^{\textrm{u}}(\textrm{S})\) follows a single \(\textbf{E}_{kj}\) this results in either red, blue, or green; transitions in the blue and then red direction give purple (with a shift toward red/blue depending on the order). More details on the algorithm are given in Appendix A.

Fig. 7
figure 7

Phase-slip sequences obtained by following the unstable manifold of \(\textrm{S}\) capture the global dynamics near Point \(\textsf {B}\) for the system (5) with \(\epsilon =0.1\). The first panel shows the colors obtained by integrating the system for \(T=4000\) time units, as outlined in Appendix 1: Each color corresponds to a phase slip along one of the invariant subspaces \(\textbf{E}_{kj}\) (cf. Fig. 5); phase slips in different directions give the corresponding mixtures. The second panel shows two-parameter bifurcation curves obtained through numerical continuation in Auto; colors match those in Fig. 2 and \({{\,\textrm{Hom}\,}}\) indicates a homoclinic connection (modulo \(2\pi \)) while \({{\,\textrm{Het}\,}}\) indicates a heteroclinic connection between distinct \(\textrm{S}_{kj}\). Note that multiple bifurcation curves come together at Points \(\textsf {B}\) with \((\alpha , \mu )\approx (1.70111, 0.03317)\) and \(\textsf {C}\) with \((\alpha ,\mu )\approx (1.73521,0.03760)\)

The sequences show the fine structure of the dynamics in parameter space as shown in Fig. 7. Distinct colors can be found in the vicinity of Point \(\textsf {B}\) but the picture also unveils a rich structure. Further numerical bifurcation analysis (beyond what is shown in Fig. 2) shows relevant (local and global) bifurcations that lead to qualitative changes in the phase slip sequences; see Fig. 7b. While Point \(\textsf {B}\) is related to the bifurcation lines shown in Fig. 2, there is another codimension-two Point \(\textsf {C}\) that organizes the dynamics and bifurcations. Inspecting solutions along the bifurcation branches close to Point \(\textsf {C}\) shows that part of the heteroclinic \(\textrm{O}\rightarrow \textrm{O}\) connection off \(\textbf{E}\) approaches a heteroclinic \(\textrm{S}\rightarrow \textrm{O}\) connection.

5.2 Heteroclinic Connections \(\textrm{S}\rightarrow \textrm{O}\) at Point \(\textsf {C}\)

Heteroclinic connections \(\textrm{S}\rightarrow \textrm{O}\) are co-dimension two: The unstable manifold \(W^{\textrm{u}}(\textrm{S})\) generically intersects a three-dimensional Poincaré section \(\Sigma \) in a single point (cf. Fig. 3). Variation of two parameters is required for this point to intersect the line \(\Sigma \) that corresponds to the stable manifold of \(\textrm{O}\). However, the symmetry forces also heteroclinic connections of the symmetric copies. Solving the corresponding boundary value problem using XPP confirms the existence of an \(\textrm{S}\rightarrow \textrm{O}\) heteroclinic at \((\alpha , \mu ) \approx (1.735209263, 0.037605895)\) in agreement of Point \(\textsf {C}\) identified in the previous section.

Note that the \(\textrm{S}\rightarrow \textrm{O}\) connection immediately gives rise to an entire heteroclinic network involving both \(\textrm{O}\) and all symmetric copies of \(\textrm{S}\). Specifically, the codimension-zero connections \(\textrm{O}\rightarrow \textrm{S}_{kj}\) within \(\textbf{E}\) together with the \(\textrm{S}_{kj}\rightarrow \textrm{O}\) off \(\textbf{E}\) yields a heteroclinic connection \(\textrm{O}\rightarrow \textrm{S}_{kj}\rightarrow \textrm{O}\). This means that there are pseudo-orbits that pass by \(\textrm{O}\) and any symmetric copy of \(\textrm{S}\) arbitrarily often. This facilitates the emergence of complicated phase-slip dynamics for parameter values near Point \(\textsf {C}\).

6 Discussion

We show how certain homoclinic and heteroclinic structures and their bifurcations organize the dynamics in networks of three symmetrically coupled phase oscillators. First, we clarified the nature of the codimension-two organizing center corresponding to Point \(\textsf {B}\) in the paper of Maistrenko et al. (2017): We find that Point \(\textsf {B}\) is a novel form of symmetric homoclinic tangency bifurcation that can be characterized only using connections between copies of the fully synchronized phase configuration \(\textrm{O}\). The bifurcation will only appear at this relatively low codimension because the presence of the symmetries forces the three invariant subspaces \(\textbf{E}\) to coincide at \(\textrm{O}\). While it was somewhat a surprise that an analysis of connections to and from \(\textrm{S}\) was not necessary to identify the organizing center first described in Maistrenko et al. (2017), we identified a second codimension-two Point \(\textsf {C}\) that does involve \(\textrm{S}\). The bifurcation at Point \(\textsf {C}\) is easier to identify as it corresponds to a connection between a one-dimensional unstable manifold of \(\textrm{S}\) and the two-dimensional manifold of \(\textrm{O}\).

It will be a challenging problem for the future to unfold these bifurcations and to understand the wide variety of behaviors that can be observed to emerge from the organizing centers; cf. Fig. 7. However, a main challenge to do this can be seen in Fig. 5: A variety of symmetrically related sections will need to be chosen to ensure that trajectories leaving \(\textrm{O}\) and \(\textrm{S}\) are matched appropriately. Moreover, the fact that \(\textrm{O}\) has two-dimensional unstable manifold near \(\textsf {B}\) means that potentially a large number of connections can be involved, including potentially some that connect \(\textrm{O}^{(0,0)}\rightarrow \textrm{O}^{(k,0)}\) for \(|k|>1\) as indicated by numerical continuation (cf. Fig. 7). We also expect to find heteroclinic orbits connecting equilibria and periodic orbits that can be continued with an appropriate boundary value setup (Krauskopf and Rieß 2008; Doedel et al. 2008).

Together, the codimension-two points identified in this paper organize a wide variety of solutions—many of which partially break frequency synchrony—in its neighborhood. As previously noted, these cannot appear if there is an attracting invariant torus and so they are also indicative of crossing the threshold of torus breakdown. These organizing centers also point toward interesting phenomena of higher codimension: For example, at codimension three one would expect the existence of a heteroclinic network consisting of \(\textrm{S}\rightarrow \textrm{O}\) (codimension two), \(\textrm{O}\rightarrow \textrm{O}\) (codimension one), and \(\textrm{O}\rightarrow \textrm{S}\) (codimension zero) connections.

The bifurcations described can presumably be generalized to understand similar organizing centers for systems with larger N, as illustrated in the numerical simulations of Maistrenko et al. (2017). We have not attempted this but note that the dimensions of the Lin modeling of the variational equation will need to increase correspondingly.