580 likes | 730 Views
AY 2007-2008 Semester - 3. Briefing for EE2001 Design Project. Outline. Learning objectives Learning outcomes Project guidelines Assessment criteria Project theme Project implementation resources. Learning Objectives for EE2001. Learning Objectives of EE2001. Learning Methodologies.
E N D
AY 2007-2008 Semester - 3 Briefing for EE2001 Design Project
Outline • Learning objectives • Learning outcomes • Project guidelines • Assessment criteria • Project theme • Project implementation resources
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 should explore to do beyond what has been taught in core modules and learn from it • Small group learning • The project is done in a group with all members having some common goals and do collaborative learning
Learning outcomes • At the completion of the module, the students should be able to: • Formulate technical and performance specifications for the system from loosely defined requirements. • Partition the system in to sub-systems and formulate technical specifications for each sub-system. • Carry out top-down design of the system based on the technical and performance specifications.
Learning outcomes (cntd.) • Formulate and execute design for interconnections of the various sub-systems. • Make trade-offs between function, cost, size, and user-friendliness. • Make the following design decisions: implement functions in hardware or software, choice of design method, choice of components, and choice of programming language used. • Use the available engineering tools and apply skills such as soldering, PCB design, etc. • Apply design methods, bread-boarding or programming as appropriate, perform tests, and debug hardware and software systems.
Learning outcomes (cntd.) • Integrate the sub-systems into a complete system and perform testing to check compliance with specifications. • 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. • Continuously document the design and development processes in a design portfolio
Team and Individual Roles • Team - Consists of 4 members • Responsible for the final product development • Drafting system specifications • Project scheduling • System integration • Final demonstration and presentation • Individual Role • Responsible for the design and implementation of sub-system • Drafting sub-system specifications • Software, hardware and PCB design • Project design portfolio • Giving peer feedback
Assessment Criteria • CA1 – 40% (28% individual + 12% group) • CA2 – 20% (10% individual + 10% group) • Final – 40% (12% individual + 28% group)
Financial constraints • $300 of components from the lab • $100 of goods bought from outside
Examples of EE2001 Project – Smart Home System • Some Ideas: • Security • Safety • Automation • Ambience control • Elderly care • Pet and plant care • Entertainment • Connectivity
Useful Information • Coordinators: Sanjib Kumar Panda, Mehul Motani • TAs: Sahoo Sanjib Kumar, Yu Yantao, Ravinder Pal Singh • Support staff : Henry Tan, Rose Seah, Uh Choon Leng, Wah Lee Ling, Abdul Jalil Bin Din • Location: E4A-06-03 • Web: http://www.ece.nus.edu.sg/ee2001/html/ • Any Questions?
AY 2007-2008 Semester - 3 Briefing for EE2001 Design Project
Outline • Assessment Components • Project Roadmap • Project Design Portfolio • Smart Feature Design – Example • Familiarization Lab • Some information regarding PCB
Assessment • CA1 – 40% • CA2 – 20% • Final – 40%
Questions • How many CAs? • What are the weightages for each CA? • What is the individual component in the module? • What percentage of marks for the quiz after Familiarization lab? • What is the percentage of marks for technical knowledge of your own subsystem?
Project Stages 12 Final Model and Presentation 9 PCB PCB (Printed Circuit Board) 5 Lab Subsystem Prototyping 3 Brainstorm for the ideas 2 Getting started
Getting Started • Register and form groups • Briefing - Learn about the module • Get the components and Toolbox • Familiarization labs • (More about it later) • Quiz on Fam Lab
Brainstorm for ideas • Think about possible features • Finalizing features within the constraints • Defining Subsystems for individuals • System block diagram • GANTT chart
What is a subsystem? • A functionally related subset of the features • In a four member team, each person on an average, takes charge of a few related features – grouped as a subsystem • Each subsystem must involve software-hardware integration • Subsytems may share resources like a PIC, power supply etc.
System Block Diagram Subsystem1 Subsystem2 Function 1 Function 2 : Function n Function 1 Function 2 : Function n Subsystem3 Subsystem3 Function 1 Function 2 : Function n Function 1 Function 2 : Function n
A sample GANTT chart Planning is required as resources are limited
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.
Subsystem prototyping • Circuit Schematics • Process flowchart • Component sourcing • Patching circuits on Bread-board • Microcontroller Programming • Subsystem debugging • System Integration • CA1
Transferring to PCB • Learning the PCB design software • Individual PCB design • PCB submission of the Group • Soldering the components • Debugging the system on PCB • CA2
Final Model Presentation • Assembly of mechanical parts, if any • Building the model • Wiring up the parts together • Debugging of the final system • Preparing the presentation • Final demonstration
Project Design Portfolio • Each student maintains an individual Project Design Portfolio. • To be updated regularly and with the student at each lab session. • It is Assessed
Design Portfolio – Title Page • Project Design Portfolio • Project Title • Name • Matriculation Number • Group Number
Design Portfolio – Contents • Project Theme and Guidelines • Gantt Chart for project schedule • (Keep updating with project week) • System Block Diagram • (Keep all versions with marking of Rev No.) • Bill of Material • Weekly Learning Diary • Things done, Things learnt
Design Portfolio – Contents(contd) • Documents • Meeting Minutes, Design Calculations, Drawings, Flowchart, Circuit Schematics, Layout, Component Selection Criteria, PCB Layout, Software listing, Sales Presentation material
Design Portfolio – Contents(contd) • Data sheets of components used • User Manual • Appendix Course website printout or notes Internet Printout etc.
Questions to answer • Each student has to maintain an individual Design Portfolio: • True or False? • Portfolio should be updated regularly: • True or False? • Can learning diary be same as my friend’s learning diary? • Yes/No
What is a Smart Feature? • It responds to an event/stimulus, in a desirable way, without human intervention Sensing Thinking Acting Sensor Processor Actuator
Block diagram of a smart feature Input Devices Sensors, Switches, Pushbuttons Micro Controller Input Port Output Port Processor Output Devices LEDs, LCDs, Motors, Relays
How to implement a smart feature? • Example: Fire Safety • To raise an alarm when there is a fire Step 1 : Draw a process flow chart Fire? On Alarm Off Alarm
Step 2:Choose Input/Output devices • Input Device • (Convert the stimulus to Voltage) • Fire sensor • Thermistor (temperature) • Output device • Buzzer Learn how they work and what are input and output voltage and current values
Fire sensor using Thermistor Thermistor has a variable resistor depending on temperature. Convert the change in resistance to change in voltage.
How to interface the sensor output with microcontroller? • The analog voltage can be converted to a digital signal using a comparator for a digital input port.
Output Devices • Buzzer • 5V, Piezo Buzzer • (This can be directly connected to the microcontroller digital output)
Step3: Microcontroller Programming • C compiler is needed • Programmer is needed to transfer the program • Development board is needed to connect the Microcontroller to the sensor circuit and Buzzer
#include "io16f877.h" // The hardware register definition file void main (void) { TRISA = 0xFF; //Configure Complete Port A as input TRISB = 0x00; // Configure Complete Port B as output ADCON1 = 0x07; // set PortA and PortE as Digital I/O. // ADCON1 controls the pin type (Digital or Analog) of // Port A while (1)//continuous loop { RB0 = RA0; } } Labels in red are SFR(Special Function Register)
How to implement any smart feature? • Step1 : Draw a process flow chart. • Step2 : Find the sensors and actuators. • Step3 : Connect to appropriate Microcontroller ports and program it
Familiarization Labs • 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 get started on PIC C programming • To learn about the lab equipment
Familiarization Lab for PIC programming • Two labs sheets are available( basic and advanced) • Try to understand the sample programs. [Need to refresh the basics of C language] • Use working sample programs to get started on a new function.