Phase failure detection gotchas
Be warned that phase failure detection can be very difficult in my experience.
On a remote antarctic base we had a 3 phase generator that was working properly and driving some lightly loaded 3 phase motors before a phase dropped out. The lightly loaded motors kept running with no perceptable problems except a bit of a growl. If a new 3 phase motor tried to start we instantly knew there was a problem as it tripped its overload breakers. The motors that were still running appeared to act as generators and supplied the missing phase with a lower voltage and slightly time skewed voltage.
Have a close look at the commercial phase failure detectors before you jump in I suggest.
HTH
Brian