Design & Construction of a Closed Loop Traffic Light Control System

DOI : 10.17577/IJERTV2IS120434

Download Full-Text PDF Cite this Publication

Text Only Version

Design & Construction of a Closed Loop Traffic Light Control System

1Engr. Salami. S. O, 2Engr Akinyele. A. O, 3Engr. Sarumi A. J, 4Engr Keshinro. K. K. Department of Computer Engineering,

Lagos State Polytechnic, Ikorodu, Lagos, Nigeria.

Growing number of road users and the limited resources provided by current infrastructures lead to ever increasing traveling times. Traffic in a city is very much affected by traffic light controllers. When waiting for a traffic light, the driver loses time, manpower, increases air pollution and the car waste fuel. To make traffic light controllers more intelligent, this paper exploit the emergence of novel technologies, such as communication networks and sensor networks, as well as the use of more sophisticated algorithms for setting traffic lights. The Intelligent Traffic Control System is formed as a network of embedded systems. Intelligent traffic light control does not only mean that traffic lights are set in order to minimize wait- times, but also takes care of the perpetual need for safety critical traffic automation. The main goal however, is to make efficient planning and management of traffic control systems. This piece of work will proffer solution to the problem caused by the existing system in the state. Some of these problems will be highlighted in this report and analysis of the intelligent traffic signal light control system will be made. This work will lead to a novel system in which traffic light controllers and the behavior of car drivers are optimized using machine-learning methods.

Key words: Traffic Light, Microcontroller, Flow-Chart,

    1. A traffic light is a collection of two or more colored lights found at some junctions and pedestrian crossings which indicates whether it is safe and/or legal to continue across the path of other road users. In Nigeria, traffic lights are widely used both on major roads and in built-up areas. Their numbers have increased exponentially since they were first invented in 1868.The operation of standard traffic lights which are currently deployed in many junctions, are based on predetermined timing schemes, which are fixed during the installation and remain until further resetting. The timing is no more than a default setup to control what may be considered as normal traffic. Although every road junction by necessity requires different traffic light timing setup, many existing systems operate with an over- simplified sequence. This has instigated variousideas and scenarios to solve the traffic problem. To design an intelligent and efficient traffic control system, a number of parameters that represent the status of the road conditions must be identified and taken into consideration.

      Traffic signals are the most convenient method of controlling traffic in a busy junction. But, we can see that these signals fail to control the traffic effectively when a particular lane has got more traffic than the other lanes. This situation makes that particular lane more crowd than the other lanes. If the traffic signals can allot different time slots to different lanes according to the traffic present in each lane, then, this problem can be solvedeasily.

      A closed loop traffic light control system is an intelligent traffic light control that gives priority to lanes that has got more traffic without waiting other lanes endlessly.

      One aspect of this work aims at developing a traffic control algorithm for future technology in the country. The design of the traffic control system can be evaluated in two steps synthesis and analysis. Several models and multiple control strategies exist, and engineers must decide between them using a prior knowledge of the real system. Previously collected information can help to choose the appropriate model, parameters, measurement and control methodologies to create the optimal solution.

      This project work will introduce the concept of sensor networks that supports the development of reliable and optimal control structures for urban traffic and for motorway systems.

      Fig 1.0 shows the block diagram of a close loop traffic light control system

    2. BLOCK DIAGRAM OF A CLOSED LOOP TRAFFIC LIGHT CONTROL

      Fig. 1.0 Block Diagram of a Closed loop Traffic Light Control

      The block diagram as shown in fig 1.0 is powered by a 5v regulated power supply. The traffic feedback unit is responsible for monitoring the vehicles at each lanes and supplying the result to the microcontoller. These result is used as a basis of priority for passing lanes with the help of a driver

      software embedded in the microcontroller. The time display section displays the waiting time of vehicles while the traffic light indicate a stop, ready and go signals.

    3. PROBLEM DEFINITION

      The aim of this project is to design a program for MicroController that could minimize the wait- time of the cars at intersections, when the trafficvolume is significantly high. Besides, it can prevent the emergency car stucked in thetraffic jam at the intersections as well.

    4. OBJECTIVES OF PROJECT

      1. To understand the structure and operation of a microcontroller

      2. To study the assembly language design and their programming technique

      3. To understand how to make the interfacing to the microcontroller

      4. To design a program that works together with a model of three- junction traffic light and sensors.

      5. To build the model of three-junctions of intelligent traffic light that can overcome some of major problem of current traffic light.

    5. PROJECT SCOPE

  1. Construct a model of three way junction of a traffic light model.

  2. Program a microcontroller to control the traffic light.

  3. Combine the software and the hardware part to simulate a traffic light system.

