SYPD-2 phase detector