If a symbol is required, subtract 180 from the above result.
The method is characterize by simplicity. However, when the waveform has a large burr, the measurement error is large.
Another method is to use analog multiplier or digital multiplication (high-speed sampling, digital multiplication and multiplication) to obtain active power. Active power pays attention to apparent power to obtain power factor, and then converts the phase angle according to the power factor.