10 aug 2010

19
10 Aug 2010 ECE/BENG-492 SENIOR ADVANCED DESIGN PROJECT Meeting #5

Upload: chet

Post on 11-Jan-2016

21 views

Category:

Documents


0 download

DESCRIPTION

ECE/BENG-492 SENIOR ADVANCED DESIGN PROJECT. Meeting #5. 10 Aug 2010. ECE-492 Meeting#5. Q1: Teams – show draft diagrams of your system architecture Q2: Any questions about proposal format and preparation?. System Design II: Behavioral Models. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 10 Aug  2010

10 Aug 2010

ECE/BENG-492 SENIOR ADVANCED

DESIGN PROJECTMeeting #5

Page 2: 10 Aug  2010

ECE-492 Meeting#5ECE-492 Meeting#5

Q1: Teams – show draft diagrams of your system architecture

Q2: Any questions about proposal format and preparation?

Page 3: 10 Aug  2010

System Design II:Behavioral ModelsSystem Design II:Behavioral Models

• A system model is needed for describing system behavior, with an emphasis on computing resources and other resources influencing system functionality

• Models are needed to describe:– Interactivity of a system with the environment

– Man-machine interactions – how to operate a system

– Interactivity between modules – signal/data exchange, actions, etc.

• Models can be used to describe system behavior at any level

Page 4: 10 Aug  2010

• You need to work with these models to avoid disasters !

• They are also planning tools for your team

• ‘Model’ – we mean a hard copy so you and your team can see it on paper– Models in your mind. . . leave for your hobbies. . .

– A hard copy is a must:

• To have a blueprint of system behavior,

• To transfer your mathematical model into its implementation

• To coordinate your implementation activities around these behaviors, and

• To be able to trace it if problems occur --- and they will !!!

Page 5: 10 Aug  2010

ModelsModels

• State Diagrams (State Machine)– State diagrams describe the behavior of systems with memory

– Intuitively, a state corresponds to an operating mode of a system and inputs are associated with transitions between states

– Almost all systems are systems with memory – consider startup phase, work phase, turn-off phase, sleep phase, etc.

– Show transitions between states/phases using state diagrams

– A must for systems with microcontrollers

– Excellent tool to visualize control influences for systems controlled by a microprocessor

– Mostly used at the upper abstraction level

– Again, you have to use them when programming microcontrollers – will help you to define tasks and task switching mechanisms

Page 6: 10 Aug  2010

Engine RunningPower Off

Idle

Engage

Base Charge

Balance Power

Charge Battery

Max

Pause (INT)

ON(Engage Off) or ON(Rpm=0)

Power On

Engage On

Charge On

No-Operation

Start Engine

Emergency Stop

Stop (INT)

Mode 10

Mode 11

Mode 01

Page 7: 10 Aug  2010

• Flowcharts– The intention is to visually describe a process or algorithm; for

example data/signal processing

– Used to connect activities of a process or algorithm together

– You can use flowcharts to describe processes at different levels of detail within each state

• Data Flow Diagrams– Used to model the processing and flow of data inside a system

– A function oriented modeling approach

– Differs from Flowcharts – it does not encapsulate control and sequencing information, but allows multiple processes running concurrently

– See Chapter 6

Page 8: 10 Aug  2010

Complete order

Post to clerk

Post todelivery

Assemble order

Incorporate intoschedule

Send items

Determinedelivery route

Collectorders

Run delivery

Samplelight

strengthStart

Computelight

sampleaverage

Store samplevalue inarray

Displayaveragevalue

Key-press?

Wait 1ms End

no

yes

Page 9: 10 Aug  2010

CASE STUDY#1

< State Diagram >

CASE STUDY#1

< State Diagram >

Page 10: 10 Aug  2010

Modeling and Design Design + Mathematical model System implementation

Modeling and Design Design + Mathematical model System implementation

• Many ECE 492/3 projects include a control component

• If you have a control element in your system, then review control engineering principles

• Proper design, modeling and implementation is still a challenging issue for EE and CpE students RIGH vs. WRONG

Page 11: 10 Aug  2010

System Model(math+physics)

SystemDesign

SystemImplementation

Performance prediction + Parameters

StructurePerformance data

Structure +Parameters

Com

plet

ely

WR

ON

GR

IGH

TB

ette

r b

ut s

till

WR

ON

GSystemDesign

SystemImplementation

Structure

Structure + Parameter Modifications

SystemDesign

SystemImplementation

Structure

Parameter Modifications

Design evaluation

Simulation

Page 12: 10 Aug  2010

Mathematical Modeling and System ControlMathematical Modeling and System Control

• Use functional/physical decomposition to determine system structure

• Assign mathematical equation(s) to each physical/functional element (this will help you to handle complexity and allow for easier implementation and debugging)

DC MotorKv, KT

K

B

J

θ

Tl

Gearsr

PotentiometerKp

Power Amp.KTa

VmVaVr

-

Page 13: 10 Aug  2010

• Use simulation

• System debugging will be simpler and conclusions for system modification will be more clear

• You will estimate system parameters much faster meaning: no endless experimentation and debugging

• Recommendations: Use simple equation(s) to represent each system component Check simulation results:

Are your results LOGICAL ?Are they VALID ?Can you EXPLAIN what happens in your system ?

Keep it simple, complicate later when you succeed

Page 14: 10 Aug  2010

Early PrototypingEarly Prototyping

• Early prototyping is absolutely needed to– Understand chips/components you will work with (these days

many chips are multifunctional with inherited complications)

– Check them against spec

– Play to educate yourself and gain experience

• Right after proposal presentation, you need to define key chips/elements you will use in your design/system – you need to buy them early and work with them immediately

• Early prototyping report is needed at your Design Review Presentation (Week#11)

• You will eventually need to extend early prototyping over the first 1-2 weeks of ECE-493, if needed, but no longer than that

Page 15: 10 Aug  2010

Proposal PresentationProposal Presentation

• Limit your presentation to 20-30 minutes

• You must have two faculty members at the presentation

• All team members must speak at the proposal presentation – distribute the load evenly, but do not switch speakers too frequently

• Your presentation must be professional– It matters what you wear

– Use audio-visual equipment

– Distribute a copy of your proposal and slides before the presentation day (coordinate with FS)

– Use right size font and nice figures

• Book the room and find another faculty in advance

Page 16: 10 Aug  2010

Preparing for the PresentationPreparing for the Presentation

• Before you start developing the presentation, plan your strategy. Design it! You are telling the story!!!

• Analyze your audience - it’s the audience stupid!– What are they interested in?

– What do they want from your talk?

– What does the audience know? What don’t they know?

• Determine main points– Emphasize 2-3 main points in your talk

– Structure your presentation to support these points

– Remember, ‘tell your story’

Page 17: 10 Aug  2010

Sample Presentation ContentSample Presentation Content

• Follow your proposal content• Introduction/motivation and identification of a need• Main technical body including

– Requirements– System architecture– Alternative designs (any other you considered?)– Identify main components and their role. How about interfaces?– What are major challenges?– Experimentation and testing approach

• Main administrative body– List of tasks and allocation of responsibilities– Skills of team members. What is an extra knowledge/skills to be

acquired?

• Conclusions

Page 18: 10 Aug  2010

Extra AdviceExtra Advice

• Use professionally prepared graphics• Do not use PowerPoint “CPU Wasters” (extra visual

effects, fancy combinations of them)• Avoid the use of cue cards – read directly from slides• Meet the time constraints through the entire talk – have

control points• Motivate your audience to listen. Stay excited.• Practice your talk in front of your teammates, girlfriend/

boyfriend, family members• Do not overprepare to the point of sounded scripted• Practice the talk a night before, and do only a brief

review of the material right before the talk• You can tell a joke but watch out the ethics, etc.• Prepare for the question and answer session

Page 19: 10 Aug  2010

For the Next MeetingFor the Next Meeting

• Read textbook – Chapters 6 and 12

• Teams – bring a state diagram showing state transition of your system at Level-1 (or Flowchart, Data flow diagram)

• Next meeting:– Design document; Design Review presentation