Behavior-Based Robotics

advertisement
EE 1106: Introduction to EE
Practicum, Section 001
Lecture: Mondays 2:00-3:00, NH 110
Lab: Monday 3:00-4:50, NH 129B
Instructor: Dan Popa, Ph.D., Associate Professor, EE
Office hours: Tue/Wed 1:30 pm – 3:30 pm, NH 543, or by appointment.
Course TAs: Joshua Berry (joshua.berry@mavs.uta.edu), Nahum Torres
(nahum.torres-arenas@mavs.uta.edu ), IEEE Office
Office hours: TBD
Course info: http://www.uta.edu/faculty/popa/intro_EE/index_1106.htm
Grading policy:
Grading Scale
Pre-labs – 20%
Lab reports – 30%
Exam I (in-class) – 10%
Lab Competency Exam 1– 10%
Lab Competency Exam 2 – 20%
Class participation (lab notebook
keeping, attendance) – 10%
Dan O. Popa, Intro to EE, Practicum, Spring 2015
85% -100% A
70% - 84% B
55% - 69% C
40% - 54% D
0% - 39% F
Assignments
• Assignments:
– Pre-Lab assignments, which are necessary in order to understand and finish
lab work. Submit a copy of pre-lab to Instructor during the first 5 minutes of
lecture for full credit. There will be 12 pre-labs.
– There will be 14 lab sessions in NH 129B with the TA and instructor. While the
lab session is carried out in a group of two, the Lab report is your own individual
assignment. Lab reports must follow a specific format announced in class and
are due a week after the lab is conducted.
– Reading Assignments: The assigned reading material will help you better
understand the concepts. Materials from the reading assignments may also be
part of course exams.
– Examinations: One in-class exam (midterm), one lab proficiency exam
(midterm), and one final lab proficiency exam.
– In rare circumstances (medical emergencies, for instance) exams may be
retaken and assignments can be resubmitted without penalty. Labs might be
redone with the help of the TA during office hours.
– Missed deadlines for assignments: Maximum grade drops 25% per late day
(every 24 hours late).
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Honor Code
•
Academic Dishonesty will not be tolerated. All homeworks and exams are
individual assignments. Discussing homework assignments with your
classmates is encouraged, but the turned-in work must be yours. Discussing
exams with classmates is not allowed. Your homeworks will be carefully
scrutinized to ensure a fair grade for everyone.
•
Random quizzes on turned-in work: Every student will be required to answer
quizzes in person at least once during the semester for homework and lab
reports. You will receive invitations to stop by during office hours. Credit for
turned in work may be rescinded for lack of familiarity with your submissions.
•
Attendance and Drop Policy: Attendance is mandatory in order to get full credit
for class participation and class attendance. If you skip classes, you will find the
homework and exams much more difficult. Assignments, lecture notes, and
other materials re going to be posted here, however, due to the pace of the
lectures, copying someone else's notes may be an unreliable way of making up
an absence. You are responsible for all material covered in class regardless of
absences.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Textbooks & Description
• Textbook:
–
Text Book: F.T. Ulaby and M.M. Maharbiz, Circuits, Second Edition, National Technolgy and
Science Press, 2013, ISBN 978-1-934891-19-3
• Other materials (on library reserve)
–
–
–
–
–
Introduction to Electric Circuits, 9th Edition, by Richard C. Dorf and James A. Svoboda, © 2014 by John
Wiley & Sons, Inc.; ISBN 978-1-118-47750-2
Robotics, by Appin Knowledge Solutions, 2007, Infinity Science Press, ISBN 978-1-934015-02-5
Electrical Engineering: Principles & Applications (6th Edition), by Alan Hambley, Prentice Hall, 2013, ISBN:
978-0133116649
An introduction of NI MyDAQ and LabVIEW - http://www.ni.com/mydaq/
An introduction to TI-MSP430 - http://www.ti.com/tool/msp-exp430g2
• Catalog description:
–
EE 1106 INTRODUCTION TO ELECTRICAL ENGINEERING (1-2) A project based course in
which basic concepts in electrical engineering, such as electrical systems, power and
energy, circuit laws, measurements, and data analysis will be introduced. Student teams will
engage in laboratory experiments, application hands-on projects, which cover areas of study
in electrical engineering including analog and digital electronics, robotics, semiconductors,
electromagnetics, signal processing, photonics, energy management, and
telecommunication systems. Corequisites: EE 1104.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Course Objectives
1.
2.
This is an introductory electrical engineering course. It presents a
broad overview of EE, and focuses on fundamentals intellectual
themes such as modularity, abstraction, and modeling.
The course material is divided between several areas offering an
introduction to:
1.
2.
3.
4.
Measurements, lab techniques and basic resistive circuit concepts
Signals, circuits and systems using NI MyDAQ
Non-mathematical exposure to dynamic and electronic circuit
elements
Digital circuits and programming using TI-MSP430
Dan O. Popa, Intro to EE, Practicum, Spring 2015
ABET Outcomes
(a) an ability to apply knowledge of mathematics, science, and engineering
This is a strong component of EE 1106, assessed through homeworks and exams.
(b) an ability to design and conduct experiments, as well as to analyze and interpret data
This is a strong component of EE 1106, assessed through lab reports and lab proficiency exam.
(c) an ability to design a system, component, or process to meet desired needs
EE 1106 provides limited exposure to this topic, assessed through homeworks.
(e) an ability to identify, formulate, and solve engineering problems
EE 1106 provides moderate exposure to this topic assessed through pre-lab reports.
(g) an ability to communicate effectively
EE 1106 provides limited exposure to this topic assessed through lab reports and homeworks.
(j) a knowledge of contemporary issues
EE 1106 provides moderate exposure to this topic assessed through lab reports and lab proficiency
exam.
(k) an ability to use the techniques, skills, and modern engineering tools necessary for engineering
practice.
EE 1106 provides moderate exposure to this topic assessed through labs reports, homeworks and
exams.
(l) an ability to apply probability and statistics, including applications appropriate to electrical
engineering
EE 1106 provides limited exposure to this topic assessed through lab reports.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Student Learning Outcomes
Students will acquire significant insight into:
1. Understanding of the EE main intellectual themes: modularity,
abstraction and modeling through device, circuit and system examples
2.
Ability to conduct laboratory experiments using basic EE equipment:
multimeter, power supply, signal generator, scope.
3.
Understanding to understand EE specific block diagrams and apply
algebra to solve basic network equations for resistive circuit elements.
4.
Familiarity with modern embedded programming, data acquisition and
control hardware and software environments from industry.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Course Schedule
• Week 1 - January 26
– Lab-lecture 1: Introduction to EE 1106
•
Syllabus, expectations, grading, basic concepts
– Lab 1: Lab orientation, safety, basics of lab equipment
•
•
•
•
•
Lab instruments
Toolbox
NI MyDAQ
TI MSP 430 LaunchPad
Prelab #2 handed out (see bottom of page)
• Week 2 - February 2
– Lab-lecture 2:
•
•
Abstraction, Modularity, and Models with Circuit examples
Introduction to LabVIEW
– Lab 2: Introduction to MyDAQ and LabVIEW
•
•
Intro to LabVIEW programs
Build your own VI's
– Prelab #3 handed out (see bottom of page)
• Week 3 - February 9
– Lab-lecture 3:
•
•
Measurements, Charge, Resistance, Voltage, Current
More LabVIEW
– Lab 3: Digital Multimeter and Voltage Generator using MyDAQ
•
Prelab #4 handed out (see bottom of page)
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Course Schedule
•
Week 4 - February 16
–
–
•
Week 5 -February 23
–
–
•
–
Lab-lecture 6: Circuit Theorems (Thevenin, Norton), Delta-Y, Y-Delta equivalents
• Circuit analysis: examples
Lab 6: MultiSim Simulation of Circuits using MyDAQ (Part 2)
Week 7 - Spring Break
Week 8 - March 16
–
–
–
•
Lab-lecture 5:
• Circuit Theorems (Superposition, Thevenin, Norton)
Lab 5: MultiSim Simulation of Circuits using MyDAQ (Part 1)
• Prelab #6 handed out (see bottom of page)
Week 6 - March 2
–
•
•
Lab-lecture 4:
• Circuital Laws (Ohm, Kirkhoff) and examples
Lab 4: Resistor circuit measurements
• Prelab #5 handed out (see bottom of page)
Midterm exams
Bring your MyDAQ, Breadboard and Toolkit in lab
Exams are individual assignments
Week 9- March 23
–
–
Lab-lecture 7: Printed Circuit Board design
Lab 7: Soldering and Assembly of a Circuit
• Prelab #8 handed out (see bottom of page)
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Course Schedule
•
Week 10 - March 30
–
–
–
•
Week 11 - April 6
–
–
•
Lab-lecture 9
• Maximum power transfer theorem
• Nonlinear Circuit elements: diode, transistor
• Solar Panels
Lab 9: Solar Panel Experiment using MyDAQ
• Prelab #10 handed out (see bottom of page)
Week 12 - April 13
–
–
•
Lab-lecture 8: Wheatstone bridge
• Resistive circuit, Wheatstone Bridge, equivalents
• Pressure sensors (strain gage)
Lab 8: Build a pressure sensor using the Wheatstone bridge
Prelab #9 handed out (see bottom of page)
Lab-lecture 10: Systems Concepts
• Signals and Systems (basics)
• Linear Circuit elements: Capacitor, Inductor
Lab 10: Transient behavior in RLC circuit
• Prelab #11 handed out (see bottom of page)
Week 13 - April 20
–
–
–
Lab-lecture 11: Digital Circuits and Embedded Systems
Lab 11: Introduction to TI MSP 430 and Code Composer
Prelab #12 handed out (see bottom of page)
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Course Schedule
• Week 14 - April 27
– Lab-lecture 12: Operational amplifiers
• Op-amp Circuits
• D/A and A/D conversion
– Lab 12: Amplify pressure sensor signal with MSP 430
• Prelab #13 handed out (see bottom of page)
• Week 15 - May 4
– Lab-lecture 13: Motors and motor control
• Brushed DC motor
• Role of Feedback
• Control block diagrams and examples
– Lab 13: Actuate a DC motor using MSP 430
• Week 16 - May 9-15
–
Final's week: Lab Proficiency Exam
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Pre-Labs
•
•
•
•
Assigned at end of each lab, due the following lab-lecture.
Due first 5 minutes of lab-lecture for full credit.
Contains reading assignments, and pre-lab assignments.
Will require a sustained weekly effort, along with the lab
reports of between 3-6 hours per week to complete.
• Help is available during office hours for instructor and TA.
• Turn assignments in paper format and follow the instructions
for full credit.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Lab Documentation
• Documenting your lab work is an integral part of becoming an engineer
• You will learn to document your work in a Lab Notebook (see Homework
1 handout).
• You are required to procure an engineering notebook (available in the
bookstore)
• Document your lab experience in the notebook for 10% class participation
credit.
• Your lab notes will help you write lab reports (in IEEE format) (see
template on website) – worth 30% of grade.
• Lab attendance and punctuality is important
• Other lab equipment to procure: Toolbox (at IEEE office), NI myDAQ (at
bookstore), TI MSP 430 (at Mouser or other vendors).
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Texas Instruments MSP430 LaunchPad
Specifications
•
•
•
•
•
•
•
•
16-bit (MCU) microcontroller
Programmed in C
Low Power
2 programmable LEDs
1 power LED
1 programmable button
1 reset button
MSP430 Launchpad (F5529)
–
–
–
–
–
Integrated USB 2.0
40 pin interface
28KB Flash memory
8KB RAM
25MHz CPU clock speed
Source: WWW.TI.COM/MSP430
Dan O. Popa, Intro to EE, Practicum, Spring 2015
14
Texas Instruments MSP430 LaunchPad
Development Environment
•
Code Composer Studio™ (CCStudio) IDE
– Windows and Linux compatible
– Compiling and Debugging in C/ C++ environment
– C/C++ Programs are written to MCU and then run by user on
board or separately
– Easily integratable with sensors
•
•
•
•
Gas
Press
Force
Temperature
Dan O. Popa, Intro to EE, Practicum, Spring 2015
3/14/2016
15
What is MyDAQ
•
•
•
General Purpose Data Acquisition Device from National
Instruments (NI)
Multimeter, Oscillocope, Function Generator,
Spectrometer and much more
$50-$200
+
$200
=

