1 Introduction

Since the discovery of the chaotic Lorenz attractor [1] in 1963, six decades have passed, and still, a significant amount of studies are published yearly to understand the complex nature and bifurcation patterns of various nonlinear systems. The organisation of fixed points, periodic orbits, quasiperiodic and chaotic solutions in multidimensional parameter spaces is a primary focus in many scientific disciplines from biology [2,3,4,5,6], chemistry [7,8,9,10], fluid dynamics [11,12,13], climate science [14,15,16], electronics [17, 18], plasma [19, 20] and laser physics [21,22,23,24] to classic engineering [25,26,27,28], economy [29,30,31] or even psychology [32].

What makes nonlinear systems so fascinating? The reason is their highly complex dynamics. The organisation of periodic orbits, often interrupted by chaotic domains, can be so intricate that a significant number of studies are published annually to better understand the evolution of the systems as a function of one or more control parameters. The primary goal, usually, is to describe the organisation of periodic and chaotic attractors. Although various universal bifurcation patterns have already been found, such as Feigenbaum period-doubling cascades [33,34,35,36], organisation of bifurcation structures as a Farey-tree [37,38,39,40,41,42] or shrimp-shaped iso-periodic structures [43,44,45,46,47,48,49], the complete picture, even in the case of simple nonlinear systems like the Duffing oscillator [50,51,52,53], the Toda oscillator [54,55,56] or the Lorenz system [57, 58], is not yet fully explored.

Mapping and describing the structure of attractors is usually a real challenge, even in the case of a single control parameter. For demonstration purposes, a one-dimensional orbit diagram is plotted in Fig. 1 employing the single-frequency driven Duffing oscillator; for the details of the model, the reader is referred to Sect. 4. In this diagram, the second component of the Poincaré section is plotted as a function of the driving amplitude A at a fixed angular frequency value (\(f=3\)) and damping rate (\(d=0.02\)). In the control parameter range from approximately \(A=50\)–72, a complex structure of periodic attractors (up to period-32) occurs. In the overlapping regions of such orbits, there are multistable states. The scattered points at high amplitude values suggest chaotic dynamics.

Fig. 1
figure 1

Example of a one-dimensional orbit diagram, where the second component of the Poincaré section is plotted vs. the driving amplitude. The model equation is a single-frequency driven Duffing oscillator, see Sect. 4

The complex dynamics shown in Fig. 1 has severe consequences for applications. First, in the case of multistability, depending on the extent of the basin of attraction of a stable state, any small perturbation can lead to significantly different dynamics. Second, even if the precise adjustment of the parameter set is not mandatory, one might encounter an overwhelmingly large number of stable states for a possible operation in a given parameter domain. In both situations, a technique capable of driving a nonlinear system to a selected attractor is useful to eliminate unpredictable or undesirable behaviour.

Mastering multistability is an important task in nonlinear dynamics [59], where a system is controlled to a selected attractor while keeping its parameter sets unaltered or only slightly perturbed. To achieve this goal, three main control strategies are widespread in the literature: (i) non-feedback techniques, (ii) feedback techniques and (iii) stochastic control. Non-feedback techniques are simple and easy to use. In this case, kicking the system to another stable state [60,61,62,63] or to annihilate attractors by periodic perturbation (modulation) of a parameter or a state variable [64,65,66,67] is the primary tool. Their disadvantage is that direct attractor selection is not possible. With feedback control strategies, attractor selection is possible. However, information is necessary about the state (for some techniques, the Jacobian as well) of the solution [68,69,70,71]. Therefore, feedback control techniques are unsuitable for problems, where the required data cannot be retrieved easily [72, 73]. Stochastic control operates with attractor annihilation by external noise [74,75,76]. Since attractors are destructed in the order of the size of their basin, the control over the direct attractor selection is again lost.

The control technique proposed in this paper enables attractor selection without applying feedback to the system. However, knowledge about details of the bifurcation structure are necessary, and the parameters cannot be kept constant. Therefore, we categorise it as a feedforward method. It works for periodic orbits of harmonically driven nonlinear systems by means of a temporary dual-frequency driving. Control of multistability is possible with an additional adjustment process: after the selection of the desired attractor (periodic orbit), the parameters have to be tuned back to their original value.

