Automated High-Accuracy Phase Measurement System