149
CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of Graduate Studies and Research in Partial Fulfilment of the Requirements For the Degree of Master of Science in the Department of Electrical Engineering University of Saskatchewan by Kee Shiu Lee Saskatoon, Saskatchewan (c) 1976, K. S. LEE

CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

CRT LIGHT-HEAD

FOR AN

AUTOMATIC DRAFTING SYSTEM

A Thesis

Submitted to the Faculty of Graduate Studies and Research

in Partial Fulfilment of the Requirements

For the Degree of

Master of Science

in the

Department of Electrical Engineering

University of Saskatchewan

by

Kee Shiu Lee

Saskatoon, Saskatchewan

(c) 1976, K. S. LEE

Page 2: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

COPYRIGHT

The author has agreed that the Library, University of

Saskatchewan, may make this thesis freely available for

inspection. Moreover, the author has agreed that permission

for extensive copying of this thesis for scholarly purposes

may be granted by the professor or professors who supervised

the thesis work recorded herein or, in their absence, by

the Head of the Department or the Dean of the College in

which the thesis work was done. It is understood that due

recognition will be given to the author of this thesis and

to the University of Saskatchewan in any use of the material

in this thesis. Copying or publication or any other use of

the thesis for financial gain without approval by the

University of Saskatchewan and the author's written permission

is prohibited.

Requests for permission to copy or to make any other

use of material in this thesis in whole or in part should

be addressed to:

Head of the Department of Electrical Engineering

University of Saskatchewan

Saskatoon, Saskatchewan

Canada

Page 3: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

ai

ii

ACKNOWLEDGEMENTS

The author wishes to express his sincere thanks

to Dr. A.R. Boyle for his advice and encouragement

during both the course of this project and the preparation

of this thesis.

Appreciation is also extended to all people

in the Graphic Systems Design and Application Group,

Department of Electrical Engineering, University of

Saskatchewan. In particular, the author would like to

thank. Mr. W.T. Wilkie whose comments and suggestions

clarified several points.

The financial support provided by NRC grant

No. A3622 is gratefully acknowledged.

Page 4: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

iii

UNIVERSITY OF SASKATCHEWAN

ELECTRICAL ENGINEERING ABSTRACT 76A176

"CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM"

Student: Kee-Shia Lee Supervisor: A.R. Boyle

M.Sc. Thesis presented to the College of Graduate Studies

ABSTRACT

This thesis describes the method of implementation

of a cathode-ray tube (CRT) for use with a high quality

precision automatic drafting system intended for the

preparation of maps on a flatbed drafting table. A CRT

light-head, mounted in place of the normal optical-mechanical

light-head on a drafting table, enables the production of a

wide range of symbolized line features as well as symbols

and names. The image on the CRT, which is generated

according to the information received from a library file

in the computer, is projected via an optical system onto

a photo-sensitive material. This system also permits the

application of 'area-fill° by means of the CRT light-head

to save the use of 'peel-coat.'

The system utilizes a PDP8/e mini-computer with

8K words of core memory, an 1.6M word disc unit, a 9-track

magnetic tape unit, a CRT light-head, and a precision flat-

bed drafting table.

Page 5: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

IV

iv

TABLE OF CONTENTS

COPYRIGHT

ACKNOWLEDGEMENTS

ABSTRACT.

TABLE OF CONTENTS

LIST OF FIGURES

LIST OF FLOWCHARTS

Page

ii

1. INTRODUCTION 1

1.1 General 1

1.2 Disadvantage of an opto-mechanical 3 light-head

1.3 Previous work on a CRT light-head 4 for character printing

1.4 Objectives of the present work 7

2. SYSTEM REQUIREMENTS AND COMPONENTS SELECTION 9

2.1 General 9

2.2 Requirements of the system 10

2.3 Selection of system components 15

2.3.1 Optical lens 15

2.3.2 Photographic film 17

2.3.3 Drafting table 20

2.3.4 CRT unit and its associated 22 electronics

3. LINE DRAFTING 25

3.1 General 25

3.2 System block diagram 26

3.3 Line generator and its control 29

Page 6: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

V

3.4

3.5

3.6

3.3.1 Rotation control

3.3.2 Width control

3.3.3 Intensity control

The input/output transfer instructions

Sequence of operation

Samples of line drafting

Page 35 36

42

47

47

50

3.6.1 General 50

3.6.2 Drafting on film 52

3.6.2.1 Exposure test 52

3.6.2.2 'Mathematically based' line data drafting

55

3.6.2.3 Digitized cartographic line data drafting

58

3.6.3 Causes of irregularities 60

4. AREA FILL 61

4.1 General 61

4.2 Programming 62

4.2.1 Input parameters 62

4.2.1.1 Window 62

4.2.1.2 Fill-in pattern code 62

4.2.1.3 Data format 64

4.2.2 Processing a filling-line 64

4.2.2.1 Intersection point computation

65

4.2.2.2 Point-in detection 66

4.2.3 Example of area fill 67

4.2.4 Application 69

4.3 Samples of work 71

5. CHARACTER PRINTING 80

5.1 General 80

5.2 Programming 80

5.3 Advances on previous work 82

5.4 Samples of present work 85

Page 7: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

VI

vi

Page

CONCLUSIONS AND RECOMMENDATIONS

6.1 Conclusions

6.2 Recommendations

REFERENCES

APPENDICES

Appendix A

Appendix B

Appendix C

Appendix D

Appendix

Automatic drafting

Forward-look linear interpolation

Characteristics of a rectangular light spot

Schematic diagrams of the previous character generation unit

E Schematic diagrams complete system

91

91

93

96

98

98

108

118

125

of the 131

Page 8: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

VII

Figure

1.1

1.2

LIST OF FIGURES

vii

Page

6

6

Block diagram of an automatic drafting system

Block diagram of CRT photo-typesetter

2.1 Cartographic line 11

2.2 The D log E curve 19

2.3 H and D curves for type 10 Kalvar 19

3.1 Block diagram of interfaces and control for CRT light-head

27

3.2 CRT light-head 30

3.3a CRT light-head mounted on Gerber 22 table 31

3.3b D.E.C. PDP8/e mini-computer 31

3.3c Interface unit of Gerber 22 table 32

3.3d Interface unit of the CRT light-head 32

3.4 Block diagram of the line generation unit 34

3.5 Integrator 34

3.6a Top view of the drafting table 37

3.6b Front view of the CRT screen 37

3.7 Block diagram of the width control unit 38

3.8 Waveform of the signals from the width control unit

40

3.9 Block diagram of the voltage divider 41

3.10 Block diagram of intensity control 45

3.11 I.O.T. for the system 48

3F.1 Sample of exposure test 53

Page 9: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

"I II

Figure

viii

Page

3F.2 Sine-wave (width = 0.3mm) 56

3F.3 Sine-wave (width = 0.5mm) 57

3F.4• Sample of shoreline 59

4.1a Fill-in parameters 63

4.1b Mid-point approaching 63

4.2 Example of area-fill 68

4.3 Boundary of area-fill (611 display) 73

4.4 Sample of block-fill 74

4.5 Sample of area-fill by varying the dimension of the window

75

4.6 Six fill-in pattern codes 76

4.7 Sample of area separation 77

4F.la Boundary of area 78

4F.lb Sample of area-fill 78

5.1 Sample of character printing (611 display) 86

5.2 Sample of scaling 87

5.3 Sample of rotation (area-fill technique) 88

5.4 Sample of rotation (scan-line format) 89

5F.1 Sample of character printing 90

Al Relative exposure across a straight line 102

A2 Relative exposure across a curved line 103

B1 Quantised coastline on 0.1mm matrix 111

B2 Line regeneration by point-to-point linear interpolation

111

B3 4-point and 8-point look-ahead line 112 regeneration

Page 10: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

iX

ix

Figure Page

BF.1 Line regeneration by point linear 114 interpolation

BF.2 Line regeneration by 4-point look- 115 ahead linear interpolation

BF.3 Line regeneration by 8-point look- 116 ahead linear interpolation

Cl Rectangular light spot 119

C2 Relative exposure varies with the width 121 of the rectangular light spot

3 Relative exposure varies with the radius 122 of curvature

C4 Relative exposure varies with the length 123 of the rectangular light spot

D1 Device selector 126

D2 Control logic 127

D3 X data buffer 128

D4 Y data buffer 129

D5 Digital to analog converters 130

El Unit A 132

E2 Unit B 133

E3 Device selector and width buffer 135

E4 AX and X data buffer 136

E5 Digital to analog converters (AX and X) 137

E6 AY and Y data buffer 138

E7 Digital to analog converters (AY and Y) 139

E8 Intensity control 140

E9 Integration timing and width control 141

Page 11: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

x

Figure Page

E10 Integration and summing amplifiers 142 and manual-adjust clock

Eli Programmable voltage divider 143

E12 Z pulse amplifier and selectors 144

E13 Block diagram of a Tektronix 502 145 oscilloscope

Page 12: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

xi

LIST OF FLOWCHARTS

Flowchart Page

3.1 Line-drafting 49

4.1 Area-fill subroutine 70

4.2 Area-fill program 72

5.1 Character printing program 83

Page 13: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

1

1. INTRODUCTION

1.1 General

A cathode-ray tube (CRT) light-head is a light-

beam-drafting instrument using a CRT as a light source to

produce drawings of precision quality on films. This

instrument, controlled by a mini-computer, reduces the

labour of drafting because it offers complete reliability

and flexibility in symbol generation and permits full

possibility for automation.

Tracing an engineering drawing or any complex

graphic information requires one of man's most highly

developed skills. In the past this drafting effort has

depended largely upon the manual skill of experienced

draftsmen.

In cartographic drafting, one of the major

problems is that of the efficient lettering of maps, i.e.

the addition of names, explanations and numbers with proper

style, position and readability. The problem is important,

because maps can contain many thousands of letters, and

the work involved has had a strong influence on the editing

and drawing time of the maps.

The advent of sophisticated computers has

provided the necessary technology for significant advances

in computer-aided design and computer-controlled graphic

hardware. The result of this technological advancement

Page 14: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

has been to relieve engineers, architects and cartographers

from tedious, repetitive tasks through automatic drafting

(1)(2)(3) systems . These systems produce drawings in minutes

instead of the hours required for manual drafting. Further-

more, the resulting drawings can be highly accurate and of

very high quality. Automatic drafting systems also allow

cartographic data from a variety of sources to be combined

after scaling and manipulation by a digital computer.

The main elements of a typical automatic drafting

system are shown in Fig. 1.1. These consist of an input

device, a controller, and a drafting table (including a

drafting instrument—'pen'). Data which is mathematically

based or digitized from maps can be the input. The controller

reads data from the input device, interprets it and controls

the movement of a drafting table, as well as the behaviour

of the 'pen' on the table, in order to produce the desired

drawing. The results from the drafting depend much upon

the nature of the 'pen' used relative to the requirements

of the drawing.

At present, there are three basic techniques of

drafting that could be considered for use in automatic

drafting systems(4) . The first technique uses an ink pen

to draw lines directly onto paper. The second uses a

scriber to remove a thin plastic emulsion coating from a

transparent mylar base. The third uses a light-head, the

Page 15: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

3

focussed image of a light beam, to produce lines directly

onto photographic film.

Among the above techniques, the light beam method

of drafting is the most versatile and the only one to offer

full possibility for automation. (See Appendix (A)).

According to the method of producing a light beam, light-

heads are classified into two types, namely an opto-

electronic light-head and an opto-mechanical light-head.

In an opto-electronic light-head, the symbolic image is

produced electronically and is projected onto a film so

that its quality is highly dependent upon the resolution

of the light-head. On the other hand, an opto-mechanical

light-head basically consists of a light source, an optical

imaging system of lens, a set of mechanical masks and a

light shutter. The symbolic image is produced by shaping

the beam from the light source into the desired configuratio

through the mechanical masks and flashing it onto a film

so that a high quality symbol can be produced.

1.2 Disadvantages of an opto-mechanical light-head

Howeyer, the main limitation of an opto-mechanical

light-head is its lack of flexibility. Symbol masks

typically contain from 6 to 96 symbols; when alphanumerics

are taken into account, even 96 is often too small a number

for any one cartographic overlay sheet. Thus only a limited

Page 16: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

4

number of characters or symbols can be accessed automatically

and it is not easy to interchange masks in the dark with

the sensitized film exposed on the table.

It will be noticed that symbol rotation is necessarl

if these flashed-down symbols are to be angled, and also that'

automatic dynamic image rotation must be fitted to maintain

constant line width in all directions if a rectangular

light spot is used for line drafting (see Appendix (A)).

This rotation, which must be very rapid in response, requiresii

mechanical action and this often causes eccentricity in the

rotation center. For these reasons, further investigation

regarding an opto-electronic light-head was most desirable.

This is the main concern of this thesis.

1.3 Previous work on a CRT light-head for character printing

In order to overcome the disadvantages of opto-

mechanical light-heads for an automatic drafting system, a

precision CRT device or opto-electronic light-head was

selected as against a matrix of light-emitting diodes,

because of its speed, versatility and relatively uniform

illumination. (See Appendix (A)).

A precision CRT device is currently being developed

at the University of Saskatchewan by the Graphic System

Design and Application Group headed by Dr. A.R. Boyle.

W.T. Wilkie(5) presented his investigation of name placement

Page 17: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

using a CRT as a photo-typesetter. This system, provided

a flexible technique which could efficiently generate

characters under software control. The block diagram of

this system (see Fig. 1.2) shows:

a) the precision CRT and associated electronics

b) the optical system of lens to project the

image of the CRT onto the drafting film

the X-Y mechanism used to move the CRT unit

over the film

d) the interfacing electronics used to connect

the CRT unit and X-Y mechanism to the computer

e) the computer and its control programs.

Using a 128 by 128 equivalent element matrix, symbol

construction data is held in 'scan line form,' where absolute

start and end coordinates of a vertical scan line are stored

in the library file of the computer. The size of some

entries in the library of construction data can be signifi-

cantly reduced by the application of symmetry, since many

characters and symbols have symmetry about one or both axes.

Therefore, an almost unlimited number of symbols can be

available as they are stored in digital form in the library

file. Rotation of the symbol is calculated by the computer.

There 18 no eccentricity introduced in the rotation center

as often occurs with an opto-mechanical light-head. For

actual character printing, the control program positions the

Page 18: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

INPUT DEVICE CONTROLLER

DRAFTING

TABLE

FIGURE 1.1 BLOCK DIAGRAM OF AN AUTOMATIC DRAFTING SYSTEM

PDP8/e

MINI-COMPUTER

womamellp

••••••••.

CRT INTERFACE

INTERFACING .0. ••• 0.• ••• eel

ELECTRONICS

X-Y MECHANISM INTERFACE

Y

X'

CRT UNIT

LENS SYSTEM

Y' X -Y MECHANISM

FIGURE 1.2 BLOCK DIAGRAM OF CRT PHOTO-TYPESETTER

Page 19: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

X-Y mechanism, retrieves the character construction data

from library files, decodes the construction and symmetry

data and then deals with the rotation, the scaling and the

printing of the character or symbol onto the film sheet.

The basic concept appeared to be sound and the

symbol could be generated digitally at uniform illumination

without any compensation for the image intensity for

different sizes, because all the points within the image

were generated digitally with constant intensity. However,

to modify the size, it was necessary to increase or decrease

the number of unit elements within the construction data

matrix. Enlargement and reduction were accomplished by

interpolation to generate column and row unit elements

between those specified in the construction data matrix.

In addition, certain criteria had to be determined and

applied in the situations of discontinuous curvature such

as internal corners. It was noted that the quality of

symbol generated in this way varied with the angle of rotation,

because every scanning stroke of a symbol was no longer a

vertical straight line as at zero degrees, but instead a

series of dot elements appearing at the slope of the required

rotational angle.

1.4 Objectives of the present work

The previous work on a CRT name placement system

Page 20: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

showed that it could be implemented to generate characters

and symbols of an acceptable quality for cartography. An

extension of this idea is the development of the CRT device

as an opto-electronic light-head for other automatic draft-

