Introduction

Traveling waves of mechanical actuation provide a versatile strategy for locomotion and transport in both natural1,2,3 and engineered4,5,6,7,8 systems across many scales. In vertebrates such as the aquatic lamprey1,9, these and other rhythmic motor patterns are orchestrated by networks of neurons called central pattern generators (CPGs)10, which are often idealized as systems of coupled oscillators1,9. The rhythmic output of these oscillators is relayed to actuators (e.g., muscles) to produce complex motions without the need for sensory feedback. Similar control strategies based on CPGs are used to direct locomotion in macroscopic robots4. At smaller scales, however, it becomes increasingly challenging to accommodate centralized control systems capable of directing the coordinated actions of multiple actuators. Instead, microorganisms such as ciliated protozoa integrate pattern generation and mechanical actuation within a single material system. The oscillatory motions of beating cilia couple to one another through hydrodynamic interactions to produce metachronal waves that drive cellular locomotion through viscous surroundings2,11,12. This biological example illustrates how the coupled motions of many mechanical oscillators can organize spontaneously and autonomously to perform dynamic functions.

The realization of synthetic systems that mimic such functions requires experimental strategies for powering mechanical oscillators and for coupling their motions to achieve the desired dynamics. One approach relies on coupling reaction–diffusion patterns to the mechanical deformation of responsive gels, for example, to achieve traveling wave motions in excitable media7,8. Despite fascinating demonstrations of this approach on millimeter length scales, it remains challenging to miniaturize due to the need for faster reactions that compete with diffusion at smaller scales. To achieve scalable mechanisms of pattern formation, the processes that drive oscillations should scale in the same way as those used to couple neighboring oscillators. In this context, electromechanical oscillators based on contact charge electrophoresis (CCEP)13,14 can provide a useful model on length scales spanning millimeters15 to microns16 (perhaps even nanometers17,18).

CCEP refers to the back-and-forth motion of a conductive particle through an insulating fluid separating two electrodes subject to a constant voltage. The particle charges on contact with either electrode and moves down the applied potential gradient, thereby transporting charge between the biased electrodes. This type of electromechanical oscillator is fundamentally distinct from the weakly damped harmonic oscillators of micro-electromechanical systems (MEMS)19,20, which rely on resonant excitation by time-varying fields. By contrast, CCEP oscillators are powered by a constant thermodynamic driving force and operate even under conditions of strong damping, which arise at small scales and in viscous environments. Similar to those of molecular motors18,21, CCEP motions can be rectified to perform mechanical work or to transport material cargo18,22. Moreover, the charge acquired by the particle and the forces driving its motion are well described by classical electrostatics, which is invariant to changes in scale. The discovery of new CCEP motions at the macroscale is therefore transferable to emerging applications at the microscale13.

Here, we investigate the collective dynamics of many CCEP oscillators positioned along a linear array between two (nearly) parallel electrodes (Fig. 1a). Each oscillator is comprised of a conductive sphere that moves back and forth between the electrodes along a dielectric track. Oscillatory motions are driven by the repeated charging of the particles on contact with either electrode and their subsequent movement in the applied field. The dynamics of neighboring oscillators are coupled to one another through the electrostatic interactions between the charged particles. We show how this electrostatic coupling mediates the organization of phase-locked states in which all oscillators move with a common frequency. Interestingly, the distribution of oscillator phases at steady state corresponds to traveling waves of particle motion with a characteristic wavelength comparable to the electrode separation. These experimental observations are explained by a Kuramoto-like model23,24 that accounts for weak repulsive coupling between neighboring phase oscillators and for small systematic variations in their natural frequencies. We demonstrate how traveling wave synchronization can be used to transport material cargo along the length of the oscillator array. More generally, our approach shows how simple energy inputs can power complex patterns of mechanical actuation, which may be useful in powering the motions of soft robots25,26 and colloidal machines27,28,29,30,31.

Fig. 1
figure 1

Traveling wave synchronization. a Conductive spheres immersed in mineral oil oscillate along dielectric tracks connecting two plane electrodes subject to a constant voltage V. Particles charge on contact with each electrode and move in the electric field E. b Oscillatory dynamics of a single particle showing its position h as a function of time t; yellow markers denote contacts with the electrodes. The applied voltage is V = 19 kV; the electrode separation is L = 25 mm. c Oscillation frequency ωn as a function of the position n along the array. The natural frequency of each oscillator varies with position (solid markers); all oscillators move with a common frequency in the synchronized state (open markers). Error bars represent the standard deviation in the instantaneous frequency, 2π/(tk+1 − tk), over 100 cycles. d Image of the experiment showing particle positions at successive times; scale bar is 3 mm. e Space-time plot of the oscillator phase φ showing the emergence of traveling wave synchronization for the N = 23 oscillators in (c) starting from a random initial configuration. Here, the track period is W = 3 mm; other parameters are listed in (b)

Results

Experiment

Copper spheres (a = 1 mm in radius) immersed in mineral oil were positioned within an array of dielectric tracks connecting two plane electrodes separated by a distance L (Fig. 1a). The tracks were spaced evenly with a period W = 3a and aligned perpendicular to the electrode surfaces and to the direction of gravity. Each track contained a single particle, which was free to move back and forth between the two electrodes. Application of a constant voltage (typically, V = 10 kV to 20 kV) caused the particles to oscillate continuously between the electrodes via CCEP13,14. The conductive particles acquired an electrostatic charge on contact with the biased electrodes and moved under the influence of the applied field. This periodic cycle of contact charging and electrostatic actuation continued for as long as the voltage was applied.

Figure 1b shows the reconstructed trajectory of a single sphere oscillating between the two electrodes. Each time the particle contacts an electrode, its charge changes sign and the particle reverses direction under the influence of the field. To facilitate the analysis of multiple particles over many oscillation cycles, we record the times at which each particle contacts one of the electrodes. From this data, we approximate the phase of each oscillator by interpolating between successive contacts as φ(t) = 2π(t − tk)/(tk+1 − tk) where tk denotes the time of the kth contact and tk ≤ t < tk+1. By definition, the oscillator phase increases at a constant rate equal to the natural frequency, dφ/dt = ω, which is approximated by averaging over many oscillation cycles as ω = 〈2π/(tk+1 − tk)〉k. Repeating this analysis for each particle in isolation (i.e., one track at a time), we observed small systematic variations in the natural frequency ωn with respect to the oscillator position n along the array (Fig. 1c, solid markers). The spatial gradients in the oscillator frequency were caused by small deviations in the electrode alignment, which was controlled only to within ca. 1° of parallel. Particles oscillated faster where the electrodes were closer together due to an increase in field strength at those locations.

Despite variations in their natural frequencies, linear arrays of N particle oscillators moving simultaneously evolved in time to a phase-locked state, in which each particle moved with a common frequency (Fig. 1c). Interestingly, the synchronized particles did not move in phase with one another but rather organized to form a single traveling wave, which remained stable for hundreds of oscillation cycles (Fig. 1d; Supplementary Movie 1). Space-time plots of the oscillator phase φn(t) show how this wave-like pattern emerged from a disordered initial configuration (Fig. 1e; see also Supplementary Fig. 1 and Supplementary Movie 2). The direction of wave propagation was related to the spatial gradient in the oscillators’ natural frequencies: waves traveled from slower to faster oscillators. Notably, the traveling wave patterns were robust to disturbances and recovered when disrupted by external perturbations (Supplementary Movie 3).

The stability of the synchronized state and the distribution of oscillator phases therein depended on the number of oscillators N in the array. For N = 2 oscillators, the particles moved in antiphase as reported previously15 (Fig. 2a). Such antiphase synchronization suggests that neighboring oscillators are coupled together by repulsive interactions such as the Coulombic forces between like-charged particles. As the number of particles was increased, the average phase difference between successive oscillators decreased giving rise to stable traveling waves with wavelengths spanning many oscillators (Fig. 2b; see also Supplementary Fig. 2 and Supplementary Movie 4). Beyond some critical number of oscillators N*, the synchronized state became unstable (Fig. 2c). Above this threshold, traveling waves were observed to grow and break near the center of the array in a periodic fashion (Supplementary Movie 5). Such breaking events are characterized by dislocation-like defects in the space-time plots for the oscillator phases (Fig. 2c). The breaking frequency increased as the number of oscillators was increased beyond the stability threshold N* (Supplementary Fig. 3). For \(N \gg N^ \ast\), wave breaking was no longer periodic but rather occurred at irregular intervals and at different locations (Supplementary Fig. 4 and Supplementary Movie 5).