This technique has already been demonstrated in our previous study [77] between a period-2 orbit and a period-3 orbit of a model describing the radial pulsation of a single spherical bubble relevant in the scientific field of sonochemistry [78,79,80,81,82]. In the follow-up paper [83], the attractor targeting was applied to a much larger set of periodic orbits to demonstrate that it is not an accidental case between the period-2 and period-3 attractors. These previous studies were based on a trial-and-error approach. Thus, one of the main aims of the present study is to provide a more systematic approach to identify possible transitions between periodic orbits. For the presented control scenario, two necessary conditions are identified: a condition for the frequency ratio; and a condition for the torsion number that describes the local flow around the periodic orbits. In order to prove that the technique is not only applicable to the bubble oscillator investigated in previous publications [77, 83], two other oscillators are employed here: the asymmetric Toda oscillator [84, 85] and the symmetric Duffing [86] oscillator.

2 Criteria for attractor selection

In this section, we introduce general criteria for attractor selection by dual-frequency driving. The general form of the model equations is written as

$$\begin{aligned} \dot{y}_1&= F_1(y_1,y_2), \end{aligned}$$
(1)
$$\begin{aligned} \dot{y}_2&= F_2(y_1,y_2) + f_\textrm{D}(t), \end{aligned}$$
(2)

where \(F_1\) and \(F_2\) represent a second-order nonlinear system. Function \(f_\textrm{D}\) is defined as

$$\begin{aligned} f_\textrm{D}(t) = A \sin (f t) \end{aligned}$$
(3)

for single-frequency driving, and

$$\begin{aligned} f_\textrm{D}(t) = A_1 \sin (f_1 t) + A_2 \sin (f_2 t) \end{aligned}$$
(4)

for the general dual-frequency driven cases. The driving angular frequencies are f, \(f_1\) and \(f_2\); their corresponding amplitudes are A, \(A_1\) and \(A_2\), respectively. From now on, angular frequency is referred to as frequency for simplicity.

Suppose that in the single-frequency driven case, two domains of periodic orbits exist in the parameter plane Af. Figure 2a shows a schematic drawing of a possible configuration with period numbers \(p_1\) (domain enclosed by the blue curves) and \(p_2\) (domain enclosed by the red curves). Note that the values of \(p_1\) and \(p_2\) are integer multiples of the period of the driving \(T=2\pi /f\). Furthermore, let us assume that by continuous tuning of the amplitude A and frequency f within a domain, the system exhibits a continuous change in its dynamics with a constant period number (\(p_1\) or \(p_2\)).

Figure 2b shows a one-dimensional section, where an arbitrarily selected component of the Poincaré map is plotted as a function of the frequency at a fixed driving amplitude. The solid and the dashed curves are stable and unstable orbits, respectively. Note that the two kinds of periodic orbits (blue and red) are not connected. Additionally, there may be many other stable states the system can converge to in case of tuning A and/or f. The number of branches presented in Fig. 2b is only for demonstration purposes; there are no restrictions for the values of \(p_1\) and \(p_2\). Therefore, there is no trivial strategy to drive the system from one type of orbit to the other (e.g. by simply extending the parameter space [87]) since no bifurcation exists that connect branches of orbits having arbitrary period numbers.

Fig. 2
figure 2

Schematic drawings to demonstrate the attractor selection process. a domains of period orbits of single-frequency driven system. The blue and red domains correspond to period numbers \(p_1\) and \(p_2\), respectively. b stable and unstable periodic orbits represented by one-dimensional curves of an arbitrarily selected component of the Poincaré map \(\varPi (y)\) as a function of the driving frequency f at a fixed amplitude A. cd one-dimensional curves of an component of the Poincaré map \(\varPi (y)\) as a function of the driving amplitude A at fixed frequencies \(f_1\) or \(f_2\). e representation of a control area bounded by the green, blue and red curves. Notations BF and q mean bifurcation points and torsion numbers, respectively. The necessary conditions for the attractor selection process in terms of the period and the torsion numbers are discussed in Sects. 2.1 and 2.2

Consider two frequency values \(f_1\) and \(f_2\) along the axis f in Fig. 2a. A pair of one-dimensional sections are presented in Fig. 2c-d, where again an arbitrarily selected component of the Poincaré map is plotted as a function of the driving amplitude at the corresponding fixed frequencies. The number of the branches and their colour code are the same as in the case of Fig. 2b. Suppose these curves are bounded by bifurcation points denoted by \(BF_1^a\), \(BF_1^b\), \(BF_2^a\) and \(BF_2^b\). Their projections to the Af parameter plane are indicated by blue \(\varGamma _1\) and red \(\varGamma _2\) lines; see the vertical lines in Fig. 2a, and the horizontal lines on the axis of Fig. 2c–e.

