Categories

Implementing an all digital phase-locked loop

Posted on Wednesday, August 13th, 2014 in ARM by DP

NewFile1

Kalle Hyvönen of DGKelectronics writes:

I’m currently building an induction heater. I’ve already built one controller based on an analog PLL so this time I decided to go all digital and use an ARM Cortex-M4 microcontroller (STM32F303). For this I needed to implement a digital phase-locked loop running on the MCU.
Principle
An ADPLL is basically an analog phase-locked loop but implemented in software. You take the phase difference between a reference signal (the one you are trying to lock to) and your output signal with a phase-frequency detector and feed that difference to a filter that calculates a value that you then use to adjust your oscillator and try to match the frequency and phase of the reference signal. In an ADPLL even the oscillator is digital. In my version I’m using the STM32 integrated PWM module.

Check out the video after the break.

This entry was posted on Wednesday, August 13th, 2014 at 1:14 pm and is filed under ARM. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

One Response to “Implementing an all digital phase-locked loop”

  1. Leo Lee says:

    SANSHO was founded in Tianjin, China, in 1916. As almost 100 years have passed since the foundation, the dynamism of SANSHO which was expanded to all over the world through the export of Chinese products is now succeeded by us as 13 overseas affiliates in 8 different countries. From now onward, we aim further growth by increasing the sale of eco-friendly products and challenging some new business beyond our outstanding business framework. We continue to value the trust by our customers and the challenge for something new.
    Providing Led tester, Led machine, electronic semiconductors, Taiwan Sansho has been a professional importing and exporting agent for more than a decade, we focused on good quality and great service, now we have earned trust from our clients. If you want to know more information, please refer to our site: SanSho LED

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments