Traffic Light System
Would you like to engineer the traffic light system
for a one-way street that consists of several lanes along which rush-hour
traffic flows?
How would you time the onset of green lights at the various intersection?
How to promote the traffic flow? This java applet let you play with
it.
How to play it:
- The traffic lights at interactions are for cars moving from left to right.
The traffic on the perpendicular streets can only move when light is RED.
- You can change the period of each light
- clicking the traffic light at the top-left cornor
- the number near each color is the period for that particular light
(second)
- left/right mouse click will decrease/increase one second
( for MAC
user, click between light and number to the right to increase the length of
time)
- parameter controls
- each click to the arrow at left/right of the number will decrease/increase
the parameter by 1 unit.
- delay time control near the traffic light controls the
delay of the onset of green light at the interaction relative to that at
prevous intersection.
- max Velocity control represents the speed limitˇ]Vmin=5, Vmax=
50ˇ^
- acceleration control represents the acceleration for the
car when it speeds up.ˇ]Amin=1 , Amax=20ˇ^
- TextField values
- TˇGtime in second after pressing the start button
- N1/N2/flow rateˇG total number of cars passes intersection
(N1:left-right/N2:up-down)
- flow rate=(N1+N2/3.)/T
- n1/n2/flow rateˇG number of cars passes intersection during last minute.
- flow rate=(n1+n2/3.)/60
- Color code for car
- yellow: accelerating (A>0.)
- green: moving with constant speed (include stopped) A=0.
- red: stopping (A<0.)
- Velocity of each car is represented by a blue dot.
- A new function has been added to help you determine the delay time between
traffic lights.
- Click the right mouse button to suspend (the animation).
- The time intervals (for the first car ) during which the signals are
green/yellow/red
- are represented by thin (colored)lines at one side of the road.( sample
)
- A blue curve represent x-t (displacement
verse time) for the first car is shown.
- Use that curve with those color intervals to adjust the delay time between
traffic lights.
- Click the right mouse button again to resume.
Observation:
- Suppose a platoon is stopped at interaction. When the green light comes
on, there is a "start-up wave" travels from the leader along the length of the
platoon at a speed vs.
- How to adjust parameters to increase the traffic flow?
- adjust timing of each light
- adjust delay time control
- adjust Vmax
- adjust A(acceleration)
Think of it! Play with it! I hope
you do learn some physics from this applet.
Suggestions are highly welcomed! Please click hwang@phy03.phy.ntnu.edu.tw
related
java applet
other java applets(my home
page)
URLs refer to this page
- http://heart.engr.csulb.edu/~rtoossi/physics/
- http://www.uni-stuttgart.de/fachschaften/fs-physik/links.html
- http://www.uni-stuttgart.de:81/UNIuser/fsphy/new/links.html#physik
Last modified :