Author Topic: 12.8 MHz from 10 MHz  (Read 8878 times)

0 Members and 1 Guest are viewing this topic.

Offline mojoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
12.8 MHz from 10 MHz
« on: June 20, 2018, 02:34:15 am »
Asking for ideas on ways to generate a 12.8 MHz clock signal that is referenced and/or derived from a 10 MHz OCXO. The 12.8 MHz clock is used in a radio, as a master reference.

I'd like to use what I already have on hand, if possible. I have some 14-pin Micro Crystal 10 MHz OXCO's, some AD9850 and AD9851 modules that I got from ebay some time ago, some IDT ICS501 LOCO PLL multipliers (this chip does x2, x3, x3.125, x4, x5, x5.3125, x6, x6.25, x8, but sadly, nothing binary), various 74xxx chips, various PIC, ATTiny, ATMega, Arduino, and probably other parts I'm forgetting.

The first, obvious solution that occurs to me is to to use the ICS501 to multiply the 10 MHz x3, use that to clock one of the AD9851 modules (replacing the stock 30 MHz oscillator), and use a uC to program the AD9851 to output 12.8 MHz.

However, there is probably some simpler, more elegant way to do this. Since the 12.8 MHz is binary, it occurs to me that perhaps there is some way to do this with logic chips, or a microcontroller, using the 10 MHz OCXO as a reference.

BTW, I did check the datasheets of other LOCO PLL chips, but none seem to have any binary multipliers.

Please offer up your suggestions. I'm sure someone here has a brilliant solution (being very serious).

Thanks.

Edit: fixed type (ISC501)
« Last Edit: June 21, 2018, 01:08:25 am by mojoe »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #1 on: June 20, 2018, 02:49:30 am »
ICS501 to multiply 10MHz by 8 = 80MHz
74AC163 or similar to divide by 5 = 16MHz
ICS501 to multiply by 4 = 64MHz
74AC163 or similar to divide by 5 = 12.8MHz

(But I would buy a 12.8MHz OCXO instead.)
 

Offline cj

  • Contributor
  • Posts: 44
  • Country: nl
Re: 12.8 MHz from 10 MHz
« Reply #2 on: June 20, 2018, 06:06:56 am »
Here are two solutions requiring 12.8MHz VCO or VCXO

1)
Divide 12.8MHz by 32 so you get 400kHz
Divide 10MHz by 25 so you get 400kHz again but duty cycle isn’t exactly 50% but that’s not a problem.
Phase compare both 400kHz signals using 74HC86 gate and feed output of 74HC86 gate via loop filter to 12.8MHz VCO/VCXO.

2)
You could also construct a 0.78125 digital divider by skipping ever fourth cycle seven times but the 8th time you keep the cycle. In this way 7 cycles are removed in a 32 sequence. So you get 25 output cycles for every 32 input cycles. If the input frequency is 12.8MHz the average output frequency is 10MHz.
Compare both 10MHz signals using 74HC86 gate and feed output of 74HC86 gate via loop filter to 12.8MHz VCO/VCXO. Because of the cycle skipping the phase comparator output will have a ripple but that will be filtered out by the loop filter.


CJ
 

Offline eblc1388

  • Frequent Contributor
  • **
  • Posts: 393
  • Country: gb
Re: 12.8 MHz from 10 MHz
« Reply #3 on: June 20, 2018, 08:30:06 am »
This is my idea, out of my imagination.

Construct a oscillator with a 12.8MHz run of the mill crystal, trimming it close to output 12.8MHz using the usual two capacitors.

Use a 8-pin AVR, clocked by the 10MHz OCXO, toggling a output port pin to give 400KHz,  via an infinite software loop with 12 clock cycles HIGH and 13 clock cycles LOW. Or it might works even better with a narrower output pulse.

Force feed this 400KHz signal using a small value capacitor into the 12.8MHz oscillator to synchronize its output to 12.8MHz.

 
« Last Edit: June 20, 2018, 08:37:54 am by eblc1388 »
 

Offline CJay

  • Super Contributor
  • ***
  • Posts: 4136
  • Country: gb
