• Welcome to ASR. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Why using a DMM is very unreliable when calibrating level for A/B testing with class D amplifiers

pma

Master Contributor
Technical Expert
Forum Donor
Joined
Feb 23, 2019
Messages
6,835
Likes
17,208
Location
Prague
Why using a DMM is very unreliable when calibrating level for A/B testing with class D amplifiers

Originally posted here, but I find it important enough to open a new thread.

I would like to explain in deep why the usually recommended method of calibrating of level of the amp output with a 1kHz sine and DMM is unreliable in case f class D amplifiers.
I have tested BerryBak BVS2300 vs. SMSL A100, into 8ohm load. The former uses AD modulation, the later BD modulation, filter-less. Both types of modulation are explained here:

https://e2e.ti.com/cfs-file/__key/c...nts-files/6/Class_2D00_D-LC-Filter-Design.pdf

To put it short, both create a lot of unwanted HF noises, however the filter-less BD is much worse in this regard.

Let me start with oscilloscope shots from the BerryBak.

1kHz/1Vrms output, unfiltered
PB040575.JPG


Please note the high 450kHz switching frequency residual superimposed on the 1kHz sine.

1kHz/1Vrms sine, filtered
PB040577.JPG

Now the same, but 30kHz low pass filter is added at the oscilloscope input BNC connector. Still a small 450kHz spike is visible, but negligible.

Now we connect a DMM instead of the oscilloscope. The situation is like a blind man in the night. I have used two different DMMs, of quite a good quality.

1. UNI-T UT71B, with rated AC measuring bandwidth of 100kHz, in fact measuring even higher.
2. Protek 506, measuring reliably up to some 10kHz

Now, what happens if we connect them across the 8ohm load, instead of the oscilloscope. The chart below shows the results.

classD_calibration.png



The faster UT71B shows similar readings as the oscilloscope and it must be used with the filter to give reliable readings. The slower Protek 506 seems to be less affected by switching residuals, but the readings are unreliable. Hopefully somehow consistent with the filter.
The conclusion is clear - using a filter is a must when calibrating class D amplifier levels for the A/B test, even with the DMMs.
 
Last edited:
Does that apply to all Class-D amplifiers or just these two very inexpensive designs?
Keith
 
Does that apply to all Class-D amplifiers or just these two very inexpensive designs?
Keith
I would rather ask does it apply to all DMMs? And my answer would be - you never know without properly made test.
Not to avoid your question - my answer is that the cost of the class D amp is pointless. The circuit principle and design counts. The BerryBak has similar output spectrum as Hypex NC252MP, so the error without the filter would be similar in both cases. The filter-less SMSL BD design can be related to the low cost and is the worst possible regarding HF and VHF emitted noise.

And my funny answer in the end - in case of measuring errors like this the saying "trust your ears" counts. That is how I immediately understood my mistake when I used DMM without a filter for A/B level matching of those two amps, when 1kHz sine sounded with different loudness, though "measuring same". Mistakes are easy to make even with good intents.
 
Both those DMMs have very wide AC measurement bandwidth. 1kHz is more typical, or 400Hz. See the fluke 117 for example. I would always recommend a 100Hz signal for a DMM measurement for that reason alone.

That’s not to say a typical DMM can’t be thrown off by switching noise, they probably can, just that the device shown are a bit unusual. I don’t think most DMMs work well with complex impedances like speakers either, so I’d agree the usual advice is probably
Insufficient regardless of class D amps.
 
Both those DMMs have very wide AC measurement bandwidth. 1kHz is more typical, or 400Hz. See the fluke 117 for example. I would always recommend a 100Hz signal for a DMM measurement for that reason alone.

That’s not to say a typical DMM can’t be thrown off by switching noise, they probably can, just that the device shown are a bit unusual. I don’t think most DMMs work well with complex impedances like speakers either, so I’d agree the usual advice is probably
Insufficient regardless of class D amps.
They have wide BW. However, it does not mean that "low BW" (= extra cheap DMM, rather an indicator than a measuring instrument) would not be affected by HF content. Quite opposite. I have one of that "$10" units and it is unusable. Remember, BD modulation sends full scale impulses from the output. We have complex tasks that we try to suggest to be done with primitive methods.

Again, rather than a poor DMM, or good DMM without a filter, it is better to use ears to switch A/B 1kHz sine and match the level by listening. You get 0.1dB accuracy easily.

