Seminar Topics & Project Ideas On Computer Science Electronics Electrical Mechanical Engineering Civil MBA Medicine Nursing Science Physics Mathematics Chemistry ppt pdf doc presentation downloads and Abstract

Full Version: 4 Way Traffic Signal Report
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
4 Way Traffic Signal

[attachment=42870]

Abstract

The project aims to design a Traffic Light Controller using VHDL and implement the Traffic Light Controller in FPGA. The traffic in road crossings/junctions are controlled by switching ON/OFF Red, Green & Amber lights in a particular sequence. The Traffic Light Controller is designed to generate a sequence of digital data called switching sequences that can be used to control the traffic lights of a junction in a fixed sequence using VHDL.

Introduction

Traditionally traffic lights are controlled by microcontroller 89C51. The primitive mechanical traffic lights have no way of having a versatile delay. But using CPLD as a 16-bit μP and use it in the domestic application to improve the primitive mechanical traffic lights.This project attempts control the traffic lights using VHDL.
It is often useful to be able to sequence through an arbitrary number of states,staying in each state an arbitrary amount of time. For example, consider the set of traffic lights shown in Figure 8.13. The lights are assumed to be at a four-way intersection with one street going north-south and the other road going east-west.
Being an electronic system it is reliable, compact and maintenance free. VHDL makes the system versatile as the on off times can be easily varied by changing the delay loops through software. Even the sequence of lights i.e. whether the yellow light has to glow or not can be programmed easily by modifying the software. This project is practically implemented and tested. Because Programmable Integrated Circuits provides repeatability and flexibility, we can program it more than 10,000 times. And this is not possible is fixed logic IC’s. The best part of using CPLD is we can easily reprogram it. We do not have need to remove the CPLD from the hardware we can program it by placing it into the same board.

CPLD XC9572

In the world of digital electronic systems, there are three basic kinds of devices: memory microprocessors, and logic devices. Memory devices store random information such as the contents of a spreadsheet or database. Microprocessors execute software instructions to perform a wide variety of tasks such as running a word processing program or video game. Logic devices provide specific functions, including device-todevice interfacing, data communication, signal processing, data display, timing and control operations, and almost every other function a system must perform.

Delays in Traffic

The delay is defined by the amount of additional time a vehicle takes to complete its journey through the network because of traffic lights. Another interesting metric is the throughput which gives the number of vehicles that cross the intersection in a specified amount of time. One of the solutions to this problem would be to design controllers that use adaptive policies. Such adaptive systems could react to current perceptions of traffic conditions and select the best actions in order to optimize the traffic flow at the intersection. Moreover, these adaptive systems could even be equipped with communication networks that could enable adaptive coordination between different intersections in order to improve the traffic flow globally. Such coordination could help minimize the overall delay caused by traffic signals.

Working

Traffic lights operate with the rising edge of the clock. This is generated by using the 555 timer (Astable Multivibrator).The Programming is done in VHDL language. Its working is similar to Normal traffic lights. But single CPLD chip can be used to control the traffic of number of road signals. Because it has large number of input and output pins . in its working +5V is given to the CPLD and as it receive the rising edge of clock, and it starts its sequence of traffic lights We can increase or decrease the delay between the transition of signals according to the requirement.
This circuit is designed by 555 Timer IC timer and a decade counter. The timer generates pulses and these pulses are fed to the counter of tens of ten stages.
The ten DECADE COUNTER scenarios have a TEN memory. You can count up to ten pulses. So for every peak in the clock, the counter admits it as an event and remembers it. The number of events that the memorized counter outputted by the corresponding pin.

Circuit components

• Power supply voltage + 9v to + 12v
• 555 IC Timer
• Resistances of 1KΩ, 10KΩ, 220Ω (3 pieces),
• Capacitors of 10μF and 100μF
• RED LED (4 pieces), BLUE LED (4 pieces) and YELLOW LED (4 pieces)
• CD4017 Decade Counter IC
• IN4007 Diodes (8 pieces)

Circuit diagram and explanation

[Image: Traffic-Light-Circuit.gif]

The diagram above shows the four-way circuit diagram with 555 Timer IC. The timer here generates pulses of a time period of about 100 ms. So the power on time is 50 ms and the power off time is 50 ms. This duration can be changed by changing the value of the capacitor. Although the street lights have a change time of 2 minutes, here we are reducing the time to test the circuit.

The change of time for a four-way traffic light can be achieved in this circuit by replacing the 10 uF capacitor with a 470 uF capacitor. Once the power is tuned, the timer acts as a square wave generator and generates clock, this clock is fed to DECAY BINARY COUNTER. Now, the binary counter of the decade counts the number of pulses given in the clock and allows the corresponding pin output to go high, for example, if the event count is 3 then the pin Q2 of the counter will be high and if 5 is counter the Q4 pin will be high. So for every 100ms there will be a peak, with this peak of the counter's memory gain by one and so is the output.

The diodes here prevent short-circuiting of the counter outputs, say if the count is two with this Q1 will be high (since Q1 is high all other outputs will be low including Q0, Q2) in the absence of diodes, Q1 with the positive voltage gets barely lowered to LOW at Q0 (as Q0 voltage becomes + 0V when Q1 is high) since they are connected to each other. With this short circuit takes place.

So during Q0, Q1, Q2, Q3, the green LED in NORTH and SOUTH will be lit together with RED LED in EAST and WEST. So if we assume the clock is 1Hz, the NORTH and SUD side are marked GREEN to go for four seconds and also the WEST and WEST side are signaled RED to STOP during this time.
When Q4 goes high, the YELLOW LED in NORTH and SOUTH will be on together with the RED LED in EAST and WEST. Therefore, if we assume that the clock is 1Hz, the NORTH and SUD side are signaled YELLOW to reduce the speed for 1 second and also the WEST and WEST side are marked RED to STOP during this time.

When Q5, Q6, Q7, Q7 high, the GREEN LED in STATE and WEST will be ON together with RED LED in NORTH and SOUTH. So if we assume the clock is 1Hz, the WEST and WEST side are marked GREEN to go for four seconds and also the NORTH and SOUTH side are signaled RED to STOP during this time.
When Q4 goes high, the YELLOW LED in STATE and WEST will be ON together with the RED LED in NORTH and SOUTH. So if we assume the clock is 1Hz, the WEST and WEST side are signaled YELLOW to slow down for 1sec and also the NORTH and SUD side are signaled RED to STOP during this time.