26
CS-EE 481 Spring 2005 Founder’s Day, 2005 1 University of Portland School of Engineering Swift-Fox Swift-Fox magine the ability to view and record Up to five different channels of performance data from your car And upload that data to your personal computer Preformatted for spreadsheet analysis That is Project Swift-Fox

CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

Embed Size (px)

Citation preview

Page 1: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 1University of Portland School of Engineering

Swift-FoxSwift-Fox

Imagine the ability to view and record

Up to five different channels of performance data from your car

And upload that data to your personal computer

Preformatted for spreadsheet analysis

That is Project Swift-Fox

Page 2: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 2University of Portland School of Engineering

Swift-FoxSwift-FoxProject Swift Fox

Automotive Data Acquisition System

Team-Andrew Robinson -Shamlan Al-Roomi -Wajdi Al-Shalan -Peter Brunke 

Advisor

Dr. Lu, Dr. Lillevik

Industry RepresentativeMr. Steve Kassel

Website @ http://lewis.up.edu/egr/srdesign05/swiftFox/

Page 3: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 3University of Portland School of Engineering

Swift-FoxSwift-Fox

AgendaIntroduction Peter

Background Peter

Methods Andrew

Results Sham

Demonstration Wajdi & Andrew

Conclusions Wajdi

Page 4: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 4University of Portland School of Engineering

Swift-FoxSwift-Fox

Introduction (Cont.)

Why is this system important?

Show development process

Describe Features and Specs

of Project Swift-Fox

Presentation Goals

Page 5: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 5University of Portland School of Engineering

Swift-FoxSwift-Fox

IntroductionProject Description

– Automotive Data Acquisition System• Embedded system

• Output to computer via RS232 for data analysis

• PCB used for wiring between components

• Incased in a small convenient metal case

– Importance • Device for ME and other EEs to use

• Research tool

Page 6: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 6University of Portland School of Engineering

Swift-FoxSwift-Fox

BackgroundWhat we will be measuring on a race car

– Lateral Acceleration – allows measurement of the cornering limits of a car

– Engine Speed (RPM) – The speed of the crankshaft of the motor

– Both useful for monitoring cornering and handling

What we will be measuring on a race car– Lateral Acceleration – allows measurement of

the cornering limits of a car

– Engine Speed (RPM) – The speed of the crankshaft of the motor

– Both useful for monitoring cornering and handling

Page 7: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 7University of Portland School of Engineering

Swift-FoxSwift-Fox

Users will want:– To know limits and be alerted when they are reaching them– Review data on computer and analyze it– A bright, easy to view display– A small form factor– An intuitive interface– Expandable and customizable system

Background (Cont.)

Page 8: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 8University of Portland School of Engineering

Swift-FoxSwift-Fox

Methods

Supporting electronics -Power Supply-Memory-Display-Analog front-end-Sensors-Keypad-RS232

Supporting electronics -Power Supply-Memory-Display-Analog front-end-Sensors-Keypad-RS232

Hardware:

Casing

-5’’x 5’’x 3’’ Aluminum Case

-Connectors for sensor input, RS232

-Power cord with cigarette lighter adaptor

Casing

-5’’x 5’’x 3’’ Aluminum Case

-Connectors for sensor input, RS232

-Power cord with cigarette lighter adaptor

Printed Circuit Board

-4 layer

-Made by PCB Express

Printed Circuit Board

-4 layer

-Made by PCB Express

Microchip PIC16F872 Microcontroller

-Main hub of system

Microchip PIC16F872 Microcontroller

-Main hub of system

Page 9: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 9University of Portland School of Engineering

Swift-FoxSwift-Fox

Methods

Low Level Code -RS232-Interrupts-ADC interface-EEPROM interface-Display-Key scanning

Low Level Code -RS232-Interrupts-ADC interface-EEPROM interface-Display-Key scanning

Software:

Personal Computer

-C program saves received files to a .txt file

Personal Computer

-C program saves received files to a .txt file

High Level Code

-Main loop

-Calls all low level code

-Conditional routines -based on user input

High Level Code

-Main loop

-Calls all low level code

-Conditional routines -based on user input

CCSC C Compiler

-More intuitive then assembly

CCSC C Compiler

-More intuitive then assembly

Page 10: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 10University of Portland School of Engineering

Swift-FoxSwift-Fox

Methods (Cont.)Number Description Original

September 2004

FinalApril2005

√ 1 Form Team 09/10/04 09/10/04

√ 2 Pre Approval 09/13/04 09/13/04

√ 3 Functional Spec 10/08/04 10/14/04

√ 4 Project Plan Approval 11/16/04 11/16/04

√ 5 Finish Design of Analog Front End

11/29/04 11/29/04

√ 6 Finish Design of Power Regulator

11/22/04 11/22/04

√ 7 Finish Design of Main Board/Digital Components

12/06/04 12/06/04

√ 8 Finish Overall Design 12/09/04 12/09/04

√ 9 Design Release 12/10/04 01/21/05

√ 10 Order PCB 12/17/04 01/21/05

Fall Milestones:

Page 11: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 11University of Portland School of Engineering

Swift-FoxSwift-Fox

Methods (Cont.)Number Description Original

September 2004

FinalApril2005

√ 11 Program Components 1/05/05 03/04/05

√ 12 Program I/O and Spreadsheet Converter

1/05/05 03/04/05

√ 13 Construct Electronic Components

1/21/05 2/28/05

√ 14 Theory of Operations Approval

2/11/05 2/11/05

√ 15 Prototype Release/Approval 4/08/05 4/11/05

√ 16 Founder’s Day Presentation 4/12/05 4/12/05

17 Final Report Approval 4/22/05 4/22/05

Spring Milestones:

Page 12: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 12University of Portland School of Engineering

Swift-FoxSwift-Fox

Methods (Cont.)Line CategoryDescription Number Rate Amount1 Materials1.1 EEPROM 1 $1 $11.2 Microcontroller 1 $5 $51.3 A/D Converter 1 $4 $41.4 Transistors $2 $21.5 Resistors $5 $5

1.6 Misc. $5 $5

1.7 Vacuum Fluorescent Display 1 $55 $55

1.8 Serial Connector 1 $5 $51.9 Key Pad 1 $2 $21.10 Connectors/Wires $40 $401.11 Case $20 $201.12 Power Supply $15 $15

Subtotal $159

2 Services2.1 PCB Fabrication 1 $120 $1202.2 Shipping 1 $20 $20

Subtotal $140

TOTAL $299

Line CategoryDescription Number Rate Amount1 Materials1.1 EEPROM 1 $1 $11.2 Microcontroller 1 $5 $51.3 A/D Converter 1 $4 $41.4 Transistors $2 $21.5 Resistors $5 $5

1.6 Misc. $5 $5

1.7 Vacuum Fluorescent Display 1 $55 $55

1.8 Serial Connector 1 $5 $51.9 Key Pad 1 $2 $21.10 Connectors/Wires $40 $401.11 Case $20 $201.12 Power Supply $15 $15

Subtotal $159

2 Services2.1 PCB Fabrication 1 $120 $1202.2 Shipping 1 $20 $20

Subtotal $140

TOTAL $299

Swift-Fox Budget:

Page 13: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 13University of Portland School of Engineering

Swift-FoxSwift-Fox

ResultsBlock Diagram:

Page 14: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 14University of Portland School of Engineering

Swift-FoxSwift-Fox

Pictures of Project

PIC Microcontroller

A/D Converter

EEPROM

Power Supply

Analog/Digital Terminators and Inputs

RS 232 Circuitry

Display/Keyboard Ports

Results (Cont):

Internal Electronics

Page 15: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 15University of Portland School of Engineering

Swift-FoxSwift-Fox

Results (Cont):

Interior:

PCB

Senor Connectors

Keypad

RS232 Connector

Display

Power

Page 16: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 16University of Portland School of Engineering

Swift-FoxSwift-Fox

Results (Cont)

Results (Cont)

Digital Channel (Tach) Connector

Swift-Fox Logo

Case

Analog Channel Connectors

Keypad

Display

Front Angle View:

Page 17: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 17University of Portland School of Engineering

Swift-FoxSwift-Fox

Results (Cont.)

Cigarette Lighter Plug

DisplayCase

RS232 Connector

Keypad

12 Volt DC Input

Power Switch w/LED

Back Angle View:

Page 18: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 18University of Portland School of Engineering

Swift-FoxSwift-Fox

Demonstration

We will show an example correlation between actual driving and recorded data.– Circles (Cookies)– Hard Acceleration– S-Curve Cornering

Page 19: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 19University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-Cont.

RPM Lumina Circle

0

1000

2000

3000

4000

5000

6000

1 18 35 52 69 86 103 120 137 154 171 188 205

Samples (0.25 sec samples)

RP

M

smoothed

raw

Page 20: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 20University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-Cont.

G Forces Lumina Circle

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1 16 31 46 61 76 91 106 121 136 151 166 181 196

Samples (0.33 sec/sample)

G F

orc

es

Page 21: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 21University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-Cont.

Page 22: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 22University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-ContMazda3 Acceleration

-0.15

-0.1

-0.05

0

0.05

0.1

0.15

0.2

0.25

0.3

1 23 45 67 89 111 133 155 177 199 221 243

Samples (6 samples/sec)

G-F

orc

e

Series1

Page 23: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 23University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-Cont.

Page 24: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 24University of Portland School of Engineering

Swift-FoxSwift-Fox

Demo-Cont.

Mazda3 Left Right Left

-0.6

-0.4

-0.2

0

0.2

0.4

0.6

1 9 17 25 33 41 49 57 65 73 81 89 97 105

Samples 4 Sample/Sec

G-F

orc

e

Page 25: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 25University of Portland School of Engineering

Swift-FoxSwift-Fox

Conclusions• Swift-Fox displays and records telemetry from

an automobile and sends it to a personal computer via RS232

• Future improvement suggestions:– More sensors– Specialized GUI software for windows– More memory – Graphical animation for replaying recorded data

• Project Swift Fox has been successfully designed and developed

Page 26: CS-EE 481 Spring 2005 1 Swift-Fox Founder’s Day, 2005 University of Portland School of Engineering Imagine the ability to view and record Up to five different

CS-EE 481 Spring 2005

Founder’s Day, 2005 26University of Portland School of Engineering

Swift-FoxSwift-Fox

Questions