From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I'm looking for a simple method to measure phase angle between sinusoidal waveforms of the same frequency for a 3 phase control system. It must run on the fpga target. I've played around with zero crossing detection, but that only gives an instantaneous (1 cycle) reading. I'm looking for something similar to the "RMS" measurement express vi.
I'm not aware of any FPGA-based Express VIs that will measure phase angle directly, so you will most likely need to design some sort of algorithm. That said, you can throw the Mean Express VI on the end of an algorithm to average over many cycles if your single cycle design was limiting you before.
Would something like the community example linked below work for you?