01-16-2020 07:13 PM
Hello
I am trying to build the single phase PLL model (attached JPEG has the reference image of single phase PLL) in LabVIEW. I generating the sine waveform and trying to do the operations on waveform. As shown in the attached image, the quadrature signal of the sine wave has to be generated. Can anyone please let me know, how to generate the quadrature signal in data type double. I tried using the hilbert transform, but it is using the data type array.
(Note: for testing the pll algorithm I used cosine wave, as the algorithm is working fine, I want to replace the cosine wave generator with quadrature signal generator.)
Thank you in advance
Ram
Using LabVIEW 2014 and 2015.
01-16-2020 11:03 PM
There is no such thing as generating a quadrature "signal". When something is in quadrature, there are two signals. So just generate like you are doing now. A sine and cosine wave based on the same amplitude and frequency. Or two sine waves of the same amplitude and frequency with the second one having a 90° phase shift.
01-17-2020 02:18 PM - edited 01-17-2020 02:19 PM
Hello RavensFan
Thank you for replying to my post. I am sorry, I should have mentioned it clearly in the post. Actually I am acquiring the sinusoidal signal from the hardware chip to the LabVIEW. After acquiring the sinusoidal signal, I need to phase shift the acquired signal by 90 degrees. So in actual case I am not generating any signal, I am only acquiring sinusoidal signal. Can you please suggest me any methods to phase shift the acquired signal.
Thank you
Ram
Using LabVIEW 2014 and 2015
01-17-2020 02:49 PM
I don't understand what you want in the end.
You acquire 1 signal. (So that is real world showing up as data in LabVIEW)
You want to phase shift that 90°. (So that is manipulation of the data in LabVIEW)
Then you do what with that new signal? Where do you use this newly modified data?
01-17-2020 02:57 PM - edited 01-17-2020 02:58 PM
Please see the attached image. My idea is to acquire the signal and find the frequency using that particular PLL. I am acquiring the signal (V sin(wt+phi)), now I need to find the signal (V cos(wt+phi)) from the acquired signal to make the algorithm run.
01-17-2020 04:10 PM
Sorry, but that diagram means nothing to me.
What is the actual problem you are trying to solve? You say "My idea is to acquire the signal and find the frequency" which is stuff you can do in LabVIEW quite easily.
Bringing some theoretical PLL algorithm into the seems like you are unnecessarily complicating the problem and trying to force LabVIEW to do things it wasn't really meant to do.
I'll leave it up to others to participate if they understand your problem.
01-17-2020 04:16 PM
Using a PLL will let you track the frequency and phase as they change.
An example that comes to mind is if I want to synchronize to line voltage and co-generate two phases.
Ben