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

J-Mo Mk. II vs. Szekeres, distortion comparison

Posted 3rd May 2013 at 08:24 AM by rjm (RJM Audio Blog)
Updated 5th May 2013 at 11:52 PM by rjm

Two headphone amplifiers sharing the same basic MOSFET source follower output stage.

When the source current and source resistance are optimized for the given headphone load and similar maximum output power (~50 mW at 1% THD), the distortion pattern vs. output power is remarkably similar.

One plot below is simulation, the other measurements. The J-Mo 2 simulation closely matched the actual measurements, it wasn't worth my while to generate a full simulated data set when I already had the measurements on hand. No reason to suspect that the Szekeres sim is inaccurate, either.

The take home message is the distortion characteristic of a MOSFET follower is what it is, and unavoidable. Take it or leave it, as it were. However - and this is key - if you don't optimize the stage for the headphone impedance, the distortion for a given output power will increase significantly.

As an aside: Greg did his homework with the original circuit....
Attached Thumbnails
Click image for larger version

Name:	szekeres THD sim.png
Views:	512
Size:	27.4 KB
ID:	980   Click image for larger version

Name:	jmo2 thd sim.png
Views:	517
Size:	32.1 KB
ID:	981   Click image for larger version

Name:	IMGP6429 1280.jpg
Views:	465
Size:	386.1 KB
ID:	982   Click image for larger version

Name:	IMGP6436 1280.jpg
Views:	724
Size:	408.4 KB
ID:	983  
rjm's Avatar
rjm
diyAudio Member
Views 1201 Comments 0 rjm is offline
Old

Szekeres Headphone Driver, distortion simulation

Posted 3rd May 2013 at 08:11 AM by rjm (RJM Audio Blog)
Updated 3rd May 2013 at 08:15 AM by rjm

I've always enjoyed the sound of the Greg Szekeres' Headphone Driver (buffer) and derivatives sharing the MOSFET source follower output stage.

I've often wondered however, whether it's distinctive sound is because it is unusually free from noise and artifacts, or because its unusually prone to heavy second harmonic distortion.

It's not hard to set this up in LTSpice, but I haven't seen it done before. So, for your education and enlightenment, I present the harmonic distortion vs. output power data for the original "classic" circuit as uploaded to Headwize all those years ago. The LTSpice asc file is also included I you want to play along. The harmonic data is generated by hand, reading the FFT peaks for 10 or so different input voltages.
Attached Thumbnails
Click image for larger version

Name:	szekeres sim circuit.png
Views:	619
Size:	50.6 KB
ID:	976   Click image for larger version

Name:	szekeres THD sim 2.png
Views:	463
Size:	28.2 KB
ID:	978   Click image for larger version

