Title: Zero-crossing pattern monitoring of continuous periodic waveforms