• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. 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!

Do upsampling DAC's still need "steep" reconstruction filters?

Endibol

Active Member
Forum Donor
Joined
Dec 18, 2021
Messages
186
Likes
275
For some time I am wondering why modern DAC's are still judged on the steepness of their reconstruction filters. What I understand is that (almost) all DAC-chips nowadays have on-board upsampling functionality. Suppose a common 44.1 kHz signal is upsampled 8x, which would mean a sample rate of 352 kHz. In that case the filter wouldn't need to be so steep as to reduce the signal to approx. say -80 dB at 22 kHz, but only at 176 kHz. This would require a filter with much slower roll-off characteristics. Still I see in all reviews filters with a cut-off at approx. 22 kHz.
Why? Wouldn't a less steep filter not offer all kind of benefits like easier implementation, less phase shift issues etc.?
Who can give my some clarity on this point? Thanks a lot!
 

NTK

Major Contributor
Forum Donor
Joined
Aug 11, 2019
Messages
2,708
Likes
5,975
Location
US East
The reconstruction filter is also the interpolation filter. The idea of over-sampling is to replace the need of a very steep analog anti-imaging filter with a steep digital filter followed by a gentle analog one.
 

staticV3

Master Contributor
Joined
Aug 29, 2019
Messages
7,831
Likes
12,516
When Amir tests the anti aliasing filter of a DAC at 44.1kHz input, that is always with the DACs internal oversampling turned on.
What you see is actually what you get during real world usage. It's not a synthetic stress test so to say.
 

musicforcities

Senior Member
Joined
Sep 18, 2021
Messages
415
Likes
467
I recommend this video, it is the clearest explanation I have found of how this works mathematically and how the filters work in the process. It also explains, implicitly why ladder DACs measure worse.

 
Last edited:

kemmler3D

Major Contributor
Forum Donor
Joined
Aug 25, 2022
Messages
3,346
Likes
6,815
Location
San Francisco
Questions of aliasing aside, it's good to avoid reproducing ultrasound if you can. A lot of tweeters have nasty breakup modes at 20khz or a bit higher. I can't explain exactly how in physical terms, but distortion at higher frequencies can affect distortion at lower frequencies, so in theory feeding >22khz energy to your tweeter could have audible effects on your treble. This now almost famous paper from Bruno explains / demonstrates it: https://purifi-audio.com/wp-content/uploads/2022/03/220211_R05-Notchfilter.pdf

From this point of view, a steep filter at 22khz is desirable regardless of whether the resampling calls for it.
 
OP
Endibol

Endibol

Active Member
Forum Donor
Joined
Dec 18, 2021
Messages
186
Likes
275
Questions of aliasing aside, it's good to avoid reproducing ultrasound if you can. A lot of tweeters have nasty breakup modes at 20khz or a bit higher. I can't explain exactly how in physical terms, but distortion at higher frequencies can affect distortion at lower frequencies, so in theory feeding >22khz energy to your tweeter could have audible effects on your treble. This now almost famous paper from Bruno explains / demonstrates it: https://purifi-audio.com/wp-content/uploads/2022/03/220211_R05-Notchfilter.pdf

From this point of view, a steep filter at 22khz is desirable regardless of whether the resampling calls for it.
It is certainly an interesting video. However, my point is that nowadays upsampling is used within the modern DAC's. Therefore, just to avoid imaging the filters don't need to be steep anymore. But you still see steep filters in the designs.. So my question is, why?
 

solderdude

Grand Contributor
Joined
Jul 21, 2018
Messages
15,999
Likes
36,215
Location
The Neitherlands
It is certainly an interesting video. However, my point is that nowadays upsampling is used within the modern DAC's. Therefore, just to avoid imaging the filters don't need to be steep anymore. But you still see steep filters in the designs.. So my question is, why?

To prevent mirror images in the audible domain.
The upsampling is needed because there are less bits available to work with (usually somewhere between 4 and 6) .
So the filter MUST be steep. Or should I say should be steep.
When one uses software upsampling the upsampling algorithm provides the filtering and the filtering by the DAC itself can be less steep.
 

pma

Major Contributor
Joined
Feb 23, 2019
Messages
4,602
Likes
10,768
Location
Prague
To prevent mirror images in the audible domain.
Well, yes, but - to prevent mirror images above Fs/2, in case of DAC. Like here, 44.1kHz - 21.5kHz makes 22.6kHz mirror. We do not want possible intermodulation 22.6 - 21.5 = 1.1kHz in the amplifier.

1674808202333.png


In case of ADC, alias would fall below Fs/2.
 

Mulder

Addicted to Fun and Learning
Forum Donor
Joined
Sep 2, 2020
Messages
633
Likes
881
Location
Gothenburg, Sweden
To prevent mirror images in the audible domain.
The upsampling is needed because there are less bits available to work with (usually somewhere between 4 and 6) .
So the filter MUST be steep. Or should I say should be steep.
When one uses software upsampling the upsampling algorithm provides the filtering and the filtering by the DAC itself can be less steep.
Does this mean there is a potential benefit from software oversampling prior the DAC?
 

solderdude

Grand Contributor
Joined
Jul 21, 2018
Messages
15,999
Likes
36,215
Location
The Neitherlands
Does this mean there is a potential benefit from software oversampling prior the DAC?
Yes, there certainly can be when the DAC in question has no or a very poor reconstruction filter and 44.1 or 48kHz files are used.
Mirror images (above the audible range) can alias down into the audible range and this is not harmonic-al to the music.
This aliasing can be caused by non linear behavior (distortion) in the speakers or even amplifiers, even more so with class-D.
 
Last edited:

danadam

Addicted to Fun and Learning
Joined
Jan 20, 2017
Messages
978
Likes
1,521
However, my point is that nowadays upsampling is used within the modern DAC's. Therefore, just to avoid imaging the filters don't need to be steep anymore. But you still see steep filters in the designs.. So my question is, why?
There are two filters in the process, one digital and one analog. The digital filter is part of upsampling and it is steep. The analog filter is part of actual conversion to analog and it can be shallow. The measurements show their combined effect. So when steepness is judged, it is the upsampling digital filter that is being judged, not the analog one.
 

Lambda

Major Contributor
Joined
Mar 22, 2020
Messages
1,791
Likes
1,525
just to avoid imaging the filters don't need to be steep anymore. But you still see steep filters in the designs.. So my question is, why?
The filtter needs to have the same steep response but with an upsampled signal the filter can be digital.

Still I see in all reviews filters with a cut-off at approx. 22 kHz.
because Amir is only testing with 44.1k
 
OP
Endibol

Endibol

Active Member
Forum Donor
Joined
Dec 18, 2021
Messages
186
Likes
275
There are two filters in the process, one digital and one analog. The digital filter is part of upsampling and it is steep. The analog filter is part of actual conversion to analog and it can be shallow. The measurements show their combined effect. So when steepness is judged, it is the upsampling digital filter that is being judged, not the analog one.
Thanks a lot. I am not sure if I already fully understand it, but you bring me on the “right track”..
 
Top Bottom