280 likes | 370 Views
Team Mercury II. Shuttletrack. Shelley Hebert Dillon Ong Ban Hee Kong. Architecture. Vehicle Telemetry Module. Web Page. Data Processing Module. Data Display Terminal. Architecture. Vehicle Telemetry Module. Web Page. Data Processing Module. Data Display Terminal.
E N D
Team Mercury II Shuttletrack Shelley Hebert Dillon Ong Ban Hee Kong
Architecture Vehicle Telemetry Module Web Page Data Processing Module Data Display Terminal
Architecture Vehicle Telemetry Module Web Page Data Processing Module Data Display Terminal
Vehicle Telemetry Module (VTM) • Overview • Main Problem faced by previous semester’s team • Connection speed. • 7 sec just to dial up to server • Cannot track buses in real time
New System • Switch to Free Band for continuous connection. (900Mhz) • For time being tests will be run using the Ham radio bandwidths. • Consists of • GPS • Micro-controller • Packet Radio System
VTM Setup Current VTM Analog Modem GPS FSK mC TNC (Modem) Packet Radio System
Packet Radio System • Consists of • Terminal Node Controller (TNC) • Acts as a Modem • Has a 5 pin I/O connector • Converts data from the m-controller and passes over to the FSK • Frequency Switching Key (FSK) • The transceiver of the unit • Obtain data from TNC and broadcast it out
Packet Radio System (cont.) • Transceiver puts data into packet before sending it out • The Packet Radio has protocols build into the system that handles the communication • FSK will automatically chooses the frequency sets to use to communicate with each VTM.
Data Transmission VTM PEB Ethernet connection to campus
Packet Ethernet Bridge(PEB) • Receiving end that is connected to the campus LAN. • Consists of • Transceiver (FSK) • TNC (Modem) • Microcontroller
PEB (cont.) • Transceiver • Similar to the unit in VTM • Used to receive data from the VTM • Has capabilities to automatically tune to the frequency the VTM is transmitting • Modem • Converts data received to be passed on to the m-controller • Does CRC checking
PEB (cont.) • The m-controller sends the data to the server via LAN. • The data is stored into a MYSQL database to be used to generate the bus tracking program.
Future Changes • This is just a test prototype and hence the Ham Frequencies are used to test. • FCC regulations does not allow Ham frequencies to be commercially used. • The real implementation will require a packet radio that transceives at 900Mhz. • 900Mhz packet radio systems needs to be specially ordered. • The change from Ham packet radio to other bands is just a replacement of the radio transceiver.
Architecture Vehicle Telemetry Module Web Page Data Processing Module Data Display Terminal
Data Processing Module • Get data over network rather than modem • Transform latitude/longitude to absolute coordinates on map • Send data over network to DDT • Modifications to web page
Data Processing Module • Simple server program to receive GPS data over network from radio tower rather than over modem • Interfaces to mySQL database to record new positional data
Data Processing Module • Transforms latitude/longitude coordinates to positions on map • Map consists of array of pixels • Want to know which lat/lon coordinates correspond to which pixels in map • Want to know closest bus stop to position reported • Want to automatically “fix” position if GPS reports a position that’s not on a road
Data Processing Module • Can use a simple piecewise linear approximation of map • Using a few known data points, we can interpolate between them
Data Processing Module • Display server • Generates the strings to be displayed on the DDT readout • Gets positional data from database, constructs strings like “Bus X at location Y” • Waits for request from DDT for new data • Sends data to DDT
Architecture Vehicle Telemetry Module Web Page Data Processing Module Data Display Terminal
Goal • Make the status of the bus available online • Display the status in some strategic area throughout the campus • For example Student Union
How Display Work? Get data from VTM Map Readout With Micro- controller Process, store in DB DDT Controller Text Data Display Terminal (DDT) Web Page PC Server
1st phase- Display using web page • Web page with Java applet that displays map of campus and current bus locations • Paint pixmap in a graphics window • Change color of appropriate pixels to indicate locations of busses
1st phase- Display using web page (cont..) • Refresh automatically for every couple of seconds • Cleary states the current position and status of available buses • Currently position (in front union, in front simrall…) • Status (moving, stop at..)
Architecture Vehicle Telemetry Module Web Page Data Processing Module Data Display Terminal
2nd phase – Data Display Terminal (DDT) • Using lower processing power computer (P133) loaded with network card • Connect to the database in main server through the LAN • Display the bus tracking web page through CRT monitor that placed near to the station.