2.0 THE OGOLONTO JUNCTION TRAFFIC SIGNAL LIGHT SYSTEM, IKORODU, LAGOS, NIGERIA

The Ogolonto junction is a popular juction along the Ikorodu express road of Lagos State. This junction is important because it links two important local government in Lagos State (Ikorodu and Kosofe) and it is the only connecting junction between the Agric, Ebute and Mile 12 township, all of which harbours a substantial fraction of the Lagos population.

The population of residents in Ikorodu was estimated to be about 850,000 around May 1999. However with rapid increase in population across the country, it is expected to have increased by 3.8% by May 2009.

Therefore a substantial amount of car owners, commercial vehicles and company staff buses ply this route every day.

ROAD INTERSECTION OF THE OGOLONTO JUNCTION

Fig 2.13 Road Intersection of the Ogolonto Junction

DATA ANALYSIS OF TRAFFIC SIGNAL LIGHT INSTALLED AT THE OGOLONTO JUNCTION

Table 2; Data Analysis of Traffic Movement at The Ogolonto Junction

Date of observation: 04/08/2011

Date of Observation: 27/07/2011

Date of Observation: 25/07/2011

BRIEF DISCUSSION ON DATA ABOVE

It can be observed from data above that early in the morning more vehicles move out of ikorodu, Ebute and Agric inclusive. However the traffic light has been placed on a fixed time control thus it is observed that vehicles at road intersection that should be given priority still suffer delay. Also in the evening, more vehicles enter ikorodu (Agric and Ebute) from mile12. However the same problem still arises and road intersections with empty vehicles are often passed, reflecting the inadequacy of the traffic system without any prior feedback technique.

3.0 DESIGN ANALYSIS

The project is simplified using the block diagram shown below to show various sections involved. Though the use of a microcontroller had simplified the whole circuit, nevertheless, the complicatory aspect had been taken over by the embedded software.

