Limit cycles
We explain how HarmonicBalance.jl uses a new technique to find limit cycles in systems of nonlinear ODEs. For a more in depth overview see Chapter 6 in Jan Košata's PhD theses or del_Pino_2024.
Limit cycles from a Hopf bifurcation
The end product of the harmonic balance technique are what we call the harmonic equations, i.e., first-order ODEs for the harmonic variables
These Odes have no explicit time-dependence - they are autonomous. We have mostly been searching for steady states, which likewise show no time dependence. However, time-dependent solutions to autonomous ODEs can also exist. One mechanism for their creation is a Hopf bifurcation - a critical point where a stable solution transitions into an unstable one. For a stable solution, the associated eigenvalues
which is an example of a limit cycle. We denote the originating steady state as Hopf-unstable.
We can continue to use harmonic balance as the solution still describes a harmonic response Allwright (1977). If we translate back to the the lab frame [variable
Ansatz
Original ansatz
Having seen how limit cycles are formed, we now proceed to tackle a key problem: how to find their frequency
In this formulation, limit cycles may be obtained by solving the resulting harmonic equations with a Runge-Kutta type solver to obtain the time evolution of
Extended ansatz
Including newly-emergent pairs of harmonics is in principle straightforward. Suppose a limit cycle has formed in our system with a frequency
where each of the
Gauge fixing
We now constrain the system to remove the
where we defined
which turns into
We see that fixing the free phase has effectively removed one of the variables, since
to remove the infinite degeneracy. Note that
The harmonic equations can now be solved using homotopy continuation to obtain all steady states. Compared to the single-harmonic ansatz however, we have significantly enlarged the polynomial system to be solved. As the number of solutions scales exponentially (Bézout bound), we expect vast numbers of solutions even for fairly small systems.