myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

47
DAIYING CHEN DAVID LEVINSON ADDAM HALL KAREN MESKO LISA HALL EI EI MIN THU NOLAN LEAVITT SUDHEER SOMESHWARA Fall 2009 Heinz College, Carnegie Mellon University a a real-time pilot for the CMU Shuttle

description

http://myride.heinz.cmu.edu myRide is a real-time transit information system for the Carnegie Mellon University Shuttle. It was built by Heinz College graduate students in the fall of 2009. The pilot will end in December 2009, but the website (http://myride.heinz.cmu.edu) will remain up as we work to make myRide a permanent system at Carnegie Mellon.

Transcript of myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Page 1: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

DAIYING CHEN DAVID LEVINSONADDAM HALL KAREN MESKOLISA HALL EI EI MIN THUNOLAN LEAVITT SUDHEER SOMESHWARA

Fall 2009

Heinz College, Carnegie Mellon University

a a real-time pilot for the CMU Shuttle

Page 2: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Agenda

History Planning Implementation Results Going Forward

Page 3: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Stakeholders

Starting Problem Advancing knowledge

within CMU community, in line with Traffic21

Benefiting area residents and commuters

Make significant and substantial contributions to public policy and non-profit management

Stakeholders

Page 4: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Our Changing World

Page 5: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Our Solution: Real-Time Information

Real-Time Transportation Information Cutting-edge technology Novel solution to reliability problems

Many benefits To riders To transit providers To community

Page 6: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Agenda

History Planning Implementation Results Going Forward

Page 7: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Deliverables

Port Authority Technical Capabilities Report Public Transit Ridership Surveys myRide website - http://myride.heinz.cmu.edu Funding Request for permanent system Future coursework plans Android Phone GPS tracking application Google Transit Feed Specification compliant database Mobile Webpage Project Document Report

Page 8: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Benchmarking

University of Michigan TransLoc

~60-bus fleet covers 10 routes~Magic Bus was designed by students~Maintained by staff and students~Funded by Transportation Dept.

~Newer company based in Raleigh~Provides services for 15 schools, including Princeton, Auburn, and Yale

Page 9: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Internal CMU Ridership Survey

Goal: identify the most effective and desireddissemination methods for the CMU shuttle

Small, N= 51 Conducted in person at CMU Shuttle stops and on

the Shuttle. Time frame: Weekdays at various times in mid-

October.

Page 10: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

CMU Ridership Survey Takeaways

Shuttle riders do have issues with the timeliness of service.

A wide range of people use the shuttle. Shuttle riders have very high levels of access to

Internet and Text plans. iPhones would not be the most effective way to

reach the largest number of people. Focus on a webpage that can be viewed on

mobile devices.

Page 11: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Pittsburgh Community Survey

Goal: Measure attitudes and perceptions in regards to public transit and technology.

Key factors we wanted to measure: Ridership habits Factors affecting demand elasticity for public transit Access to information dissemination methods Receptiveness to various real-time services Perceived value of a real-time system

The questions posed to respondents were modeled after a series of questions used in a 2006 study by the FTA in estimating benefits of a real-time system.

Source: Real-time Bus Arrival Systems Return on Investment Study. Federal Transit Administration, 2006.

Page 12: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Pittsburgh Community Survey Methodology

Our survey was limited in breadth and depth by a limited timeframe and limited resources. The sample size is not intended to be arandom sampling of Allegheny County residents; instead, it attemptsto measure riders and advocates in the Oakland-Downtowncorridor.

N=148 Survey conducted in-person and online 31% Random sample of pedestrians and bus riders in the

Oakland corridor and downtown 35% Students, faculty and professionals in the Higher Education

field 34% Developmental, cultural and transportation advocacy groups

Page 13: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

via text message via an automated telephone system

via a standard website via a website for mobile devices/

smartphones

via a smart phone application

30.2

11.1

26.7

8.9

28.3

32.6

22.2

11.1

22.2

13

7

8.9

46.7

33.34.3

16.3

17.8

8.9

22.2

30.4

14

40

6.713.4

23.8

Respondents ranking of dissemination methods1 (Most Prefer) 2 3 4 (5) Least Prefer

Pittsburgh Community SurveyPreferred Delivery Methods

97.1% 90.1% 72.8% 21.3%Access to method:

Page 14: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Pittsburgh Community SurveyPerceived Value

56.5 %34.8 %

6.5 %

2.2 %

Percentage of respondents who felt that "real-time bus information that was accurate, free and accessible

to me would...."

Increase Ridership

Greatly Increase Ridership

No effect on Rid-ership

Negative effect on Ridership

Page 15: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Pittsburgh Community SurveyPerceived Value

Improve my perception of Public Transporta-tion

Make Public Transit more accessible

Make my commute or trip easier

Make Public Transit more appealing

Improve our region's reputation

97.9 %

89.4 %

85.1 %

76.6 %

57.4 %

Percentage of respondents who felt that a real-time Bus System would...

Page 16: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Pittsburgh Community Survey Takeaways

When compared with other metro regions, the Oakland-Downtown corridor has:

The FTA estimated that a system wide real-time system would increase ridership by 6%-8%.

National Average (2006)

Community Survey

Access to Internet 53.3% 72.8%

Access to Mobile Internet 7.2% 21.3%

Dissatisfaction w/ On Time Performance

42.8% 58.4%

Dissatisfaction with Frequency of Service.

51.3% 60.5%

Source: Real-time Bus Arrival Systems Return on Investment Study. Federal Transit Administration, 2006.

Page 17: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Web server

Transmitting Real-time Bus Location Part

Accessing Real-time BUS Location Part

Bus with GPS

Send GPS data to Web serverWeb Application

Mobile Web

G-phone & T-mobile

Riders

Scope Framework

GTFS Data Schema

Estimated Time ModuleLocation Retrieval Module

Map Plug In

Page 18: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Use Case Diagram

Driver

Transport Admin

RiderGeneral User

Start auto-GPS transmission for any Route

Stop auto-GPS transmission for any Route

Change the Route

myRide SystemAdd new Alert for

riders

Add another Admin user

View Current Bus location on

the map

View full schedule for each route

View myRide on

their Mobile Phone

Use Twitter to follow, share the updates

View estimated

arrival time for their bus

stop

Page 19: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Agenda

History Planning Implementation Results Going Forward

Page 20: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Logistics

Page 21: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Graphic Design

Page 22: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Graphic Design

http://myride.heinz.cmu.edu

Page 23: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Marketing Roll-out

Page 24: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Demo: http://myride.heinz.cmu.edu

Page 25: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Highlighted tables are GTFS-compliant schema Improve scalability and future enhancement with Google

GTFS-Compliant Database Schema

Page 26: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Data Source Challenges

Bus stop information not available Collected bus stop information Obtained GPS longitude/latitude from Google Maps

Collaborated with drivers to get accurate schedule Route and schedule data population

3 Routes 23 Stops 78 Trips 1140 records of Stop-times

Page 27: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Route Stops Population Data

Page 28: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Runs as background service on Google Android Phones Transmits GPS data every 5 seconds Easy to use for different routes User-friendly User Interface (UI) for Shuttle Drivers

GPS Transmission

Page 29: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

GPS Transmission Challenges

Learning curve of Android Platform GPS providers

Network vs. GPS satellite provider Adjusting GPS transmission interval

1 minute or 50 seconds or 5 seconds Performance vs. Accuracy

Deployment to real phone Versions crisis

GPS background service challenge Reliability of hidden service Does phone screen lock stop our application?

Get GPSTransmit

to Web Server

Background Service

Page 30: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Main Web Interface

Page 31: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Challenges Behind the Scene

Geographic Information System Calculating distance by Vincenty’s formula with

ellipsoidal model of earth Accuracy within 0.5mm[1]

Route distances vs. straight-line distance Mapping raw GPS to nearest bus stop

Geocoding with Google Map Reverse Geocoding Encoded Geopolyline mapping Ajax and timer for updating real-time

Cross-Browser Compatibility[1] Source: http://www.movable-type.co.uk/scripts/latlong-vincenty.html

Page 32: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Challenges: Estimated Time Prediction

Inaccurate schedule stop times

Exponentially Weighted Moving Average Problem with frequent stop times

Kalman-Filter Prediction Algorithms[1]

Consider dwelling times

Various Scenarios Select stop time Schedule time Last trip

[1] Source: Prediction Models of Bus Arrival and Departure Times, University of Toronto

Page 33: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Challenges: Estimated Time Prediction

Is Schedule running?

Get Latest GPS data

Is GPS data

outdated?

Get Next Schedule Time

Get the distance and speed to selected stop

Yes

Yes

No

Display Not Running Now

No

No speed? Or Morewood is in between?

Yes

Predict time

No

Last Trip of the day and passed by?

Display Location without Time

Yes

Page 34: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Mobile Phone Interface

Page 35: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Challenges

Display and bandwidth limitations Layout changes for mobile Decrease page load time

Request redirection Device detection

Request

Users

Page 36: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Transport Admin Interface

Page 37: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

User Location Detection

Detecting nearest stop based on user’s current location

Google Gears – Geolocation API

Page 38: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Agenda

History Planning Implementation Results Going Forward

Page 39: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Test Cases

Page 40: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Test Reports

Written Time Stamp

Written Location Desc

Server Time Stamp

Server Location

Notes

2:16 Morewood Garden

2009-11-08 14:18:09

Morewood Ave 1076

2:18 Craig and Forbes Corner (Traffic)

2009-11-08 14:19:28

Forbes Ave 4899

100m

2:19 Forbes and Dithridge

2009-11-08 14:21:23

Forbes and Dithridge

50m

2:20 Webster Hall

2009-11-08 14:12:00

S Dithridge St 155

10m

Test for Route AB – by Ei Ei Min Thu 11/08/09Procedure: attached the phone on bus window without interaction. Phone is charged with laptop on.

Page 41: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Web Counter

Thanksgiving Holiday

Page 42: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Accomplishments

Android deployment GIS (Geographic Information

Systems) Challenges Estimating bus arrival time Mobile Compatibility

Page 43: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Agenda

History Planning Implementation Results Going Forward

Page 44: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Next Steps: Future Enhancements

Enhance System Admin module to update the Route and the stop times on the UI

Improve the Estimated Time algorithm Incorporate the CMU Escort and PTC Shuttle

Route Add advertisements and school announcements

on the website

Page 45: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Next Steps

Continue the Pilot Install more robust hardware Create an iPhone application

Devise traffic monitoring system based on sensor and server capabilities

Pursue funding opportunities Advertisements University Funding Traffic21

Page 46: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Acknowledgements

Robert Hampshire (team advisor) (donation of G1 Phones) CMU Shuttle: Lt. Gary Scheimer, Jim Heverly, Jim

McNeil, Colton Brown, James Collins, & Jason Brown

Ramayya Krishnan, Rick Stafford, Dave Roger, Steve Bland, and Joe Hughes (advisory board)

Hillman Foundation Gary Franko (design and printing support)

Page 47: myRide: A Real-Time Information System for the Carnegie Mellon University Shuttle

Contact Information

Addam Hall (project manager): [email protected]

Ei Ei Min Thu (IT manager): [email protected] Robert Hampshire (advisor): [email protected]