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 ) :