Fig. 2
figure 2

Characterization of traveling waves. a N = 2 oscillators moving in antiphase. The plot shows the sine of the oscillator phases (bottom); the space-time image shows the same data in a different way (top). b Space-time plot for N = N* = 15 oscillators showing 20 oscillation cycles. c Space-time plots for N > N* showing defects that occur at regular time intervals. The markers show points in the space-time lattice with five-fold (purple) and seven-fold (yellow) coordination. d Time-averaged phase difference χn as a function of position n for N = N* oscillators. Data for (ad) were collected with L = 25 mm, W = 3 mm, and V = 18 kV. e Characteristic wavelength λ as a function of the electrode separation L for N = N* and different oscillator spacings W. Error bars represent the standard deviation from five independent experiments

To better understand the synchronized state, we quantified the distribution of oscillator phases for N = N* as a function of the electrode separation L and the oscillator spacing W. For each electrode configuration, we started with N > N* oscillators and removed one particle at a time from the end of the array until reaching a stable synchronized state, at which the phase difference between neighboring oscillators was constant in time. Figure 2d shows the time-averaged phase difference \(\chi _n^{{\mathrm{ss}}} = \left\langle {\varphi _{n + 1}\left( t \right) - \varphi _n\left( t \right)} \right\rangle _t\) at the stationary state for a typical experiment. The phase difference was smallest (in magnitude) near the center of the array and largest near the edges. For each such state, we defined a characteristic wavelength in terms of the average phase difference as \(\lambda = 2\pi W/\left\langle {\chi _n^{{\mathrm{ss}}}} \right\rangle _n\). This wavelength increased linearly with the electrode spacing L but was independent of the oscillator spacing W over the range explored (Fig. 2e).

Minimal model of traveling wave synchronization

The experimental observations are reproduced by a Kuramoto-like model23 that accounts for the local repulsive coupling between neighboring oscillators and the systematic variations in their natural frequencies. In the model, we adopt the following simplified description of CCEP dynamics18. On contact with either electrode, a conductive sphere acquires a charge \(q = \pm {\textstyle{2 \over 3}}\pi ^3\varepsilon a^2E\), where E is the electric field at the electrode surface, and ε is the permittivity of the surrounding dielectric. This expression—first derived by Maxwell32—assumes that charge flows to/from the particle until its potential equals to that of the contacting electrode33. The electrostatic force on the particle is approximated as F = qE, which drives motion with velocity U = F/γ, where γ is a constant friction coefficient. Figure 3a shows how the charge q and position h of a single oscillator depend on its phase φ = ωot, where ωo = πqoEo/γL is the natural frequency defined in terms of the applied field Eo = V/L and the Maxwell charge \(q_{\mathrm{o}} = {\textstyle{2 \over 3}}\pi ^3\varepsilon a^2E_{\mathrm{o}}\). By comparing the measured frequency in Fig. 1c to the prediction of the model, the friction coefficient can be estimated to be γ = 1.8 × 10−3 N s m−1, which is ca. 4 times larger than the Stokes drag, γs = 6πηa. The increased drag is attributed to the solid boundaries formed by the patterned tracks and the planar electrodes (Supplementary Fig. 5)34.

Fig. 3
figure 3

Minimal model of traveling wave synchronization. a Charge q and position h of an idealized oscillator as a function of its phase φ. b Phase-averaged electrostatic interaction between two weakly-coupled oscillators as a function of their phase difference χ. The interaction is scaled by \(f_{\mathrm{o}} = q_{\mathrm{o}}^2/\varepsilon W^2L\gamma\); the oscillator spacing is W = 0.12L. c Stable stationary solution for the phase difference χn of N = 15 oscillators. Experimental data for the same conditions is reproduced for comparison. The predicted phase differences are also plotted in (b) to show their relationship with the interaction function f( ). d Sine of the oscillator phase φn showing the wave-like pattern. e Dynamics of the N = 15 oscillators starting from random initial conditions. f Oscillator dynamics for N = 20 showing the periodic breaking of the traveling waves. In (c)–(e), the critical oscillator number is chosen to be N* = 15.5 as in experiment, which implies a frequency gradient Δ = 0.0096fo. The natural frequency is \(\omega _o = {\textstyle{3 \over {2\pi ^2}}}(W/a)^2f_o = 1.4f_o\) where W/a = 3 as in experiment; the ratio Δ/ωo = 0.0070 implies an electrode angle of θ = 1.1°

The presence of neighboring oscillators influences both the charge that a particle acquires and the speed at which it moves. To describe these interactions, we decompose the electric field as E = Eo + E′, where Eo is the applied field and E′ is a disturbance field due to neighboring particles, which are approximated as point charges (see Methods). In the limit of weak interactions (i.e., when \(E^\prime \ll E_{\mathrm{o}}\)), the moving particles are well approximated as phase oscillators with weak repulsive coupling between nearest neighbors. The phase of the nth oscillator evolves in time as

$$\frac{{\partial \varphi _n}}{{\partial t}} = \omega _n + f(\varphi _n - \varphi _{n - 1}) + f(\varphi _n - \varphi _{n + 1}),$$
(1)

where ωn is the natural frequency, and the function f( ) describes the phase-averaged interactions between neighboring oscillators as a function of their phase difference χn = φn+1 − φn. The boundaries of the array are open such that oscillators at the edges (n = 1, N) interact with only one neighbor35. We assume a uniform gradient in the natural frequency: \(\omega _n = \omega _{\mathrm{o}} + {\mathrm{\Delta }}\left[ {n - {\textstyle{1 \over 2}}(N + 1)} \right]\) for n = 1…N, where ωo is the mean oscillator frequency, and Δ is the frequency difference between successive oscillators due to a small angle θ between the electrodes \(\left( {{\mathrm{\Delta }}/\omega _{\mathrm{o}} \approx 3(W/L)\theta \ll 1} \right)\). Interestingly, this model was investigated previously as a possible explanation for traveling wave oscillations in the CPG of the aquatic lamprey1.

In the present context, the primary interaction between neighboring oscillators is electrostatic in origin; other interactions are neglected. In particular, the neglect of hydrodynamic interactions was supported by experiments in which neighboring particles were separated by solid walls without altering their collective dynamics (Supplementary Fig. 6). Approximating the particles as point charges, we compute the electrostatic interaction averaged over one oscillation cycle for a constant phase difference χ (see Methods). These repulsive interactions are described by an odd function characterized by the location χmax and height fmax of its maximum (Fig. 3b). For large electrode separations \(\left( {L \gg W} \right)\), these quantities are well approximated as \(f_{\mathrm {max}} \approx {\textstyle{1 \over {2\sqrt 3 }}}(q_{\mathrm{o}}^2/\varepsilon W^2L\gamma )\) and \(\chi _{\mathrm {max}} \approx {\textstyle{\pi \over {\sqrt 2 }}}(W/L)\). Our assumption of weak coupling implies that the phase velocity due to interactions is small compared to the natural frequency—that is, \(f_{{\mathrm{max}}} \ll \omega _{\mathrm{o}}\) or, equivalently, \(a/W \ll 0.72\). Additional simulations incorporating the full amplitude dynamics provide further support for the phase oscillator approximation under the experimental conditions of a/W = 0.33 (Supplementary Note 1 and Supplementary Fig. 7).

The competition between the repulsive interactions and the frequency gradient leads to stable stationary solutions described by \(f(\chi _n) = - \frac{1}{2}{\mathrm{\Delta }}n(N - n)\) (see Methods). This solution exists provided that the number of oscillators is below some critical value \(N^ \ast = \sqrt {8f_{{\mathrm{max}}}/|{\mathrm{\Delta }}|}\). Figure 3c–e shows the stable solution in terms of the phase difference and the sine of the phase for N = 15 oscillators—just below the chosen critical value of N* = 15.5. The addition of more particles (N > N*) causes the waves to break periodically in the center of the array (Fig. 3f). Physically, faster oscillators pile up behind the slower ones and are prevented from passing by the local repulsive interactions. In this way, the frequency gradient acts to compress the oscillator phases together to create longer waves that travel always from slower to faster oscillators. When compression by the frequency gradient exceeds the repulsive barriers between neighboring oscillators, global synchronization is lost and the waves break.

