Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

How to multiply the frequency of a clock?

Hi,

I want to multiply the 50 kHz clock signal frequency by 2048 in order to obtain about 100MHz frequency. However, the plls of Cyclone II board are supplying at least 300MHz frequency. How can I do this multiplication by using these plls?

Thank you.

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It depends on the specification of the intended multiplied clock. Possibly a digital PLL design can be a solution. Otherwise, you have to use an external analog PLL hardware (at least phase detector and VCO).

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    even a digital PLL will require a high(er) speed clock, right? seems like it would make the original problem redundant.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Is this an existing board or are you still designing. Your best bet is to use an external clock generator that you can "genlock" to your 50kHz clock. The external clock can either be a VCO or a digitally synthesized clock (AD9954 as an example). The important thing is you have to be able to control the frequency of it.

    Then you have to write a phase detector and control the external clock to keep it locked to your 50kHz clock. How closely your generated clock tracks the 50kHz clock in phase and frequency will depend on the bandwidth of your loop filter. If you use a digital synthesis clock, I recommend using a PID controller.

    I don't know that you can get to a high enough frequency inside a Cyclone II to allow you to do a digital PLL. Depends on your design requirements I suppose.

    Jake
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am trying to decide which way I should follow. If I can use the plls that exist on the fpga board, I'll use them. But if I can't do this, I will design another board. I'm not familiar with PID controllers and loop filters so it seems very difficult to construct a digital pll.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The digital PLL is a different approach than the VCO. Can I ask where this 50kHz clock is coming from?

    Jake
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    The digital PLL is a different approach than the VCO. Can I ask where this 50kHz clock is coming from?

    Jake

    --- Quote End ---

    Another question is what are you doing with it? Is it possible to use the 50kHz to clock your signals into the design with FIFO's or domain crossing circuits? If you are going from 50kHz to 100MHz, the domain crossing is trivial. (just edge detect the input signals).