Skip to content

zekeriyyaa/Traffic-Data-Analysis-with-Apache-Spark-Based-on-Mobile-Robot-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Traffic-Data-Analysis-with-Spark-Based-on-Autonomous-Transport-Vehicle-Data

There could be a traffic in smart factories caused by autonomous transport vehicles (ATVs). So, it is needed to analyzed the data generated by ATV and produce useful feedback to system to enhance the system productivity. For this purpose, five analysis are done such as travel time, waiting time, average speed, occupancy and density and the results were visualized.

The data that generated from AGV analyzied with using Apache Spark. And desktop app improved and results is visualised for understanding easily using PyQT5.This project has been developed within ifarlab.

System architecture is shown below:

ATV generates current position and speed data 150 times per minute. And these data store MongoDB database as a document. Each document has position, speed, datetime and ID datas as shown below. In addition, some information about the way is obtained from the MSSQL database.

MongoDB document instance:

Using these datas, five analysis that is shown below is made:

  • Travel time: The elapsed time between the ATV starting to task and finishing.
  • Waiting time: The elapsed time while ATV is waiting during performing its task.
  • Average speed: The average speed of the ATV while performing its task.
  • Occupancy: (way lenght) / (number of vehicle * vehicle length)
  • Density: ( number of vehicle / way length )

The desktop app is improved. So, result of the analysis has visualized to easly understanding. At the app, you can select way and time interval which to show all analysis result. The desktop app look like as shown below:

And also you can select which type of analysis that you want to visualized for a way that you already specified. The speed analysis of all way is shown as below ( red: low speed green: medium speed yellow: high speed ) :

About

Mobile robot data were analyzed with Apache-Spark to extract five different statistical result such as travel time, waiting time, average speed, occupancy and density were produced.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages