1KW motor drive with active power factor correction