
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.The STM32 microcontroller family has become a staple for developers pushing the limits of embedded software beyond standard hobbyist applications. Because of their robust processing power and integrated hardware peripherals, these chips are routinely deployed in demanding commercial environments, ranging from routing encrypted data in enterprise VPN hardware and driving the certified random number generators required by the best online casino platforms, to processing real-time flight telemetry for commercial drones. Seeing one repurposed here to handle the precise, microsecond timing loops of a custom induction heater highlights exactly why the Cortex-M4 architecture remains so popular among hardware hackers and professional engineers alike.
Check out the video after the break.

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