All projects
Industrial Automation · 2024

PLC Traffic Signal Controller (OpenPLC)

Four-way intersection controller in IEC 61131-3 FBD on OpenPLC/Arduino — 33 s cycle plus a priority emergency-flash mode.

Case study PDF
PLC Traffic Signal Controller (OpenPLC)
01 · The problem

A four-way intersection must release one approach at a time, safely, and warn every driver during emergencies.

02 · What I built

Designed a 33-second timing plan and an emergency mode (all yellows flashing 1.5 s ON / 1.5 s OFF), programmed it as a Function Block Diagram with TON/TOF timers and interlocks, validated it in the OpenPLC simulator, then ran it on an Arduino Uno driving a scale intersection model.

03 · Impact

Simulation traces and hardware tests matched the timing plan exactly; the emergency mode always overrides the normal cycle.

IEEE format · 3 pages
PLC-Based Automation of a Four-Way Traffic Signal with an Emergency Flashing Mode Using OpenPLC and Function Block Diagram
Saad Bin Zikria · Salman Sajid
Dept. of Mechatronics & Control Engineering, UET Lahore

Abstract—This paper presents the design, simulation and hardware implementation of an automated signal controller for a four-way road intersection. The controller operates in two modes: a standard fixed-time sequence that releases one approach at a time over a 33-second cycle, and an emergency mode in which all yellow lamps flash with a 1.5 s ON / 1.5 s OFF period. The logic is written as an IEC 61131-3 Function Block…

I. Introduction
II. System Design
III. Implementation
IV. Results
V. Discussion and Future Work
VI. Conclusion
Project report · IEEE format

PLC-Based Automation of a Four-Way Traffic Signal with an Emergency Flashing Mode Using OpenPLC and Function Block Diagram

Saad Bin Zikria, Salman Sajid — Dept. of Mechatronics & Control Engineering, UET Lahore

This paper presents the design, simulation and hardware implementation of an automated signal controller for a four-way road intersection. The controller operates in two modes: a standard fixed-time sequence that releases one approach at a time over a 33-second cycle, and an emergency mode in which all yellow lamps flash with a 1.5 s ON / 1.5 s OFF period. The logic is written as an IEC 61131-3 Function Block Diagram (FBD) using on-delay and off-delay timers, latching inputs and Boolean interlocks, and is executed…

Keywords: PLC, function block diagram, IEC 61131-3, OpenPLC, traffic signal control, timers, interlocking, industrial automation