curie academy 2014 design project: exploring an internet ...electrical and computer engineering...
TRANSCRIPT
CURIE Academy 2014Design Project: Exploring an Internet of Things
Christopher BattenSchool of Electrical and Computer Engineering
Cornell University
http://www.csl.cornell.edu/curie2014
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session The Internet of Things
CURIE Design Project Sponsors
Funding partially provided bythe National Science
Foundation through NSFCAREER Award #1149464
Laboratory facilities providedby the School of Electricaland Computer Engineering
at Cornell University
CURIE Academy 2014 Design Project Final Presentations 2 / 31
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session The Internet of Things
CURIE Design Project Staff
I Patrick Cao, ECE Sophomore
I Olivia Gustafson, ECE Senior
I Victoria Hu, BEE Sophomore
I Laura Johnson, ECE Ph.D.
I Christopher Torng, ECE Ph.D.
I Jon Tse, ECE Ph.D.
CURIE Academy 2014 Design Project Final Presentations 3 / 31
• Electrical and Computer Engineering • Monday Lab Session Tuesday Lab Session The Internet of Things
ECE is the Study and Application ofElectricity, Micro-Electronics, and Electro-Magnetism
ECE
Power Systems
Computer Engineering
ElectricalCircuits
Electrical Devices
Signal Processing
Telecomm
Bio-Electrical Engineering
Micro-Electro-Mechanical Devices
Opto-Electrical Devices
Fusion and Plasma Physics
Image, Audio, VideoProcessing
Information Theory
Smart Grid and Smart Buildings
Systems and Synthetic Biology
Atmospheric Science Control Theory
Robotics
Network Protocolsand Optimization
Analog and DigitalCircuits
Computer-AidedDesign
CURIE Academy 2014 Design Project Final Presentations 4 / 31
• Electrical and Computer Engineering • Monday Lab Session Tuesday Lab Session The Internet of Things
Cornell was founded because of ECE!
Samuel Morse invented thetelegraph (a digital communicationdevice), but needed help buildingthe network
Ezra Cornell built the firsttelegraph line (the beginning oftelecommunications), and investedin the Western Union Telegraph Co
"What hathGod wrought?"
Ezra Cornell’s investments created the fortunethat eventually enabled the founding of Cornell University
CURIE Academy 2014 Design Project Final Presentations 5 / 31
• Electrical and Computer Engineering • Monday Lab Session Tuesday Lab Session The Internet of Things
“Optional Homework”
I Visit the statue of Ezra Cornellon the Arts Quad
I Does something on the back ofthe statue relate to ECE?
CURIE Academy 2014 Design Project Final Presentations 6 / 31
• Electrical and Computer Engineering • Monday Lab Session Tuesday Lab Session The Internet of Things
Computer Engineering
ECE
Power Systems
Computer Engineering
ElectricalCircuits
Electrical Devices
Signal Processing
Telecomm
Bio-Electrical Engineering
Micro-Electro-Mechanical Devices
Opto-Electrical Devices
Fusion and Plasma Physics
Image, Audio, VideoProcessing
Information Theory
Smart Grid and Smart Buildings
Systems and Synthetic Biology
Atmospheric Science Control Theory
Robotics
Network Protocolsand Optimization
Analog and DigitalCircuits
Computer-AidedDesign
CURIE Academy 2014 Design Project Final Presentations 7 / 31
• Electrical and Computer Engineering • Monday Lab Session Tuesday Lab Session The Internet of Things
Computer Systems: CS vs. EE vs. CE
In its broadest definition, computer engineering is thedevelopment of the abstraction/implementation layers that allow us to
execute information processing applications efficientlyusing available manufacturing technologies
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
TraditionalComputer Science
TraditionalElectrical Engineering
Computer Engineering is at theinterface between hardware and softwareand considers the entire system
CURIE Academy 2014 Design Project Final Presentations 8 / 31
Electrical and Computer Engineering • Monday Lab Session • Tuesday Lab Session The Internet of Things
Monday Lab SessionComputer Engineering – Hardware Perspective
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
Resistors, LEDs, Transistors
Boolean logic gatesand functions
Combining devicesto do useful work
Resistors, LEDs, Transistors
CURIE Academy 2014 Design Project Final Presentations 9 / 31
Electrical and Computer Engineering • Monday Lab Session • Tuesday Lab Session The Internet of Things
Monday Lab SessionComputer Engineering – Hardware Perspective
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
How data flows through system,specifically how to do binary addition
CURIE Academy 2014 Design Project Final Presentations 10 / 31
Electrical and Computer Engineering Monday Lab Session • Tuesday Lab Session • The Internet of Things
Tuesday Lab SessionComputer Engineering – Software Perspective
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
Mobile Robot Control Application
Robot startsin this quadrant
12"x12"Target
Robot wanders environmentsearching for target
CURIE Academy 2014 Design Project Final Presentations 16 / 31
Electrical and Computer Engineering Monday Lab Session • Tuesday Lab Session • The Internet of Things
Tuesday Lab SessionComputer Engineering – Software Perspective
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
Finite-state-machine control algorithm
FWDState
REVState
ROTState
bumped
not bumpedand no target
TGTState
STOPState
foundtarget
r seconds n seconds
t seconds
// Move forward for two seconds
digitalWrite( pin_motor_left_dir, LOW );digitalWrite( pin_motor_right_dir, LOW );analogWrite( pin_motor_left_speed, 100 );analogWrite( pin_motor_right_speed, 100 );
delay(2000);
Arduino-code to implement algorithm
CURIE Academy 2014 Design Project Final Presentations 17 / 31
Electrical and Computer Engineering Monday Lab Session • Tuesday Lab Session • The Internet of Things
Tuesday Lab SessionComputer Engineering – Software Perspective
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate Level
Arduino machine instructions00000100 <loop>: 100: push r28 102: push r29
# load values from memory into registers
104: lds r24, 0x0103 108: lds r25, 0x0102
# do the actual addition
10c: add r24, r25
# store sum from register to memory
10e: sts 0x0104, r24
CURIE Academy 2014 Design Project Final Presentations 18 / 31
Electrical and Computer Engineering Monday Lab Session • Tuesday Lab Session • The Internet of Things
Lab Sessions on Computer Engineering
Register-Transfer Level
CircuitsDevices
Instruction Set Architecture
Programming LanguageAlgorithm
Microarchitecture
Com
pute
r Eng
inee
ring
Technology
Application
Operating System
Gate LevelLab 1Hardware pushingtowards software(EE,CE)
Lab 2Software pushingtowards hardware(CS,CE)
CURIE Academy 2014 Design Project Final Presentations 24 / 31
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session • The Internet of Things •
The “Traditional” Internet
Internetof
People
Human beings mustcollect, enter, publish, and analyze
almost all of the informationthat is transmitted over the Internet
CURIE Academy 2014 Design Project Final Presentations 25 / 31
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session • The Internet of Things •
Emerging Trend Towards an Internet of Things
Internetof
Things
Interconnected "things" augmented with inexpensiveembedded controllers, sensors, actuators tocollect information and interact with the world
Smart Home
Smart PowerDistribution Grid Early Disaster
Warning System
Wildlife Tracking System
Wearable HealthMonitor
CURIE Academy 2014 Design Project Final Presentations 26 / 31
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session • The Internet of Things •
CURIE IoT Design Projects
IoTCloud
IoT InputDevice
IoT OutputDevice
IoT InputDevice
IoT Input Modules(sensors)
IoT Output Modules(displays,actuators)
CURIE Academy 2014 Design Project Final Presentations 27 / 31
Electrical and Computer Engineering Monday Lab Session Tuesday Lab Session • The Internet of Things •
Agenda
I Group 2 : Smart Home
I Group 7 : Wearable Health Monitor
I Group 6 : Wildlife Monitoring System
I Group 4 : Early Disaster Warning System
I Group 3 : Smart Power Distribution Grid
I Group 1 : Smart Home
I Group 8 : Wearable Health Monitor
I Group 5 : Early Disaster Warning System
CURIE Academy 2014 Design Project Final Presentations 31 / 31