A VFD is a kind of motor controller, which varies the voltage and frequency supplied to an electric motor so…