Part 2 – Basics of Pulse Density Modulation (DSD)
As opposed to PCM audio where the ADC sampling process takes the absolute value of the analogue voltage coming in to it at any given point, Pulse Density Modulation (PDM) instead works based on the time between two samples dictating whether the wave is increasing or decreasing in amplitude. If the samples are closer together, the wave is increasing in amplitude. If they are further apart, the amplitude of the waveform is decreasing. The absolute value of the waveform is not known per se when looking at an individual sample (as it would be with PCM), but put together the samples produce a good representation of the original waveform.
The caveat with this method is that the ‘dynamic resolution’ (the amount of information about the amplitude which is stored in any one sample of the audio) is incredibly low, being 1 bit, so the samples need to be taken at a much higher rate than with PCM audio. Where PCM typically samples at 44,100 samples a second, DSD works at a minimum of 64 times this rate, around 2,800,000 samples per second.
This process of encoding digital audio creates a lot more noise. This is due to both the low bit depth (which at 1-bit creates more quantisation noise) and the higher sample rate (essentially turning things on and off at a much higher rate creates noise). In order to make the format usable, the data is noise-shaped to clear the quantisation noise out of the audio band into the ultrasonic region (above 20kHz), where it cannot be heard.
The result is near 24-bit performance in the audio band (0 – 20kHz) and a signal bandwidth that extends beyond 100kHz. The price for the 1-bit approach is a very large amount of noise in the ultrasonic region (20kHz – 1.4MHz), but this is not normally heard as a noticeable background noise. This method of digitally encoding music is what is used in the format Digital Stream Direct (DSD). This format of 1-bit conversion is the basis of Bitstream Sigma-Delta Digital to Analogue Converters (which will be covered in a later post).
There are further developments into DSD audio, whereby higher and higher rates are used. The original rate, referred to as DSD/64 or Single Speed DSD, runs at 64x the rate of CD audio. DSD/128 or Double Speed DSD runs at 128x CD audio rates, and so on for DSD/256 and DSD/512.
DSD files, even at the standard DSD/64 rate are large. The data rate is 5644.8 kbps for 2-channel stereo.
This post is on the shorter side, but with the basic formats covered we can get on to the fun stuff. The next post will be on the basics of digital to analogue conversion, starting with Ladder DACs.
Part 3: Introduction to D/A Conversion