The behaviour of nonlinear oscillators subjected to ramped forcing