Hi, Im repurposing a treadmill motor and hoping to also use the motor control board as I know it is sized for the motor and has a lot of nice features. I’ve reverse engineered most of the board circuit and it’s all making sense, but there is one part that has me scratching my head (see attach pic of relevant circuit). It looks like circuitry to verify that there is AC power, which makes no sense because if there were no power then the microcontroller would not be running! So I’m guessing its purpose is to sense the quality of the AC source. It’s not a small amount of parts - it includes a couple large wire wound resistors and has a dedicated relay (K1) with driver logic (not shown), so they are pretty invested in this. Any insights? This came off a PaceMaster Platnum Pro treadmill. 
