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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple phase measurement fpga

Hi there,

 

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.

 

Any recommendations?

 

Thanks.

0 Kudos
Message 1 of 3
(2,759 Views)

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?

 

https://decibel.ni.com/content/docs/DOC-21131

 

Paul P.

Applications Engineer

National Instruments

Highest Regards,

Paul
0 Kudos
Message 2 of 3
(2,727 Views)

I did see that example.  I'm hoping to develop something that will run on the fpga without dma transfer.

0 Kudos
Message 3 of 3
(2,720 Views)