Go Back   Home > Forums > Blogs > RJM Audio Blog

If I put my notes here, I might be able to find them again later!
The Lab Circuit ideas and innovations, not yet part of a full project.
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:	133
Size:	12.1 KB
ID:	2013  
Attached Files
File Type: zip coupling capacitor time constants.zip (7.1 KB, 58 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 295 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:	154
Size:	13.6 KB
ID:	1998   Click image for larger version

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

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

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

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

Click image for larger version

Name:	Audacity 0.5 signal in-out.png
Views:	187
Size:	46.8 KB
ID:	2004  
Attached Files
File Type: zip RMAA report Xonar STX loop back.zip (29.2 KB, 39 views)
rjm's Avatar
rjm
diyAudio Member
Views 633 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:	112
Size:	21.0 KB
ID:	2094   Click image for larger version

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

Name:	DSC_6187_01 sm.jpg
Views:	99
Size:	361.6 KB
ID:	2107  
Attached Files
File Type: asc VSPSX-10a.asc (13.4 KB, 93 views)
File Type: zip pcb-vspsx-10a4-bom.zip (168.8 KB, 14 views)
rjm's Avatar
rjm
diyAudio Member
Views 602 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 12:01 PM 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:	635
Size:	90.6 KB
ID:	1995  
Attached Files
File Type: asc foursquare shunt regulator full.asc (4.6 KB, 152 views)
rjm's Avatar
rjm
diyAudio Member
Views 735 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:	357
Size:	91.5 KB
ID:	1965   Click image for larger version

Name:	bboard2.1.png
Views:	221
Size:	95.8 KB
ID:	1972  
Attached Files
File Type: asc bboard buffer 20.asc (4.6 KB, 179 views)
File Type: asc bboard buffer 21.asc (4.6 KB, 169 views)
rjm's Avatar
rjm
diyAudio Member
Views 727 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:	248
Size:	31.5 KB
ID:	1941   Click image for larger version

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

Name:	J113 Idss.png
Views:	172
Size:	10.7 KB
ID:	1943  
Attached Files
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 775 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:	199
Size:	33.5 KB
ID:	1953  
Attached Files
rjm's Avatar
rjm
diyAudio Member
Views 747 Comments 5 rjm is offline
Old

Matching JFETs

Posted 8th March 2016 at 01: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:	764
Size:	65.9 KB
ID:	1895  
Attached Files
File Type: zip two measurement jfet match 1.3.zip (67.3 KB, 107 views)
rjm's Avatar
rjm
diyAudio Member
Views 1462 Comments 6 rjm is offline
Old

CrystalFET Phono Stage

Posted 3rd March 2016 at 05:55 AM by rjm (RJM Audio Blog)
Updated 21st April 2017 at 01:46 AM by rjm

Development thread here. Web page here.

CrystalFET is a J113 jfet-based two-stage phono preamp, with passive equalization and on-board MOSFET-based shunt voltage regulator.

Jfets Q1 and Q3 should be matched between channels, and for best results the value of drain resistors R2 and R9 should be selected based on the jfet pinch off voltage of Q1 and Q3 respectively.

rev. 1.4e (final version) removes some unneeded resistors and tidies up the board layout a little. The resistors have been renumbered.
Attached Thumbnails
Click image for larger version

Name:	IMGP6761.jpg
Views:	517
Size:	263.9 KB
ID:	1889   Click image for larger version

Name:	IMGP6764.jpg
Views:	270
Size:	192.5 KB
ID:	1890   Click image for larger version

Name:	DSC_6236.jpg
Views:	276
Size:	262.8 KB
ID:	1897   Click image for larger version

Name:	crystalFET 1.3a response.png
Views:	201
Size:	22.7 KB
ID:	1934   Click image for larger version

Name:	pcb-crystal-14e-sch.png
Views:	444
Size:	18.3 KB
ID:	2007  

Click image for larger version

Name:	pcb-crystal-14e-brd.png
Views:	260
Size:	18.5 KB
ID:	2008   Click image for larger version

Name:	CrystalFET-14e.jpg
Views:	160
Size:	394.8 KB
ID:	2023  
Attached Files
File Type: zip pcb-crystal-14e-bom.zip (246.7 KB, 52 views)
File Type: asc Crystal 14.asc (11.2 KB, 150 views)
rjm's Avatar
rjm
diyAudio Member
Views 2033 Comments 6 rjm is offline
Old

Voltage Regulators for Line Level Audio. Part 11 : The Crystal M Shunt

Posted 20th February 2016 at 01:49 AM by rjm (RJM Audio Blog)
Updated 22nd February 2016 at 09:35 AM by rjm

A while back I did a series of blogs on voltage regulators. Back with a new entry today: The Crystal M, configured here for 40 V DC output and a 25 mA load.

The circuit is based on two p-channel MOSFETs, the top one is a constant current source, the bottom one a constant voltage source. As the load current changes, the voltage source adjusts its current to balance.

It's lifted directly on the Salas shunt design (as reworked by me for my own jFET phono stage), but the circuit can also be considered a distant, DC-coupled relative of the Zen amp.

I trick, I discovered, to getting it to work nicely - the attached screencap shows it well-behaved while handling a full-swing output current pulse - is the source resistor R10. This resistance dials-down the current gain of the MOSFET, damping out the overshoot.

The ripple rejection is about 70 dB over the audio bandwidth. The output impedance is about 0.05 ohms over the same frequency...
Attached Thumbnails
Click image for larger version

Name:	Crystal M.png
Views:	1300
Size:	48.3 KB
ID:	1805   Click image for larger version

Name:	Crystal M PSRR.png
Views:	1043
Size:	51.0 KB
ID:	1806  
Attached Files
File Type: asc Crystal M.asc (2.9 KB, 859 views)
rjm's Avatar
rjm
diyAudio Member
Views 943 Comments 2 rjm is offline

New To Site? Need Help?
Copyright ©1999-2017 diyAudio