Name:	szeke2.gif
Views:	1991
Size:	6.0 KB
ID:	979  
Attached Files
File Type: asc Szekeres.asc (2.1 KB, 254 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 1638 Comments 0 rjm is offline
Old

Discrete transistor line amplifier stage mod 1

Posted 19th April 2013 at 10:24 PM by rjm (RJM Audio Blog)
Updated 20th April 2013 at 05:04 AM by rjm

Changed the collector load on the voltage amplifier stage to a current source (Q3), as per the Marantz SR2285B circuit.

Also increased the resistance of the feedback connection, R6+R8, there seemed to be no obvious advantage in making it much smaller than the typical load (>10k). The compensation capacitor C2 is increased to match, to flatten the HF response.

The circuit can drive light loads to +20 dB. Of course that's not much of a challenge for this general class of circuit.

I'm a bit stumped as to what the next logical step is from here. Seems to me to depend on what you actually want the circuit to do.
Attached Thumbnails
Click image for larger version

Name:	RJM discrete mod1.png
Views:	1286
Size:	59.2 KB
ID:	963  
Attached Files
File Type: asc RJM discrete mod1.asc (3.5 KB, 189 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 1079 Comments 0 rjm is offline
Old

Discrete transistor line amplifier stage

Posted 16th April 2013 at 01:18 AM by rjm (RJM Audio Blog)
Updated 16th April 2013 at 12:23 PM by rjm

Over the last couple of years most of my interest in audio has been with transistors. I've been slowly teaching myself to read and understand the circuits.

Circuits like this one for example. Not hard, but still a bit too complicated for me to understand without the helpful wikipedia markup attached.

Instead I've looked at primarily at the schematics I have for discrete audio preamplfiers, 1970's vintage typically. Based on what I've learnt so far, I've done up a "test mule" in LTSPICE, shown below.

It's not a circuit you should build. It's for pedagogical purposes, though it does actually work reasonably well - in simulation anyway. Its just a simple starting point to observe how the different parts interact under simulation.
Attached Thumbnails
Click image for larger version

Name:	RJM discrete.png
Views:	763
Size:	93.4 KB
ID:	959  
Attached Files
File Type: asc RJM discrete.asc (3.2 KB, 197 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 1146 Comments 0 rjm is offline
Old

Preamps are not line level.

Posted 1st April 2013 at 04:57 AM by rjm (RJM Audio Blog)

If you don't think about it too hard, you'd imagine that the signals in the phono stage would be smaller than the signals in the line level preamplifier stage that follows it. Or that the signals in the DAC/CD player would be about the same level or slightly lower than the signal in the preamplifier.

As usual, the answer is "it depends". It depends on the sensitivity of your speakers, how loud you are listening, and the voltage gain of the amplifier. It also depends on whether we are talking about a MM phono stage or low output MC.

My point is simply this: the volume control is an attenuator, and at the typical "9 o'clock" position the input signal is reduced in magnitude by about 35 dB.

That cuts it back down to being comparable to the output of a moving magnet cart, and much, much smaller than anything found in a DAC stage.

It means you absolutely, definitely, positively must spend as much effort and care...
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 830 Comments 4 rjm is offline
Old

Marantz SR2285B Receiver : Phono Stage Model Response

Posted 19th March 2013 at 06:02 AM by rjm (RJM Audio Blog)
Updated 20th March 2013 at 01:54 AM by rjm

Mid-range 1970's stereo receiver.

I was curious to find out a) what the phono circuit was, and b) how tight the RIAA response might have been.

The answer is "four transistors" and "pretty damn good", respectively.

We are impressed. These Japanese engineers knew a thing or two. I would like to see some of these old circuits resurrected as discrete phono stages with modern components to see just what they are capable of.
Attached Thumbnails
Click image for larger version

Name:	Marantz SR2285B phono.png
Views:	1885
Size:	39.9 KB
ID:	917   Click image for larger version

Name:	Marantz SR2285B ps.png
Views:	3343
Size:	52.6 KB
ID:	918   Click image for larger version

Name:	Marantz SR2285B sim2.png
Views:	1683
Size:	17.9 KB
ID:	919   Click image for larger version

Name:	simluated results.png
Views:	627
Size:	32.8 KB
ID:	920  
Attached Files
File Type: zip Marantz LTSPICE.zip (1.5 KB, 147 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 2428 Comments 2 rjm is offline
Old

X-reg voltage stabilizer LTSPICE file

Posted 15th March 2013 at 01:54 AM by rjm (RJM Audio Blog)
Updated 20th March 2013 at 01:47 AM by rjm

I did up the X-reg circuit in LTSpice.

Results shown below, together with the LTSpice .asc file you can use to play around with this yourself.

First attached image shows FFT for the rectified DC (green), reference voltage (red) and X-reg output (blue) for the designed-for 10 mA output (top) and a more punishing 100 mA (bottom).

Second image shows an LTSpice screengrab for the LT1086 with bypassed adj pin under comparable loading. Input voltage in blue, output in green. This is a reasonable approximation of a "good" IC regulator.

Last image shows a plot of the exported LTSpice FFT data for the X-reg and the LT1086-12V (Cin 1000uF, Cout 100uF) both at nominal currents of 10 mA. The LT1086-12V is a reasonable substitute for a generic LM7812, i.e. a "bad" IC regulator.

A typical op amp will have sufficient PSRR to mop of the residual noise from the bypassed LT1086. The fixed LT1086-12V, on the...
Attached Thumbnails
Click image for larger version

Name:	xreg 01.png
Views:	10671
Size:	104.8 KB
ID:	910   Click image for larger version

Name:	LT1086.png
Views:	2263
Size:	56.0 KB
ID:	912   Click image for larger version

Name:	Regulator Comparison.png
Views:	1081
Size:	50.4 KB
ID:	914  
Attached Files
File Type: zip xreg 01.zip (1.9 KB, 257 views)
rjm's Avatar
rjm
diyAudio Member
Views 4563 Comments 2 rjm is offline
Old

RIAA Equalization Curve

Posted 5th March 2013 at 02:51 AM by rjm (RJM Audio Blog)
Updated 5th March 2013 at 03:37 AM by rjm

For reference and experimentation.

This excel worksheet will provide you with reference data that you can overlay and compare with the measured/simulated response plots of actual phono stage circuits.
Attached Thumbnails
Click image for larger version

Name:	RIAA.png
Views:	3729
Size:	24.7 KB
ID:	907  
Attached Files
File Type: zip RIAA Standard Equalization Curve.zip (173.7 KB, 257 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 2638 Comments 0 rjm is offline
Old

Modification of the S.M.S.L. sAp VI headphone amplifier

Posted 14th January 2013 at 12:29 PM by rjm (RJM Audio Blog)
Updated 27th December 2016 at 02:38 AM by rjm

I couldn't even build it myself for the price they are selling it at, $50 on ebay. It caught my eye for the linear, split power supply. I love the chrome 3-pin power connector, too.

As is usual when you buy cheap ultra-Chinese audio gear via eBay some adjustments are needed, however.

The basic problem seems to be a little mix up with the input coupling capacitors. It came with polar electrolytic capacitors, following the markings on the circuit board. If you lstudy the schematic I sketched up below you will notice the input signal and DC offset can swing in both positive and negative directions relative to the op amp inputs - polar capacitors in this position are a bad idea.

I recommend anyone buying this to replace the input caps with Nichicon Muse ES or similar 4.7 uF or 10 uF bipolar electrolytic caps. (I have some extra I can mail out. pm me if interested.)

Other than that it's a pretty solid circuit as far as I can see....
Attached Thumbnails
Click image for larger version

Name:	sApVI schematic.jpg
Views:	8253
Size:	244.7 KB
ID:	838   Click image for larger version

Name:	DSC_2499 1600.jpg
Views:	6144
Size:	107.3 KB
ID:	839   Click image for larger version

Name:	DSC_0835 1600.jpg
Views:	4848
Size:	195.8 KB
ID:	840   Click image for larger version

Name:	DSC_0837 1600.jpg
Views:	2327
Size:	204.6 KB
ID:	841   Click image for larger version

Name:	DSC_2449 1600.jpg
Views:	2177
Size:	410.3 KB
ID:	842  

Attached Files
rjm's Avatar
rjm
diyAudio Member
Views 10079 Comments 8 rjm is offline
Old

Headphone amps are hard.

Posted 9th January 2013 at 11:41 AM by rjm (RJM Audio Blog)
Updated 21st January 2013 at 08:12 AM by rjm

The $50-from-China-via-ebay NJM4556-based headphone amp, pictured below, fails the "Is thing thing on?" test. With 16 ohm, 104 dB/mW headphones there is a faint-yet-audible background hiss when the unit is powered up and the volume is turned all the way down. The hiss increases only slightly as the volume is turned up (input disconnected).

The output noise of an op amp is normally estimated from the input-referred voltage noise density multiplied by the gain, and the current noise density multiplied by the gain and the sum of the input impedances on the inverting and noninverting inputs. The NJM4556 datasheet does not give a figure for current noise, but a reasonable guess is 1 pA/sqrtHz. The voltage noise density is estimated at 8 nV/sqrtHz.

Total noise is

Vn (output) = sqrt [(i_n R_s)^2 + e_n^2 + 4kT R_s] * Gain

Working from a source impedance of ~10k, I get about 18 nV/sqrtHz or -138 dB.

[Revised according...
Attached Thumbnails
Click image for larger version

Name:	DSC_2499 1600.jpg
Views:	1364
Size:	107.3 KB
ID:	834   Click image for larger version

Name:	sApVI schematic.jpg
Views:	3984
Size:	244.7 KB
ID:	835   Click image for larger version

Name:	DSC_2486 sm.jpg
Views:	500
Size:	224.8 KB
ID:	836   Click image for larger version

Name:	sapvi.png
Views:	354
Size:	37.7 KB
ID:	837  
Attached Files
File Type: zip op amp noise.zip (9.8 KB, 87 views)
rjm's Avatar
rjm
diyAudio Member
Posted in The Lab
Views 2506 Comments 10 rjm is offline

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