Microscopic dynamical Casimir effect