ing applications. The purpose of this thesis is to study

the feasibility of CRT light-heads for comprehensive use

in automatic drafting systems and to indicate the results

from an experimental unit.

The second chapter discusses the requirements of

the system and the selection of system components using a

CRT as a light-head for an automatic cartographic drafting

system. The third chapter introduces the line drafting

techniques of the system. The interface and control

required to connect this opto-electronic light-head to the

PDP8/e mini-computer and Gerber 22 drafting table are then

discussed.

In automatic cartography, 'area-fill' is especially

applicable to the generation of colour overlays presently

made by removing areas on 'peel-coat,' a difficult operation.

Therefore, the fourth chapter deals with a particular aspect

of using a CRT light-head for this application to save the

use of 'peel-coat.' For the remaining portion of this text,

character printing using the technique of 'area-fill' is

evaluated and compared with Wilkie 's work(5).

Page 21: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

2. SYSTEM REQUIREMENTS AND COMPONENTS SELECTION

2.1 General

The general cartographic requirements for an

automatic drafting system are as follows:

a) 'Well formed cartographic quality lines' must

be produced It must be possible to draw square

ended lines; this is particularly important

when lines are relatively wide or are used to

draw square features such as buildings.

b) Great flexibility of symbolization, A large

number of symbols including size and angle

variations are to be available.

c) Precision and accuracy It must have a suffi-

ciently good drafting resolution ( of the order

of 0.005mm ) to generate high quality lines and

characters. Since most cartographic drawings

are printed in colour using conventional

lithographic techniques preparation of a chart

for printing involves making a separate nega-

tive for each colour required. A printing

plate is then constructed for each colour.

For proper colour registration, the relative

accuracy of each colour overlay must be maintained.

Using a light-head as a 'pen for a drafting

Page 22: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

10

system, cartographic information can be drawn either by each

line individually or by an image flashing technique. In

the CRT light-head system, the former technique is applied

for 'line drafting' while the latter technique is used for

'area-fill' and 'character printing.' However, when first

considering the requirements and the selection of components

of the system, the line drafting technique is emphasized

because it includes the major requirements and is the

dynamic state of the image flashing technique.

2.2 Requirements of the system

The overall line drafting requirements are complex

and some are yet to be exactly determined. For the initial

stage of the development and thus for the purpose of this

thesis, it is proposed to have a rectangular light image,

generated on the screen of a CRT, as a scan-line for carto-

graphic line generation. (Fig. 2.1). A rectangular light

spot is selected from other configurations because of its

advantages of simplicity, compatibility in producing square

ends, and relatively uniform exposure. In addition, it is

easily generated on a faceplate of a CRT. This image (scan-

line image) is then focussed onto a lithographic photo-

sensitive sheet through an optical lens. The CRT which is

mounted on the drafting table would move continuously as

for 'pen type' drafting.

Page 23: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

11

CARTOGRAPHIC LINE

SCAN-LINE

L = THE LENGTH OF A SCAN-LINE

W' THE THEA CARTOGVAPHrC LINE WIDTH = L

w = THE WIDTH OF A SCAN-LINE

FIGURE 2.1 CARTOGRAPHIC LINE

Page 24: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

12

The width of the scan-line 'w' could be varied

by software. This is done by generating the scan-line

point by point while the CRT light-head remains stationary

at a position above the cartographic line position for

the whole period of a scan-line generation. The drafting

speed of the system would then be extremely low. On the

other hand, if a single scan-line were repeatedly generated

by hardware, an approximation to a rectangular light spot

with a constant width that of the CRT beam width, would be

obtained and the speed of the system would be increased.

Ideally the width 'w' of the rectangular light spot should

be kept small so that the effect of multi-exposures at the

intersection point does not need to be considered when lines

meet. As this dimension is decreased, however, the intensity

of the projected image must be increased to maintain the

drafting speed. Further details about this effect can be

found in Appendix (C). In other words, only a high intensity

CRT can be applied for use as a light-head in this manner.

For the purpose of maintaining constant carto-

graphic line width when moving in any direction, automatic

dynamic image rotation is another important requirement for

the system when using a rectangular light spot for line

tracing. This rotation must be very rapid in response,

in order not to affect the speed of line drafting, (i.e.

the X-Y motion should not have to await the angular one).

Page 25: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

13

Moreover, the center of the rectangle must remain stationary

as it is being rotated, and its length must be kept constant

at all angles of rotation. The net result of any errors in

rotation is that junctions of lines are not correct.

Data which is mathematically based or digitized

from maps can be used as an input to the system. In carto-

graphy, a number of line widths are required, ranging from

0.1mm to 0.5mm. The width of a drafted line must be select-

able and accurate to 0.005mm. Furthermore, since carto-

graphers normally seem to be able to accept lines which are

slightly inaccurate as long as they are smooth, smoothing

routines should be available that give well shaped carto-

graphic lines. As an approximation, the minimum curvatures

along a topographic contour and a coastline might be 0.5mm

and 0.1mm respectively(6). Hence, for line regeneration,

an unexpectedly small radii of curvature or unwanted data

in the form of spikes to the side or along a line due to

the errors of digitizing operation have to be removed. This

may be done by simply linear interpolation or by calculated

circular or cubic spline-fit processes. Each method has

its own advantages and disadvantages in different applica-

tions.

The requirement of intensity control is necessary

when high quality lines are desired. Since the speed of

the drafting table varies considerably from its initial

Page 26: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

14

starting speed to its maximum velocity along a line, the

exposure time for line drafting also varies from point to

point. Therefore, some method of control is needed to

vary the intensity of the projected image so as to have

a uniform exposure for a whole line. Fortunately, such

a control need not be precise because of the large latitude

of film(4) However, it must have a large operating range

and have a high enough speed of response to follow the

drafting unit as its speed varies.

High speed of line drafting is also another

requirement of the system. It is dependent upon the intensity

of a CRT, the aperture of the optical lens, the sensitivity

of a film and the velocity capability of the drafting table.

To optimize these system parameters separately for drafting

speed would adversely affect the quality, so care must be

taken to reach a good compromise. Each of these components

will be discussed in the next section of this chapter.

As mentioned in Appendix (A), the drafting table

of the system must be located in a•controlled atmosphere

darkroom, of suitable dimensions, to maintain film and

drafting table at constant linear dimensions.

In short, the automatic controls that are required

for the system are summarized below:

a) Rotation of a scan-line image Control the

rotation of the scan-line image to follow the

Page 27: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

direction in which the drafting table will

proceed.

b) Cartographic line width Control the length

dimension of the scan-line image. The change

in width of a cartographic line should not

affect the drafting speed.

c) Line smoothing routine Regenerate a new

smoother digital line from the line in the

digital cartographic data-base.

d) Intensity of projected image Vary the intensity

of the projected image according to the speed

of the drafting table.

2.3 Selection of system components

In this section, the major characteristics of the

system components are explained and specified. The components

were chosen according to system requirements, cost and

availability.

2.3.1 Optical lens

An optical lens is used to reduce the image from

the screen of the CRT light-head onto the photo-sensitive

material. For a given exposure of film the maximum draft-

ing speed is proportional to the aperture of the optical

lens being used. Lenses for photographic work are usually

Page 28: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

16

marked with the F/number, which is the relative aperture of

the lens. The relative aperture indicates the amount of

light energy that a lens can transmit; this is, two lenses

with the same F/number will transmit the same amount of

light and therefore give equivalent exposures regardless of

focal length(7). If two lenses have a different F/number,

they will give different exposures. For example, the

aperture area of an F/1.4 lens is four times that of an

F/2.8 lens of the same magnification, and therefore gathers

four times more light. The formula for the relative

aperture is

F/number focal length

diameter

Generally, increasing the relative aperture of lens also

increases lens aberration.

Another important parameter is the depth of focus

of a lens. It is the distance through which the focal plane

can be moved without a detectable change in image quality.

The larger the lens aperture (lower F/number), the shorter

is the depth of focus.

The depth of field of a lens is defined as the

region within which all object points will image sharply.

It is dependent only on the diameter of the aperture and

not its focal length.

The lens magnification is a number which signifies

Page 29: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

17

the image-to-object ratio of a lens system. The smaller this

magnification is, the greater the intensity of the image on

the film. Therefore, higher writing speeds can be achieved.

Since there are significant variations in the

flatness of the large active drafting area relative to

the carriage assembly, an F/2.5 lens with a focal length of

6.5mm was selected for the system in order to obtain good

depth of focus. (If depth of focus could be sacrificed,

an F/1.4 lens with shorter focal length would be preferable

for higher drafting speeds.) Another reason for using a

higher F/number lens is that it can provide higher projection

density. This property will be discussed in the following

section. It should also be noted that the lens system

should be mounted in such a way that the position of the

lens plane is always parallel to the drafting material.

2.3.2 Photographic film

Photographic films vary in size, speed, contrast,

spectral response, resolution, and cost. Therefore, some of

these properties should be clarified.

The D-log E curve is frequently used to describe

the characteristics of a photographic film. The relation

of density to exposure is presented in the curve in which

the optical density is plotted against the logarithm of the

exposure. The density (D) is a measure of the transmissive

Page 30: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

18

or reflective properties of the exposed and developed image.

It is defined as the negative of the base 10 logarithm of

the transmission (or reflection) ratio. For example,

perfectly reflecting or transmitting surface has a density

of 0.0. A 0.1 percent reflecting or transmitting surface

has a density of 3.0 units. With a sufficiently extended

range of exposure, the D-log E curve consists of four parts

in which the slope, or gradient, first increases, then

becomes constant, then decreases and finally becomes

negative and heads downward(8)

. (Fig. 2.2). The slope of

the straight-line portion of the curve is often referred to

as latitude. Usually, high contrast film having a very

steep slope or wide latitude is best for line drafting(.

Using this kind of film the requirement for the intensity

control of the system would be easily achieved, as the film

is exposed well into the third region of its D-log E curve,

so that a change in exposure will not produce significant

changes in film density.

H and D (Hurter and Driffield) curves are similar

to the D-log E curves and determine the maximum and minumum

density values for any given material. Figure 2.3, adapted

from Reference (9), presents a set of H and D curves for

Kalvar type 10 material, exposed and processed under typical

conditions. These curves represent the density at various

projection system apertures. It will be noticed that the

Page 31: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

19

D MAX .

>-1

H

z C23

--------

SHOULDER

TOE

REGION f REGION 1 2

REGION1 REGION 3 4

REGION 1: REGION OF INCREASING GRADIENT REGION 2: REGION OF CONSTANT GRADIENT REGION 3: REGION OF DECREASING GRADIENT REGION 4: REGION OF REVERSAL

2.5

/.5 H C/2 4

A

0.5

LOG EXPOSURE

FIGURE 2.2 THE D LOG E CURVE

F/5.6

F/2.8

F/1.5

1.0 2.0 3.0 4.0 LOG EXPOSURE, JOULES/M''

FIGURE 2.3 H & D CURVES FOR TYPE 10 KALVAR

Page 32: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

20

projected density increases with the F/number. The reason

for this phenomenon is due to the failure of the recipro-

city law(8)

. The projected density depends upon the actual

values of intensity and time and not on the product of the

two. Reciprocity failure varies with the characteristic of

the emulsion of a photographic film. As mentioned before,

this variation of the density with the F/number is considered

in the choice of an optical lens for the system.

The ASA film-speed rating signifies the exposure

requirements for general pictorial photography where the

light has a very wide colour spectrum. Since CRT phosphors

emit light over a narrow spectrum, the ASA speed cannot be

used to accurately predict the exposure requirements for a

CRT light-head system. Slower speed film is desirable because

it has smaller grain size and therefore better resolution.

The GAF ECONOLINE P4 film was chosen for the prototype system

because of its characteristics of high contrast and appro-

priate spectral response. Of course, other parameters such

as cost, speed, resolution, dimensional stability, ease of

handling and processing, and the degree of intermittency

of the film were also taken into account. The degree of

intermittency will be discussed in Section 3.6.2.1.

2.3.3 Drafting table

The quality of map which can be obtained depends

appreciably on the quality of the mechanism of the drafting

Page 33: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

21

table. There is always much argument in cartographic

circles about the relative advantages of the incremental

method and the analog feedback method of controlling table

position. Analog servo-mechanisms can usually be run at

higher speeds than incremental ones and will maintain

smoothness although small oscillations may be apparent at

certain angles of lines. However, the analog mechanisms

were not chosen because they need more frequent adjustment

as they are not 'definite' in control and also because they

are not as accurate as the best incremental mechanisms,

(they are subject to drift, and positioning accuracy depends

on stability of control of voltage sources).

Since only a few vector directions are available,

curved lines generated by an incremental plotter tend to

have a stepped appearance. The jaggedness can be reduced to

negligible proportions by using a mechanism with very short

step lengths, but this tends to slow down operation because

the plotting head must generally come to rest at the end

of each step. This problem can be reduced by having a

velocity-control feature so that the drafting head, instead

of coming to rest after each step, is simply accelerated

and decelerated sufficiently to negotiate changes in

direction in the line being plotted.

Another important feature of the drafting table

on which a CRT light-head is to be mounted is its weight-

carrying capability. In other words, the large mass of the

Page 34: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

22

CRT must be mountable on the table without causing any

deterioration in performance.

After reviewing the requirements as mentioned

above, the Gerber 22 incremental drafting table with a step

size of 0.0127mm (0.0005 inch), and speeds of up to 15cm

per second, was selected. Furthermore this table had a

precision flatness over the plotting area of 1mm, and a

vacuum hold-down system to ensure the flatness of a drafting

material. The Gerber 32 would have been even better but

it is more costly.

2.3.4 CRT unit and its associated electronics

In the application of line drafting with a CRT

light-head, the cartographic requirements restrict the

selection of an appropriate CRT unit and its associated

electronics. Basically there are two types of CRT units:

1) electrostatic, and 2) electromagnetic determined by

the deflection method employed. One of the main disadvantages

of all electromagnetic deflection systems is their slow

scanning speeds as compared to the electrostatic tubes, due

to the recovery time limitation of the yoke. However, they

produce a smaller spot size, they have higher deflection

sensitivity and they can produce a high intensity beam with

a relatively low voltage supply. They are therefore more

appropriate for the system.

The beam spot size, and the type of phosphor

Page 35: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

.63

23

employed in the CRT, are of major importance in the light-

head unit. The beam spot size determines the resolution of

the tube. In order to obtain the necessary symbol and line

quality, a resolution of at least 40 lines per mm is required

to be obtained on the drafting material. The brightness of

a CRT is a function of the energy in the beam and the effi-

ciency of the phosphor. In other words, important factors

in selecting a phosphor for a CRT unit are screen efficiency,

persistence and spectral energy distribution. The screen

efficiency is determined by how much of the beam energy is

converted into light energy. The brightness is proportional

to the beam energy up to the point where saturation occurs.

Saturation may be caused by voltage, current or heat(10)

The persistence is defined as the time required

for the intensity on the screen to drop to 10% of its

initial value after the removal of the beam of electrons.

Long persistence can be used to increase the exposure time

when a lower scanning rate is employed. However, the dis-

advantages of the long persistence screens are that they

suffer from low light output and have low resistance to burn.

The P1 phosphor, which matches the emulsion sensitivity

characteristic of the selected film, was chosen due to its

relative high resistance to burn, high efficiency and high

apparent resolution.

The physical weight and the screen size of a CRT

Page 36: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

unit are also to be considered in selecting a light-head.

In addition, the associated electronics should be selected

to provide acceptable linearity, repeatability and

stability(5).

There are some CRT subsystems such as the CELCO

DS5-50-0(11) and the BETA PD900(12) that meet the above

requirements. They are available but at a cost of around

$15,000. The TEKTRONIX model 502 electrostatic deflection

oscilloscope with the type T5021P1 tube was actually used

as a test device for the experimental proto-type system.

Although insufficent in quality and light output for a final

unit, the TEKTRONIX 502 (P1 phosphor and approximate 0.6mm

spot size)(13) was practical for the basic prototype test

and software development.

Page 37: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

