Automatic Control And Fault Diagnosis Of Mems Lateral Comb Resonators