Interactive electronics resource

Voltage Controlled Amplifier Instructions

Build, understand and experiment with the Voltage Controlled Amplifier. This resource covers the operating principles of the VCA, its schematic, calibration, known limitations, component and PCB information, construction guidance and project ideas.

Voltage Controlled Amplifier

Introduction

What is a voltage controlled amplifier?

The Voltage Controlled Amplifier (VCA) is an amplifier that allows the amplitude of an AC signal to be controlled using a DC input voltage. This type of circuit is particularly useful in analogue electronics, especially synthesizers and mixers where one signal can be used to affect another.

For example, synthesizers that use ADSR (attack, decay, sustain and release) envelope generators need a VCA to apply the changing volume of an envelope to a steady tone produced by an oscillator.

What is the MitchElectronics VCA?

While there are many methods for creating a VCA, some designs can be rather complex, involving carefully matched transistors and additional amplifier circuitry. The MitchElectronics design, however, takes a more unusual approach by exploiting the light-sensitive properties of an opto-isolator.

The resulting circuit provides a usable VCA without the need for carefully matched components, making it simple enough to build, experiment with and integrate into existing analogue projects. However, the opto-isolator introduces some limitations, which are important to understand before using the circuit.

Note: This circuit can ONLY amplify an AC signal and CANNOT be used to amplify DC signals. While the input voltage used to control the gain is DC, the signal being amplified must be AC due to the way the circuit is designed.

Schematic

VCA

How the voltage controlled amplifier works

Creating a voltage controlled resistor

The fundamental operating principle of the VCA focuses on a 4N25 opto-isolator, which consists of a light-emitting diode (LED) and a phototransistor inside a single package. While opto-isolators are typically used to transfer signals between electrically isolated circuits, we can take advantage of the relationship between the brightness of the internal LED and the amount of current that the phototransistor can conduct.

Simply put, the more light that falls onto the phototransistor inside the opto-isolator, the more current it can conduct under suitable operating conditions. Another way of looking at this is that, within the small operating region used by our circuit, increasing the brightness of the internal LED reduces the effective resistance presented by the phototransistor.

While this relationship is not perfectly linear, keeping the signal across the phototransistor small allows us to exploit this behaviour to create a usable variable gain amplifier.

Converting a voltage into a current

To control the amount of light falling onto the internal phototransistor, we can vary the current flowing through the LED inside the opto-isolator. However, our control input to the VCA is a voltage, so we first need to convert this voltage into a current.

To do this, we use a voltage-to-current converter made up of U1A, R2, Q1 and R3. The operational amplifier adjusts the transistor Q1 until the voltage developed across R3 approximately matches the voltage presented to its non-inverting input, thereby controlling the current flowing through the opto-isolator LED.

The potentiometer RV1 allows us to adjust the control voltage presented to this conversion stage, which is important when calibrating the amplifier.

The overall combination of the voltage-to-current converter and the opto-isolator gives us a component whose effective resistance can be varied using an input voltage.

Controlling the gain of an amplifier

To take advantage of this unusual opto-isolator configuration, we use the phototransistor as the variable resistance in the feedback network of a standard non-inverting amplifier, made up of U1B and R8.

As the effective resistance of the phototransistor decreases, the gain of U1B increases because the phototransistor forms the lower leg of the feedback network. Conversely, as its effective resistance increases, the gain of U1B falls towards unity.

By varying the DC control voltage, we can therefore vary the gain applied to an incoming AC signal.

Conditioning the incoming AC signal

Because of how the opto-isolator works and the small useful operating region of our amplifier and opto-isolator combination, we need to condition the incoming AC voltage before it can be amplified.

The first conditioning step is C2, which removes any DC bias present in the incoming signal. The second stage is a potential divider, made up of R4 and R5, which reduces the incoming signal by approximately a factor of 100. This helps to keep the signal within the small operating region of our amplifier and opto-isolator combination.

With the signal divided down, the next step is to introduce a known DC offset, which helps to keep the signal within the positive voltage range that the LM324 can handle. Without this offset, the negative portions of the incoming AC signal would cause clipping, as the circuit operates from a single-rail power supply.