$300-$10,000
+
$300-$5,000
+ much more
NI MYDAQ and LabVIEW text and graphics courtesy of National Instruments
Dan O. Popa, Intro to EE, Practicum, Spring 2015
What is LabVIEW
• LabVIEW is a programming environment
designed by Electrical Engineers from National
Instruments (NI), and running on Hardware such
as NI myDAQ
• LabVIEW Introductory Video
• LabVIEW relies on graphical symbols rather
than textual language to describe programming
actions
• The principle of dataflow, in which functions
execute only after receiving the necessary data,
governs execution in a straightforward manner
Dan O. Popa, Intro to EE, Practicum, Spring 2015
How does LabVIEW work?
• LabVIEW programs are called:
– Virtual Instruments (VIs)
– because their appearance and operation
imitate actual instruments.
• However, they are analogous to main
programs, functions and subroutines from
popular language like C, Fortran, Pascal,
…
Dan O. Popa, Intro to EE, Practicum, Spring 2015
3/14/2016
18
LabVIEW Programs Are Called Virtual
Instruments (VIs)
• Front Panel
• Controls = Inputs
• Indicators = Outputs
• Block Diagram
• Accompanying “program”
for front panel
• Components “wired”
together
Dan O. Popa, Intro to EE, Practicum, Spring 2015
19
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Dataflow Programming
• In this case, the block diagram executes from left to right, not
because the objects are placed in that order, but because the
Subtract function cannot execute until the Add function finishes
executing and passes the data to the Subtract function. Remember
that a node executes only when data are available at all of its input
terminals and supplies data to the output terminals only when the
node finishes execution.
Dan O. Popa, Intro to EE, Practicum, Spring 2015
3/14/2016
21
Intellectual Themes of EE
• Modularity (ex: device)
– Manage complexity by reusing simple components
(electrical, mechanical or code) nomenclature: devices
• Abstraction (ex: circuit, system)
– Represent complex systems by connecting modules
using interconnects
• Block diagrams, Data flow diagrams (state machines), signal
flow graphs, electric circuits
• Modeling (ex: electronic vs electric)
– Represent behavior of systems using mathematical
abstractions
Dan O. Popa, Intro to EE, Practicum, Spring 2015
System Modeling
• Building mathematical models based on
observed data, or other insight for the system.
– Parametric models (analytical): ODE, PDE
– Non-parametric models: ex: graphical models - plots,
or look-up tables.
– Mental models – Ex. Driving a car and using the
cause-effect knowledge
– Simulation models – ex: Many interconnect
subroutines, objects in video game
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Circuit Elements as Modules
• Defined by Electro-Magnetic Laws of
Physics: Ohm’s Law, Kirchoff’s Laws,
Maxwell’s Equations
• Example: Resistor, Capacitor, Inductor
i
i
i
u
Dan O. Popa, Intro to EE, Practicum, Spring 2015
L
C
R
u
u
Abstraction: RLC Series Circuit
R
u
u
1
u
u
2
C
u(t)
RLC
q(t)
3
L
Kirchoff’s Voltage Law (KVL):
Dan O. Popa, Intro to EE, Practicum, Spring 2015
i(t)
Abstraction: Control System Block
Diagram
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Abstraction: Robots as Complex
Systems Controlled by Feedback
Definition of a robot: an entity that can sense, think and act
Sense
Think
Robot
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Act
Research in Multiscale Robotics and Systems –
Next Gen Systems (NGS) Prof. Dan Popa
http://ngs.uta.edu
Tools and Fundamentals
Established Technologies
Modeling & Simulation
Microsystems &
MEMS
Robotics
Control Systems
Control Theory
Nanotechnology
Manufacturing &
Automation
Algorithms
Sensor networks
New applications
for small-scale
systems
Emerging Technologies
Surgical robotics
Human-like robots
Distributed systems
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Biotechnology
Micromanufacturing
Microrobotics
Microassembly
Micropackaging
Sensors & Actuators
NanoManufacturing
Small-scale
Robotics &
Manufacturing
Micro-Robotics at Next Gen Systems (NGS)
IEEE Mobile Micro-Robotics Challenge
•
Wireless, fully autonomous mobile microrobots.
Mobility
Challenge
Vibration
Actuated
Micro
Assembly
Event
Laser
Actuated
Dan O. Popa, Intro to EE, Practicum, Spring 2015
05/05/11
29
Human Robot Interaction Research @ NGS
Co-botics
w/
Physical
Interaction
Advanced
HumanRobot
Interfaces
Dan O. Popa, Intro to EE, Practicum, Spring 2015
Realistic &
Intuitive
HumanRobot
Interaction
Real-Time
Visual
Servoing
30
Pre-lab 2 due next class!!
Available online at course website
Questions?
Dan O. Popa, Intro to EE, Practicum, Spring 2015
31
Download