The Audio Pages

 Elliott Sound Products Soft Clipping 

Copyright © 2006 - Rod Elliott (ESP)
Page Created 15 April 2006


Articles Index
Main Index


Contents


1 - Introduction

There seems to be something really nice about the idea of soft clipping. Rather than have the amplifier clip any wayward peaks with the traditional square-edged characteristics typical of solid state amplifiers, wouldn't it be nice if they did much the same as a valve amp? A comparison of the two forms of clipping is shown in Figure 1, and you can see that the valve amp's clipping behaviour is more 'civilised' (if any form of clipping can be considered civilised, that is).

Figure 1
Figure 1 - Comparison of Transistor (Red) and Valve (Green) Clipping

The 'soft' characteristic (Green) shown in Figure 1 has few high order harmonics. The harmonic content is predominantly third harmonic, with a smaller amount of fifth, and lesser amounts of each additional higher odd-order harmonic. Because the waveform is symmetrical, even order harmonics are typically at vanishingly small amplitudes. Figure 2 shows the harmonic structure of each waveform. Note that the hard clipping produces high levels of eleventh, fifteenth and nineteenth harmonics compared to the soft clip circuit. However, both signals will sound objectionable with the amount of clipping shown.

Figure 2
Figure 2 - Spectrum of Transistor (Red) and Valve (Green) Clipping Distortion

Note that the ragged looking transistor spectrum at low levels may appear to be 'bad', but all such signal levels are at about 1uV, so are around 120dB below the amplitude of the fundamental. The spectrum tells part of the story, but the harmonic distortion also needs to be examined. The soft clipped valve-like distortion measures 14.6%, while the transistor circuit gives 17.6% by comparison. In each case, the amplitude of the original (unclipped) waveform was identical, at 2V peak (1.414V RMS). The primary reason for the higher measure distortion of the hard clipped waveform is that the harmonics extend to well over 100kHz at levels exceeding -80dB, while the soft clipped harmonics are below that level by 23kHz.


2 - Soft Clip Circuit

Apart from the obvious solution of using a valve output stage (hardly a simple modification to an existing circuit), the easiest way to make a circuit that clips 'softly' is to use diodes. The above simulations were done using diodes, and reality is very close indeed to what is observed in a simulation. There is nothing new about diode clipping circuits - they have been the mainstay of guitar distortion pedals (fuzz boxes) for many years. The deliberate use of this technique for a hi-fi amplifier is less common, and as will be shown below, this is as it should be.

Figure 3
Figure 3 - Basic Soft Clip Circuit

Figure 3 shows the basic schematic of a soft clip circuit. By using diodes, the relatively soft knee of the diode conduction curve provides exactly the waveform that we need. There is an inevitable cost though, and to understand why, we need to examine the conduction characteristics of a diode. It is commonly taken that conventional silicon diodes conduct at 0.65V, although the actual figure varies depending on the type of diode and the current.

The value of R1 is surprisingly very important. If it is too high, there will be considerable distortion at even relatively low levels because of the inherently non-linear resistance of the diodes. If R1 is too small, performance at lower levels is improved, but the source amplifier (preamp, CD player, etc.) may be forced into premature clipping because of the loading. As shown, 2.2k is a reasonable compromise, but if you are willing to include an opamp that can drive low impedances (such as the NE5532 or OPA2134 dual devices), you can reduce R1 to about 680 ohms without having to worry about hard clipping from the preamp.

In Figure 4, it is obvious that not only do the diodes start to conduct at well below the nominal voltage, but they have significant internal resistance as well. It is these very characteristics that give us a soft clipping waveform, and also give us greatly increased distortion as we approach the clipping voltage. The sharpness (or otherwise) of the clipped waveform depends on the signal source impedance and the diode characteristics, and manipulation of the impedance (but maintaining the same diodes) has a very significant effect on the final waveform.

