Briefing for EE2001 Design Project AY 2008-2009 Special Term EE2001 Committee.
-
Upload
roland-bates -
Category
Documents
-
view
221 -
download
0
Transcript of Briefing for EE2001 Design Project AY 2008-2009 Special Term EE2001 Committee.
Briefing for EE2001 Design Project
AY 2008-2009
Special Term
EE2001 Committee
EE2001 Briefing Presentation – 11 May 2009 – LT6 2
Outline
• Aims and Objectives• Learning Objectives• Learning Outcomes• Project Guidelines & Assessment Criteria• Project Theme – Healthcare Systems• Project Proposals• Project Implementation Schedule• EE2001 Committee Members
EE2001 Briefing Presentation – 11 May 2009 – LT6 3
Aims and Objectives
• This module aims at providing students with design and hands-on experience in developing electronic circuits and systems involving both hardware digital and analog techniques together with software programming.
• System integration between various sub-systems involving hardware and software components is an important objective of this module.
EE2001 Briefing Presentation – 11 May 2009 – LT6 4
Learning Objectives
Core Technical Skills
• Microcontroller programming (S/W)• Analog and digital hardware
electronic circuits design (H/W) • H/W & S/W system integration• PCB design• System debugging• Production specifications
development• Project documentation
EE2001 Briefing Presentation – 11 May 2009 – LT6 5
Learning Objectives (cntd.)
Soft skills
• Project planning & scheduling
• Team work
• Peer feedback
• Project presentation skills
EE2001 Briefing Presentation – 11 May 2009 – LT6 6
Learning Methodologies• Project-based learning
Learning is achieved by actual participation and implementation of an electronic project with hands on experience both in H/W, S/W and system integration.
Students are encouraged to explore and do beyond what has been taught in the core modules.
• Collaborative and team-based learning The project is done in group with all members in
the group having individual as well as team based goals and do collaborative learning.
EE2001 Briefing Presentation – 11 May 2009 – LT6 7
Team and Individual Roles• Team Responsibility
Developing system specifications Project planning and progress review System integration Final system working demonstration and presentation
• Individual Responsibility Responsible for the design and implementation of the sub-
system Developing sub-system specifications Software, hardware and PCB design Maintaining project design portfolio Giving peer feedback Sub-system working demonstration/presentation
EE2001 Briefing Presentation – 11 May 2009 – LT6 8
Learning Outcomes• At the completion of the module, the students
should be able to: Formulate technical and performance specifications
for a system from loosely defined requirements. Carry out top-down design approach of the system
based on the technical and performance specifications given.
Carry out systematic design of the sub-systems from a system level design point of view.
Formulate and execute design for interconnections of various sub-systems.
Make trade-offs between function, cost, size, and user-friendliness.
EE2001 Briefing Presentation – 11 May 2009 – LT6 9
Learning Outcomes (cntd.) Make design decisions for various functions to be
implemented e.g. whether to implement in hardware or software, choice of design method, choice of components or programming language etc.
Use of engineering tools and apply skills such as soldering, PCB design software etc.
Apply design methods, bread-board testing or programming as appropriate, perform tests, and debugging.
Work as a member of a team to realize a complete electronic system.
Apply principles of project management such as time-scheduling, work scheduling and resource management while carrying out the project.
EE2001 Briefing Presentation – 11 May 2009 – LT6 10
Assessments
• Assessment Methodology CA1 – 20% (Week 2) CA2 – 40% (Week 4) Final examination – 40% (Week 6 )
• Assessment Contributions: Individual – 50% Team – 50%
EE2001 Briefing Presentation – 11 May 2009 – LT6 14
Examples of EE2001 Project Smart Home System
Some Ideas:Some Ideas:• Security Security • SafetySafety• AutomationAutomation• Ambience controlAmbience control• Elderly careElderly care• Pet and plant carePet and plant care• EntertainmentEntertainment• ConnectivityConnectivity
EE2001 Briefing Presentation – 11 May 2009 – LT6 15
Examples of EE2001 Project: Intelligent Airport
ubiquitous systems with high level of computational power
high-quality service to passengers
stringent levels of safety and security
efficient processing of commercial goods and luggage
high quality information systems
airport transportation systems
EE2001 Briefing Presentation – 11 May 2009 – LT6 16
Healthcare Systems (AY 2008-09)
• What is the most amazing result civilization has achieved, possibly the greatest achievement in the last century relating to human beings? “Life Expectancy”
• It used to be 47 years in industrialized countries in the early 1900s and now in 2000s it is around 80 years – with women in an advantageous position.
EE2001 Briefing Presentation – 11 May 2009 – LT6 17
Increased Life Expectancy - Active Ageing
• Increase in the life expectancy is represented by the conditions in which aging takes place which were inconceivable for the past generations such as level of education, the health status and economic resources.
• Population is quantitatively ageing and at the same time qualitatively getting younger – today’s senior citizens are far more educated and are aware of their potentials and personal aspirations and less resigned to decline in solitude and willing to actively contribute and play a significant role in society.
EE2001 Briefing Presentation – 11 May 2009 – LT6 18
President S R Nathan 3rd July 1924 – 84 yrs Old
Aged but still active and contributing significantly to the growth of Singapore
Minister Mentor Lee Kuan Yew16th September 1923 – 84 yrs Old
EE2001 Briefing Presentation – 11 May 2009 – LT6 19
Demographics of Singapore
No. of residents with age more
than 65 years will increase by 3 fold
EE2001 Briefing Presentation – 11 May 2009 – LT6 20
Active Aging• The demographic reality of the over 65s who
make almost 20% pose a significant challenges to the health and social care givers.
• Thus, issues related to ageing of the population are becoming more and more necessary to be addressed from different points of view i.e. political, social, clinical and technological.
• Technology can provide important solutions to these issues.
EE2001 Briefing Presentation – 11 May 2009 – LT6 21
E – Healthcare
I2R
EE2001 Briefing Presentation – 11 May 2009 – LT6 22
Mobile Healthcare
1) Send raw ECG signals and motion data via
bluetooth
2) Detect abnormalities in
the raw ECG data and inform
relevant authorities
3) Hospitals determines the severity of the data and takes appropriate
actions
EE2001 Briefing Presentation – 11 May 2009 – LT6 23
Wireless Body Area Network
EE2001 Briefing Presentation – 11 May 2009 – LT6 24
BCI-based Robotic Rehabilitation for Stroke Patients
EE2001 Briefing Presentation – 11 May 2009 – LT6 25
Stroke Patients Rehabilitation using MIT’s MANUS – Robotics System
EE2001 Briefing Presentation – 11 May 2009 – LT6 26
Project Proposals
Students are encouraged to form their own team with three or more members in each group.
Think of some innovative ideas, as it is one of the assessment criteria.
Come up with the project proposal and come and discuss with us for approval.
Ensure that the project requirements are followed as far as possible.
EE2001 Briefing Presentation – 11 May 2009 – LT6 27
Self-proposed Projects
Students are welcome to propose their own project outside the official theme of “healthcare”.
Ensure that the project requirements are met.
Please try to form your own team with at least two to three members.
Propose the project and come and discuss with us.
EE2001 Briefing Presentation – 11 May 2009 – LT6 28
Allowed budget
• The budget for each team project is $500. $300 worth of components can be used from
the lab./central store. $200 worth of components can be bought
from outside.
EE2001 Briefing Presentation – 11 May 2009 – LT6 29
EE2001 CommitteeProject Mentors:
S K PandaM MotaniS K Sahoo
GA -1 GA - 2 GA - 3 GA - 4
Project Supervisor
Krishna Manali
Project Supervisor
Daniel
Project AssistantHenry Tan
EE2001 Briefing Presentation – 11 May 2009 – LT6 30
Useful Information
• Location: Linear Electronics Lab., E4A-06-03
• Module Web-site: http://www.ece.nus.edu.sg/ee2001/html/
• Any Questions?
EE2001 Briefing Presentation – 11 May 2009 – LT6 31
Briefing for EE2001 Design Project
AY 2008-2009
Semester – 3
EE2001 Committee
EE2001 Briefing Presentation – 11 May 2009 – LT6 32
Team and Individual Roles• Team - Consists of 4 members
System Specifications Project Scheduling System Integration Responsible for the final product Final Demonstration and Sales Presentation
• Individual Role Responsible for one subsystem Subsystem Specifications Software, Hardware and PCB design Project Design Portfolio
EE2001 Briefing Presentation – 11 May 2009 – LT6 33
Assessments
• Assessment Methodology CA1 – 20% (Session 3 - 4) CA2 – 40% (Session 8 - 9) Final Demo – 40% (Sessions 11 - 12)
• Assessment Contributions: Individual – 50% Team – 50%
EE2001 Briefing Presentation – 11 May 2009 – LT6 34
Project Assessment• Criteria: Functional features, Quality of work, Teamwork• Total 3 CAs
Quiz & Initial System Specs (20%) System Design and Integration (40%) Final Assessment(40%)
Final Product Demo, Sales Pitch Innovation & Contribution
• Final Team marks are distributed according to Peer feedback Student’s motivation and project participation Project Design Portfolio
• Evaluation Below average – < 50% Average – 50-64% Good – 65-80% Very Good – > 80%
EE2001 Briefing Presentation – 11 May 2009 – LT6 35
Project Assessment
EE2001 Briefing Presentation – 11 May 2009 – LT6 36
Project Assessment
EE2001 Briefing Presentation – 11 May 2009 – LT6 37
Project Assessment
EE2001 Briefing Presentation – 11 May 2009 – LT6 38
Let’s Brainstorm
• Have you been to a hospital? Use your creativity to improve the experience for: Patients? Doctors? Visitors?
• What kind of sensors could you put on the body to measure biomedical signals?
• How can we help people to age in a healthy and active manner?
• How can we encourage people of all ages to exercise safely and effectively?
EE2001 Briefing Presentation – 11 May 2009 – LT6 39
Technical Details EE2001 Design Project
S.K. Sahoo
EE2001 Briefing Presentation – 11 May 2009 – LT6 40
Introduction to the module
EE2001 Briefing Presentation – 11 May 2009 – LT6 41
What exactly does this module entail?• You will do an embedded system
project consisting of: microcontroller programming (software) electronic circuits (hardware)
• It involves conceiving(C), designing(D), implementing(I) and operating(O) such a system
EE2001 Briefing Presentation – 11 May 2009 – LT6 42
Some projects done earlier
Autonomous Guided Vehicle (AGV) AGV Central Controller
EE2001 Briefing Presentation – 11 May 2009 – LT6 43
Some projects done earlier
Wearable Personal Health monitor and tracker
EE2001 Briefing Presentation – 11 May 2009 – LT6 44
Some projects done earlier
The intelligent baby cot
EE2001 Briefing Presentation – 11 May 2009 – LT6 45
Visualize the road ahead
Start
Deciding what to do – initial specifications for the system
Do hardware design and prototyping on bread board
Transferring hardware to PCB (Printed Circuit Board)
Software development, integration with hardware
Build the model of the complete system
End
Final specification report and demo
EE2001 Briefing Presentation – 11 May 2009 – LT6 46
Decide what to do: Initial System Specifications Report
EE2001 Briefing Presentation – 11 May 2009 – LT6 47
Breadboard Prototyping
Finalize the circuit schematics Get the components, patch and test the circuits
EE2001 Briefing Presentation – 11 May 2009 – LT6 48
Printed Circuit Board
Draw the PCB artwork, solder the components on to the PCB and test it.
EE2001 Briefing Presentation – 11 May 2009 – LT6 49
Software Development
Process Flow Chart C Code
EE2001 Briefing Presentation – 11 May 2009 – LT6 50
Software Development and integration with Hardware
Programmer PIC Development board with Hardware
EE2001 Briefing Presentation – 11 May 2009 – LT6 51
Build Model of complete system
EE2001 Briefing Presentation – 11 May 2009 – LT6 52
Final Report and Demo
EE2001 Briefing Presentation – 11 May 2009 – LT6 53
Seniors speak
EE2001 Briefing Presentation – 11 May 2009 – LT6 54
Seniors speak:Which part of the module they like• Freedom and creativity
• Satisfaction that what you build can work
• Brainstorming and working with new people
• Building the model
• Practical use of concepts learnt in theory
EE2001 Briefing Presentation – 11 May 2009 – LT6 55
Seniors speak:Which part is most difficult• Time requirement
• Initial phase of planning
• Integration and Design
• Debugging everything
• Programming PIC
• Making the model to fit all the PCB
EE2001 Briefing Presentation – 11 May 2009 – LT6 56
Seniors speak:Those taking this module must
• start early, don’t do last minute
• revise programming
• remember that it is actually doable, though difficult
• do self-learning and info searching
EE2001 Briefing Presentation – 11 May 2009 – LT6 57
Familiarization labs
EE2001 Briefing Presentation – 11 May 2009 – LT6 58
Familiarization Labs
Objective:
To familiarize with basic tools and skills needed for the project
1. Basic Familiarization Lab – Lab 1
2. Advanced Familiarization Lab – Lab 2
EE2001 Briefing Presentation – 11 May 2009 – LT6 59
Basic Familiarization Lab – Session 1• To solder and learn about the PIC
development board• To learn about IAR EWPic IE used for
editing and compiling PIC programs• To learn about the WinPic800
programmer• To learn about the lab equipment like
power supply, signal generator and oscilloscope
EE2001 Briefing Presentation – 11 May 2009 – LT6 60
Advanced Familiarization Lab – Week2
1. Basic design steps for developing smart features
2. How to use the PIC datasheet
3. PIC microcontroller programming in C starting from sample programs
EE2001 Briefing Presentation – 11 May 2009 – LT6 61
The first deliverable from you
EE2001 Briefing Presentation – 11 May 2009 – LT6 62
CA1 - Initial System Specifications
• Brainstorm for ideas
• Define Subsystems for individuals
• System block diagram
• GANTT chart
• Submit the Team report for CA1
• Get feedback on your ISS report
EE2001 Briefing Presentation – 11 May 2009 – LT6 63
What is a subsystem?
• A subset of the system features
• Functionally related
• Each subsystem must involve software-hardware integration and PCB
EE2001 Briefing Presentation – 11 May 2009 – LT6 64
System Block Diagram
Subsystem1
Function 1
Function 2
:
Function n
Subsystem3
Function 1
Function 2
:
Function n
Subsystem2
Function 1
Function 2
:
Function n
Subsystem3
Function 1
Function 2
:
Function n
EE2001 Briefing Presentation – 11 May 2009 – LT6 65
A sample GANTT chartPlanning is required as resources are limitedPlanning is required as resources are limited
EE2001 Briefing Presentation – 11 May 2009 – LT6 66
General procedure for Gantt charts• Breakdown the overall project into the
next largest subprojects.
• Determine the time for each major activity.
• Determine the major activities that must be completed in series.
• Assemble complete schedule.
EE2001 Briefing Presentation – 11 May 2009 – LT6 67
Printed Circuit Board (PCB)
EE2001 Briefing Presentation – 11 May 2009 – LT6 68
Guidelines on PCB design
• Transfer design from bread-board to PCB
• Use Altium Designer 6 Software for PCB Design
• Submit the PCB design as a team (maximum size 1 A4)
• Submit PCB designs to the PCB lab by the date assigned for your team
EE2001 Briefing Presentation – 11 May 2009 – LT6 69
How to learn the PCB design S/W
1. Altium Designer training manual
2. Videos on some common tasks
3. Library has been created for common
components available from lab
4. Technical support from S/W vendor
EE2001 Briefing Presentation – 11 May 2009 – LT6 70
PCB Submission Dates
• There will be a date by which you must submit PCB design to the PCB lab
EE2001 Briefing Presentation – 11 May 2009 – LT6 71
System Prototype on PCB
• Solder the components
• Wire up the parts together
• Debug the system on PCB
EE2001 Briefing Presentation – 11 May 2009 – LT6 72
Final Demo
EE2001 Briefing Presentation – 11 May 2009 – LT6 73
CA3 – Final Presentation
• Prepare an effective presentation keeping time in view
• Should embed photos and videos of working features in the presentation
• Individual students present their own subsystems
• Demonstrate working prototype
EE2001 Briefing Presentation – 11 May 2009 – LT6 74
Documentation
EE2001 Briefing Presentation – 11 May 2009 – LT6 75
1. Initial system and subsystem specs
2. Circuit schematics3. Design calculations4. Subsystem bill of material with cost5. Program flow chart, final source code6. PCB design art work and comments7. Team meeting minutes8. Datasheets and reference documents
9. Final system and subsystem specs10. Weekly Learning Diary/Progress report
Project Design Portfolio – Contents
EE2001 Briefing Presentation – 11 May 2009 – LT6 76
Example Smart Project
EE2001 Briefing Presentation – 11 May 2009 – LT6 77
What is a Smart Feature?
•It responds to an event/stimulus, in a desirable way, without human intervention.
Sensing Thinking Acting
Sensor Processor Actuator
EE2001 Briefing Presentation – 11 May 2009 – LT6 78
Block diagram of a smart feature
Input
Port
Output
PortProcessor
Input Devices
Output Devices
Micro Controller
Sensors, Switches, Pushbuttons
LEDs, LCDs, Motors, Relays
EE2001 Briefing Presentation – 11 May 2009 – LT6 79
“Divide and Conquer”
• Breaks it into smaller subparts, modules Hardware
Input circuits, input port Output devices, output port
Software Feature1Feature2…
Integration of H/W and S/W
EE2001 Briefing Presentation – 11 May 2009 – LT6 80
Design steps for any smart system
1. Draw a process flow chart
2. Find the sensors and actuators
3. Patch and test the H/W circuits
4. Assign Microcontroller port/pin
5. Develop the Program
6. Test with the Hardware
7. Debug
H/W
S/W
EE2001 Briefing Presentation – 11 May 2009 – LT6 81
Advanced Fam lab – Example mini project• Specifications:
• Features to be added to a smart chair:
1. It should monitor person’s weight and issue a warning if it is too much.
2. There should be a blinking light to entertain the person, as long as the seat is occupied.
EE2001 Briefing Presentation – 11 May 2009 – LT6 82
Step 1: Process Flow chart
Yes
Someone on the chair?
No
Blink=1
Weight > safe limit?
Yes
Warning=1
No
Blink=0Warning=0
START
Blink=0Warning=0
Warning=0
EE2001 Briefing Presentation – 11 May 2009 – LT6 83
Hardware Development
EE2001 Briefing Presentation – 11 May 2009 – LT6 84
Step 2: Hardware (Sensors and Actuators)
Inputs :
• Push button (PB) to sense sea occupancy
• Trim pot to simulate a load cell.
Outputs :
• Red LED as visual warning
• Green LED for the blinking light
EE2001 Briefing Presentation – 11 May 2009 – LT6 85
Step 5: Microcontroller Port Assignment
• PB to be connected to digital input RB0
• Potentiometer to be connected to
analog input channel RA0
• Red LED to digital output RD1
• Blinking LED to digital output RD2
EE2001 Briefing Presentation – 11 May 2009 – LT6 86
Step 3: Circuit patching and testing
5V
RB0
Push button
4.7k
5V
RA010k potentiometer
LED
100RD1
LED
100RD2
EE2001 Briefing Presentation – 11 May 2009 – LT6 87
Software Development
EE2001 Briefing Presentation – 11 May 2009 – LT6 88
What is a Microcontroller
EE2001 Briefing Presentation – 11 May 2009 – LT6 89
PSP
16F877
I/O
RAM
PROGRAM
MEMORY
EEPROM
Oscillator
Peripherals USARTRS232
MSSP
I2C, SPI TIMERS
1,2,3
ADC inputs
1,2,3,4,5,6,7,8 CCP
Capture,
Compare,
PWM
8192 words
33 pins
368 bytes
256 bytes
PIC16F877 Core and Peripheral Features
EE2001 Briefing Presentation – 11 May 2009 – LT6 90
PIC Block Diagram
EE2001 Briefing Presentation – 11 May 2009 – LT6 91
Step 4: Know the Microcontroller
PIC Datasheet
EE2001 Briefing Presentation – 11 May 2009 – LT6 92
Step 6: Program the PIC
• Prepare the detailed Flow chart
• Code module by module
Some help:• Refresh C programming knowledge• Complete basic familiarization lab• Use the sample programs to build on• Save a working version before adding more
EE2001 Briefing Presentation – 11 May 2009 – LT6 93
For each new PIC feature
• Things to look for in the data sheet
Associated Special Function
Registers (SFR)
Values for Configuration bits
Steps to be followed for correct use
EE2001 Briefing Presentation – 11 May 2009 – LT6 94
Step 7 : Test and Debug
• Ensure ensure that Hardware is working Add debug code e.g. assign some digital input
to some digital outputRD7= RB7;
• Refer the section for the particular feature from PIC datasheet.
• Relook at the Program logic.• Comment out part of the code to focus on
one area.• Be systematic and very patient.
EE2001 Briefing Presentation – 11 May 2009 – LT6 95
Did you get some idea about the seven steps for developing a smart feature?
EE2001 Briefing Presentation – 11 May 2009 – LT6 96
Safety
EE2001 Briefing Presentation – 11 May 2009 – LT6 97
Lab Safety
EE2001 Briefing Presentation – 11 May 2009 – LT6 98
Safety Quizzes
Pass two online safety quizzes: links for these quizzes are on the EE2001 course website.
Safety Quiz certificates must be submitted on your first day of the lab.
EE2001 Briefing Presentation – 11 May 2009 – LT6 99
Preparation for first lab
1. Take the two safety quizzes and bring printouts of safety quiz certificates.
2. Submit the Component Issue form to get the Toolbox
3. Come prepared to do soldering the PIC development board
EE2001 Briefing Presentation – 11 May 2009 – LT6 100
First Day at the lab – solder the development board
EE2001 Briefing Presentation – 11 May 2009 – LT6 101
Second Day at the lab – complete the advanced Fam lab
1. Follow the instructions and complete the lab.
2. Ensure you understand the PIC C program.
3. Ensure you understand the PIC C program.
EE2001 Briefing Presentation – 11 May 2009 – LT6 102
Activity Time/Date Checked by
Completed of Safety Quiz
Issued of tool box and components packet
Got soldering approved by lab staff
Completed soldering of Dev. board
Finished Basic Fam. Lab
Finished Advanced Fam. Lab
Understood PIC program of the Fam labs
Had the first group meeting
Submitted the Initial System Specs report to PS
Initial Activity Log
EE2001 Briefing Presentation – 11 May 2009 – LT6 103
Watch out for Common mistakes!
EE2001 Briefing Presentation – 11 May 2009 – LT6 104
Common mistakes
• Common electrical GND while integrating two subsystems
• Forgetting that Pin1 of PIC is not connected to the Pin1 of the SIL on the Dev. Board
• Log on to the Lab PC using username ee2001 and password ee2001. Do not log in using NUS ID.
EE2001 Briefing Presentation – 11 May 2009 – LT6 105
Common mistakes
• SFR ADCON1 is to be configured properly if PORTA is used
• That only CAs are important for this module – no need to show up on other days
• That I can somehow complete it if I spend two nights before the CAs
EE2001 Briefing Presentation – 11 May 2009 – LT6 106
Recap of what we need to do
EE2001 Briefing Presentation – 11 May 2009 – LT6 107
Conceive ideas starting from a general theme
Participate in group brain-storming
Organize the ideas and represent in a system block diagram form
EE2001 Briefing Presentation – 11 May 2009 – LT6 108
Use the PIC C compiler, PIC programmer, PCB Design software
Know the PIC microcontroller
Know some hardware components from their data sheets
Design circuits according to datasheets and theoretical knowledge
EE2001 Briefing Presentation – 11 May 2009 – LT6 109
Test circuits on bread-board
C programming for PIC
Put H/W and S/W together
Add more features – Debug
Design the PCB for the subsystem
EE2001 Briefing Presentation – 11 May 2009 – LT6 110
Assemble compete system on PCB
Debug the complete system
Present your project work
Prepare technical documentation
EE2001 Briefing Presentation – 11 May 2009 – LT6 111
Happy Learning !
Thank you.