We study the dynamics of cavity solitons due to a quadratic nonlinearity under the action of different kinds of spatial perturbations both numerically and analytically. For large scale fluctuations we find the soliton velocity to be proportional to the gradient of the respective perturbation. In case of harmonic variations of the system parameters locking on extreme values may occur. A combined action of harmonic variations and long range gradient perturbation gives rise to either locking or motion in dependence on the relation between the strength of the applied forces.
展开▼