This project is a Digital Logic Design implementation of a two-way traffic signal control system using logic gates and D flip-flops in Multisim. The design simulates a traffic signal controlling two roads at an intersection, ensuring smooth traffic flow through alternating red, yellow, and green signals.
The goal is to design a traffic signal system using combinational logic circuits and flip-flops to regulate traffic flow efficiently at an intersection.
- Multisim Software
- Logic Gates: NOT, XOR, NAND, AND gates
- Flip-Flops: D flip-flops (7474N)
- Traffic Light Indicators
- Switches & Power Sources
The traffic system follows a four-phase sequence:
- Road 1 Green, Road 2 Red β Road 1 is open while Road 2 is stopped.
- Road 1 Yellow, Road 2 Red β Warning before Road 1 stops.
- Road 1 Red, Road 2 Green β Road 1 stops, Road 2 opens.
- Road 1 Red, Road 2 Yellow β Warning before Road 2 stops.
Boolean expressions were used to determine traffic light behavior:
- AΜ = AΜ B + ABΜ = A β B
- BΜ = BΜ t + AΜ BΜ xΜ y + ABΜ xyΜ
- Output Logic:
- Red1 = AΜ BΜ , Yellow1 = AΜ B, Green1 = A
- Red2 = ABΜ , Yellow2 = AB, Green2 = AΜ
- Open Multisim and place components:
- Logic gates (74LS04N, 74LS86N, 74LS00N, 74LS10N, 74LS08N)
- Flip-flops (7474N)
- Traffic light signals
- Connect power sources (VCC, GND, Clock Voltage).
- Configure switches for manual input.
- Implement logic circuit wiring based on Boolean expressions.
- Attach probes to traffic light signals for output verification.
- Run the simulation to test traffic light transitions.
- The system successfully controls traffic flow as expected.
- Inputs trigger correct light transitions based on flip-flop states.
- Traffic lights function in a cyclic manner, ensuring smooth alternation between roads.
The two-way traffic system was successfully implemented using logic gates and flip-flops in Multisim. The system accurately followed the four-phase sequence, validating the Boolean expressions and logical design.
π Project Files Included:
- Multisim Design File (
.ms12
) β Full circuit schematic. - Simulation Screenshots β Captures of the working model.
- Project Report (
.pdf
) β Detailed documentation.
π Feel free to explore and modify the design! π