Density Based Smart Traffic System With Real Time Data Analysis Using Iot
Density Based Smart Traffic System With Real Time Data Analysis Using Iot
Abstract—This paper aims to develop a convenient unwanted congestion in traffic. The major difference in
traffic system that allows a smooth movement of cars most of the previous models lies in the type of system and
which will help build a smarter city. The traffic system sensors used to calculate the density of traffic in a specific
currently implemented in many areas is not based on lane. They all aim to overcome the disadvantage of the
the density of traffic and every road is allotted a preset traditional system, and use various sensors and algorithms
time. This results in traffic congestion due to large to implement a smarter system. The different sensors that
red-light delays and timings allotted for roads in a city are widely used to find the density of traffic include
that should vary during peak on-off hours, but in Inductive loop detectors, Piezoelectric sensors[1],
reality don’t. These traditional systems are not Ultrasound sensors [2], Infrared sensors, Sound
adaptable and fail to support traffic during an sensors[3], Acoustic Sensors[4],Image processing
unexpected situation or during an accident, and this algorithms[5] based on live feed from a camera, and many
makes them inefficient. In order to calculate the others. Our proposed system aims to calculate the density
density of traffic various sensors can be used, each of traffic by using a combination of ultrasound sensors
having their merits and demerits. In our proposed and a camera to find the level of traffic in a lane. These
system Ultrasound Sensors are used along with Image levels are classified as low, medium ,and high and is
Processing(using live feed from a camera) that works dependent on the length of the road and the density of
on a Raspberry Pi platform and calculates the vehicle traffic in that area. The values indicated by the sensor and
density and dynamically allots time for different levels the processed density value of the image are in turn sent
of traffic. This in turn allows better signal control and to a Raspberry Pi which sends the values to the cloud. The
effective management of traffic thereby reducing the Internet of Things is used to communicate with the cloud
probability of a collision. By using Internet Of for the real time analysis of data.
Things(IoT) real time data from the system can be
collected, stored and managed on a cloud. This data
can be used to interpret the signal duration in-case any
of the sensing equipment fail, and also for future
analysis.
I.INTRODUCTION
Fig 1 Smart Traffic Light
Urban mobility has become one of the key sectors of
smart city development that has rapidly spread across This data will be useful when the sensor system fails and
India. Over the last few years there have been umpteen will serve as a backup system while also providing
papers presented based on the implementation of a smart information for future analysis of traffic. By allotting time
traffic management system to counter the traditional based on the levels of traffic vehicles are prevented from
preset time period system, which causes most of the waiting for long periods thereby reducing the pollution
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions
Proceeding of 2018 IEEE International Conference on Current Trends toward Converging Technologies, Coimbatore, India
that is caused. The system is cost effective, saves time, on the sides of the roads and also on the road, below the
and can also prevents collisions. Unlike other systems, it vehicles. Unlike other sensors ultrasound sensors are not
also has a fail safe system that will be used in case there affected by rainfall as ultrasound travels in water. It also
are errors in the sensor reading’s. Fig 1 shows a smart does not require approval from the FCC. The HC-SR04
traffic light system ultrasonic sensor, as shown in Fig.3 is used to detect
vehicles.
II.SYSTEMS IN EXISTENCE
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions
Proceeding of 2018 IEEE International Conference on Current Trends toward Converging Technologies, Coimbatore, India
TABLE I.COMPARISON BETWEEN VARIOUS SENSORS USED FOR MONITORING TRAFFIC [1]
Type Merits Demerits
Passive Acoustic 1. Provides 24 hours operation 1. Rather new technology and hasn’t been
Detector array 2. Not affected by weather conditions. investigated thoroughly.
3. Passive monitoring technique so no
harmful signals are transmitted.
Piezoelectric Sensor 1. Can be used to find the number and type of 1. For permanent installation must be
vehicles on a traffic lane. embedded in the road, and would
2 .Also detects when and where a vehicle therefore require replacement due to
passes by. potholes, and other issues.
3 .They can be also used to determine the 2. The wheel of the vehicle should be right
speed of the vehicle above the sensor in order for detection to
take place.
Ultrasound Sensor 1. Effective in finding the level of traffic in a 1. It is sensitive to change in temperature
certain lane 2.Reflection from thin, curved surfaces
2.All weather operation and it is not affected will not be accurate.
by rainfall, dust or snow.
3.It can sense all material types
4.Does not need FCC approval
Inductive Loop 1.When properly installed, provide the most 1.They cannot be used to directly measure
Detector accurate data for detection in all weather the speed of the vehicle.
condition. 2.Installation will result in traffic
2.The design of loops is flexible and it can be disruption
used for a wide range of applications. 3. While repairing roads, it may be
required to re- install the loop.
Microwave/Millimeter 1. Single detector can cover multiple lanes. 1. False detection due to multipath
wave radar 2. FCC approval not required if it is to work propagation.
in the Ku or X band.
Magnetic Detector 1. In situation where inductive loops cannot 1. Magnetic Detectors will have to be
(Magnetometer) be implemented, magnetometers serve as an embedded in the pavement.
efficient replacement. 2.Lane closure is required in order set the
2.They are small self contained units and can ambient magnetic conditions
therefore installation requires less ground 3.Can only be used for small area’s.
work than loops. 4. Multiple detectors are required for
3. Long lasting battery life is another major smaller vehicle detection.
attribute.
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions
Proceeding of 2018 IEEE International Conference on Current Trends toward Converging Technologies, Coimbatore, India
Video/image 1.Mounted above the road, so installation 1. Affected by shadows, weather, and
Processing process is easy reflections from the roadway surface.
2.Image processing algorithms for vehicle
detection are already available.
3. Provides wide-area detection.
Infra Red Sensor 1.Infrared Sensors have a longer lifetime due 1.Infrared frequencies are affected by
to the fact that they consume less power. smoke, dust, fog, sunlight, etc.
2.Reliable detection of motion during day, as 2.The efficiency of the sensor degrades
well as night. with longer distances
3.Accuracy is not affected by oxidation or 3.For a surface, it is required to know the
corrosion. nature of reflection, scattering and
absorption to measure the distance
effectively.[8]
C. Smart Traffic System Based on IoT: computer which in turn is connected to the cloud.
Due to the fact that IoT is a relatively new concept there Information from these sensors is collected and analyzed
is no exact definition for the Internet of Things, but in by the computer, there by assigning appropriate signal
general terms it can be defined using this equation [9] : duration’s.
A.Block Diagram
B. Working
Three ultra sound sensors [Fig 3] are placed at fixed
locations having equal distances(calculated based on the
length of the road, and the traffic density in the region) on
the road. The first sensor is for low, second for medium
and third for high density of traffic. A camera is used to
view the traffic on the road, and the images collected from
it are processed using suitable algorithms. These sensing
equipment are interfaced with a Raspberry pi [Fig 4]
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions
Proceeding of 2018 IEEE International Conference on Current Trends toward Converging Technologies, Coimbatore, India
IV. CONCLUSION
V.FUTURE SCOPE
REFERENCES
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions
Proceeding of 2018 IEEE International Conference on Current Trends toward Converging Technologies, Coimbatore, India
zed licensed use limited to: SVKM¿s NMIMS Mukesh Patel School of Technology Management & Engineering. Downloaded on August 20,2021 at 06:40:57 UTC from IEEE Xplore. Restrictions