Our attractor selection technique tries to drive the system from \(\varGamma _1\) to \(\varGamma _2\) (or vice versa) via the continuous tuning of the dual-frequency driving amplitudes \(A_1\) and \(A_2\) by employing dual-frequency driving with the frequency values of \(f_1\) and \(f_2\). In the parameter plane of the driving amplitudes \(A_1\)\(A_2\), \(\varGamma _1\) and \(\varGamma _2\) lie along the coordinate axis representing special, single-frequency driven cases of the general dual-frequency driving, see Fig. 2e. Therefore, the dual-frequency driving is temporary; the initial and the final states are always driven by a single frequency (\(f=f_1\) or \(f=f_2\)).

As long as the governing equations are smooth in terms of state variables and parameters (our case), the solution has a smooth dependence on the initial conditions and parameters. In this case, showing that the pairs of bifurcation points \(\text {BF}_1^a\)\(\text {BF}_2^a\) and \(\text {BF}_1^b\)\(\text {BF}_2^b\) are connected, highlighted by the green curves in Fig. 2e, proves the existence of a control surface that connects the curves \(\varGamma _1\) and \(\varGamma _2\) and exists at least in the vicinity of the blue, red and green curves. Its projection to the \(A_1\)\(A_2\) plane, the control area, is bounded by the red, blue and green curves. There are two necessary conditions for the existence of the configuration depicted in Fig. 2e, which are discussed in Sects. 2.1 and 2.2. It is to be stressed that a suitable control surface can have a more complex topology that cannot be described with a simple configuration shown in Fig. 2e. Although an example is presented in Sect. 4.2, the detailed discussion of these situations is out of the scope of the present study.

If the attractor selection technique works, control of multistability is also possible, however, with additional control processes. The workflow is highlighted by the solid and dashed thin line arrows in Fig. 2a. Suppose that the blue/red dots define the desired parameter combination, and the system initially resides on the blue orbit having period number \(p_1\). First, the system has to be driven from the blue dot to the blue vertical thick line via tuning the driving parameters A and f of the single frequency driving. Next, apply the above-described attractor selection technique to arrive at the red curve having period number \(p_2\). A dashed line arrow marks this process as it takes place in the \(A_1-A_2\) plane instead of the Af parameter space. Finally, drive the system back to the initial parameter combination via tuning A and f.

2.1 Period number compatibility

Although the period number \(p_1\) in terms of single-frequency driving with \(f=f_1\) and the period number \(p_2\) in terms of single-frequency driving with \(f=f_2\) differ in general, their period number must be equal in terms of dual-frequency driving with \(f_1\) and \(f_2\) to be able to drive the system smoothly (there is smooth dependence on the parameters) between \(\varGamma _1\) and \(\varGamma _2\) via the control surface introduced in Fig. 2e.

This section discusses how to select the frequency combinations to make the period numbers of the attractors along the curves \(\varGamma _1\) and \(\varGamma _2\) equal in terms of dual-frequency driving. Figure 3 demonstrates a hypothetical example. Panel (a) represents the components of the driving signal, while panel (b) shows the time series of periodic attractors of the corresponding single-frequency drivings. The colour coding is compatible with Fig. 2; namely, the blue and red curves are related to the orbits \(\varGamma _1 \mathrm {@} f_1\) and \(\varGamma _2 \mathrm {@} f_2\), respectively. The period of the \(f_1\) component of the driving is \(T_1\), the period of the \(f_2\) component of the driving is \(T_2\), and the period of the general dual-frequency driving is \(T_\textrm{D}\). In Fig. 3, the time is normalised by \(T_1\) (\(\tau =t/T_1\)).

Fig. 3
figure 3

An example to illustrate the period number and the torsion number compatibilities. a harmonic components of the dual-frequency driving signal. b two different periodic attractors in the single-frequency driven limit cases

Observe that the period number of the attractors along the curve \(\varGamma _1\) is \(p_1\) in terms of \(T_1\), but their period numbers are 1 in terms of \(T_\textrm{D}\). Similarly, the period number of the attractors along the curve \(\varGamma _2\) is \(p_2\) in terms of \(T_2\); however, their period numbers are again 1 in terms of \(T_\textrm{D}\). Therefore, in the specific case plotted in Fig. 3, the period numbers of the obits are equal if the Poincaré section is defined by \(T_\textrm{D}\). The condition to achieve the period number equality/compatibility is

$$\begin{aligned} T_1 p_1 = T_2 p_2 = T_\textrm{D}, \end{aligned}$$
(5)

