Electromagnetic spectral domain technique for failure analysis of control system processors on the internet of things