h' a

25

LINE DRAFTING

3.1 General

In this system, a Digital Equipment Corporation

PDP8/e mini-computer with a magnetic disc storage unit and

9-track magnetic tape unit, was used as a controller. The

advantage of using a mini-computer for a controller was that

the hardware required for the control could be simplified

by having the computer program handle several of its functions.

Such functions as data transfer, data storage and calculation

can also be handled. These factors, together with the

complexity of the required hardware, must be considered when

determining the optimum hardware/software combination for

a controller.

In line drafting, it is necessary to generate a

scan-line image on the screen of the CRT for the whole time

that the carriage, on which the CRT is mounted, is moving.

There are two basic approaches to vector generation: either

points on a straight line are computed digitally and the

line is drawn as a series of dots, or an analog circuit is

employed to move the CRT beam continuously from the starting

point to the ending points of the scan-line. Digital line-

scanning algorithms can be implemented in software, using

point-plotting techniques to intensify each dot on the scan-

line. Analog generators involve more sophisticated

Page 38: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

electronic circuits and this results in an increase in cost.

It was found, however, that there was insufficient time to

pass data between the drafting table and the mini-computer

to maintain continuous drafting when the scan-line image on

the CRT light-head was being generated by software. There-

fore, a hardware scan-line generator had to be used for line

drafting. Furthermore, it provided a discernably smoother

scan line.

The control of scan-line rotation when drawing

curved lines was achieved simply by the compilation of a

'look-up table.' The rotational angle was calculated by the

mini-computer so that positional accuracy could be obtained

without cumulative error, as usually occurs with a hardware

feedback control. Further details will

Section 3.3.1.

In the intensity control, the

of the drafting table can be calculated

or hardware. The software approach was

involved too much computer time.

be given in

equivalent velocity

by either software

rejected because it

3.2 System block diagram

A block diagram of the complete experimental

drafting system is shown in Fig. 3.1. It consists of the

control unit (a PDP8/e digital computer, a magnetic disc

storage unit and a 9-track magnetic tape unit), the drafting

Page 39: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

27

r CRT INTERFACE

MIN

I -C

OM

PU

TE

R

a)

co 0-1

PO

SIT

IVE

I/

0

B

US

CHARACTER

GENERATOR

LINE

GENERATOR

x

x

WIDTH

CONTROL

1 INTENSITY

CONTROL

X ' 8 Y ' 8

DRAFTING

TABLE

INTERFACE

C\1 0 tr)

TE

KT

RO

NIX

A

MP

LIF

IER

CRT

LENS

FIGURE 3.1

GERBER 22

BLOCK DIAGRAM OF INTERFACES AND CONTROL FOR THE CRT

LIGHT-HEAD

Page 40: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

28

table unit (a Gerber 22 drafting table and its PDP8/e inter-

face), the CRT light-head unit (Tektronix 502 oscilloscope),

and the optical lens unit. (See Figures 3.2 and 3.3a,b,c,d).

The drafting table interface, manufactured by

Dynamap (Fig. 3.3c), is designed for the Gerber 22 drafting

table which is controlled by a PDP8/e mini-computer to give

a maximum speed of the table of about 15cm per second with

acceleration and deceleration control. It receives the

incremental line data from the PDP8/e controller and converts

them into pulse trains for both the X' and Y' motor axes of

the drafting unit. The frequencies of the X' and Y' pulse

trains govern the velocities of the drafting table in the

X' and Y' directions respectively. In addition, another pair

of signals, X'8 and Y'8 are available to be employed for the

light intensity control. The frequencies of X'8 and Y'8 are

equal to eight times the frequencies of X' and Y' respectively.

The CRT interface can be divided into four units,

namely the character generator, the line generator, the

width control and the intensity control unit. However, the

character generator unit, which was designed by W.T. Wilkie

(see Appendix (D)), is treated only as an auxiliary unit in

line drafting. This unit is included in this block diagram

only because of its applications in the 'area-fill' and

'character printing' techniques. The CRT interface generates

analog voltages representing the desired X-Y coordinates on

Page 41: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

29

