Mixer-Comparator DIY Module

UPDATED FOR 2006

Mixer-Comparator frontThis 1U-wide MOTM-format utility module combines a two-input mixer with an inverter and a comparator to create a versatile signal processor. I’ll describe the circuits first, and then applications for the module. I’ll give all the details you need to build one of these.

This module was first built in December, 2002. I have updated the circuit and used a MUUB-4 PC board for the 2006 version.

THE ORIGINAL SCHEMATIC.

THE MUUB-4 2006 SCHEMATIC.

The original project description follows. Below I explain the differences in the 2006 version in detail.

Mixer

The mixer is a simple unity gain inverting summer that has two inputs, each with an attenuator pot. It provides signal attenuation, inverting, and mixing. The mixer output is normalled to the input of the comparator.

Comparator

The comparator has some hysteresis for snap. The input is compared against ground to make a zero-crossing detector, and the output signal is approximately +/-5 volts. The circuit is designed so that the output is +5v when the input is positive and -5v when the input is negative, so it’s a non-inverting comparator.

Inverter

The inverter output is available simultaneously with the mixer and comparator outputs. Its input is switchable between the output of the mixer or the comparator.

Bias pot

Bias can be applied either to the mixer input or to the comparator input, as selected by a panel switch.

APPLICATIONS

Among the many possible uses, here are a few I thought of quickly:

  1. Mix two control voltages together with optional bias offset. Many points of modulation on a typical synthesizer module have but a single VC input. You would like to combine the effects of two controllers, say two LFO’s. You can combine the two and have independent control over the level of each from 0 to 100%. Switching in the bias pot adds an initial setting control. Use the MIX OUT for an inverted mix, or the INV OUT for a non-inverting mix.
  2. Use the mixer to add full PWM control features to a MOTM-310 Micro-VCO, which has a PWM input, but no panel controls for PWM like the MOTM-300 VCO.
  3. Use the comparator to produce a pulse wave from any input source. The MOTM-380 Quad LFO provides triangle and sine waves. Patch one of these to the comparator and you have a square wave from the LFO. Switch the bias pot over to the comparator and you have a manually variable width pulse.
  4. Add the mixer into the above for a VC PWM LFO output. Patch an LFO triangle into MIX 1, a CV into MIX 2. Pulse comes out of comparator.
  5. Patch the LFO mix output from the MOTM-380 (all 4 LFOs summed) into the comparator to get a pseduo-random gate/trigger signal. Or use the SLOW output of the MOTM-101 into the comparator to get a similar effect. Patch through the mixer for additional control.

Subtle features of this design (2002)

The normal connection of the mixer to the comparator has some interesting effects. Just patch one signal into the mixer and you have something on all three outputs. The comparator will be looking at the zero-crossing of the mixer output. Let’s say you have a +/-5V triangle from an LFO patched into the mixer. Now, if the bias pot is switched to the mixer you will have a variable pulse width on the comparator out. Switch the bias pot over to the comparator and lo and behold, the duty-cycle of the pulse wave inverts. That is because of the effect of inverting the bias voltage through the mixer vs sending it straight in. In this same patch you can switch-select the inverter output to choose between a triangle and pulse wave.

Design goals and rationale

Mixers, inverters, and comparators are among the most frequently used circuits in modular synthesis. A typical module incorporates some of these internally for dedicated purposes. Synthesis Technology modules use this approach effectively. But there are times when additional flexibility is wanted. The design challenge here was to come up with a panel arrangement that would afford versatility, using only three pots and six jacks. Adding the two switches was the key, allowing the bias pot to be applied either to the mixer or to the comparator, and allowing the simultaneous inverting output to be switched between the mixer and the comparator. The mixer and comparator can be used independently, or together.

How to build it

Mixer-Comparator parts

This is a fairly easy module to build and all of the parts are available by mail order, though from a number of different sources. You need the following items:

  • A MOTM-compatible panel. You can download my Schaeffer panel design. You’ll need Front Panel Designer software to read it. Check out the Front Panel Express U.S. factory to get your free download (Windows PC only).
  • Stooge bracket, 3-pot short. See Stooge Industries bracket page.
  • Cat Girl Synth PC Board CGS23 “CV Mega Mixer” from Ken Stone.
  • Switches, pots, knobs, and other small parts, which I bought from Mouser.

