Nonlinear oscillators in space physics