real time bus information system

Post on 13-Apr-2017

105 Views

Category:

Engineering

8 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Real Time Bus Information SystemA BRICK IN BUILDING SMART CITY

Satamanyu DashDeeptiman Mallick

December 16,2012A Psychology student was raped in aBus in National Capital, New Delhi…..

November 6, 2015A 19 years old nurse was raped in moving bus in a place 22miles away fromIndia’s greatest Technology Hub, Bangalore…

September 17, 201543 years old woman was rapedInside a mini bus in Bhopal…

And many more…….

June 18, 201325 years old tribal woman was rapedIn a bus in State Capital, Bhubaneswar

*Source: Times Of India

Features:-• Real time access to the bus location• Fare and Distance information• Emergency Rescue button• Real time monitoring by Admin

Transmitter Unit:-

Transmitter Unit:-

GPS unit gets latitude and Longitude through L1-Channel(1575.42 MHz) from Satellite

This data is converted to binary form and uploaded through Wi-Fi to central Admin Server continuously in real time manner

The GPS data is PCM modulated and sent in 16-bit packet where the last bit is reserved for bus_id

The camera gets activated on hit of Power Button and video footage is transmitted to central Admin Server

Also on hit of power button the location data is ASK modulated and sent to Police Station in Radio frequency range

Administrator Unit:-

Administrator Unit:-

It receives the PCM modulated data and demodulates and stores the Latitude and longitude data in Admin Database.

The Administration System Application uses a Map API to draw polyline on a Satellite map by fetching the latitude and longitude from the database in a real time basis

The Admin also records the live video footage in its system The central server also interacts with a end-user level application for

various operation

The Bus info End User App

The Real-Time Bus Information

Application

Current Location/AddressOf the nearest bus stop

Destination

Available Route

Fare and Distance

Current Location of the Bus

Database

The Bus info End User App

Source_address

Destination_address

The Database Structure

stop_id stop_name latitude longitude route_no distance_from_init

SqlConnection con = new SqlConnection("server=(localdb)\\v11.0;database=college;integrated security=true");

con.Open();

string sql = select route_no from stop_data where stop_name = ‘’+source_address+’’; SqlCommand cmd = new SqlCommand(sql, con); SqlDataReader dr = cmd.ExecuteReader();

int route_num = dr.toInt32();

Stop_data

The information Page

Distance = source(distance_from_init) – destination(distance_from_init)

Total_Fare = Distance * fare_per_km

The Real time information

By querying the database we can get the latitude and longitude of each bus stops for each route

Using which a polyline can be drawn on satellite map using Google map API

var StopCoordinates = [ new google.maps.LatLng(20.2700,85.5200),

new google.maps.LatLng(20.1800,85.6200), new google.maps.LatLng(20.2700,85.8400),

new google.maps.LatLng(19.9581,85.8263), new google.maps.LatLng(19.8160, 85.8330),];

The Real time information

The current location of the bus can be fetched and shown on a map using GPS device connected in the Bus

From that the distance between the Bus and the user location can be found out and an approximate time can be predicted

Utility

This System will help in fare bus service This will be a safeguard for women safety This can be implemented by government

Conclusion

It’s time to carry a step forward in our citizen safety

This system will make a step ahead in building smart city

This will make a passenger life much more safe and easier

Thank You

Any Queries???

top related