villanova university department of electrical and computer engineering ece 3450 digital electronics...

27
Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610) 519 – 7561 [email protected] Office Hours: M, W 1 – 3 PM, Th 9:30 – 11:30 AM, or By Appointment ECE 3450 M. A. Jupina, VU, 2015

Upload: alexis-floyd

Post on 15-Jan-2016

216 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Villanova UniversityDepartment of Electrical and Computer Engineering

 

ECE 3450 Digital ElectronicsSpring 2015

Dr. Mark A. Jupina430 Tolentine Hall

(610) 519 – 7561

[email protected]

Office Hours: M, W 1 – 3 PM, Th 9:30 – 11:30 AM, or By Appointment

ECE 3450 M. A. Jupina, VU, 2015

Page 2: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

ECE 3450 Course Rationale

Provide our students with additional experience in prototyping and troubleshooting digital board-level and on-chip applications.

Students gain additional hardware experience before the implementation of their senior capstone project.

ECE 3450 M. A. Jupina, VU, 2015

Page 3: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Flipped Classroom Pedagogy Gary A. Gabriele, PhD, Drosdick Endowed Dean of the College

of Engineering, has a vision for transforming engineering education. Part of that transformation calls for classroom and lab experiences that emphasize student responsibility for their learning with faculty focused on mentoring.

In the flipped classroom, the focus is shifted from one-directional lectures filled with facts, theories and equations, to one that is problem-based, real-world oriented and experiential. Students review basic knowledge material outside of class through the use of recorded lectures and downloadable notes or visuals. The inverted classroom approach frees up invaluable class time for inquiry-based tasks and greater interaction between faculty and students.

ECE 3450 M. A. Jupina, VU, 2015

Page 4: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Entrepreneurship Exposure One set of exercises this semester will involve

developing an entrepreneurial mindset. In this set of exercises, a group of students will

identify a business opportunity, investigate the market, and create a preliminary business model for a digitally-based sensor technology.

Rationale: Most graduates will become intrapreneurs, creating value through existing organizations. Thereby, the entrepreneurial mindset has value for every engineering grad.

ECE 3450 M. A. Jupina, VU, 2015

Page 5: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Introduction

• Syllabus

• Practicums and Projects

ECE 3450 M. A. Jupina, VU, 2015

Page 6: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusCOURSE WEB SITE http://www.ece.vill.edu/~jupina/ece3450/index.htm

COURSE OBJECTIVESTo understand the properties of digital systems.

To understand how to use computer aided simulation tools to design, analyze and synthesize digital circuits.

To understand how to prototype and troubleshoot board-level and on-chip applications and designs involving timers, serial and parallel data circuits, analog/digital conversion circuits, and field programmable logic device circuits.

TEXTBOOKBrown and Vranesic, Fundamentals of Digital Logic with VHDL Design, 2nd or 3rd ed., McGraw-Hill.

ADDITIONAL REFERENCES1. Tocci, Widmer, and Moss Digital Systems, Principles and Applications, Prentice Hall, 2007.2. Hamblen, Hall, and Furman, Rapid Prototyping of Digital Systems, SOPC Edition, Springer,

2008.

ECE 3450 M. A. Jupina, VU, 2015

Page 7: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusOFFICE HOURS Please do not hesitate to meet with me if you are having difficulty with any of the material in the course. Besides the posted office hours, I am more than willing to meet with you at another mutually convenient time.

GRADINGThe final grade will be determined as follows.

Assignments: 15 % Quizzes 15 %Electronic Lab Notebook and Lab Performance: 20 %1 Lab Report: 15 %Mid-Term Exam 20 %Lab Final Exam 15 %

ECE 3450 M. A. Jupina, VU, 2015

Page 8: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusEXAMSTwo exams will be given during the semester. A mid-term exam and a final lab exam will be given. The exams will be based on projects throughout the semester and will include material from the lectures, assignments, textbook, and practicums.

ATTENDANCEAttendance is required for all practicums and will be taken via an attendance sheet. Permission for an excused absence from a session will be granted only for the most serious personal emergency. It is solely your responsibility to schedule with the TA a time to make up work of any excused absence session. Most importantly, you are NOT permitted to use your partner's results should you miss a practicum session for any reason. For each unexcused practicum absence, your final grade will be lowered by 7 points.

RULES OF CONDUCTSerious violations include late arrival; unsafe practices; eating food, drinking a beverage, or chewing gum in the laboratory; unauthorized or recreational use of computers; and misuse or abuse of equipment. A serious violation or repeated minor violations of any rule will result in a deduction of 5 points from the final grade per offense.

ECE 3450 M. A. Jupina, VU, 2015

Page 9: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusASSIGNMENT DEADLINESThe submission deadlines of assignments and lab reports will be announced by the instructor. Pre-lab assignments will be collected before the start of the practicum only and will not be accepted after this time period. These assignments are meant to prepare you for each lab session. A late submission of a lab report or non-pre-lab assignments will be assessed a 33% penalty per business week.

ELECTRONIC NOTEBOOKYou are required to maintain an electronic notebook for lab. All entries into the notebook are to be recorded as the measurements are performed. Various software tools, such as Microsoft Word, Excel, and PowerPoint, Matlab, and Quartus II, will be used to create the electronic work (Cntl-Print Screen can be used to capture the work). Each page of the notebook is to be dated and numbered, and an index at the beginning of the notebook should be created. Pre-lab assignments, calculations, simulations, circuit diagrams, data (tables and graphs), observations, and conclusions are to be recorded in this electronic notebook. The final version of the electronic notebook will be an Adobe PDF file (pdf only, no word doc files accepted) submitted via Blackboard Learn to the instructor by the due date given at the end of the semester.

