gps bus location system

22
GPS BUS Location System

Upload: kin

Post on 17-Jan-2016

116 views

Category:

Documents


0 download

DESCRIPTION

GPS BUS Location System. Introduction. The aim is to get the location of the bus stop number, bus number and direction from the user and give him the estimated time. The buses update their status every 30 seconds with the server with their location. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: GPS BUS Location System

GPS BUS Location System

Page 2: GPS BUS Location System

Introduction

• The aim is to get the location of the bus stop number, bus number and direction from the user and give him the estimated time.

• The buses update their status every 30 seconds with the server with their location.

• Current buses are obtained from the list and location of the requested bus can be obtained.

• The information is updated to the register and then the time is calculated and returned to the customer.

Page 3: GPS BUS Location System

Introduction• The billing is done at the register per message

and per response basis.

Page 4: GPS BUS Location System

Measurements

• Measurements were taken for locating the bus stop location.

• We used GARMIN 12XL GPS equipment.• Measurements were taken for bus number 71A

10A and 20A.• Bus Stop location was recorded with Latitude

and Longitude.• The average time required by the bus to reach

location A to location B was measured.

Page 5: GPS BUS Location System

Model of the system

ServerBUS

Bus ID, Location, Time Bus Number, Bus Stop

Bus, Time for arrival

Page 6: GPS BUS Location System

Modules

BusBus MailHandler

Active Bus List

Mail Box

Position Update

Read Bus Mails

Bus Schedule

Get Bus Number, direction

Update Active Bus

Page 7: GPS BUS Location System

Modules

ClientBus MailHandler

TimeCalculator

Mail Box

Bus Location request

Read Client Mails

Active Bus List

Query Active Buses

Calculated Estimated Arrival time

Bus Schedule

Get Bus Stop time offset

Get Bus time offset

Client Records

Validate Client

Record Access

Response

Page 8: GPS BUS Location System

User request Customer request: Customers email ID. Bus Number. Inbound or Outbound (In or Out). Bus stop ID. Location of the bus stop is denoted by the

number and its coordinates are retrieved from the database.

Page 9: GPS BUS Location System

User Authentication

• The authentication is done when email is sent to the server.

• The email field is checked for the authentication purpose.

• If the user is authenticated, then the request is forwarded to the information processing functions.

Page 10: GPS BUS Location System

Query function

• Inputs: Bus Number, direction.• Functionality:

– Access hash table and get the currently running buses with given bus number and direction

Page 11: GPS BUS Location System

Active Bus Updates• Inputs: BusID, Bus Number, Time, Direction.• Functionality:

– Maintain a hash table based on bus number and direction (Addition/ Updating buses in this list).

– maintain list of bus ids for given number and direction (current and previous time and location )

– Provide exclusion for deletion of outdated records

– If records older than 10 minutes delete the entry in hash table.

Page 12: GPS BUS Location System

Performance Parameters

• Average Speed of buses 250 meters per minute• Update every 30 sec gives update at 125 meter

distance approx.• Mails from all buses handled together every 30

sec improves the performance because less number of thread/tasks involved

• Access to the Active buses through hash on bus ID and direction of travel improves response time

Page 13: GPS BUS Location System

OUTLINE

•Format of Information Table for a particular Bus Number

Stopid Stoplat Stoplon Timetaken

•Additional Information Retrieved: Bdirection : Inbound / Outbound retrieved from the Active Bus List

Page 14: GPS BUS Location System

• From the Previous Position ( latp,lonp ) and Current Position ( latb, lonb ) of the bus

reported, the closest stop is found :

• Find the distance between the bus location and the stop location using the function

acos(cos(lat)*cos(lon)*cos(latb)*cos(lonb) + cos(lat)*sin(lon)*cos(latb)*sin(lonb) +sin(lat)*sin(lonb)) * r

r - radius of the earth

• The stop with the least difference in distance is chosen.

Page 15: GPS BUS Location System

• TimeTaken is got from the InformationTable• Get the Current time

• Get the Last Update time• To get the Net Effective time for the bus to

reach the customerDurtime :

TimeTaken -

( Currenttime – Update Time)

Page 16: GPS BUS Location System

Read Customer record file INPUTS :

PCustrecfilePCustacesfile

OUTLINE

•Query the Customer Access Record file and find the number of times a particular customer has used the facility

based on the Email-id.•Generate the Billing Statement for the customer

No of accesses * Price per access•Update the Customer with the information via email

Page 17: GPS BUS Location System

Equipment

Source :

http://www.garmin.com

Page 18: GPS BUS Location System

Business Model• The total cost estimated will include GPS equipment

price, charges for sending bus updates from the bus to the server.

• Above expenses should be covered by the service provider.

• The service provider gets the revenue from the Customer.

Page 19: GPS BUS Location System

The Cost• Cost of Rino 110 / Rino 120 : $150 each• We assume that there are 200 buses.• The Initial cost is :• For 200 equipments= $150*200• For updating software = $50000

• The running Cost• SMS messages cost around 3cents to the service provider.• Updating for each bus in 30 seconds will cost 200*(0.7(2880*0.03))=$8064 per day.

(I.e.) $2’943,360 per year.

• Total Cost:• $3’023,360.

Page 20: GPS BUS Location System

Customer Charge

• Users will be charged 10 cents a request.• To use this service minimal charge of $4 will be applied to the

customer.• We assume that registered customers are around 50000.• From the predictions it is assumed to increase @ rate of 10% per yr.• We assume that there are approximately 5000 requests.• The annual revenue will be around $2546000 for 2002.• (All the figures received from the • http://www.mobileinfo.com/News_2002/Issue23/IDC_survey.htm • http://www.wqed.org/erc/pghist/units/WPAhist/pop_growth.html )

Page 21: GPS BUS Location System

GraphGraph

Revenue

year

20022003

20042005

20062546000

2840750

2940000

3192000

3777735

Page 22: GPS BUS Location System

Questions??