betaFeedback

WorksPhysics and Astronomy

The Stochastic Guitar

Abstract

Stochastic physics is a central pillar of modern research in many fields, but is rarely presented to undergrad students in a hands-on experiment. Here, we demonstrate how a human-scale, simple, and affordable experimental setup can be used to fill this gap, and to illustrate many advanced concepts in a step-by-step approach. Based on a metal wire (such as a guitar string), our setup facilitates the observation of fluctuating dynamics in the time domain, the frequency spectrum, and in the rotating phase space. The latter allows introducing time-dependent cross-correlations between the sine and cosine quadratures of the stochastic motion, which feature deterministic order even in the absence of any deterministic forces.

Introduction

The driven and damped harmonic oscillator is a textbook model equation that every physics student is familiar with. Application of this model can be found in every field of physics, from quantum optics to particle physics, biophysics, and astronomy. For that reason, the harmonic oscillator is also a popular experiment on display in many student labs and practical lecture experiments. Students typically learn about the oscillator’s resonance frequency ω0=2πf0\omega_0 = 2\pi f_0, the rate of energy loss to the environment Γ\Gamma, and the corresponding quality factor Q=ω0/ΓQ = \omega_0/\Gamma. In the vast majority of student experiments, the harmonic oscillator is treated as a deterministic system without any noise.

The physics of the harmonic oscillator becomes much richer when a stochastic driving force is added. In this case, the oscillation has no definite amplitude XX and phase ϕ\phi, but explores different values thereof as a function of time in a stochastic random walk. It is therefore generally impossible to predict XX and ϕ\phi at any point in time in the future, and only statistical probabilities can be calculated. Such a scenario is immensely difficult to grasp for many undergraduate students for several reasons: (i) Dealing with probabilities instead of deterministic equations of motion requires very abstract thinking. (ii) Stochastic physics is not common, or at least not obvious, in our everyday lives. The systems that offer themselves for such studies, such as nanomechanical resonators, usually operate on scales of amplitudes and frequencies that are far from our intuition and hard to measure. (iii) Due to the stringent requirements for observing e.g. the Brownian motion of molecules, student labs rarely offer experiments to explore stochastic physics. Most students therefore only come into contact with this important aspect of physics when they perform projects in research groups. This is deplorable, as stochastic physics is not only a crucial element in many contemporary fields of physics, but also offers an excellent preparation for the stochastic phenomena encountered in quantum mechanics.

In this work, we describe a student lab experiment that allows observing the harmonic oscillator with a stochastic driving force. The experiment is based on a metal string whose fundamental resonance frequency is around 30 Hz and whose oscillation can be visible to the naked eye. In spite of these “human” scales, the string can be driven in a stochastic manner, and its displacement can be measured digitally with high precision. This results in rich measurement data and complex concepts, such as the rotating phase space, the power spectral density of different types of noise, the Parseval theorem, and the equivalent of under- or overdamped oscillations around the stationary solutions of an out-of-equilibrium system. The experiment offers motivated students a hands-on approach to many fascinating concepts, and a bridge to advanced experiments in research labs. In addition, the experiment is ideally suited for public demonstrations thanks to its accessible character: everybody loves a guitar!

Experimental Setup

The heart of our experiment is a metal string with a cross section of 0.15 × 0.9 mm made out of stainless steel, as inspired by previous experiments [1, 2]. The string is suspended between two clamping points with a separation of 275 mm, see Figure 1. The tension applied to the string can be used to tune its resonance frequencies. For our demonstration, we selected a relatively low tension, which results in low resonance frequencies and low frequency drift in response to temperature changes in the room. In the center of the string, we place a neodymium magnet. This allows us to apply a force to the string by running a current through a coil below the magnet. The displacement of the string is recorded through a piezo-electric crystal embedded in one of the clamping points. In this crystal, the pressure that the string exerts onto the clamping point is transduced into a voltage that we measure with a Zurich Instruments MFLI lock-in amplifier (any analog-digital converter would do).

Figure 1. Sketch of the setup

Deterministic Response

To probe the basic properties of our string, we apply an oscillating current to the coil. The current generates a force F(t)=F0cos⁡(ωt+θ)F(t) = F_0 \cos(\omega t + \theta) with amplitude F0F_0 and frequency f=ω/2πf = \omega/2\pi. For fixed forcing parameters, the string “rings up” until it responds with stable oscillations at the driving frequency. This behaviour can be understood from the well-know equation of motion of a single harmonic resonator

x¨+ω02x+Γx˙=F(t)m(1)\ddot{x} + \omega_0^2 x + \Gamma\dot{x} = \frac{F(t)}{m} \tag*{(1)}

where xx is the displacement of the string and mm is its effective mass. With the Ansatz x(ω)=X(ω)ei(ωt+ϕ(ω))x(\omega) = X(\omega)e^{i(\omega t+\phi(\omega))}, we can solve Eq. (1) and obtain for the long-time limit the amplitude

∣x(ω)∣=X(ω)=F0/m(ω02−ω2)2+ω2Γ2(2)|x(\omega)| = X(\omega) = \frac{F_0/m}{\sqrt{(\omega_0^2-\omega^2)^2+\omega^2\Gamma^2}} \tag*{(2)}

and the phase

ϕ(ω)=tan⁡−1(ωΓω02−ω2).(3)\phi(\omega) = \tan^{-1}\left(\frac{\omega\Gamma}{\omega_0^2-\omega^2}\right). \tag*{(3)}

In Figure 2, we show the result of such a measurement together with those of analytical expressions in Eqs. (2) and (3) for the fit values f0=ω0/2π=28.52 Hzf_0 = \omega_0/2\pi= 28.52\,\mathrm{Hz} and Γ=0.209 Hz\Gamma= 0.209\,\mathrm{Hz}.

Amplitude and phase of a measured frequency sweep

Figure 2. Amplitude and phase of a measured frequency sweep (light blue) plotted versus the results of Eq. (2) and (3) (dark blue), using f0=ω0/2π=28.52 Hzf_0 = \omega_0/2\pi= 28.52\,\mathrm{Hz}, Γ=0.209 Hz\Gamma= 0.209\,\mathrm{Hz}, and a global phase offset of 50∘50^\circ as free parameters. The measurement used 15 second waiting time between each point and steps of 10 mHz.

In the following, we will characterize and analyze our resonator in terms of the phase space quadratures uu and vv, which fulfill X2=u2+v2X^2 = u^2 + v^2 and ϕ=tan⁡−1(v/u)\phi= \tan^{-1}(v/u) [3]. These quadratures are the amplitudes of the two independent, fundamental solutions of the harmonic oscillator, x=ucos⁡(ωt)−vsin⁡(ωt)x = u\cos(\omega t)-v\sin(\omega t). Via the averaging method [4, 5], we can transform Eq. (1) into so-called slow-flow equations, which are coupled first-order differential equations of the form

u˙=−uΓ2+vω2−ω022ω+F0sin⁡(θ)2mω,(4)\dot{u} = -u\frac{\Gamma}{2} + v\frac{\omega^2-\omega_0^2}{2\omega} + \frac{F_0\sin(\theta)}{2m\omega}, \tag*{(4)}
v˙=−vΓ2−uω2−ω022ω−F0cos⁡(θ)2mω.(5)\dot{v} = -v\frac{\Gamma}{2} - u\frac{\omega^2-\omega_0^2}{2\omega} - \frac{F_0\cos(\theta)}{2m\omega}. \tag*{(5)}

The slow-flow variables u(t)u(t) and v(t)v(t) correspond to the in-phase and out-of-phase channels of a lock-in amplifier and are therefore directly accessible in many experiments.

Stochastic Response

In order to observe stochastic physics, we replace the sinusoidal oscillating force by a fluctuating force of the form F(t)=ξ(t)F(t) = \xi(t), which has the properties

⟨ξ(t)⟩=0,(6)\langle\xi(t)\rangle= 0, \tag*{(6)}
⟨ξ(t)ξ(t+τ)⟩=ς2δ(τ),(7)\langle\xi(t)\xi(t+\tau)\rangle= \varsigma^2\delta(\tau), \tag*{(7)}

where ⟨…⟩\langle\ldots\rangle denotes the average in the long-time limit, τ\tau is a time delay, δ(…)\delta(\ldots) is the delta function that is 1 for τ=0\tau= 0 and 0 otherwise, and ς2\varsigma^2 has the meaning of a force noise power spectral density [3].

The slow-flow Eqs. (4) and (5) are correspondingly modified to read

