r/SoundSystem • • 8d ago

DSP Limiter Calculations Guide

Hey Everyone

I've been learning how to calculate limiter settings for my soon-to-be soundsystem and had quite a hard time figuring it all out. I suspect I might not be the only one. I could'nt find any good complete resources online so i thought I'd condens everything i learned in a little document.

I am by no means an expert but still thought I'd make the effort.

Any feedback is welcome!

It's not the cleanest of documents but it gets the point across.

I hope this can help someone in the future trying to learn the same topic.

Cheers

LINK

16 Upvotes

12 comments sorted by

4

u/part__low 8d ago

I believe function one has a calculator on their website too.

4

u/Gunshot990 8d ago

Yes indeed, but it's also nice to know the logic and formulas behind it. Especially for the conversion to dBu and amp gain substraction.

2

u/part__low 7d ago

That’s true!

2

u/jungchorizo 8d ago

Nice, very neat

1

u/Gunshot990 8d ago

Thanks!!

2

u/Pretty_Pangolin_5900 6d ago edited 6d ago

Well, do you understand logarithm? If not, it's just another scale for numbers. Let's say you want to know how large a number is. If you have numbers whose sizes vary a lot, you might be more interested in comparing the count of digits. Now you have to be careful, since a 4 digit number is much more than just twice a two-digit number. As you know, 1000 is 10 times as much as 100, even though it has only one additional digit. That's the basic idea.

dBu is a logarithmic scale for voltage with a base of 20. That means that a difference of 20 dBu (for instance 24 dBu compared to 4 dBu) means 10 times the voltage. But again, a difference of 40 dBu means a hundret times the voltage (and a difference of 60 dBu means 1000 times the voltage).

The base of the scale is 0.775 V, so -20 dBu is 0.0775 V and +20 dBu is 7.75 V.

Now, Power equals voltage squared, divided by resistance (P=U²/R). Let's assume you have a speaker that is rated at 1000 W and let's assume that speaker has a rated impedance of 8 ohms. The actual minimum impedance can be up to 20 % below the rated impedance, so 8 Ohms x 0.80 equals 6.4 Ohms. If you rearrange the formula for power, you get voltage squared equals the power divided by impedance (don't forget the root), so U=root(P x R). P is 1000 W and R is 6.4 Ohms, so U is 80 Volts.

Now let's assume you have an amplifier with an amplification factor of 32 dBu. Now, do you remember the base of the dBu scale? It was 0.775 Volts. 80 is about 100 times as large. Do you remember, that a difference in 20 dB mean 10 times as much voltage? so how much more is 80 compared to 0.775? about 100 times, right? So when 77.5 Volts are 40 dBu, you need slightly more than that, but let's stick to 77.5 for the sake of simplicity here. You get the exact value by calculating 20 x log( voltage / 0.775)

So again, for 1000 Watts at 8 ohms you need 80 volts. And 80 volts is about the same as 40 dBu. Your amplifier has an amplification factor of 32 dBu, so it simply adds 32 dBu to your signal. 40 - 32 = 8. So if you set your limiter to 8 dBu, your amplifier will add another 32 and the result is slightly below 1000 watts, since we used 77.5 instead of 80. If you use a calculator and do the math backwards, you get 8.28 dBu as the exact number.

But make no mistake. Neither the datasheet of your amplifier, nor the software values of your dsp are accurate. So if you want to be sure, you'll have to measure, anyway. If you do so, be aware that the output of a class D amplifier has potential to ground, so never ever touch any terminal when the amp is powered! (older amps are insulated, class D are not!)

2

u/Gunshot990 6d ago

Thanks, i see you have read the guide 😂

Or didn't read the actual post..

But still thanks brother you are spot on.

3

u/Pretty_Pangolin_5900 6d ago edited 6d ago

oh sorry. Oh my god, I don't know how I could misinterpret your post like that. Guess it was too late already. Thanks for your effort!

1

u/Gunshot990 5d ago

No problem at all, nice to have some confirmation that i did it right.

Thanks man!!!

2

u/Traditional-Spray267 3d ago

Thanks bro

1

u/Gunshot990 3d ago

Np man, hope it can help you!!