Transcript Swift-Fox
Spring 2005
CS-EE 481
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
Founder’s Day, 2005
University of Portland
School of Engineering
1
Spring 2005
CS-EE 481
Project Swift Fox
Automotive Data Acquisition System
Website @ http://lewis.up.edu/egr/srdesign05/swiftFox/
Team
-Andrew Robinson
-Shamlan Al-Roomi
-Wajdi Al-Shalan
-Peter Brunke
Advisor
Dr. Lu, Dr. Lillevik
Industry Representative
Mr. Steve Kassel
Founder’s Day, 2005
University of Portland
School of Engineering
2
Spring 2005
CS-EE 481
Agenda
Introduction
Background
Methods
Results
Demonstration
Conclusions
Founder’s Day, 2005
Peter
Peter
Andrew
Sham
Wajdi & Andrew
Wajdi
University of Portland
School of Engineering
3
Spring 2005
CS-EE 481
Introduction (Cont.)
Presentation Goals
Why is this
system important?
Show development process
Describe Features and Specs
of Project Swift-Fox
Founder’s Day, 2005
University of Portland
School of Engineering
4
Spring 2005
CS-EE 481
Introduction
Project 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
Founder’s Day, 2005
University of Portland
School of Engineering
5
Spring 2005
CS-EE 481
Background
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
Founder’s Day, 2005
University of Portland
School of Engineering
6
Spring 2005
CS-EE 481
Background (Cont.)
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
Founder’s Day, 2005
University of Portland
School of Engineering
7
Spring 2005
CS-EE 481
Methods
Hardware:
Microchip PIC16F872 Microcontroller
-Main hub of system
Supporting electronics Casing
-Power Supply
-5’’x 5’’x 3’’ Aluminum Case
-Memory
-Connectors for sensor input, RS232
-Display
-Power cord with cigarette lighter adaptor
-Analog front-end
Printed Circuit Board
-Sensors
-4 layer
-Keypad
-RS232
-Made by PCB Express
Founder’s Day, 2005
University of Portland
School of Engineering
8
Spring 2005
CS-EE 481
Methods
Software:
CCSC C Compiler
-More intuitive then assembly
Low Level Code
-RS232
-Interrupts
-ADC interface
-EEPROM interface
-Display
-Key scanning
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
Founder’s Day, 2005
University of Portland
-
School of Engineering
9
Spring 2005
CS-EE 481
Methods (Cont.)
Fall Milestones:
Number
Description
Original
September
2004
Final
April
2005
√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
Founder’s Day, 2005
University of Portland
School of Engineering
10
Spring 2005
CS-EE 481
Methods (Cont.)
Spring Milestones:
Number
Description
Original
September
2004
Final
April
2005
√ 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
Final Report Approval
4/22/05
4/22/05
17
Founder’s Day, 2005
University of Portland
School of Engineering
11
Spring 2005
CS-EE 481
Methods (Cont.)
Swift-Fox Budget:
Line
1
1.1
1.2
1.3
1.4
1.5
Category
Description
Materials
EEPROM
Microcontroller
A/D Converter
Transistors
Resistors
Number
Rate
Amount
1
1
1
$1
$5
$4
$2
$5
$1
$5
$4
$2
$5
$5
$5
1.6
Misc.
1.7
Vacuum Fluorescent Display
1
$55
$55
1.8
1.9
1.10
1.11
1.12
Serial Connector
Key Pad
Connectors/Wires
Case
Power Supply
Subtotal
1
1
$5
$2
$40
$20
$15
$5
$2
$40
$20
$15
$159
1
1
$120
$20
$120
$20
$140
2
2.1
2.2
Services
PCB Fabrication
Shipping
Subtotal
TOTAL
Founder’s Day, 2005
University of Portland
School of Engineering
$299
12
CS-EE 481
Results
Spring 2005
Block Diagram:
Founder’s Day, 2005
University of Portland
School of Engineering
13
CS-EE 481
Results (Cont):
Power Supply
Pictures of Project
Spring 2005
RS 232 Circuitry
Display/Keyboard
Ports
EEPROM
PIC Microcontroller
A/D Converter
Internal
Electronics
Analog/Digital
Founder’s Day, 2005
14
University of Portland
School of Engineering
Terminators and Inputs
CS-EEConnector
481
RS232
Results (Cont):
Spring 2005
Display
PCB
Power
Keypad
Founder’s Day, 2005
Interior:
University of Portland
Senor Connectors
School of Engineering
15
CS-EE 481
Results (Cont)
Spring 2005
Front Angle View:
Display
Keypad
Digital Channel (Tach)
Connector
Case
Swift-Fox Logo
Founder’s Day, 2005
University of Portland
Analog Channel
Connectors
School of Engineering
16
CS-EE 481
Results (Cont.)
Spring 2005
Back Angle View:
RS232 Connector
12 Volt DC Input
Display
Keypad
Founder’s Day, 2005
Case
Cigarette Lighter
Plug
Power Switch
University of Portland
School of Engineering
w/LED
17
Spring 2005
CS-EE 481
Demonstration
We will show an example correlation
between actual driving and recorded
data.
– Circles (Cookies)
– Hard Acceleration
– S-Curve Cornering
Founder’s Day, 2005
University of Portland
School of Engineering
18
Spring 2005
CS-EE 481
Demo-Cont.
RPM Lumina Circle
smoothed
RPM
raw
6000
5000
4000
3000
2000
1000
0
1
18
35
52
69
86 103 120 137 154 171 188 205
Samples (0.25 sec samples)
Founder’s Day, 2005
University of Portland
School of Engineering
19
Spring 2005
CS-EE 481
Demo-Cont.
G Forces Lumina Circle
1
0.8
G Forces
0.6
0.4
0.2
0
-0.2 1
16 31 46 61 76 91 106 121 136 151 166 181 196
-0.4
Samples (0.33 sec/sample)
Founder’s Day, 2005
University of Portland
School of Engineering
20
Spring 2005
CS-EE 481
Demo-Cont.
Founder’s Day, 2005
University of Portland
School of Engineering
21
Spring 2005
CS-EE 481
Demo-Cont
Mazda3 Acceleration
0.3
0.25
0.2
G-Force
0.15
0.1
Series1
0.05
0
-0.05
1
23 45 67
89 111 133 155 177 199 221 243
-0.1
-0.15
Samples (6 samples/sec)
Founder’s Day, 2005
University of Portland
School of Engineering
22
Spring 2005
CS-EE 481
Demo-Cont.
Founder’s Day, 2005
University of Portland
School of Engineering
23
Spring 2005
CS-EE 481
Demo-Cont.
Mazda3 Left Right Left
0.6
G-Force
0.4
0.2
0
-0.2
1
9
17 25 33 41 49 57 65 73 81 89 97 105
-0.4
-0.6
Samples 4 Sample/Sec
Founder’s Day, 2005
University of Portland
School of Engineering
24
Spring 2005
CS-EE 481
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
Founder’s Day, 2005
University of Portland
School of Engineering
25
Spring 2005
CS-EE 481
Questions
Founder’s Day, 2005
University of Portland
School of Engineering
26