The linking drive uses the techniques of selective harmonic elimination in pulse width modulation inverter so that the quality of mains power can be improved, harmonic elimination achieved and right power factor obtained and another harmonic eliminator is not needed.