the screen of the CRT and the Z pulse (unblanking pulse

for dynamic scan-line generation.

The cathode-ray tube and the optical lens are

mounted on the carriage of the drafting table as shown in

Fig. 3.2. Photographs of the basic components of the complete

drafting system are shown in Figures 3.3a to 3.3d.

3.3 Line generator and its control

An expression of a straight line can be given

in the following formulae in an integral form:

Lx(t) X= X. dt

T 00. T

= Y.

+5. AY(t) dt

Where X. and Yi are the starting locations of the X and Y

axes respectively, Lx(t) andAy(t) are the vector components of

the straight line in the X and Y directions respectively, and

T is the time period during which the line will be traced.

Figure 3.4 shows the block diagram of the line

generator in the CRT interface unit. On receiving the data

(X Y., Ax and Ay) of the straight line from the PDP8/e mini-

computer, the X and Y ramps are generated and sent to the

corresponding X and Y deflection amplifiers (Tektronix 502

oscilloscope). The amplitude and polarity of the X and Y

ramps determine the length and direction of the line, and

Page 42: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

30

I

FIGURE 3.2 CRT LIGHT -HEAD

Page 43: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

32

• •

TPI

• •

ACCUL TP2

• 4, 4' 1! UL PRIO

LL SPAN TP3

• ••

• • •

• • •

• • • IS IS IT'

tk • AAAAA LIP1— .

FIGURE 1,3c INTERFACE UNIT OF GERBER 22 TABLE

n•

r • ,or.4-.•40. • ,

'111•••=dolm

1- 77 141.

INN

• • • .1- e iiiiiiiiiiirrrr • •

o • Isittefilt 4 ., •

0

d s.

(.1111111%{1.

7ft:tett

0 0 :

I

FIGURE 3,3d INTERFACE UNIT OF THE CRT LIGHT-HEAD

Page 44: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

31

4X•

.11

FIGURE 3.3a CRT LIGHT-HEAD MOUNTED ON GERBER 22 TABLE

Irt

• MIMI lit e

FIGURE 3.3b D.C.C. PDP8/e MINI-COMPUTER

Page 45: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

33

the d.c. levels of the X and Y ramps determine the starting

coordinates of the line on the screen. While the line is

being generated the Z pulse is unblanked, producing the

visible line.

For each X and Y ramp generator, two digital to

analog converters and two registers are used in addition to

the input decode logic. The binary data corresponding to

the initial position (Xi, Yi) are received from the computer

and stored in the XB and YB registers respectively. The

binary data specifying both the direction and length of the

px and Ay components are stored in the XA and YA registers

respectively. These registers drive associated digital to

analog converters. The integrating timing unit, triggered

by the signal from the intensity control unit, provides an

integrating timing-gate signal of constant duration for the

on/off control switches of the integrators.

Figure 3.5 shows the circuit of an integrator.

After the digital to analog converter voltage has been

applied to the integrating amplifier and the switch is opened,

the amplifier output will start moving linearly. The rate

at which the output moves will be determined by the digital

to analog converter output voltage, amplifier gain, and the

time constant RC. The ramp signal is then added to the

initial position voltage in the summing amplifier. The

signal is then routed to the deflection amplifier for a

Page 46: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

34

INP

UT

D

EC

OD

E

LO

GIC

X XA

REGISTER

AY

XB

REGISTER

y

YA REGISTER

YB

REGISTER

—.1 D. A . C . INTEGRATOR- T

D.A.C.

1*

D.A.C.

D.A.C.

INTEGRATOR -•

INTEGRATING TIMING-GATE SIGNAL

(FROM INTENSITY CONTROL

UNIT

S.A.

TO x --,pDEFLECTION

AMPLIFIER

SWITCH L _ _ _ - 1

S.A.

INTEGRATING

TIMING UNIT

TO y rDEFLECTION AMPLIFIER

TO WIDTH p.CONTROL UNIT

D.A.C.= DIGITAL TO ANALOG CONVERTER; S.A.= SUMMING AMPLIFIER

FIGURE :,3.4 BLOCK DIAGRAM OF THE LINE GENERATOR UNIT

FROM INTEGRATION TIMING UNIT

V V O

-1 Vo- V. dt

RC

(WHEN SWITCH IS OPEN)

FIGURE 3.5 INTEGRATOR

Page 47: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

35

line generation.

The high speed of the integrators requires fast

response from the deflection amplifiers and switching

circuits. A disturbance, or ringing, is produced at the

start of ramp generation by the transient response of the

integrating amplifier. The line would then appear quite

crooked at both ends unless the X and Y integrators,

amplifiers, and switches have identical lags. A 'running

start' technique, generating a ramp signal somewhat longer

than the line requested, was used to avoid this problem.

This method is used in the selection of the scan-line length

as explained in Section 3.3.2.

3.3.1 Rotation control

When drawing a line on the drafting table, the

direction of the line depends on the angle that the line

makes with the horizontal (X') axis. This angle Q is equal

to tan-ILLY'/OX'. (See Fig. 3.6a). In order to retain the same

line width in all directions of drawing, the angle b formed

by the scar-line image with the Y axis of the screen of the

CRT light-head has to be equal to the angle Q. This rota-

tion control is achieved by software programming.

As mentioned above, the four values, Xi, Yi, dx

and Ly, are required for the scan-line generation. By

varying this data according to the angle Q, an 'all direction'

scan-line can be obtained directly. For a certain length of

Page 48: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

3(7

36

scan-line, a look-up table holding these four values in

three degree increments is, therefore, compiled in the scan-

line generation table. This table can be reduced in size

by taking advantage of symmetry in the scan-line generator.

(See Fig. 3.6b).

On receiving incremental data,AX' and AY', the

computer first calculates the angles Q in which the drafting

will proceed, looks up the values of Xi, Yi,Ax and Ay, and

sends them to the line generator for scan-line generation,

and then transfers the LX' and AY' values to the drafting

table interface for the line drafting. In this way, when-

ever drafting starts, the scan-line image on the light-head

has already been adjusted for the direction of the line.

3.3.2 Width control

Figure 3.7 shows the block diagram of the width

control unit in the CRT interface. Whenever the X and Y

deflection amplifiers receive the input ramp pulses, an

unblanking pulse is generated from the width control unit.

The width of this unblanking pulse determines the duration

of the visual image on the CRT and thus the length of a

scan-line.

As shown in the diagram (Fig. 3.7), a reference

ramp signal is generated from the integrator according to

the integrating pulse coming from the line generator unit.

The maximum amplitude of the ramp signal is set to positive

Page 49: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

37

Y

bI

FIGURE 3.6a TOP VIEW OF THE DRAFTING TABLE

-4"X

r♦— Ax,

FIGURE 3.6b FRONT OF THE CRT SCREEN

Page 50: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

INTEGRATING PULSE

FROM LINE

GENERATOR

UNIT

MANUAL

WIDTH

SELECTOR

MANUAL

AUTO DATA

FROM

COMPUTER

INTEGRATOR

VOLTAGE

DIVIDER

DUAL VOLTAGE

COMPARATOR

FIGURE 3.7 BLOCK DIAGRAM OF THE WIDTH CONTROL UNIT

INTENSITY

PULSE

Page 51: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

39

5 volts by adjusting the reference input voltage, and its

duration is exactly equal to the X and Y ramps. This signal

is then connected to a dual voltage comparator which receives

other voltage levels from a programmable voltage divider.

The output of the width control unit, the intensity pulse,

is obtained by filtering the unwanted resetting portion

from the signal coming from the dual voltage comparator.

Figure 3.8 shows the output signal corresponding to the

terminals located in the block diagram. From the diagram,

it is noted that the lagging edge of the reference ramp in

the resetting duration does not return to zero immediately.

This is due to a residual charge build-up, through the on-

resistance of the switch on the integrating capacitor.

The block diagram of the programmable voltage

divider is shown in Fig. 3.9. The output voltages from the

terminals E and D are selected by changing the resistance

value across these terminals. The decoder, obtaining the

width input signal via the width register from the computer,

selects the resistance value by closing the corresponding

switch. For calibration, the width input signal can also

be supplied from the manual width selector on the front panel

of the CRT interface unit. Eight outputs from the decoder

are available in the unit: one of them is applied to inhibit

the intensity pulse in order to turn off the electron beam;

the others are used for resistance selection.

Page 52: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

A ---- [_- INTEGRATING 1 TIME

i I I i I 1 I I I I 1 I

I I 1 I i I I +- I

1

:R.P . t I.P.

I.P. = INTEGRATING PERIOD R.P. = RESETTING PERIOD

INTEGRATING

TIME

INTENSITY PULSE

FIGURE 3.8 WAVEFORMS OF THE SIGNALS FROM THE WIDTH CONTROL UNIT

Page 53: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

INTENSITY INHIBIT

WIDTH --IP

INPUT

WIDTH

REGISTER

DECODER

R

R

TTT

R

R.

TT

FIG

UR

E 3

.9

BL

OC

K

DIA

GR

AM

O

F T

HE

V

OL

TA

GE

D

IVID

ER

TO

D

UA

L

VO

LT

AG

E

CO

MPA

RA

TO

R

Page 54: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

42

The advantages of this approach are three-fold:

a) The intensity of a scan-line is not affected

by varying the length of the scan-line image.

This is because the CRT beam always traces out

a line of a constant length, and of a constant

duration. The sweep rate of the CRT beam as

well as the intensity of the line is constant

so that there is no need for intensity correc-

tion as is necessary for variable length scan-

line generation with a conventional analog

technique.

b) The visual image is only intensified at the

middle section of the line generated by the line

generation unit. The crooked line due to the

ringing at the ends of ramps is thus avoided.

c) Only one look-up table is required to be compiled

for the control of rotation if the voltage

levels from the terminal E and terminal D are

symmetrical about the center of a scan-line.

3.3.3 Intensity control

The exposure on a film is defined as the product

of the intensity of light (CRT) seen by the film and the time

the film sees the light. Whenever the speed of the drafting

table varies, the optical density of the image will be changed

unless the product of the intensity of light and the exposure

Page 55: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

43

time can keep constant. Usually, the intensity of a CRT

is controlled by the beam current or the acceleration grid

voltage. However in both the electrostatic deflection CRT

and the electromagnetic deflection CRT, the spot size of

the CRT is affected by varying the beam current(14)

. This

is largely due to the space charge effect: the mutual

repulsion of the electrons tends to spread the beam, thus

increasing the spot size. In addition, excessive spot bright-

ness produces a halo effect due to internal reflections

within the screen and thus affects the quality of the line

drawn on a film.

On the other hand, for a certain intensity level

of a CRT, the exposure on a film can be maintained by the

time parameter. A scan-line image is generated repeatedly

at a rate according to the speed of drafting so that the time

for which the film sees the light is constant. In other

words, the faster the drafting table proceeds, the higher

the frequency of the unblanking pulse sent to the Z-axis of

a CRT. This principle was employed for the intensity control

of the line drafting system.

In the Gerber 22 drafting table, the X' and Y'

axes are independently driven by stepper motors. The velocity

of either axis can be specified by monitoring the frequency

of the pulses supplied to its stepper motor from the draft-

ing table interface unit. For the purpose of increasing

Page 56: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

44

accuracy, the X°8 and Y'8 pulse trains, as previously

mentioned, are employed instead of the X' and Y' pulse

trains. Figure 3.10 shows the block diagram of the intensity

control unit. Both the X'8 and Y'8 pulse trains are sent to

the two input channels of frequency-to-voltage-converter where

analog voltages proportional to their frequencies are

produced. The analog voltages are then sent to the velocity

compute circuit. Using the Pythagorean theorem, the output

voltage from the velocity compute circuit has an amplitude

equal to the square root of the sum of the squares of the

two input voltages. This voltage, which represents the

total velocity of drafting, is then converted into a pulse

train by the voltage-to-frequency converter. The frequency

of this pulse train is thus proportional to the velocity of

drafting. The pulse train is then applied to trigger the

integrating timing-gate of the line generator unit. In

this way, the repetition rate of generation of the scan-line

image on the screen of the CRT light-head is controlled

automatically by the speed of drafting, and thus controls

the intensity of a scan-line.

In the intensity control unit, besides the auto

mode just described, there is a manual mode for the control

of intensity. A manual adjustable clock is provided for

selecting the desired repetition rate of the scan-line. This

is especially useful in calibrating the intensity of a CRT

Page 57: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

X'8

Y'8

F.V.0

FROM

WIDTH

CONTROL

UNIT

F.V.C.

R. M. M.

R.M.M.

INTENSITY INHIBIT

INTENSITY PULSE

fAl +

V.F.C.

MANUAL

DJUST

LOCK

PLOTTER STATUS

UNBLANKING

AgTO

INTEGRATION

TIMING UNIT

( LINE GENERATOR

MANUAL

UNIT

PUTSE

AMP

F.V.C. = FREQUENCY TO VOLTAGE CONVERTER

V.F.C. = VOLTAGE TO FREQUENCY CONVERTER

R.M.M. = RETRIGGERABLE MONOSTABLE MULTVIBRATOR 20 Z-AXIS OF CRT

FIGURE 3.10 BLOCK DIAGRAM OF INTENSITY CONTROL

Page 58: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

46

or in an exposure test.

In order to ensure that the electron beam of the

light-head is completely turned off when the drafting table

comes to the end of a line, or if it stops during the draft-

ing operation, the plotter status signal from the 'or' gate

is set to reflect the go/stop state of the drafting table.

(See Fig. 3.10). The inputs to the 'or' gate come from two

retriggerable monostable multivibrators where the logic

signal will be true when a train pulse from the drafting

table interface is received. Consequently, the plotter

status signal will be true if, and only if, the drafting

table is in movement.

Other signals such as the intensity inhibit signal

and the intensity pulse signal from the width control unit

are connected as inputs to the 'and' gate in addition to

the plotter status signal for generating an unblanking pulse.

The intensity inhibit signal will be false only if the width

input is at the value of zero which indicates the off-beam

command. The intensity pulse signal signifies the time

period for a desired length of scan-line image. Under the

conditions that all the signals of the plotter status signal,

the intensity inhibit signal and the intensity pulse signal

are true, a visual image is traced on the screen of the

light-head by sending the unblanking pulse to the Z-axis

of the CRT through a voltage amplifier.

Page 59: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

47

3.4 The input/output transfer instructions

The input/output transfer instructions (I0T) are

used to initiate the operation of peripheral devices and

to transfer data between peripherals and the central processor.

To conserve the number of IOT's, all the necessary information

for the system operation is transferred from the accumulator

(AC) of the mini-computer into the control unit as a command

word. Figure 3.11 lists the IOT's that are to be used to

allow the PDP8/e mini-computer to control automatically the

functions in the line drafting system.

3.5 Sequence of operation

Flowchart 3.1 indicates, in a simplified manner,

the normal sequence of events for the data search and line-

drafting operation as directed by the line-drafting program.

For standard line-drafting application, the line-

drafting program performs the disc directory look-up function

to find which data file or files hold the desired data. In

cartography, digitized data can be stored either in an

incremental or in an absolute format. However, in this

particular line drafting system, only the incremental format

is acceptable, so that data in absolute format has to be

converted into incremental format during the line drafting

operation. Furthermore, in the application of cartographic

line drafting, 'forward-look-linear' interpolation is applied

Page 60: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

48

INSTRUCTION FUNCTION

6141 Load XB buffer register from PDP8/e accumulator. The accumulator is not automatically cleared by this operation. (Load initial position data of x of the scan-line).

6142 Load YB buffer register from PDP8/e accumulator. The accumulator is not automatically cleared by this operation. (Load initial position data of y of the scan-line).

6144 Load width buffer register from PDP8/e accumulator. The accumulator is not automatically cleared by this operation.

6132 Load XA buffer register from PDP8/e accumulator. The accumulator is not automatically cleared by this operation. (Load x data of the scan-line).

6134 Load YA buffer register from PDP8/e accumulator. The accumulator is not automatically cleared by this operation. (Load y data of the scan-line).

6331 Skip next sequential program instruction if the control busy flag is raised.

6332 Skip next sequential program instruction if the plot busy flag is set.

6333 Skip next sequential program instruction if the normalization error flag is set.

6321 Clear all registers and flags in the controller.

6322 Load the most significant 12 bits of X' from PDP8/e accumulator. The accumulator is automatically cleared by this operation.

6323 Load the least significant 12 bits of X' from PDP8/e accumulator and then clear the accumulator.

6324 Load the most significant 12 bits of Y' from PDP8/e accumulator and then clear the accumulator.

6325 Load the least significant 12 bits of Y' from PDP8/e accumulator and then clear the accumulator.

6326 Load status register from PDP8/e accumulator and then clear the accumulator.

6327 Plot go (commands the control logic to proceed with pre-plot processing). If the plot busy flag is not up, the controller will proceed with the plot. If plot busy flag is set, the controller will wait for it to reset, then proceed with the plot.

FIGURE 3.11 I.O.T. FOR THE SYSTEM

Page 61: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

49 Enter from

line-drafting program

Fetch line draw settings (scale, line width,)'plotting mode

Search data file

Incremental format

Convert to incremental format

End of file 9

N

Lx, &AY'=

Calculate 6 = tan-1 LY'&X'

Load Xj.,Y3_,Lx,Ay to CRT

interface

Load AX' & AY' to the drafting table

Width change

Load width

Normalization error

• Error exit

Control busy

Return to line-drafting program

Plot busy

Plot line data

FLOWCHART 3.1 LINE-DRAFTING

Page 62: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

for the purpose of generating a smoother line output. Further

details of this method are given in Appendix (B).

The line width and the beam on/off command are

both controlled by the selection of the width input to the

width control unit. A width of zero is the off command.

It should also be noted that a normalization error will occur

in the drafting unit interface whenever both the incremental

data, AX' and AY', are zero. This error is eliminated by

software detection so that the zero incremental data will

not be loaded to the drafting unit interface.

Once the drafting settings such as the scale of

the map, the width of the cartographic line and the drafting

mode are given, no human intervention is required for the

system during the line drafting operation.

3.6 Samples of line drafting

3.6.1 General

This section discusses the performance of the CRT

light-head prototype system and associated hardware presented

in an earlier section. The purpose of testing the prototype

system was to verify the feasibility of the proposed auto-

matic drafting system and to identify all variables that

could have a significant effect on the quality and accuracy

of results.

Much emphasis was placed on evaluating the system

Page 63: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

6"7

51

from the cartographic user's point of view; that is, its

ability to draft on film to a very high quality. However,

due only to the limitations in quality of the CRT, as well

as to its mounting, the output from this experimental proto-

type system was far below the quality which would be con-

sidered adequate for a production unit.

All of the line drafting tests were conducted with

a rectangular shaped light spot using the GAF ECONOLINE P4

film. Under the magnification of the optical lens (approxi-

mately 0.15), the width of a scan-line image focussed onto

the film is equal to 0.09mm and the length of it varies from

0.1mm to 0.7mm, dependent on the width control unit. The

former value is governed by the spot size of the CRT light-

head (approximate 0.6mm) at a certain grid voltage, while

the latter is controlled by the gain of the deflection

amplifiers.

Three types of tests were performed in line draft-

ing. Firstly, an exposure test was conducted to determine

the maximum drafting speed as well as the scan repetition

rate. Secondly, graphical data generated mathematically

from the computer was applied for testing the dynamic image

rotation and the line width generation. Thirdly, digitized

cartographic data were employed directly for map generation

using forward-look linear interpolation.

Page 64: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

52

3.6.2 Drafting on film

3.6.2.1 Exposure test

The first parameter that must be considered when a

light-head is employed for line drafting is the relationship

between the intensity of the light-head and the speed of

drafting. For a certain drafting material, the intensity

control must vary the intensity of the projected image

proportionally to its velocity to maintian constant exposure

conditions. In this system, it is accomplished by varying

the frequency of the scan repetition.

The maximum drafting speed of the system was

determined by drawing a series of lines (0.3mm in width) at

selected frequencies of 45K Hz and 40K Hz. The exposure

time of each line was varied by manually adjusting the speed

of the drafting table. Figure 3F.1a shows a sample of the

results. It should be noted that the 45K Hz was the cutoff

frequency of the line generation unit and, therefore, the

40K Hz was selected as the maximum scan repetition rate of

the projected image. From that figure the maximum drafting

speed of the prototype system was defined to be 1.22 cm/sec

by comparing the optical density of the film output.

In order to determine the function of the quality

of the line in terms of the repetition scanning rate and the

velocity of drafting, a series of lines was drawn at selected

speeds from 0.04 cm/sec to 1.22 cm/sec- (Figure 3F.1b shows

the samples of 1.04 cm/sec and 1.22 cm/sec) while manually

Page 65: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

53

SPEED FREQUENCY = 45 K Hz FREQUENCY = 40 K Hz

cm/sec in/sec

1.22 0.48

1.45 0.57

1.83 0.72

2.08 0.82

2.44 0.96

2.92 1.15

3.66 1.44

4.88 1.92

FIGURE _3F. la

FREQUENCY K Hz

SPEED =1.04 cm/sec (0.41 in/sec)

SPEED = 1.22 cm/sec (0.48 in/sec)

45

40

35

30

25

20

15

10

8

6

4

FIGURE 3F.1b

FIGURE 3F.1 SAMPLE OF EXPOSURE TEST

Page 66: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

adjusting the repetition frequency of the scan-line. Ideally

this relation should have varied linearly with the drafting

speed. However, the high contrast nature of the film made

it difficult to obtain valid results from the test. Any

slight variation of illumination across the width of the

line produced a significant change in density. Hence, some

other experiments with lower drafting speeds were conducted

separately. The results showed that the function is not

linear, especially at lower velocities (less than 0.2 cm/sec).

The lower velocities required a higher frequency rate than

would have been expected. It is believed that this non-

linearity is caused by a phenomenon known in photography as

the intermittency effect. An intermittent exposure is not

equal to a continous exposure for the same time but differs

by an amount which depends upon the rate of intermittency

and the intensity level of exposure.

The non-linear characteristics of the intensity

control did not adversely affect the quality of lines produced

for the range of drafting speeds used when the operating

point of the control is set high enough to ensure proper

line exposure for low speeds. It was found that a varying

frequency range from 30K Hz to 40K Hz, when at upper drafting

speed (greater than 0.2 cm/sec) of the drafting table, was

appropriate for the intensity or scan repetition frequency

control. When at lower drafting speeds, a constant frequency

Page 67: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

55

of 30K Hz produced acceptable results. The excess amount

of intensity that is present at very slow speeds is allow-

able because of the large exposure latitude of the photo-

graphic film used.

3.6.2.2 'Mathematically based' line data drafting

'Mathematically based' line data for a sine-wave

were generated by the computer and applied for line draft-

ing in the system. A sine-wave was chosen mainly because

it provided an excellent check on the dynamic image rotation

and width tolerances of a line drawn at a diversity of angles.

The width tolerances were determined by the

stability and accuracy of the rotation and width control

units. The most significant source of error resided in the

drift of the rotational center of the projected image during

curved line tracing. This was caused partly be the lag of

the Z pulse received from the intensity control unit to the

CRT light-head through the cable carrying signals between

them, and partly by an irregularity in the programmable

voltage divider of the width control unit. This error was

eliminated by a compensating circuit.

Figure 3F.2 and Figure 3F.3 show the quality that

can be obtained at different line widths with the experimental

CRT light-head and the Gerber drafting table. From these,

the width of the sine-waves shown are 0.3mm ± 0.01mm in

Page 68: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

58

Fig. 3F.2, and 0.5mm ± 0.01mm in Fig. 3F.3 respectively. It

will be noted that all the points along the sine-wave are

drawn smoothly except when the peaks of the line are reached.

It is believed that this graphical irregularity was caused

by a backlash in the driven gear on reversal of direction of

the drafting unit which was a fault present at the time of

the tests.

3.6.2.3 Digitized cartographic line data drafting

The results obtained by the point-to-point linear

interpolation for a map generation with cartographic data

which are digitized from maps were not as good as those

obtained with 'mathematically based' data. The reason is

that the data of cartography such as a shoreline usually has

many abrupt changes in its direction. The dynamic image is

unable to follow these abrupt changes unless a waiting loop

is generated in software programming. However, the waiting

loop appreciably decreases the drafting speed. In addition,

as a result of the backlash in the driven gear of the draft-

ing unit, the edges of the line became jagged and there is

noticeable drift at the turning points of a line.

The smoothness requirement of cartography was met

by using a four-point look-ahead linear interpolation. Figure

3F.4 shows a sample plot in a shoreline drafting. In the

figure, the width of the shoreline shown is 0.3mm 4- 0.015mm.

Page 69: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

6o

3.6.3 Cause of irregularities

In general, the film produced by the experimental

light-head system indicates that the system is working

properly in line drafting within the operating speed of the

drafting table. In addition to the deviations such as the

drift in dynamic image rotation, the intermittency effect

and the backlash of the drafting unit have to be taken into

account when the performance of the system is considered.

There was some drift of the d.c. levels caused

mainly by the temperature sensitivity of the operational

amplifiers used. It affected both the stability and accuracy

of the hardware circuit and thus the quality of line obtained.

This could be minimized by employing a temperature compensa-

tion circuit in any future hardware design. The gain of some

of the components was frequency dependent. This caused some

noticeable errors when the system was operated at extreme

frequencies. These errors could be reduced by using large

bandwidth components with better cutoff frequencies. The

film processing conditions such as temperature, development

time and humidity represent other factors that affected the

width and density of lines(15)(4)

Furthermore, the optical aberration of the lens,

the mechanical tolerance of the light-head mounting and the

flatness of the drafting table directly affected the perfor-

mance of the system.

Page 70: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

V. I

61

4. AREA FILL

4.1 General

One of the advantages of a CRT light-head is that

it can generate any shape of image as desired. In carto-

graphy, the generation of area colour overlays is achieved

by manually removing areas of 'peel-coat' sheet material.

This process is extremely tedious and time consuming. In

this chapter, an 'area-fill' program is introduced to alleviate

this problem by using the CRT light-head. This program auto-

matically analyses the data around the perimeter of a polygon

(i.e0 a lake, an island or a bounded area) and fills the

inside areas of the polygon according to the 'fill-in'

pattern selected by the user.

In addition to the block-fill pattern, where the

entire defined area undergoes solid fill, six 'fill-in'

shaded patterns can be obtained by changing the slope of

the filling lines, or their spacing. Different 'fill-in'

patterns can be employed for the separation of areas or

countries in a map presentation. In practice, four different

'fill-in° patterns are sufficient to prevent the same pattern

appearing on both sides of any boundary on any map on a

sphere (or consequently on any planar projection of such

a map)(16)

In order to obtain maximum flexibility with minimum

positional error and a relative uniform intensity over the

Page 71: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

62

entire figure, a digital technique for line generation is

used. In other words, the 'area-fill' program is carried

out by the character generation unit instead of the line

generation unit as in the proto-type automatic drafting

system. This unit was presented by Wilkie(5). Furthermore,

a visual check of the performance of the 'area-fill' program

is allowable by displaying the filled area on the Tektronix

611 storage display.

4.2 Programming

4.2.1 Input parameters

4.2.1.1 Window

'Window' is defined as a rectangular area within

the screen of a CRT which is available for area fill. (See

Fig. 4.1). The dimensions of the window were designated as

the height of the window (Wh) and the width of the window (Ww).

4.2.1.2 Fill-in pattern code

Seven codes are available for different pattern

fillings. The lines from which they are made are signified

by two variables, namely the slope of the lines (M) and

the spacing between them (S). (The spacing is in terms of the

addressable line spacing of a CRT.) The patterns are listed

according to their code numbers in the following table.

Page 72: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

63

63

WINDOW

MAX. Y FILLING LINE

SPACING

MIN. Y

.1

MIN. X MAX. X

FIGURE 4.1a FILL-IN PARAMETERS

(A)

Pi

cir

FIGURE 4.1b MID-POINT APPROACHING

Page 73: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

64

CODE M S REMARK

1 0 108

2 1 148

3 -1 148

4 00 108

5 combine code 1 and code 4

6 combine code 2 and code 3

7 0 1 block fill

4.2.1.3 Data format

Only absolute coordinate forNat is at present

acceptable for the 'fill-in' algorithm. For example, a

polygon with n sides has n vertices, P1' P2'

P- j

Pn

(see Fig. 4.1a). The coordinates (xi, y,) of all vertices

of the polygon have to be stored in the memory of the PDP8/e

mini-computer sequentially, either in a clockwise or counter-

clockwise order. This format of data was digitized and

compiled in a DEC OS/8 structure file through the carto-

graphic system developed at the University of Saskatchewan.

4.2.2 Processing a filling-line

The equation of a filling line is defined as

Y. =7- MX. + b + iS

Where Y is the Y coordinate

X is the X coordinate

i is the number of the filling-line

M is the slope of the filling-line

S is the spacing between filling-lines

Page 74: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

65

65

b is the Y coordinate that the starting filling-line meets the Y axis. It is determined by the size of window and the slope of the filling-line.

Assuming that the polygon to be filled is within

the allowed window, all filling-lines inside the polygon

have to be detected for the fill-in purpose. There are

two fundamental parts of the processing which determine

whether a line meets the above condition, namely the inter-

section point computation and the point-in detection.

4.2.2.1 Intersection point computation

Mathematical calculation for the intersection of

two given straight lines is relatively complicated and tedious

even using machine language for programming. Therefore, in-

stead of calculating the intersection point of a filling-

line and the polygon, all the points along the perimeter of

the polygon are substituted in turn into the equation of a

filling-line. A zero result indicates that the coordinate

substituted is an intersection point of the boundary and

this filling-line. In this way, both the coordinates and

the number of intersection points are stored in the computer.

The coordinates of points along the perimeter are

generated by the mid-point approaching method. For example,

two adjacent vertices of a polygon are considered as two

end points of a straight line. (See Fig. 4.1b point A and

'1' point B). In Fig. 4.1b, point G is generated by repeat-

Page 75: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

66

66

edly bisecting the segment A'il'B until the length of A'il'

B

is less than or equal to iTtimes the grid spacing of a CRT.

As a result, point G'1' takes place of the end point B, and

the new point which is obtained in the same way is

calculated in turn until it reaches the end point A. In

this manner, the 'G' points move toward the end point A

along the mid-point locus between A and B. The mid-point

coordinates can be obtained quickly by shifting binary

numbers, and this method ensures that all the points lie on

a straight line within the tolerance of the distance between

the discrete grids of a CRT. This method is also used for

the line generation in area filling.

4.2.2.2

from the

Point-in detection

If the number of the intersection points obtained

above processing is equal to or greater than two,

the coordinates of the intersection points are rearranged

and restored in an increasing X or Y order according to the

slope of the filling-line. After that, the line segments

between these intersection points are checked separately to

see if they lie inside or outside the polygon. If they are

inside of the polygon, they will be filled by intensifying

the light output on this portion of the line.

Except for the terminal points of the line segment

which will lie on the perimeter of a polygon, all other

points on a line segment are either inside or outside the

Page 76: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

67

bounded area. To examine if a given line segment lies inside

or outside the polygon, it is sufficient to check if the

mid-point of this line segment is inside or outside the

polygon. The mid-point is selected as it is simply generated.

A line through the mid-point and parallel to the Y axis is

constructed and the number of points of the polygon which

intersect with the line are counted. If the number is odd,

the line segment to be detected is inside the polygon. The

only ambiguity with this detection occurs when a vertex of

the polygon lies directly on the line parallel to the Y axis.

In this condition, the two adjacent vertices on the polygon

are considered. If these two vertices are on different sides

of the line, then one intersection is counted; otherwise

two. In the case that one of the adjacent vertices also

lies on the line, further adjacent vertices have to be

considered in turn.

4.2.3 Example of area fill

Fig. 4.2 illustrates the method of processing. The

polygon P1P2P3 .... P15 is inside the area fill window. The

filling-line i meets the perimeter at two points, ai and

bi (in an increasing X order). The line through the mid-

point mil a. a.

of the line segment a.b. parallel to the Y axis

meets the perimeter once at point I11. This is an odd number

(1) of intersections, and thus it indicates that the line

segment aibi is inside the polygon.

Page 77: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

68

68

O

3t . ,*()

A% \1RI

PS

Pi

Pie

Ps

FIGURE 4.2 EXAMPLE OF AREA FILL

Page 78: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

69

69

The filling-line j meets the perimeter at point

aj, bj, cj and dj. The line through mil cuts the perimeter

four times at P , 3 J11,

J12 and P8. However, since P2 and

P4 are on the same side of the line, two intersections are

counted. Point P7 and P

9 are on different sides, and thus

one intersection is counted. An odd number (5) of inter-

sections is recorded in total which thus indicates that the

line segment a.Jb. is inside the polygon. As for the line

segment b.Jc., an even number (2) is recorded so that it is

outside the polygon. For the line segment c.d., an odd J J

number (1) is obtained so that it is inside the polygon.

Flowchart 4.1 shows the area-fill subroutine.

4.2.4 Application

Up to now, it is assumed that the polygon to be

filled can be accomodated within. the allowable area (window)

of the CRT. However, when it exceeds the dimension of the

window, the polygon has to be divided into sub-polygons

so that each of them can be handled within the available

area of the light-head. This check can be perfolmed quickly

if, for each polygon, min.x, min.y, max.x and max.y values

of the coordinates of all its vertices are computed and

stored. These minimum and maximum values can be viewed

and defined as a rectangle which surrounds the polygon.

(See Fig. 4.1a). Comparing that rectangle with the window

quickly indicates whether further division is required.

Page 79: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

7

70

Enter from area-fill program

Load data of area to be filled

Create the slope, the spacing and the margin of scanning lines for filling according to the filling code

Compute intersection points and store them into the memory

Next filling-line

A.

as filling-

line

Return to area-fill program

End of data

Y

Is the number of

intersection points le Nsthan 2

Rearrange the data in an increasing x/y order and restore them into the memory

Next segment

Count the number of edges of the polygon which Intersect the line parallel to the y/x axis through the mid-point of point-pair segments in turn

,,— Is an odd no.

Y Join point-pair segment together

Last N segment

FLOWCHART 4.1 AREA-FILL SUBROUTINE

Page 80: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

71

The flow chart of the area-fill program is shown

in Flowchart 4.2. The program first computes the minimum

and maximum values of the polygon and compares them to the

dimension of the window. If the dimension of the polygon

exceeds that of the window, the program then decides the

number of sub-polygons necessary. For each of these sub-

polygons, new area-fill data is compiled in the memory of

the computer. The whole area of a polygon will be filled

section by section by moving the light-head to each sub-

polygon in turn. (See Fig. 3.5a and Fig. 3.5b).

4.3 Samples of work

The photographs, shown from Fig. 4.3 to Fig. 4.6,

were taken directly from the Tektronix 611 storage display.

A one-to-one print of the CRT light-head film output is

shown in Fig. 4F.1 to illustrate the actual performance

of the system.

From Fig. 4F.1a, it can be noted that there is a

large deviation in width of the boundary line of the areas.

(In fact, the width and the density of a line generated by

a digital technique varies according to its slope). The

major error in width, however, is due to the curvilinear

distortions of the optical lens. Since a 3-inch square area

on the screen of the CRT is focussed down onto the film,

the rays pass through the lens at a large angle to the

Page 81: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

Start

Load data of area to be filled and filling code

Compute the max. and min. values of the area (x & y)

Data exceed the window

of the CRT

Y

Determine the no. of sub-sections Move the draft-of the area divided by the height ing table to of the window in the y direction the min.x and

min.y position

Transport and load the data of the sub-section area

Compute the max. and min. values of the area (x & y)

Next y sub-section

Data exceed the window

of the CRT

Move the draft-ing table to the new min.x and min.y position

Go to area-fill subroutine

Las sub-sect on

of y directio

End of program

Go to the area-fill subroutine

(End of program)

Determine the no. of sub-sections of the area divided by the width of the window in the x direction

Transport and load the data of the sub-section area

Move the drafting table to the new min. x & min. y position

[Go to area-fill subroutine

[

Next x sub-section

Last sub-section of x

direction

FLOWCHART 4.2 AREA-FILL PROGRAM

Page 82: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

73

If•

FIGURE 4.3 BOUNDARY OF AREA-FILL (611 display)

Page 83: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

74

FIGURE 4.4 SAMPLE OF BLOCK-FILL

Page 84: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

75

FIGURE 3.5a

FIGURE 3.5b

FIGURE 3.5c

FIGURE 4.5 SAMPLE OF AREA-FILL BY VARYING THE DIMENSION

OF THE WINDOW

Page 85: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

76

••• •

SO • • et

sum• rims • r. •

.FIGURE_ 4 6 SIX FILL-IN PATTERN CODES

Page 86: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

77

4

FIGURE 4.7 SAMPLE OF AREA SEPARATION

Page 87: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

79

optical axis. This produces distortions. Furthermore, the

deviation in position between the lens plane and focal plane

also affects the quality of the boundary.

In the experimental test, the apparent missing

points on some of the film output in area-fill were caused

by burns on the CRT phosphor. These burns were made during

the early testing of the system. Because of the limitation

in the precision of the position control for an image on the

CRT light-head, no attempt was made to fill in a large area

on a film.

Page 88: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

80

3. CHARACTER PRINTING

5.1 General

A photo-typesetter eliminates the time-consuming

task of individually tracing each symbol or character. It

affords a significant reduction in drafting time because,

on the average, thousands of symbols appear on a map.

Using a CRT light-head, an almost unlimited magazine of

characters is available as they are stored in digital form

in the computer memory. The character printing is obtained

by moving the light-head to the specified position and

imaging the complete filled line character onto the film

through the optical lens.

Characters are surrounded by their boundaries.

For the application of character printing, the procedures

of the 'area-fill' subroutine as described in. Chapter 4 can

be applied. The boundary data of a character can be obtained

directly by digitizing the coordinates of its vertices and

storing them into the library file of the computer. Rota-

tion and scaling of a character are obtained by calculating

the new coordinate data of the vertices according to the

angle of rotation and the magnification vector.

5.2 Programming

The simple transformations of translation, rota-

tion, and scaling in the Cartesian graphical system are listed

Page 89: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

81

as follows(17):

Translation:

' y' 1)

Rotation:

Scaling:

Where (

= y 1) 1 0 0 1

0 0

Tx Ty 1

cos() sing 0 -sin() cos() 0 0 0 1

x y 1[ 1 0 Sy 0 Sx 0 0

0 0 1

' y') is the coordinate of a point after transformation

(x, y) is the coordinate of a point before transformation

Tx is the distance to be translated in the X direction

Ty is the distance to be translated in the Y direction

is the counterclockwise angle of rotation about the origin of the system

Sx & Sy are the magnification factors in the X and Y direction respectively. They have the effect of distorting characters by elongating or shrink-ing them along the directions parallel to the coordinate axis.

For the application of character printing, all the

coordinates of the vertices of a character are transformed

by the translation equation so that their center point

(Cx, Cy) becomes the origin of the coordinate system. (i.e.

Tx = -Cx; Ty = -Cy) . The center point (Cx, Cy) is calculated

Page 90: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

82

by determining the minimum and maximum valueS of the character.

Scaling is achieved through the scaling equation

with the desired values (Sx and Sy). If the rotation center

(Rx, Ry) coincides with the center point (Cx, Cy), the

rotation equation can then be applied to rotate the character

in three-degree increments. If the rotation center is defined

other than as the center point, further translation is

required so that (Rx, Ry) becomes the origin. (i.e. Tx =-Rx;

Ty = -Ry) ; the rotation equation can then be applied. Finally

the point is translated so that the origin is returned to

the center point. (i.e. Tx" =Rx; Ty" =Ry).

In order to ensure that all characters are generated

at the center of the screen (Cx', Cy') of the CRT light-head,

all the points of the character have to be translated so

that (Cx, Cy) lies on (Cx', Cy').

The area-fill subroutine is then carried out to

fill in the, bounded area using the light-head for the character

printout. The routine of the program is illustrated by

Flowchart 5.1.

5.3 Advances on previous work

Character printing using the method of 'area-fill'

can provide versatile filling patterns as described in

Chapter 4. By calculating each vertex of a character,

scaling can be achieved without any limitation as would

Page 91: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

83

( Start

Load data of character, angle. of rotation, scale and position of the character

Compute the center of the character (Cx,Cy)

Translation transformation w.r.t.1 (Cx,Cy)

[Scale transformation

ra Rotation R y)=( x, Y____>-Y

------- ?angle =0 --..., _, '?

> 7'

Translation trans--T formation w.r.t. 1 (Rx,Ry) i

rotation rans-formation

Translation trans-formation w.r.t. (-Rx,-R -)

Rotation trans-formation

Translation transformation w.r.t. (-Cx',-Cy')

WKre the drafting table t the specified position

[Go to the area-fill subroutine

(End of program

FLOWCHART 5.1 CHARACTER PRINTING PROGRAM

Page 92: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

84

occur with Wilkie's(1)

method which stores the absolute

start and end coordinates of the scan lines forming a

character. The area-fill technique provides better results

in terms of quality than Wilkie's method. This is partly

due to the round-off error in the calculation of rotation.

In Wilkie's method, these errors affect all points along

the perimeter of a character so that uneven edges may appear

on the boundary of the character. On the other hand, in

this method the round-off errors have effect only at the

vertices of a character and not at the points between them.

Furthermore, the slope of filling-lines is independent of

the angle of rotation so that the density is constant all

the time.

Another advantage of the area-fill method is that

it can select any rotation center by a simple translation

transformation. It is more suitable to use a mathematical

control for this change, The boundary data is usually most

easily obtained in cartographic applications directly by

digitization of enlarged characters. The major drawback of

this method is the slower filling speed of characters as

compared to Wilkie's method. The drawing speed depends on

the size and the number of vertices of the character, For

example, this method, on the average, takes 4 seconds for

each character drawn in Figure 5F.1h, which is 12 times

longer than Wilkie's method for that size of printing.

Page 93: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

85

5.4 Samples of present work

Figure 5.1 to i"igure 5.4 are taken from the

Tektronix 611 storage display.

For comparison of the quality obtained by the

two different methods, Figure 5.3 is generated by the area-

fill technique with the same angle of rotation of the

character as those shown in Figure 5.4 which was generated

by Wilkie ''s method. Also, the film outputs of the CRT light-

head as shown in Figure 5F.lb and Figure 5F.1a were generated

by the area-fill method and Wilkie's method respectively

to illustrate the actual performance of the system.

Page 94: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

86

FIGURE 5.1 SAMPLE OF CHARACTER PRINTING (611 display)

Page 95: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

87

FIGURE 5 . 2 SAMPLE OF SCALING

Page 96: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

88

FIGURE 503 SAMPLE OF ROTATION (AREA-FILL TECHNIQUE)

Page 97: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

89

FIGURE 5.4 SAMPLE OF ROTATION (SCAN-LINE FORMAT)

Page 98: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

'11

91

CONCLUSIONS AND RECOMMENDATIONS

6.1 Conclusions

The objective of this work was to design and

implement a CRT light-head for map overlay preparation

on an automatic drafting system. Emphasis was placed on the

drafting of cartographic lines, symbols, and alphanumeric

printing. The system consisted of a Digital Equipment

Corporation PDP8/e mini-computer, (with 8K words of core

memory, an extended arithmetic element for high speed calcu-

lation, a magnetic disc storage unit and a 9 track magnetic

tape unit), a Gerber Model 22 precision drafting table and

its PDP8/e interface.

Using available equipment (Tektronix Type T5021P1

cathode-ray tube and its associated electronics), the

automatic drafting system developed in this thesis has

demonstrated the capability of producing drafting of accept-

able quality.

A CRT light-head was employed because it removed

the limitation of the number of available symbols and

increased the precision and speed of rotation as against

a conventional opto-mechanical light-head using a light

source, a set of mechanical masks and an optical system.

Different configurations of light spots for line drafting

were considered. The rectangular light spot was selected

because it best suited the requirement for square corners

Page 99: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

92

and it was most easily generated on the screen of the CRT.

A control and interface unit was developed so

that no human intervention was required in the drafting

process. The dynamic rotation control of the image was

produced by software because of its simplicity and accuracy.

In addition, the error of rotation by software calculation

is non-cumulative.

Various cartographic line widths were achieved

by changing the resistance value in the programmable voltage

divider of the width control unit.

As the spot size of a CRT is appreciably affected

by varying the beam

obtained by varying

the image according

was found that this

current, the intensity control was

the scan repetition rate (frequency) of

to the speed of the drafting table. It

kind of control was non-linear,

especially at low drafting speed, but was acceptable,

mainly because of the large exposure latitude of the photo-

graphic materials that were used.

It is not possible to draw the original trace

using unmodified digitized data. However, it is possible

to define a unique smooth curve for this data. Forward-look

linear interpolation was applied for this purpose in the

system. It was found that this method is suitable not only

for data of cartographic and other non-mathematical origins,

but also for mathematically derived data for which numerical

Page 100: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

pis

93

approximations are not usually appropriate.

Several PDP8/e programs were written to confirm

that all design goals had been met, and to calibrate the

hardware of the system.

Area-fill technique utilizes the familiar topo-

logical property that a line crossing a closed boundary

contour will intersect the contour an even number of times.

Any irregularly shaped image can be determined by its

boundary. This scheme was then extended to the character

printing as compared to the previous method presented

by Wilkie(5). It was found that the area-fill technique

is more suitable for the modification of an image by

rotation and scaling at the expense of filling speed.

In addition to the block filling pattern, six

different filling patterns were developed for the purpose

of area symbolization.

6.2 Recommendations

The selection of system components has been

discussed in Section 2.3. Better components would improve

the quality of the drafting system. It was also found that

the focussing problem due to the distance deviation of the

CRT/lens system from the film plane made height adjustments

critical. For further applications, it is suggested that

the CRT/lens system be supported by an air bearing riding

Page 101: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

on the table platen. This ensures that the final lens in

the light-head's optical system remains at a fixed distance

from the surface of the film.

The maximum drafting speed of the system is

governed by the intensity of the CRT, the speed of the

film, the aperture of the optical lens and the cutoff

frequency of the intensity control unit. Therefore, in

order to increase the drafting speed, all the above factors

have to be considered. Since the characteristics of a CRT

vary from unit to unit, further investigation is worthwhile

in order to determine an optimum beam spot size and type

of phosphor for the drafting system.

Using a precision CRT light-head, the dimension of

an image focussed down onto a film can be easily calibrated

in terms of the step size of a drafting table so as to

handle the 'area-fill' technique for a large area as discussed

in Chapter 4.

Programmable voltage levels obtained from digital

to analog converters can take the place of the voltage

divider of the width control unit. In this way, the end

points of a projected image can be determined directly by

the input data sent to the digital to analog converters.

Various cartographic line patterns (e.g. twin line drafting

for roads) could be made available with a CRT light-head

by increasing the number of digital to analog converters

Page 102: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

qC

95

so that more than two voltage levels can be used to specify

the end points of an image.

For the convenience of system control, it is

suggested that the selection of the operation modes in

the line drafting and character printing is by software

instead of manual switching as in the proto-type unit.

Page 103: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

96

REFERENCES

1. Auerbach Publishers Inc.; "Auerbach on digital plotters and image digitizers," 1972.

2. Evangelatos, T.; "Automatic drafting," Canadian Hydro-graphic Service, January 1970.

3. Curtiss, D.A.; "Automated drafting, where are we now?" Graphic Science, July 1965.

4. Carrillo, P.; "Drafting with light," M.Sc. Thesis, University of Saskatchewan, 1974.

5. Wilkie, W.T.; "Computerized cartographic name processing," M.Sc. Thesis, University of Saskatchewan, 1973.

6. Boyle, A.R.; "The quantised line," The Cartographic Journal, December 1970.

7. Shulman, A.R.; "Optical data processing," John Wiley & Sons,• Inc., 1970.

8. Neblette, C.B.; "Photography, its materials and processes," 6th ed., D. Van Nostrand Company, Inc., Princeton, N.J., 1962.

9. The Kalvar Corporation; "The Kalvar handbook," Tech. Bull. 104, New Orleans, La.

10. Poole, H.H.; "Fundamentals of display systems," Spartan Book, 1966.

11. Data sheet for CELCO DS5-50-0

12. Data sheet for BETA PD900

13. Tektronix Inc.; "Type 502 oscilloscope Beaverton.

14. Luxenberg, H.R.; Kuehn, R.L.; "Display McGraw-hill Book Company, 1968.

15.

16.

Data sheet for GAF ECONOLINE P4 film.

instruction manual,"

systems engineering,

Thomas, J.M.; "The four colour theorem," Phil. Penn., 1972.

17. Newman, W.M.; Sproull, R.F.; "Principles of interactive computer graphics," McGraw-hill Company, 1973.

te

Page 104: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

97

18. Davis, S.; "Computer data displays," Prentice-Hill, Inc., Englewood Cliffs, N.J., 1969.

19. Tektronix Inc.; "Tektronix products handbook," 1975.

20. Optical Electronics; "Operating and applications manual of model 3337 frequency to voltage converter," U.S.A.

21. Teledyne Philibrick Nexus; "Data sheet for model 4352 average-rms-vector module," U.S.A.

22. Burr-Brown; "Operating amplifiers," McGraw-Hill, 1971.

23. Digital Equipment Corporation; Maynard, Mass., U.S.A. 1973.

24. Digital Equipment Corporation; Mass., U.S.A., 1972.

"Small computer handbook,"

"Logic handbook," Maynard,

25. The Gerber Scientific Instrument Company; "Gerber model 22 table maintenance manual."

26. Sherr, S.; "Fundamentals of display system design, Wiley-Interscience, 1970.

27. Freeman, H.; "Computer processing of line-drawing images," Computing Surveys, Vol. 6, No. 1, March 1974.

28. McLain, D.H.; "Drawing contours from arbitrary data points The Computer Journal, Vol. 17, No. 4, November 1974.

29. Gold, M.H.; Turek, J.E.; "Graphic arts symbol generating Hardware for a Gerber Plotting System," CBS Inc., July 1974.

30. Ahlberg, J.H.; Nilson, E.N.; Walsh, J.L.; "The theory of splines and their applications," Academic Press, 1967.

31. Lee, K.P.; "A character generator for cartographic display," M.Sc. Thesis, University of Saskatchewan, 1968.

VI

Page 105: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

418

98

APPENDIX A

AUTOMATIC DRAFTING

A.1 General

A number of drafting techniques are presently

being used in automatic drafting systems. These can be

divided into three basic types. The first technique uses

an ink pen to draw lines directly onto paper. The second

uses a scriber to remove a thin plastic emulsion coating

from a transparent mylar base. The third uses the focussed

image of a light beam to produce lines directly onto photo-

sensitive material.

Ink pen and scribing techniques are of little use

in automatic systems for the following reasons:

Disadvantages of ink pen

1. Unreliable due to irregular ink flow.

2. Difficult to control width of lines.

3. Requires constant operator attention.

b) Disadvantages of scriber

1. Tool must be kept clean, and a method (e.g.

suction) must be used to remove the plastic

swarf left from the scriber.

2. 'Shovel effect' tends to make lines longer

than intended.

3. There must be constant operator interven-

tion to check the tool as the pressure of

Page 106: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

99

the cutting tool on the plastic emulsion

is critial.

4. An automatic turret head scriber becomes

bulky and complicated if a large number

of line widths are required.

Although the problems associated with these methods

can be minimized, these devices are still, by far, less

satisfactory than a light-head in flexibility of operation

and quality of the finished product. Furthermore, by using

a light-head, symbols can be produced by the 'flashing'

technique which can significantly reduce the drafting time.

The other types would have to scribe or draw each character

symbol individually. Hence, the light-head was selected over

the other two. It is the most versatile and the only one to

offer a possibility of full automation. The major dis-

advantages of using a light-head are:

a) A special darkroom environment has to be con-

structed for the drafting table.

b) It requires film processing. Therefore, it

cannot produce maps directly.

c) Exposure conditions must be carefully controlled

to ensure that high quality results are obtained.

A.2 Drafting with light

As mentioned above, high quality lines can be

Page 107: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

IDO

100

produced by drafting directly onto the photo-sensitive

surface of a film sheet with a focussed image of light.

Lines are drafted by moving this image of light across

the film and symbols are generated by shaping the beam

into the desired configuration and flashing it onto the

film. Only the best drafting tables can be used with this

method, as the least irregularity in motion becomes

immediately apparent to the eye because of the almost

perfect regularity of the fine line itself. The parameters

of the light-head are as follows:

a) Configuration of light beam

When using a light-head to produce a line

on a film, both the exposure condition and the

quality of the line depend upon the optical

shape of the projected light beam(4). Round,

annular and rectangle light spots are commonly

used in automatic drafting systems.

1. Round light spot

A. Advantage:

A round light spot is symmetrical

about its central axis and therefore

need not be rotated when drawing curved

lines.

B. Disadvantages:

1) It is difficult to draw squared

corners and line ends. This is

Page 108: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

101

particularly noticeable when drawing

a dashed or 'pecked' line.

2) Exposure conditions vary across the

width of a line. Fig. Al and Fig. A2

show the relative exposure across a

straight line and a curved line

respectively.

3) The width of line produced is affected

when the intensity of light is changed.

This is because the threshold of the

film being used is reached by more

of the exposure line profile for more

intense light.

4) The absolute value of exposure time

for the circle increases proportion-

ally to its diameter. It is there-

fore necessary to compensate for this

change by varying the intensity of

the circle as a function of diameter.

The region of 'fuzziness' is signi-

ficant at the edges of the line.

5)