Calibrating and buffering the output

After amplification, the resulting signal is fed into an adjustable output amplifier, whose gain can be adjusted using potentiometer RV2. This allows us to calibrate the output signal so that its amplitude is appropriate for the input signal and the range of control voltages being used.

Once amplified, the resulting signal is fed into a unity gain buffer amplifier before being AC coupled through C3 to remove the DC offset and produce the final AC output signal with the voltage-controlled gain applied.

How to use the voltage controlled amplifier

Because of the opto-isolator, the circuit needs to be calibrated using an AC input signal and a DC control voltage before it can be integrated into a project.

The first potentiometer, RV1, is used to calibrate the input control voltage, while the second potentiometer, RV2, is used to calibrate the amplifier output so that it produces the required signal amplitude for a given control voltage.

To calibrate the amplifier, an oscilloscope is particularly useful, along with a signal generator and an adjustable DC control voltage source.

  1. Connect the VCA to a suitable DC power supply, and ensure that the signal generator and control voltage source share the circuit ground.
  2. Apply the largest AC input signal and DC control voltage that you intend to use in your project, representing the maximum expected output.
  3. Carefully adjust RV2 until the output reaches the desired maximum amplitude without clipping.
  4. Set the input control voltage to ground, and adjust RV1 while checking the output to obtain the lowest practical output signal.
  5. Reapply the maximum control voltage and check the output amplitude, adjusting RV2 again if necessary.
  6. Repeat these adjustments as needed and test intermediate control voltages to check the response.

Since the variable gain stage is non-inverting and has a minimum gain of approximately unity, a small amount of the attenuated input signal may remain at the output even when the control voltage is zero. RV1 and RV2 do not guarantee complete muting, and the calibration should be checked against the requirements of your project.

Once calibrated, there should be no need to readjust these settings so long as the VCA remains in the same circuit setup.

Known issues

While the circuit achieves a usable VCA without complex circuitry or carefully matched components, there are some limitations and quirks that need to be understood.

Quirk 1 - DC control voltage transfer

The control input to the VCA is designed for DC and slowly changing voltages, such as those found in ADSR circuits, but can also respond to higher frequency control signals (as much as 10kHz in some cases).

However, when using fast-changing control voltage inputs, the control signal itself can be present at the output even if there is no AC input signal. As such, we do not recommend using control voltage modulation frequencies above 50Hz for audio projects.

This recommendation applies to the control voltage input, not the frequency of the AC signal being amplified.

Quirk 2 - Small input signals and noise

Due to the use of a divide-by-100 stage on the input, small signals can become difficult to distinguish from circuit noise. The adjustable output amplifier then amplifies both the wanted signal and any noise introduced by the earlier stages.

Because of this, we strongly recommend that relatively strong AC signals are fed into the VCA input, such as a 5Vpp audio tone. This allows the VCA to operate more like a voltage controlled attenuator when calibrated so that the maximum output is similar to the input amplitude.

Small signals can still be fed into the VCA, but designers need to consider how much noise is present at the output, especially when the output amplifier is configured for high gain.

Project ideas

The VCA can be used in many different projects, but it is particularly useful in audio and synthesizer projects.

ADSR envelope

Synthesizers that need to produce expressive tones, where the volume can rise, decay to a sustained level and then fall after a key is released, can use the VCA alongside an attack, decay, sustain and release envelope generator.

The VCA is crucial in this design as it can take the slowly changing voltage signal produced by an ADSR envelope generator and apply that envelope to an input tone produced by an oscillator.

Mixer

Multiple VCAs can be combined with a summing amplifier to create a mixer in which the amplitude of each input signal can be controlled independently using a DC voltage.

The VCA can also be used to experiment with amplitude modulation and tone generation, provided that the limitations of the control input are taken into account.

Sensor and microcontroller amplifiers

Because the VCA uses an input voltage to control the amplitude of an AC signal, it opens up opportunities for sensor-controlled analogue circuits. Sensors that produce a varying voltage output can be used to control the VCA, provided their output is within the appropriate control voltage range.