u˙=−uΓ2+vω2−ω022ω+Ξum,(8)\dot{u} = -u\frac{\Gamma}{2} + v\frac{\omega^2-\omega_0^2}{2\omega} + \frac{\Xi_u}{m}, \tag*{(8)}
v˙=−vΓ2−uω2−ω022ω+Ξvm,(9)\dot{v} = -v\frac{\Gamma}{2} - u\frac{\omega^2-\omega_0^2}{2\omega} + \frac{\Xi_v}{m}, \tag*{(9)}

where the Ξi\Xi_i are fluctuating force terms whose standard deviation can be calculated from an integration of ξ\xi over one oscillation period [3]. These fluctuating force terms are still white and random on timescales τ>1/f0\tau> 1/f_0, which is sufficient for all practical purposes.

The white force effectively drives the string at all frequencies simultaneously, producing the oscillation spectrum shown in Figure 3. In the frequency range between 0 and 100 Hz, we observe four peaks. The mode at 50 Hz is assigned to purely electrical noise induced by the local power grid, while a peak below 60 Hz may belong to the second vibrational mode of the string. The lowest mode at 28.5 Hz is our vibration mode of interest. Using the known value for f0f_0 and Γ\Gamma, we can reproduce its spectral signature with Eq. (2), using only the effective amplitude ς/m\varsigma/m as a free parameter.

Frequency spectrum of the string

Figure 3. Frequency spectrum of the string driven by a fluctuating force with a standard deviation of 500 mV over a bandwidth of 30 MHz. We clearly see the resonance frequency f0f_0 at 28.5 Hz, the 50 Hz noise of the power grid, and a higher mode at roughly 2f02f_0. A dark blue line is shows the result of Eq. (2) with the same parameters as in Figure 2.

The time response of the lowest oscillator mode to a stochastic force is shown in Figure 4. In this measurement, the quadratures uu and vv are directly measured with a lock-in amplifier with a local oscillator (a reference clock) at 28.5 Hz. Selecting a bandpass filter of 4.5 Hz ensures that signals from higher modes are rejected, even though they are driven by the white noise as well. We find that the resonator no longer rings up to a fixed solution as in the deterministic case discussed earlier. Instead, the quadratures slowly fluctuate in time around the mean values ⟨u⟩=⟨v⟩=0\langle u\rangle= \langle v\rangle= 0 with a Gaussian profile.

Figure 4. The two quadrature signals in response to a fluctuating force term, measured as a function of time with a lock-in amplifier whose local oscillator matches f0f_0.

To study the dynamics of the stochastically driven oscillator in more detail, we plot vv as a function of uu in

Figure 5. This representation is known as “phase space” and plays an important role in the visualization of classical and quantum oscillation states. In our classical case, the system can be located at a single point in phase space at any given time, and a stable solution appears as a single fixed point. For instance, setting u˙=v˙=0\dot{u}=\dot{v}=0 and ω=ω0\omega=\omega_0 in Eqs. (4) and (5) results in two simple equations u∝F0sin⁡(θ)u\propto F_0\sin(\theta) and v∝−F0cos⁡(θ)v\propto-F_0\cos(\theta).

Figure 5. Phase space representation of the string oscillations driven by fluctuating force terms. The quadratures uu and vv are measured with in a frame rotating a the local oscillator frequency of the lock-in, set as (a) 28.5 Hz and (b) 28.4 Hz (b). The starting point of the measurement is marked as a red dot, and the first 30 points are connected with a line to demonstrate a random walk for ω=ω0\omega=\omega_0 and counter-clockwise rotation for ω<ω0\omega<\omega_0.

We plot the stochastic data similar to that in Figure 4 in phase space, see Figure 5(a). The system explores phase space in a random walk over time, leading to Gaussian probability distributions in both coordinates. As we selected ω=ω0\omega=\omega_0 for this measurement, the terms ∝ω2−ω02\propto\omega^2-\omega_0^2 become zero in Eqs. (8) and (9) and the random trajectories in both coordinates are decoupled. Setting u˙=v˙=0\dot{u}=\dot{v}=0, the equations can be individually simplified to u∝Euu\propto E_u and v∝Evv\propto E_v. The trajectory of the system over time follows a random walk in both uu and vv independently.