ECE 3450 M. A. Jupina, VU, 2015

Page 10: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusTOPICS

1. Properties of Digital Systems

2. MOS Digital Logic Circuits

3. Programmable Logic Technologies and VHDL

4. Clocks, Schmitt Triggers, 555 Timers, and One-Shots

5. A/D and D/A Conversion

6. State Machines

7. Memory

8. Data Buses and Data Paths

Practicum projects will involve the application of the above topics.

ECE 3450 M. A. Jupina, VU, 2015

Page 11: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Syllabus

Synthesis and Simulation Software

Properties of Digital Circuits

Buses, Clocks, Memory, and FSMs

DigitalDesignProjects

Design Simulation Prototyping Testing

ECE 3450 M. A. Jupina, VU, 2015

Page 12: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusECE PROGRAM EDUCATIONAL OBJECTIVES IN THIS COURSE

FOR ABET 

a) an ability to apply knowledge of mathematics, science, and engineering.

b) an ability to design and conduct experiments, as well as to analyze and interpret data.

c) an ability to design a system, component, or process to meet desired needs.

e) an ability to identify, formulate, and solve engineering problems.

g) an ability to communicate effectively.k) an ability to use the techniques, skills, and modern

engineering tools necessary for engineering practice.

ECE 3450 M. A. Jupina, VU, 2015

Page 13: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SyllabusThe Office of Disability Services collaborates with students, faculty, staff, and community members to create diverse learning environments that are usable, equitable, inclusive and sustainable. The ODS provides Villanova University students with physical disabilities the necessary support to successfully complete their education and participate in activities available to all students. If you have a diagnosed disability and plan to utilize academic accommodations, please contact Gregory Hannah, advisor to students with disabilities @ 610-519-3209 or visit the office on the second floor of the Connelly Center.

ECE 3450 M. A. Jupina, VU, 2015

Page 14: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Some Examples of Practicums and Projects

ECE 3450 M. A. Jupina, VU, 2015

Page 15: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Properties of Digital Circuits

V DD

Gnd

74LS04and

CD4069

ECE 3450 M. A. Jupina, VU, 2015

Page 16: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Properties of Digital CircuitsPART I: Voltage Transfer Characteristics and Noise Margins

74LS04 CD4069

chan 1 chan 2

ECE 3450 M. A. Jupina, VU, 2015

Page 17: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Properties of Digital Circuits

0.001

0.01

0.1

1

10

1.00E+03 1.00E+04 1.00E+05 1.00E+06

Frequency (Hz)

Pow

er (

mW

)

LSTTL

CMOS

VDD

ISUPPLY

C

PART II: Power Supply Current and Power Dissipation

ECE 3450 M. A. Jupina, VU, 2015

Page 18: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Properties of Digital Circuits

74LS04 CD4069

channel 1

PART III: Average Propagation Delay Time and Power-Delay Product

ECE 3450 M. A. Jupina, VU, 2015

Page 19: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Layout of a CMOS Circuit

Microwind CAD Generated Drawing “Stick” Drawing in Power Point

ECE 3450 M. A. Jupina, VU, 2015

Page 20: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

The Altera DE2 Development Board

ECE 3450 M. A. Jupina, VU, 2015

Page 21: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

SignalTap II Embedded Logic Analyzer (Altera DE2 Board)

ECE 3450 M. A. Jupina, VU, 2015

Page 22: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Required Installation of Quartus II on Laptops

• Go to the following network drive location:

K:\Quartus

to download the Altera Quartus II Version 9.1 software.

• Version 9.1 has a built-in simulation tool. Versions 10 and later require the use of a third party simulation tool, such as ModelSim.

ECE 3450 M. A. Jupina, VU, 2015

Page 23: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Design Process for Schematic or VHDL Entry

ECE 3450 M. A. Jupina, VU, 2015

Page 24: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Quartus II Tutorial

ECE 3450 M. A. Jupina, VU, 2015

Page 25: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

• Polaroid sensor range is six inches to 35 feet

• 16 cycles at 49KHz

• Listen for return pattern

• Sound travels ~0.9 ms/ft

• Timer and Decoder on

DE2 determines distance

• ALU determines speed

Sonar Sensor Project (Module Interfaced to a Simple Processor on the Altera Board)

Sensor

ECE 3450 M. A. Jupina, VU, 2015

Page 26: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Block Diagram of Sonar Sensor Project

SonarCircuit

Y-bits

DATA

Data Request

Data Ready

PROCESSOR SONAR SYSTEM

Data BusRegisters

ALU

FSMs

ECE 3450 M. A. Jupina, VU, 2015

Page 27: Villanova University Department of Electrical and Computer Engineering ECE 3450 Digital Electronics Spring 2015 Dr. Mark A. Jupina 430 Tolentine Hall (610)

Entrepreneurial Product Design

DigitalPlatform

InterfaceSensor

Wireless or Wired?I2C, SPI, RS-232C,or GPIO?

Transducer Mechanism?Specifications: Analog or Digital Output Data Rate Power Requirements

Laptop, Tablet, Phone?Android, Apple, Arduino,BeagleBoard, PandaBoard,FPGA (Altera or Xlinx), Raspberry Pi, etc?

Background on Digital Platforms: http://www.mathworks.com/hardware-support/home.html?s_tid=hp_mi_hwsupport_0913ECE 3450 M. A. Jupina, VU, 2015