You don’t have to use Ken Stone’s CV Mega Mixer board, but it’s nice if you can get it. The board etch is close enough to my circuit that you need to cut only two traces and add two jumper wires on the bottom. The pads labelled OUT 1, OUT 2, and OUT 3 correspond exactly to my Mix Out, Inv Out, and Comp Out, respectively. And it’s nice to have pads for the MTA-156 power connector. As an alternative, you could use any small proto board, such as Scott Juskiw’s MUUB-4. (Continue reading to see my MUUB-4 conversion below.)

Panel wiring (2002)

Mixer-Comparator panel wiring

I used twisted pair for the input and output wires. There are enough ground pads on the CGS23 board for the ground wire of each pair. The mixer input jacks share a ground wire to the board, and this ground is also run over to the input pots, twisted with the input signal from each jack. Power to the bias pot is supplied by wires soldered onto the ferrite beads, on the top of the board.

I had bought a quantity of 100K Spectrol pots, the same as used in Synth Tech. These have PC stems on them. You can cut and hook the stems, like the MOTM assembly guides instruct (in the rare case where a MOTM module uses one of these pots not on the PCB). Or you can “lay solder” them. Lay soldering requires a quick and a steady hand (the right and left hand, respectively). Tin the pot lead and the wire end and hold them together. Get a bit of (no-clean) solder onto your iron tip and quickly run the tip along the wires. This results in a decent solder joint if you do it fast enough that the flux doesn’t evaporate first, and if you don’t wiggle the wire until it’s cool! You then cover the joint with heat shrink. If you later want to change the pot, it’s easy to unsolder. Just my way of doing it. (Mostly because I have been known to make a wiring mistake, not because I think the pots will need changing soon.)

Op Amp Choice (2002)

I use TL072ACP op amps. These work well for audio and for the comparator circuit. Since I wasn’t absolutely sure which op amp would be the best in the end, I used DIP sockets. Another reason to use DIP sockets is that the CGS board is single sided without plated holes. This makes it almost impossible to change a chip with a desoldering tool without doing some damage to the lands.

Parts List (2002)

  • 1 Schaeffer front panel
  • 1 CGS23 CV MEGA MIXER PCB
  • 1 Stooge Bracket, 3-pot short
  • 6 Switchcraft Jacks, 112A, Mouser 502-112A
  • 3 Pots, 1/4″ shaft 100K, Spectrol 149-71104, Mouser 594-149-7104
  • 3 Knobs, Alcoswitch, Mouser 506-PKES90B1/4
  • 2 SPDT Switches, NKK, Mouser 633-M201202
  • 4 standoffs for PCB mounting (Radio Shack 276-1381)
  • 1 MTA-156 power connector, Mouser 571-6404454
  • 2 8-pin DIP sockets (optional) Mouser 575-193308
  • 2 TL072ACP Op amps, Mouser 595-TL072ACP
  • 2 22uf, 50V electrolytic capacitors, Mouser 140-XRL50V22
  • 2 EMI Shield Beads, 680 ohm @ 100 Mhz, Mouser 623-2743001112
  • 2 1K 1/4w 1% resistors Mouser 271-1K
  • 2 2K2 1/4w 1% resistors Mouser 271-2.2K
  • 1 3K9 1/4w 1% resistor Mouser 271-3.9K
  • 7 100K 1/4w 1% resistors Mouser 271-100K
  • 2 270K 1/4w 1% resistors Mouser 271-270K
  • 1 1M 1/4w 1% resistor Mouser 271-1.0M

Parts notes (2002)

The Radio Shack insulated standoffs I use ( 276-1381) come with mounting screws. I use them for a lot of my special board mounting applications.

I used a large 3/8″ flat washer between the panel face and the pot nut. For lockwashers on the backs of the jacks, I used a large 3/8″ lockwasher. They work OK, but are not as nice as the special purpose ones that come with MOTM kits. You may be able to special order lockwashers from Paul Schreiber.

The 2006 version on MUUB-4 board

Mixer-Comparator MUUB-4 board