which translates to

$$\begin{aligned} \frac{p_1}{p_2} = \frac{T_2}{T_1} = \frac{f_1}{f_2}. \end{aligned}$$
(6)

The simple condition defined by Eq. (6) states that for a given pair of periodic orbits, the frequency ratio of the dual-frequency driving must be equal to the ratio of the period numbers. In general, any frequency combination with such a ratio is suitable. However, the curves \(\varGamma _1\) and \(\varGamma _2\) indicated by the thick vertical blue and red lines in Fig. 2a must exist in the parameter plane Af of the single-frequency driven case. This additional condition can limit the possible selection of the frequencies. For example, if \(f_1/f_2\) is very small, then the value of \(f_2\) can be larger than the upper bound of the red curves making it impossible to specify a second curve \(\varGamma _2\).

2.2 Torsion number compatibility

The second condition is related to the torsion number that describes the average number of rotations of a perturbed trajectory around a specific periodic orbit during one period of the oscillation [88]. In our second-order example systems, the torsion number is invariant (constant) near saddle-node (SN), period-doubling (PD) or symmetry-breaking (SB) bifurcation points [88] (i.e. along the green curves in Fig. 2e). In the systems studied here, only these three types of local bifurcations exist. Thus, the second condition reads as the pair-wise equality of the torsion numbers (\(q^a\) and \(q^b\)) of the bifurcation points \(\text {BF}_1^a\)\(\text {BF}_2^a\) and \(\text {BF}_1^b\)\(\text {BF}_2^b\). For a formal definition of the torsion number, the interested reader is referred to Appendix A. As the period of the oscillation of both orbits is equal to \(T_\textrm{D}\) (according to the period number compatibility), the second condition reads as

$$\begin{aligned} q_1^a&= q_2^a = q^a, \end{aligned}$$
(7)
$$\begin{aligned} q_1^b&= q_2^b = q^b. \end{aligned}$$
(8)

That is, the torsion numbers of the bounding bifurcation points of both the single and dual-frequency driving must be equal (pair-wise), see also Fig. 2.

2.3 Winding numbers: attractor selection possibilities in a Farey-tree

The period number and the torsion number compatibility can be discussed in terms of winding numbers. The winding number is in this context defined as the ratio of the torsion and the period number, \(w=q/p\), and it characterises the organisation of resonances and bifurcation superstructures in the driving amplitude–frequency parameter plane (single frequency driving) [89,90,91]. These superstructures are usually organised according to a Farey-tree shown in Fig. 4. The interpretation is as follows: between two resonances/bifurcation curves having orders of \(w_1=q_1/p_1\) and \(w_2=q_2/p_2\), there is another one with an order of \(w_3=(q_1+q_2)/(p_1+p_2)\).

Fig. 4
figure 4

Farey-tree as a tool to describe the organisation of periodic orbits in the driving frequency-amplitude parameter plane of a nonlinear oscillator. A fraction \(w=q/p\) in the tree is the winding number with torsion q and period number p. Between two elements \(w_1=q_1/p_1\) and \(w_2=q_2/p_2\), there is another one with a winding number of \(w_3=(q_1+q_2)/(p_1+p_2)\)

The Farey-tree can be an excellent tool to identify control possibilities between periodic orbits. First, if one intends to fulfil the torsion number equality condition, control is possible only between orbits having the same colour code in Fig. 4. Second, after selecting two orbits, the frequency ratio is adjusted according to the period numbers. Although there is no restriction for the period numbers, the relative sparsity of the elements with the same colour code in the Farey-tree is the main limitation of this approach; a detailed discussion is given in Sect. 5. It is to be stressed again that the winding numbers and the Farey-tree organisation are related to single-frequency driving. Dual-frequency driving is a temporary state of the control technique. Based on the knowledge presented in Fig. 4, the control process is demonstrated via several examples throughout Sects. 3 and 4 using the Toda and the Duffing oscillators.

Unfortunately, the period number and the torsion number compatibilities do not ensure the existence of a control surface, as demonstrated in Sects. 3 and 4. Therefore, they are necessary but not sufficient conditions.

3 Asymmetric case: Toda oscillator

The first test case is the Toda oscillator, which describes the output intensity of a solid-state laser in the transient regime [84]. The system of equations is adopted from [85] and reads as

$$\begin{aligned} \dot{y}_1&= y_2, \end{aligned}$$
(9)
$$\begin{aligned} \dot{y}_2&= -d y_2 + e^{-y_1} - 1 + f_\textrm{D}(t), \end{aligned}$$
(10)