Fig.

    1. Block Diagram of Traffic Light with Feedback

      The circuit is powered with +5v from a regulated D.C power supply stage. The analyses of all the stages are done in the units below.

    2. POWER SUPPLY STAGE

      All stages in the project uses +5v. The power supply stage is a linear power supply type and involves in step down transformer, filter capacitor, and voltage regulators, to give the various voltage levels. The power supply circuit diagram is shown in fig 3.0 below.

      Fig 3.1 Power Supply Stage.

      1. TRANSFORMATION

        This section comprises of a step down transformer. The transformer steps 220- 240V ac voltage down to 12V which is to be converted into D.C. the circuit of the transformer is shown in fig. 3.2

        fig.3.2 Step-down Transformer

        The rms voltage is 12v and the peak inverse voltageis given by

        2Vrms = 2 x 12 = 16.9V

      2. RECTIFICATION

        Thissection employs a fullwave bridge rectification. The diode allows the flow of current in one direction, hence finding its application in the conversion of A.C to D.C.Fig 3.3 is the circuit of abridge rectifier and the respective waveforms

        Fig 3.3 Bridge Rectifier Circuit

        The choice of diode is determined by the peak inverse voltage and the maximum load current. The selected diodes has PIV of 50V and forward current 2A which makes it to be able to stand peak voltage of 16.97V and the 1A assumed load current.

        The resultant output waveform is a pulsatin

        D.C. voltage with much ripple of frequency 100Hz. This ripples is removed using the filter circuit.

      3. FILTER CIRCUIT

        Introducing a capacitor at the output of the rectifier removes the ripple voltage.

        The choice of the filter capacitor is dependent on the output current. Given that

        Vr (rms) = 2.4 Il/CFI … (1) Where

        Vr(rms) = Rectified D.C ripple voltage Il= Load current (mA)

        CFI =Filter capacitor (F)

        For a load current of a (500mA), and a ripple factor of 5 %

        Vrms= Vpeakx2

        = 15v x 2

        = 21.2V

        For a ripple factor of 5% Vr(rms) = 5/100 x 21.2

        = 1.06V

        From (1)

        21.2V = 2.4 x 500mA/CFI CFI =1,132F

        = 1000F preferred value.

        Hence, C1= 1000uF, C2 = 47uF.

      4. REGULATION

        A 7806 regulator was used to get +6V. When the voltage passes through the transistor buffer TR1, a VBE of 0.7V is dropped across the transistor, which reduces the output to 5.3V that is approximately 5V. The buffer transistor allows sourcing of

        current and prevents the regulator from overheating.

    3. TRAFFIC MOVEMENT FEEDBACK

      This section comprise of set of infrared transceiver circuit which is meant to sense the presence of vehicle at the lanes and feed the information back to the microcontroller in form of switching action. Fig 3.4 is the circuit diagram of an infrared motion detector that can be used to sense the presence of vehicles. Infra-red rays reflected from a static object will be in one phase, and the rays reflected from a moving object will be in another phase. The circuit uses this principle to sense the motion.

      The IC1 (NE 555) is wired as an astablemultivibrator. The IR diode connected at the output of this IC produces infrared beams of frequency 40Khz. These beams are picked by the infrared sensor, photo transistor Q1. At normal condition, that is, when there is no detection the output pin (7) of IC2 will be low. When there is detection, the phase of the reflected waveforms has a difference in phase and this phase difference will be picked by the IC2. Now the pin 7 of the IC 2 goes high to indicate the detection. A LED or a buzzer can be connected at the output of the IC to indicate the detection of vehicles.

      Circuit Diagram of a Transceiver.

      Fig3.4 Circuit Diagram of Infrared Transciever Circuit

      Notes.

      • Comparators IC2a and IC2b are belonging to the same IC2 (LM1458). So the power supply is shown connected only once. No problem.

      • When there is disturbance in the air or vehicles passing nearby, the IR motion sensor circuit may get false triggered.

      • POT R5 can be used for sensitivity adjustment

    4. MICROCONTROLLER UNIT

      This section is the brain of the whole system. It handles all the intelligent activities of the system. It takes the informations from the feedback section, determines the time for each lane, controls the lane and as well drives the time display, the circuit below shows the microcontroller connected to the seven segment display and the traffic light for the three lanes.

      The microcontroller employed in this section is the 16F877 type with four input- output ports.

      The whole function of this section is made possible with the help of the embedded software (program).

      8

      1 3

      Fig. 3.5 Circuit Diagram of the Microcontroller

    5. TIME DISPLAY

      This is basically a seven-segment display unit connected to the microcontroller for the purpose of time display. The common cathode type is used in this respect. The display is driven by the controller. Each lane has two of the seven segment displays for displaying two digits. fig 3.5 shows two seven segment display of common cathode type.

      CA

      U1

      A B C D E F G H A B C D E F G H

      fig 3.6 Diagram of the Time Display (courtesy multism 2008)

      The display used is the multiplexed type. This helped in the reduction of the number of ports on the microcontroller.

    6. TRAFFIC LIGHT

      The traffic light is another form of display but this time around, it displays colours red, yellow of green to indicate stop, ready and go respectively.

      Though this project is a prototype, the colours are strictly adhered to. These lights are controlled and driven by the microcontroller.

      fig 3.7 Traffic Light Display.

    7. DRIVER

      The software is written in assembly language, assembled into hexcode and the hexcode finally embedded into the microcontroller.

      The driver software is the engine room of the microcontroller. It determines what the microcontroller must do. This ranges from sensing and analysing the feedbacks, controlling the traffic light, setting the time for lane passage, terminating and allowing token when necessary, the conversion of time into seven segment displayable format and the driving of the seven segment display.

      The assembly code of the driver software is in the appendix.

    8. RESULT OF SIMULATION

      The results taken from the simulation is tabulated as found in table 3.

      Table 3; Simulation Result

      Fig 3.8 project simulation with proteus 7.1 software version

    9. RESULT DISCUSSION

From the table, it could be deduced that for each token given to a lane, the last countdown time before the token is terminated indicates the extra time gain to allow other lane a token since this time would have been wasted for non-

availability of vehicles in the lane with the token.

The feedback system senses non-availability of vehicles and terminates the token for other lanes.

A lane would be allowed all the token only if there is much vehicles to consume all the time.

4.0 CONCLUSION

The project which is the design and construction of a closed loop traffic light control system was designed considering some factors such as economy, availability of components and research materials, efficiency, compatibility and portability and also durability. The performance of the project after test met design specifications. The general operation of the project and performance is dependent on the user who is prone to human rror such as pouring of liquid, plug into a higher voltage source etc

Also the operation is dependent on how well the soldering is done, and the positioning if the components in on the Vero-board (if logic elements are soldered near components that radiate heat, overheating might occur and affect the performance of the entire system).

The construction was done in such a way that it makes maintenance and repairs an easy task and affordable for the user, should there be any system breakdown.

The project has really exposed us to digital electronics and practical electronics generally which is one of the major challenges I shall meet in my field, now and in future. The design of the closed loop traffic light control system, involves research in both digital and analog electronics. Intensive work was done on PIC microcontrollers and other electronic circuits.

The project was quite challenging and tedious but was a success.

However, like every aspect of engineering there is still room for improvement and further research on the project as suggested in the recommendations.

REFERENCES

[1.] Klein, L.A. "Sensor Technologies and Data Requirements for ITS." Artech House, Boston, MA, 2001. [2.]Tarnoff, P.J., A.M. Voorhees, and P.S. Parsonson. "Guidelines for Selecting Traffic Signal Control at Individual Intersections." Vol. II, National Cooperative Highway Research Program, American Association of State Highway and Transportation Officials, Federal Highway Administration, Washington, DC, July 19, 1979. [3.] "NEMA Standards Publications for Traffic Control Systems. TS2-1992".National Electrical Manufacturers Association (NEMA).

[4]. Zegeer, C.V. "Effectiveness of Green Extension Systems at High-Speed Intersections." Research Report No. 472, Kentucky Department of Transportation, Bureau of Highways, Division of Research. Lexington, KY, May 1977.

[5.]Sackman, H., B. Monahan; P.S. Parsonson, and A.F. Trevino. "Vehicle Detector Placement for High-Speed Isolated Traffic-Actuated Intersection Control." Vol. 2: Manual of Theory and Practice, FHWA-RD-77-32, Federal Highway Administration, Washington, DC, May 1977. [6.]Parsonson, P.S. et al. "Signalization of High-Speed, Isolated Intersections." Transportation Research Record 737, pp. 34-42, 1979.

[7.]Parsonson, P.S., R.A. Day, J.A. Gaulas, and G.W. Black. "Use of EC-DC Detector for Signalization of High- Speed Intersection."Transportation Research Record 737, pp. 17-23, 1979.

[8.]Kell, J.H., and I.J. Fullerton. "Manual of Traffic Signal Design."Institute of Transportation Engineers, Prentice- Hall, Inc. Englewood Cliffs, NJ, 1982.

[9.] Kay, J.L., R.D. Henry, and S.A. Smith. "Locating Detectors for Advanced Traffic Control Strategies Handbook."FHWA-RD-75-91, Federal Highway Administration, Washington, DC, 1975. [10.] Henry, R.D., S.A. Smith, and J.M. Bruggerman. "Locating Detectors for Advanced Traffic Control Strategies." Technical Report, FHWA-RD-75-92, Federal Highway Administration, Washington, DC, September 1975.

[11.]Balke, K.N., S.R. Keithreddipalli, and C.L. Brehmer. "Guidelines for Implementing Traffic Responsive Mode in TXDOT Closed Loop Traffic Signal Systems." Texas Transportation Research Report 2929-3F, College Station, TX, August, 1997.

[12.]www.google.com (accessed, 10/09/2012) [13.]www. Wikipedia.com (accessed, 12/09/2012) [14.] www. Mplab.com (accessed, 02/10/2012)

[15] www.circuittoday.com (accessed, 02/10/2012)

Leave a Reply