So I thought that the inverter was supplied with DC from the main control board and converted it to ac to power the motor by using 6 switches. What is actually happening is that the inverter board receives ac voltage, converts it to DC voltage and then back to ac to drive the motor?