where \(d=0.05\) is the damping constant and \(f_\textrm{D}\) denotes the general driving function, see Eqs. 34.

Before employing the control process, the first task is to explore the bifurcation structure of periodic orbits in the amplitude–frequency (Af) parameter plane of the oscillator with the single frequency driving. It is a mandatory step for adequately selecting the orbits and frequency pairs for the control; see Sect. 2. Our strategy has the following steps: (a) generate orbit diagrams as a function of A with an initial-value problem (IVP) solver to perform a quick exploration of the periodic orbits, (b) compute the bifurcation curves of some selected periodic orbits (including the detection of bifurcation points) using a boundary value problem solver extended by pseudo-arc length parameter continuation (BVP-C), (c) determine the path of the detected bifurcation points in the Af plane with the same BVP-C program package.

Figure 5a shows a one-dimensional orbit diagram with A as control parameter at a fixed frequency of \(f=2.5\). The black dots are the simulations with the IVP technique. Most of the branches of periodic orbits have a saddle-node (SN) bifurcation on the left and a period-doubling (PD) point on the right. Some of the winding numbers of the SN points are marked by bold fractions. Observe that their torsion numbers (numerators) are equal to unity; therefore, all of these orbits are suitable for our control process according to the torsion number compatibility given in Sect. 2.2. The proper choice of frequency combinations can easily fulfil the period number compatibility. Namely, any pair of these orbits can be selected, and the system can be driven from one orbit to another (and vice versa). Attractors corresponding to orders (1/p) are also computed via the BVP-C method (up to \(p=10\)); in the figure, only the period-3 curves (blue) are shown for demonstration purposes. The green and the brown dots are the SN and PD points, respectively.

The paths of the detected SN (solid) and PD (dashed) bifurcation points are also computed in the Af plane, see Fig. 5b. To avoid an overcrowded figure, only a few examples are plotted. Choosing the period-3 domain (enclosed by the curves 1/3 and 1/6) and the period-4 domain (enclosed by the curves 1/4 and 1/8), the frequency ratio must be 3/4 according to Eq. 6. Thus, \(f_1=3\) and \(f_2=4\) are good candidates. During the control process, the amplitudes \(A_1\) and \(A_2\) of the driving are varied guiding the system between the two red vertical lines.

For better visualisation of the period-3 and period-4 attractors, which are being transformed, their one-dimensional bifurcation curves are plotted in Fig. 6. The solid blue and the dashed red curves are stable and unstable solutions, respectively. Similarly, as in the case of Fig. 5b, the SN points are indicated by green dots, while the PD bifurcations are marked with brown dots. Although both panels of Fig. 6 are single frequency driven cases, the indices of the frequencies and the amplitudes are consistent with the forthcoming dual-frequency driving.

Fig. 5
figure 5

Exploration of the periodic orbits of the Toda oscillator defined by Eqs. (9) and (10) with single frequency driving and a damping factor of \(d=0.05\). a one-dimensional orbit diagram where the second component of the Poincaré section is plotted as a function of the driving amplitude at a frequency of \(f=2.5\). b bifurcation curves in the Af plane of the detected bifurcation points (upper panel)

Fig. 6
figure 6

Two examples of one-dimensional bifurcation diagrams computed by the BVP-C numerical method. The blue solid and dashed red curves are stable and unstable solutions, respectively. The green dots are SN points, while the brown dots are PD bifurcations. The control process presented in Fig. 7a is applied between these two types of attractors. a period-3 orbit. b period-4 orbit

As a final step, the paths of the bifurcation points detected in Fig. 6 are computed as a function of the driving amplitudes \(A_1\) and \(A_2\). The results are plotted in a three-dimensional diagram in Fig. 7a. The stable orbits shown in Fig. 6 of the single-frequency driving limit cases are also represented by the blue curves. Although only the bottom branches of the attractors are connected via the black curves, this proves the existence of a control surface that connects the period-3 and the period-4 attractors. Note that the surface itself is not calculated. Nevertheless, the system can be continuously driven from one attractor to another through this surface. The non-connecting curves are omitted in the diagram for clarity.

Fig. 7
figure 7

Two examples of the existence of control surfaces between different periodic orbits of the Toda oscillator. a between a period-4 and a period-3 curves. b between a period-5 and a period-3 curves

The test case presented in Fig. 7a is also demonstrated via an animation available as supplementary material. Three snapshots from the beginning, middle and end of the animation are shown in Fig. 8. Besides the three-dimensional representation, time series curves of the solutions and the driving signal are also provided. The colour coding of the three-dimensional diagram is the same as in the case of Fig. 7a. The control process is initiated from a period-3 orbit and terminated at a period-4 orbit. The control parameters \(A_1\) and \(A_2\) are incremented after every 10 dual-frequency driving period along a straight line with a fine increment (the whole section is divided into 1000 points); see the thin red lines in the three-dimensional panels. The time series curves of \(x_1\) are plotted in the top-right panels, where the blue curves represent solutions of the single-frequency driven limit cases, and the red curve is the solution of the temporary dual-frequency driving. In the bottom-right panels, the driving signals are plotted as a function of the dimensionless time: black curves are the single-frequency driving components, whereas the red curve is the temporary dual-frequency driving signal. Note that the red curve always coincides with one of the single-frequency-driven limit cases in the right-hand side panels for the first and last snapshots. For each snapshot, the control parameter values are also indicated.

Employing the same computational procedure, Fig. 7b shows another example between the period-5 and the period-3 orbits, where all the three branches of the period-3 curves are connected to other branches of the period-5 curves. Only the SN points are connected in the case of the two uppermost branches. Nevertheless, this already proves the existence of the corresponding control surfaces.

Fig. 8
figure 8

Three snapshots from the animation (provided as a supplementary material) of the control process presented in Fig. 7a. a beginning of the control process, single-frequency driving (\(A_2=0\)). b middle of the control process, dual-frequency driving. c end of the control process, single-frequency driving (\(A_1=0\)). In the right column, the corresponding oscillations of the first variable \(x_1\) and the driving signals A are given as functions of the dimensionless time \(\tau \). For the colour codes, see the corresponding discussion of the main text

The existence of non-connected branches of the bifurcation diagrams of the periodic attractors has important consequences. Initiating the attractor targeting process from a period-3 orbit, the period-5 attractor can safely be reached according to Fig. 7b (all branches are connected). However, driving the system, e.g. from the period-4 or period-5 orbits to the period-3 attractor, the control process can be successful only with the correct initial phase. A detailed “safe routes” discussion between attractors is discussed in [83].

Although it is not shown in this section, a transformation between any periodic orbits marked by the bold fractions in Fig. 5a is possible. Therefore, it is demonstrated that our attractor targeting technique also works for the asymmetric Toda oscillator. The following section deals with the symmetric Duffing system.

4 Symmetric case: Duffing oscillator

The second test case is the symmetric Duffing oscillator [86], which models, for instance, an elastic pendulum with non-Hookean spring stiffness. The double-well version is written as

$$\begin{aligned} \dot{y}_1= & {} y_2, \end{aligned}$$
(11)
$$\begin{aligned} \dot{y}_2= & {} y_1 - y_1^3 - d y_2 + f_\textrm{D}(t), \end{aligned}$$
(12)

where d is the damping constant and \(f_\textrm{D}\) denotes the general driving function, see Eqs. 34 again. In the case of the Toda system, the control surfaces were easy to visualise with their bounding bifurcation curves. In contrast, the visualisation of the control surfaces of the Duffing oscillator can be a real challenge due to their complexity. Nevertheless, it is still sufficient to compute some bounding curves to prove their existence. Since the system is smooth in terms of state space and parameters, there is a continuous dependence on the initial conditions and parameters. Therefore, at least small stripes exist near the bounding bifurcation curves, which represent the control surface. With increasing damping factor d, the complexity of the control surfaces is reduced. However, a high damping rate might not be achievable in applications, and the number of available attractors is also reduced (low opportunity of suitable attractor selection). Therefore, in the next two subsections, cases with a high and a low damping rate are discussed to demonstrate its effect on the complexity of the surface. The technical procedure of computations is already discussed in Sect. 3 in detail; thus, it is omitted here, and only the control surfaces are depicted in three-dimensional diagrams similar to Fig. 7.

4.1 High damping

Figure 9 shows an example of a control surface between period-1 and period-3 orbits at a damping rate of \(d=0.3\). With \(A_2=0\), the period-1 curve is bounded by a saddle-node (SN, green dot) and a symmetry breaking (SB, black dot) bifurcation with winding numbers 1/1 and 2/1, respectively. For the single-frequency driven limit case of \(A_1=0\), two segments of period-3 curves exist (one around \(A_2=3\) and another near \(A_2=10\)). They are also bounded by a SN and a SB bifurcation. The corresponding winding numbers are 1/3 and 2/3. Since the torsion numbers of all SN points match, connections between the green points are to be expected. For the same reasons, it is true for all the black SB points. To place the control problem in the Farey-tree, see the corresponding green and red fractions in Fig. 4. To satisfy the period number condition introduced in Sect. 2.1, the frequency combination is set to \(f_1=1\) and \(f_2=3\). Observe that this example is in the domain of harmonic resonances (orders \(w=q/p\), where \(q>1\)), while all the cases of the Toda oscillator were related to subharmonic resonances (orders \(w=1/p\)).

