diyAudio - Blog Entries
Go Back   Home > Forums > Blogs
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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
Old

Multi-Channel, High Sample Rate PCM

Posted 18th July 2016 at 01:36 PM by Tam Lin

Here is a multichannel implementation that continues the theme of high sample rate PCM with no logic chips in between the oscillator and the DACs. There are two variations: seven and fifteen channels using USB2 bulk mode transfers up to 1.536M samples per second. More channels and higher rates require USB3.

What I find appealing about this design is that it is easily bread boarded. For USB, use a Cypress FX2 evaluation board. It has a built-in quantum FIFO and packet buffering. For the oscillator, use a Si570 evaluation board. With it, you can easily switch between the 7 and 15 channel versions, 44.1K and 48K based sample rates, 16x and 32x oversampling, and 24- and 32-bit sample frames. For the DACs, use Twisted Pear CODs with SCK = BCK and the format switches set for DF bypass.
Attached Thumbnails
Click image for larger version

Name:	mchsr.png
Views:	24
Size:	13.0 KB
ID:	2020  
Tam Lin's Avatar
diyAudio Member
Posted in Uncategorized
Views 33 Comments 0 Tam Lin is offline
Old

Quick note on line level output currents

Posted 18th July 2016 at 03:58 AM by rjm (RJM Audio Blog)
Updated Yesterday at 10:41 PM by rjm

Consumer audio standard line level output is -10 dB, 0.316 V rms [dB = 20 * log (V/1V)]. Some devices like computer sound cards can boost that at the max volume settings, my Asus Xonar can do 6 dB or 2 V rms. Quite a lot of digital audio produces 2 V rms output, DACs and CD players and not just computer sound cards.

The amount of output current required by the line driver is the signal level divided by the load impedance, so to estimate the worst case scenario we have to consider the smallest practical load and the largest likely signal. The input impedance of consumer audio is typically 10k to 100k. 10k is the lowest design point, but sometimes people do strange things like drive two components at once which halves the value, or headphones, or pro audio gear with 600 ohm inputs.

The long and short of it, though, is that consumer audio inputs are never normally going to draw more than 1 mA. For pro audio the maximum is meanwhile 3 mA. 5 mA bias current through...
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 85 Comments 2 rjm is offline
Old

A Rant on Why Passive Preamps are Totally Stupid

Posted 16th July 2016 at 02:04 AM by rjm (RJM Audio Blog)
Updated 20th July 2016 at 09:57 PM by rjm (corrected attenuator output impedance in attached diagram)

A [just my opinion, bro] post...

I actually had occasion to try this the other week. I had a box with a volume control followed by the bboard unity gain buffer and in preparation for replacing it with a similar buffer with voltage gain (a power-derated Sapphire 3) I removed the buffer and briefly used the box as passive preamp, i.e. just the 47k stepped attuator, with 1 m interconnects to the amp and 2 m interconnects back to the phono stage. Sure enough the system noise increased, depending on the position of the volume control, with some nasty low level buzzing interference.

Why does this happen? It's pretty simple really. Noise is usually induced as a current, and the larger the resistance (impedance) this noise current is forced to flow through to reach circuit common, the larger the noise voltage since by Ohm's Law, V=IR. Noise induced between the volume control and the amp is faced with the high impedance of the amp (47k) or the output impedance of the...
Attached Thumbnails
Click image for larger version

Name:	passive preamp.png
Views:	11
Size:	48.3 KB
ID:	2022  
rjm's Avatar
rjm
diyAudio Member
Views 173 Comments 8 rjm is offline
Old

RC filter coupling capacitor calculator

Posted 16th July 2016 at 12:54 AM by rjm (RJM Audio Blog)
Updated 16th July 2016 at 01:10 AM by rjm

When I need to pick the right capacitor for a coupling capacitor, rather than working out the time constant or 3dB cutoff I just remember the mnemonic "0.1-220" (meaning 0.1 uF and 220 kohms) and adjust the ratio up/down for the resistance I happen to be looking at: 0.22-100, 1-22, 0.47-47.

This amounts to a time constant (t=RC) of 20 ms, and 3 dB cutoff of 7 Hz. The bass attenuation at 20 Hz is half a dB.

If there are several stages the attenuation of all these filters add up, so it can be a good idea to make the capacitance about twice as large. There is rarely any advantage making it much larger still.

