Docsity

Digital-Generated Ramp - Laboratory Work #5 | ENTC 3320, Lab Reports of Electronics

Partial preview of the text

Download Digital-Generated Ramp - Laboratory Work #5 | ENTC 3320 and more Lab Reports Electronics in PDF only on Docsity!

Lab 5

ENTC 3320

Digitally-Generated

Ramp

INTRODUCTION:

We can use a 74161 4-bit synchronous counter to generate the count (Fig. 1 and Fig. 2)

that will feed a digital-to-analog converter (DAC) that generates a slowly increasing ramp

voltage (Fig. 3).

Figure 1.

Clear Load A B C D Async. Clear Preset 12 13 14 15 0 1 2 Inhibit Count

CLCK

ENP

ENT

QA

QB

QC

QD

RCO

Fig 2. The 74161 diagram.

Figure 3. The 74161 counting circuit.

DSTM1 is the signal from the 555 timer you built in the last lab. Notice that the inputs

A, B, C, D, ENT, ENP, LOAD, and CLR are tied high for both counters. This

prevents noise from creating a spurious input that can alter the count. The RCO output

from the left 74161 is inverted and becomes the clock for the right 74161. The outputs

are connected to the input of the digital-to-analog converter (DAC). The signals

generated are shown in Fig. 4.

CLR

CLK

A

B

C

D

ENP

GND

Vcc RCO QA QB QC QD ENT LOAD

Figure 5.

NC

GND

Vee Io MSB A A A A Compensation Vref(-) Vref (+) Vcc A LSB A A A 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9

-12V

MSB LSB

5V

3.9K

3.9K

3.9K

OUTPUT

-12V

V

2.2K

0.01F