Hi all,
I have recently built this clock generator using a counter hooked up as a frequency divider, and a flip flop to clean the output.
Attachment:
Screenshot 2021-12-06 at 21.17.23.png [ 123.7 KiB | Viewed 503 times ]
It works well but has a number of drawbacks:
- because I use the borrow output as a clock, I need to clean up the duty cycle with a flip flop, which divides the frequency by 2
- the maximum counting frequency of the 74HC193 is 20MHz, which means I'm limited to 10MHz output clock. My goal is to reach at least 14MHz
- going to higher speed parts like a 74AC161 means a division by 4, because the '161 carry output doesn't toggle when loading 1111. I would need a 56Mhz oscillator, which is a no go on a breadboard
- and finally, the steps are divisors, meaning the intervals are not regular (I go from 14Mhz to 7Mhz in one step).
So, in order to solve this, I've been considering a PLL clock generator based on something like the 74HC7046. I've never used one, and resources on the net are scarce besides general overviews of PLLs.
This would be a general idea: Using a 1MHz master clock and my divider circuit, I get to increase the frequency by 1Mhz increments, until 16Mhz. No large frequencies are needed on the breadboard and no high-speed parts either.
Attachment:
Screenshot 2021-12-06 at 21.31.45.png [ 460.82 KiB | Viewed 503 times ]
This is what I have pieced together from the
datasheet. I'm probably missing things as it does not work. I've chosen R1 and C1 from Figure 13 to get a 1MHz center frequency. Not sure if that's the right thing to do.
Attachment:
Screenshot 2021-12-06 at 21.59.09.png [ 304.25 KiB | Viewed 503 times ]
Output I get with the divisor set to 2 is indeed 2Mhz, but the signal is pretty bad, and I loose the lock by hovering my hand... Also doesn't work with a higher divider.
Attachment:
Screenshot 2021-12-06 at 21.45.03.png [ 365.76 KiB | Viewed 503 times ]
Has anyone built such a thing before, or has a link to good resources on how to build such a circuit? Any help would be much appreciated!