š Coupled Oscillators ā Emergent Synchronisation¶
This simulation implements the Kuramoto model: a classic model of how synchronisation emerges from the interaction of many oscillators with different natural frequencies.
š§ Idea¶
- N oscillators each have their own natural frequency Ļ_i.
- They are coupled through pairwise sine interactions:
dĪø_i/dt = Ļ_i + (K/N) Ī£_j sin(Īø_j ā Īø_i)
- Below a critical coupling K_c: oscillators remain incoherent (each runs at its own speed).
- Above K_c: oscillators spontaneously synchronise ā a phase transition to collective order.
This is the same mechanism behind synchronising fireflies, pacemaker cells, and coupled neuronal oscillators.
š Order Parameter¶
The simulation tracks r(t) ā [0, 1]:
| r | Meaning |
|---|---|
| ā 0 | Fully incoherent, random phases |
| ā 1 | Perfectly synchronised, all phases aligned |
š¼ Visualisation¶
- Left panel ā unit circle with oscillator phases as dots; red arrow = mean field direction and magnitude r
- Right panel ā order parameter r(t) over time
Press ESC to exit.
ā¶ Run¶
Experiment ideas¶
- Set
K_COUPLING = 0.5ā no synchronisation - Set
K_COUPLING = 4.0ā fast, strong synchronisation - Increase
N_OSCILLATORSfor a cleaner phase transition
š References¶
- Kuramoto, Y. (1975). Self-entrainment of a population of coupled non-linear oscillators. International Symposium on Mathematical Problems in Theoretical Physics.