Quality control of assembly and helth monitoring of gearbox