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

1 visualizzazione (ultimi 30 giorni)
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!

Risposta accettata

Kenny
Kenny il 6 Dic 2016
Modificato: Kenny il 7 Dic 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by