Re: 12.8 MHz from 10 MHz
« Reply #4 on: June 20, 2018, 10:07:35 am »
A complicated method (I've got one with the Rb and it works quite well as a master reference for a few PMR radios I have):

http://www.mediafire.com/view/0x5sa7o0s9pgc4s/Tait_T801_Frequency_Reference

But:

Maybe try feeding the AD9851 with the 10MHz, use the internal multiplier and build a 5 pole LPF for the output

Calculate tuning word here:

http://www.analog.com/designtools/en/simdds/?part=AD9851&fin=10M&mult=6&ftw=369D036A&rso=111111&harmonicDB=-50&useFilters=1&fType=0&fTop=1&fOrder=5&fc=12.8M&fRipple=0.5

Filter design here or find a copy of Elsie:

http://www.wa4dsy.net/filter/filterdesign.html
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: 12.8 MHz from 10 MHz
« Reply #5 on: June 20, 2018, 12:28:08 pm »
You could use this table:

Code: [Select]
m x
(10/x)*m= 12.8 2 => x= 1.5625
(10/x)*m= 12.8 3 => x= 2.34375
(10/x)*m= 12.8 3.125 => x= 2.44140625
(10/x)*m= 12.8 4 => x= 3.125
(10/x)*m= 12.8 5 => x= 3.90625
(10/x)*m= 12.8 5.3125 => x= 4.150390625
(10/x)*m= 12.8 6 => x= 4.6875
(10/x)*m= 12.8 6.25 => x= 4.8828125
(10/x)*m= 12.8 8 => x= 6.25

Choose a divisor (x) for the 10 MHz from the table, divide using the counters of the avr and then multiply (m from the table) with the ISC501. For example, to divide by 6.25 count 6,6,6,7 or 6,7,5,7, etc so that (a+b+c+d)/4 = 6.25.
« Last Edit: June 20, 2018, 02:46:50 pm by GeorgeOfTheJungle »
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #6 on: June 20, 2018, 03:20:30 pm »
Force feed this 400KHz signal using a small value capacitor into the 12.8MHz oscillator to synchronize its output to 12.8MHz.

Injection locking produces too much phase noise for a radio reference.

Choose a divisor (x) for the 10 MHz from the table, divide using the counters of the avr and then multiply (m from the table) with the ISC501. For example, to divide by 6.25 count 6,6,6,7 or 6,7,5,7, etc so that (a+b+c+d)/4 = 6.25.

This won't work because of the minimum input frequency of the ICS501 (not ISC501).  You have to multiply first, then divide.
 

Offline GeorgeOfTheJungle

  • Super Contributor
  • ***
  • !
  • Posts: 2699
  • Country: tr
Re: 12.8 MHz from 10 MHz
« Reply #7 on: June 20, 2018, 03:28:16 pm »
Choose a divisor (x) for the 10 MHz from the table, divide using the counters of the avr and then multiply (m from the table) with the ISC501. For example, to divide by 6.25 count 6,6,6,7 or 6,7,5,7, etc so that (a+b+c+d)/4 = 6.25.
This won't work because of the minimum input frequency of the ICS501 (not ISC501).  You have to multiply first, then divide.
You learn something new every day...  :-+
The further a society drifts from truth, the more it will hate those who speak it.
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: 12.8 MHz from 10 MHz
« Reply #8 on: June 20, 2018, 03:30:30 pm »
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 
The following users thanked this post: Bassman59

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #9 on: June 20, 2018, 04:47:56 pm »
Silicon Labs excellent little Si5328

https://www.silabs.com/documents/public/data-sheets/Si5328.pdf

But does it make sense to spend $13 on this IC, when he could buy a 12.8MHz OCXO for $19?
 

Offline duak

  • Super Contributor
  • ***
  • Posts: 1038
  • Country: ca
Re: 12.8 MHz from 10 MHz
« Reply #10 on: June 20, 2018, 04:49:31 pm »
Another method to cleanly double a frequency is to use an analog multipiler with the input signal driving both the X & Y inputs.  This takes advantage of the trig identity where sin(wt) x sin(wt) = sin(2wt) where wt is the angular frequency.  Back in the bad old days before the current crop of synthesizer and clock multiplier chips, a colleague used an Analog Devices AD834 to realize a 0 - 30 MHz reference clock driven by an NCO.  The AD834 is about $20 though.

Cheers,
 

Offline Kleinstein

  • Super Contributor
  • ***
  • Posts: 14076
  • Country: de
Re: 12.8 MHz from 10 MHz
« Reply #11 on: June 20, 2018, 06:28:58 pm »
The old days way is to synchronize an 12.8 Mhz oscillator to the 10 MHz clock by adding a small amount of the 10 MHz (or maybe divided to 400 kHz or 2 MHz) to the oscillator.  If close enough to the correct frequency there will be synchronization to exactly the right frequency. Ideally the 12.8 MHz would be a crystal, but an LC oscillator would also work.
 

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14302
  • Country: fr
Re: 12.8 MHz from 10 MHz
« Reply #12 on: June 20, 2018, 08:04:10 pm »
The rational ratio is 32/25 so as edavid suggested, you can multiply by 32 by cascading two ICS501's (x8 then x4), and divide by 25 with a combination of counters you have available.
By inserting a divider between each ICS501 as he suggested instead of multiplying by 32 and then divide, you will keep the max output freq of the ICS501 within specs (160 MHz max).

Of course this is not optimal in terms of part count or power draw, but it should be doable with the parts you have at hand.

I'm afraid any "simpler" solution will require to buy a specific PLL IC and possibly have means of programming it, because it's not at all likely that you'll find one that can be programmed with this specific ratio with just a few pins configuration, so expect either I2C or SPI, which will require some kind of MCU. So may not be that much simpler actually, not that much less power hungry, unless you already have an MCU on board that you could use for this.

Since off-the-shelf fractional-N PLLs tend to be targeted at much higher frequencies nowadays, it may not be easy to even find one that would fit. The Si5328 is one of the few and pretty cool but a bit pricey and would require an additional MCU to be configured with.

So yet another solution that would probably be the most cost-effective for a product (probably not for just one prototype) could be to use a very small FPGA/CPLD that has a built-in PLL and internal Flash. Many do. The downside is, you will have to program it, but it's not very difficult. You can even use it for additional glue logic. Lattice has chips that can be a good fit for this, for instance in the iCE40 series.

 

Offline mojoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #13 on: June 21, 2018, 01:17:36 am »
ICS501 to multiply 10MHz by 8 = 80MHz
74AC163 or similar to divide by 5 = 16MHz
ICS501 to multiply by 4 = 64MHz
74AC163 or similar to divide by 5 = 12.8MHz

(But I would buy a 12.8MHz OCXO instead.)

This seems like the easiest solution, using what I have. And no micro needed.

BTW, where do you get a 12.8 MHz OCXO for $19? The only one I find in that price range is on ebay for $28.90 with shipping. His link to the datasheet doesn't work, so I don't know the supply voltage, or what it outputs. Besides, I don't have an ebay account.

The least expensive 5V through-hole part in stock from Mouser is $155.71 w/o shipping.
 

Offline mojoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #14 on: June 21, 2018, 01:19:28 am »
Silicon Labs excellent little Si5328

https://www.silabs.com/documents/public/data-sheets/Si5328.pdf

Yes, if I were to order new parts, I was thinking it would be simpler to use one of the Si parts.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #15 on: June 21, 2018, 02:03:33 am »
BTW, where do you get a 12.8 MHz OCXO for $19? The only one I find in that price range is on ebay for $28.90 with shipping. His link to the datasheet doesn't work, so I don't know the supply voltage, or what it outputs. Besides, I don't have an ebay account.

https://www.ebay.com/itm/NEW-1pcs-C-MAC-STP-2500-LF-12-8MHZ-Crystal-Oscillator-CSL/171746830143

Or how about a TCXO for $20?

https://www.ebay.com/itm/1-USED-TOYOCOM-TCO-903A-12-8-MHz-20x20-0-5PPM-Adjustable-TCXO-Crystal-Oscillator/332386541592

You want a datasheet too? :-DD
 

Offline bson

  • Supporter
  • ****
  • Posts: 2265
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #16 on: June 21, 2018, 02:17:21 am »
If you double it to 20MHz first you get a 16/25 ratio for 12.8MHz.  (Or 32/25 total.)
« Last Edit: June 21, 2018, 02:21:04 am by bson »
 

Offline bson

  • Supporter
  • ****
  • Posts: 2265
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #17 on: June 21, 2018, 02:25:02 am »
If it were me I'd use an MSP430G2203, feed it the 10MHz, and set up the internal DCO/PLL to multiply it up to 12.8MHz and output that on a pin.  20 pin SSOP, miniscule power consumption, $.60 in quantity (and maybe a buck qty handful from Mouser/Digikey).
 

Online BrianHG

  • Super Contributor
  • ***
  • Posts: 7660
  • Country: ca
Re: 12.8 MHz from 10 MHz
« Reply #18 on: June 21, 2018, 02:27:32 am »
I've used this guy with great success:
CDCE925PW
http://www.ti.com/product/cdce925?keyMatch=CDCE925PW&tisearch=Search-EN-Everything

It has 2 PLLs, optional voltage control tuning pin for a crystal if used instead of a fixed clock & flash memory so you may program it once and just let it power up functional in circuit.  And they are cheap at 2$.
« Last Edit: June 21, 2018, 02:29:12 am by BrianHG »
 

Offline fcb

  • Super Contributor
  • ***
  • Posts: 2117
  • Country: gb
  • Test instrument designer/G1YWC
    • Electron Plus
Re: 12.8 MHz from 10 MHz
« Reply #19 on: June 21, 2018, 04:29:33 pm »
Silicon Labs excellent little Si5328

https://www.silabs.com/documents/public/data-sheets/Si5328.pdf

Sure. I don't know enough about the users application to make that call. For example: What if they need to lock the 12.8MHz to the 10MHz coming from an external source?
https://electron.plus Power Analysers, VI Signature Testers, Voltage References, Picoammeters, Curve Tracers.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #20 on: June 21, 2018, 05:08:44 pm »
If it were me I'd use an MSP430G2203, feed it the 10MHz, and set up the internal DCO/PLL to multiply it up to 12.8MHz and output that on a pin.  20 pin SSOP, miniscule power consumption, $.60 in quantity (and maybe a buck qty handful from Mouser/Digikey).

Can you say more about how this works?  The MSP430 documentation seems very confusing.

Is it a PLL or FLL?
 

Offline mojoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #21 on: June 21, 2018, 11:25:44 pm »
Yes, I'd like to see how to do this with an MSP430 as well.

Edit: I just looked in the parts bin and see that I have some MSP430F2013 and MSP430G2553 on hand.
« Last Edit: June 21, 2018, 11:32:48 pm by mojoe »
 

Online BrianHG

  • Super Contributor
  • ***
  • Posts: 7660
  • Country: ca
Re: 12.8 MHz from 10 MHz
« Reply #22 on: June 21, 2018, 11:30:52 pm »
If it were me I'd use an MSP430G2203, feed it the 10MHz, and set up the internal DCO/PLL to multiply it up to 12.8MHz and output that on a pin.  20 pin SSOP, miniscule power consumption, $.60 in quantity (and maybe a buck qty handful from Mouser/Digikey).

Can you say more about how this works?  The MSP430 documentation seems very confusing.

Is it a PLL or FLL?
No, it's a micro controller unit.  You know, get a compiler, write a program, software program it's internal PLL, output that internal clock to a pin.  I wouldn't trust it's output purity and stability compared to a dedicated PLL like the one I mentioned.  The TI unit I mentioned (CDCE925 or cheaper CDCE913) you can type the frequencies you are using and want on each output into TI setup software, and it will program the IC for you, or give you the I2C setup registers.
I've used it for a video graphics clock generator ranging from 180Mhz to 12Mhz with 0.01Mhz steps without any jitter or noise.
« Last Edit: June 21, 2018, 11:40:17 pm by BrianHG »
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3381
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #23 on: June 21, 2018, 11:43:41 pm »
Is it a PLL or FLL?
No, it's a micro controller unit.

I realize that, but I was asking if the internal frequency generator was a PLL or FLL.  Most of the documentation says FLL, but I couldn't find details.  Usually an FLL produces too much phase noise to use as a radio LO.
 

Offline mojoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 371
  • Country: us
Re: 12.8 MHz from 10 MHz
« Reply #24 on: June 22, 2018, 09:58:18 am »
I just read the docs regarding the CPU clock and DCO. Yes, it looks like it's FLL, not PLL.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf