It depends on how you define your Perpetual Moving Device (conditions and restrictions):

A device can move with constant speed in the space where there is no resistance.

Or a device can get energy from other resource (for example:sun light).