I decided to rebuild with the MUUB-4 board for two reasons: I wanted to make feature changes, and I also took the opportunity to improve the quality of the circuit.

FEATURE CHANGES

It seemed a bit odd that the mix output was inverted and the inverter output gave the non-inverted mix. Now the mix output is non-inverted, and the inverted output is inverted. What a concept! To accomplish this with two dual op amps I sacrificed the ability to invert the comparator output. But another new feature is gained: the output of the comparator mixer can be chosen as the output from the inverter. So now the comparator section can be used as an analog inverter, with bias. You can get this output simultaneously with the comparator output. The new schematic makes all this clear. In the new version I decided not to make a jack-normal connection from the mixer output to the comparator input. It is a bit confusing, and I did not want the comparator to be introducing any noise when not in use. Instead the comparator input is normalled to ground. It doesn’t matter that U2 pin 1 is at zero volts with no input, because hysteresis in the comparator keeps the output latched up or down.

QUALITY CHANGES

Improvements were made to the quality of the circuit, starting with the MUUB-4 PC board. It has a ground plane and bypass capacitors for each chip. This time around I used 1% resistors throughout. There was a place for 22pf transient-supressing caps in the feedback loops of the op amps, as well as a place for a few extra resistors. I redesigned the comparator output section to match what I have standardized on for pulse outputs. I used 10uf instead of 22uf filter caps to reduce power supply startup current in the synthesizer. The biggest change was the use of the OP275 op amp for the mixer section. The op amps are now soldered into the board.

NEW PARTS LIST

  • 1 Schaeffer front panel
  • 1 MUUB-4 board PCB
  • 1 Stooge Bracket, 3-pot short
  • 6 Switchcraft Jacks, 112A, Mouser 502-112A
  • 3 Pots, 1/4″ shaft 100K, Spectrol 149-71104, Mouser 594-149-7104
  • 3 Knobs, Alcoswitch, Mouser 506-PKES90B1/4
  • 2 SPDT Switches, NKK, Mouser 633-M201202
  • 2 1/4″ standoffs for PCB mounting
  • 2 6-32 x 1/2″ machine screws with hex nuts
  • 1 MTA-156 power connector, Mouser 571-6404454
  • 1 TL072ACP Op amp, Mouser 595-TL072ACP
  • 1 OP275GP Op amp, Allied 630-9295
  • 3 22pf C0G caps, Mouser 80-C410C220J1G
  • 4 1nf bypass caps, Mouser 581-SA105E104M
  • 2 10uf, 25V electrolytic capacitors, Mouser 647-UVR1E100MDA
  • 2 EMI Shield Beads, 680 ohm @ 100 Mhz, Mouser 623-2743001112
  • 3 1K 1/4w 1% resistors Mouser 271-1K
  • 1 1K8 1/4w 1% resistor Mouser 271-1.8K
  • 1 2K2 1/4w 1% resistor Mouser 271-2.2K
  • 1 3K3 1/4w 1% resistor Mouser 271-3.3K
  • 1 33K 1/4w 1% resistor Mouser 271-33K
  • 1 47K 1/4w 1% resistor Mouser 271-47K
  • 1 49K9 1/4w 1% resistor Mouser 271-49.9K
  • 7 100K 1/4w 1% resistors Mouser 271-100K
  • 2 270K 1/4w 1% resistors Mouser 271-270K
  • 1 2M2 1/4w 1% resistor Mouser 271-2.2M

Mixer-Comparator MUUB

CONSTRUCTION TIPS

Make sure to include these jumpers on the MUUB-4 board.

  • Jumpers at RA13, RB13, RC13, and RD13 to ground
  • Jumpers to short CA1, CB1, CC1
  • Jumper U1 pin 1 to RB1 (input to the inverter – a long wire in the picture)
  • Jumper U2 pin 1 to U2 pin 6 (input to the comparator – a long wire in the picture)

No drilling is needed on the Stooge bracket. The MUUB-4 mounting holes line up perfectly! You will want the bias pot out of the panel when mounting the PC board, because the front mounting screw is very close to the front panel.

Leave a Reply

Please use your real name instead of your company name or keyword spam.