A topic that's been raised a few times now is a matrix mixer. So, you may well ask, what's a matrix mixer when it's at home? The ideal is that you have a number of inputs (typically from 3 to 16), and a number of outputs - there may be more (uncommon) or fewer (much more common) outputs as there are inputs. An array of pots allows you to mix the output of any input channel into any output channel, allowing anything from (say) 6 in to 1 out to 6 in to 6 out. Matrix mixers are also known as crosspoint attenuators in some cases.
As an example, output 1 might be set to have only the signal from input 3, while the outer outputs have a mixture of any two or more inputs. Naturally, it can be set so that each output contains only the signal from its corresponding input, but this is not the way such a mixer is generally used.
Example Of A 6 x 6 Matrix Mixer
While it would seem that this would require a lot of circuitry, in reality the circuit is remarkably straightforward. There is more repetition than actual complexity. Because inputs and outputs are arranged in a matrix, it's only necessary to provide a level control (a pot, usually rotary) that allows any input (or number of inputs) to be mixed into any output (or number of outputs). The general scheme is shown in Figure 1, and as you can see there really isn't a lot involved. There are a lot of pots though, depending on your requirements.
As you can see, there are lots of pots, and it is very likely that the pots and knobs will be the most expensive part of the project. Although each input and output is shown directly connected, this isn't the way it's done in practice. All inputs must be buffered with an opamp that has enough output capability to drive all the pots for that row (or column, depending on how you arrange it), and the outputs need to be fed into a proper mixing stage. These will be described in more detail below. All pots should be 100k linear (not log!), and mixing resistors are 15k as shown.
One common use for matrix mixers is to provide foldback for the players on stage, but there are many other instances where you might wish to mix a number of source signals into several different mixes. Matrix mixers are also used in some synthesiser designs, either for control voltages or audio signals. The unit featured here is strictly audio. The uses for a matrix mixer are many and varied, and if you need one, you only have two choices - buy one that provides the functionality the manufacturer thinks you need, or build one with the functionality you actually need.
Inputs and outputs can be used for anything you like. Add headphone amps and you have as many headphone outputs as you need, each with its own mix. You can include a switch (or individual push-buttons) to allow you to monitor each output independently - the possibilities are endless. The matrix does not need to be "square" as shown (same number of inputs and outputs), and you can have as many inputs and as few outputs (or vice versa) as you need.
The ultimate limitation is the load presented to the input buffer amplifiers, and the noise gain of the mixers. These topics are covered in detail below.
Another use for matrix mixers is for mixing control voltages (for example 0-10V lighting controls or synthesiser control voltages), but as shown this unit is strictly for audio. While it would be possible to make it completely DC coupled, this is of little use for the vast majority of applications. DC operation causes problems if even small DC voltages are present across any pot(s), as it makes them sound "scratchy", so the present unit is designed for audio only.
Description The driver/buffer and mixer stages are based on the P94 Universal Preamp/ Mixer board (see Project 94 for specific details). Essentially, each input is an inverting buffer, and as shown each has a gain of 2 (6dB). This increases the level, so helps to keep the signal to noise ratio better than it might be otherwise. It is important that the signal remains well below clipping level at all times, so higher gain is not recommended unless you are certain that the applied signal can never exceed that voltage which will cause the buffers to clip.
The other consideration is the load on the opamp. Many popular opamps can't drive a load less than around 2k before the maximum output level is reduced and distortion increased. Opamps such as the NE5532 or OPA2134 can both drive 600 ohms at more than ±10V peak, and either of these is almost essential for the input buffer stages. If we allow a sensible safety margin and limit the maximum load to ~1k, either opamp can drive about 12 sets of pots (12 outputs), allowing for the worst case where all pots are set to maximum level.
The general arrangement for an input buffer is shown below. You need as many of these as you have inputs, so a six input matrix requires six input/ driver stages. This is the first section of the P94 board, with the second section being optional. It's not strictly necessary, but without the inverter stage the whole mixer will be inverting. Contrary to popular belief, this generally doesn't matter, but it can cause problems if the matrix mixer is used in conjunction with a normal mixing desk. In general, it's better to ensure that mixers are non-inverting.
The schematic above shows the component designators for the P94 board. Parts showed greyed out are not used. The connections for the treble control (T1, T2 and T3) are bridged together, and C104/205 (second channel) are replaced with wire links. All other component locations must be left vacant.
The same opamps are also recommended for the mixers, because they are very quiet. There are quieter opamps, but the NE5532 is ideally suited here, because the effective input impedance may be quite low. Low impedances suit bipolar transistor input opamps best, so be wary of "low noise" FET input opamps. With all pots for an output set to maximum (or minimum), the input resistance may be as low as 2.5k, so the opamp will have a worst case noise gain of 6 with the configuration and values shown.
For those who don't know the term, noise gain is the gain the stage has for its own internal noise, plus any thermal noise from external resistors. In the case of a mixer stage, it's very easy to have a noise gain of 10 or more, but a signal gain of less than unity. This degrades S/N ratio rather badly, because the opamp has much higher gain for the noise voltage than it has for the signal. For this reason, it's normal to operate any mixer at the highest practicable level, and a matrix mixer is no exception.
Note that with the output level control shown, output impedance is comparatively high, and is not suitable for driving long signal cables. If this is a requirement, then you will need to add buffer stages to all outputs, after the final master volume control. These could be the ESP Dual Balanced Transmitter circuits (Project 84) if balanced outputs are desired. In some cases, the outputs will be used solely to drive headphones, in which case the ESP headphone amp (Project 113) is a good choice. Otherwise, The first stage only (U1 and associated components) of the p94 board can be used for the output buffers as well. If you do use this arrangement, leave out R117/217 (after the master volume pot) or it will be duplicated by the input resistor on the P94 stage.
You will also need a power supply, which may need to be quite robust depending on the size of the mixer. Excluding any balanced outputs or line drivers, a 6 x 6 matrix as shown here will draw up to 90mA at ±15V, assuming 5mA for each opamp (10mA for each package). Each input section uses one opamp (half of each of the 2 opamps), and each basic output stage uses half an opamp. This can be supplied using the Project 05 power supply, with generous heatsinks on the regulators.
Construction Construction without the PCBs is not really recommended because of the number of stages needed. Without the boards, there is a very high risk of problems caused by wiring mistakes, but the boards make the unit somewhat modular, and faultfinding is much easier should something go awry during construction.
The next drawing shows the way that the busses can be connected. This is an example only, so if you have a preferred way to do it, then by all means do so. Note that the earth wiring (GND, shown in green) should be connected (soldered) to each pot body if at all possible. This ensures that the busses are held firmly, but just as importantly, provides a solid earth connection to each pot in the matrix. Mix busses ideally need to be kept away from the chassis to minimise stray capacitance. Even a small amount of stray capacitance can cause the mixer opamps to have significant treble boost at high frequencies, possibly leading to instability or greatly increased noise and distortion. The extra cap added to the mixer will prevent most problems, but good wiring practice is essential regardless.
If the mix busses require additional support, this can be provided by using cable ties and suitable pieces of insulation as required. For example, if a short length of heatshrink tubing is placed over each 15k resistor, these may then be cable-tied to either the earth bus or the input bus. Remember that all busses need to be strong enough to survive the kind of usage that the mixer will suffer in normal life. There is no place for flimsy construction that may be alright in the studio, but fails on its first field trip.
Figure 4 - How To Wire Busses To Pots
One trick that's worth knowing ... how to make a length of tinned copper wire perfectly straight, with no bends or wrinkles. Cut the length you need for a bus, plus about 50mm extra. Hold one end in a vise, and the other with a pair of pliers, and give the wire a short, sharp pull. This stretches the wire slightly, and leaves it nice and straight so it looks neat when placed into position. The ends that were held will be damaged, so these bits are cut off before you install the bus.