Excel worksheet attached. It spits out all the numbers so you don't have to guess.

* calculating the attenuation involves complex numbers. Zr=R, Zc=-i/(2 pi f RC), attenuation (high pass) = | Zr / (Zr+Zc) |. In excel you can use IMSUM, IMDIV, and IMABS to do the complex math.
Attached Thumbnails
Click image for larger version

Name:	coupling capacitor time constants.png
Views:	10
Size:	12.1 KB
ID:	2013  
Attached Files
File Type: zip coupling capacitor time constants.zip (7.1 KB, 4 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 40 Comments 0 rjm is offline
Old

Type 47 Tube Ultra Linear Input SE Power Amplifier

Posted 13th July 2016 at 05:22 AM by ballpencil
Updated 13th July 2016 at 05:26 AM by ballpencil

This is actually a follow up on this post: Adjustable Ultra Linear Line Stage. Here we see a slightly different variation of the first post, namely the cathode follower is now moved to the top of the small signal pentode and arriving at some kind of mu-follower circuit.
Click the image to open in full size.

This CF will act as constant current load to the pentode and will allow us to achieve high gain. On Spice simulation, with 6K7 as shown, the open loop gain for the input stage is about 75x (15Vpp swing with 200mVpp input). This gain level is perhaps excessive so how do we tame it? As shown, the input stage is on pentode-mode as the screen grid is AC-grounded by C2 via the lower 6N8S cathode follower. We can reduce the gain by changing R16 to a 100k trimpot and connect C2 to the trimpot wiper. Adjusting the wiper, we can vary the UL feedback from 0% (full pentode mode, achieved when the wiper is at the screen grid side) to 50% feedback (achieved when...
Attached Files
File Type: asc 47 Ultra Linear Input_6.asc (5.5 KB, 11 views)
diyAudio Member
Posted in Uncategorized
Views 49 Comments 0 ballpencil is offline
Old

High Sample Rate PCM II

Posted 12th July 2016 at 01:24 PM by Tam Lin
Updated 17th July 2016 at 07:03 PM by Tam Lin (typo)

Theory tells us that each time the number of DAC chips is doubled the SNR increases by 3 dB. With 32 chips per channel, we should see a 15 dB increase. That is very good, but we can do better because there is no reason the paralleled DAC chips have to receive identical input data.

In essence, we have a 29-bit DAC for sample rates at or below 768K. For each 24-bit input sample value, we can provide a 29-bit value that produces an output current that is closest to the ideal. Accessing a 16MB look-up table 768K times per second is trivial for a modern 64-bit microprocessor. The table data comes from a one-time calibration procedure that analyses the DAC’s measured output performance for each possible input.

Above 768K, we are dealing with a delta that is obtained by scaling the difference between consecutive samples. Below 11.2896M, two or more chips are paralleled and a table lookup is used to improve accuracy.
Tam Lin's Avatar
diyAudio Member
Posted in Uncategorized
Views 69 Comments 2 Tam Lin is offline
Old

Update

Posted 7th July 2016 at 11:58 PM by abraxalito
Updated 8th July 2016 at 12:01 AM by abraxalito

I've not posted for a few months here as I've been involved in moving apartment which was quite a major project given the quantities of parts and assemblies I've accumulated. Even though I've been in my new place for over two weeks now, very little has been unpacked so far, but I have just yesterday rebooted my desktop active XO/amp system which had been quite literally assembled on my desktop with no casework whatsoever Its still without casework and survived the move with only a few wires falling off but now 'installed' in a drawer (pic attached). Its being fed from my 'Domino' balanced TDA1387 DAC and Taobao TFcard player and delivering bags of emotional satisfaction through stand mounted '3Nod' two-ways.

The amps are all LM4766 bridged running from 60V total but with heroic measures to keep supply noise under control, the central PSU has a CLC configuration and ferrite input transformers are used for coupling between AXO and amps. Output transformers (ferrite for...
Attached Thumbnails
Click image for larger version

Name:	P60707-143052.jpg
Views:	57
Size:	469.0 KB
ID:	2005  
Attached Files
abraxalito's Avatar
diyAudio Member
Posted in Power chip amps
Views 103 Comments 0 abraxalito is offline
Old

INs and OUTs of the Asus Xonar Essence STX PCIe computer sound card

Posted 26th June 2016 at 08:12 AM by rjm (RJM Audio Blog)
Updated 18th July 2016 at 03:42 AM by rjm

Asus Xonar Essence STX, Audacity 2.1.2, VLC, Windows 10 [and DigiOnSound6 Express for 24 bit recording]

Purpose

To confirm the calibration of the sound card input and output gain. Also, to determine the relationship between the signal voltage, the recorded signal amplitude displayed in Audacity, and the signal peak and noise baseline levels in the FFT spectra.

Summary

* Setting the volume slider of the device output to 100 gives 1 V rms output for an amplitude 0.5 sine wave.
* Setting the volume slider of the device recording line input to 100 gives records a 1 V rms tone as an amplitude 0.5 sine wave, which is displayed in the frequency spectrum (FFT) as peak of magnitude 0 dB in Audacity when both channels are averaged.
* volume setting 100 needed for unity gain loopback.
* 0.5 amplitude sine wave = 0 dB FFT = 1 V rms.
* noise baseline in averaged stereo FFT is 3 dB lower than single channel measurement....
Attached Thumbnails
Click image for larger version

Name:	STX volume.png
Views:	27
Size:	13.6 KB
ID:	1998   Click image for larger version

Name:	reference FFT.png
Views:	37
Size:	23.6 KB
ID:	1999   Click image for larger version

Name:	RMAA.png
Views:	29
Size:	19.4 KB
ID:	2001   Click image for larger version

Name:	noise.png
Views:	28
Size:	4.7 KB
ID:	2002   Click image for larger version

Name:	Xonar baseline and reference tone.png
Views:	35
Size:	25.5 KB
ID:	2003  

Click image for larger version

Name:	Audacity 0.5 signal in-out.png
Views:	22
Size:	46.8 KB
ID:	2004  
Attached Files
File Type: zip RMAA report Xonar STX loop back.zip (29.2 KB, 8 views)
rjm's Avatar
rjm
diyAudio Member
Views 196 Comments 0 rjm is offline
Old

VSPSX phono stage design idea

Posted 24th June 2016 at 12:48 AM by rjm (RJM Audio Blog)
Updated 24th June 2016 at 02:54 AM by rjm

The original VSPS is getting up in years, and could do with a bit of an update.

The VSPSX adds the foursquare shunt-source voltage regulator and bboard v2.1 output buffer.

The LTSpice schematic below abbreviates the transformer, rectifiers, and filter capacitors as V1 and V2. Op amp OP27 is a placeholder.

My main concern would be fitting all this stuff on a 80x100 board. That and, well, I'm not totally convinced yet that the complexity vs. reward ratio makes its worthwhile.
Attached Thumbnails
Click image for larger version

Name:	vspsx.png
Views:	90
Size:	49.0 KB
ID:	1996  
Attached Files
File Type: asc VSPSX.asc (12.7 KB, 37 views)
rjm's Avatar
rjm
diyAudio Member
Views 122 Comments 0 rjm is offline
Old

Voltage Regulators for Line Level Audio. Part 12 : The Foursquare Shunt-Source

Posted 17th June 2016 at 01:44 PM by rjm (RJM Audio Blog)
Updated 20th June 2016 at 08:37 AM by rjm

I'm not totally sure this would work as advertised, but I can't see any obvious reason why it would not...

It's pretty much the same circuit as I used in the CrystalFET, which started out in a previous blog post in the Voltage Regulators for Line Level Audio series, but here I've replaced the MOSFETs with bipolars. It is shown configured to deliver 20 mA @ 12 V, split supply. Enough to power an op amp phono stage for example, or a preamp, or the voltage gain stage of a headphone amplifier.
Attached Thumbnails
Click image for larger version

Name:	foursquare shunt regulator full.png
Views:	123
Size:	90.6 KB
ID:	1995  
Attached Files
File Type: asc foursquare shunt regulator full.asc (4.6 KB, 35 views)
rjm's Avatar
rjm
diyAudio Member
Views 187 Comments 0 rjm is offline
Hide this!Advertise here!

New To Site? Need Help?

All times are GMT. The time now is 12:10 PM.


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

Content Relevant URLs by vBSEO 3.3.2
Wiki