Author Topic: How to determine if PLL 4046 is locked?  (Read 10990 times)

0 Members and 1 Guest are viewing this topic.

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #25 on: August 12, 2018, 05:41:28 am »
And No, the XOR does not "continually wobble", no idea where that came from.

Your picture does not represent "wobble" in any way, the triangular waveform is synchronous to the PD and VCO and will not result in frequency or phase "wobble".

That aside, the scha002 and scha003 are the dodgiest application notes from TI ever, and were probably written by an intern during the summer vacation. I've ranted about those in other threads.
I was under the impression that when both VCO and Signal In are in phase the phase comparator should have output 0 volt's.
 

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #26 on: August 12, 2018, 05:44:11 am »
While trying to understand your schematics (I have to rotate my notebook upside down) - what the 10k pot-trimer actually does?
I think it cannot be wired that way..
Could you describe what the system shall actually do?

I was following http://uzzors2k.4hv.org/index.php?page=pllsstc1
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4789
  • Country: pm
  • It's important to try new things..
Re: How to determine if PLL 4046 is locked?
« Reply #27 on: August 12, 2018, 06:30:53 am »
I was following http://uzzors2k.4hv.org/index.php?page=pllsstc1
Then you miss the 120k resistor at the 10k pot's wiper (from the pot's wiper to the LP filter)..
« Last Edit: August 12, 2018, 06:40:35 am by imo »
 

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #28 on: August 12, 2018, 09:18:54 am »
I was following http://uzzors2k.4hv.org/index.php?page=pllsstc1
Then you miss the 120k resistor at the 10k pot's wiper (from the pot's wiper to the LP filter)..

I have it soldered on my board, I missed it while drawing the schematic.
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #29 on: August 12, 2018, 10:16:36 am »

I was under the impression that when both VCO and Signal In are in phase the phase comparator should have output 0 volt's.

No. From your link:
"The phase locking itself works by using an XOR gate to detect the phase angle between the two inputs, pin 3 and 14. The output from the XOR (pin 2) is a PWM signal, and the duty cycle will vary from 0 to 100% as the phase difference between two 50% duty square waves moves from 0 to 180 degrees."

 

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #30 on: August 12, 2018, 12:39:13 pm »
 :horse:

I was under the impression that when both VCO and Signal In are in phase the phase comparator should have output 0 volt's.

No. From your link:
"The phase locking itself works by using an XOR gate to detect the phase angle between the two inputs, pin 3 and 14. The output from the XOR (pin 2) is a PWM signal, and the duty cycle will vary from 0 to 100% as the phase difference between two 50% duty square waves moves from 0 to 180 degrees."

OK, so lets see if the VCO out is the same frequency as "Signal IN" but 180 deg out of phase, at this point PFD1 out  will be high continuous right? and this will cause VCO frequency to increase this the Both VCO and Singal In are locked in phase but different frequencies right?
So  does this PLL have 2 modes of operation Locked Phase and Locked Frequency?
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #31 on: August 12, 2018, 03:31:14 pm »

So  does this PLL have 2 modes of operation Locked Phase and Locked Frequency?


No, not quite. First, it does not make sense to analyze an out-of-lock situation, because that is chaotic.

When in lock, input and VCO frequency are the same, and the phase difference between them is constant.
The difference between PD I and PD II is, that for PD I, the phase difference is constant, but varies with frequency, as it needs to provide a PWM signal that can be filtered to a DC voltage for the VCO.
For PD II, the phase difference is always zero, and the output is three-stated most of the time. This is also one of the reasons why you need an active loop filter.

Please note, that for PD I to function correctly, the input must either be a sine wave or a 50% duty cycle square wave.
 
The following users thanked this post: ZeroResistance

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #32 on: August 14, 2018, 07:34:12 pm »
So for a high frequency verson (5Mhz to 15Mhz)  of the CD4046 what would be better?

74HC4046
74HCT9046
74HC7046
AD9901

Or are there any other better alternatives? Even a purely digital version would do I can add it to the list :)

