Quad Logic Gate
for music synthesizers.


 

The previous versions can be found here.

The Quad Logic Gate is a very simple module that can be built in one of five flavors : XOR, OR, AND, NOR and NAND. It is a simple way to gain additional control of gate and trigger pulses within a system. It can also be used for some simple signal multiplying. The XOR is well known as a square wave "ring modulator", though interesting effects can also be generated using the other configurations. Each gate has an in-built LED to indicate the status of the output of that gate.

With some chip types, it is also possible to have some of the gates presented on the panel as basic inverters. For XOR and NOR gates, tie the disused input of that gate to 0V. For NAND gates, tie the disused input of that gate to +15V. It is not possible to create inverters with AND and OR gates.

A little on how it works:


Click here for the Schematic

Each input is configured to detect a voltage over approx. 2 volts. When this voltage is reached, a logic HIGH is presented to the corresponding gate input. The output will react to what is present at the inputs, and the result, depending on the gate chip used, is buffered by the emitter follower, and used to drive the LED and output jack.

4001
NOR
IN aIN bOUT
001
010
100
110
4011, 4093
NAND
IN aIN bOUT
001
011
101
110
4071
OR
IN aIN bOUT
000
011
101
111
4081
AND
IN aIN bOUT
000
010
100
111
4030, 4070
XOR
IN aIN bOUT
000
011
101
110
Truth tables for the different logic gates that can be used in this circuit.

Construction


The component overlay. Connections can be determined from the circuit diagram.

300DPI printable overlay

Due to a manufacturing error, the overlay on one version of these PCBs has become cluttered. Print out the above file to assist with assembly.

Before you start assembly, check the board for etching faults. Look for any shorts between tracks, or open circuits due to over etching. Take this opportunity to sand the edges of the board if needed, removing any splinters or rough edges.

When you are happy with the printed circuit board, construction can proceed as normal, starting with the resistors first, followed by the IC socket if used, then moving onto the taller components.

Take particular care with the orientation of the polarized components such as electrolytics, diodes, transistors and ICs.

When inserting ICs into sockets, take care not to accidentally bend any of the pins under the chip. Also, make sure the notch on the chip is aligned with the notch marked on the PCB overlay.

In this case I recommend using a socket for the CMOS chip, as this will allow different chips to be substituted for the purpose of experimentation.

Valid choices are:

  • 4030 or 4070: XOR
  • 4001: NOR
  • 4011 or 4093: NAND
  • 4071: OR
  • 4081: AND

There are four LED resistors, marked RL. The value of these is determined by the type of LED you have chosen. Try out your LED with various resistors before assembling the board. If you are using common LEDs, 1k to 2k2 would be appropriate. If you are using any of the super-bright modern LEDs for their unique colors, the resistors can be much higher, 10k to 33k for example, so that the LEDs don't dazzle you.

There are five 100n decoupling capacitors. These can be 1206 SMT or regular capacitors. The one on the logic chip must be mounted on the rear of the PCB regardless of the chosen type.

Notes:

  • While untested, the module should work on 12 volts.
  • A 10 to 22 ohm resistor can be used instead of the ferrite bead. If you don't care about power-rail noise, just use a link instead.
  • PCB info: 6" x 1" with 3mm mounting holes 0.15" in from the edges.
  • Please email me if you find any errors.

PartQuantity
Capacitors
100n (can be SMT1206)5
10uF 25V 2
Resistors
1k4
1k84
RL See text4
10k8
15k2
100k26
Semi's
BC547 or sim.4
CMOS Logic chip1
TL0742
Misc.
Ferrite Bead (or 10R resistor)2
0.156 4 pin connector1
CGS39V2 PCB1

Parts list

This is a guide only. Parts needed will vary with individual constructor's needs.

If anyone is interested in buying these boards, please check the PCBs for Sale page to see if I have any in stock.

Can't find the parts? See the parts FAQ to see if I've already answered the question. Also see the CGS Synth discussion group.
 

Article, art & design copyright 2001 by Ken Stone

Modular Synth Home

Disclaimer