2. Rectangular light spot

A. Advantages:

1) Exposure conditions are ideal in

drawing a straight line because they

Page 109: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

8

(4 cJ -

to

iJ

to

cJ

ROUND

NNULAR (Do=2Di)

RECTANGULAR

a 0 G

0 . i

i ,

I i

t 1

I r

1-,.

. 0

00

0

. 0266

. 0

E2

2

0,S

nO

. 1

06

6

1 •:>

•:,. ---

' . 1

60

0

. 1

Pa6

.

24

'33

.

2!:-

0,0

o LE

NG

TH

A

CR

OS

S L

INE

FR

T..1

iN

t'lE

R

RP

DIU

S

CMM1

IV

FIGURE Al

RELATIVE EXPOSURE ACROSS A STRAIGHT LINE

I-o=outer dJameter of an annular

diameter of an annular

Page 110: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

S-1

• 8.

8 .000

0

i ; i

ROUND

=,.riH r^P,

=

---7

-TNCIUL:=1R

1 1

.0277

.05 SS

.1111

.1666

.19

144

LENGTH ACROSS LINE FP,r,

RPDIUS MI)

FIGURE A2: RELATIVE EXPOS= ACROSS

rUEV

77Y7

Do=outer diameter of an annular

Di=inner diameter or a

