Tactiverge Nexus · Project
Smart Transportation Junction
Keep a busy crossroads moving, fairly, without ever two greens at once.
A busy north–south road crosses a quieter east–west one. Cars arrive at random, queue detectors sit in the road, and a signal controller decides who goes. Make it safe first, then fast, then fair, and prove it with repeated trials.
What you will learn to do
- 1Explain why safety rules (never two greens, always a clearance gap) must be guaranteed by the design, not hoped for.
- 2Model the lights as a finite state machine and trace every transition.
- 3Use queue detectors to make the controller respond to demand (actuation) and reason about where to place them.
- 4Trade mean wait against the longest wait (fairness) and throughput, and justify the choice.
- 5Compare a fixed plan with an actuated one over seeded random traffic and state the limits of the model.
Five ways in
- Level 1 · Explorer · Cause and effectChange the green times so the mean wait is at most 20 s, with zero safety violations.
- Level 2 · Builder · Rules and debuggingDebug the rules until there are zero safety violations and the mean wait is at most 30 s.
- Level 3 · Innovator · Integration to a specificationMeet the specification: zero safety violations, mean wait at most 15 s, nobody waits more than 60 s, and at least 1,650 cars an hour through (the demand).
- Level 4 · Systems Engineer · Dynamics and trade-offsGet through the rush hour with zero safety violations, a mean wait of at most 25 s, nobody waiting more than 75 s, and a fairness gap of at most 15 s between the two roads.
- Level 5 · Research Engineer · Evidence under uncertaintyDecide, with seeded repeated trials, whether actuated control beats a 30 s / 30 s fixed plan on mean and longest wait, at zero safety violations.
Workspace
Pick a mode, read the brief, then run, measure and improve. Automatic feedback appears after each run. Nothing leaves your device unless you save to your Journal or export.
Where this connects in the School
- Gates at work: safety interlocks and sorting rulesLevel 1, week 16 · Gates as safety interlocks.
- Machines that remember: states and sequencesLevel 1, week 17 · States and sequences: why lights need memory.
- and, or, not: safety interlocks in codeLevel 2, week 5 · and, or, not as interlocks.
- Timed sequences: the traffic lightLevel 2, week 23 · The traffic light as a timed sequence.
- A state machine in twelve linesLevel 2, week 23 · A state machine in a few lines.
- Stacks and queues: who goes next?Level 3, week 4 · Queues: who goes next.
- Test every arrowLevel 3, week 29 · Test every arrow of the controller.
- Specifying a state machineLevel 4, week 24 · Specifying a state machine, including its safety rules.
- Binomial, Poisson and normalLevel 5, week 10 · Random arrivals and the Poisson distribution.
- How many runs is enough?Level 3, week 32 · How many seeded runs are enough.
- A fair fight between controllersLevel 4, week 18 · A fair fight between controllers.
Limits of the model
A simplified educational model. Knowing what it leaves out is part of the project.
- Straight-ahead traffic only: no turning movements, lanes, cyclists or pedestrians.
- Every car is identical and leaves exactly 2 s after the one in front; real drivers vary.
- Arrivals are independent in each second; real traffic comes in platoons from upstream signals.
- One isolated junction: no coordination with neighbours and no queues blocking back.
- Illustrative figures, not calibrated to a real junction or to any design standard.
Supported components
Crossroads · Queue detector · Signal controller · Logic gate · NOT · Unit delay · Schedule · Step · Event log · Meter · Plot channel
Go deeper
Content status: technically checked (automated tests run every mode's starting system and check that a good design can meet every target). Not yet reviewed by an educator. Never connected to physical hardware.