At the critical oscillator number (N = N*), repulsive interactions are at their maximum (\(\chi _n^{{\mathrm{ss}}}\sim \chi _{{\mathrm{max}}}\)), and the characteristic wavelength scales linearly with the electrode separation in agreement with experimental observations (Fig. 2e)—that is, \(\lambda \sim 2\pi W/\chi _{{\mathrm{max}}}\sim L\) for \(W \ll L\). Moreover, the critical oscillator number observed in the experiment implies a certain angle between the electrodes, which can be estimated from the model as \(\theta = {\textstyle{1 \over 3}}(L{\mathrm{\Delta }}/W\omega _{\mathrm{o}}) = {\textstyle{{8\pi ^2} \over {9\sqrt 3 }}}\left( {a^2L/W^3N^{ \ast 2}} \right)\). For the conditions of Fig. 2, this angle is predicted to be θ = 1.1°, which agrees well with that measured from the experimental images (Fig. 1b). Smaller angles allow for stable waves containing more particles.

The average phase within the wave evolves in time at a constant rate equal to the average frequency ωo, which is specified independently of the wavelength. In the experiment, the oscillator frequency could be altered by changing the applied voltage; however, the range of accessible frequencies was limited by dielectric breakdown at higher voltages and by particle sticking at lower voltages14. Notably, the frequency of the phase-locked state was slightly faster than the average natural frequency (Fig. 1d). Dipolar interactions among the particles (neglected here) break the odd symmetry of the interaction function thereby altering the frequency of the synchronized state.

Discussion

We have shown how arrays of electromechanical oscillators can organize spontaneously to form synchronized traveling waves of particle motions powered by a constant input voltage. The direction of wave propagation is determined by small gradients in the natural frequencies of the oscillators and can be controlled by introducing a small angle between the otherwise parallel electrodes. The characteristic wavelength is approximately equal to the electrode separation L and corresponds to the largest possible wave that can be stabilized by repulsive interactions among the charged particles. The traveling wave motions are robust to perturbations and can be harnessed to direct the transport of material cargo. In particular, Fig. 4a shows how traveling waves can direct the motion of gas bubbles floating at the interface just above the oscillating particles (see also Supplementary Movie 6). Bubbles are transported in the direction of wave propagation at speeds comparable to the wave velocity (Fig. 4b). In contrast to previous strategies for rectifying CCEP motions based on ratcheted channels22 or asymmetric particles16, the present approach relies on the self-organization of multiple particles working in concert.

Fig. 4
figure 4

Transport of air bubbles via traveling waves. a Schematic illustration of the experimental set-up from the side. b Trajectories of four bubbles (white) superimposed over the space-time plot of the oscillator phase. See also Supplementary Movie 6

Beyond this initial demonstration, traveling wave synchronization of CCEP oscillators may be useful for peristaltic pumping within microfluidic systems. Unlike standard pressure pumps, those based on traveling wave motions allow for recirculating flows36 and would complement existing applications of CCEP in microfluidic cargo transport22,37, separations22, and fluid mixing38. These CCEP-powered unit operations rely on constant voltages at low input power, which makes them attractive for use in portable, battery-powered microfluidic devices13. One important limitation of these oscillators is their reliance on the dielectric environment provided by non-polar fluids; CCEP motions cannot be sustained in even weakly conductive liquids such as deionized water38. However, recent advances in soft robotics suggest one strategy for circumventing this limitation by encapsulating non-polar liquids in stretchable, impermeable compartments26. These soft composite materials can be deformed by applying voltages to stretchable electrodes patterned on their surfaces. By incorporating arrays of CCEP oscillators within such dielectric compartments, it should be possible to create self-organized motions that drive transient deformations and thereby locomotion of soft robotic materials.

Methods

Experiment set-up

