03-16-2014 10:40 AM
Hello,
Please I want a simulation based on Lab view for synchronizing generators, as we know that the generator will generate a sin wave.
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.
THANK YOU A LOT. 😞
I will appreciate it.
03-16-2014 11:45 AM - edited 03-16-2014 11:46 AM
using two input sin wave not to (corrected)
03-16-2014 12:34 PM
In fact I'm also interested in PLL's
So i found this one
https://decibel.ni.com/content/docs/DOC-1101
Keep an eye on the PID control to reach stable operation
of the loop - it's the most interesting part
03-16-2014 01:54 PM - edited 03-16-2014 01:55 PM
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 😞
03-16-2014 01:59 PM
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.
Lynn
03-16-2014 02:10 PM
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 😞
03-16-2014 02:35 PM
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.
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.
The phase and frequency comparison can be done several ways: 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.
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?
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.
Lynn
03-16-2014 03:21 PM - edited 03-16-2014 03:43 PM
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.
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.
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 😞 i will bs very thankful for him.
THANK YOU ANYWAY 😞
03-17-2014 02:36 AM
Any help please :I
03-17-2014 08:20 AM