Microcontrollers with DAC outputs can also use the VCA to control analogue signals, allowing software to adjust the amplitude of a tone or another AC signal.

Dynamic tremolo effect

A low-frequency oscillator can be connected to the control input of the VCA to periodically increase and decrease the amplitude of an audio signal, creating a tremolo effect. Keep the modulation frequency below 50Hz for audio applications to help minimise control voltage feedthrough.

Try it yourself

Circuit simulation

What you need

Component List

ComponentQuantityPCB Reference
LM3241U1
4N25 Opto-Isolator1U2
2N39041Q1
100nF Capacitor1C1
10uF Capacitor2C2, C3
100Ω Resistor1R3
220Ω Resistor1R7
1KΩ Resistor1R5
10KΩ Resistor2R2, R9
100KΩ Resistor4R1, R4, R6, R8
Trimmer Potentiometer (CV Trim)1RV1
Trimmer Potentiometer (Gain Trim)1RV2
Red Wire1VCC
Green Wire1IN
Blue Wire2CV, OUT
Black Wire4GND
Voltage Controlled Amplifier PCB1—

Inspect the board

Interactive BOM

Not available in mobile view

Board reference

PCB & assembly

The PCB silkscreen and component references should be checked against the component list before soldering each part.

VCA

Before applying power

  1. Check every component against its PCB reference.
  2. Confirm the orientation of all polarised components and ICs.
  3. Inspect for solder bridges, unsoldered pads and clipped leads that could cause a short.
  4. Check that no loose wire or solder debris remains on the board.

Build with confidence

Construction tips

Recommended build order

A reliable way to assemble Voltage Controlled Amplifier is to work from the lowest-profile components to the tallest. This keeps the PCB easy to access while you solder.

  1. Fit resistors, links and other low-profile components first.
  2. Fit small capacitors and diodes, checking polarity where applicable.
  3. Fit IC sockets and small semiconductors, observing the orientation markings.
  4. Fit larger capacitors, potentiometers, switches and other controls.
  5. Fit LEDs, connectors and the remaining taller components.
  6. Insert socketed ICs only after soldering around the socket is complete.
  7. Inspect every joint and check for solder bridges before applying power.

Electronics construction guidance

If you are new to kit construction, use the Soldering Guide alongside these instructions. Identify each component before fitting it and compare its reference with the component list and PCB silkscreen.

When it does not work

Troubleshooting

Nothing happens when power is applied

  • Confirm the supply is connected to the correct input and with the correct polarity.
  • Check that ICs, diodes, LEDs, transistors and electrolytic capacitors are fitted in the correct orientation.
  • Compare component values and positions against the component list and PCB reference.
  • Inspect for missed joints, dry joints and accidental solder bridges.

The control voltage does not change the output amplitude

Check the voltage-to-current converter around U1A, Q1 and R3, and confirm that the voltage across R3 changes as the control voltage is adjusted. Check the orientation of the opto-isolator and inspect the feedback network around U1B and R8.

The output signal is clipped

Check the DC offset on the non-inverting input of U1B, and reduce the gain of the adjustable output amplifier using RV2. If the signal is already clipped at the output of U1B, reducing the gain of the final amplifier will not correct the distortion.

The output contains noise or the control signal

Check that the input signal is sufficiently large, preferably around 5Vpp, and that the signal source and control voltage source share the circuit ground. If the control signal is audible at the output, reduce its modulation frequency and refer to the known issues above.

The circuit works intermittently

Intermittent behaviour is often caused by a marginal solder joint, a loose connector or a component lead that has not been fully soldered. Gently inspect the board with power removed and reflow any joint that looks dull, cracked or incomplete.

If the fault remains, compare the assembled board with the schematic and PCB reference one connection at a time.

Ready to test and experiment?

Once the VCA has been calibrated, try connecting it to an oscillator and vary the control voltage while observing the output on an oscilloscope. This will help you understand how the gain changes and where the limitations of the circuit lie.

From there, try replacing the adjustable DC control voltage with an ADSR envelope generator, a low-frequency oscillator or the DAC output of a microcontroller to see how different control signals affect the amplitude of an AC signal.