Processing math: 100%

Relaxation oscillations

A relaxation oscillator is a system that produces a periodic signal. Heart beats and the squeaking of fingernails on a blackboard are examples of relaxation oscillations. One relaxation oscillator that can be built with electronic components is called the Van der Pol oscillator. This system is described by the differential equation,

d2xdt2μ(1x2)dxdt+x=0.

For small values of x, the damping term μ(1x2)dxdt is negative and the signal grows until x>1 when the damping becomes positive and the signal decays again. The frequency of the oscillations can be controlled by changing μ. In an electronic circuit this can be achieved by using a variable resistor. Increase Nsteps to see more oscillations.

μ= 1

 Numerical 2nd order differential equation solver 

dxdt=

vx

ax=Fxm=dvxdt=

Intitial conditions:

x(t0)=

Δt=

vx(t0)=

Nsteps

t0=

Plot:

vs.

x
 
2.5
5.0
7.5
10.0
12.5
15.0
-2.0
-1.5
-1.0
-0.5
0.0
0.5
1.0
1.5
2.0
2.5

t

t       x      vx