Figure 4
Figure 4 - Diode Conduction Characteristics (Typical of 1N4148)

The supply voltage is applied using a ramp waveform, and the diodes (two in series) are fed using a 1k resistor. As the voltage increases, there is virtually no diode current until the voltage has reached about 1V. At this voltage, diode current starts to flow, and the voltage across the diodes deviates from the applied voltage. As the supply voltage increases further, diode current also increases, and the voltage across the diodes starts to flatten out. You can see that it is not completely flat even at the extremity. The voltage continues to increase at a rate determined by the diode's internal (dynamic) resistance - in the case of the simulated 1N4148 pair used, this can be calculated to be (based on the variation across a defined area of the curve where the curve has flattened out) ...

This is for the pair, so each diode has a dynamic resistance of 56 ohms. Note that you cannot simply use the voltage across the diodes and the current through them to obtain this figure, because of the diode's internal voltage drop. You will get an incorrect figure (that is much too high) if you do that. The point is that the dynamic resistance changes, depending on current. To see this effect properly, Table 1 shows the dynamic resistance (impedance) at each numbered point along the horizontal (X) axis of Figure 4.

PointΔVoltageΔCurrentΔResistance
150mV171nA292k
234mV7.7uA4.4k
311.4mV18uA633
45.55mV21uA264
53.50mV21.3uA164
62.44mV21.6uA112
Table 1 - Variable Dynamic Resistance of 2 x 1N4148

Much as simulations allow the easy determination of things that are very hard to measure, there is nothing like measurement to demonstrate the effects in the real world (as opposed to the cyber-world of the simulator). Accordingly, Table 2 shows a comparison between measured and simulated results, with each using the same basic parameters.

VinVoutMeasured THDSimulated THD
1830m8.9%7.1%
800m740m4.5%3.0%
700m670m2.2%1.46%
600m587m0.81%0.57%
500m500m0.28%0.19%
400m400m0.076%0.06%
300m300m0.036%0.018%
Table 2 - Measured vs. Simulated Distortion

The simulator under-estimates the distortion, and although it is (probably) more accurate, the measured results are ultimately what really counts. My audio oscillator has a residual distortion of 0.015% at 1kHz, and this needs to be factored in at low measured figures. One thing that is inescapable is that the distortion is increased at all levels. Even reducing the input to 50mV, the simulator still shows a measurable distortion ... although few amplifiers could even hope to get down to the 0.0002% level the simulator indicated.

The value of R1 (as noted above) has a great influence on the circuit's performance. Table 3 shows the simulated distortion levels for a range of voltages and series resistance. Be aware that very few opamps can drive significant levels into low impedances, so this limits the minimum value to around 680 ohms with high drive opamps, and about 1.5k or so with most others.

Vin680 Ohms1.2k2.2k
14.90%5.92%7.08%
800m1.44%2.11%3.00%
700m0.57%0.92%1.46%
600m0.19%0.33%0.57%
500m0.06%0.11%0.19%
400m0.019%0.033%0.060%
300m0.006%0.010%0.018%
Table 3 - Simulated Distortion vs Source Resistance and Voltage

From the above, it is readily apparent that low values for R1 will reduce the distortion below the theoretical diode conduction voltage, but this approach loads the source amplifier. In addition, the dynamic resistance of the diodes becomes more invasive, allowing the clipped voltage to reach a higher than expected peak amplitude. For example, with an input of 2V RMS, 2.2k will cause the peak to limit at 1.32V, 1.2k gives 1.37V, and 680 ohms allows the peak to reach 1.41V. I shall leave this decision to anyone who may be interested in experimenting with the technique.

So, if you want to add a soft clipping circuit, you will benefit from lower levels of harsh high-order harmonics at clipping, but at the expense of effective power output and (much) higher than normal distortion at all levels from as low as about 20% of the maximum output voltage.


3 - Amp Power Reduction

