legacy home
 

 

 
non-o/s home
 
classic notches
 
24k, 68.15k...
 
without 24k
 
lpf with peak
 

 

 

A few things about the non-oversampling approach

These four are the good ones.

1. Compared to the classic oversampling approach, there is less high frequency hash inside the unit, because working frequencies are lower, ~2.82MHz which is a reference for the common 32-bit frame (of course, these are the square signals, so harmonics should be considered also). This fact makes life a bit easier when it comes to PS decoupling and RF shielding.
2. As overall construction is simpler, it is easier to make a successful layout.
3. As overall time/amplitude resolution is nominally lower than it is with higher fs/higher bit cases, it is less sensitive to jitter.
4. Analog output shows perfect square waves, i.e. perfect transient response.

The next three are not so good.

1. Analog output shows horrible sinewaves over 5-6kHz, those over 10kHz are amplitude modulated.
2. High frequency hash (images) of very problematic levels go outside the unit. This is actually the frequency domain aspect of the previous problem. Both have to be solved by applying some kind of analog filtering. We can discuss what an adequate quantity of filtering is. Note that those sinewaves will not be corrected unless all images, including the first ones, are removed. Note also that usage of any significant level of filtering means no more those perfect square waves.
3. Standard 44.1kHz format has intrinsic high frequency roll-off, -3.5dB at 20kHz, again, unless you start dealing with it. This also cannot be compensated without ruining those perfect square waves.



Notching the images

Since, in practice, it is not possible to effectively filter the digital noise with the common analog filter types, and to stay with the linear phase inside the audio band, recently we saw a few attempts to achieve this goal by using the notch filters. The basis for such an approach lies in the fact that digital noise is not a wide band anomaly but it has its own structure. This is the way the non-filtered 1kHz, 5kHz, 10kHz and 20kHz sinewaves and their images look in the Fs=44.1kHz system.

 

 

All the notch filters I saw were made on the presumption of tuning to the multiples of the sampling frequency, beacuse the images are centered on them. Unfortunately, that way they attack the noise mostly at the frequencies where it has the least energy and vice versa. It is true that the digital images are centered around the multiples of the sampling frequency, but at those frequencies, they have zero energy. That energy rises toward the left and right, and achieves the biggest level at the frequencies farthest (20kHz far) from those centers, and there they have significant levels. This fact is related to the first bad thing from the lists above. i.e. to the fact that the unfiltered sinewaves of frequencies under a few kHz look practically as good as they should. In other words, while images are nominally centered at 44.1kHz, 88.2kHz etc, at these frequencies there is actually nothing to be filtered, and there is a lot more to be filtered all around them. Practically, this means we might need notches at frequencies other than multiples of sampling frequency.

As said, the highest noise energy is at 44.1-20(kHz), 44.1+20(kHz), 88.2-20(kHz), 88.2+20(kHz), 132.3-20(kHz) etc, i.e. at 24.1kHz, 64.1kHz, 68.2kHz, 108.2, 112.3kHz etc, so we might need notch filters at 24,1kHz, 66.15kHz, 110.25kHz, 154.35kHz etc, instead. It is not necessary to use notches for images over 200kHz, because the simple first-order filter (possibly at some place other than that where notch filters are) could do this part of the work, without influence in the audio band just as a notch filter.

The first notch would be the special case. It should be centered at 24.1kHz or maybe a bit higher, but it requires special care to design it so as not to affect the audio band, especially not to affect the phase inside the audio band. When designed that way, however, it becomes too narrow to effectively cut images of any signals other than 20kHz. Also, this 24kHz notch introduces a notable amount of ringing into the square signal, so I'd rather avoid it.

Looking at the frontiers of such an approach to the filtering, i.e. in the balance between the effectiveness, linearity of the phase inside the audio band, the shape of the square signal, and simplicity of the signal path (yeah, nothing is literally at the signal path, but the loop is closing through all those paths), maybe it is the time to go back to some classic filter. One relatively low order filter with a relatively high Q has the additional bonus of giving the necessary peak to compensate for treble roll-off. Only one additional active stage is needed. Sounds simple and prosaic, but could do the job. Be it an active filter around the opamp or passive, with a buffer downstream. Maybe someone will find a way to implement an active filter around one simple source/cathode/emitter follower. The key for the implementation of the active filter, which gives us the opportunity to deal with resistors instead of the coils, is virtual zero output impedance. Otherwise, a resonant circuit formed by output impedance and feedback capacitor will occur.

I do not think that any filtering in itself will bring any improvement to sound. In fact, the opposite can happen. I am prone to believe the non-o/s needs a filter only if (the rest of) the system starts to distort audibly. It might be time to rethink the relationship between the ultrasonic hash and transient IMD. In the case of the Marantz CD63, one high-speed opamp (LM6172) applied after the unfiltered, 8fs oversampled delta/sigma DAC chip (SM5872) makes a miracle. Improvements in terms of clarity are huge. This DAC chip has a PWM output, like a class-D amplifier. Not really digital, but the waveform is square shaped. (For the mainstream (oversampled) commercial units, the analog filters are also obligatory. They remove a residue of the oversampling process, thus protecting the downstream components from the IMD and its varieties. In reality, these filters are built with the stuff that already produces such artifacts). Recently, I had a chance to listen to the system with the unfiltered non-o/s DAC as a front end, and some discs and some frequencies made it go crazy. At the same time, putting these ugly events aside, it sounded as clean as it should. This could be related to the content of the non-o/s noise - while its overall level is higher, it resides at lower frequencies.

So, the no_filter approach might not be the one-fits-all solution. But much more important than that is the fact that digital audio can work this way, and that is one of the best ways it can work at all. Filter definitely could be avoided by using decent amplifiers and solidly built tweeters, later possibly with frequency response not going above 20kHz. The bulk of good amplifiers and speakers will save you from thinking about the filter.

The merits and shortcomings of the particular filters mentioned above could be more clear by looking at the simulations I made using Linear Technology SwitcherCAD. The name of this program is associated with the one specialized for the simulations of the switching supplies, but it is a (free) fully working general spice program. It offers that great opportunity to simulate circuits with wav files at the input. As wav file, naturally, does not include sample and hold, observed waveforms for which FFTs are done are connect-the-dots derived. Speaking generally, this should be treated as an error. If you want to model the input better than I did, it is fine, but principally it will not change anything because the relation between square and triangle waves is quite simple, so the original FFT graphs scaling was easily corrected. In the FFT graphs without scaling on the Y axis one field should be considered as 10dB tall. Resistor 1k in all schematics is an I/V resistor that applies to TDA1543 and if it has some different value, the rest of the filter should be remodeled accordingly.


Pedja Rogic, April 2003

 


Referenced and useful articles on the net:


Ryohei Kusunoki: Non-oversampling Digital-filter-less DAC Concept. This is how it all began.

Zanden's patent.  If you (just like me) do not understand the text, schematics and diagrams are quite clear. However, for the commercial usage of the presented solution, it is better to find a translator.
(added on 8 August 2005: The easier way to understand the claims is to check the newer US Patent of 13 April 2004 that can be found here.)

Douglas Rife: Theory of Upsampled Digital Audio

M.N.Harris, R. Kelly, D.A.McLeod, M.J.Story: Effects in High sample Rate Audio. Gives very useful insight into the digital filtering options. A Suggested Explanation For (Some Of) The Audible Differences Between High Sample Rate And Conventional Sample Rate Audio Material by Mike Story is another good reading on a similar topic from the same site.

Dan Lavry: Sampling, Oversampling, Imaging and Aliasing - a basic tutorial