Design A Smart Bus System: ELEC 399 Final Project Report
Design A Smart Bus System: ELEC 399 Final Project Report
Prepared by
Xiaoya Guo
Emily Huang
Benson Hung
Lara Juras
V00693056
V00715617
V00700512
V00685793
Supervisors
Group No.
Due Date
August 3, 2012
guoxya@gmail.com
huangcf@uvic.ca
bhung@uvic.ca
ljuras@uvic.ca
All rights reserved. This report may not be reproduced in whole or in part, by photocopy
or other means, without the permission of the author.
ii
Glossary
APC
API
GPRS
GPS
GTFS
LCD
LED
Light-emitting diode
RF
Radio frequency
SBS
VGA
VRTS
iii
Table of Contents
Glossary .............................................................................................................................. ii
Application programming interface ............................................................................ ii
General Transit Feed Specification ............................................................................. ii
Chapter 1. Goal ................................................................................................................... 1
Chapter 2. Project Overview ............................................................................................... 2
Chapter 3. Detailed Project Description ............................................................................. 4
3.1 Project Description.................................................................................................... 4
3.2 Project Milestones ..................................................................................................... 5
3.3 Project Deliverables .................................................................................................. 6
3.4 Biography.................................................................................................................. 8
3.4.1 Team Members .................................................................................................. 8
3.4.2 Supervisors ....................................................................................................... 11
Chapter 4. Workload Distribution and Achievements ...................................................... 13
Chapter 5. Project Discussion ........................................................................................... 15
5.1 Background Research ............................................................................................. 15
5.1.1 Intelligent Transit System in Other Cities ....................................................... 15
5.1.2 Communication Technologies ......................................................................... 21
5.2 Preliminary Design ................................................................................................. 27
5.2.1 Communication Backbone ............................................................................... 27
5.2.2 On-board Infrastructure ................................................................................... 29
5.2.3 Bus Stop ........................................................................................................... 31
5.2.4 User Interface ................................................................................................... 33
5.2.5 User Cases ........................................................................................................ 34
5.2.6 Web Service (API) ........................................................................................... 39
5.3 Cost Analysis for Bus Stop Prototype .................................................................... 42
5.3.1 Microcontroller ................................................................................................ 42
5.3.2 LED Display .................................................................................................... 44
5.3.3 Part List Bus Stop Prototype ......................................................................... 47
Chapter 6. Summary and Future Works ........................................................................... 48
Appendix A. Textbook Review ........................................................................................ 49
References ......................................................................................................................... 54
Comments by the supervisor:............................................................................................ 57
iv
Chapter 1. Goal
The project goal is to explore ideas of integrating the Victoria Regional Transit System with
appropriate communication technologies and to develop a corresponding Smartphone app. In a
SBS, users can access real-time passenger information such as schedules, trip planners, bus
capacity estimates, bike rack availability and bus stop locations, via Smartphone, on computers
and at bus stops. This system would be inclusive to all users including people with special needs.
The project objectives include
a. To explore wireless technologies to connect buses, bus stops and users;
b. To propose buses and bus stop infrastructure to support the desired functionalities;
c. To develop user-friendly interfaces for accessing real-time transit data;
d. To assist people with special needs in travelling independently by public transit systems.
The Connec4 - Smart Bus System project is initiated by four undergraduates from the
Department of Electrical and Computer Engineering at the University of Victoria (UVic) in May
2012, in response to course ELEC 399 Design Project I at UVic.
Victoria Regional Transit System coordinates the delivery of public transportation throughout
Victoria. The current transit system in Victoria has not kept pace with more modernized systems
where real-time transit scheduling and traffic data are accessible to the general public. It is not
rare to encounter frustrations when buses are not arriving on pre-made schedules due to real-time
uncertainties. On the other hand, emerging personal communication and computing technologies,
such as Smartphone, are fast growing popularity worldwide with hundreds of millions users. To
resolve the imbalance between the current system and the ever-evolving technology, it is
innovative to enable effective communication among the transit control center, buses, bus stops,
and passengers.
The Smart Bus System (SBS) is a system which applies available communication technologies
(e.g. GPS,) to connect transit authority and passengers. It provides the public with an easy and
comfortable way of travelling. Especially in Victoria, a city that hosts a large non-local student
population who highly rely on the public transit, the availability of real-time transit data would
be largely beneficial. For example, an accurate real-time scheduling would reduce students
tardiness, allow better time management, and offer easy navigation around the city.
Besides students, Victoria has an aging population. In the years to come, Victoria will
experience an influx in transitions from cars to public transit. Due to the uncertainty and
unreliability of the static schedules and the lack of information on bus routes, people tend to feel
3
intimidated to the bus alternative and more likely prolong car use which gives more freedom. By
making real-time transit data available and maintaining a high level of accuracy, the
discouragement could be removed. People should feel the bus system is catered to their personal
schedules despite being held to the bus schedules.
Besides students and senior citizens, an inclusive transit system would provide accessible and
comfortable rider experience to people with special needs. For example, a Smartphone app with
vibrating functions could be developed to alert people with visual impairment. Also, the
availability of wheel-chair space could be accessed on computer, at bus stop, or via phone.
Advancements like these and others will make it easier to use public transit and provide
individual freedom.
Therefore, using our motivations, the project goal and objectives were developed. Their details
became the basis for the project proposal. The proposal introduces a preliminary design of a
Smart Bus System featuring desired functionalities, supporting technologies and infrastructures.
A successful implementation of the system will provide the public with an easy and reliable way
of travelling and greatly encourage the use of public transit.
Planned
Date
12-06-15
12-06-19
12-06-13
12-06-23
12-06-23
12-06-24
12-06-23
Select alternative
12-06-24
12-06-23
12-07-06
12-07-05
12-07-19
Analysis 1 Costs/Implementation
12-07-13
12-07-19
Analysis 2 Benefits/Comparisons
12-07-13
12-07-19
12-07-15
12-07-20
12-07-26
12-07-29
12-07-30
Group presentation
12-07-31
12-07-31
Final report
12-08-03
12-08-02
Status
Done
Project proposal
Done
Product definition
Done
Alternative analysis
Done
Prototype design
Done
Done
Cost/Implementation analysis
Done
Benefits/Comparisons analysis
Done
7
Report
Done
Presentation
Done
Website
Launched
3.4 Biography
3.4.1 Team Members
Team Connec4 is a group of four undergraduate students from the University of Victorias
Department of Electrical and Computer Engineering who are enthusiastic in applying
communication technology to improve public transit user experience.
9
experience working in EcoCAR team, she has basic knowledge of car structures. In her spare
time, she enjoys participating in charity organizations fund raising events and doing community
service. Therefore, she could constantly speak to people with disabilities to understand their
needs.
Lara Juras
Lara is a 4th year electrical engineering student specializing in electromagnetics and interested
in optimizations in technology that can improve everyday practices and allow her to be creative.
This project captured her interest since it is innovative and involves design freedom. She also is
excited about the communications aspect and applying course work. Lara brings her previous
10
work experience to the group from assisting project managers at ASYS GmbH with a solar panel
machine line project, acting as a project coordinator with the hardware development project
managers at Research in Motion and working with databases in the electrical team at Lafarge
Canada Inc. Not to mention, her travel experience across the world (e.g. Germany, Spain)
provides invaluable insight to current technologies in public transportation systems. This also
means she understands the insecurities people may feel in an unfamiliar area and recognizes the
need for a Smart Bus System. In her free time, she enjoys practicing yoga and pilates, viewing
films and traveling to new countries to experience the culture.
11
3.4.2 Supervisors
12
Dr. Michael McGuire
Dr. Michael McGuire received his B.Eng. in Computer Engineering from the University of
Victoria in 1995. He remained at that university until 1997 to complete a Masters degree in
Electrical Engineering, developing Fuzzy Logic based algorithms for hand-off control in wireless
cellular networks. After his Masters, he spent two years at Lucent Technologies at Holmdel, NJ.
His projects included testing the first generation of multi-protocol cellular telephones and
developing fault detection and management software for high capacity optical transmission
systems. From 1999 until 2003, Michael enrolled at the University of Toronto to complete his
PhD with the Digital Signal Processing group. After the completion of his doctorate, he then
joined the faculty of the Department of Electrical and Computer Engineering at the University of
Victoria. His research interests are signal processing for communications, model-based filtering,
and non-parametric estimation. He currently holds grants from the National Science and
Engineering Research Council of Canada as well as research contracts for industrial partners. Dr.
McGuire is a member of the IEEE Communications, Computer, and Signal Processing Societies.
13
Benson Hung
My contributions to the project consisted of smart bus stop system research, website
design/development, microcontroller research, cost analysis, smart bus systems scenario cases
development, and project presentation. I also wrote the seminar reviews for the progress report.
Emily Huang
My main contributions to the project consisted of smart bus system research in Singapore, long
range communication methods research and revision, preliminary logo design, user scenario
cases to request a pick-up, attending project presentation, and writing progress and final
reports.
Lara Juras
Some of my contributions for the project included researching the Winnipeg transit system
technologies, writing weekly supervisor meeting agendas, researching the LED display
technologies, writing sections for the various reports, designing the animation for the
presentation and reading/writing the last two textbook sections for the reports.
Xiaoya(Jessie) Guo
My main contributions to the project consisted of arranging group meetings, taking minutes,
researching on Victoria Regional Transit and various intelligent transportation technologies,
14
drawing preliminary design diagrams, establishing the architecture and protocol for the transit
web service API, participating in writing reports, and attending the final presentation.
15
The Taipei Smart Bus System has been implemented for over 8 years. The starting project was
focused on the on-board technology and then gradually expanded to the bus stops.
a. On-Board Technology
The Taipei Smart Bus System is hosted by a number of private companies associate with the
government. Majority of the buses have the following features:
GPS devices.
The Transit Control Centre can monitor statuses for all buses in the fleet.
All of the new buses have on-board TV that provides news, weather reports,
government advertisements and commercial advertisements.
16
LED signs displaying bus numbers and real-time next buses arrival times.
c. Real-time Information
The real time schedule is handled by the transit control centre. If a bus arrival event is deviant
from the assigned schedule, the transit centre will send the new schedule to be displayed at bus
stops and on the website.
a. On-Board Technology
There are wheelchair accessible buses for people with special needs. Wheelchair
accessible bus availability could be checked by visiting SBS Transit website or through
Smartphone app.
17
Bikes are allowed on buses during Mon - Fri: 9.30am - 4.00pm, 8.00pm as well as
weekends and holidays. .
Bus numbers and paper bus route maps (with all bus stop names displayed on map) are
showing at all bus stops.
c. Real-time Information
The real time schedule is handled by SBS Transit has iris NextBus (Intelligent Route
Information System) service for tracking real-time bus schedule using GPS technologies.
Passengers can access real-time schedule using WiFi-enabled devices and by downloading iris
NextBus related apps. For GPRS enabled devices, users can text 74744+space+bus stop
number+bus number to transit authorities to obtain real-time information at $0.05 SGD per text.
18
a. On-Board Technology
1. On-board Computer:
In 2009 Winnipeg Transit completed the installation of GPS antenna on top of all transit
buses. Each bus in the fleet is equipped with an on-board computer that stores the service
schedule information and links to the GPS system on the bus. With this on-board technology
developed by Infodev Electronic Designers, buses can compare the real-time GPS location to
the assigned schedule and report the deviations to the Transit Control Center.
ELEC 399 Final Report
19
20
21
Both long-range and short-range communication protocols were investigated to connect buses,
bus stops, the transit center, and Smartphones.
a. Long-range wireless communication
In this section, four long-range wireless communication protocols WiFi, GPRS, GPS, and
3G - are compared.
Table 3: Data sheet WiFi / GPRS/ GPS
WiFi
Range
GPRS
Frequency
Usage
3G
Everywhere
Everywhere
Standard
type 56114
802.11g 54Mbps
KB/second
Rate
GPS
4,800 KB/s
Latest UMTS
System:
28
Mbit/s
in
existing services
and 22 Mbit/s in
the uplink
Exchange data over Mainly used for Mainly used for Mainly used for
wireless
network. mobile
tracking
mobile
Applicable devices: communication
position
communication
computer, cell phone,
etc.
22
Since GPS is mainly used for tracking position, the option of using GPS technology to build
up communication between users and the transit centre is eliminated. Therefore, the possible
options left are WiFi, GPRS, and 3G. The following table shows the comparison between the
two options.
Table 4: WiFi vs. GPRS vs. 3G
Technology
Pros
Cons
Can be used on many devices such Limited range of WiFi signals if
as
a
personal
computer, obstructions are present
Smartphone, tablet, or digital
audio player
Easy to build WiFi hotspot
WiFi
GPRS
stable
23
use
A more advanced technology than The monthly contract cost is high
2G GPRS
All Smartphones
technologies
Portable
Access
3G
High
have
Speed
3G
Internet
24
Table 5: 4G pros vs cons
Pros
Cons
Good security
protection
and
Despite 4G is a more advanced technology than 3G, 3G is still a relatively mature and popular
technology among users. 3G technology is available on every Smartphone and also worldwide
whereas 4G is not. For ELEC499 project implementation, the team will focus on 3G technology
but will also give space for expanding the communication channel to 4G because the team
believes that 4G is expected to catch on and become the premier connectivity provider in the
coming future.
25
b. Short-range wireless communication
In this section, three short-range wireless communication protocols NFC, RF (QR code)
and Bluetooth - are compared in Table 6 and Table 7.
Table 6: NFC vs. Bluetooth
Technology
Pros
Cons
No pairing; automatic connection;
easier and faster on user side
Slower data rate
Faster set-up
NFC
Vulnerable to eavesdrop by
special antenna and to data
damage by an RFID jammer
of
Requires pairing
configuration
by
manual
Slower set-up
Higher likelihood of unwanted
interception
Higher power consumption
Bluetooth can only connect up to
7 devices at the same time
Pros
Inexpensive
Cons
Can be difficult
consuming to scan
or
time
26
Print/display anywhere
NFC
Weatherproof
In conclusion, none of the three protocols would meet the objective of effectively informing
blind people when and which bus is arriving while they are waiting at the bus stop: scanning QR
code is physically challenging for people with special needs, especially for people with visual
impairment; NFC communication requires the user to hold the phone within a maximum distance
of 20 cm to transfer and receive data, and therefore is difficult to implement when the bus stop is
crowded or when the bus arrives in a long time; Bluetooth requires pairing by manual
configuration which could be challenging and time-consuming, and it can only connect to 7
devices at one time. Given these limitations, short-range communication protocol is not
applicable for communication between buses, bus stops, and users.
27
5.2 Preliminary Design
To achieve the goal and objectives, a preliminary design of the Smart Bus System was
proposed featuring functions of three categories:
a. On-board
b. Bus stop
c. User interface.
5.2.1 Communication Backbone
One of the objectives of the project is to provide an inclusive bus system that helps people
with special needs to board bus easily. CanAssist has developed a Smartphone app to help a
blind person getting to the bus stop, but at the bus stop it is very challenging for the person to
know when and which bus is arriving. To resolve this issue, the first solution is to enable
communication between a bus and a users Smartphone so that the user can request the bus
driver for pick-up at a certain bus stop. However, this option is abandoned because BC Transit
does not allow direct communication between a user and a bus for security reasons. This leads to
the second alternative - to use the bus stop to connect a bus and a user via class 3 Bluetooth that
can discover devices within 5 meters. This will require all buses and bus stops to have Bluetooth
beacon installed. The Bluetooth at the bus stop will be able to detect the Bluetooth on buses that
are approaching, and then inform the users Bluetooth-enabled cellphone of which buses are
arriving. However, the downside is that when multiple buses arrive at the same bus stop around
the same time, not all buses will stop at the bus stop. Without bus driver knowing that a person
wishes to board, the person will have to figure out where the bus is at. This is difficult for people
who have visual impairment. This leads to the third solution. In this case, a transit web service is
28
established as a hub to connect buses, bus stops, and smartphones. Buses sends GPS coordinates
to the web service in real-time to update bus schedules, and the web service makes this
information available at bus stops and Smartphones via 3G networks. To request a pick-up, a
user standing at a bus stop sends a request to the web service, web service configures which bus
to forward the request to using the real-time transit database, forwards the request to this bus, and
finally, bus responds to user via the web service. When the bus arrives, the driver will stop the
bus at the bus stop, and announce the bus number using a microphone or some other voice
system so that the blind person know if it is the right bus to board.
29
To support the communication backbone, existing buses and bus stops need to integrate with
new communication technology. Currently BC Transit fleet have GPS antenna to track bus
locations and Automatic Passenger Counters (APC) to estimate bus capacity at different times of
a day. However, this information is not available in real time but only for post-processing in the
garage due to the lack of a communication protocol between buses and the transit center. In the
proposed Smart Bus System, each bus will install an on-board computer that is interfaced with
GPS enabled microcontroller and 3G router to enable real-time processing and transferring GPS
coordinates and passenger information to the transit center via 3G. Bike rack limit switches will
estimate the number of available bike racks and report to the transit center via 3G in real-time. A
single-line LED sign and speakers will announce next stops triggered by real-time GPS
coordinates relative to a bus stop.
Figure 7 illustrates how a smart bus with on-board advancements would enhance rider
experience. Firstly, with the Next-stop display and voice announcing system, passengers will
know where they are and when to get off the bus. People unfamiliar with the route or area will be
more likely to take buses as the announcing system provides a navigation guide. Secondly, the
passenger data collected from the Automatic Passenger Counter (APC) will be translated into
statuses for people to know the seat availability on a bus. The transit dispatch center can use this
information to determine the need to dispatch extra buses during peak-passenger hours. Thirdly,
limit switches on bike racks will report the number of bike racks available. Cyclers will be more
willing to take buses by knowing beforehand if bike racks are full. A set of desired
functionalities and proposed infrastructures are summarized in Table 8.
30
31
5.2.3 Bus Stop
Figure 8 illustrates a preliminary design of a smart bus stop. In the proposed Smart Bus
System, each bus stop will install LED signs that displays real-time arrival times, bus capacity
and bike rack availability for all buses servicing the stop, a microcontroller with 3G router that
requests updated bus arrival times from the Transit schedule server over 3G networks. To
increase safety, remote bus stops will have LED lights installed. As well, paper schedule will
remain as a backup in case of electronics failure. Bus route maps, assistance phone numbers and
cab numbers will also be available on the paper schedule. A set of desired functionalities and
proposed infrastructures are summarized in Table 5.
32
LED display
LED light
Paper schedule
Bus route map locating all bus stops
Transit assistance hotline
Cab hotline
33
5.2.4 User Interface
Figure 9 illustrates three ways a user can access transit data: a. Website, b. Phone, and c.
Smartphone. Transit data gathered by the transit center will be made available on the internet and
to the phone service provider. Users can check schedules and other information via the transit
website, hotline / text messages, and Smartphone apps. Finally, all the real-time information will
be available via website and a Smartphone app. In more details, the app will feature real-time
schedule, trip planner, bus stop locator and bus arriving alarm. A set of desired functionalities
and proposed infrastructures are summarized in Table 10.
34
Proposed Platform
Smartphone
Website
Phone service provider
Smartphone
Website
Smartphone
Multilanguage support
Smartphone
The team brainstormed a total of 8 scenario cases for people who have special needs. The
following diagrams illustrate how a person requests a pick-up under different situations.
Premises
1. Communication method between the 3 entities: 3G
2. Assume real-time schedule
3. Transit Centre holds uses requests in their queue(for storing users requests) and
delivers it to bus when bus is approaching
35
Normal Case
36
37
Bus Delay
38
Description: User sends a request for pick-up with invalid information. Transit Centre could
not recognize the request therefore delivering a message back with negative acknowledgement.
Bus Unavailable
Case 1: Bus breaks down.
If bus breaks down in the middle of the route, transit centre will be notified to send another bus.
Therefore, Bus Delay Scenario applies.
Case 2: BC transit cancels bus route
Description: User proceeds to send a pick-up request to the transit centre. Transit Centre
recognized the bus route has been cancelled and will send a message bus route has been
cancelled to user with two options:
1. Continuing Waiting (Delay Scenario)
2. Cancels the request
39
Case 3: Bus Detour
In the proposed Smart Bus System, a transit web service (API) will be established as a hub to
connect the three components in the public transportation system: buses, bus stops, and
Smartphones via 3G networks. Connected to a real-time transit database, this web service will
process requests and responses within the bus system. The API will allow developers access to
real-time transit data such as bus schedule, bus capacity and bike rack availability. Developers
can use the API to write cool and customized new Smartphone apps to enhance rider experience.
Research has been conducted on popular protocols and data formats used in Transit APIs. As
shown in Figure 17 and Figure 18, REST and XML are the most used protocol and data format
respectively. Hence, a RESTful web API that receives and returns XML data is proposed for the
Smart Bus System.
40
Among a number of RESTful API frameworks for PHP, the Slim micro framework is chosen
for its simplicity and comprehensive Features include: RESTful routing, Named routes, Route
passing, Route redirects, Route halting, Custom views, HTTP caching, Signed cookies, Custom
404 page, Custom 500 page, Error handling and Logging. At the mean-time, an API has been set
41
up on the authors localhost IP address with an Access database that fakes BC Transit
database. The data stored in the database are downloaded from the static schedule data and
associated geographical datasets on BC Transits website. The files contain schedule times, stop
locations and route information in GTFS format which stands for General Transit Feed
Specification.
Some proposed API methods are listed below.
So far one method is coded which returns the bus arrival times at a certain bus stop within the
next hour.
42
5.3 Cost Analysis for Bus Stop Prototype
5.3.1 Microcontroller
One of the steps in developing a smart bus system is to determine the suitable
microcontrollers. Research was done to determine the microcontroller requirements. The system
requires having a GPS microcontroller to locate the position of buses and a general
microcontroller to handling the other features.
Three microcontrollers are listed as the considerations for this project: Arduino mini USB
extension, Arduino Duemilanove and Arduino Mega2560. In order to meet the requirement for
transferring data with 3G network, the microcontrollers are required to have the feature to
connect with 3G. The purchasing costs and vendors can be found below in
Table 11 and
Table 12.
Table 11: Purchasing costs and vendors
Price
(CAD/piece)
Microcontroller Vendor
chipset
Addition
required
parts
3G router, 3g
communication
board
ATmega168
ATmega328
or Robotshop/
Arduino
Arduino
Duemilanove
24.29
ATmega168
ATmega328
or Robotshop/
Arduino
3G router,
SM5100B, 3g
communication
board
Arduino
Mega2560
controller
59.78
ATmega2560
Robotshop/
Arduino
3G router,
SM5100B, 3g
communication
board
43
ATmega2560
Price (CAD/piece)
3.08 (appx/ must purchase 10 at least)
3.99 (appx / single available )
15.21
Purchasing microcontroller chipset and developing our own microcontroller set would save up
to 44.57 dollars maximum. However, the time for delivery might need to be considered.
Arduino Duemilanove and Arduino mini USB extension have similar setup and features, but
Duemilanove have 3 ways of power connection: USB, Power connector, or VNN ground pins.
ATmega 328 and ATmega168 have identical flash memory, but the ATmea 328 max operating
frequency which can potential process the data faster. ATmega 2560 provides higher flash
memory space (256 Kbytes) compare to the other two which can store more information in the
controller without clearing the memory.
Based on the price and performance, the suggestion would be to purchase the Arduino
Duemilanove with ATmega328 microcontroller, which can provides enough features, but not
overpriced.
44
5.3.2 LED Display
For demonstrating the smart bus stop to display the real-time data, an LED display would need
to be purchased. The LED display must be for outdoors and programmable. Three companies
were examined for their signs as shown in Table 13.
Table 13: Comparison of LED display companies
Brand/Company Type
Programming Options
Mandex Motion M-EXL
- central information
Displays
Series
source
- subscription feed
- local/Ethernet ASCII
- bitmap feeds
PCM Electronic Starfire
Signs
aesys
Power
100/120 VAC,
60HZ
No built in
power switch
- programmable fields
conditional
programming
Dimensions
5.25"H. X 3.00.
variable length
2.5lbs
Selection
Custom
PCM has various types of signs, but the software is very limited for what can be displayed.
45
46
Besides looking at specific LED models for bus stops, the research revealed companies who
have various options for on-board bus equipment. Specifically, Industrial LCD Pro who designs
an overall bus system was examined. They build and install a monitoring system that could be
put into the bus system. The system has two options for displaying the information. First, the
data can be provided by an USB stick. This system can be updated to a 3G/GPS unit to update
the content. It is nice that the GPS is an optional requirement for the display system.
Overall, several LED companies build digital outdoor signs, but the level of programmability
is still a question. As well, for pricing information, most companies require quotes and do no
freely show costs. Based on a report from LEDs magazine, the installation of 1000+ solar LEDilluminated bus stops in London, England cost around 1.6 million CAD which is roughly $1600
per bus stop. Due to the high cost of the ideal bus stop, a mock up LED display from a whole
sale online store would be selected instead. The LED display ranges in prices from ~$250-$1000.
The downside to buying not from a known or respectable company is one will not know if all the
required features will be there when the product arrives.
47
5.3.3 Part List Bus Stop Prototype
The following table is an overview of the parts required to build the bus stop prototype.
Table 14: Bus Stop Parts List
Parts
Model
Price
Microcontroller
$ 44.57
LED display
3G router
TBD
$50
48
49
50
system as a whole in a broader sense. The final stage of testing is acceptance. This involves users
who determine if the system is acceptable to them (beta testing).
Finally, documentation must be created for both the user and the system. Online
documentation is becoming more commonly used. There are three types of user documentation:
reference documents, procedure manuals and tutorials. Reference documents help the user learn
how to perform a specific function. Procedure manuals describe how to perform business tasks.
A tutorial teaches a person how to use the system. It is useful to implement documentation
navigation controls into the documentation.
Chapter 13 examines the activities needed to install the information system and successfully
convert the organization using it. As well, post-implementation activities like system support,
system maintenance and project assessment are reviewed. Installation and availability are
relatively simple, but the training and organizational issue create the complexity of the process.
The transition to a new system follows a model called Lewins three-step model of organization
change. The stages are freeze, move and unfreeze. To help unfreeze attachment from the current
system, activities can be added to the systems analysis and design. The migration plan guides the
movement from the as-is to the to-be system. Through support and maintenance the new system
can refreeze it into everyday use.
A migration plan incorporates a number of elements that guide the transition from the old to
the new system. Using selected and business contingency planning the organizations readiness
can be developed. Through hardware and software installation and conversion of the data, the
technology is prepared. People are ready to accept and use the new system through many
channels. The channels to enforce the change are management policies, adoption motivation
techniques and training.
51
The migration plan will be successful if the system analysts understand the sources of
resistance to change and know the costs and benefits for the users.
Once implementation is complete, post work takes place. System support is done by the
operations group who give online and help-desk support to the users. The support is divided into
two levels. The first level staff deals with the majority of phone questions. Level 2 support staff
follows up on challenging problems and sometimes generate change requests for bug fixes.
Change requests are mainly focused on by system maintenance. The requests come from system
support staff, other development project teams, senior management to fix the bugs and improve
the business value. The goal of project assessment is to understand what is successful about the
system and the project activities and what needs to be improved. The project team reviews
focuses to the way that the project team carry. Finally, system review looks at understanding the
extent to which the proposed costs and benefits form the new system that were identified during
project initiation.
The last chapter, Chapter 14, discusses the encompassing of object-oriented concepts and
techniques in systems analysis and design. Object-oriented system means a system that is viewed
as a collection of self-contained objects that put together to form a system. The objects have both
data and processes. They can be a person, place or thing that the user wishes to capture. All
objects have unique attributes that describe the object. They are grouped into classes that are
arranged into a hierarchical format. Polymorphism allows a message to be interpreted differently
by different kinds of objects. This allows the objects to be treated as black boxes and ignore the
detailed system. Encapsulation and information hiding allow an object to conceal its inner
processes and data form the other objects. If object-oriented analysis and design use UML, the
analyst can decompose complex problems into smaller manageable components. As well, using
52
UML allows the analyst to interact with the user employing objects from the users environment
rather than a set of separate processes and data. The object-oriented analysis and design can be
modelled in one of four ways: use case diagram, class diagram, sequence diagram or behavioural
state machine diagram.
A use case diagram demonstrates the main system functions and the different kinds of users
that interact with it. The diagram includes actors and use cases which are separated by a system
boundary and connected by lines representing associations. The actors are the people or things
that derive value from the system and sometimes are specialized versions of general actors.
Building a use case diagram requires five steps: identify the use cases, draw system boundary,
add the use cases to the diagram, identify the actors and add appropriate associations to connect
use cases and actors.
A class diagram shows the classes and relationships among the constant classes in the system
over a period of time. The main building block of the diagram is a class. The class stores and
manages information in the system. They have attributes that capture information about the class
and about the operations (class actions). There are three types of operations: constructor, query
and update. The classes are related to each other with an association. The association has a name
and multiplicity that indicates the maximum and minimum instances that participate in the
relationship. Special types of association include aggregation or generalization. They are used
when classes comprise other classes or when one subclass inherits properties and behaviours
from a superclass. The diagram is first created by identifying the classes and their attributes and
operations. The relationships are then drawn among the classes to show associations. For the
special associations, special notations are used.
53
A sequence diagram is a dynamic model that illustrates instances of classes that participate in a
use case and message that pass between them over time. These diagrams are helpful for
understanding real-time requirements and for complex use case scenarios. Objects are placed
horizontally across the top of the diagram, each having a lifeline vertically below. The lifeline is
just a dotted connecting line. The focal of control is represented by a thin rectangle. It is placed
over the lifeline to show when the objects are sending or receiving messages. A message is a
communication between objects that conveys information with the expectation that activity will
ensue. They are drawn as an arrow connecting two objects that points in the direction the
message is being passed. To start the diagram, first identify the classes that participate in the use
case. Afterwards, add the messages that pass among them. Lastly, the lifeline and focus of
control need to be added.
The final model is the behavioural state machine diagram. It shows the different states that a
single instance of a class passes through during its life in response to events, along with
responses and actions. A state is a set of values that describe an object at a certain point in time.
It represents a point in an objects life where it satisfies a condition, performs action or waits for
something to happen. An event is something that takes place a specific point in time and alters a
value that describes an object, changing the objects state. Objects undergo transitions as they
move from state to state. When drawing the diagram, rectangles with round corners are placed on
the model to represent the various states that the classes will take. Next, arrows are drawn
between the rectangles to show the transitions. Finally, event labels are written above the arrows
to describe the event that triggers the transition.
54
References
[1]
Arduino Mini USB Extension Board. RobotShop. [Online] [Cited: August 2, 2012.]
http://www.robotshop.com/ca/productinfo.aspx?pc=RB-Ard-01&lang=en-US.
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
Aesys S.p.A. Stationary Systems. Aesys. [Online] 2012. [Cited: August 2, 2012.]
http://www.aesys.com/products-solutions/bus-systems/stationary-systems.
[10]
Carmanah Gets Orders for LED Signs and Bus Stops. LEDs Magazine. [Online] May
2006. [Cited: August 2, 2012.] http://ledsmagazine.com/news/3/5/20.
[11]
Mandex Motion Displays. Expandable and Flexible LED SIGNS. LEDsignage. [Online]
2011. [Cited: August 2, 2012.] http://www.ledsignage.com/flexible.
[12]
[13]
PCM Signs. STARFIRE LED Sign Specifications. [Online] [Cited: August 2, 2012.]
http://www.pcmsigns.com/starspec.htm.
[14]
55
[15]
[16]
[17]
[18]
Lane, Kin. Short List of RESTful API Frameworks for PHP. Programmable Web.
[Online] September 23, 2011. [Cited: August 2, 2012.]
http://blog.programmableweb.com/2011/09/23/short-list-of-restful-api-frameworks-forphp/.
[19]
The OneBusAway RESTful API. OneBusAway. [Online] May 11, 2012. [Cited: August
2, 2012.] http://developer.onebusaway.org/modules/onebusaway-applicationmodules/current/api/where/index.html.
[20]
E-BUS Bus Dynamic Real-Time Information System. AsiaTEK. [Online] [Cited: August
2, 2012.] http://www.asiatek.com.tw/products/products-software-detaildfb4.html?ID=1.
[21]
Upton, Chad. Posts Tagged 'nfc' - NFC vs QR Codes. YYZ New Toronto Group. [Online]
December 4, 2011. [Cited: August 2, 2012.] http://www.newyyz.com/ntgsite/tag/nfc/.
[22]
Wozniaki, Tanya. NFC versus Bluetooth. Near Field Communication NFC. [Online]
2012. [Cited: August 2, 2012.] http://www.nearfieldcommunicationnfc.net/nfc-vsBluetooth.html.
56
Grade [%]
0.0
0.0
0.0
57
58
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
________________________________________________