|Elliott Sound Products||Project 92|
We have all heard that wonderful sound of a guitar, where the note just hangs there seemingly forever (or at least until next Thursday). Sustain can be obtained by turning the amp up full, but the rest of the band will just kill you - they need to be able to hear themselves too! This little project is best used in the effects loop of a guitar amp (if it has one - not all do). It can be used direct from the guitar, but the effect is not as good, since it is designed for relatively high levels (around 1 Volt).
The circuit is very simple to build, and mine is on a piece of Veroboard. Because it can easily be built as a pedal or even into a guitar amp (such as that described in Project 27), I do expect to make PCBs available in the not too distant future, since the circuit (Figure 2 version) will be used in an upcoming commercial project. (Yes, I know I said boards would be available back in 2002, but there's more likelihood now )
The complete schematic is shown in Figure 1. There is not a lot to it, but the LED and LDR (Light Dependent Resistor) are critical - they must be completely enclosed in a light proof enclosure of some kind. Vactrol make some very nice little LDR opto-isolators, but unfortunately they are not easy to get and are fairly expensive. The next best thing is an LED, an LDR and a couple of pieces of black heatshrink tubing. The LED and LDR must be as close to each other as possible, and a flat topped LED is recommended if you can get one. See Project 145 for detailed instructions on how to make your own LED/ LDR optocoupler.
Figure 1 - Guitar and Bass Compressor
Note the rather unusual earth (ground) connection. This is not a mistake in the drawing. U2A is used to buffer the 1/2 supply voltage created by R3 and R4, and instead of using the 12V supply negative as earth, the output of U2A is used instead. This gives a balanced supply from a single voltage source. Note that the AC/DC adapter (plug pack or wall wart - select the term you are most comfortable with :-) must not be used to power other equipment as well, since this may cause problems. If you wish, a conventional +/-15V supply may be used instead (see below).
All resistors are 1/4 or 1/2 Watt, and may be 1% or 5%. R1 and R2 should be metal film for lowest noise. Although the TL072 is suggested for the audio path, other opamps may be used as well. Likewise, the LM1458 can also be substituted if you like. Caps are 16V types, but higher voltage units can be used if desired. D7 is a power on indicator, and D6 is there to prevent damage to the circuit if the polarity of the applied 12V DC is incorrect. Be warned that the AC/ DC adapter will be damaged if the polarity is wrong, and it is left connected for any length of time.
VR1 is a simple volume control, and is used to set the output level. VR2 is the limiting threshold control - as it is adjusted to a higher setting, the volume will decrease. You may wish to wire the pot 'backwards', so that maximum output is obtained when VR2 is set to the fully clockwise position.
U1A is the gain control stage. Maximum gain as shown is unity, but R2 can be increased if you find that the gain is too low. When the signal level is high enough for D1 - D4 to conduct, the LED illuminates, and reduces the gain of the input stage. Any further increase of input voltage will just cause the LED to glow brighter, which reduces the gain further. In this way, a constant output level is maintained, since as the input signal reduces, so does the LED brightness and the stage gain increases again.
The connections shown will be fine for most purposes, but some LDRs may give distortion at low frequencies. A 100µF cap in parallel with the LED will probably help if this is a problem. LDRs typically have a slow release time. After illumination, they take some time to return to their full dark resistance. This characteristic is exploited here, to allow a very simple circuit with an almost perfect attack and release time for musical instrument use.
I have also used mine on music, and it gives a very good account of itself - so much so that I would recommend this unit as a simple compressor for almost any application.
An alternative is offered below. This version is designed specifically for operation from ±15V supplies (±12V supplies can also be used with no changes). This version can be used as a full range limiter for music, and might typically be applied in an amp rack to prevent amps from being overdriven (and distorting). While the Figure 1 version can also be used, it is less convenient because of the single supply, and the rectifier is not quite as good as the unit shown here.
Figure 2 - Alternative Guitar and Bass Compressor
Because of the arrangement of the rectifier, it is much easier to add a cap (C1) to increase the attack and decay time. Note that using a value much higher than that shown will not help much, because the opamps cannot supply enough current to charge a higher value, and the results can be less than satisfactory.
There are many alternatives, but when wired as shown, the circuit gives a very good account of itself. Operation is unchanged from that described above, despite the re-arrangement of the LDR wiring. If you need more input gain (to increase the limiting effect), simply increase the value of R3. I don't recommend that it be greater than around 47k though.
Likewise, increased output level is obtained by increasing the value of R6, and again, I suggest a maximum of 47k.
This final unit has been added after it was designed for another project. It's only possible because of the performance of the NE5532 opamp, which can drive the low impedance of the rectifier without any sign of distortion. VR1 controls the limiting threshold, and the output level from U1B is set at about 3V RMS (sinewave) or ±6V peak with programme material. The gain of the first stage can be increased if needed, by reducing the value of R4.
With the values shown, the limiting threshold is about 1.5V RMS when VR1 is at minimum resistance. At maximum resistance, any input signal above 150mV will cause limiting. Normal operating input level is 1V, but that can be modified by changing the gain of the first stage. For example, if U1A has a gain of 10, the maximum input level will be limited to about 850mV because the opamp will clip with anything higher.
Figure 3 - Guitar and Bass Compressor Simplified
The optocoupler can be a 'proper' Vactrol VTL-5C4 (for example) or similar, or you can make it yourself. Project 145 has detailed instructions for making your own LED/ LDR optocouplers. The indicator LED (LP1) must be a high brightness type (as good as you can get), because the current needed for limiting is very low and you won't even see the LED come on if you use a 'normal' low brightness LED.
I doubt that a simpler limiter can be made that works as well as this one. Note that the power supplies are not shown, but the connections are identical to those shown in Figure 2. I do not recommend supply voltages of less than ±12V, and ±15V is preferred.
|Copyright Notice. This article, including but not limited to all text and diagrams, is the intellectual property of Rod Elliott, and is Copyright © 2002. 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 while constructing the project. Commercial use is prohibited without express written authorisation from Rod Elliott.|