Skip to content
Tactiverge

Build Night 6: Engineering a Traffic Network

Facilitator kit · 60 minutes · week 12 of 36 · free to reuse with attribution

Status: proposed. No date is confirmed and this night has not taken place. Run it live only as a session scheduled and listed on /live/, with a host and an adult supervisor confirmed.

Based on BUILD 005

This night reuses BUILD 005: Build a Traffic Management System. Read its facilitator guide first: prep, misconceptions, level tasks with answer keys. This kit adds only what is new for the Build Night.

Timing

  1. 0–3 min(3)Welcome and room rules. Introduce the host and the adult supervisor by role. Cameras, microphones and chat stay off; questions go in the moderated box. Point to the worksheet.
  2. 3–10 min(7)Hook and opening demo. New demo: the unequal queue and the emergency request.
  3. 10–20 min(10)The real system. States, events, interlocks, memory for the button. Cycle time, green share, average wait.
  4. 20–35 min(15)Guided experiment. BUILD 005 Levels 2–3, the interlock gate, then the paper offset calculation.
  5. 35–48 min(13)Design challenge. Green wave towards town, then the evening twist.
  6. 48–55 min(7)Share and moderated questions. Put each team’s result on screen without names. Ask what they traded away. Answer moderated questions.
  7. 55–60 min(5)Reflect and follow-up. Everyone writes one sentence: what would you design differently now? Introduce the follow-up activity and the next Build Night’s question.

Script

Hook

How does a junction decide whose turn it is, and how do you make a whole road of junctions turn green just as you arrive?

Opening demonstration

BUILD 005 has a run of show in /build/traffic-system/guide/ but no scripted live demo, so this night adds one. Share /build/traffic-system/ and run rush hour with the default plan. Say: “One road has twice the traffic, but these lights treat both roads the same. Watch the queue on the busy road.” Then show an emergency request being served. “Notice the amber and the all-red still happen. Safety rules come first, even for an ambulance.”

The technical question

What are the states, events and outputs of a traffic-light controller? How do the cycle time C and the red time r set the average wait (≈ r²/(2C)), and how do you time two junctions so traffic meets a green wave?

The real-world system

Junction controllers are state machines, and many have an independent conflict monitor that switches the junction to a safe flashing or all-red mode if it ever detects conflicting greens. Along busy roads, neighbouring junctions are coordinated with offsets so platoons of cars meet successive greens; adaptive systems adjust timings from detectors in the road.

Guided experiment

Start at /build/traffic-system/?level=2 · labs: Digital logic lab

  1. BUILD 005 Level 2: build the controller as a cycle of timed states and pass the safety audit.
  2. BUILD 005 Level 3: tune greens and clearances for rush hour on the busy road.
  3. In the logic lab (/playground/logic/), write the interlock as a gate: conflict = NS_green AND EW_green. Check it is 1 only in the one forbidden row.
  4. New, on paper: two junctions 300 m apart, cars at 12 m/s. Calculate the offset that makes a car leaving the first green arrive on the second green.

Design challenge

Two junctions, one main road: using your BUILD 005 cycle, choose the second junction’s offset for a green wave towards town. Then the twist: in the evening, traffic flows the other way. Can one offset serve both directions? Explain who waits longer as a result.

Say this about the model

The green-wave calculation assumes every car travels at one steady speed and that no queue is left from the previous cycle. Real coordination is tuned with measured traffic.

Five levels, one night

LevelAdaptation
1 · ExplorerBUILD 005 Level 1: judge six moments as safe or a conflict, and say what the lights show next.
2 · BuilderBUILD 005 Level 2: build the state machine and pass the safety audit.
3 · InnovatorBUILD 005 Level 3: balance the junction for rush hour, then do the green-wave challenge.
4 · Systems EngineerBUILD 005 Level 4: cycle time, green share, average wait r²/(2C) and capacity; then the two-way offset question.
5 · Research EngineerBUILD 005 Level 5: investigate a policy (for example, crossing on demand against every cycle) across at least four runs.