Periodic arrays of dielectric tracks were 3D printed in acrylonitrile butadiene styrene (ABS) with a period of W = 3–5 mm. The array was sandwiched between two copper plates separated by a distance L = 10–30 mm (McMaster-Carr 3350K201) and immersed in mineral oil (Sigma Aldrich CAS No. 8042-47-5). The tracks were aligned perpendicular to the electrode surfaces and to the direction of gravity. Each track contained a single copper sphere (McMaster-Carr No. 64715K16, radius a = 1 mm), which rolled freely between the two electrodes (Fig. 1a). Prior to use, the system was heated in a 60 °C oven for several hours to remove any moisture. The copper electrodes were connected to an amplifier (Trek 20/20C) with an output voltage V = 0–20 kV. The particles were illuminated from below by a light emitting diode (LED) and their motions captured by a high-speed camera (Phantom V310). During each experiment, the electrodes were energized to a specified voltage and the resulting particle motions captured. The voltage was switched off for at least 1 min between successive experiments to allow for the dissipation of any space charge accumulated on the surfaces of the tracks and/or the electrodes. Particle location data were extracted using standard image tracking routines in MATLAB.

Bubble transport

Bubbles were generated within the oscillator array by a continuous flow of air supplied by a syringe pump at a rate of 0.2 ml min−1. The air was delivered through a tube that connected to a hole in the base of one of the tracks (Fig. 4a). The bubbles (ca. 4 mm in diameter) were transported down the length of the array by the coordinated motions of N = 17 particles of radius a = 1.5 mm (Supplementary Movie 6). In these experiments, the applied voltage was V = 18 kV, the electrode separation was L = 20 mm, and the height of the mineral oil above the base of the track was 4 mm. Bubbles were always transported in the direction of wave propagation, which was controlled by introducing a finite angle between the two electrodes. Control experiments with no applied voltage showed no bubble motion in either direction.

Electrostatic interactions

We first consider a single point charge q positioned at a height z = h between two grounded planes at z = 0 and z = L. The resulting electrostatic potential at point x is

$$\phi (x) = \frac{q}{{\pi L\varepsilon }}\mathop {\sum}\limits_{m = 1}^\infty {\mathrm{sin}}\left( {\frac{{m\pi h}}{L}} \right){\mathrm{sin}}\left( {\frac{{m\pi z}}{L}} \right)K_0\left( {\frac{{m\pi r}}{L}} \right),$$
(2)

where \(r = \sqrt {x^2 + y^2}\) is the radial distance from the charge, and K0( ) is the zeroth order modified Bessel function of the second kind. For large arguments, the Bessel function decays exponentially as \(K_0(s) \to e^{ - s}\sqrt {\pi /2s}\); the infinite series can be truncated for some \(m \gg L/\pi r\) to obtain an accurate approximation. The corresponding electric field in the z-direction is given by Ez = −∂ϕ/∂z.

We now consider how the disturbance field E′ due to one oscillator i influences the dynamics of another oscillator j in the limit of weak coupling. At zeroth order in E′, the phase of each oscillator increases at a constant rate ωo such that φi = ωot and φj = ωot + χ, where χ = φj − φi is the constant phase difference. The charge q = q(φ) and position h = h(φ) of each oscillator depend on the phase as shown in Fig. 3a. At first order in E′, the disturbance in the phase of oscillator j evolves as

$$\frac{{d\varphi _j^\prime }}{{dt}} = \frac{{\pi n(\varphi _j)}}{{L\gamma }}\left[ {q(\varphi _j)E^\prime (\varphi _i,\varphi _j) + q^\prime (\varphi _i,\varphi _j)E_{\mathrm{o}} + \ldots } \right],$$
(3)

where the factor πn(φj)/ relates the electric force to the corresponding phase velocity with n(φj) = ±1 indicating the direction of travel. The bracketed terms describe two types of electrostatic interactions. First, the disturbance field due to particle i drives particle j to move faster or slower between the electrodes. Using the point charge solution (2), this disturbance E′(φi, φj) is given by

