Is the spindle motor 3 wire (3 phase) or 2 wire (DC) ? I'm not convinced it's an inverter you need.