Skip to content

Jupyter notebook mode

3. Noise in Harmonic Oscillators

import numpy as np
import random
import matplotlib.pyplot as plt
from scipy import signal
import scipy
import math

Lecture 3: Thermomechanical Noise: Brownian Motion of an Oscillator

Expected prior knowledge

Before the start of this lecture, you should be able to:

  1. Perform calculations with power spectral densities
  2. Explain different types of fluctuating (stochastic) variables

Learning goals

After this lecture you will be able to:

  1. Calculate the power spectral density of the thermal noise spectrum of a harmonic oscillator
  2. Predict how the power spectrum changes for lower or higher damping
  3. Explain and draw a representation of thermal noise in an I-Q representation of signals

In principle, even when things are at rest (not moving), at finite temperature everything is actually moving a little tiny bit. For example, if I knock on this desk, I can make it vibrate, and you can hear a sound. But even if I didn't hit this desk, it is vibrating already by some small amount, due to its thermal energy producing Brownian motion. If we look at it, of course it doesn't look like its moving, but in principle, if I looked very carefully, I would see it bouncing up and down.

You might ask yourself: what does any of this have to do with quantum mechanics? Well, in quantum mechanics, it turns out that things are "sort of" still moving even at zero temperature, and if you look hard enough, you can (try) to see this quantum motion... but more on that later.

3.1. The damped harmonic oscillator

But before we start, it will be useful to review the behavior of the damped harmonic oscillator (DHO). A DHO consists of a mass on a spring under the influence of friction.

  1. We will consider the DHO under the influence of an external driving force , giving

  2. Defining as the undamped natural frequency and as the "damping rate", we can write the above equation as:

  3. For an oscillating external force

    we will have solutions of the form

    with and

    The phase undergoes a phase shift as we pass through resonance.

  4. For weak damping, , the response is sharply peaked, so considering only the range near the resonance, with very small, such that and , it can be approximated as:

    and

    The squared amplitude follows a Lorentzian lineshape

    whose full width at half maximum (FWHM) is .

plt.subplots(figsize=(12,4))
w = np.linspace(0,3,1000)
def HO_response(w,gamma):
    return 1/np.sqrt(w**2*gamma**2+(1-w**2)**2)

def lorentzian(w,gamma):
    return 1/(gamma**2/4+(1-w)**2)/4

plt.subplot(121)
for gamma in (1,0.5,0.2):
    plt.plot(w, HO_response(w,gamma), label="$\gamma = %.1f$, $Q = %.0f$" % (gamma,1/gamma))
plt.title("Harmonic oscillator response \n $\omega_0=1$, $F_0=m=1$")
plt.xlabel("Frequency ($\omega$)")
plt.ylabel("Amplitude $A(\omega)$")
plt.legend()

plt.subplot(122)
gamma = 0.2
plt.plot(w, np.sqrt(lorentzian(w,gamma)), label="Lorentzian",c='g')
plt.plot(w, HO_response(w,gamma), c='g', ls=':', label = "HO Response")
plt.title("Lorentzian with $Q = 5$")
plt.xlabel("Frequency ($\omega$)")
plt.ylabel("Amplitude $A(\omega)$")
plt.legend()
plt.show()

svg

The quality factor

  • The quality factor of the peak is a dimensionless parameter defined as:

    The smaller the damping rate , the higher the quality factor.

  • If we shake the resonator on resonance, we find a significant enhancement of the amplitude, given by:

    The amplitude is enhanced by a factor Q for the same force compared to that expected for the static limit ().

A useful interpretation of this is that at resonance, there is an effectively reduced restoring force, "", resulting in more displacement for the same force.

3.2. The mechanical susceptibility

The functions and are (aside from the scaling factor ) actually the amplitude and phase of something called the "mechanical susceptibility" . Susceptibility is actually a more general concept that applies to the linear response of a system (in our case, the mass spring) to a stimulus (in our case, the applied force). The wikipedia page even has a concrete example of this for a Harmonic oscillator: https://en.wikipedia.org/wiki/Linear_response_function.

  1. They work with a simplified equation with and :

  2. Taking the Fourier transform and writing in terms of , this becomes simplified since the derivatives fall out:

  3. We then define the susceptibility in the following way:

    This is handy since it means that if we know the Fourier transform of the force, we can find the Fourier transform of the position.

  4. Using the two formulas above, and we can find the following form for :

  5. In terms of the above, and filling back in our missing constants, we can see that the phase of is given by the phase we derived , and the amplitude is given by .

3.3. Thermomechanical motion

Ok, so what does this have to do with Brownian motion?

  • Well, we can understand the Brownian motion of our harmonic oscillator as its response to a random force as a function of time .

What do we know about ?

  • Well, first of all, if it is really random, it has a white power spectral density:

    This is quite handy to know!

We could also ask: how large is this force?

  • Thermodynamics and statistical mechanics tells us that the average thermal energy for each "degree of freedom" is .
    Furthermore, for harmonic motion, we have the convenient feature that, on average, energy is equally divided between kinetic () and potential () energy (this is because ). This means that we can calculate the average potential energy and equate this to .

How do we calculate ?

  • We can work easily in the "Fourier domain" using the formulas above! Since we have chosen the rest position to be zero, and since the potential of the harmonic oscillator is symmetric, we we will have . In this case we can directly use our formulas for from the first lecture.

Why?

  • For calculating , we will need . Now, the important point is that we can determine from using the susceptibility:

    where, as discussed, is constant and independent of . Putting this together, we then have:

    Performing the integral, we get

We could ask, why does the force (power spectral density) depend on the damping? Shouldn't the force depend only on the number of gas molecules hitting my mass per second (assuming the force noise is from air?)

  • The first answer to this is simple: if this were not the case, then our average thermal energy would not be , and we need it to be in order for thermodynamics to work.

  • A second answer is a bit more subtle: the same random gas moleucles that are causing the random force are also the ones carrying away the energy. This is an example of the fluctuation-dissipation theorem, which states that whenever there is dissipation, there must also be fluctuations, and vice versa.

    An interesting consequence of this is that if there is no dissipation, then there can be no fluctuating force.

Before moving on, we note that the Johnson noise voltage of a resistor is another example of the fluctuation-dissipation theorem, which is calculated in a similar way:

Thermomechanical noise spectrum

In any case, now that we know , it is actually very easy to calculate the thermomechanical noise spectrum:

Like , this is sharply peaked at . We can also calculate the peak value:

We can see that although the force spectral noise density decreases for increasing Q, the peak of increases because increases . For this reason, it is easier to observe thermal noise in high Q oscillators.

3.4. Thermal Noise in the Quadrature Plane

We've now derived the thermomechanical spectrum of the Brownian motion of an oscillator. Before we move on though, we should discuss this a bit further and also introduce some concepts that will come back later in the course.

Above, when we considered the harmonic oscillator, we wrote its motion as

describing the oscillations as an amplitude and a phase. There is another way of expressing this expression:

This is known as the quadrature representation of the signal:

Using trigonometric identities, we can show that

These definitions are suggestive of the name "quadrature", since you need to add and "quadratically" to get . A nice way to visualize this is using a polar plot, where the x-axis is and the y-axis is .

Phasor Notation

Often in physics and electrical engineering, we use the "phasor notation" to represent an oscillating signal. In this case, we work with a complex valued variable such that

For a signal , we have

We can also see that the quadratures and are related to the real and imaginary parts of , and are given by

3.5. Thermomechanical Noise in Quadrates

Imagine we measure a signal with a lock-in amplifier set to frequency with a bandwidth . What does the amplifier actually measure? If my signal input is

then it produces an output that is a DC voltage proportional to and (without the ).

If and are slowly varying in time (more slowly than the "time constant" filter ), then the output of my lock-in amplifier will directly tell me and .

What do we see, then, if we measure thermal noise with our lock-in amplifier?

And if there is some coherent driving in addition to the thermal noise, we will see: