Introduction to Electrical & Electronic Engineeringengg1015/fa12/handouts/01...Selected topics in...
Transcript of Introduction to Electrical & Electronic Engineeringengg1015/fa12/handouts/01...Selected topics in...
17/9/12
1
Introduction to Electrical & Electronic Engineering
ENGG1015 1st Semester, 2012
Dr. Hayden Kwok-Hay So
Department of Electrical and
Electronic Engineering
1st semester, 2012 ENGG1015 - H. So 2
Extensive. Essential. Extremely complicated.
How to capture the essence of all these in
1 semester?
Course Goal
1st semester, 2012 ENGG1015 - H. So 3
Lecture
Labs Project
Theory
Practice Practice
Selected topics in EEE with depth • Digital Logic • Computer Architecture • Circuit • Signal & Systems
Techniques useful also in non-EEE disciplines • Dealing with large
complex systems • Team project
How complicated? Moore’s law n “The number of transistors incorporated in a chip will approximately double
every 24 months.”
—Gordon Moore, Intel Co-Founder (1965)
n Core i7-980 has 1.17 billion transistors, at 3.33 GHz, 32nm technology
1st semester, 2012 ENGG1015 - H. So 4 taken from: http://www.intel.com/content/www/us/en/silicon-innovations/moores-law-embedded-technology.html
If Moore’s Law were to apply to homework n Assume:
• 10 minutes to solve a homework question with 10 circuit components (level of 1015)
• Amount of time needed to understand the circuit scales linearly (much worse in real-life)
• An Intel Core i7 contains ~1 billion components
n How long does it take to fully understand the processor?
n Ans:
1st semester, 2012 ENGG1015 - H. So 5
109 minutes = 694,444 days = 1,901 years
Dealing with Complexity n PCAP
• Primitive • Composition • Abstraction • Pattern
n Break down large problems into smaller pieces
n Build large system using smaller pieces
1st semester, 2012 ENGG1015 - H. So 6
17/9/12
2
PCAP - Abstraction
n Abstraction is the process of encapsulating (low-level) details by well-defined interfaces. • Related concepts: layering, sub-system, hierarchy
n Hiding low-level details allows one to focus on the big-picture (current picture)
n In simple terms: Make use of something even before you fully understand how it works
1st semester, 2012 ENGG1015 - H. So 7
Top-Down vs Bottom-Up n To any problem, an engineer can
either take a top-down or a bottom-up approach.
n A top-down approach starts with high-level ideas and work downwards towards implementation details • An onion peeling process
n A bottom-up approach starts with low-level details and work upward to the final goal • A building process
n Good engineering practice combines both methodologies
1st semester, 2012 ENGG1015 - H. So 8
Bottom Up
Top - Down
High-Level Goal
Low-Level Details
ENGG1015
A Top-Down Approach n Start from the high-level goal n Gradually unveil details of next lower-level as
needed
n Unveil by asking “Why”, “How”.
1st semester, 2012 ENGG1015 - H. So 9
An Onion Peeling Process
Example: Using Computer n As long as you know how to use a keyboard and a
mouse, you can be operating the entire computer without knowing: • How the keyboard is connected to the computer • How does the keyboard tell the computer which key you
have pressed • …
n It works because all the detail communication between a computer and the keyboard are hidden behind a well defined abstraction: • There are 104 keys. • Pressing a key è Computer receives the corresponding
value
1st semester, 2012 ENGG1015 - H. So 10
Peeling the onion… n One day your keyboard is broken, you need to
replace it with a new one n As a result, you need to know more details about
the keyboard: • What kind of connection does it have to the computer?
USB? PS/2? • Do you want to have a “wireless” keyboard?
But… n You don’t need to know:
• How does USB work. • How does the wireless connection work for the
keyboard. Is it the same as your cell phone?
1st semester, 2012 ENGG1015 - H. So 11
More Onion Peeling… n One day you have become a hardware engineer
for a computer accessory company, then…
n You will need to know how does the USB connection on the keyboard communicate with USB host controller on the computer
Yet…
n You still don’t need to know how the USB host controller communicates with the CPU
1st semester, 2012 ENGG1015 - H. So 12
And the process continues…
17/9/12
3
Course Topics n Topics divided roughly into 4 modules
1st semester, 2012 ENGG1015 - H. So 13
Digital Logic
Circuits
Computer Architecture
Signal & System High Level
Low Level
Project Overview n A key component of this course is your
project performance
n Engineering is about Problem Solving • Problem solving skills are best trained through
group project
n Work with real-life engineering challenges • Project deadline • Budget constraints • Disputes among teammates
1st semester, 2012 ENGG1015 - H. So 14
What’s the Project About?
1st semester, 2012 ENGG1015 - H. So 15
Project: Rube Goldberg Machine n You will build an incredible, amazing,
creative, and fun Rube Goldberg Machine to pop a balloon. • “A machine designed to perform a very simple
task in a overly complex way.”
n Must contain a number of required electronic stages, connected in any imaginable ways
n Rewarded for being • Creative • Fun • Budget constrained • Time precision
1st semester, 2012 ENGG1015 - H. So 16
1st semester, 2012 ENGG1015 - H. So 17
the boring but important bits of the course…
The Staff…
1st semester, 2012 ENGG1015 - H. So 18
Dr. Hayden So Assistant Professor
Dr. Kenneth Wong Associate Professor
Instructors TAs
• LEI Chi-Un Leon • WANG Xie • XU Jianbing • CHOI Yuk Ming • NG Ho-Cheung
Dr. Edmund Lam Associate Professor
LAs
• 1015 veterans…
17/9/12
4
Class Communication
n Course information will be posted on the course website as soon as they are available • Our “official” means of communications • It’s your responsibility to know what’s posted
there!
n Queries, discussion, admin: Piazza n Homework submission, lab, online
assignment: Moodle n All course-related announcements will be
made via email • Check your email – again your responsibility!
1st semester, 2012 ENGG1015 - H. So 19
http://www.eee.hku.hk/~engg1015
Class Mechanics
1st semester, 2012 ENGG1015 - H. So 20
Type Time Location
Lecture Every other Monday 14:30-15:20
Chong Yuet Ming (CYP-P4)
Tuesday 13:30-15:20 Chow Yei Ching (CBA)
Tutorial Every other Monday 14:30-15:20
Chong Yuet Ming (CYP-P4)
Lab 2 hours every week - M 9:30-11:30 - M 11:30-13:30 - W 9:30-11:30 - W 11:30-13:30
Chow Yei Ching (CB-LG205)
Exam 3 hours TBD
Assessment Homework 20% • 3 homework assignments
• Best 2 out of 3 Labs 15% • In-lab checkoffs
• Work with assigned partner • New partner each week
Project 25% • Work with self-formed groups of 4
• Competition with prizes end of semester
• Dec 5, 2012 tentatively Exam 40%
1st semester, 2012 ENGG1015 - H. So 21
Plagiarism
1st semester, 2012 ENGG1015 - H. So 22
Absolutely ZERO tolerance in plagiarism
n For official definition of plagiarism, see: http://www0.hku.hk/plagiarism/
n Guide to avoid plagiarism: http://aao.hku.hk/fy4/plan-of-study/exa-and-ass/plagiarism/
Plagiarism n My unofficial definition: “Any copying and/or stealing of materials
and/or ideas from any person other than yourself” is regarded as plagiarism. • i.e. includes copying work from previous semester, from the Internet,
from your classmates, etc. n In the case of an individual assignment, you will automatically
get a ZERO mark for the assignment if acts of plagiarism is detected, including, but not limited to homework, project report, project peer-review, and project presentations.
n In the case of a group work, any act of plagiarism from any member of the group will result in ZERO mark for the entire group, unless such act has been reported by members of the group not involved in such act, in which case only the person(s) involved will receive ZERO mark.
n In addition, any person involved in act of plagiarism may be subject to further investigation by the relevant University disciplinary units.
1st semester, 2012 ENGG1015 - H. So 23
Action Items for YOU n Visit course homepage:
http://www.eee.hku.hk/~engg1015
n Check that you are enrolled in the ENGG1015 class in Moodle • HKU Portal à My eLearning à ENGG1015_1A_2012
n Sign up for lab session: • Sign up link located in Moodle page • Sign up begins 18/9 5am, ends 20/9 11:55pm
n Sign up on Piazza • You should have received a sign up invitation email to
your HKU email
1st semester, 2012 ENGG1015 - H. So 24
17/9/12
5
In conclusion… n This course is about providing a top-down
overview of many fields of electrical and electronic engineering • In-depth study on key topics • Digital logic, circuit, computer architecture, signal
& system
n Emphasis on problem solving skill and strong team work building through project building
n Emphasis on creativity, innovation, and fun
1st semester, 2012 ENGG1015 - H. So 25