diyAudio - RJM Audio Blog
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
If I put my notes here, I might be able to find them again later!
Old

Quick note on line level output currents

Posted 18th July 2016 at 03:58 AM by rjm (RJM Audio Blog)
Updated 22nd July 2016 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 542 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:	336
Size:	48.3 KB
ID:	2022  
rjm's Avatar
rjm
diyAudio Member
Views 984 Comments 14 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:	123
Size:	12.1 KB
ID:	2013  
Attached Files
File Type: zip coupling capacitor time constants.zip (7.1 KB, 56 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 261 Comments 0 rjm 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:	140
Size:	13.6 KB
ID:	1998   Click image for larger version

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

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

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

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

Click image for larger version

Name:	Audacity 0.5 signal in-out.png
Views:	169
Size:	46.8 KB
ID:	2004  
Attached Files
File Type: zip RMAA report Xonar STX loop back.zip (29.2 KB, 37 views)
rjm's Avatar
rjm
diyAudio Member
Views 575 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 18th April 2017 at 11:15 PM 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.

Development thread here.

[updated attached content to rev. 1.0a4]

Two mistakes in previous BOM:

C4 was a 5mm lead spacing Wima MKP but the board spacing is only 2.5mm. The part is changed to Wima MKS with 2.5mm lead spacing.

R22,23 was incorrectly given as 47.5k, it should have been 4.7k and has been since updated to 10k. This is not a critical value, the circuit will work with any of the resistances.

[further work]

The boards have been revised to 1.2a. The new design is posted to the development thread.
Attached Thumbnails
Click image for larger version

Name:	pcb-vspsx-10a-brd.png
Views:	86
Size:	21.0 KB
ID:	2094   Click image for larger version

Name:	vsps-10a-gerber.png
Views:	82
Size:	207.3 KB
ID:	2096   Click image for larger version

Name:	DSC_6187_01 sm.jpg
Views:	75
Size:	361.6 KB
ID:	2107  
Attached Files
File Type: asc VSPSX-10a.asc (13.4 KB, 44 views)
File Type: zip pcb-vspsx-10a4-bom.zip (168.8 KB, 4 views)
rjm's Avatar
rjm
diyAudio Member
Views 513 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 December 2016 at 11:01 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.

[developed further under the S-Reg name, with pcb layout.]
Attached Thumbnails
Click image for larger version

Name:	foursquare shunt regulator full.png
Views:	580
Size:	90.6 KB
ID:	1995  
Attached Files
File Type: asc foursquare shunt regulator full.asc (4.6 KB, 137 views)
rjm's Avatar
rjm
diyAudio Member
Views 637 Comments 0 rjm is offline
Old

Bboard buffer 2.0 (yet another version "2")

Posted 13th May 2016 at 08:22 AM by rjm (RJM Audio Blog)
Updated 27th May 2016 at 12:47 AM by rjm

A little bit of the sapphire headphone amp output stage, and a little bit of the LSK489 application note of all things (scroll down to Fig 10.).

Yes, this is probably the third "version 2" of this line buffer I've posted... I keep tossing it out and starting over. This variant looks pretty good: though the transistor count is a little high for such a basic function the performance is definitely there.

The main innovation re. the sapphire circuit is to replace the bias set resistors with diodes made out of the Vbe of transistors Q9 and Q10. This generates more voltage than is ideal, but can be handled by using largish values for the emitter resistors R13 and R14. Since this is a line stage buffer and not a headphone amplifier the output impedance of about 30 ohms and the limited output current swing are not critical flaws. It will drive 600 ohms at 0 dB with 0.001% THD. The whole circuit draws just 150 mW. The input impedance is a very high ~15 Mohms...
Attached Thumbnails
Click image for larger version

Name:	bboard 20.png
Views:	342
Size:	91.5 KB
ID:	1965   Click image for larger version

Name:	bboard2.1.png
Views:	209
Size:	95.8 KB
ID:	1972  
Attached Files
File Type: asc bboard buffer 20.asc (4.6 KB, 168 views)
File Type: asc bboard buffer 21.asc (4.6 KB, 159 views)
rjm's Avatar
rjm
diyAudio Member
Views 637 Comments 0 rjm is offline
Old

Understanding the J113 JFET

Posted 14th April 2016 at 01:08 PM by rjm (RJM Audio Blog)
Updated 15th April 2016 at 11:31 PM by rjm

"To fight the bug, we must understand the bug."
--SKY MARSHALL TEHAT MERU

The J113 datasheet (Fairchild) tells you the following important information,

1. The (absolute) maximum gate-source / gate-drain voltage is 35 V.

2. The gate-source cut-off voltage (V_gs0) varies between -0.5 and -3 V.

3. The minimum zero-gate voltage drain current (I_dss) is 2 mA.

4. (from Fig. 11) the transconductance for I_ds 1-10 mA is about 10 mS largely independent of V_gs0.

5. (from Fig. 14) the voltage noise rises at low frequency and decreases with drain current, but is about 2-4 nV/sqrtHz over most of the audio bandwidth.

*****

I bought 200 J113 off eBay, but my measurements were set back after I realized my test rig was oscillating. Fixed that, and can now say a few things in addition to the datasheet.

The first is that the transfer curve (measured at RT, V_ds 10 V) does...
Attached Thumbnails
Click image for larger version

Name:	J113 beta C class transfer curve.png
Views:	225
Size:	31.5 KB
ID:	1941   Click image for larger version

Name:	J113 beta.png
Views:	132
Size:	10.1 KB
ID:	1942   Click image for larger version

Name:	J113 Idss.png
Views:	159
Size:	10.7 KB
ID:	1943  
Attached Files
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 711 Comments 0 rjm is offline
Old

Supermatched JFETs

Posted 29th March 2016 at 05:10 AM by rjm (RJM Audio Blog)
Updated 18th April 2016 at 11:52 PM by rjm

Truth be told, for a self-biased jfet audio circuit like the CrystalFET the main reason we need to used matched jfets is to ensure that the signal gain is the same in both channels. The operating point of the amplifier stage (the voltages and currents) can be allowed to vary a little so long as the transconductance, g_m is the same, as this is directly proportional to the open loop voltage gain, A, as

A = g_m R_l (transconductance x load resistance)

Now, yes, ideally you would find two jfets with identical saturation current and pinch off voltages, ensuring not just the same gain but also the same operating point. In practice though you are usually binning parts that are close to each other based on some reference parameter like the pinch off voltage (V_gs0) that you hope closely correlates with the signal gain. This is not quite as good though as the calculating the actual transconductance of the particular device in the circuit it is to be used in. And since...
Attached Thumbnails
Click image for larger version

Name:	supermatchB.png
Views:	181
Size:	33.5 KB
ID:	1953  
Attached Files
rjm's Avatar
rjm
diyAudio Member
Views 714 Comments 5 rjm is offline
Old

Matching JFETs

Posted 8th March 2016 at 12:29 PM by rjm (RJM Audio Blog)
Updated 6th May 2016 at 09:27 AM by rjm

with only two resistors, a 9 V battery, and a voltmeter...

The current-voltage relationship for a jfet device is approximately a quadratic expression defined by just two parameters, the saturation current, I_dss, and the pinch-off voltage, which I'll call V_gs0.

I = I_dss (1-V/V_gs0)^2

In principle, therefore, to characterize the device all we need is two data points (I1, V1) and (I2, V2) to solve the expression above for I_dss and V_gs0. We don't need to measure I_dss or V_gs0 directly.

All you need to do is connect the jfet device-under-test (DUT) as shown, and measure the voltages across two different source resistances. That's it. The excel worksheet computes the I_dss and V_gs0 values for you (or you can do it by hand, the formulas are provided.)

The math is a bit messy, but if you can solve a quadratic expression it's easy enough.

*****

Note: I found it was important to include...
Attached Thumbnails
Click image for larger version

Name:	two measurement jfet match 1.3.png
Views:	636
Size:	65.9 KB
ID:	1895  
Attached Files
File Type: zip two measurement jfet match 1.3.zip (67.3 KB, 96 views)
rjm's Avatar
rjm
diyAudio Member
Views 1316 Comments 6 rjm is offline
Hide this!Advertise here!

New To Site? Need Help?

All times are GMT. The time now is 11:35 AM.


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

Content Relevant URLs by vBSEO 3.3.2
Wiki