Custom Motor Controller Design for free energy motor