01 Introduction 4up
01 Introduction 4up
Electronic Engineering
ENGG1203
1st Semester, 2014-15 Extensive. Essential.
Extremely complicated.
Wordcloud based on all courses offered by HKU EEE Wordcloud based on all course offered by HKU EEE
Created by www.jasondavies.com/wordcloud
Created by www.jasondavies.com/wordcloud
Fall 2014 ENGG1203 - HS 3 Fall 2014 ENGG1203 - HS 4
4 Modules, 1 Project
Project: Rube Goldberg Machine
n You will build an incredible, amazing, creative,
Computer Digital and fun Rube Goldberg Machine to pop a
System
Logic
balloon.
• Rube Goldberg Machine: “A machine designed to
lab
perform a very simple task in a overly complex
way.”
n Must contain a number of required electronic
stages, connected in any imaginable ways
Signals Rewarded for being
Systems &
Project
Circuit
n
• Functional
Control
• Creative
• Fun
Circuit
Digital
Logic
Signals
Systems &
Computer Control
System
Dr. Hayden So • Dr. Leon LEI (Head) n Course information will be posted on the
Assistant Professor • Ho-Cheung NG course website as soon as they are available
• Bowen LI • Our “official” means of communications
• It’s your responsibility to know what’s posted
• Yu YANG there!
Dr. C K Lee • Nina ENGELHARDT n Queries, discussion, admin: Piazza
Assistant Professor
n Homework submission, lab, online
assignment: Moodle
Lab Assistants (LAs)
n All course-related announcements will be
made via email
• 1203 veterans…
• Check your email – again your responsibility!
Assessment
Plagiarism
Homework
15%
• 3 homework assignments
Labs
10%
• In-lab checkoffs
• Work with assigned partner Absolute ZERO tolerance in plagiarism
• New partner each week
Project
20%
• Work with self-formed groups
of 4-5
n For official definition of plagiarism, see:
• Competition with prizes end
of semester
http://www0.hku.hk/plagiarism/
• Nov 26, 2014 tentatively
n Guide to avoid plagiarism:
Midterm Exam
15%
Oct 24, 11:30am-12:30pm http://aao.hku.hk/fy4/plan-of-study/exa-and-
tentatively
ass/plagiarism/
Exam
40%
Administrivia
n First Lab is next Wednesday 9:30am
• Lab partner will be assigned randomly. Check on
Moodle, there will be a link that shows your
partner.
• Lab check-off in lab
n Abstraction is the process of encapsulating (low- n Decompose a system into multiple sub-systems
• Each sub-systems can be decomposed into more sub-systems
level) details by well-defined interfaces. • A top-down approach
• Related concepts: layering, sub-system, hierarchy n Compose larger systems by connecting smaller sub-
n Hiding low-level details allows one to focus on systems
• Each composed system can be used to compose even bigger
the big-picture (current picture) systems
• A bottom-up approach
n In simple terms: Make use of something even n The organization of sub-systems forms a hierarchy
before you fully understand how it works
n Engineers usually represent each sub-system as a n All electronic/electrical systems must ultimately be
block, forming block diagrams. interacting with the physical world:
• Temperature of the air,
n The boundary of each sub-system is somewhat • Time,
arbitrary • Light,
• Up to the engineering team • Sound,
n But the key is to have a clean and well-defined • Human movement…
interface n Hierarchy (the use of sub-system), might hide that fact,
• Abstraction but all systems do interact with the physical world
n Convert physical quantities into internal quantities that are n Convert internal quantities that are easy to
easy to manage
manage into physical quantities that interact with
n In EEE, it usually means converting a physical quantity the physical world
into electrical signals, such as voltage (V), current (I),
resistance (R), etc… n Examples
n Examples • A speaker translates voltage values (V) into movement
• A microphone translates movement of air in the form of air of air in the form of air pressure that generate sound
pressure into voltage
• A wind turbine translates wind into electrical power • A light bulb that turns current values (I) into light
• A light sensor translate light intensity (lumens) into resistance • A motor that drives a wheel to spin
• A thermistor translates temperature into resistance • A solenoid that generates a pulling force on a shaft
Percentage of people
paying attention
Process 75
Ball Rolls Turns on
Past Sensor
Input
Output
Laser
3 times?
50
25
Digital Abstraction
n Abstract all signals as TWO discrete values
• Usually denoted TRUE, FALSE, high, low, ‘1’, ‘0’
• We use TRUE, high, ‘1’ synonymously
n The value TRUE does not necessarily
correspond to a high physical voltage
• We can define TRUE anyway we want as long as
Abstraction 1
it does not overlap with that of FALSE
• More in later lectures…
DIGITAL LOGIC
n An example of abstracting low-level details
using a well-defined interface
NOT Gate the tunnel AND a toy car has reached the bottom of a ramp”
a y
Boolean
Schematics
Expression
Boolean
Schematics
Expression
Truth Table
Truth Table
n Straightforward conversion:
n Determine the Boolean expression of the following
1 label all inputs circuit:
2 repeat until all nodes labeled:
3 forall gates G with all input labeled:
4 compute and label output of G A
A
A+B
n Example: Determine the Boolean expression of the B
following circuit: Note the bar is over the
entire expression
A AB
A A+B
B AB + C A+B
C B
Example 3
Precedence
Boolean
Schematics
Expression
✓
✗
( )
Highest
B A + BC (A + B)C
C NOT
AND
OR
Lowest
Truth Table