Fig. 9
figure 9

Examples of the existence of a control surface between period-1 and period-3 orbits of the Duffing oscillator with high damping (\(d=0.3\))

In Fig. 9, only the dual-frequency bifurcation curves that connect two dots are presented (black curves). There is only a single control surface; however, it connects three branches of the period-3 orbits and the single period-1 curve. Such a surface is multivalued over the \(A_1\)\(A_2\) parameter plane indicating co-existence of attractors. Their origin is a cusp bifurcation shown in the projection of the curve connecting the two green dots of orders 1/3 (solid thin line in the \(A_1\)\(A_2\) plane). A special feature of this control surface is that it enables the transition between the two disjoint period-3 segments that are present at the same driving frequency (\(f_2=3\)). There is no direct connection between these period-3 segments, e.g. by forward-reversed period doubling sequences without changing \(f_2\). Therefore, the temporary dual-frequency driving is also suitable for guiding the system between attractors with the same period numbers and driven with the same frequency value.

4.2 Low damping

In general, decreasing the damping rate of a system leads to a higher number of attractors in a given parameter domain. For a damping rate of \(d=0.02\), the situation of densely “packed” periodic attractors is already demonstrated in Fig. 1 for the single-frequency driven Duffing oscillator. This also leads to more options for attractor selection. However, the shape of the control surfaces can be extremely complex, causing difficulties not only in visualisation but also from an application point of view as the control process occurs along an intricate surface that needs to be known in advance.

Fig. 10
figure 10

Examples of the existence of a control surface between period-1 and period-3 orbits of the Duffing system with low damping (\(d=0.02\)). a a three-dimensional representation of the bifurcation curves and the control surface. b a simplified sketch of the bifurcation structure projected to the \(A_1\)\(A_2\) plane

An example is shown in Fig. 10 for \(d=0.02\). The colour coding of the (bifurcation) curves and the bifurcation points is the same as in the case of the high damping example depicted in Fig. 9. At the single-frequency driven limit case of \(A_2=0\), two segments of period-1 orbits exist; see the blue curves and the corresponding winding numbers of 4/1 and 5/1. When \(A_1=0\), two disjunct period-3 curves exist bounded by SN and SB points having winding numbers of 4/3 and 5/3. Again, the main goal is to locate bifurcation curves in the dual-frequency driven \(A_1\)\(A_2\) parameter plane, which connects two SN or two SB points. Altogether, three such curves are identified and shown in Fig. 10. One black curve connects SB points of orders 5/3 and 4/3, and the other one connects the points of orders 4/1 and 5/1. Note that their initial and final states are at the same single-frequency driven limit case; therefore, they cannot ensure the existence of a control surface. On the other hand, the green bifurcation curve connects a period-3 curve (SN point of order 5/3) and a period-1 curve (SN point of order 5/1). That is, the existence of a control surface is proven.

As the black and green curves depicted in Fig. 10 are folded several times, the shape of the control surface is hard to visualise. Therefore, a simplified sketch of their projection into the \(A_1\)\(A_2\) plane is provided in Fig. 10b. Although the two black curves are separated, they move close to each other in a specific region of the parameter plane. We verified that the black curves are connected with periodic attractors near their shortest distance with additional simulations. Similarly, it is also verified that this domain of stable periodic attractors extends towards the period-3 single-frequency bifurcation curve bounded by points 4/3 and 4/3. The light blue shaded domain shows this validated piece of the control surface in the pictogram. Since the Duffing oscillator is smooth, it is also evident that the control surface exists close to the black and green bifurcation curves. Thus, with proper tuning of the amplitudes, one can guide the system between any of the four branches of the single-frequency driven bifurcation segments (thick, blue lines along the \(A_1\) and \(A_2\) axes).

