DIY EDU Output Schematic
DIY EDU Output Schematic
Let’s take a look at the mki x es.edu Output Mixer schematics (see next page)! Most
components on the production schematics have denominations (a name – like R1, C1, VT1,
VD1, etc.) and values next to them. Denominations help identify each component on the
PCB, which is particularly useful during calibration, modification or troubleshooting. The
Input stages are built around opamps DA1A and DA1B followed by the Panning stage
around potentiometers R3 and R4 and finally signal passes to the Output amplifier. XS1
and XS2 are input jack sockets – these are the very same we’ve already been using on the
breadboard for interfacing with other devices. In our designs, we use eurorack standard
3,5mm jack sockets (part number WQP-PJ301M-12). These sockets come with three lugs
– a connector lug to which the tip of the patch cable is connected (and respectively, the
audio or CV signal is applied), a ground lug which connects the patch cable to circuit
ground and a switching lug. The switching lug is normally connected to the connector lug,
but as soon you insert a patch cable into the socket, it gets disconnected from the
connector lug. This is very handy for grounding inputs when nothing is patched into them.
If the input is not grounded, some tiny current may bleed into the module, which can result
in audible noise or CV fluctuations.
XS3 and XS4 are output jack sockets and they are TRS (Tip-Ring-Sleeve) stereo sockets
for use with TRS jacks.
XP1 is a standard eurorack power connector. It’s a 2x5 male pin header with a key
(the black plastic shroud around the pins) to prevent accidental reverse polarity power
supply connection. This is necessary because connecting the power incorrectly will
permanently damage the module.
VD2 and VD3 are schottky diodes that double-secure the reverse polarity power supply
protection. Diodes pass current only in one direction. Because the anode of VD1 is
connected to +12 V on our power header, it’ll only conduct if the connector is plugged in
correctly. If a negative voltage is accidentally applied to the anode of VD1, it closes, and no
current passes through. The same goes for VD2, which is connected to -12 V. Because
schottky diodes have a low forward voltage drop, they are the most efficient choice for
applications like this.
1
Next, we have two 10 Ohm resistors (R5 and R6) on the + and – 12 V rails, with decoupling
(or bypass-) capacitors C2 – C5. These capacitors serve as energy reservoirs that keep the
module’s internal supply voltages stable in case there are any fluctuations in the power
supply of the entire modular system. In combination with R5 and R6, the large 47
microfarads pair (C2 and C3) compensates for low frequency fluctuations, while C4 and C5
filter out radio frequencies, high frequency spikes from switching power supplies and quick
spikes created by other modules. Often another component – a ferrite bead – is used
instead of a 10 Ohm resistor, and there’s no clear consensus among electronic designers
which works best, but generally, for analogue modules that work mostly in the audio
frequency range (as opposed to digital ones that use microcontrollers running at 8 MHz
frequencies and above), resistors are considered to be superior.
Another advantage of 10 Ohm resistors is that they will act like slow “fuses” in case there’s
an accidental short circuit somewhere on the PCB, or an integrated circuit (IC) is inserted
backwards into a DIP socket. The resistor will get hot, smoke, and finally break the
connection. Even though they aren’t really fuses, just having them there as fuse substitutes
is pretty useful - you’d rather lose a cent on a destroyed resistor than a few euros on
destroyed ICs.
Capacitors C6 – C9 are additional decoupling capacitors. If you inspect the PCB, you’ll see
that these are placed as close to the power supply pins of the ICs as possible. For
well- designed larger PCBs you will find decoupling capacitors next to each IC. Like the
others, their job is to simply compensate for any unwanted noise in the supply rails. If the
input voltage drops, then these capacitors will be able to bridge the gap to keep the
voltage at the IC stable. And vice-versa - if the voltage increases, then they’ll be able to
absorb the excess energy trying to flow through to the IC, which again keeps the voltage
stable. Typically, 0.1 uF capacitors are used for this purpose.
2
3
Input stage
Sometimes a signal source (another module, for example, connected to the input of this
module) has some DC voltage at the output. This voltage, additionally amplified, can induce
undesired clipping even at low signal amplitudes. Thanks to capacitor C1, this stage only
amplifies AC voltage.
Capacitor impedance should be low compared to R9 in the audio frequency range. The
1
frequency at which both impedance ( 9 and 2 1) modules are equal is the corner frequen-
cy. At this frequency, gain decreases times (or -3dB) compared to the middle
1
band. In our case the corner frequency is = 2 1 9
= 1,59 . This seems very low
compared to the lowest audible frequencies, but in the total signal chain there can be
several such modules and the attenuation at the lowest frequency multiplies.
One given circuit at 8Hz creates attenuation 0,9808 times (-0,169dB). But 10 such circuits
in series – already 0,823 times (-1,69dB).
In the next two graphs, each stage has corner frequencies: for High-Pass = 16 and for
Low-Pass = 16 :
The next graphs shows an original triangle signal (20Hz) and what happens to it when passing
through 1 and 10 stages with the previously indicated corner frequencies (16Hz and 16kHz).
Non-inverting Inverting
Circuit
Examples of amplifiers:
Non-inverting Inverting
Circuit
5
How panning works
We have two signal sources and two outputs. This circuit allows you to freely manage
the amount of each input signal going into one or the other output. The first stages are
simple amplifiers - DA1A (gain is R11/R9=2) to compensate for losses in the following
panning network. After the panning circuit, there is an op-amp - DA2A - which works as a
current-to-voltage converter.
Let’s go through some rules for ideal op-amp operation (in most cases it is enough with
these to understand how a real circuit works):
1. Voltage on both inputs is equal.
2. Differential gain is infinitely large (that means – only the voltage difference between
inputs is amplified).
3. Input impedance for both inputs is infinitely large (that means – there is no input current).
4. Output impedance is = 0 (the amp works like an ideal voltage source).
In our case, the circuit which provides the input current is the panning circuit. Because
the inverting input of DA2A is “grounded”, we can assume that the currents trough R18 and
R17 go to ground. Let’s calculate them.
6
The input voltage for this circuit is the output voltage of DA1A (we can measure it at
test point TP1). The potentiometer R3 slider is grounded. So actually there are two
resistances (R3B and R3A), the values of which are dependant on the slider position. Let’s
characterise the slider positions with values ranging from
In the left position
In the middle position (shown in picture).
In the right position
Already in this moment it is clear: in the left position and in the right position
qqqqqqibecause in each case, point A or B is grounded.
Before we get current values, let’s calculate the voltages at points A and B. To make this
easier, let’s replace parallel-connected resistors with singles:
Thus:
The denominator in each equation is equivalent to the resistance of the circuit. For current
1111it becomes at (that means – current 0). And for current it becomes
1111 at
The next figure shows the relative values of currents depending on slider position k:
7
Output amplifier
This module can drive headphones with a variety of impedances – from 16Ω to some tens or
even hundreds of ohms. The recommended load impedance of most op-amps, however, is
2kΩ and higher. We therefore need to improve the capability to source/sink higher currents.
The graph to the right shows the capability of the popular op-amp TL071 for driving
different loads. The input voltage is +10V and the follower circuit should be set at the same
+10V at the output. The given op-amp, however, can only source about 26mA. Correct
operation therefore happens only when
Of course, real examples of the TL071 can have different curves – this is to illustrate the trend.
There is another aspect to how a low impedance load degrades the op-amp’s characteristics:
heavy (low impedance) load decreases the open-loop gain. That applies both to a single
transistor amplifier and to complex circuits like an op-amp.
In the next example, the gain is set to an unreal value - 1.000.000.000 times (180dB),
therefore, the real gain in set by the op-amp itself:
8
Every op-amp feels fine with a 10kΩ load. For TL071, also 1kΩ is good. But with 100Ω and
10Ω loads, the open loop gain lowers for 4dB and 30dB (4 and 32 times). But lower open
loop gain means:
• The actual gain is lower like set by the feedback circuit,
• non-linear distortions (caused by the op-amp itself) are not so deeply pressed-down
(compensated) by the feedback.
9
Bad things for the given circuit: it works only with positive voltages, starting from 0,7V.
And complementary pair already have a -0,7…+0,7V “dead” zone:
Now let’s add such a pair to the op-amp output. Note – the feedback signal comes from the
emitters, not from the op-amp output.
Now the voltage transfer curve is straight, without a “dead zone”. But this is a DC transfer curve
Let’s look at what happens with an audio signal (sine with 100Hz and 10kHz frequency).
And in this case the circuit has non-inverting gain=
10
The op-amp output voltage is represented by the pink curve, load voltage 11111– by
the blue one.
Note that is always more positive or negative than – up to the value of
When an op-amp voltage goes through the “dead zone” (between points A and B), the
amplifier loses feedback signal – it quickly changes to the opposite value. How quickly
and how it affects load voltage – depends on the “slew rate” parameter of the given type.
For At 100Hz the switchover happens quickly enough – we can’t see any
distortions. But at 10kHz, these so called “crossover distortions” are clearly visible.
A method to minimise this type of distortion used in this module is only one of many known.
Diodes VD7,VD8 keep both transistor BE junctions close to an open state (approx. 0,65V on
each junction).
With given values of resistors the quiescent current (it flows from +12 through both
transistors to -12V). It is small enough to avoid overheating and large enough to keep the
transistors ready to work. Try to shorten the diodes and hear the result on the output!
11
The graph shows voltages at different amplifier points at 2Vpp SINE 10kHz at the input and
very low - 10Ω load resistance. Voltage on the load is exactly 2Vpp and without visible
crossover distortions. Difference between op-amp output and load voltages is the voltage
drop on (when positive) or on (when negative). In a real circuit there is an additional series
resistor used to limit headphone power and protect your ears.
How large a voltage on load without distortions can this amp provide?
There are many different signal levels defined. In our case two are significant:
• Professional audio line level
• Many Eurorack modules working with a larger output level around This also
applies to the EDU series modules.
Total gain of a given module to the Line output (at Level=max, Panning=max and input
impedance of connected next unit is 47kΩ) can be calculated as , where
the resistances unit is kΩ.
So at and we get
In both cases you maybe need to change R35 to adapt to the loudness of headphones used.
12
Module input/output protection
There are some elements (diodes and resistors) at the input and output of module which
don’t impact signal during normal operation. But they are responsible for a very important
thing – protection. More specifically, protection against overvoltage created by electrostatic
discharges (ESD), against wrong connections etc. In everyday life we touch different
materials. During this mechanical contact (friction) we collect or give free electrons from/to
this surface. So we collect some charge and actually get positive or negative potential
(relative to earth or zero potential).
To test the ability of different devices to withstand ESD different models are used. Among
others – Human Body Model (HBM) which consists of 100pF capacitance and 1500Ω series
resistance. During the test this capacitor is charged up to some voltage (in the range of kV)
and after that – connected to the device under test. Let’s suppose we collect positive 20kV
potential, take a jumper cable and connect it in to IN1 socket.
Some part of our charge leaks directly to the case which usually is grounded. The rest of
the charge finds a way through the resistor R7 and diode VD5 (because we are positive).
So, the voltage on the level potentiometer (and op-amp input) for only some microseconds
reaches +12,7V without causing any further damage.
But there R36 has one more feature. Most op-amps don’t like a capacitive load. For example
– you connect a module’s output to your power amplifier using a 10m long screened audio
cable. They have quite high capacitance – up to 200pF/m. So you attach 2000pF
capacitance to module output. Because of the op-amp’s limited current drive capability (or
in other words – because of non-zero output impedance), voltage on load gets an additional
phase shift which finally can cause an overshoot or “ringing” in the step response or even
oscillations in the worst case. In the given module, R31 and R36 effectively prevent this
from happening.
13
One more thing relating input/output capacitors – the side which is connected to the
“outer world” should be grounded. In the example input circuit this happens twice:
• Through the normally grounded input socket contact
• Through the yellow resistor (it resistance can be 1MΩ).
Without such measures, the following happens: Protecting diodes have some leakage
current of around 1nA and both currents are somewhat different. Let’s suppose they are
0,9nA and 1,1nA. This difference (0,2nA) will slowly charge capacitor C1. After a few minutes
C1 will reach a positive or negative supply voltage.
When the input is connected to a low impedance output of another module, the left side of
C1 is grounded, but the right side gives a 12V impulse to following op-amp. Consequently,
we get a loud, audible click from the speakers.
14
Before you start soldering, we highly recommend printing out these part placement
diagrams with designators and values. Because some of our PCBs are rather densely
populated, this will help you to avoid mistakes in the build process.
15
Place the Output Mixer PCB in a PCB
holder for soldering or simply on top of
some spacers (I use two empty solder wire
coils here).
16
Next, insert the first DIP socket, hold it in
place and solder one of the pins. Continue
with the next DIP socket. Make sure the
DIP sockets are oriented correctly – the
notch on the socket should match the
notch on the PCB’s silkscreen. Now, turn
the PCB around and solder all remaining
pins of the DIP sockets. Then proceed
with the ceramic capacitors. Place the
PCB in your PCB holder or on spacers,
insert the capacitors and solder them like
you did with the resistors & diodes before.
Now, your PCB should look like this.
In order to save space on the PCB, some of our projects, including the Output Mixer,
have vertically placed resistors. So the next step is to place & solder those. Bend a
resistor’s legs so that its body is aligned with both legs and insert it in its designated
spot. Then solder the longer lead from the top side of the PCB to secure it in place, turn
the PCB around and solder the other lead from the bottom. You can insert several
resistors at once. Once done with soldering, use pliers to cut off excess leads.
17
Once you are done with soldering all
resistors, your PCB should look like this.
Next up: inserting & soldering the transistors. In total we have 4 transistors in TO-126
package – 2x NPN BD139 and 2x PNP BD140. These transistors are commonly used in
power amplifiers, and they have a hole in a middle to fix them to heatsinks because they
tend to overheat, when operating at critical conditions. Our headphone amplifier does
not push transistors to extremes, so we do not use heatsinks. Make sure you place the
transistors in their designated spots according to a pinout – orientation is critically
important here.
18
Once done, your PCB should look like this
19
Also, solder two large film capacitors.
They are not polarized, so orientation is
not critical. Now your PCB should look like
this.
20
Now, turn the PCB around and inspect
your solder joints. Make sure all
components are soldered properly and
there are no cold solder joints or
accidental shorts. Clean the PCB to
remove extra flux, if necessary.
21
Insert the potentiometers, but don’t
solder them yet! Fit the front panel and
make sure that the potentiometers’ shafts
are aligned with the holes in the panel –
and that they’re able to rotate freely. Now,
go ahead and solder the potentiometers.
22
Now, insert the ICs into their respective
DIP sockets. Mind the orientation of the
ICs – match the notch on each IC with the
one on its socket.
Congratulations! You have completed the assembly of the mki x es.edu Output Mixer
module! Now connect it to your eurorack power supply and switch it on. If there’s no
“magic smoke“, it’s a good sign that your build was successful. Connect a VCO’s SAW
output to IN1, and PULSE output to IN2. Plug the headphones in the relevant output,
increase LEVEL and monitor sound. Rotate the PAN knobs and check is sound moves
from the left to the right. If it does, your build is successful. The module needs no
calibration and will work straight away.
23
SOLDERING APPENDIX
If you’ve never soldered before – or if your skills have become rusty – it’s probably wise
to check out some THT (through-hole technology) soldering tutorials on YouTube.
The main thing you have to remember while soldering is that melted solder will flow
towards higher temperature areas. So you need to make sure you apply equal heat to
the component you are soldering and the solder pad on the PCB. The pad will typically
absorb more heat (especially ground-connected pads which have more thermal mass),
so keep your soldering iron closer to the pad on the PCB. It’s critically important to dial
in the right temperature on your soldering station. I found that about 320 °C is the opti-
mal temperature for most of parts, while for larger elements like potentiometers and
sockets, you may want to increase that temperature to 370 °C.
1 2 3 4
24
DIY electronics is a great (and quite addictive) hobby, therefore we highly recommend you
invest in good tools. In order to really enjoy soldering, you’ll need:
25
A solder suction pump. No matter how
refined your soldering skills are, you will
make mistakes. So when you’ll inevitably
need to de-solder components, you will
also need to remove any remaining solder
from the solder pads in order to insert new
components.
All of these tools can be found on major electronic components retailer websites, like
Mouser, Farnell and at your local electronics shops. As you work your way towards
more and more advanced projects, you’ll need to expand your skillset and your tool belt
– but the gratification will be much greater.
– Johnny Depp
26