Top Banner
enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta, Juan Peralta March 5, 2009
28

Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

enter Dept name in Title Master

Mobile Operating Vehicle Electronics- Fuel Management System

SDP09:Team Gao

By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta, Juan Peralta

March 5, 2009

Page 2: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

2enter Dept name in Slide Master

Overview

This system allows its user to keep track of fuel consumption pattern of his car over a period of time (which may be a day, month or a year)

Displays the user different dynamic parameters of the car essentially RPM’s, Air-intake in the engine, engine temperature, fuel-injection level

The software associated in the system uses this data to draw insightful analysis on fuel consumption pattern of the user and make necessary recommendations on the most fuel efficient route to the destination.

Page 3: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

3enter Dept name in Slide Master

Motivation

With crude prices increasing by the day, fuel-efficience and minimizing fuel consumption is the need of the hour

Greenhouse effect as a result fuel emissions is in direct sync with the need to monitor fuel consumption.

Create awareness regarding fuel efficient driving.

Future uses in hybrid environments where one can analyze fuel vs battery efficiency and usage

Page 4: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

4enter Dept name in Slide Master

Overview: Technical Solution

The project is categorically divided as:

Car/Microcontroller interfacing.

Integrating GPS with the above.

Wireless transmission/reception of Onboard

Page 5: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

5enter Dept name in Slide Master

Contd.

Diagnostics data from microcontroller to user computer laptop.

Database on user’s computer to store the received data from Microcontroller.

Software program that fetches the data from the database and makes useful analysis/recommendations & displays it to user.

Page 6: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

6enter Dept name in Slide Master

Overview: Block Diagram

Page 7: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

7enter Dept name in Slide Master

Information from the Vehicle

Using OBD(ALDL Connector) ELM322 chip RS-232 Arduino board

Page 8: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

8enter Dept name in Slide Master

ELM322

8 Pin IC ASCII character High speed RS-232

communication reformat the OBD signals data rate @ 9600 baud 8 data bits no parity bit 1 stop bit

Page 9: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

9enter Dept name in Slide Master

J1979 Standard

Every message Three header bytes Data Bytes Checksum Byte

ELM322 Takes care of this formatting for us

Page 10: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

10enter Dept name in Slide Master

Data handling: Transmission, reception & storage

Page 11: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

11enter Dept name in Slide Master

Modules:

- Xbee: Wireless Transmitter/ Receiver Module with USB serial connection.

- 64 MB Micro sd module for Arduino: Libelium, for storing GPS coordinates, On-Board Diagnostics data till receiver is in range and ready for transmission.

Page 12: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

12enter Dept name in Slide Master

Libelium flash memory module for Arduino

File systemSD-Card formatted with FAT-16 files system with only a single partition on it.

Page 13: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

13enter Dept name in Slide Master

Why 64 MB flash memory?

GPS word containing co-ordinates, elevation & speed – 4 bytes

On Board Diagnostics data word (Fuel indication and RPMs)- 2 bytes

Total data packet size= (3 bytes+ 2 bytes)= 6 bytes

We’re sampling GPS and OBD data every 1 sec.

So over a 36 hour-cross country drive data packet size= 36*60*60*6 = 0.97 MB (approx.)

64 MB flash memory such be sufficient to store data packets for multiple cross country trips.

Page 14: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

14enter Dept name in Slide Master

Design: Data Transmission/ Reception

Page 15: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

15enter Dept name in Slide Master

Configuring Transmitter & Receiver

One XBee will act as the receiver, it will be attached to the computer via an FTDI cable and wireless send programming commands to the receiver

We set up the other XBee so that it will listen to changes on pin D3 on the Transmitter XBee. Then we connect it to the FTDI cable and read in the current configuration.

We set the PAN ID for receiver and transmitter to be the same for the transception to take place.

Page 16: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

16enter Dept name in Slide Master

Control Circuitry: Setting up Receiver

Xbee’s are weak and can’t reset the Arduino themselves, so we set up a transistor for pulling the reset line down.

We put a resistor between base and emitter to keep the Arduino from resetting accidentally.

Page 17: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

17enter Dept name in Slide Master

GPS Module

Page 18: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

enter Dept name in Title Master

GPS Module

What is the purpose of the GPS Module

What is the accuracy of the module

Potential problem that will be solved

What will the will the GPS interface with

Page 19: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

19enter Dept name in Slide Master

GPS/Arduino: Block Diagram

Page 20: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

20enter Dept name in Slide Master

GPS/Arduino Code

void loop() { digitalWrite(ledPin, HIGH); // Turns on LED pin byteGPS = Serial.read(); // Reads a byte of the serial port delay(1.875); if (byteGPS == -1) { // See if the port is empty yet delay(5000); // Waits 5sec if port is empty } else { buffer[conta] = byteGPS; // If there is serial port data, it is put in the buffer Serial.print(buffer[conta]); // conta++; // if (byteGPS == 13){ // If the received byte is = to 13, end of transmission Serial.println(" END OF TRANSMISSION"); digitalWrite(ledPin, LOW); delay(3000); } for (int i = 0; i < 150; i++){ // Reset the buffer buffer[i]=' '; } }}

Page 21: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

21enter Dept name in Slide Master

Deliverables

Real time data feed for things like fuel indication, RPM’s,

engine temperature.

Functional communications between On Board Diagnostics in vehicle and computer based at internal location via PAN network.

Data from the OBD will be stored on a database, used for reference and making analysis on fuel efficiency and other related parameters, and displaying it to the user.

Page 22: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

22enter Dept name in Slide Master

GPS integrated to this device will enable the user to look at which roads/ route (e.g. Driving up on a slope etc.) did make his car consume more/less fuel and the related RPM’s.

Based on the past data, a software program would provide driving recommendations to achieve maximum fuel efficiency.

GUI designed for end user.

Block Diagram with high level view of M.O.V.E-Fuel Management.

Page 23: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

23enter Dept name in Slide MasterECE 415 Senior Design Project Spring 2009

Fuel Analysis Application•Google Charts API•Google Maps API• SQL Server• .NET•PAN (802.15)

Page 24: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

24enter Dept name in Slide MasterECE 415 Senior Design Project Spring 2009

Fuel Analysis Application Charts API• Cost efficient (FREE) no integration with 3rd party software such as Microsoft Office• Allows for 250,000 calls/day• Simple send URL with data needed in certain format•http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

Page 25: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

25enter Dept name in Slide MasterECE 415 Senior Design Project Spring 2009

Fuel Analysis ApplicationGoogle Maps/Earth API• Give the end user a mapping of where they drove• Also economically efficient (FREE)•Take in Long/Lat data points and draw route

Page 26: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

26enter Dept name in Slide MasterECE 415 Senior Design Project Spring 2009

Fuel Analysis ApplicationPAN Technology• Connect via PAN wireless network in order to upload data.• 500 meter range for PAN connection.• Application sends out broadcast at certain intervals looking for the device.

Page 27: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

27enter Dept name in Slide Master

Cost Analysis

MicroSD Module for Arduino $22.66 Parallax GPS Module $89.99 ELM 322 $17.00 XBee Receiver/Transmitter $32.00 OBD Connector Cable $24.00 Total cost $185.65

ECE 415 Senior Design Project Spring 2009

Page 28: Enter Dept name in Title Master Mobile Operating Vehicle Electronics- Fuel Management System SDP09:Team Gao By: Shelby Berleus, Lukasz Gawel, Karan Mendiratta,

28enter Dept name in Slide Master

Questions/ Comments we may answer?