22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

282 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

Semiconductor Analog Switches<br />

Semiconductor switches are likely to be <strong>of</strong> more interest. The "contact"<br />

resistance <strong>of</strong> the switch can become a problem, however, because the voltage<br />

drop across this resistance will have an effect on the apparent sensitivity <strong>of</strong><br />

control inputs. For example, a 300-ohm switch resistance and WOK control<br />

input impedance will cause an error <strong>of</strong> 30 mV on a 10-V control signal or<br />

nearly half a semitone. Op-amp buffers at some outputs <strong>of</strong> the switching<br />

matrix can easily eliminate this error. Signal overload may be a problem with<br />

analog switches. The most inexpensive CMOS switches are limited to 8 V<br />

peak and severely distort any signals beyond that.<br />

Several common analog switch ICs are useful in switching matrix<br />

construction. For maximum flexibility in organizing the matrix, the 4066<br />

type <strong>of</strong> CMOS analog switch <strong>of</strong>fers four independent switches in a single 16­<br />

pin DIP package. The on resistance is in the 50-ohm range, and the "B"<br />

version can handle ± 8-V signal swings with a ± 8-V power supply. The<br />

4051 l-<strong>of</strong>-8 analog multiplexor mentioned earlier gives eight switches in a<br />

package, <strong>of</strong> which only one at a time may be on, also with a 50-ohm<br />

resistance. These can be very effective in small matrices such as 4 x 8 or 8 x 8<br />

in which a 4051 is used for each row. Also available is the 4052, which is a<br />

dual l-<strong>of</strong>-4 multiplexor, and the 4053, which is a triple l-<strong>of</strong>-2 unit. One<br />

significant advantage <strong>of</strong> the 405X series is that the control voltage to the<br />

switches need swing only between ground and the positive supply voltage; it<br />

need not go negative as required by the 4066. Although these switches are<br />

inexpensive (less than $1. 50), all will require external latches to keep them in<br />

the desired state and will require logic level shifters to be driven from TTL<br />

logic levels. When a number <strong>of</strong> them are used in a large switching matrix,<br />

these latches and level shifters can easily constitute half the circuitry.<br />

A more recent IC that is tailor-made for switching matrices is the<br />

MC142100 (Motorola) or CD22100 (RCA). This is an array <strong>of</strong> 16 CMOS<br />

analog switches that is internally arranged into a 4 x 4 matrix and costs under<br />

$3.00. Besides getting 16 switches from a 16-pin IC package, there is an<br />

internal flip-flop to control each switch. The device interfaces to the driving<br />

logic or computer just like a 16-bit write-only memory. There are four<br />

address inpurs that are used to identify one <strong>of</strong> the 16 switches and a data and<br />

write pulse input. To turn the addressed switch on, a one would be placed on<br />

the data line and a positive pulse delivered to the write line. To turn a switch<br />

<strong>of</strong>f, the data would be zero instead. Anyon-<strong>of</strong>fcombination is possible and a<br />

special internal circuit turns all the switches <strong>of</strong>f when power is first applied.<br />

The on resistance is somewhat higher (100 ohms) than the 405X series, but<br />

the error incurred (Y6 semitone for a WOK load) may be small enough to<br />

ignore. About the only drawback <strong>of</strong> this device is the need for level shifters<br />

on the address and control inputs than can swing between the negative and<br />

positive supply voltages.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!