Phase locked loop block (simulink) : locks with VCO at -270 degrees relative to input signal. Is this the expected behaviour?

3 views (last 30 days)
Hi all! I'm using a Phase Locked Loop block in Simulink (from Matlab R2013b).
When the phase locked loop is locked, the Simulink simulation indicates that the 'locked' signal (at the output of the voltage controlled oscillator) lags the received signal by 270 degrees. I attached my Simulink model (in a zip file) that shows this out-of-phase locking.
Is this supposed to be the usual behaviour of Simulink's phase locked loop block?
I would like to get a Simulink phase locked loop block that will get the VCO output signal and the received signal to be in-phase..... that is, with no phase difference.
Is there another phase locked loop block (or setting) that makes the VCO output become in-phase with the received signal? Thanks all!

Accepted Answer

Kenny
Kenny on 6 Dec 2016
Edited: Kenny on 7 Dec 2016
After spending some time writing some code to implement my own phase detector, I can confirm that Simulink library's phase locked loop block does indeed have a 270 (or 90 degrees) lag for the VCO signal (relative to the incoming signal) when locked. While it is certainly possible to have phase locked loops that have 90 degrees phase difference when locked, I'm also thinking why Simulink doesn't supply a 'normal' version that simply locks with a ZERO degrees phase difference.
Also, I find it strange how the Matlab/Simulink 'help' documentation doesn't bother to indicate this 90 degrees out of phase locking. If it were me, I would have just included a 'normal' phase locked loop block in the Simulink library, and would also just provide a very simple and straight-forward phase locked loop example.
I'll upload my phase locked loop example for others to follow. It's a Simulink model done in Matlab 2013b.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!