Slide outline

  1. Slide 1: Engineering a Traffic Network

    • Build Night title, week number, “Proposed programme” footer
    • Hook on screen: whose turn is it?
    • Room rules: cameras, microphones and chat off; questions in the box
  2. Slide 2: A junction is a state machine

    • States, events, outputs
    • Amber and all-red between every green
  3. Slide 3: The rule that never breaks

    • conflict = NS_green AND EW_green
    • Checked in every state
  4. Slide 4: How long do we wait?

    • Average wait ≈ r² / (2C)
    • 90 s cycle, 60 s red: 20 s
  5. Slide 5: A green wave

    • Offset = distance ÷ speed
    • 300 m at 12 m/s: 25 s
  6. Slide 6: Your turn next

    • Time the second junction so you ride the green wave.
    • One-sentence reflection on the worksheet
    • Where to find the follow-up and the next night

Verified videos

  • Computers Without Memory - Computerphile (Computerphile) · https://www.youtube.com/watch?v=vhiiia1_hC4

Embed only through youtube-nocookie.com, never autoplay, captions on.

Supervision checklist

  • ☐ Two adults minimum: the host (who teaches) and a named adult supervisor who stays for the whole session. The session does not start without the supervisor.
  • ☐ Learner cameras and microphones off; chat off. Questions come only through the moderated question box and are read aloud without names.
  • ☐ Links are posted on the session page, never in chat. Nobody is asked for personal details, photos, their school or their location.
  • ☐ No real hardware: every activity is a browser simulation or a paper design. Nobody opens, powers or modifies a real device during or after the session.
  • ☐ If anything worrying is said or seen, the supervisor follows the safeguarding procedure at /safeguarding/ straight away; the host pauses the activity if needed.
  • ☐ Session listed on /live/ with its host and supervisor confirmed before any learner is invited.
  • ☐ Remind learners not to observe or time real junctions from the roadside without an adult; never step into the road to watch.

Roles

  • Host: runs the demo, the slides and the experiment; calls time.
  • Adult supervisor (or co-host, with the supervisor present): moderates the question box and reads questions without names, watches the room and the safeguarding channel, posts links on the session page.

Accessibility accommodations

  • Slides use large, high-contrast text and never rely on colour alone. The host describes every chart and animation aloud.
  • Live captions switched on and tested before the session; the host reads each on-screen instruction aloud.
  • Every lab and Build works by keyboard, gives text readouts of its results and respects reduced-motion settings.
  • Worksheet available to print, in large print and as plain text; answers can be typed, drawn, or spoken to a helper.
  • A second screen is optional: following the host’s shared screen plus the worksheet is enough to take part.
  • Nobody has to finish in the hour: the follow-up activity is the same task, so extra time is built in.
  • Light states are announced in text (“north–south green”), not only by colour; read them aloud during the demo.

Rubric

CriterionDevelopingSecureExcellent
Science and mathsNames the light colours in order.Builds a safe state machine and calculates the average wait.Calculates the offset and explains the two-direction conflict.
EvidenceRuns the junction once.Passes the safety audit and records rush-hour waits.Compares two timing plans with the same traffic.
Design decisionChanges timings by trial.Chooses timings that favour the busy road and says why.Weighs main-road flow against the cross street and pedestrians fairly.
CommunicationShares a result when prompted.Explains the result and one reason for it in their own words.Explains the result, the evidence and the trade-off clearly enough for a classmate to repeat it.

Feedback for learners, not a public score. No leaderboards.

Answer key (facilitator only)

  • Average wait = 60² / (2 × 90) = 20 s.
  • Offset = 300 / 12 = 25 s.
  • Two-way: a single offset generally works perfectly in only one direction unless the travel time fits the cycle (for example, half a cycle); the other direction waits.

Follow-up activity

BUILD 005 Level 4 maths or a Level 5 policy investigation.

Worksheet: Engineering a Traffic Network

Name or nickname: ______________________ Level: ____________

  1. List the states of a simple two-road junction in order.
  2. Why must there be an all-red moment before every green?
  3. A cycle of 90 s with 60 s of red: what is the average wait?
  4. Two junctions 300 m apart, cars at 12 m/s: what offset makes a green wave?
  5. Can one offset make a green wave in both directions? Who loses?