$$E^\prime (\varphi _i,\varphi _j) = - \frac{{q(\varphi _i)}}{{L^2\varepsilon }}\mathop {\sum}\limits_{m = 1}^\infty m{\mathrm{sin}}\left( {\frac{{m\pi h(\varphi _i)}}{L}} \right){\mathrm{cos}}\left( {\frac{{m\pi h(\varphi _j)}}{L}} \right)K_0\left( {\frac{{m\pi W}}{L}} \right),$$
(4)

where W is the oscillator spacing. Second, the disturbance field due to particle i alters the charge acquired by particle j on contact with either electrode; the disturbance charge q′(φi, φj) is given by

$$q^\prime (\varphi _i,\varphi _j) = \left\{ {\begin{array}{*{20}{l}} { + {\textstyle{2 \over 3}}\pi ^3\varepsilon a^2E^{\prime}( - \chi ,0)} \hfill & {0 \le \varphi _j < \pi } \hfill \\ { - {\textstyle{2 \over 3}}\pi ^3\varepsilon a^2E^{\prime}(\pi - \chi ,\pi )} \hfill & {\pi \le \varphi _j < 2\pi } \hfill \end{array}} \right..$$
(5)

Physically, the charge on particle j is determined by its most recent contact with either electrode (φj = 0 or π); the field due to particle i at the time of that contact determines the disturbance charge.

We can now average these two interactions over one oscillation cycle to obtain the phase-averaged interaction function,

$$f(\chi ) = \frac{\pi }{{L\gamma }}\frac{1}{{2\pi }}{\int}_0^{2\pi } n(\varphi _j)\left[ {q(\varphi _j)E^\prime (\varphi _j - \chi ,\varphi _j) + q^\prime (\varphi _j - \chi ,\varphi _j)E_{\mathrm{o}}} \right]d\varphi _j.$$
(6)

Carrying out the integration, each of the two electrostatic interactions produce contributions of the same mathematical form with the second term contributing twice that of the first,

$$f(\chi ) = \frac{{3\pi q_{\mathrm{o}}^2}}{{2\varepsilon L^3\gamma }}\mathop {\sum}\limits_{m = 1}^\infty m{\mathrm{sin}}(m\chi )K_0\left( {\frac{{m\pi W}}{L}} \right).$$
(7)

This final expression is plotted in Fig. 3b for the case of W/L = 0.12.

Stationary solution

Starting from Eq. (1), we recast the oscillator dynamics in terms of the phase difference χn = φn+1 − φn and the average phase \({\mathrm{\Phi }} = {\textstyle{1 \over N}}\mathop {\sum}\nolimits_n \varphi _n\). Taking the difference in the phase dynamics of successive oscillators, we obtain the following equation for the phase difference:

$$\frac{{\partial \chi _n}}{{\partial t}} = {\mathrm{\Delta }} - f(\chi _{n - 1}) + 2f(\chi _n) - f(\chi _{n + 1})\quad {\mathrm{for}}\,n = 2, \ldots ,N - 2,$$
(8)

which makes use of the fact that f( ) is an odd function. At the open boundaries of the array, the phase difference evolves as

$$\frac{{\partial \chi _1}}{{\partial t}} = {\mathrm{\Delta }} + 2f(\chi _1) - f(\chi _2)\quad {\mathrm{and}}\quad \frac{{\partial \chi _{N - 1}}}{{\partial t}} = {\mathrm{\Delta }} - f(\chi _{N - 2}) + 2f(\chi _{N - 1}).$$
(9)

In addition to these N − 1 equations, the dynamics of the N oscillators is described by the that of the average phase, ∂Φ/∂t = ωo, which is fully decoupled from the phase differences. Setting the time derivatives in Eqs. (8) and (9) equal to zero, the resulting recurrence equation can be solved to obtain the stationary solution, \(f(\chi _n) = {\textstyle{1 \over 2}}{\mathrm{\Delta }}n(n - N)\), presented in the main text. This solution exists provided that \(f_{{\mathrm{max}}} > {\textstyle{1 \over 8}}N^2|{\mathrm{\Delta }}|\) (Supplementary Note 2) and is stable when f′(χn) < 0 (Supplementary Note 3). The characteristic relaxation time for approaching the stationary state is given by the diffusive-like scaling relation \(\tau \sim \chi _{{\mathrm{max}}}N^2/\pi ^2f_{{\mathrm{max}}}\).