Lab IV Lecture 1 Course Overview Introduce Step 1 Course Web Page: .

27
Lab IV Lecture 1 Course Overview Introduce Step 1 Course Web Page: http://www.ece.drexel.edu/courses/ECE- L304

Transcript of Lab IV Lecture 1 Course Overview Introduce Step 1 Course Web Page: .

Lab IV Lecture 1

Course Overview

Introduce Step 1

Course Web Page: http://www.ece.drexel.edu/courses/ECE-L304

2

Course Goals

• Provide a practical experience in circuit prototyping

• Integrate analog and digital circuit design concepts

• Increase OrCAD skills

• Incorporate system-level and scheduling considerations

3

What Do We Expect of You?

• Attendance in lab lecture

• Attendance in lab hours • You can work in a group of 2 and turn in one

report

• You will attend the lab section listed on your schedule

• Work outside of lab hours • This course is usually not finished in the allotted

lab time

4

What Should You Expect?

• The materials and documentation needed to perform the project

• Grade feedback on a timely basis

• Answers to your questions

5

Grading Policy

• The deliverables for each step of the project will receive a numerical grade. The grades for steps which involve circuit design and construction will have several parts, including design, functionality, and quality of construction.

• Multi-week labs will receive greater weight

6

Grading Policy

• Pre-labs must be turned in with lab reports.

• Deliverables are due no later than one week after your scheduled lab meeting. Reports which are late will lose 10% per week until four week have gone by, at which time the report will not be accepted.

7

Grading Policy

• Grading• 10% quizzes (2)

• 90% labs (7 reports)

• Standard Grade Distribution• ≥ 90% A

• 80 - 90 B

• Etc.

8

The Overall Idea

• Design, build, debug and verify a digital recording circuit, or data acquisition system• Accept analog information• Convert to digital form• Save to RAM• Convert back to analog form• Output across a load

9

The Overall Idea

ADC RAM DAC

Control

8 8Data Bus

10

The Overall Idea

• Ideally we would like to be able to record an audio (voice) message and then play it back.

• We will see that there are real-world limitations that will limit our success, and some compromises will be needed.

11

Step by Step

• Step 1 Review of ADC and DAC - simulation

• Step 2 Build the ADC circuit - hardware

• Step 3 Build the DAC circuit - hardware

• Step 4 Introduce static RAM - simulation

• Step 5 Build the on-board clock - hardware

• Step 6 Introduce control logic - hardware

• Step 7 Final changes - hardware

14

Step 1- Review of DAC/ADC

• A simulation-based exercise• Observe how analog signals are converted

to digital signals

• Observe how digital signals are converted to analog signals

• The circuits observed are much simpler than those in the hardware you will use, but the concepts are similar

15

Step 1 Prelab

• Read “Memory devices, timing models, and hierarchical blocks”, A. Motley, MicroSim Corporation, April 1997 through the “The Supporting Logic” section.

• Review ADC, DAC experiments from ECEL 303 Lab III.

• Find a box to safely carry around your circuit (6” x 8” x 3” min).

16

Step 1 Tasks

• Perform simulation• Follow instructions on web site

• Lab Instructions:Step 1

• Complete “Workbook”

17

Step 1 Method

• Think

• Discuss

• Draw

• Simulate

• Compare

• Redraw if needed, but don’t erase

18

Digital to Analog Conversion

• Digital signals have discrete levels• MSB - highest weight

• LSB - lowest weight

• We must convert each N-bit binary value to a unique analog voltage

19

Discrete DAC

20

Discrete DAC

4-bit counter(not part of DAC)

TTL voltage levels

Summing Amplifier

The values of the resistors in the input network of the summing amplifierdetermines the “weights” of the digital bits.

21

Analog to Digital Conversion

22

ADC - Input Side

AnalogInput Voltage

Comparator

SchmidtTrigger

“DAC” signal fromR-2R Network

ADC- Internal Voltage Generation

Binary Counter

D-Flip FlopR-2RNetwork

24

ADC Types

• The ADC chip we will use (ADC0804) is based on a successive approximation (SA) algorithm• The SA Register and Latch (see the functional

diagram on the datasheet, p. 6-6) works like the 74161 counter in our simulation. The Ladder and Decoder contains the R-2R network.

• The SA converter type is one of the most commonly used

25

Resolutions of ADC Types

0 5 10 15 20 25

Bits

Successive Approximation

Dual Slope

Sigma-Delta

Flash

Pipeline

Source: Aspects of data acquisition system design, P. Miller, TI Analog

Applications, Analog and Mixed-Signal Products, August 1999.

26

Speeds of ADC Types

1 100 10000 1E+06 1E+08 1E+10

Samples per Second

Successive Approximation

Dual Slope

Sigma-Delta

Flash

Pipeline

Source: Aspects of data acquisition system design, P. Miller, TI Analog

Applications, Analog and Mixed-Signal Products, August 1999.

27

Step 1 Deliverables

• A completed Chapter 11 workbook• Discrete DAC summing ckt schematic• Discrete DAC summing ckt simulation• Integrated Ckt ADC schematics• Integrated Ckt ADC simulation• Answer Questions • Discrete Analog-to-Digital for extra credit (10%)

• Due 1 week after lab date, in 7-205