In three phase electric lines lot fault you have to concider ex)Voltage unbalance,phase sequence change,missing Neutral,No load...you want to diagnosis these faults, you can use energy metering Ics, in market lot ics from cirrus logis,Analog Devices ..are available try to commumicate with these ics using microconrollers you can achive your "3 phase fault diagniZer"