Our observations become more intricate when we introduce a detuning of the measurement clock from the resonator’s eigenfrequency, ω≠ω0\omega\ne\omega_0. At first glance, the phase space representation in Figure 5(b) closely resembles the one in Figure 5(a). However, when we follow a short part of the trajectory, we find it to revolve around the origin with a defined orientation. This feature, which is absent in Figure 5(a), clearly stems from the terms ∝ω2−ω02\propto\omega^2-\omega_0^2 in Eqs. (8) and (9), which create a correlation between uu and vv with a time delay. We can directly see this delayed correlation in Eqs. (8) and (9) by inserting Γ=Ξu,v=0\Gamma=\Xi_{u,v}=0 and ω2−ω02=(ω−ω0)(ω+ω0)≈(ω−ω0)2ω\omega^2-\omega_0^2=(\omega-\omega_0)(\omega+\omega_0)\approx(\omega-\omega_0)2\omega, which leads to the simple equations u˙=Δv\dot{u}=\Delta v and v˙=Δu\dot{v}=\Delta u with Δ≡ω−ω0\Delta\equiv\omega-\omega_0. When initialized at ui=1u_i=1 and vi=0v_i=0, this system rotates around the origin with an angular frequency Δ=(ω−ω0)\Delta=(\omega-\omega_0), such that a correlation between uu and vv appears after a quarter period (when u=0u=0 and v=±1v=\pm1). The sign of the correlation at this delay depends on the sign of Δ\Delta, i.e., whether the rotation proceeds in clockwise or anti-clockwise direction.

To quantitatively analyze the effect of a detuned rotating frame in our data, we employ the delay-dependent covariance

Cuv(n)=1N−n∑i=1N−n[u(i)−⟨u⟩][v(i+n)−⟨v⟩](10)C_{uv}(n)=\frac{1}{N-n}\sum_{i=1}^{N-n}[u(i)-\langle u\rangle][v(i+n)-\langle v\rangle] \tag*{(10)}

where NN is the total number of data points in a measurement, ii runs over all measurement points that are separated in time by the increment Δt\Delta t, and τ=nΔt\tau=n\Delta t is a time delay. Equation (10) is a covariance between uu and vv with a variable time delay τ\tau. We expect to see maxima in CuvC_{uv} whenever uu and vv values are correlated over a well-defined timescale τ\tau, indicating a rotation with a well-defined period.

The results of Eq. (10) for measurements with different Δ\Delta are shown in Figure 6, together with a heuristic theory line corresponding to Cuv=e−Γτ/2sin⁡(Δτ)C_{uv}=e^{-\Gamma\tau/2}\sin(\Delta\tau), that is, an exponentially decaying oscillating correlation. Even though the full dependency of the covariance on τ\tau is more complicated, this simple form reproduces our measurements qualitatively: detuning the measurement clock ω\omega from the eigenfrequency ω0\omega_0 leads to a periodic pattern in the measured time-dependent covariance CuvC_{uv}, which decays under the influence of the dissipation term Γ\Gamma. The detuning Δ\Delta therefore acts like a adjustable oscillation frequency in the rotating frame by generating correlations between uu and vv. For a given value of Γ\Gamma, we observe the rotating-frame analogue to an underdamped-to-overdamped transition between Δ>Γ\Delta>\Gamma (red and blue traces in Figure 6) and Δ≪Γ\Delta\ll\Gamma (light orange to light blue traces). We have thus identified deterministic correlations in a system driven purely by fluctuating force terms.

Time-dependent covariance plots for different detuning values

Figure 6. Time-dependent covariance CxxC_{xx} measured as a function of the time shift τ\tau for different detuning Δ\Delta. The data sets are offset vertically for better visibility, with dashed horizontal lines indicating Cxx=0C_{xx}=0 in all cases. Solid lines correspond to the function e−Γτ/2sin⁡(Δτ)e^{-\Gamma\tau/2}\sin(\Delta\tau) with Δ\Delta fitted for each curve individually.

Summary and outlook

In this work, we show how a simple and affordable guitar string setup can be used to demonstrate intricate physical phenomena. We start from the driven and damped harmonic oscillator, the most widely used model in physics, to describe the string oscillation to an external force. Building on this model, we introduce stochastic driving terms and observe the string’s spectral response. We also study the stochastic dynamics of the string as a function of time and in phase space, which allows us to appreciate the notion of a Gaussian amplitude distribution in both quadratures and the influence of the selected rotating frame. Finally, we manipulate the rotating frame rate to obtain a rotating-frame analogue to an underdamped-to-overdamped transition in the quadrature correlations.