If a soft clip circuit is incorporated into an amplifier, it must prevent the power amp from clipping at any sensible input level. Figure 5 shows how the level changes (this is due to the diodes' dynamic resistance) as the input voltage is changed. The red trace is with an input level of 1V RMS, and the green trace is at 5V RMS. Nearly all preamps will allow at least that much drive if the volume control is set to maximum, and this is what tends to happen at parties (and often with professional equipment as well).

Figure 5
Figure 5 - Clipped Level Variation vs Input Voltage

This is essentially exactly the same information as shown in Figure 4, but uses the signal waveform. For the exercise, let's use a 100W (8 ohm) amplifier as our model, and we will apply a soft clipping circuit to it. Using the 4 diode clipper shown in Figure 3, we can do some basic analysis.

Allowing up to 5V input is probably silly, so we'll make that 2V, after which traditional hard clipping will occur. A 100W/8 ohm amplifier will give about 28V RMS at the speaker terminals (40V peak). We have allowed for 2V input, so the gain needed (after the clipping circuit) is ...

The gain needed is achieved using a 20k resistor from output to inverting input, and a 1k resistor to ground. So far so good. Now, we need to decide on the maximum distortion figure we are willing to accept at a 'typical' peak output power. 1% is not unreasonable - certainly higher than we would expect from a transistor amp, but not unreasonable.

From Table 2 we see that with an input level of 700mV (RMS), distortion is 2.2% (measured) or 1.46% (simulated). The input level obviously needs to be a bit less than this, so 650mV is probably about right. The simulator says that this gives 0.94% which is close enough. The actual amplifier power at 1% distortion is determined by ...

Oh dear! A perfectly good 100W amp is now downgraded to 23W at 1% distortion, with the distortion rising quite rapidly above that. Sure, the distortion components will be low order odd harmonics, but intermodulation distortion is increased proportionally as well, and the otherwise distortion free (relatively speaking) amp output cannot be used to its full advantage. Use of a lower value feed resistance (R1) will improve matters, but as noted above may create other problems.

Will it sound like a valve amp though? Not really. While the distortion characteristics will be similar to a reasonable push-pull valve amp of roughly similar power, the higher than normal output impedance of a valve amp is another factor that gives the 'valve sound'. While this can be included as well, the clipping circuit cannot compensate for the gain variations in an amp with high output impedance.


4 - Conclusion

The effects of the soft clipping circuit can be modified over a wide range, by varying the feed resistance, type of diodes used and the peak levels expected. In general, the result is unlikely to be as hoped for anyway, because occasional transient clipping is usually inaudible. The harmonic and intermodulation distortion that has been added may be very audible with some material, and is unlikely to improve your enjoyment of the music.

Of course, you may find that you do like the effect (it is very common in guitar amps), so if you think that you'd like to experiment then you have enough information to make an informed decision as to how to go about it.

There is nothing that looks complicated at all in this technique, but as should now be evident, there are actually quite a few things that must be considered. As is so often the case, an apparently simple circuit can be far more complex than anticipated, and it is a matter of juggling the compromises to obtain the results you want - within the limits of the technique.

While it would be relatively easy to incorporate the soft clip function into a DSP that may be providing other functionality (equalisation, crossovers, etc.) and avoid some of the limitations, the definition of a soft clip circuit requires that it should start to distort the signal earlier than expected. In the end, it is probably far easier to incorporate a clipping indicator so that clipping can be avoided altogether.


Articles Index
Main Index

Copyright Notice. This article, including but not limited to all text and diagrams, is the intellectual property of Rod Elliott, and is Copyright © 2006. Reproduction or re-publication by any means whatsoever, whether electronic, mechanical or electro- mechanical, is strictly prohibited under International Copyright laws. The author (Rod Elliott) grants the reader the right to use this information for personal use only, and further allows that one (1) copy may be made for reference. Commercial use is prohibited without express written authorisation from Rod Elliott.
Page created and copyright © 15 April 2006