Pulse Divider


Pulse Divider and Boolean Logic
for music synthesizers.


 

The previous versions can be found here.

This module consists of several parts, a pulse divider with integer divisions between 2 and 8, and several logic elements. The divider is used to generate interrelated pulses for use in creating poly-rhythms, and unusual sequences. It can also be run at audio frequencies as a sub-oscillator/sub harmonic generator. The output pulse from each division is one clock cycle in length, and the relationship between pulses is fixed. Specifically, the /4 output will correspond to every second pulse from the /2 output. Likewise, the /8 will correspond to every second pulse from the /4 output, and the /6 will correspond to every second pulse from the /3 output. Needless to say, the /2 and /3 groups are not related to each other, or to the /5 or /7 outputs. All however share a common external reset, so they can be synchronized. All outputs go high on reset.

As well as the pulse divider, there are also five boolean logic elements. Two are basic inverters. If you apply a LOW (e.g. a gate output in its OFF state) they will give a HIGH (gate ON) output, and vice versa. The OR gate has two inputs, and gives a HIGH whenever one or both inputs are HIGH. The AND gate has two inputs, and gives a HIGH only when both inputs are HIGH. The fifth is an exclusive OR gate (XOR), giving a LOW when both inputs are within 1.2 volts of each other, and a HIGH when they are not. The OR, AND and XOR also offer inverted outputs, giving the option of using them as NOR, NAND and XNOR gates. Unlike the Analog Logic module, these are for processing gate, trigger and clock signals, although the XOR gate can accept linear inputs as well.

Some ideas on how to use this module:

Feed a clock signal into the input of the pulse divider. The divided signal is available simultaneously for each output. If running at audio frequencies, feed some of these to a mixer or other signal processing device. If running at low speed, try driving two different sequencers at the same time from different divisions.

Try feeding the /8 output into the reset - this will force all to synchronize to a /7 count, with the lesser divisions becoming "syncopated".

The AND gate could be used to control a clock signal. If the second input is LOW, no clock signal passes. If the second input is high, the signal passes unimpeded. Of course, there are a lot more things that can be done with the logic gates. For example, the /6 and /7 outputs could be ANDed together, and that would give a pulse every 6 x 7 (42) clock pulses (i.e. 1 pulse immediately the pulse divider is reset, and the second 42 pulses after that etc.).

A little on how it works:


The clock and reset signals are processed by the TL072. The reset is sensitive to rising edges only, meaning that a continuous gate signal would initially reset the dividers, then allow the module to continue counting. The Reset button on the other hand is wired so that holding it in will stop all counting, and hold all outputs high for as long as the button is held.

Following the input processor are four 4017 decade counters wired to give the various divisions. Where possible, sub-divisions have been taken from the same chip, with the various pulses being ORed together by diodes. Each output is buffered by an emitter follower. Many different types of small signal or switching transistors (e.g. BC547) can be used here without affecting the performance.

The boolean logic are simple discrete R/DTL designs. When either input of the OR gate receives a voltage high enough, the first transistor is switched on, pulling the base of the second transistor low, and thus turning it on as well. This results in the output being pulled up to the voltage governed by the resistor divider. In the case of the AND gate, both input transistors must be turned on before the output transistor can be turned on, as the input transistors are in series with each other. The inverters are basically just the same as the first stage of the OR gate, with the exception of there being only one input.

Further explanation of how the Exclusive OR gate works can be found here.

Construction


The component overlay. Click here for an enlarged printable version.

VER1.4 PCBs have the upper part of the output dividers marked as RA, RB, RC, RD and RE on the PCB. These resistors are 1k8 for +/-15V operation and 1k5 for +/-12 volt operation. Check your output voltages when you have assembled them. Ideally the voltages will swing between 0 volts and +5 volts. Some small variance either way is nothing to be concerned about.

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 and other low profile components such as diodes first, followed by IC sockets if used, then moving onto the taller components.

At this point, if surface mount capacitors have been specified, turn the board over and add these now. It is not difficult to solder these onto the board with a regular soldering iron. First put a small amount of solder on one pad. Place the component between the two pads, one end resting on the solder you just put there. Press the component down with your finger nail or a small tool, and briefly reapply heat to the solder. The part will sink into it and remain held there. Solder the other end of the component to its pad. Re solder the first pad to make sure you have a good connection.

If you are unable to use the surface mount devices, you could use small ceramic monoblock capacitors instead, soldering them directly to the associated IC's power pins on the solder side of the PCB, or the appropriate pad in the case of transistors/capacitors.

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

When inserting ICs in their 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.

PAD IDFunction
0V0V connection for all LED cathodes, jack sleeve connections etc.
-VE-VE (Test point only)
+VE+VE to Reset push button.
CLKClock input
RSBOptional Reset button
RSTReset input
LxLED anode for div by x
/xdiv by x output
IIInverter 1 input
IOInverter 1 output
ILInverter 1 LED anode
JIInverter 2 input
JOInverter 2 output
JLInverter 2 LED anode
RLOR gate LED anode
RIOR gate input
ROOR gate output
RNTest point/not used
ALAND gate LED anode
AIAND gate input
AOAND gate output
ANTest point/not used
XIXOR/XNOR gate input
XOXOR gate output
XLXOR gate LED anode
NOXNOR gate output
NLXNOR gate LED anode

PartQuantity
Capacitors
100n 1206 SMD/SMT12
10n1
10uF 25V 2
Resistors
1k19
10k10
15k1
100k23
4M72
RLED 10k (see text)13
RA 1k8 (see text)7
RB 1k8 (see text)2
RC 1k8 (see text)2
RD 1k8 (see text)2
RE 1k8 (see text)2
Semi's
LED13
1N414829
TL0721
CD40174
BC54712
BC5572
Misc.
Ferrite Bead2
0.156 4 pin connector1
cgs36 VER1.4 PCB1

Notes:

  • Make sure you use a standard 4000 series CMOS, not 74XXX4000 series, e.g. CD4017, MC14017, HEF4017.
    Markings such as HC4017, HCT4017 imply 74HC4017 and 74HCT4017 and are unsuitable. MC4017 is also unsuitable.
  • This module will work on +/-12 volts. See the text for resistor value changes.
  • PCB info: 6" x 2" with 3mm mounting holes 0.15" in from the edges.
  • Please email me if you find any errors.

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