Phase lock loop shifted by 90 degrees - CD4046

Status
Not open for further replies.

MacIntoshCZ

Active Member
Hello there after a while =),
Blue trace is from DDS generator, its should simulate feedback from current transformer - tag: CT
Yellow trace is output from VCO.
I though phases will be same. Howeever current in coil is shifted by 90 degrees so i should no complain about that... I will use this for driving halfbridge.
Can someone explain why its shifted?
Thanks
 

Attachments

  • schematic-1.png
    117.2 KB · Views: 268
  • schematic-2.png
    67.2 KB · Views: 209
  • DS1Z_QuickPrint1.png
    45.8 KB · Views: 232
It has a lot to do with which phase comparator you use and the way you develop the feedback signal. I agree the "edge lock" phase comparator II gives the most solid and stable lock but it is finicky with things like missing pulses.

Some versions of the CD4046 include a phase comparator III (an RS flip-flop) which can be used for adjustable phase.
 
The Phase Comparator I PC1 is an XOR frequency doubler, so you get 2f with near 50% duty cycle ideally with 90 deg phase shift to control the average voltage of the VCO. Since output is a tri-state switch this acts as an integrator with an RC filter. changing the duty cycle of the switch with the phase error. But all your pots and audio load pot affect the results and is very delicate tuning and not so great for production.

Component tolerances also affect the results.

Normally for a PLL design, you define your input frequency range over temp and voltage with nominal phase error and use an integrator with phase lead/lag compensation, but with a non-integrator or 1st order filter it is partial integration at AC but not at DC and proportional feedback. This allows missing pulses to be ignored. The input f range and input/output tracking jitter characteristics ought to be defined to make it track the way you want. ie. jitter reduction or maximum phase error etc. You can also use dual PC's and or dual BW with an analog switch for fast lock-in and slow tracking.

The Type II or PC2 is phase/frequency comparator but with more etc jitter noise.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…