What would be a sensible set of filter characteristics for DAC - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level

Digital Line Level DACs, Digital Crossovers, Equalizers, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 10th April 2009, 07:46 AM   #1
diyAudio Member
 
Join Date: Oct 2004
Default What would be a sensible set of filter characteristics for DAC

Good Good Friday Morning to you all,

I'm designing a 3rd Order Bessel Filter for my 8xOS DAC, and its great fun!
I'm using several books, but mainly Lancaster's Active Filter Cookbook (because I have forgotten how to add), and LTSpice to simulate.
Unfortunately, I'm not sure how to get the FFT mode on to give me a sensible frequency domain transfer function - probably my input needs to be white noise or something - any ideas? Probably different software, but manually changing the input frequency and measuring the output seems to be reasonable enough.

Anyway, as I said, I'm trying a 3rd Order Bessel for best group delay. However, its not optimally flat (unlike a Butterworth) so I'm trying to make use of the luxury of 8xOS making the job of analogue filtering easier and using quite a high cut off frequency - so that the filter doesn't really start dipping until it is past the audio band. So I've looked at various cut off frequencies from 50 to 100kHz.

Now, what sort of attenuation do I need by the sampling frequency (352.8Khz)? My 50kHz Bessel attenuates a 3V input down to something like 20mV at 400kHz, but is down nearly 0.7V at 22.1kHz. 80 or 100kHz is better, only dips by about 0.4V at 22.1kHz, but likewise only down to 80mV at 400kHz.

So, my question really is, what kind of attenuation do I need around Fs? I suspect a lot of the energy that far up in the spectrum is not faithfully reproduced, but can still cause IMI if not filtered sufficiently.

BTW, this is a PMD100 digital filter chip. I suspect that's important. For instance an SAA7220 has a sneaky boost at the high end of its audio band to counter this dip in the Bessel filter.

Thinking that increasing the order would make the dip worse, I tried second order, but that actually did what I was trying to avoid. So I will investigate 4th order. I'm probably not interested in steeper cut-off, more into less dipping in the audio band.

Or, am I worrying too much?

It should be easy to knock up a generic filter circuit, and mess about at some point. To see if these limitations have any actual impact in reality.

Cheers,
Phil
  Reply With Quote
Old 10th April 2009, 02:36 PM   #2
sidiy is offline sidiy  Canada
diyAudio Member
 
sidiy's Avatar
 
Join Date: Sep 2005
Location: Montreal
Hi,
What DAC are you using? A good reading is the AN of the old AD1862. They came to the conclusion that a 7th order equiripple is needed for an 8xOS.

I think that a 3rd order Bessel with -3dB@50kHz or so is good enough. FDNR is a good topology, if you want you can add more poles relatively easy without penalties on performance.

If you need the AN (~1Mb) send me an e-mail.
  Reply With Quote
Old 10th April 2009, 04:44 PM   #3
diyAudio Member
 
Join Date: Jul 2003
Location: Bath, UK
That's a good suggestion. It's Analog Devices AN-394, a good read (i've just dug up my copy...)
  Reply With Quote
Old 10th April 2009, 06:04 PM   #4
diyAudio Member
 
Join Date: Oct 2004
Yeah, I thought 50khz Fc would be suitable, and probably is.I was just a little surprised to see it dip so much at 20kHz.
I suspect I will try this and see how I get on with it. With my hearing it probably won't make much difference.
I think I've come across that doc in the past.I shall have another look.

And, its a TDA1541A DAC. I think the digital filter is probably of more interest than the DAC though.
(what with all DACs being equal )

(that was a joke!)
  Reply With Quote
Old 10th April 2009, 06:20 PM   #5
diyAudio Member
 
Join Date: Jul 2003
Location: Bath, UK
I wouldn't worry about being fractions of a dB down; as it is, with 4x OS you get about 0.8dB roll-off, and wih 8xOS about 0.2dB at 20Khz, just from sinx/x.

(Hey , some people like non-OS, and that's 3.4dB down! Maybe even that's one reason *why* its so popular...)
  Reply With Quote
Old 10th April 2009, 08:48 PM   #6
diyAudio Member
 
Join Date: Oct 2004
Hey Martin,

You know me! With my unscrupulous attention to detail, and want for everything to be perfect .
Well, alright, this might be my first time
  Reply With Quote
Old 10th April 2009, 09:01 PM   #7
diyAudio Member
 
Join Date: Jul 2003
Location: Bath, UK
Well the CD player you thought had more treble than yours last time you popped round actually measures 0.85dB down at 20K, cf. theoretical 0.80db. I had to check,but that's close enough for me... esp after the interference it has been subjected to!

PS beers in the fridge if you get bored Happy Easter, fella.
  Reply With Quote
Old 11th April 2009, 06:43 AM   #8
diyAudio Member
 
Join Date: Oct 2004
I think I shall have to go away and build something
Sounds like it'll do the job.

(It's also going to have the gain switch for HDCD - so I can listen to Beck again ).

Thanks for the reassurance guys.
  Reply With Quote
Old 8th July 2009, 09:11 PM   #9
diyAudio Member
 
Join Date: Oct 2004
Well, I've built it.
It has some issues regarding decoupling. In some cases I have electrolytics perhaps a cm or so from some opamps, so I definitely need smaller decoupling caps closer to the opamps. I'll probably solder some directly underneath the socket. So at the moment its really not happy with fast opamps, which would be useful for the IV stage.
However, using some quaint JRC2114s donated by my old CD63, I'm rather pleased with the results.
So, it consists of an IV stage, then a passive 1st order filter, an opamp buffer, then a Sallen-Key 2nd order filter (incoporating an opamp) and a final opamp as a buffer.

I previously had issues with the passive stage, combined with the interconnect and preamp input impedance being hard to drive, so I've paid attention to removing that as much as possible, hence all the buffering. The opamps are socketed, so I can bypass one or both voltage followers if needed.

(BTW the RC filters are all 2k vs 1.xnF, but I had to use 2.2k - is that a major flaw? I'll change the resistances one day).

Initial impressions are great! There is much more detail. The sound stage is improved, and even things like percussion and rhythm seem better. I thought I'd do a quick test, a few excerpts from a selection of tracks, yet somehow ended up just listening to stuff in it's entirety. It was really interesting and enjoyable to listen to.

I need to tidy stuff up a bit, and especially improve decoupling, but for a first draft I'm rather impressed.

And I have deliberately left room for a relay for switching the gain for HDCD
  Reply With Quote
Old 9th July 2009, 10:08 AM   #10
diyAudio Member
 
Join Date: Jul 2003
Location: Bath, UK
Excellent
I still have beer in the fridge if you want to drop by!

Regards
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PL 519 electrical characteristics Seraph Tubes / Valves 16 7th September 2011 07:41 AM
Getting transfer characteristics oshifis Tubes / Valves 1 12th August 2008 11:14 PM
Plate characteristics rossdt Tubes / Valves 8 7th August 2006 06:03 PM
2A3 Sovtek characteristics teodorom Tubes / Valves 16 17th July 2005 11:29 AM
Tweeter Characteristics tbright Multi-Way 4 22nd September 2004 02:45 PM


New To Site? Need Help?

All times are GMT. The time now is 12:01 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2