220V or 110 V Alternating Current go through stator coil generate magetic field ,and it works with a permanent magnet. Applying pricinpile that poles always repel each other, so they will generate attraction & repulsion. Through transmission device, the power will push and pull door to open and close automatically.