Far from the light blue region, the shape of the control surface is (still) unidentified; see the question marks in Fig. 10b. The unconnected SN points marked by the green crosses in the pictogram are connected to other single-frequency driven bifurcation branches of periodic orbits (not shown here for clarity). This indicates that the control surface has several branches and overlapping layers connecting several disjunct curves of periodic orbits in the single-frequency driven limit cases. The complexity of the black and green curves shown in Fig. 10a implies that even when computing all bounding curves of the control surface, its exact shape could still be hard to visualise and identify. Thus, the complete mapping of the control surface is beyond the scope of the present paper; the primary objective of proving its existence has already been achieved.

5 Discussion

The main advantage of the presented control method is the possibility of attractor selection without applying feedback to the system. Therefore, it can be a viable option for applications where feedback is impossible to achieve. Thus, it is a gap-filling technique compared to the existing method available in the literature [59]. It is shown that this control method works for different nonlinear oscillators and between different periodic attractors. The Farey-tree helps to identify possible periodic orbits for attractor selection corresponding to the period and torsion number compatibility.

However, attractor selection possibility without feedback also poses problems for the user. First, the control surface through which the control process is realised must be known in advance. In addition, this surface can be highly complex, which makes it difficult to apply this control in practice. A remedy to this issue can be to still apply some form of feedback. However, as the primary goal here is to approximate the position of the system in the control surface, precise information about the state of the system or its Jacobian would still be not necessary. For example, if the Duffing oscillator is a model equation of an elastic pendulum, the harmonic, subharmonic and ultraharmonic peaks in the Fourier-transform of the force on the spring could be a tool to identify the system on a control surface. The reason for this possibility is that winding numbers (which are the key components in the Farey-tree) usually appear in the spectrum of such an indirect quantity. As an example, see the spectral bifurcation diagram of the emitted pressure of a harmonically driven bubble in [92].

Another limitation arises when the control of multistability is the objective. Applications might require fixed or only slightly modified operating parameters. However, significant variations (albeit temporary) in the control parameters are necessary during our control process. Thus, this technique is suitable only for systems where such a temporary large deviation is feasible.

The period number compatibility is relatively easy to satisfy: it needs the application of proper frequency combinations. Using the Farey-tree to identify possible attractor targeting possibilities, however, the most significant constraint is the torsion number compatibility condition; see the relatively sparse options highlighted in Fig. 4. The torsion number compatibility is a necessary condition if one seeks bifurcation curves that establish a direct connection between the selected two kinds of periodic orbits, see the configuration illustrated in Fig. 2c. Nevertheless, the results shown in Fig. 10 imply that although the black curves make no connections between the corresponding single-frequency driven attractors, control is still possible due to the existing stable domain between them (light blue domain). Thus, fulfilling the torsion number compatibility is advantageous but is not a necessary condition when control routes exist that do not follow a bifurcation curve.

The last issue is related to the computational and visualisation difficulties of possibly complex control surfaces (e.g. the low damping case of the Duffing oscillator). In our previous papers [77, 83], we employed the “brute-force” approach; that is, the parameter plane \(A_1\)\(A_2\) is scanned with a fine resolution by applying several randomised initial conditions (to reveal coexisting attractors). It worked fine with a relatively simple control surface such as the bubble oscillator [83] or the Toda system (discussed in the present study). However, for the extremely rich bifurcation structure of the Duffing equation, e.g. Fig. 1, the number of the initial conditions at a given parameter combination had to be as high as 400 to obtain sufficiently smooth surfaces. The required high resolution of the parameters and the large number of initial conditions leads to difficulties in visualisation: the real-time inspection (rotation, magnification) of the tens or hundreds of millions of data points is a cumbersome task causing difficulties in the post-processing phase. Therefore, the approach of the present study was to directly compute the bounding bifurcation curves of the control surfaces with the BVP-C approach, which is fast and does not need the treatment of millions of data points. However, as the results in Sect. 4.2 demonstrated, it cannot solve the visualisation difficulties if the control surface has a very complicated shape. To resolve the above-described visualisation issues, the application of an automated surface reconstruction algorithm together with a proper parameter continuation is mandatory.

6 Summary

The present study introduces a novel attractor selection technique applicable to harmonically driven nonlinear oscillators. It is based on the observation that two periodic attractors that cannot be transformed into each other by tuning the system parameters may be transformed continuously by temporarily adding a second harmonic component to the driving. A necessary but not sufficient condition is the equality of the ratio of the period numbers of the two attractors and the ratio of the frequency component of the temporary dual-frequency driving. Another necessary but not sufficient condition is the equality of the torsion numbers of the bounding bifurcation points of the domain of periodic orbits being transformed. The method was successfully tested on the Toda and the Duffing nonlinear oscillators.