DIY Class D half bridge sub woofer amplifier unstable

Thread Starter

meijjaa

Joined May 29, 2023
7
Dear all,

As a fun project I set out to build a Class D amplifier (with some spare parts from previous projects) for my DIY sub woofer. First step was to create something functional and build furher on this.

I started with the IR2113 but since I had doubts about the stability of my dead time RC solution I switched to the IR21844 for 400 nS stable dead time. Please ignore the LTC7060 chip in below schematic (I took it as it was closest functionally for some initial simulation).

For now I hooked up the double bench power supply (current limited at 0.5 A) and a 100 Ohms load as speaker. Vcc is 12 V, PWM is 100 kHz 50% from a function generator. The unidentified diodes in the schematic are STTH3R02's. The Inductor is a 1 mH 2 A choke in Common mode (https://www.distrelec.biz/Web/Downloads/_t/ds/7446122001_eng_tds.pdf).

The problem starts when I hook up de LC filter with (or without) load and increase the supply voltage above 25V (while the simulation is working just fine). It seems like SW and TG are rising and falling more and more quickly within a period of 5 seconds up until heavy ringing occurs and the current limit kicks in. Looking at the scope both Mosfets seem to start causing shoot through due to the ringing but maybe somebody can explain better.

So far I tried to reduce the switching speed, use large dead time, moved from bread board to a soldered pcb, tried IRF610 Mosfets instead (lower gate charge would help?), use a simple air Inductor (18 uH) but still no luck.

With my limited knowledge it seems impossible to figure out the source of this issue. Any tips what could be the source of this issue and an explanation of the behavious of SW and HO with the LC filter attached would be much appreciated!

1685396260906.png



Orange: high side Vgs
Green: low side Vgs
Red: supply
Blue: SW
Yellow: HO

No load and no LC filter connected:
1685396633699.png

14V with LC and load, HO and SW are inceasing earlier now:
1685396815602.png

27V
1685396854588.png

27V a little later just before failure
1685399023230.png
Without the Math trace
1685399036755.png
 

Attachments

Last edited:

KeithWalker

Joined Jul 10, 2017
3,091
That's a bit of an odd configuration of the supplies. I would think it would be more stable if you fed U8 from a split supply (+ and -) with the center (0V) and OUT- both grounded.
 

crutschow

Joined Mar 14, 2008
34,420
I agree with Keith, that you have an odd circuit configuration for the supplies.

But I don't see the need for two supplies.

Just use the single supply voltage configuration shown in the data sheet (below).
Connect the two outputs together and connect them through a capacitor (1000µF) to block the DC to the grounded speaker load.

1685417886152.png
 

Thread Starter

meijjaa

Joined May 29, 2023
7
Thanks for the comments gents, I implemented them in my PCB but unfortunately no improvements. The result is still the same.
Any other suggestions would be very welcome!

1685463757677.png
 

crutschow

Joined Mar 14, 2008
34,420
What is the source for Vcc?

D3 appears to be the default diode model, which can sometimes give flaky results. Select a model for a real Schottky diode.
 

Thread Starter

meijjaa

Joined May 29, 2023
7
What is the source for Vcc?

D3 appears to be the default diode model, which can sometimes give flaky results. Select a model for a real Schottky diode.
Vcc is from a second bench PSU at 12 V. Actually I'm not using Shottky diodes but these ultra fast recovery normal diodes STTH3R02: https://www.st.com/en/diodes-and-rectifiers/stth3r02.html

Well there might be something going on indeed, here are the simulation results.

Before (generic Diode)
1685478160256.png

After (using MURS320)
1685478379192.png
 

Thread Starter

meijjaa

Joined May 29, 2023
7
So after some more experimentation on the physical circuit, exchanging gate resistor values, removing/exchanging diodes and capacitors, changing wiring, changing decoupling for Vcc nothing changed the issue of the ringing (basically no visual changes at all).

But now by coincidence I found out that simply increasing the switching frequency above 140 kHz the circuit is stable to 60 V (max. for my PSU). Visually I can see VB and HO ramp up slower while increasing the frequency and do not start to (heavily) ring anymore.

I cannot explain but really like to understand why. If this makes sense to anybody please tell me what is going on.

Below a screenshot at 150 kHz, 60 V.
C1 HO (at high MOSFET gate)
C2 Vcc
C3 VB (at high MOSFET source)
C4 LO (at lower MOSFET gate)

ScreenImg (20).png
 
Top