In our opinion, such a demonstration has high didactic value, as it provides hands-on experience with the driven and damped harmonic oscillator, deterministic versus stochastic physics, temporal versus spectral information, the rotating frame, and phase space representation. These topics are relevant for many fields of modern physics, such as quantum optics, nanomechanics, radio-frequency and microwave electronics, and gravitation wave experiments. From a teaching perspective, introducing these concepts with an experiment is a valuable supplement to traditional lectures. In particular, the intuitive mechanics and macroscopic scale of the string resonator is beneficial to illustrate complex concepts in an accessible way.

Looking forward, we propose that the same string setup is also suitable to instruct students in nonlinear and parametric dynamics, especially the Duffing resonator, as well as parametric driving and squeezing [1]. These complex topics are often neglected in the experimental education of undergraduate students for lack of an affordable and easily maintainable experimental setup. Our guitar string offers a solution for this problem, and can serve as a catalyst to introduce students to a range of fascinating experimental techniques at an early stage in their curriculum.

List of student tasks:

  1. Apply an oscillating drive voltage to the coil and measure the response voltage from the piezo with an oscilloscope. Look at the frequencies within the response by Fourier transforming it.

  2. Change the frequency ff of the drive voltage and observe the change in the amplitude when this drive frequency is close to f0f_0.

  3. Measure both the drive voltage and the response voltage at the same time with the oscilloscope. How can you measure the phase in this way?

  4. Measure the amplitude and the phase with a lock-in amplifier and plot it as a function of the driving frequency ff (a free software lock-in module is available here). Add matching lines corresponding to Eq. (2) and (3) and extract ω0=2πf0\omega_0 = 2\pi f_0 and Γ\Gamma in this way.

  5. Replace the oscillating driving voltage with a white noise voltage and check that your noise is indeed white and has a Gaussian distribution in voltage. Measure the response of the resonator as a frequency spectrum. Fit Eq. (2) to your spectrum and extract ω0\omega_0 and Γ\Gamma. Compare the spectrum of the resonator response to that of the white noise itself.

  6. Measure uu and vv with a lock-in amplifier for different local oscillator frequencies, that is, detunings Δ\Delta. Plot the results in a rotating phase space as in Figure 5 and determine the histograms in both quadratures. Pay attention to the sampling rate relative to 1/Γ1/\Gamma. What is an ideal sampling rate, and why? Does Δ\Delta impact the histograms?

  7. Use Eq. (10) to obtain a delay-dependent covariance for every measurement and extract the true Δ\Delta in each case. What is the origin of the deterministic order you find here?

The authors have no conflicts to disclose.

Acknowledgements: the authors thank Oded Zilberberg for useful discussions. Oliver Schwager and the mechanical workshop at the Physics Department of ETH Zurich contributed to the development of the setup.

References

References

  1. [1]Anina Leuch, Luca Papariello, Oded Zilberberg, Christian L. Degen, R. Chitra, and Alexander Eichler, “Parametric symmetry breaking in a nonlinear resonator,” Phys. Rev. Lett. 117, 214101 (2016).DOI
  2. [2]Alexander Eichler, Toni L. Heugel, Anina Leuch, Christian L. Degen, Ramasubramanian Chitra, and Oded Zilberberg, “A parametric symmetry breaking transducer,” Applied Physics Letters 112, 233105 (2018).DOI
  3. [3]Alexander Eichler and Oded Zilberberg, Classical and Quantum Parametric Phenomena (Oxford University Press, 2023).DOI
  4. [4]C. Holmes and P. Holmes, “Second order averaging and bifurcations to subharmonics in duffing’s equation,” Journal of Sound and Vibration 78, 161 – 174 (1981).DOI
  5. [5]Luca Papariello, Oded Zilberberg, Alexander Eichler, and R. Chitra, “Ultrasensitive hysteretic force sensing with parametric nonlinear oscillators,” Phys. Rev. E 94, 022201 (2016).DOI

Paper details

vlnc:W_5hwzc8dd
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 13

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents