Circuits II ENGG1015 Tutorial - Department of Electrical and

advertisement
ENGG 1203 Tutorial


Introduction to Electrical and Electronic
Engineering – 2013 Spring Semester
Time and Venue


Tutor




Class: 1430 – 1520 CPD-LG.08, every Friday
Leon LEI (me): CB 806
Michael CHAN: CB 515
Contact TAs and me via Piazza
Tutorial materials

http://www.eee.hku.hk/~culei/ENGG1203.html
1
Tutorial Schedule (Tentative)










1/25
2/1
2/8
2/15
2/22
3/1
3/8
3/15
3/22
3/29
Introduction+System
Digital Logic
Digital Logic
Lunar New Year
Digital Logic
Circuit
Circuit
Reading Week
** Mid Term **
Good Friday






4/5
4/12
4/19
4/26
5/3
5/X
Signal
Signal
Signal
N/A
N/A
Computer+Revision
2
ENGG 1203 Tutorial


Each class: 40 min. tutorial + 10 min. Q/A
Tutorial materials




Regular tutorials
Project facilitation tutorial after lab sessions
Revision tutorial before examination (Tentatively)
Question banks
(* : may be obsolete)


Homework 2012, 2011*, 2010*
Past paper 2012, 2011*, 2010*
3
ENGG 1203 Admin Q&A

Lecture/Lab materials, announcements  Course site


Moodle  HKU Computer Center



https://piazza.com/#spring2013/engg1203
Admin help  Piazza (Private post)
Extra lab check-off session  TA office hour (CB LG205)


http://www.its.hku.hk/lms/moodle/v2/support_student.php
Prompt helping, finding groupmates, asking
lecture/tutorial/homework questions  Piazza


http://www.eee.hku.hk/~engg1203/sp13/index.html
Thu 1530 – 1730, Fri 1530 – 1730 (Tentative)
Textbook  No textbook
4
ENGG 1203 Tutorial



ENGG1203 and Systems
25 Jan
Learning Objectives



Outline the course, the tutorial and the project
Identify concepts of systems
News

Start to have laboratory sessions next week

Sign up by tonight (25 Jan)
5
IPhone 4S ↔ ENGG1203 / Project

“Too broad and no focus for
lectures/tutorials…”



“No connection between topics…”
“Too many topics are covered…”
In this course, we teach




Digital circuit
Analog circuit
Signal and Control
Digital system
IPhone 4S ↔ EEE …
Linear oscillating vibrator
Light sensor and
IR LED for the
proximity sensor
8 megapixel camera
Battery
960 x 640
pixel Retina
display
IPhone 4S ↔ EEE …
Siri /
iCloud
- Touchscreen
controller
- Gyroscope
- Three-axis
accelerometer
- Audio codec chip
Dual-core
processor with
RAM
- Dual-core Processor
- RF Transceiver (Analog)
- Power Amplifier
- Surface acoustic wave filter
Source: http://www.ifixit.com/Teardown/iPhone-4S-Teardown/6610/1
IPhone 4S ↔ ENGG1203 …

Sensors, Actuators


Computer Systems


Compute, control and decide
Digital Logic


Measure and manipulate the physical
environment
Assemble a
computer system
Electrical Circuit

Assemble digital logic,
convert signals
IPhone 4S ↔ Rube Goldberg Machine …
Vibration/Motion
IPhone 4S =
Rube Goldberg
Machine?
Light sensor and
proximity sensor
Control circuit
(microcontroller)
Topics in ENGG1203


Topics are linked
together
We learn some
modules first

Learn more
(but not all) in EEE UG
Electrical Safety






5-10 ma can cause death
Skin resistance can range from 1kΩ for wet
skin to 500kΩ for dry skin.
Death can result from as low as 50 volts
Body can sense 9 volts under the right
conditions
NO Slippers and NO Sandals in the Lab
Report TAs or technicians for any emergency
case
Electrical Units






* Voltage (V): volts (μv → kv)
* Current (I): amperes (amps), milliampere
(ma 10-3)
* Resistance (R): ohms Ω, k-ohms (k 103),
meg ohms (m 106)
Capacitance (C): farad, microfarad (µf 10-6),
nanofarad (nf 10-9), picofarad (pf 10-12)
Inductance (H): henry, millihenry, microhenry
Frequency (freq.): Hertz, MHz, GHz 109
Digital Multi-meter (DMM)


Important diagnosis tool
Voltage DC: 2mv-1000v





24m, 240m, 2.4, 24, 240
Voltage AC: 2vac-750vac
Current: 2ua-10a
Resistance: 2Ω-2MΩ
Turn off the DMM if you
are not using
Electrical Symbols
AC source
contact
relay
speaker
lamp
buzzer
bell
battery
resistor
ground
DC source
Resistor


V = IR
Resistor parameters: resistance and tolerance



Resistors are color coded
Common tolerance: ±5%, ±1%
Variable resistors: pots
Resistor Color Code (Optional)

To distinguish left from right there is a gap
between the C and D bands.




band A is first significant figure of component value (left
side)
band B is the second significant figure
band C is the decimal multiplier
band D if present, indicates tolerance of value in percent
(no color means 20%)
Resistor Color Code (Optional)
Resistor Color Code (Optional)

A resistor with bands of yellow, violet, red,
and gold



First digit 4 (yellow), second digit 7 (violet),
followed by 2 (red) zeros: 4,700 ohms.
Gold signifies that the tolerance is ±5%
The real resistance could lie anywhere between
4,465 and 4,935 ohms
Power Requirements

Power (voltage) supplies that used in analog
and digital circuits




+3.3v, +5v for digital circuits
+15v, -15v for analog circuits
-5v, +12v, -12v are also used
In this course


0v, +3.3v for digital circuits
-15v, +15v, for analog circuits
Project Videos




FA12 http://youtu.be/oDss2gXJEyQ
FA11 http://youtu.be/n5JhVXeYZyI
More videos in the course FB page
https://www.facebook.com/ENGG1015FA12 (FA12) and
https://www.facebook.com/pages/ENGG1015FA11/256345307719029 (FA11)
Extra: LEGO Great Ball Contraption
http://youtu.be/sUtS52lqL5w
21
Lab Session (Tentative)

Ball counting






Simple Boolean Logic
Advanced Boolean Logic + Adder
Flip Flop + Ball counting (software)
Ball counting (hardware)
Sensors + Actuators
Tracking



Uni-directional motor driving
Light sensing
Light tracking
22
Lab Check-off

Extra TA office hours for lab check-off



Thu 1530 – 1730
Fri 1530 – 1730
To speed up lab check-off process



Read the instruction sheet before lab session
Log in the lab check-off system before calling TAs
If you have multiple check-off, log in different HKU
Portal accounts via different internet browsers (IE,
Firefox, Chrome, 360, Sogou, Liebao, Maxthon…)
23
Probing Questions

Big questions



How to design an (complicated) electrical system?
How do you (as a team) build a multi-stage Rube Goldberg
Machine that is functional and creative?
Small questions





How do you describe the stages that are involved in the
machine?
How do you describe the electrical components in the machine?
How do you demonstrate your skills of technical design and
implementation?
How do you demonstrate your ability to work effectively with
diverse teams?
How do you demonstrate your originality and inventiveness?
24
Systems that You Will Build in Lab
Sessions

Ball tracker



Lab 1 – Lab 4
The tunnel increments its internal counter every
time a ball rolls through the tunnel.
When three balls have
rolled through the
tunnel, it raises a
digital DONE signal.
25
Systems that You Will Build in Lab
Sessions

Light tracking (Tentative)


Lab 6 – Lab 8
The head can follow the direction of a light source
26
Sensors and Actuators in the Project
27
Learning Objectives in the Project

After taking this course, you can







Describe stages that are involved in a basic system
Identify electrical components and instruments
Demonstrate technical design and implementation skills of a
basic electronic system
Construct circuits with sensors, actuators and microcontrollers
Identify, formulate and solve basic engineering problems
Design and conduct technical experiments, as well as analyze
and interpret the obtained data
Work effectively with diverse teams
28
Project Checklist



Checklist: Collaboration, Creativity, Problem Solving,
Project Planning, Project Implementation
Students can identify goals, design strategies and
schedules to meet goals, and define group criteria in the
design process
You can also monitor how general engineering skills and
thinking can be
applied in the design
process.
29
Question: Top-down vs Bottom-up
Item
Driven by system requirement
Top-down
Bottom-up
Yes
Driven by component integration
Yes
Construct system by composing smaller parts
Yes
Construct system by decomposing
Yes
Generate new ideas from system requirements
Yes
Synthesize new ideas from existing components
Must work with unknown system components as
black-boxes
Yes
Yes
30
Question: Procedures in top-down
and bottom-up

Making a dinner (Top-down)






Decide the types of dishes according to the location, number of
people, time and purpose of dinner
Design dishes according to the types of dishes, diet
requirements, kitchen equipment
Find out required ingredients and
sauces for each decided dishes
Get all things ready
(e.g. buy and clean ingredients,
prepare sauces)
Cook every dishes
Bring dishes to the table
31
Question: Procedures in top-down
and bottom-up

Making a dinner (Bottom-up)






Find out the ingredients available
Clean and cut the ingredients according to your own skill and
available kitchen equipment
Mix and match available ingredients as different dishes to meet
the dinner requirements, such as dietary requirements, location,
number of people, time and purpose of dinner, etc.
Cook every dishes by the given kitchen equipment
Bring dishes to the table
Making a Rube Goldberg Machine?
32
Question: Procedures in top-down
and bottom-up

Making a Rube Goldberg Machine (Top-down)







Decide the types of stages according to the location, number of
stages, and interface of each stage
Design stages according to the types of stages, input and output
requirements
Find out the required components for each stage
Get all things ready (e.g. acquire from the technician)
Prepare and assemble each stage
Combine each stage together
Fine-tune the connection between stages
33
Question: Procedures in top-down
and bottom-up

Making a Rube Goldberg Machine (Bottom-up)





Find out the components available
Mix and match available components as different stages to meet
the project requirements such as types of stages according to the
location, number of stages, and interface of each stage etc.
Prepare and assemble each stage by the given equipment
Combine each stage together
Fine-tune the connection between stages
34
(Appendix) What is a Rube Goldberg
Machine (in this course)?


General: Rube Goldberg Machine can be defined as “a machine
designed to perform a very simple task in an overly complex way” or
“a comically involved, complicated invention, laboriously contrived to
perform a simple operation”.
Technical: Rube Goldberg Machine can be defined as an intuitive
and loosely defined engineering system. In particular, the Rube
Goldberg Machine is a machine that has at least four distinct stages
with its own triggering mechanisms. In addition, the machine is
started with pushing a button/switch, and is ended by popping a
balloon. In a stage, an electrical sensor is triggered by an external
mechanical input, the sensor then switches on the electrical
actuator(s) through relay buffers. Electrical actuator then moves
mechanical parts, which finally trigger the electrical sensor in the
next stage.
35
(Appendix) What is a Rube Goldberg
Machine (in this course)?

Pedagogical: Rube Goldberg Machine design project can be used to
trigger and maintain students’ motivations in learning because of its
innovative, humorous and unconventional nature. Furthermore,
Rube Goldberg Machines are usually constituted of daily life objects,
and thus the design project creates a friendly environment that
encourages intellectual engagement of students. Moreover, the
Rube Goldberg Machine project contributes to two primary learning
events: i) to gain students’ attention, and ii) to stimulate students’
recall of prior learning. According to Gagne’s instructional theory, for
learning to take place (i.e. learning to design their machines
efficiently), primary learning events must be accomplished first.
36
Download