topic Re: Please help simulation synchronizing dual sin wave using PLL labVIEW in LabVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2781346#M817974
If I'M getting you right you want to
a) Compare Two Sine Waves in Frequency and Phase via PLL
This could be done if you feed these two into two equal PLL blocks and compare
the Frequency Control of the two PLL internal VCOs. This is simply
using PLL as Frequency Measurement building block.
(Read something about PLL FM-Demodulation for instance then you'll
get familiar with this concept)
For the Phase Comparison you could use also the Phase
Comparator that you'll find inside the PLL.
The VCO outputs can also be used for generating synchronous
sine signals of different frequency - this uses a frequency divider
inside PLL. PLL gives you the ability to synchronize
at every n* f frequency.
b) Compare two sine waves in amplitude
This is quite simple - isn't it? RMS or peak meters I didnt yet have tested in LabVIEW
but I'm sure it'll work.Mon, 17 Mar 2014 13:20:40 GMTGprogrammer2014-03-17T13:20:40ZPlease help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780526#M817794
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3">Hello,</FONT></P>
<P style="margin: 0in 0in 0pt;"> </P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3">Please I want a simulation based on Lab view for synchronizing generators, as we know that the generator will generate a sin wave.</FONT></P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3"> </FONT></P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3">If anyone can help me with this idea the simulation can be done using to input sin waves and synchronized with each other using PLL (phase lock loop), note that the generators will be synchronized if the frequency, phase angle and voltages are equal ( synchronized). Please if somebody has simulation based on this idea to help me with it.</FONT></P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3"> </FONT></P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3">THANK YOU A LOT. <span class="lia-unicode-emoji" title=":disappointed_face:">ðŸ˜ž</span></FONT></P>
<P style="margin: 0in 0in 0pt;"><FONT face="Calibri" size="3">I will appreciate it.</FONT></P>
<P> </P>Sun, 16 Mar 2014 15:40:42 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780526#M817794009612014-03-16T15:40:42ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780550#M817805
<P>using two input sin wave not to (corrected)</P>Sun, 16 Mar 2014 16:46:17 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780550#M817805009612014-03-16T16:46:17ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780570#M817811
<P>In fact I'm also interested in PLL's</P>
<P> </P>
<P>So i found this one</P>
<P> </P>
<P><A href="https://decibel.ni.com/content/docs/DOC-1101" target="_blank">https://decibel.ni.com/content/docs/DOC-1101</A></P>
<P> </P>
<P>Keep an eye on the PID control to reach stable operation</P>
<P>of the loop - it's the most interesting part</P>Sun, 16 Mar 2014 17:34:07 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780570#M817811Gprogrammer2014-03-16T17:34:07ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780598#M817821
<P>Thank you Gprogrammer for your help... but this is not my case. I want to compare frequency of two generated sin wave using the PLL and compare the rms voltage. If the differece between frequency approx. zero (maybe using zero cross method) and the voltage also the difference is approx. zero so the two generators are synchronized.Please for you help. Thank you <span class="lia-unicode-emoji" title=":disappointed_face:">ðŸ˜ž</span></P>Sun, 16 Mar 2014 18:55:14 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780598#M817821009612014-03-16T18:55:14ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780600#M817822
<P>Now you are confusing us. If you only want to compare frequency, phase and amplitude of two sinusoidal signals, you do not need a PLL. Just use Extract Single Tone Information.vi from the Signal Processing >> Waveform Measurements palette on each signal.</P>
<P> </P>
<P>Lynn</P>Sun, 16 Mar 2014 18:59:12 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780600#M817822johnsold2014-03-16T18:59:12ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780608#M817826
<P>The idea is to make a simulation that could done in real life to make a synchronizer for generators we need a PLL to synchronize the frequency. But in my case i want to synchronize two sin wave than make difference after the synchronization to assure to that the signal is synchronized. thank you i hope u understand me and dont be confused thank you <span class="lia-unicode-emoji" title=":disappointed_face:">ðŸ˜ž</span></P>Sun, 16 Mar 2014 19:10:43 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780608#M817826009612014-03-16T19:10:43ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780674#M817845
<P>A synchronizer or PLL has three basic components: A frequency-phase comparator or error measurement device, An oscillator (or other signal source such as the rotating mchine in the power generator situation) which can be controlled in phase or frequency, and A control system to convert the output of the comparator to the control signal necessary to change the phase or frequency of the generator.</P>
<P> </P>
<P>The VIs in LV to generate sine waves have inputs to set the frequency and phase. So the requirement for a controllable source is easily met.</P>
<P> </P>
<P>The phase and frequency comparison can be done several ways: <SPAN>Extract Single Tone Information which I mentioned earlier. You can also simulate the kinds of circuits used in hardware PLLs. These typically consist of a multiplier and a filter to implement the process modeled by the multiplication of two sine waves. There are also curve fitting VIs.</SPAN></P>
<P><SPAN> </SPAN></P>
<P><SPAN>The control process depends on many choices. How often do you measure the phase of the input signals? How much noise and interference is present? How fast do you want to update the generator phase? What kind of transient response do you want? How fast will the controlled generator change phase in the absence of a control signal? </SPAN></P>
<P><SPAN> </SPAN></P>
<P><SPAN>Is this an academic assignment? We try not to do your homework for you. We will help you understand how to use LV but the work must be yours.</SPAN></P>
<P><SPAN> </SPAN></P>
<P><SPAN>Lynn</SPAN></P>Sun, 16 Mar 2014 19:35:07 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780674#M817845johnsold2014-03-16T19:35:07ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780702#M817856
<P>Iam new on LV. what i want a simulation to synchronize two generators, the two generators will generate sin waves this sin waves will be compared to achieve synchronization its better to use PLL but i have no idea where to use it in this such simulation.</P>
<P> </P>
<P>The below attachment will discuss more what i want but it it can be editted instead of using two generators from outside is to put to sin wave and prove that when this two sin wave are not equal so synchronization faild and vice versa.</P>
<P> </P>
<P>no need for the DAQ it can be replaced by an oscilscope to see the two sine waves that are synchronized, any one can help me by this simulation <span class="lia-unicode-emoji" title=":disappointed_face:">ðŸ˜ž</span> i will bs very thankful for him.</P>
<P> </P>
<P>THANK YOU ANYWAY <span class="lia-unicode-emoji" title=":disappointed_face:">ðŸ˜ž</span> </P>Sun, 16 Mar 2014 20:43:16 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780702#M817856009612014-03-16T20:43:16ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780904#M817909
<P>Any help please :I</P>Mon, 17 Mar 2014 07:36:18 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2780904#M817909009612014-03-17T07:36:18ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2781346#M817974
If I'M getting you right you want to
a) Compare Two Sine Waves in Frequency and Phase via PLL
This could be done if you feed these two into two equal PLL blocks and compare
the Frequency Control of the two PLL internal VCOs. This is simply
using PLL as Frequency Measurement building block.
(Read something about PLL FM-Demodulation for instance then you'll
get familiar with this concept)
For the Phase Comparison you could use also the Phase
Comparator that you'll find inside the PLL.
The VCO outputs can also be used for generating synchronous
sine signals of different frequency - this uses a frequency divider
inside PLL. PLL gives you the ability to synchronize
at every n* f frequency.
b) Compare two sine waves in amplitude
This is quite simple - isn't it? RMS or peak meters I didnt yet have tested in LabVIEW
but I'm sure it'll work.Mon, 17 Mar 2014 13:20:40 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2781346#M817974Gprogrammer2014-03-17T13:20:40ZRe: Please help simulation synchronizing dual sin wave using PLL labVIEW
https://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2781552#M817999
<P>yes you are right but i am still a biggner for doing what your saying about can you help me with design? i will appreciate it.</P>
<P>THANK YOU alot Gprogrammer</P>Mon, 17 Mar 2014 15:09:22 GMThttps://forums.ni.com/t5/LabVIEW/Please-help-simulation-synchronizing-dual-sin-wave-using-PLL/m-p/2781552#M817999009612014-03-17T15:09:22Z