Hello everyone,
Long time lurker here, finally making my first post!
TL;DR: I built a boost driver, and can hear an audible whining noise at medium loads. Any tips would be appreciated!
Boost driver dev board driving XHP50.3 HI (under 10 stop ND filter)
I’m on a quest to build myself a flashlight, and my first step was to answer a bunch of questions I had about boost drivers. To do that, I’ve made myself a dev board with some of the more popular components:
- ATtiny1616 MCU
- MP3432 boost converter
- Current control with op-amp (TLV333), setpoint using ATtiny1616’s DAC
- High dynamic range (HDR), technically ~1000 unique brightness settings
- Output is set to ~6V for an XHP50.3 HI, hardware configured for ~4A max
- All the usual features: battery voltage sensing, temperature sensing, off-time estimation etc.
- Setting current setpoint using external potentiometer
- Custom firmware for testing e.g. ramping brightness up and down on loop, dynamic VREF etc.
- Jumpers everywhere to try different things
Over the past couple of days, I’ve managed to answer several of the questions I’ve had, for example:
- Exact implementation for fixing boost converter startup flash
- How to keep HDR mode MOSFET’s Rds,on predictable
- Effects of op-amp frequency compensation (still not 100% certain on this, discussion would be nice)
- How well does a potentiometer work for brightness adjustment (replacing DAC)
If anybody’s interested, I plan on making a video to document everything, and I’ll make the schematics available too.
However, there’s one remaining issue I haven’t worked out, and I was hoping some gurus here would give me a few pointers. When the driver is operating at “medium” brightness, there is an audible high-pitch whine. Here are a few notes I have on the issue:
- At extremely low outputs, there is no audible noise
- Even at same/comparable driver outputs values, switching HDR on eliminates the noise instantly, even without frequency compensation (driver output waveforms confirm this)
- HDR off: 1 Ohm current sense resistor
- HDR on: Current sense resistance is ~10 to 20 milliohms
- The amount of noise changes with frequency compensation capacitor:
- No capacitor: Loudest noise, and driver output waveform has clearly visible oscillations
- 1nF capacitor: Noise is reduced, waveform amplitude decreases substantially
- 22nF capacitor: Noise is reduced further, output oscillations barely visible
- 100nF capacitor: Boost driver outputs seems to become unstable
- The amount of noise changes with MP3432’s operating mode:
- Forced continuous conduction mode (FCCM): No audible noise with frequency compensation
- Pulse-skip mode (PSM): Noise is audible
- Ultrasonic mode (USM): Noise is louder than in PSM
- The inductor’s a Coilcraft XAL7070-222MEC, unknown if it’s coil whine
I’m currently fresh out of ideas, and will really appreciate any feedback. Perhaps the key is how HDR immediately stops the noise, even if the output voltage remains basically the same. So here’re some scope captures. Channel 1 (yellow) is HDR state (MOSFET gate voltage). Channel 2 (blue) is the driver’s output voltage.
Frequency compensation: 22nF, Mode: PSM. Noise is barely audible
Frequency compensation: 22nF, Mode: USM. Noise is slightly louder than PSM
Frequency compensation: None, Mode: PSM. Noise is very audible
Frequency compensation: None, Mode: USM. Noise is very audible
Frankly, the noise might not be a major problem, but it’ll be amazing to figure out a real technical solution to this.
Thank you for reading!