n annular

2500

(RAIUS OF CURITAmURE=0.2mm)

Page 111: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

o4

104

are constant across the width of the

line and change abruptly at its edges,

therefore the region of 'fuzziness'

is negligible.

2) It can produce square corners and

line ends.

3) Different line width can be drawn

with relative ease because there is

no need to compensate for the inten-

sity of the light spot.

Disadvantages:

1) Automatic dynamic image rotation must

be fitted to maintain constant line

width as the line changes direction.

2) The exposure conditions are no longer

ideal as a curved line is being traced.

(See Fig. A2). Further details about

this property can be found in Appendix

(C).

Annular light spot

A. Advantage:

It has the advantages of a round

light spot in that the configuration

itself is symmetrical about its central

axis. In addition, the exposure condi-

Page 112: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

105

tions are improved as against a round

light-spot. (See Fig. Al and Fig. A2).

This depends on the ratio of outer

diameter to inner diameter of the light-

spot.

B. Disadvantage:

The major disadvantage of an annular

light-spot is that it is difficult to

produce squared corners and line ends.

Intensity of light-beam

With a certain projected light image for a

specified film speed, the maximum speed for draft-

ing is determined by the maximum brightness of the

image. Normally a drafting table operates over a

range of speeds and the light-head must thus have

some type of intensity control in order to produce

uniform exposure as the lines are drawn.

Drafting process

As mentioned above, light-beams can be used

to draw graphical information either by drawing

each line individually or by an image flashing

technique. Usually, the image flashing technique

is used for character printing but it requires

a large capacity magazine in order to have

automatic access of many symbols of different

Page 113: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

106

sizes, scales and orientations. According to

the method by which the light-beams are generated,

light-heads can be classified into the opto-

mechanical type and the opto-electronic type.

1. Opto-mechanical light-head

Symbols are obtained by shaping rays

from the light source into the desired

figure through a mechanical mask. The

image of this pre-prepared mask is then

projected down onto a film by a system of

lenses.

The light-head usually uses a tungsten

iodide light source or small mercury vapour

lamp. A laser beam could also be used as

the primary luminous energy source, but no

known unit is presently available.

2. Opto-electronic light-head

In an opto-electronic light-head, the

symbol image is produced by electronic means

when required, and this is imaged onto the

photo-sensitive film with a lens. Either

a matrix of light-emitting diodes or a

precision cathode-ray tube could be used to

generate this image. In the former device,

each diode would be controlled individually

Page 114: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

107

so that an image of any shape might be formed.

In addition, the main advantage of a light

emitting diode matrix is that the elements

of symbol image stay at their accurate and

stable position. On the other hand, it is

difficult to keep uniform illumination of

diodes and compensate for device aging.

When a precision CRT is used, the symbol

is formed on the screen by carefully controll-

ing the position and intensity of its electron

beam. The advantage of a CRT light-head is

that there is no limit to the number of

shapes that can be produced. A CRT light-

head can provide a good resolution (40 lines

per mm); however, it is still poor in

linearity as compared to an opto-mechanical

light-head unless an expensive precision

CRT unit is used.

Page 115: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

108

APPENDIX B

FORWARD-LOOK LINEAR INTERPOLATION

In digital cartography a line is digitized and

recorded in the manner of a coordinate of two variables, giving

coordinate values at the grid points of a regular rectangular

mesh. Specifically we let (x, y) be the coordinate, and we

let the coordinate values be the quantities

(xP' Yq) x = (Pd x,

qd y)

1 pnx 14q‘ny

Where dx y

and d. are spacings between grid lines in

the X and Y directions respectively, nx and ny are

the number of grid lines in the X and Y directions

respectively.

The width of cartographic lines generally varies

from 0.1mm to 0.5mm and the absolute accuracy of the position

of the center line relative to the map is usually accepted by

cartographers as being no better than 0.1mm when drawn or

traced by hand(6) . For this reason, a matrix size (d and

d ) of 0.1mm is normally used in digitizers which means that

any quantized point is within 0.05mm of the original line

center. (Fig. B1).

With a rectangular image on the screen of a CRT

light-head, a simple way for line regeneration would be to

interpolate straight lines between these matrix points

(Fig. B2). This is certainly not a true representation of

the original line and the irregularities are obvious to the

Page 116: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

109

viewer: such a line is rough. This is because any curved

line is, in fact, composed of short straight segments and

small 'gaps' (see (A) in Fig. B2) are produced at the joints

of these segments. This effect, due to the rapid changes of

90 degree and 45 degree between line segments, becomes more

apparent as the width of a line is increased.

The problem of making a digital computer generate

the coordinates of a smooth curve passing through a discrete

set of points Pk with coordinates (xpk, yqk) arises frequently

in practice. Schemes of varying sophistication and complexity

are used; some join the points by straight lines and arcs

of circles, others use spline interpolations combined with

axis rotation to counteract the inherent limitations of

any scheme which expresses y as a polynomial in x. Others

again use spline interpolation to express the x and y co-

ordinates of the curve parametrically.

Certain desirable properties of an algorithm can

be specified. It should be invariant under axis rotation,

and this can be achieved by treating the x and y coordinates

symmetrically. The choice is thus between an implicit

equation or a parametric equation for the curve. Since an

implicit equation may be computationally awkward, the

algorithm should give the x and y coordinates parametrically.

Also, the algorithm should be comprehensive, and if possible,

computationally simple.

Page 117: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

110

It is much more reliable to calculate the data

points required for a smooth effect on a sub-matrix appre-

ciably smaller then 0.1mm and then operate the drafting unit

under definite position control. The Gerber 22 drafting unit

is a purely digital device, and precisely moves 0.0127mm

(0.005 inch) each time a pulse is received from the computer.

Using this precise input control with steps or increments so

small that they cannot be detected by the eye, interpolation

becomes a problem of programming choice. Linear interpolation

is usually relatively simple in calculating but, as already

mentioned, is not sufficiently good when only used to join

specified matrix points on a 0.1mm grid.

A 'forward-look° linear interpolation(6) can be

then be applied for contour plotting. In this method, each

time 1/N of the distance for a N point look-ahead is completed,

a new aiming point is generated on a logical basis (Fig. B3).

The coordinates of the new aiming points of the line created

in this way become

