DAC linearity test CD - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, 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 14th December 2007, 09:57 AM   #1
oshifis is online now oshifis  Hungary
diyAudio Member
 
Join Date: Mar 2004
Location: Budapest, Hungary
Default DAC linearity test CD

I am thinking of creating a test CD for checking DAC linearity. It would contain 15 tracks. The first track contains:

0000000000000001 repeated 15 times
0000000000000010 repeated 15 times
0000000000000011 repeated 15 times

That is a "mini-triangle" containing 3 discrete analog levels, something like this:

oooooooo____ooooooooooooo____ooooooooo
oooo____|oooo|____oooo____|oooo|____oooo
____|oooooooooooo|____|oooooooooooo|____

Don't look at the o's, just the bars to imagine the waveform.
45 samples make up about 980 Hz. One step is about 43 uV. I suppose this needs to be further amplified (probably with a simple op-amp gain stage) to be viewable on an oscilloscope. This track will check the 2nd digit. The second step should be exactly between the first and third step.

The second track contains:

0000000000000011 repeated 15 times
0000000000000100 repeated 15 times
0000000000000101 repeated 15 times

That is the 3rd digit is checked for linearity.

With 15 tracks one could check all the bits from LSB+1 to MSB.

What do you think about this idea?
  Reply With Quote
Old 15th December 2007, 04:35 PM   #2
oshifis is online now oshifis  Hungary
diyAudio Member
 
Join Date: Mar 2004
Location: Budapest, Hungary
Default Re: DAC linearity test CD

Quote:
Originally posted by oshifis
One step is about 43 uV
If it is referred to a standard 2 V RMS audio signal, one step is 86.3 uV. I guess a x100 electronic "magnifier" (op-amp) would do. My scope has 5 mV/div input, this should be OK.

My idea is to "pull" the internal current generators of the TDA1541A at its external decoupling pins 7-13 and 18-24. I think these are the seven most significant bits. Has anybody got more detailed information on the internals of the TDA1541A?
  Reply With Quote
Old 15th December 2007, 08:20 PM   #3
diyAudio Member
 
Bernhard's Avatar
 
Join Date: Apr 2002
Location: Munich
If you are able to create such files please do so and post.
It is good to check monotonicity.
IMHO looking at signals with the spectrum analyzer gives the best idea...
  Reply With Quote
Old 24th December 2007, 02:55 PM   #4
oshifis is online now oshifis  Hungary
diyAudio Member
 
Join Date: Mar 2004
Location: Budapest, Hungary
Here are the linearity test CD WAV files:

http://tube.fw.hu/lintest.zip

There are 15 files in the archive (Track01.wav to Track15.vaw). Track1 is for testing bit 1 with reference to bit 0 (the LSB), and Track15 is for testing bit 15 (the MSB) against the LSB. Each track is 4 minutes, the total is 60 minutes.

I have not come to the scope observing yet, but I listened to it. Some tracks are vaguely audible and some are not. This is an indication of difference in bits, i.e. nonlinearity.
  Reply With Quote
Old 24th December 2007, 06:52 PM   #5
diyAudio Member
 
georgehifi's Avatar
 
Join Date: Sep 2003
Location: Manly Australia (Jewel of the Pacific)
Send a message via MSN to georgehifi
oshifis, are these files WinRAR? If so they are corrupted and will not unzip with WinRAR unzipper.

Cheers George
__________________
Avatar : Production Lightspeed Attenuator
www.lightspeedattenuator.com
  Reply With Quote
Old 24th December 2007, 07:34 PM   #6
jcx is offline jcx  United States
diyAudio Member
 
Join Date: Feb 2003
Location: ..
some free tools:

http://www.diyaudio.com/forums/showt...45#post1061145

you may want to consider more complex wavefroms/larger ranges, just establishing the bits near each transition are relatively uniform isn't the whole story

read up on ADC DNL, INL, Spurious free dynamic range, IMD, Multitone testing...

In audio DC accuracy, low frequency noise are relatively unimportant but could limit your measurements
  Reply With Quote
Old 27th December 2007, 07:59 AM   #7
oshifis is online now oshifis  Hungary
diyAudio Member
 
Join Date: Mar 2004
Location: Budapest, Hungary
Quote:
Originally posted by georgehifi
oshifis, are these files WinRAR? If so they are corrupted and will not unzip with WinRAR unzipper.

Cheers George
I fixed it. The archive can be extracted with Winzip. The fundamental frequency is 689.0625 Hz and the signal amplitude is -90.31 dB. Each step is 16 samples, not 15.

The TDA1541A/S1/S2 is selected and specified for linearity, this is why I think it is the most important parameter.
  Reply With Quote
Old 2nd January 2008, 09:58 AM   #8
diyAudio Member
 
Bernhard's Avatar
 
Join Date: Apr 2002
Location: Munich
Default Re: Re: DAC linearity test CD

Quote:
Originally posted by oshifis


My idea is to "pull" the internal current generators of the TDA1541A at its external decoupling pins 7-13 and 18-24.
I tried with resistors and pots in the meg ohm range and there was always distortion.
But maybe I did not try hard enough.
  Reply With Quote
Old 2nd January 2008, 10:28 AM   #9
diyAudio Member
 
Bernhard's Avatar
 
Join Date: Apr 2002
Location: Munich
oshifis,

thanks, very useful files.
Track 15 seems to be good to (pre-)adjust MSB very fast, did not check how accurate.

Another useful files would be single bits turned on continiously to adjust bits of discrete DAC with a DVM.
Or single bits turned on and off with same frequency like posted files
to adjust bits of discrete DAC with analyzer automatic Vpp measuring function.


Analyzer with 500mV full scale and 40x preamp:

PCM56 8x os Yamaha CDX-5000 good adjusted MSB track 15

Click the image to open in full size.

PCM56 8x os very bad adjusted MSB track 15

Click the image to open in full size.

I measured also PCM63, less noise but no better linearity.

TDA1541 4x os Philips CD960 MSB track 15

Click the image to open in full size.

TDA1541 bad bits ( various tracks )
It also has a few good ones

Click the image to open in full size.
  Reply With Quote
Old 2nd January 2008, 10:38 AM   #10
AndrewT is offline AndrewT  Scotland
diyAudio Member
 
Join Date: Jul 2004
Location: Scottish Borders
Hi,
are they supposed to be square waves? or square waves being gated on and off?
Only the first pic show any semblance of intended performance (if gated squarewaves) but at what frequency?
__________________
regards Andrew T.
  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
Air-spring non-linearity, causes? thadman Multi-Way 17 26th May 2009 07:27 PM
Linearity maxpou Solid State 42 8th February 2008 10:44 PM
improve the linearity E007 Solid State 1 3rd May 2004 09:23 AM
Non-linearity of wattage to SPL... JoeBob Everything Else 5 21st February 2002 07:47 PM


New To Site? Need Help?

All times are GMT. The time now is 11:14 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