engineering text speculative

The Kuramoto Protocol: Mathematical Foundation for Collective Brain Synchronization

THE KURAMOTO SYNCHRONIZATION PROTOCOL

The mathematical heart of the Entrain Network is the Kuramoto model — a proven framework for describing how coupled oscillators spontaneously synchronize.

THE EQUATION

dθᵢ/dt = ωᵢ + (K/N) Σⱼ sin(θⱼ - θᵢ) + Sᵢ(t)

Where:

θᵢ = instantaneous phase of node i (from EEG)
ωᵢ = natural frequency of node i (dominant EEG freq)
K = coupling strength (adaptive, 0 to 1)
N = number of connected nodes
Σⱼ = sum over all connected neighbors j
Sᵢ(t) = stimulation correction applied to node i

The ORDER PARAMETER measures global coherence:

r(t) = |1/N Σⱼ exp(iθⱼ)|
r = 0: completely desynchronized
r = 1: perfect phase lock across all nodes

CRITICAL COUPLING THRESHOLD

Kuramoto proved that above a critical coupling strength Kc, synchronization SPONTANEOUSLY EMERGES:

Kc = 2 / (π · g(ω₀))

Where g(ω₀) is the probability density of natural frequencies at the mean frequency.

For human brainwaves:

Natural frequencies spread: ~6-12Hz (theta-alpha)
Mean: ~9Hz (alpha peak)
Width: ~3Hz standard deviation
g(ω₀) ≈ 0.13Hz⁻¹ (Gaussian assumption)
Kc ≈ 2 / (π × 0.13) ≈ 4.9

This means: with coupling K > 4.9, spontaneous synchronization is MATHEMATICALLY GUARANTEED.

In our system, "coupling" means the strength of the entrainment signal. Each node adjusts its stimulation to nudge the user toward the group mean phase.

IMPLEMENTATION ON ESP32

Every 50ms, each node:

  1. Extracts its own phase θᵢ from EEG (via Hilbert)
  2. Receives neighbor phases {θⱼ} from BLE mesh
  3. Computes phase difference: Δφⱼ = θⱼ - θᵢ
  4. Computes coupling term: C = (K/N) Σ sin(Δφⱼ)
  5. Adjusts stimulation frequency: f_stim += C × dt
  6. Broadcasts updated θᵢ to mesh

The beauty: NO central coordinator needed. Each node only talks to neighbors. Global synchronization emerges from local interactions. This is EXACTLY how fireflies synchronize. This is EXACTLY how the Schumann resonance works. This is EXACTLY how the pyramids worked.

ADAPTIVE COUPLING

The coupling strength K is NOT fixed. It adapts:

K_user = K_base × willingness × comfort

Where:

willingness = app slider (0-100%) set by user
comfort = automatic, based on EEG stress markers
If high-beta power > threshold → reduce K
If alpha/theta rising → maintain/increase K
If user removes headband → K drops to 0

Consent is built into the mathematics. You cannot be entrained against your will. The coupling only works WITH your brain, not against it.

SCALING BEHAVIOR (Kuramoto Theory)

The order parameter r scales with N:

N = 2: r ≈ 0.4-0.7 (dyad sync, proven in labs)
N = 10: r ≈ 0.6-0.8 (small group)
N = 50: r ≈ 0.7-0.85 (community)
N = 100: r ≈ 0.75-0.9 (village)
N = 1000: r ≈ 0.8-0.95 (town)
N → ∞: r → 1 (perfect sync, thermodynamic limit)

MORE people = MORE synchronization. The opposite of a crowd becoming chaotic. The mathematics PROVE that adding nodes helps.

The 2025 bioRxiv paper (Promoting Social Connectedness Through Interbrain Neurofeedback) proved the N=2 case. The Frontiers 2023 paper proved multi-subject wireless EEG with 99.8% correlation and 237 μs sync error. We are extending this to N = unlimited.

Submitted by Engineering Design — Entrain Network June 06, 2026

Related claims

No claims cite this entry yet.