CGS sequential switch

Revision as of 23:56, 22 October 2021 by RVRTNN (talk | contribs) (→‎Notes)
Jump to navigation Jump to search

CGS28 the CGS sequential switch is a "core" module for sequencer type work. In its simplest form, it can be used to select between different signal or CV sources. With a simple pot-based front end and an external clocking LFO, it can be made to function as a regular sequencer. It is also possible to sequence between constant and modulated signals, for example, to enable vibrato to be placed on every fourth note. It can also count down, under external control, allowing for some interesting patterns to be produced with the addition of an extra clocking LFO. It can handle voltages in the range of +/-10v. It is a multiplexor, i.e. not bidirectional. It can route one of eight signals to its output, but not the other way around. It can also provide in dependent gate signals for each selected input.

While untested, the module should work on +/-12 volts.

A little on how it works

The schematic of the Sequential Switch.

Along the left side of the circuit diagram there are the four control input processors. These convert any incoming CV or gate signal to those suitable for the internal circuitry of the module. Their sensing point is around 2V.

The up/down control is gated with the reset input to produce two different behaviors for reset. When the up/down control is set to UP, reset will set the switch to position 1. When the up/down control is set to DOWN, reset will set the switch to position 8 by preloading this value into the counter at the core of the design.

The external CV will override the setting of the up/down panel switch.

The counter itself is a 4516, and up/down counter with programmable inputs. While it is allowed to count through it's sixteen step cycle, only the three least significant bits are used, giving an output that ranges between 0 and 7. These bits are routed to the address inputs of two 4051 analog multiplexer/demultiplexers. The 4051 to the left, operating as a demultiplexer, routes +14.4 volts to each of 8 buffers in turn. These buffers drive a LED to indicate the selected channel, as well as providing a corresponding gate output.

The 4051 to the right, operating as a multiplexer, routes one of the eight input signals through to the output buffer, where both inverted and non-inverted outputs are available. There is an additional Mix In input provided to allow another signal or CV to be mixed with the selected channel of the sequential switch.

How does a device (the 4051) that has only a 15v range allow at least +/-10V to pass through it? The answer is it doesn't. By powering the 4051 and its associated drive circuitry from +14.4V and -0.6V, and placing the output of the analog switch at the virtual ground point of an inverting op-amp buffer, the full range of the signal is allowed to pass while the voltage at that point is held near or at 0V by the action of the op-amp while the analog switch is closed. When the analog switch is open, the diode connected between the input and 0V prevents in incoming signal from going below -0.6V, and thus prevents it from going outside the allowed input range. There is no need to protect against excursions in the positive direction, as these are in the allowed input range. A second diode at the output of the analog switch prevents the op-amp from driving the output below -0.6V, should the switch open while such potential exists.

Construction

The component overlay. Connections can be determined from the circuit diagram. Click the image for an enlarged printable version.
Pad identification
Pad Function
CLK Clock input
UD Up/Down (direction) input
SW Direction switch. Other contact of switch goes to +VE
INH Inhibit input
RST Reset input
RSE Reset button. Other contact of button goes to +VE
RSS Optional length switch common pin. (The switch other contacts go to P2 to P8. Position 8 on the switch is not connected.)
INV Inverted sequencer output
OUT Sequencer output
MIX Optional signal to be mixed with sequencer outputs
I1 to I8 Sequencer input 1 to 8
P1 to P8 Gate outputs 1 to 8
L1 to L8 LED anodes 1 to 8
GND 0V pad, for external use, LED cathodes etc.
+VE positive voltage power rail out, for external (e.g. reset button).

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.

Resistors marked RL determine the brightness of the LEDs. A 1k resistor can be used for low mcd LEDs. If you use a superbright/ultrabright LED, this value should be increased, to as much as 33k, dependent on the individual LED. Trial and error is the only way to correctly determine the value. This can be done with a LED, resistor and a power supply of approximately the same voltage as the positive rail of your synth (i.e. +12V or +15V). A good starting point is 10k.

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.

There are numerous ways this board can be used. For example, each input could be fed by a pot wired as a voltage divider, with it's input end normalized to +VE via a 100k (formerly 1k) resistor. This way you would be able to use the module as a sequencer when not using it as a switch. 100k will give quite adequate range on your pots, with improved sensitivity.

It is also possible to wire in a "length" switch. Each gate output goes to one position of a 10 way rotary switch, with the common being fed into the RSS pad. At each end of the switches rotation, there should be a position where nothing is connected. Reset behavior when wired like this is a little unusual because the sequence will reset differently when running in Up or Down modes. The two end switch positions are to allow the sequence to run unimpeded. One such position would be okay, the second is simply for convenience. The gate outputs can still be wired to jacks as normal.

This diagram shows how you can wire banana jacks into the module. The switch replaces the switching action of a switched jack. A 100k fixed resistor in series with each 100k pot limits the each pot's range to 1/2 the positive voltage, which is more than adequate. This allows rapid switching between the fixed voltage and an external input.
This diagram shows an alternative that does away with the switch. It relies on the low impedance of the outputs of other modules to swamp the voltage coming through the 100k resistor from the positive rail. This version saves the use of 8 switches and the corresponding panel space.

Parts list

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

Part Quantity
Capacitors
NF (Not fitted)
47pF 2
10n 1
100n 5
10uF 25V 4
Resistors
NF (Not fitted)
330R 2
1k 8
1k8 8
2k2 1
10k 3
15k 3
47k 1
100k 22
RL (to suit LEDs) 8
Semi's
TL072 1
TL074 (was LM324) 1
4051 2
4516 1
BC547 9
1N4148 19
Misc
Ferrite bead 4
0.156 4 pin connector 1
CGS28 VER2.0 PCB 1

Notes

  • A link be used instead of the ferrite beads if you don't care about power-rail noise.
  • Note that in the schematic the second op amp of the TL072 (the Inverted Out) show wrong pin numbers. 5 and 6 should be swapped. The polarity is right though.

CC-BY-NC

Readers are permitted to construct these circuits for their own personal use only. Ken Stone retains all rights to his work.

See also

References

External links

Suppliers