ESET 219

From ESET Wiki

Dr. Joseph A. Morgan, P.E.



Instructor:  Dr. Joseph A. Morgan, P.E.
Office:      F111B
Telephone:   979-575-0128
Email:       jmorgan@tamu.edu



DIGITAL ELECTRONICS

CATALOG DESCRIPTION

ESET 219. Digital Electronics. (3-2). Credit 4. I, II

The ESET 219 Course Syllabus (available at howdy.tamu.edu) should be downloaded and reviewed. Students will have the opportunity to ask any clarification questions during the second class period. In addition, students should complete the Lab Safety requirements.

COURSE OVERVIEW

ESET 219 is a first course in digital logic and design. The major topics covered in this course include:

1. Number systems (e.g., binary, 2's complement representation),

2. Field Programmable Logic Device (schematic capture, simulation, device configuration, programming, test and verification),

3. Basic logic gates (e.g. AND, OR, NOT, XOR, XNOR gates),

4. Truth tables and Karnaugh maps for designing and simplifying logic circuits,

5. Combinational logic (e.g., multiplexers, demultiplexers, encoders, decoders),

6. Sequential logic (e.g., flip-flops and counters),

7. State machines,

8. Implementation of an autonomous mobile platform controller, and

9. Xilinx Race of Champions. Xilinx Race of Champions Video


Students will work in teams of two in the laboratory which is structured to re-enforce the theory and principles taught in class. ESET 219 is unique in that it utilizes an FPGA-based environment and a digital schematic design library for LabVIEW / Multisim to support development and testing of combinatorial and sequential logic circuits. In addition, the course includes an opportunity for students to compete in an autonomous robot competition at the end of the course.

CLASS MATERIALS

Lesson 1 Slides

Lesson 1 Slides are provided for reference purposes.

VideoBytes -- BASIC TOPICS

These short videos provide a basic topic that is essential to the digital design process. Students should review these videos and be prepared for quizzes on the material. Question on any of the topics covered in these videos should be asked at the start of class. If more information or practice is needed, students should schedule an Extra Instruction (EI) session with the ESET Administrative Coordinator. A Power Point file is included in the following files which contains the slides used in the videos for student reference.

REFERENCE SLIDES

LESSON Video Slides


OVERVIEW

LESSON 1 NUMBER SYSTEMS

CODES

LESSON 2 ASCII CODES

LESSON 3 BCD & 7 SEG CODES

NUMBER SYSTEMS

LESSON 4 DECIMAL NUMBER SYSTEM

LESSON 5 BINARY NUMBERS

UNSIGNED (Positive only) BINARY NUMBER SYSTEM

LESSON 6 UNSIGNED BINARY NUMBERS

LESSON 7 UNSIGNED BINARY ADDITION

LESSON 8 UNSIGNED BINARY SUBTRACTION

BASIC LOGIC GATES

LESSON 9 BASIC LOGIC GATES

TWO'S COMPLEMENT SIGNED (Positive and Negative) BINARY NUMBER SYSTEM

LESSON 10 TWOS COMPLEMENT NUMBER SYSTEM

LESSON 11 TWOS COMPLEMENT ADDITION

LESSON 12 TWOS COMPLEMENT SUBTRACTION

MINTERM/MAXTERM EQUATIONS

LESSON 13 GENERATING MINTERMS EQUATIONS

LESSON 14 GENERATING MAXTERM EQUATIONS

MINTERM/MAXTERM EQUATION TO CIRCUITS

LESSON 15 MINTERM EQUATION TO CIRCUIT

LESSON 16 MAXTERM EQUATION TO CIRCUIT

OCTAL AND HEXADECIMAL

LESSON 17 OCTAL AND HEXADECIMAL

K-MAPS AND REDUCED SOP AND POS EQUATIONS

LESSON 18 K-MAPS AND REDUCED SOP AND POS EQUATIONS

COMPARATORS AND CASCADING COMPARATORS

LESSON 19 COMPARATORS AND CASCADING COMPARATORS

SELECTORS

LESSON 20 DESIGNING SELECTORS

LESSON 21 CASCADING SELECTORS

LESSON 22 PARALLELIZING SELECTORS

LESSON 23 SELECTOR IMPLEMENTATION OF CLC DESIGN

DECODERS

LESSON 24 DESIGNING DECODERS

LESSON 25 CASCADING DECODERS

LESSON 26 DECODER IMPLEMENTATION OF CLC DESIGN


Other videos that might be of interest. Digital Design Introduction Topics

REFERENCE MATERIALS

Software Install Tutorial

Multisim Laboratory Development Environment

Programming Your FPGA Board Adept.docx

Lesson 1 Slides

Krisys Overview, Sensor Board, PWM and H-Bridge Description

Basys 2 Board Wiring Diagram

Sensor Board Assembly Manual (v6.0)

HOMEWORKS

Codes, Addition, Subtraction

CLC Design and Implementation Assignment 1

CLC Design and Implementation Assignment 2

CLC Design and Implementation Assignment 3

Boolean Algebra

Comparitor Timing Analysis

CLC Design Using Selectors and Decoders

Flip Flop Timing Diagram

REVIEW PROBLEMS

REVIEW PROBLEMS 1

MIDTERM EXAMS

Midterm Exam A

Midterm Exam B

Student Survey

LAB MATERIALS

Students should download and review the appropriate lab materials before attending each lab. All lab assignments add experience and understanding required to successful design and build an autonomous robot. It is the student's responsibility to review and validate that the report is correct and complete before submission.

Laboratory Syllabus

The ESET 219 Laboratory Syllabus provides information specifically about the laboratory assignments, grading, and the course project.

Basys2 Profiles

Two files,ENTC 219 Basys2 Profile File and UCF File,should be downloaded and used with the Multisim Development Environment. Once the files are downloaded and unzipped, copy the two files to the following directory:

C:\program files(86)\National Instruments\Circuit Design Pro14\pldconfig

Now when you create a new design from the drop down menu, there should be an option th at indicates BASYS2.

This process is fully covered in Installing Basys2 Profiles

Labs

Lab work will include the design and construction of a Krisys Robot by each student. The ESET Program will provide the following items for the Krisys Robot activities:

    Basys2 FPGA Development Board
    Tools and Soldering Stations

Students will purchase a Krisys Robotics KIt as part of the laboratory requirements. The purchase of this kit is made in lieu of purchasing a textbook. The kit includes a Sensor Board which has both Through-hole and Surface-Mount parts. Each student will populate his/her sensor board and test it for proper operation.

Students will need to purchase their Krisys Kits early in the course. The basic kit will contain the

    1.  Electro-mechanical portions of the robot
    2.  L298 Dual-Channel Power Driver Board 
    3.  Sensor Board PCB and associated electronic components

PLEASE NOTE - The Krisys Kit components will be augmented and used in other ESET courses. Maintaining these lab items in good condition is in your best interest. Replacement of parts that malfunction is the responsibility of the student. Students are advised to inventory their kit at time of purchase to ensure all parts are included in the kit.

Lab 0

In Lab 0, you will be introduced to the laboratory software tools and shown how to generate a simple schematic, compile the design, and then download your design to the Basys2 FPGA Development Board where you can verify your design through testing and validation. Use Lab 0 document in completing this lab.

Lab 1

In Lab 1, you will be introduced to the laboratory software tools and shown how to generate schematics, download code to the Basys2 FPGA Development Board and verify your design through testing and validation. Use Lab 1 for this laboratory assignment. You also find that this video Lab 1 Video - Word Generator and Logic Analyzer to be of value in completing this assignment

Lab 2

In Lab 2, you will be exploring the concept and application of logic gates and Boolean theory (2’s Complement) by implementing a truth table through the use of logic gates. Use Lab 2 for this laboratory assignment.

Lab 3

In Lab 3, you will be designing, creating and testing a 2-bit comparator using Boolean algebra, logic gates, and downloading the design to the Basys2 for testing. Use Lab 3 for this laboratory assignment.

Lab 4

In Lab 4, having gained a thorough understanding of basic logic design, higher-order logic devices, Boolean logic, and other various logic applications, you will be using that said knowledge to design a multiplexer using only basic logic gates and the Basys2 for testing. Use Lab 4 for this laboratory assignment.

Soldering Krisys Sensor Board

In this lab you will be populating a through-hole/surface mount component PCB used to acquire the analog signals from the inductive sensors and convert this information to a digital format. Reference the Sensor Board Assembly Manual (v6.0) for detailed instructions on populating this PCB.

Lab 5

In Lab 5, you will be exploring the operation and design of flip-flop based circuits and appreciate their application in modern-day systems.

Use Lab 5 for this laboratory assignment.

Lab 6

In Lab 6, you will be exploring the function and design of a 2-bit binary counter.

Use Lab 6 for this laboratory assignment.

Also, use Frequency Divider for this laboratory assignment.

Lab 7

In Lab 7, you will be exploring the design and creation of a PWM signal.

Use Lab 7 for this laboratory assignment.

Lab 8

Lab 8 is the final robot project. You will be designing and implementing all of the concepts that have been taught throughout the digital design class to build a robot that follows a line. These are the parameters which you must include in your design.

Use Lab 8 for this laboratory assignment.


Lab 9

Each student will need to demonstrate that they are moving forward in a systematic manner in the design, development and testing of their project over the period of weeks they are working on the project.

Project Milestone Demonstrations contains the elements that will be demonstrated during the associate lab check off times. Points for each benchmark presentation will be assessed and will add to your final project grade.

Each student must be able to successfully demonstrate their autonomous robot and its ability to follow a line designated by a wire carrying an alternating current that has been taped to the floor. This is a mandatory requirment to successfdully complete the course.

Each student will submit a final project report documenting their design and implementation of their robot. Guidelines are provided in Final Project Report Guidelines


Autonomous Robot Project Competition

The Xilinx Race of Champions is an optional activity for those students who wish to evaluate their design against other ESET 219 teams. This competition includes a drag race and road race. The drag race is used to assess the Krisys robot in terms of speed, and the road race is used to assess the ability of the robot design to control the platform over an unknown track. One of the team's robots will compete in the drag race while the other will compete in the road race. Each team will have two attempts to produce their lowest time in each event. The lowest time for each is summed to produce the team's competition time. The lowest combined time is declared the winner.

In addition to allowing students to compare designs and implementation strategies, the competition is also used to determine which students will have the opportunity to have their course Final exam grade substituted for their Minterm exam grade.

TECHNOLOGIES

Soldering

As part of the ENTC 219 Laboratory learning experience, students will be required to fabricate a Krisys Robot Motor Driver Board by soldering through-hole components on to a Printed Circuit Board (PCB). Prior to attempting this task, students should take the opportunity to watch a series of videos available on the etetwiki Knowledge Bases

1. Basic Soldering Equipment

2. Basic Soldering Techniques

3. Basic SMD Soldering Techniques

4. Desoldering Techniques

5. Board Cleaning Techniques


These short demonstration videos can make a significant difference in the quality and thus the performance of the team's robot.