10-04-2011 05:09 AM
I am usig hilbert transform to provide me with a phase shift of the input signal of a UHF radar unit.
When I try to get the phase sifted wave I dont get anything.But when I reproduce the output of the HIlbert and do a sine I get the orginal wave without the phase shift.
When I also use a simulated sine wave and use Hilbert transform for it, I get a wave which has been phase shifted by 90 degrees.
So can you please help me with phase shifting using Hilbert.
Are there any better solutions for phase shifting?
Solved! Go to Solution.
10-04-2011 10:49 AM
Pleast attach your Vi instead of a oversized useless picture. Also attach a set of typical data. (Or run it for a while, then "edit...make current values default". Save under a new name and attach it here).
10-05-2011 02:32 AM
Thank you very much for you reply,
I1) will try the pt by pt hilbert transform and update you.
2)Regarding the Hilbert transform for the algoritham, You can check this link, here he uses cos so he reproduces the original signal, so i used a sin instead of cos and when I used a simulated wave form I could get a phase shift of 90 degree.
http://zone.ni.com/reference/en-XX/help/371361G-01/lvanlsconcepts/hilbert_transform_analytic/
But when I try my signal from the radar I dont get anything with sin but with cos I can reproduce the signal and the reproduced signal and the input are the same.
3)My signal is AC signal so i think there should be no problem with hilbert.
4)The error output just gives 0.
I attached my VI you can check it.
10-05-2011 11:16 AM
If the default values of the VI are correct, you are only reading a single sample/iteration for processing. All you get is the DC component with gets zeroed out by the hilbert transform. There is nothing left, as expected.
I encourage you to fully understand these algorithms.
10-10-2011 03:45 AM
I am sorry, I am trying to understand the algorithm.
The hilbert transform should give a phase shift of 90 degrees right?
So how do I do hilbert transform?
Do I need to create a cyclic buffer or soemthing like that to store my values and then do Hilbert transform?
10-10-2011 02:31 PM
If you get one point at a time, use the ptbypt version as already mentioned. It includes a buffer of configurable size.
10-11-2011 02:37 AM
Thanks it works great now