Nonlinear signal mixing in a ratchet device