One more - it is a fact that precisely matched devices, being them amplifiers and DACs, are close to impossible to be distinguished by A/B(x) switchbox. This is my long term experience and the reason why I was sceptical in your thread, though I understand it is a technical challenge and a nice hobby. If the path is a goal, then it is fine.
 
Indeed to get less than 0.1dB error you need to at least do the level matching at 20v out..
Not impossible but good to know.
 
A fluke 117 is a $500 professional device, not a $10 Amazon special! Like most DMMs it’s meant for domestic electrical work, not high frequency stuff
 
Most of the digital multimeters are AC calibrated for a pure sine wave often 400 Hz or 1 kHz. If the signal has a different shape then the reading is not true. If the DMM input has a filter then the class-D high frequency residuals should be filtered out. If wide band DMM the it will measure also the switching frequency as can be seen on the oscilloscope screen when measuring the voltage with the oscilloscope. So the whole thing is a question of measuring bandwidth and signal form. Even a DAC like my QA403 (Quantasylum) emits out of the band spurious signals which my audio AC voltmeters also measures and therefore the displayed value is not really correct. Whether other DAC models do the same I don't know because of no experience. In these cases I use a BNC inline lowpass filter with 100 kHz limit.
Last not least, better professional DMM have True RMS AC measurement option which is less dependent on the waveform within certain limits.
 
Last edited:
Unfortunately true rms also counts for HF signal rms. My DMM measures quite well even 500 kHz signals. It is a part of the true rms as well. The DMM does not know it should measure 1kHz only. It would need a notch filter. Cosmos ADC with an optional low pass filter is much better than any DMM that shows an integral, single voltage reading.
 
That's exactly why I still use analogue audio millivoltmeters (Ferrograph RTS2 and Levell TM3A) for any audio level measurements. A DMM is fine for measuring DC or mains AC, but wouldn't use it for anything involving changing voltages. I also keep an analogue MM for those measurements involving changing levels, like setting bias current, as it's much easier to tell what's going on with a moving pointer than rapidly changing numbers.

S.
 
Why using a DMM is very unreliable when calibrating level for A/B testing with class D amplifiers

Now the same, but 30kHz low pass filter is added at the oscilloscope input BNC connector. Still a small 450kHz spike is visible, but negligible.

The conclusion is clear - using a filter is a must when calibrating class D amplifier levels for the A/B test, even with the DMMs.
What are you using for the LPF? Is it DIY or available commercially?
 
Ah crap @pma you made me do it.

Here are the two multimeters I have to hand, a Tenma 72-7780 (true RMS, about USD60 from Farnell etc), and an RS Pro IDM 93N (RS say it's $300 now but I can't have paid that for it, anyway it's averaging, not true RMS). Both are measuring the sine wave output of a topping D10 balanced at 3V into a 10k resistor.



DMM comparison.png
 
That's exactly why I still use analogue audio millivoltmeters (Ferrograph RTS2 and Levell TM3A) for any audio level measurements. A DMM is fine for measuring DC or mains AC, but wouldn't use it for anything involving changing voltages. I also keep an analogue MM for those measurements involving changing levels, like setting bias current, as it's much easier to tell what's going on with a moving pointer than rapidly changing numbers.

S.
As recommended by Mr Auckland!
 

Attachments

  • IMG_0591.jpeg
    IMG_0591.jpeg
    745.5 KB · Views: 41
So what about using a low budget DMM? One that is not True RMS but does have low voltage AC ranges.
For A/BX testing accuracy doesn't matter. Its all about level matching and repeatability.
 
if not bridged you can level match by 'nulling' the output between the two plusses :)
 
Is it silly to even ask?
I really want accurate ABX testing between components this issue is an eye opener!

What about level matching using acoustics, actual measured SPL in the air?

As anechoic as possible in some cases

vs out at LP for others.

UMIK-2 and software

or XLR + interface?
 
So what about using a low budget DMM? One that is not True RMS but does have low voltage AC ranges.
For A/BX testing accuracy doesn't matter. Its all about level matching and repeatability.
Yes repeatability is what's important, not accuracy. If you are comparing class D amps then the easy thing is to connect a DAC to the DMM and check the reading drops off when you increase the frequency of a test tone from 400Hz to 20kHz. That will tell you if the DMM is potentially susceptible to the switching noise of the amp.
 
The (hard) way I was taught that spectrum is additive and DMM' s are agnostic was through a good Keysight DMM and a simple DAC.

Same level, same everything, just one WN measurement at 44.1kHz and another at 352.8kHz.

Anyone with a high BW DMM can try it, it's fun!
 
Back
Top Bottom