You Are Here: Home » AVR ATmega Projects » AVR Digital Hum Nuller using ATmega168 microcontroller

AVR Digital Hum Nuller using ATmega168 microcontroller

This ATmega168-based digital comb filter built to clean a realtime audio signal. It can remove the ubiquitous 60Hz (50Hz in some countries) hum noise caused by power lines and household electrical wiring. Since the noise is not strictly sinusoidal it is necessary to remove all harmonics of 60Hz, and that is what this filter does.

AVR Digital Hum Nuller

Dan Stahlke, project designer, explained that the hum cleaning algorithm works by building a sort of average background waveform and then subtracting this from the signal to pick out only the non-periodic features. The result is that signals that oscillate at 60Hz or multiples thereof get attenuated while everything else passes through unchanged. The bandwidth is limited to 24kHz due to both RAM and CPU constraints in the ATmega168 chip. As a workaround it is possible to use the digital filter to just output the simulated background waveform and subtract this from the signal using an analog circuit.

For more detail: AVR Digital Hum Nuller using ATmega168 microcontroller

Leave a Comment

You must be logged in to post a comment.

Read previous post:
DC Servomotor Controller System Meter using ATtiny2313 microcontroller

The ATtiny2313-based project is an experiment on the closed loop DC servomotor control system (SMC) by Elm Chan. It can...

Scroll to top