Professional Documents
Culture Documents
a)
i - Traffic light controller
Every day we hear in Car traffics even in most modern cities in all over the
world, and it becomes a severe and global problem. People need stop signs
and traffic lights to slow down drivers from going to fast. If there were no
traffic lights or stop signs, people’s lives would be in danger from divers
going quickly. The purpose of our project is to design and implement a
traffic light controller for a road crossing that has two roads (north-south,
east-west), and the lights turn on and off according to the counters that
represent sensors found on the roads . The controller is constructed from a
finite state machine used to control the actual operation of the Traffic lights.
(“See figure 1”).
Traffic lights for vehicals normally have three main lights: a red light that
means 'stop', and a green light that means 'go', and the yellow light that the
car will prepare itself to go.
In order to achieve our aims: Below is the basic traffic simulation model
used in this project. While it is a simple model, the simulation has some
interesting and complex properties. A high-level listing of the properties and
limitations of this model is as follows:
Figure 1
• There are 5 buttons to control the program, start button, Reset button,
Stop button, Exit button, and AMBULANCE button.
• Start button: will run the program.
• Reset button: will restart the program.
• Stop button: will stop the program.
• Exit button: will quit the program.
• Clicking the AMBULANCE button will place an ambulance on the
street grid that will follow a randomly determined path till it leaves
the grid.
• When no ambulances are on the streets adjacent to a traffic light, it
operates normally.
• On a street, cars will pull over to the side if an ambulance is within a
certain radius of the car and if there is a chance the car could be in the
way of the ambulance. This pulling over can be comical to watch at
times.
• If ambulances are approaching a light from both a north-south AND
east-west direction, there is nothing the traffic light can do to promote
easy passing. All lights will thereby be red.
• On the same street, ambulances will space themselves a small distance
from each other.
• The speed of an ambulance varies with a slight random effect, but the
majority of the ambulance's speed depends on the number of cars in
front of it on the street it is on. The more cars the ambulance driver
sees ahead, the slower he/she will pass them.
For this purpose, we will use VB.net and may be we will use other
programs to implement our aims.
c)
First: fixed dates and deadlines with estimation of total time allocated.
6 Implementation continues.
Writing the Draft continues.
d) i)
We prepared for our literature by start searching on the internet, books,
magazines that help us on how to evaluate and improve our literature plan.
We have seen that some further research has to be done on coordinating the
lights. A mechanism for this is not yet designed and should be done as next.
And the most significant thing we learned was " The four stages in a
literature search that are:
ii) Resources
Unfortunately, we weren’t able to find any direct document or article
on the World Wide Web about the traffic light controller
1. Title of the subject from book (Simulation of modern Traffic Lights
Control Systems using the open source Traffic Simulation SUMO) D.
Krajzewicz, G. Hertkorn, C. Rössel, and P. Wagner.
2002. "SUMO (Simulation of Urban MObility); An
open-Source Traffic Simulation" Proceedings of the 4th
Middle East Symposium on Simulation and Modeling
(MESM2002), Edited by: A. ~Al-Akaidi, pp. 183 - 187,
SCS European Publishing House, ISBN 90-77039-09-0
3.
Source Expert Systems with Applications: An
International Journal archive
Volume 34 , Issue 4 (May 2008) table of
contents
Pages 2370-2381
Year of Publication: 2008
ISSN:0957-4174
Author Department of Information
W.
Wen
Management, LungHwa University of
Science and Technology, Taiwan, ROC
Publisher Pergamon Press, Inc. Tarrytown, NY, USA
http://portal.acm.org/citation.cfm?id=1342594
e)
For this project, we don’t need any complicated software or hardware or
technologies. . Thus we will be using the macromedia flash. Yet, we need
a VB.net environment in addition to explanation of the VB.net syntax. So
we will use some VB.net tutorials available on the net and may be java
that was given to us with the M301 booklet.
Question 2
a) So far, we have achieved all what is required for the first month. We
read the t471 booklets, and identified the requirements and deadlines for
this project. Also, we formed our group and decide an Idea; begin
researches on net in our project idea. And we selected the topic then we
agreed upon a time table. Also, we finished reviewing the material of
M301 and began reading about visual basic. Finally we are about to
submit the TMA 01 in few hours.
c) Since deciding an idea took much time because we have many ideas
that we think they were good, but our tutor refused them and gave us more
advanced ideas that is suitable for an IT student. So we decide to choose
Traffic light controller to be our project.
It's very good that our time table is flexible and recognizes some time if
unexpected things happen. So we moved this action to the third month and
we emphasized that this action should be completed in quick time and with
good quality. It is good that this happened in early stage so that we learned
to be more specific when trying to estimate time for tasks and we were
confident that the time table is flexible.
d)