(x p, y ( Pk+N P

N

qk+N qk d A .

N Y/

Where pk and qk are the number of grid line of

the (k)th point of the line in the x and y direc-

tions respectively, pic+N and qk+N are the numbers

of the grid line of the (k+N)th point of the line

in the x and y directions respectively. N is an

integer which represents the number of look-ahead

points used.

Page 118: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

111

FIGURE B1 QUANTISED COASTLINE ON 0.1mm MATRIX

0.11•110.

I •

4

s

FIGURE B2 LINE REGENERATION BY POINT TO POINT LINEAR INTERPOLATION

Page 119: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

112

• •

• •

4-POINT

8-POINT

FIGURE B3 4-POINT AND 8-POINT LOOK-AHEAD LINE

REGENERATION

Page 120: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

3

113

From Figure B3, it can be noted that the lines

generated by this look-ahead method are composed of a series

of vectors approximately 0.1mm (dx, dy) in length but varying

only by a small angle from one to the next; this appears to

be most acceptable for visual appearance and is certainly

definite and accurate. It is also found that the four-point

look-ahead is a reasonable approximation in appearance and

accuracy to the original for coastlines. On the other hand,

an eight-point look-ahead results in a large error in position

and distorts the actual shape of the original. Of course,

the selection depends upon the resolution of the digitized

data and upon the purpose of the line regeneration. The

application of the forward-look linear interpolation in line

drafting eliminates the poor appearance of line regeneration

due to the rapid changes in direction of the drafting unit.

In addition, 'gaps' at the joints of line segments can also

be reduced by the smoothness of the line. From Figure BF.1

to Figure BF.3, maps with and without interpolation can be

compared.

This forward-look method is intended to enable

the user of an incremental drafting table, such as the Gerber

22, to pass a smooth continuous curve through a set of points,

instead of merely joining them by a sequence of chords. It

supplies to the drafting table the coordinates of a sequence

of intermediate points at a chosen regular ratio on a smooth

Page 121: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

r7

117

curve passing near the data points. It is not possible

to set down precise conditions on the deviation of the line

from the data points to ensure a visually acceptable and

technically valid curve. The algorithm should provide a

line which has an acceptable compromise between accuracy

and visual appearance.

Page 122: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

118

APPENDIX C

CHARACTERISTICS OF A RECTANGULAR LIGHT SPOT

The characteristics of a light spot can be

determined by the relative exposure across a cartographic

line. As derived in Carrillo (4) , the relative exposure

across a line is a function of the dimensions of the light

spot and the radius of curvature of the line being drawn.

Varying these parameters, this Appendix describes the

relative exposure across a line drafted with a rectangular

light spot. It is assumed that the intensity of a projected

image is uniform and that the rectangular light spot is

being rotated smoothly so that one of its dimensions (the

length of a scan-line) is always facing in the direction of

tracing.

According to Carrillo(4) , the three different

regions of a rectangular light spot exposure have different

exposure expressions. Each region is defined in terms of

the distance from the center of the radius of the curved

line being drawn. The expressions which follow have been

normalized to the exposure expression of a straight line

drawn with a rectangular light spot of width 2Wnorm (see

Fig. C1).

Region 1: (R -L) < R4 JW2 + (11c-L Rc

Wnorm

cos -4

Rc-L [

Page 123: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

I 14

119

C.LW.

2L

W C.L.

NOTE:

C.L.W. = CARTOGRAPHIC LINE WIDTH

R.L.S. = RECTANGULAR LIGHT SPOT

C.L. = CARTOGRAPHIC LINE

FIGURE C1: RECTANGULAR LIGHT SPOT

Page 124: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

120

Region 2: jW2+ R -Lk“(R c+L)

R sin-1

WW

Region "„cliel_")2

Rc -1 W

cos

RC-FL sin

(

(

wnorm R R

Where 2W = width of the rectangular light spot,

2L = length of the rectangular light spot; This sets the cartographic line width,

R = radius of curvature of the line to center of the rectangular light spot,

2Wnorm = width of the normalized rectangular light spot.

With W norm equal to 0.06mm, the relative exposure

of a rectangular light spot is plotted against W, L and Rc

in Figures C2, C3 and C4 respectively according to the

above expressions.

From Figure C2, it is noticed that the smaller the

width of the light spot (W), the more uniform the exposure

across a cartographic line and the less deviation of the

width of a cartographic line. However a narrow rectangular

light spot produces a low relative exposure. The intensity

of the light spot, therefore, must be increased to maintain

the drafting speed when using a small value of W.

Figure C3 shows that the relative exposure varies

with the radius of curvature of the line being drawn. This

property affects the quality of a light-head system in line

Page 125: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

.

-

L=0.1mm

Rc=0.5m17/

W-70.22mm

W=0 16mm

W=0.10mt

W=0.04mm

.0000

. 0222

. CiS77

. 0822

. 11SS

. 14114

. 1733

2022

. 2311

. 2600

LEN

GTH

AC

ROSS

LIN

E F

ROM

IN

NE

R R

AD

IUS

(M

M)

FIGURE C2: RELATIVE EXPOSURE VARIES WITH THE WIDTH OF THE RECTANGULAR LIGHT SPOT

Page 126: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

0

0 uN- )

Sri

11.1

(f)

o)

0 L I

to

tuJc

9,

N

CE

wG

tX 03 O

W=0 .05mm

L=0 .10mr

/—

/ / /

/

/

/'

. ./.

r — — ---

1- -

-

-

''' -- Rc=0.R-)rm

Rc=0 . 'I

Rc=0 .70mm

" Rc=0 .95mm

mm

/ ,

/

i /

/ /

/ /

. / / •

. 0000

. 0233

. 0466

. 0700

. 0033

. 1166

. 1400

. 1633

. 1866

LENGTH ACROSS LINE FROM INNER RADIUS .1M

MI

2100

FIGURE Qt RELATIVE EXPOSURE VARIES WITH THE RADIUS OF CURVATURE

Page 127: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

Cl

Cn

U) co Cl

al 2

C

C

CD

0 r

r-L1

.114

--- cr

CC

N

W=0.05mm

Rc=0.50mm

L=0.35mm

L=0.25mm

L=0

L=0

15mm

05m

.0000

.0200

.1800

.2400

.3200

.4000

.4200

.5600

.G400

LENGTH ACROSS LINE FROM INNER RAD I U

7200

FIGURE C4 : RELATIVE EXPOSURE VARIES WITH THE LENGTH OF THE RECTANGULAR LIGHT SPOT

Page 128: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

r,Z4

124

drafting, especially in the drafting of a sharp change in

a line. This fluctuation can be reduced by filtering the

line data through the forward-look linear interpolation

as described in Appendix (B).

Figure C4 shows a great variation in the exposure

across a thick line. This is due to the multi-exposures of

the projected image and it can only be reduced by using

large exposure latitude film.

Page 129: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

125

APPENDIX D

SCHEMATIC DIAGRAM OF THE PREVIOUS CHARACTER GENERATION UNIT

Figures D1 to D5 are adapted from Wilkie(5) to

show the schematic diagrams of the character generation

unit used both in the earlier and present CRT light-head

systems. It consists of five circuit boards, namely the

device selector board, the control logic board, X data

buffer board, Y data buffer board and the digital to analog

converter board. Information about the functions is given

in Reference (5).

Page 130: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

am 8. 6

HI*

• II 4

Al

as

8 m

a em

s*(1

3 H z

) 3

3

(WL)

3

(sot

s)

4 4

Ss 2

)

(DM

Z) S

5

(9,4

21

13

At

lop

I.

rOP

4.

132

It

10

AL

AZ

AL

►8

41

11

(AV

2)

A3

Z.Tr

i (m

a>

10

4112

(AT

Z)

43

41

11

(4

55)

4114

(AR

Z )

A3

47

-4 (A

P2)

• 2_

4

12

1

(Am

2 )

Cal

SO

N*

(A

NL

)8

2

4 4122

(^K

2)

A3

I01:12

t

3 4

F2

2

(AL

1oP

4

• is

/4 (

4KL)

•.3

Bt.

rjp

, (4

15)

8141

1 D

M 5 .

(a

4,—

. 4

Oa

t.)

(Ma)

7

(61

2)

(Buz

) 6

(5v2

)

NO

T vs

CD

)0P

1

• (1

3F

2)

6

NIT

(AW

L)

12

to P

t *

10P

4•

4 2 10

13

cm.

C3

9

3

8

c3

11

io

c3

53 ►It

GS

it ►

to

G4

H1*

(sr)

)

(sus

)

(6.0

--1

>4 C.

3

roP

Z (6

E2)

OW

) (Doz

)

Un

it)

(A>4

1)

(Au

) N

or u

stO

(A

K s

)

(A.J

I)

(Aw

l)

Pw

l C

LR

I (A

nt)

4

Pw

R C

sit

t G

4

(AE

I)

2.

8

Pw

1 G

IRL

(A

E 2

)

Pw

4 cL

ca

c4

(ADS

)

6

Pr.

11%

W2

4

c4

(402

.)

0\

FIG

UR

E

Dl

: D

EV

ICE

SE

LE

CT

OR

Page 131: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

45v 10

11

1.4r

AN

• cut

(An

t)

4111

(API)

CI CI

4114

(Ate)

140 :472.0

01

iN

crilig/o

f

10.4“

45v

12

6

Al

II ►

to

AI

45v *

12 Al

4121

(All)

13

TS

3

4

42

la

10

4.5

v•

(AA

TI)

C 0

4124

(4

U1)

PWR

CL•

(A

A%

)

for

cat..

m.m

os

' (W

I C

LE

AR

rt.

A4

6

1 12

Lo

Ao

z o

urr

ca

4114

b 1

21

6122

61

24

INT

EN

siry

TE

ST

FLA

G

LOA

D Y

SU

PP

ER

a

ttra

ct t.

trr

og

iort

,A

C42.1

00

AG

9I. 0

are

4

CI.

T

CI

GI

s.4

6

1 3-

SA

W

(6.4

i)

1If

TC

*11.1

.1,T

(1

001)

A i

(AJ I)

(AK

')

SP

AR

[

Al

(AL,

9 S

PA

RE

FIG

UR

E

D2

s C

ON

TR

OL

L

OG

IC

Page 132: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

I-

so

(e.2

2)

01

Q3

0/4

0,4

0/A

I,

(Are

) (A

V)

(Au)

(AK

;)

('.3

1)

(AR

A)

'3 (A

MP

et

(Art

)

7479

4

IL

x 1

(AD

O

52

(Mu

)

1 A

z

S.

/

-or

I

/1

74

.19

a P

tt 3

03

(N

O

S4

(A

na)

L ie

x -1

7. 4

(AT

I) S

S

(AD

O

74

79

3

4

ex

S

AC

6I

AC

1

(AD

Z)

Poll)

AC

Z.

Ace

(A

JZ)

(AM

U)

o Aix

(Aro 5

4

(5c2)

L

A—

.

W42

.$

er4

3x

Q'>•

4e

D

'45x

WA

6 x

(Ira

) fe

et)

(1

5.4z

) le

o)

(1$5

2)

ox

'3

K3;

WK

-41

(o

ma)

040

(51

4z)

51

se

59

(15

1,0

WI)

(O

N!)

74

79

4

—I-

0$

S Ix

la

ex 1

-8

1._

_.

'1

7479

4

13x

9

(e K

U 51

11

(Wu.)

74

77

ii

AC

4

(AP

I)

AC

5

P.C

.4

AC

T

(AT

I)

(DO

I)

(D4

1)

r

(Ay •

L

*3v

.---

-eospew

sr—

.7

1.5

%

+5x

• N

W•M

AN

PU

LL

S/IN

1.

51%

(1

11V

‘)

Punt C

ilt

(Avi)

AC

8

AC

9

AC

ID

(eel)

(ON

;)

(DP

Z)

DI

7407

NO

TE

S v

olt

Tw

IS A

PP

LIC

AT

ION

• A

LL

SE

TL

INIC

S

(DO

-.8

.11

)

AR

E %

Al 1

RL

D 7

0 r

pm

P

UL

S. %

)•,,

-J

1.5

A

AC

M

(ES

TI)

FIG

UR

E

D3

: X

DA

TA

BU

FFE

R

Page 133: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

1 L

Std

(A

LL)

—1-

Gd

QI

QL

D

S

(ML

) (A

EI)

TS

4

DY

6 -

AL Ii

11

(A I.

2)

(AO

I()

DY

1-•

L

Is

1479

4

BY

3

D/A

0y

D/A

1 y

46.L

Y

C1/A

Y

12/A

4y

(A31)

(A129

( 00a)

(DE

,)

(D4

1)

_ _

L

3 11

II

10

13Y 4

0

7/-70-

7 (A

TL) 55

CA

51)

7479

2

4

DY

5

AC

S

AC

1

(AD

34

(A

141

) A

C2.

AC

3

(AJL

) (^

Mt)

D/A

t Y

(AD

O 5

6

(13,2

2)

0,A

L y

(0

0-1z

) S

T

(DP

I)

7479

10

2

DY

4

A

I

DY

7

L

10

BY

0

13 6

7pif9

2

D/A

$ y

4.0/

( LI )

(3

51

)

DY

9

t.

to

ay

10

D/A

7y

(Da

l)

c.A

4 y

(D

rs.)

Su

(IS

s1)

74

79

2 4

DY

I

AC

4

AC

5

AC

4

AC

T

(An)

(AT

) C

801)

(Out)

Pw

gC

IA

-

AS

V

1.5

K.

Act

AC

9

AC

10

(131

C (6

P4

1)

(DP

Z)

61 7407

11

10

t3

ti

AC

.11

(bY

1)

LS

A.

45v

MA

. up

1.5

K

(DV

1)

NO

TE

F

OR

. TH

13 A

PP

UC

AT

IO

N,

AL

L s

cr L

INE

S

(SF

'

AR

E W

IRE

D T

v T

Rx

PU

(.L

DA

.

Y (v

.')

6

FIG

UR

E

D4

Y

DA

TA

BU

FFE

R

Page 134: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

*A

NA

LO

G

(*S

t)

AN

ALO

4 G

NO

-L4*

+I5

v .

151,

(11e3,3

01V

LI

Alf

eseS

tr

lOK

36 91

Y Are

akse

e (M

a)

AN

ALO

G 4

14

12

41St

/ -15

v (I

IRe)

(sv.

)

32

39

14

orr

s&

T

IT(S

PL

)

(31x2

)

(wet)

(13

1.1

)

30 ,3

t 91

33

19

(01)

D/A

Oy

WA

Six

(e

on)

WA

) tt

W

A 3

(AM

A)

D/A

, 3.Y

3

We

./ x

4

CA

LL)

WA

3r

4

0/A

3/1

Mk 4

)I

36

S

16

(5

*3.1

Z

ELT

EX

ZD

440

ZE

LTE

X Z

0440

F.S

.R•

* (^

Ka)

DIA

4Y

al

(*.It)

F

.S.A

. tu

t te

eny

We.

SY

N

ee n

on)

AL_

D/A

Sx

0/A

G

T 7

(sel)

0/A

(A

NA

) ti

(Ord

)

11

(AF

L)

0/A

T

y W

e.

Tx

IA

iR

is

14

0 O

LP

P 3

A

DJ.

10I.

33

$k

OE

0 M

CP

ote

r

NO

TE

! f3

R.

ST

RA

PP

ING

OIT

tOm

t

OP

TIO

N

PIN

S

INT

ER

NA

L

SW

F.

21-1

3

10IT

ER

NI.1.

Rif.

TO

Z

L

T. M

y

FA

R.

21-1

i

t 5

v F

.L.R

. 10-

30

14-s

t

0 Ir

o .6

-10

I.S

.A•

s0-9

0

s4

RO

I

F s *

0.1

. 10

111.

FIG

UR

E

D5

: D

IGIT

AL

TO

A

NA

LOG

C

ON

VE

RT

ER

S

Page 135: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

131

APPENDIX E

SCHEMATIC DIAGRAMS OF THE COMPLETE SYSTEM

Figures El and E2 show a general view of the CRT

interface unit of the prototype unit. It consists of two

units, A and B. Unit A consists of 8 circuit boards held

in a single mounting rack via edge connector blocks. Inter-

board connections are formed by back panel wire wrapping.

The rack also contains a Bluyne 5SP 3000 five volt, three

ampere power supply and a Semiconductor Circuits Inc. Model

No. LCD2,15,150 power supply, making the interface independent

of other system power sources. The eight circuit boards and

their functions are as follows:

1-5 Character generation

6 Device selectors and width buffer

7 X data buffer and D/A converter

8 Y data buffer and D/A converter

Unit B consists of the circuits of line generation

and intensity control. In order to eliminate the coupling

of the Z pulse between the intensity control unit and the

line generation unit, the Z pulse amplifier of unit B was

isolated inside an enclosed steel box.

The schematic diagrams of the character generation

unit are given in Appendix D. Since the function of all

the circuits has been explained in the main thesis and

since most of the circuits employed are standard and simple,

Page 136: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

132

'1111' II ±11 lit Iv '11111111111111 1 111

1P", lor- r9P-

104 9

di P.!

rk,

. .. 1 11

Iii 11111

_

tl

AN

.tt tMq\

FIGURE E1 UNIT A

A GENERAL V IEW OF THE UNIT A

BOARD 1-5

BOARD 6-8

Page 137: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

133

PEA t1.1.

OUTSIDE VIEW OF THE UNIT B

1/1—kram.isiagameditti_

43!

'15101 wa-P

A II

INSIDE VIEW OF THE UNIT B

FIGURE E2 UNIT B

Page 138: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

134

further explanation of the circuit design is not given.

Figures E3 to E13 only show the schematic diagrams of the

system(18-31)

PART LIST OF THE SYSTEM

According to the schematic diagrams (Fig. E3

to Fig. E12), the components of the system are listed

as follows:

COMPONENT DESCRIPTION

C,D. Z1 E,T,G,F2 G2 H4S,T. C1 D1 A,B E2 A2 D2 01 I1,J1

W,X,Y,Z,A1,B1 X1,Y1 B2 C2 P1,R1 U1,K1,L1,M1,N1 W1 V1 E1,F1,G1,H1 TQ7 TQ6 TQ1,TQ5,TQ8,TQ9,TC110,TQ11 N124TQ13,TQ14 TQ2,TQ3,TQ4 Q1,S1 T1 RL1,RL2 RL3,RL4,RL5,RL6 RL7

SN7400 SN7402 SN7404 SN7407 SN7430 SN7440 SN74121 SN74154 MC1439 ML1458 MC7479 MC7479 MC 8601 LM301 LM711 Aa748 NE566 cD4046 ZD440 MPS LO1 2N4036 2N3638 2N3638 2N5163 OPTICAL ELECTRONICS 3337 PHILIBRICK 4352 ELEC-TROL RA30222051 ELEC-TROL RA30222051

Page 139: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

BM

B

(88V2

) -s

(8

61.)

z)

(8572)

' S

(8S

R1)

(88P

2)

(86

Na

) 6

3 $

•1 It

13

1N1T

(

8 A

v

IS

IO?t

(88K

;9

2.o

Pz

(88

72

)

zoP

it-(8

8“2

)

r.

.1

10

F

BM

B

(86V

2) 3

(8

64)

(85T

2)

6-

C88

S2)

Z

6114

(8A

F.2

.)

(6B

riz)

7(8

81.2

.) 8

61+

2

(8,1

E2

)

614+

c

8A

D2)

+5V

r-fir

11.

IS

H

12

C)41

—•

PWd

c"

S(S

AW

9

8 P

wR

<1

.R6

(81152)

10

PA

IR

(81

0'2

)

Pw

R

ci-R

8

(6 A

U2)

pm

q C

LR

9

(9 A

la)

L

_

4 6

46V I -

sic

12

10

P1

C

981(

2)

I0 P

Z

63872)

Zo

C

8611

2)

<8 8

VI)

A

c 9

10

(88U0

C8877)

4C

to

A

C11

a

1.

)1'

10

IL

5V

NOT

uS6.

0 AC9c

,att

106

AU/

_ _

_ _

_W

IDTH

B

UF

FE

R

_

_

FIG

UR

E

E3

DE

VIC

E

SE

LE

CT

OR

A

ND

W

IDT

H

BU

FF

ER

Page 140: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

(zA

ti2)

‘432

I

PIA

C

:AS

C

:AZ

+5V

S

I. 5

K

(6AV

2)

AC

4 (6

A01)

AC

5

(4A-1-

2)A

C6

(CA

S 2

)

AC

7 (

6A

K2)

AC

8 (6

A P

2)

AC 9

(C

aA

I2.)

AC

IO

y 15

10

9

13

fv1

1.5K

15

V

!l

5 K

vv

vv—

. (4

1P12

) 61

41

PU

IC cu

z th

asz)

T

4sv

5 K

(can

) A

C4

CYA 0

CY

A I G

X

(48

23

.)

C6 @

T2)

AC

5 A

C6

' D/A

2 A

X

A

(1.C7

8.sz)

D/A

3AX

(68 it2

)

AC

8

D/A

4 A

X

D/A

SA

X

,̀),C

d C

68 A

il)

AC

ID

0 (?'

10

13

s_.

Ij.

DIA

6AX

(6 9

p42)

A

C I

!

O

13

LYA 0 X

D

/A

X

D/A

2 X

D

/A3

X

FIG

UR

E

ELI, A

x A

ND

X

D

ATA

B

UF

FE

R

0/A

4 X

D/A

5 X

D/A

6 X

D/A

ZX

D/A

7X

0 \

Page 141: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

D/A

0 L

X

01+1

AX

D

/A 2

AX

D

iA 3

AX

D

/A 4

AX

D

/A5A

X

D/A

6A

X

D/A

7 A

X

It

-50

+15V

-1

5V

20

31

E1

-13

,LX

AN

ALO

G (

641<

2)

—AN

ALO

G

GN

D--

-1 -1-b

RE

F -

OFF

SET

10

K

31

+5 V

b D

/A 0

X

WA

1 X

D/A

2 X

D

/A 3

X

D/A

4 X

D

/A 5

X

D/A

6 X

D

/A 7

X

RE

F i.F. S

. AD

J.

1

0K

b

+15V

-1

5V

X A

NA

LOG

(6f3

K2

)

—AN

ALO

G

GN

D -

-

33 1

31

19

$ C 7

12.

8

F

4 +

5V

RE

F iOFF

SET

OK b

RE

F F.S.

ADJ.

0K

_b

RE

F O

UT

( 6

AD2.)

FIG

UR

E

E5

D

IGIT

AL

T

O

AN

AL

OG

C

ON

VE

RT

ER

S (6

,X

AN

D

X)

Page 142: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

4-5v

C7

A.v a

.) A

C4

•J K

( 7A

ui)

AC 5

c7

A.52

) A

C7

(7m

2.)

AC

8

1,5

K

I. 5

K

I .5K

(78H1)

6i1-2

riga caz8

Cle

s2)

1

+5V

1.5K

i

10

(2

13

(7 AC

9

A2

C7A

4,1)

AC

IO

/0

/3

(.4Ac."12?

CY

AO

AY

C

AI A

Y

Cl/A

A

Y

D/A

3 A

Y

D/A

4 A

Y

D/A

5 A

Y

C78/2

) C

78‘1

2)

(,787-2

) (7

13s2

) (7

5 R

2)

(78e

2)

AC

4 A

C5

AC

6 AC

7

AC

8

AC

9

Y

010

13

(78

4,1

)

AC

10

D/A

6 A

Y D

/A 7

AY

cr8H

2)

AC

1

Al

41

1

0"

B1

?.3

B1

D/A

0 Y

D

/A 1 Y

D

/A 2

Y

D/A

3Y

41

A

Y D

/A 5

Y D

/A 6

Y

D/A

7 Y

FIGURE E6 AY AND Y DATA BUFFER

Page 143: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

D/A

0 A

Y

,•

AY

D/A

2 A

Y

D/A

3 A

Y

IYA

4 A

Y

D/A

5 A

Y

D/A

6 A

Y

D/A

7 A

Y

30

+15V

-1

5V

31

AY

AN

ALO

G (

7AK

z)

—AN

ALO

G

GN

D- -

-1

-Lb

RE

F _

i1O

FFSE

T

0K

31

13

G1

tik

+5 V

_b

D/A

0 Y

D

iA 1

Y

D/A

2 Y

D

/A 3

Y

D/A

C, Y

D

/A 5

Y

D/A

6 Y

D

/A 7

Y

RE

F F. S

. AD

J.

1

0K

b

30

+15V

-1

5V

14

33

Y A

NA

LOG

(7

BK

2.)

—AN

ALO

G

GN'

D - -

b

31

4- 1

(1- $

IM0.

111

MM

.

H1

22

A "//

+5V

RE

F OFF

SET

O

K

RE

F IN

(T

AD

2

FIG

UR

E E

7 D

IGIT

AL

TO

ANAL

OG C

ON

VER

TERS

(A

Y A

ND Y

)

RE

F

1.F.

S.AD

J.

0K

_ b

Page 144: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

azK

X` 8

lop

+15V

V

— 15V

3.6K

11K

Y'8

reK

-te

nR

1

*15V

—1

5V

10K

toK

top

IOK

• 01

(6

`14H I'

12°

+15V

—15V

71

S1

+15V

L

f.— 1

5 V

X1

TRIM

.

T1

6.36

.11

5.K

.3

+5V

1141

¢

77

roo

k

Y1

V

16,

-c _At

Hp

+15V

--15V

K

+15 V

Z1

to

48

0 to

1,-1 1

-- I

U1

9

+15V

— 1

5V

svc

--.SW

2a

SW2A

INTE

NSIT

Y

INH1

131T

111

i4K

S V

(vtv

6.<W

xtW

G

PU

LSE

)

Z1

PWR

E2

sW2b

I

1-4

0

FIG

UR

E

E8

INT

EN

SIT

Y

CO

NT

RO

L

Page 145: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

SW I A

-15V

T0.1

a•71

:

+5V

S5

0

+7K

iok

ft 1.7/1

.

A2

+5V

, ,

+15V

INT

EG

RA

T

SW -le

S

W-If

\/

\/

+moo

01

-15

V --

-.AA

A.--

+15V

(.1(

41

5V -1

5V

B2

+1 V

-1

5V

-15V

ON

T

IMIN

G

UN

IT

TO2

-

SW

-I b

)

SW

-Ia

TQ3

>

sw

-L4

svv-

ic

TQ4

CO

W

LE C

2

COM2 )

-15V

--v

‘Atv

-i

+15V

{ 5V

TQ5

2.7/

C

O

FIGUR

E E9

INTEG

RATIO

N TIMI

NG A

ND WI

DTH C

ONTR

OL 1

>SW

-If

>SW

-le IN

TEN

SIT

Y

Page 146: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

I1 ss-

+15V

J1

-15V

1 1 1

1

J1 $

+15V

14(

sok

to

SW-Ia 4 jeep

6.

K1

SW-Ib

6•P

-15V +15V ,,„ -15V

10 k

SW-Ic

(r3k

+15V ey.

M1

15V +151/ -15V

et Is

10k

16

L1

114-2

-15V +15V

5

20k

0.0.t

6

W1

IP I

+15V '

SW1a2

I MANUAL_ ADJUST CLOCK —

R

3

15V +15V

NOTE: er=4.ele, eae .(t+R-) er _a e

IR/ IR/= 2e, - e, = e + e ey

similarly ear, e„

FIGURE E10 INTEGRATION AND SUMMING AMPLIFIERS

AND MANUAL ADJUST CLOCK

SW2 c

SW2d1

Page 147: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

143 INHIBIT

SWI B

swi c

SWI D

.15

2

A

C

Ga

G,

D2

7

F2

F2

8 S

+5V_

1.5K

15K

1-5K

1-5K

1.5K

1Q9

R1,1

L.A.Jj

T Q9

0-5K 1.5K

1•49J6

RL2

11,04

T010

0.5

R L3 •

I 2K 6.;

T Q11

I>

4 44, 94

RL 4

1.5K

1.5K

T Q12

fArlt

2K

R L5 - SK

Q

T 014

C OM I

RL6 5K

RL7 10K

/044

+5V COM2

FIGURE Eli PROGRAMMABLE VOLTAGE 'DIVIDER

Page 148: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

SW

2

+15D

V

10

4

1•7K

Z P

ULS

E A

MP

LIF

IER

SW IA

SWI B

SWIC

6oK

IN 9

i(.

G7

Ie 4

IMO

I

Z PU

LSE

AUTO

/MAN

UAL SW

I al

A

SW

I a2

AC 11

a SW

3 A

AC I 0

b 11--

SW

3 B

SWI D

AC

9 c

'A

SW

3C

(SW

1)

MAN

UAL

WID

TH S

ELEC

TOR

SW

3A--

--0

SW3 B

—2L

O.

SW3C

SW3D

2a

o C

T

(SW

3 )

I.5K

+5V

LIN

E/ C

HA

RA

CTE

R

:v

SW

281

SW

2A —

01

1.5

K

S

W2b

1 S

W2

B

01

SW

2 b2

SW

2C

iv

SW

2 c

4\

SW

2 c

2

EA

lti2D

_0;

v S

W2

d 1

S

W2d

2

(SW

2)

25 G

ND

(Z)

(Y)

(X)

AC S

c

4CIO

o

Aci

li Y LY

X

,Ax

Y'S

x'8

FRO

M

cmA

gAci

ER

4E

AIE

RA

TIO

N

UN

IT

}

FROM

vA

MN

co

form

a.

UN

IT

UtJ

E

41,

4E01

'104

U

NIT

TO

M

M

AT

T p

it

TA

B L

Z

Pd

V

AtE

ND

tk•

Co

NN

EC

TK

FIGURE E12 Z PULSE AMPLIFIER AND SELECTORS

Page 149: CRT LIGHT-HEAD FOR AN AUTOMATIC DRAFTING SYSTEM A Thesis Submitted to the Faculty of

TE

KT

RO

NIX

50

2

SW

2C

SW

2D

Z P

ULS

E

!Of,

+3

50

V V1

35 1

3 •

••

I 68

K

—6

.sv

V14

5A

PIN

8

HO

RIZ

ON

TA

L

AM

PL

IFIE

R

VE

RT

ICA

L

AM

PLIF

IER

T 5021

\-\

urve

xANK

IVEr

P

ULS

E

i-416

t4

VOLT

AGE

pow

ER

, SU

PPLY

43. 4

1c

L _

_ _

-15

0V

1

FIG

UR

E

E1

3

: B

LOC

K

DIA

GR

AM

OF

A

TE

KT

RO

NIX

502

O

SCIL

LO

SCO

PE