keepcalculator

06 Numbers and Powers

Traffic Light Controllers: Timing Facts

Card No. 06·4392 · Updated · Standard formula, shown below

Automated traffic lights are controlled by programmable devices called signal controllers, and their timing is set by traffic engineers based on traffic volume, pedestrian activity, and intersection geometry. The controller runs a sequence of phases (green, yellow, all-red, red) that is either fixed-time, actuated by vehicle detectors, or coordinated across a network. This article explains how controllers work, how timing is chosen, and what affects the red, yellow, and green intervals you see every day.

What Is a Traffic Signal Controller?

A traffic signal controller is the “brain” of an intersection. It is a ruggedized computer (modern ones are often Linux-based, older ones use proprietary firmware) mounted in a metal cabinet near the intersection. The controller receives inputs from detectors (inductive loops buried in the pavement, video cameras, radar sensors, or push buttons), runs a timing plan, and switches the signal heads accordingly. The cabinet also contains a conflict monitor unit—a safety device that independently checks that no two conflicting movements get a green at the same time.

Controllers are built to operate 24/7 in extreme temperatures, with battery backup for power outages. They store multiple timing plans (e.g., morning peak, midday, night, weekend) and can switch between them automatically based on time of day or be changed remotely by a traffic management center.

How Signal Timing Is Structured

Every traffic signal follows a repeating sequence called a cycle. The cycle is divided into phases—each phase serves a set of non-conflicting movements (e.g., northbound through and right turn). A typical four-way intersection has two or four phases, but complex intersections can have eight or more.

Each phase has three intervals:

  • Green: the movement is allowed to go.
  • Yellow (clearance): warns drivers that the green is ending; it is calculated so a vehicle can either stop comfortably or clear the intersection before the red appears.
  • All-red: a short period (usually 1–3 seconds) when all approaches show red, allowing vehicles that entered during yellow to clear the box.

The sum of all green, yellow, and all-red intervals for all phases is the cycle length. Common cycle lengths range from 60 seconds in small towns to 120–180 seconds in dense urban grids.

Fixed-Time vs. Actuated vs. Coordinated

There are three main operating modes:

  • Fixed-time: the controller runs the same green times regardless of demand. This is simple and cheap, but inefficient when traffic is light. It is used mainly on isolated intersections with steady, predictable traffic.
  • Actuated (demand-responsive): detectors call phases only when vehicles or pedestrians are present. Green times extend up to a maximum if traffic continues to arrive, and skip if no one is waiting. This reduces delay on side streets and is common at isolated intersections.
  • Coordinated: multiple signals are synchronized along a corridor so that a platoon of vehicles can travel through several greens without stopping (a “green wave”). Coordination requires a common cycle length and offset (the timing relationship between signals). This is used on arterial roads during peak hours.

How Yellow and All-Red Times Are Calculated

The yellow interval is not arbitrary—it is derived from the ITE (Institute of Transportation Engineers) formula:

Yellow time (s) = t + v / (2a)

where:

  • t = perception-reaction time (typically 1.0 s)
  • v = approach speed (ft/s or m/s)
  • a = comfortable deceleration rate (typically 10 ft/s² or 3 m/s²)

For a 30 mph (44 ft/s) approach, yellow = 1.0 + 44 / (2 × 10) = 3.2 seconds. Many agencies use 3.0–3.5 s for 30 mph, and 4.0–5.0 s for 45–55 mph roads.

The all-red interval is calculated as the time for a vehicle that entered during yellow to travel from the stop line to the far side of the conflicting lane, divided by its speed. For a 60 ft intersection and 30 mph, all-red ≈ 60 / 44 ≈ 1.4 seconds, often rounded up to 2 s.

How Green Times Are Determined

Green times are set to balance efficiency and safety. Engineers use traffic counts (vehicles per hour, peak hour factor) and pedestrian crossing times. For actuated signals, the controller uses minimum green (e.g., 5–15 s) and maximum green (e.g., 30–60 s). The minimum ensures that a driver who arrives at the start of green has time to react and cross. The maximum caps delay to other approaches.

For coordinated corridors, the cycle length is often set by the critical intersection—the one with the highest sum of critical lane volumes. The green split (how much of the cycle each phase gets) is proportional to demand. Pedestrian push buttons extend the green or add a dedicated pedestrian phase, and the crossing time is based on walking speed (typically 3.5 ft/s) and crosswalk length.

Common Problems and Misconceptions

One common misconception is that traffic lights are timed to turn red as you approach. In reality, they run on fixed schedules or detectors, and your arrival is random. Another is that yellow is “long enough to stop if you’re close”—actually, the yellow is set so that a driver at the stop line can stop comfortably; if you are too close to stop, you should continue through.

Common problems with controllers include:

  • Detector failure: a loop or camera stops working, causing a phase to never be called—drivers may sit through multiple cycles.
  • Clock drift: if the controller’s clock is off, timing plans switch at the wrong time, causing congestion.
  • Conflict monitor trips: if the monitor detects a fault (e.g., two greens at once), it puts the intersection into flashing red—all directions stop, then proceed as stop signs.
  • Preemption: emergency vehicles and trains can override the normal sequence, which can cause confusion if not properly reset.

Costs and Maintenance

Installing a new traffic signal costs roughly $250,000 to $500,000 per intersection, including the controller, detectors, signal heads, and installation. Annual maintenance runs $5,000–$10,000 per intersection, covering bulb replacement (LEDs last longer but still fail), detector repairs, and software updates. Many agencies now use adaptive signal control, where the controller adjusts timing in real time based on traffic flow—this can reduce delays by 10–30% but requires more sensors and processing power.

Alternatives to Traditional Signals

Not every intersection needs a full signal. Alternatives include:

  • Roundabouts: eliminate signal timing entirely, reduce severe crashes, and keep traffic moving at low speeds.
  • Stop signs: appropriate for low-volume intersections where signals would cause unnecessary delay.
  • Flashing beacons: used at pedestrian crossings or to warn of a signal ahead.
  • Adaptive signals: a step beyond coordinated, using AI or optimization algorithms to adjust timings second-by-second.

Frequently Asked Questions

How long is a typical yellow light?

For a 30 mph road, yellow is usually 3–4 seconds; for 45 mph, 4–5 seconds; for 60 mph, 5–6 seconds. The exact time is calculated from the speed limit and intersection width, so it varies by location.

Why do some lights stay red for a long time when no one is there?

This often happens because the detector for that approach is broken, or the signal is running a fixed-time plan that gives a minimum green to every phase regardless of demand. If it happens repeatedly, report it to the local traffic department.

Can traffic lights be hacked?

Modern controllers are networked, and there have been documented cases of researchers accessing them, but agencies use firewalls and encryption. Most real-world failures are due to software bugs or hardware faults, not malicious attacks.

How do emergency vehicles change the light?

They use preemption: a siren detector, strobe emitter, or radio signal tells the controller to give a green to the emergency vehicle’s approach and red to all others. The controller returns to normal after the vehicle passes.

What does a flashing yellow arrow mean?

It means left turns are allowed but you must yield to oncoming traffic and pedestrians. It is an alternative to a protected left-turn arrow and improves traffic flow.

How often are signal timing plans updated?

Typically every 3–5 years, or when traffic patterns change significantly (new development, road construction, population growth). Some agencies update more frequently if they have adaptive systems.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →