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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CONTROL SEQUENCE DISPLAY AND EDITING 347<br />

OUTPUT<br />

INPUT 51,52<br />

1.0 5T\ /CL05ED<br />

OUTPUT<br />

51,52<br />

OPEN<br />

0.8<br />

0.6<br />

0,4<br />

0.2<br />

0'--------------------------<br />

TIME<br />

Fig. 11-3. Step response <strong>of</strong> vector generator<br />

a convenient interface to the vector generator about to be described and also<br />

includes a timer that can be used to conrrol the refresh rate.<br />

Vector Generator Circuit<br />

Figures 11-2A and B show a schematic <strong>of</strong> the vector display generator.<br />

The digital portion <strong>of</strong> the interface is quite simple, consisting mostly <strong>of</strong> type<br />

74LS75 quad transparent latches. The latches are necessary because the same<br />

port is used for both X and Y coordinates and to insure that the X and Y<br />

DACs are updated simultaneously when a line is to be drawn. The term<br />

transparent means that as long as the clock input is high, the input data<br />

passes straight through to the output. Thus, a move X operation, which calls<br />

for setting both "save X" and "move X" conrrol bits high, enables the clocks<br />

on both sets <strong>of</strong> X latches allowing data to pass through the leftmost set and<br />

be latched into the rightmost set. The single shot is used to carefully control<br />

the beam on time independent <strong>of</strong> program timing when a draw is executed.<br />

This prevents bright dots at the ends <strong>of</strong> lines. The Z axis output is boosted to<br />

15 V, since most oscilloscopes require high-level drive to control the beam.<br />

The heart <strong>of</strong> the analog section is the X and Y DACs. Type MC140SLS<br />

DACs are used in a circuit similar to that in Fig. 7-IS. The <strong>of</strong>fset circuit has<br />

been modified, however, to provide a voltage output (from current-to-voltage<br />

converter op-amp) <strong>of</strong> + 2.5 for a digital input <strong>of</strong> 0 and + 7.5 for an input <strong>of</strong><br />

255. The type TLOOs4 is a very convenient quad FET input op-amp selected<br />

here for its speed.<br />

Unfortunately, generating the X and Y voltage contours necessary for<br />

drawing a smooth, uniformly bright line between arbitrary endpoints on a<br />

CRT is not as simple as it sounds. The task is called vector generation and<br />

circuits that do it are called vector generators. An ideal vector generator would<br />

move the beam at a constant, uniform velocity regardless <strong>of</strong> the line length or<br />

orientation, would be free <strong>of</strong> wiggles and other distortions at the endpoints,<br />

and would have good matching <strong>of</strong> lines sharing the same endpoint. To make<br />

matters worse, the necessary analog computations must be done accurately at<br />

high speeds. The vector generator used in this simple display sacrifices

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

Saved successfully!

Ooh no, something went wrong!