EDIT: The AD9901 seems to be PFD and not a full fledged PLL :(
« Last Edit: August 14, 2018, 07:38:49 pm by ZeroResistance »
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14206
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #33 on: August 14, 2018, 08:05:49 pm »
Speed wise there is not much difference between HC4046 / HC7046 und 74 HCT ...
Choosing the manufacturer could have a larger effect.

There are quite a few modern PLL Chips, many of them much faster, like in the GHz range. ADF4351 is one such example.

PLLs are also integrated into quite a few µCs.
 
The following users thanked this post: ZeroResistance

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #34 on: August 14, 2018, 08:30:29 pm »
So for a high frequency verson (5Mhz to 15Mhz)  of the CD4046 what would be better?

Neither the CD4046 nor the 74HC types will work well at those frequencies. I think you need to take a step back and rethink this project.

 

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #35 on: August 15, 2018, 06:08:04 am »
So for a high frequency verson (5Mhz to 15Mhz)  of the CD4046 what would be better?

Neither the CD4046 nor the 74HC types will work well at those frequencies. I think you need to take a step back and rethink this project.

74HC4046 datasheet says that VCO center frequency @ Vcc 6.0V is min 13Mhz typ 21Mhz ? Am I missing something here?
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #36 on: August 15, 2018, 06:14:05 am »
Didn't say it wouldn't work, just that it won't work well. At those frequencies, the VCO output will not look like a square wave. And the PD will have issues.
 

Offline ZeroResistanceTopic starter

  • Frequent Contributor
  • **
  • Posts: 585
  • Country: gb
Re: How to determine if PLL 4046 is locked?
« Reply #37 on: August 15, 2018, 06:23:32 am »
Didn't say it wouldn't work, just that it won't work well. At those frequencies, the VCO output will not look like a square wave. And the PD will have issues.
Ok, then what do you suggest, is there a chip that will work well at those frequencies?
 

Offline iMo

  • Super Contributor
  • ***
  • Posts: 4789
  • Country: pm
  • It's important to try new things..
Re: How to determine if PLL 4046 is locked?
« Reply #38 on: August 15, 2018, 06:58:18 am »
The most recent variant is the 74HC9046 with improved params.
The only way how to verify it works fine at 5-15MHz is to wire it and measure..
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: How to determine if PLL 4046 is locked?
« Reply #39 on: August 17, 2018, 01:47:23 pm »
Didn't say it wouldn't work, just that it won't work well. At those frequencies, the VCO output will not look like a square wave. And the PD will have issues.
Ok, then what do you suggest, is there a chip that will work well at those frequencies?
An LC oscillator with a varactor?
 

Offline Benta

  • Super Contributor
  • ***
  • Posts: 5877
  • Country: de
Re: How to determine if PLL 4046 is locked?
« Reply #40 on: August 17, 2018, 04:56:31 pm »
This might seem like a total overkill, but there aren't that many PFDs and VCOs out there. These ON Semi parts will do the job:
MCK12140
MC100EL1648

They're not cheap (appr. 5 € each). Upside is, they're relatively easy to design with, as ECL technology does not send major switching spikes onto the supply lines.

Finding PLL/VCO parts in the 1<100 MHz range is hard. BTW, ON Semi specifies max. operating frequency as 1.9 MHz for 4046, 3 MHz for 74HC4046.




 
The following users thanked this post: ZeroResistance

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: How to determine if PLL 4046 is locked?
« Reply #41 on: August 18, 2018, 12:31:06 pm »
I was thinking of something like this. It may need buffering to give a nice square wave, which could be done with the spare gates in the quad NOR gate IC, used for the lock detector.

https://www.electronics-notes.com/articles/radio/pll-phase-locked-loop/voltage-controlled-oscillator-vco-design-for-plls.php
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21688
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: How to determine if PLL 4046 is locked?
« Reply #42 on: August 18, 2018, 07:25:55 pm »
Not really necessary to go to an LC oscillator.  RC is perfectly reasonable at this range, you just need something that's not HC slow.

Might look for V-to-F converters, or anything using a comparator for the same purpose.  MCP6562 and the like should be fast enough, or there's always faster types out there.  (Or LM319 if you're feeling... rustic?)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf