Atik
Atik
Abstract—This paper presents an end-to-end architecture for cost savings by up to 13.35%, and time savings by up to
smart waste management, leveraging real-time data, IoT, AI, and 28.22%." A systematic review of architecture and smart
machine learning to optimize operational efficiency and decision- systems, frameworks, and various models for waste
making processes. The architecture is designed for both near real- management is provided in [3]. This review covers 40 research
time and batch data processing, ensuring continuous optimization papers that propose different frameworks for managing various
and adaptation of waste collection routes and resource allocation. types of waste, and it presents machine learning algorithms that
Machine learning models are employed to predict possible bad can be broadly used for this purpose. They have provided a
adverse scenarios and optimize operational plans. Additionally,
comprehensive review for various domains of waste
business intelligence is utilized for data analysis and reporting,
management such as municipal waste management, smart bin
providing actionable insights based on real-time and historical
data. The presented system is implemented on a scalable
management, household waste management, medical waste
Kubernetes infrastructure, supporting the increasing data management, construction and industrial waste management,
etc. The proposal of using IoT in combination with ML
2024 International Symposium ELMAR | 979-8-3503-7542-8/24/$31.00 ©2024 IEEE | DOI: 10.1109/ELMAR62909.2024.10694555
utilizing real-time data to make better decisions. Beside this, the be emptied. Video stream are currently saved locally on the
architecture aims optimizing business processes that are server using the RTSP (Real-Time Streaming Protocol) protocol
generated and proposed by AI/ML algorithms. It should be from cameras mounted on the truck. Images are extracted using
emphasized that this paper also examines the dual application of a Python script and the OpenCV library and sent to the central
AI/ML algorithms. We proposed using the conventional waste management system as sequence of images. Images
application of algorithms in batch processing, but at the same extracted from the stream are used in this manner because video
time, extracting of the useful incoming information which streaming is more challenging to achieve due to the demand for
allows the use of data for AI/ML in near real-time. Incoming higher communication bandwidth and data traffic. For this
real-time data can re-optimize the routes of waste collection reason, a local server in the truck is used to collect real-time
trucks or inform system for other operational decisions. These video, extract important images which are sent to Kafka. These
numerous data from various sources are ingested into a Data images with metadata are used to specify the zone where the
Warehouse or Data Lakehouse and can be leveraged for business waste was collected. The moment when the waste is loaded from
intelligence. BI tools can be used to generate actionable insights the bin to the container is captured by the camera with this
and plans based on data collected from ordinary and new real metadata and sent to the to the central waste management
time sources that are updated daily or at other proposed time system. Additionally, various IoT sensors, independent of the
intervals. It is important to highlight that our proposed truck information, are connected to Kafka. We currently have
architecture integrates data from IoT sensors, cameras, and other IoT sensors in the bins that measure the amount of waste inside
types of sensors as real time data. This integration enables the the bin and report on the current fill level. The IoT component
use of these data, following a mini ETL process, to enhance and is entirely independently connected using MQTT (Message
optimize data previously processed in batch operations. Queuing Telemetry Transport) to network gateways, from
which the consolidated information represents a separate topic
II. END-TO-END ARCHITECTURE FOR REAL-TIME SMART in Kafka. Beside this, an application running on the central
WASTE MANAGEMENT server can notify the driver of route changes in case of arising a
problem. This real-time system is completely implemented on a
In the Fig 1, the architecture of the system that enables Kubernetes infrastructure. Spark/Flink for ML analysis, which
monitoring, optimization, and support for user experience in enables in-memory optimization, is installed within Kubernetes.
real-time waste management is presented. It is important to note The hardware beneath the Kubernetes system consists of 32
that the architecture is designed for both near real-time and batch vCPUs and 64 GB of memory. In the Fig. 1, a single Data
data processing. On the left side of the figure, there are data Lakehouse is envisioned, although the architecture can scale
sources that generate real-time data. These data are ingested into depending on increased traffic to multiple Lakehouses. Presto is
the system via topics in Kafka, using a PUB/SUB also installed on Kubernetes and is used for BI data analysis,
(Publish/Subscribe) mechanism. The data, on one hand, enter which resides in object storage accessible by both real-time and
the system and then proceed to the data transformation and batch data. After collecting data from databases (the bottom part
extraction management system. In this section, information is of the diagram), a local ETL process is conducted to extract
extracted, transformed, and loaded into memory for useful information and prepare data for batch AI/ML processes.
optimization and using machine learning algorithms. Spark or The databases include various types, such as user data, billing
Flink can be used in this step. In our solution, we have a plenty information, user locations, bins, and other external information.
of data generated in near real-time. It includes GPS (Global The current number of data sources does not limit the
Positioning System) and GIS (Geographic Information System) architecture's use. It is possible to easily scale the data sources if
data about the routes taken by transport vehicles, which also we provided that the database connectors are properly managed.
carry video information about the locations and bins that need to For ETL, Apache Airflow is planned to be used, although other
repair service is activated. The service will immediately more sustainable waste management practices. Further research
determine the severity of the issue and estimate when the truck and development in integrating these technologies will continue
can be operational again. At the end of the day, optimization is to enhance the capabilities and effectiveness of waste
performed again in a batch process with this new information. management systems
ACKNOWLEDGMENT
V. CONCLUSION This work was supported by the Federal Ministry of
Education and Science, Federation of Bosnia and Herzegovina,
In conclusion, the research and development of smart and Bosnia and Herzegovina.
efficient waste management system architecture have shown
significant advancements, especially concerning real-time data
handling and the integration of various technologies such as IoT, REFERENCES
AI, and machine learning. The use of CNN neural networks to [1] G. Eason, B. Noble, and I. N. Sneddon, "On certain integrals of Md.
process real-time data has proven effective in providing insights Wahidur Rahman, Rahabul Islam, Arafat Hasan, Nasima Islam Bithi, Md.
into waste management, enhancing both operational efficiency Mahmodul Hasan, Mohammad Motiur Rahman,Intelligent waste
management system using deep learning with IoT, Journal of King Saud
and decision-making processes. The literature review revealed University - Computer and Information Sciences, Volume 34, Issue 5,
several promising directions, such as AI-supported waste shape 2022, Pages 2072-2087
recognition systems, which improve sorting accuracy, and [2] Fang, B., Yu, J., Chen, Z. et al. Artificial intelligence for waste
intelligent logistics, which significantly reduces transportation management in smart cities: a review. Environ Chem Lett 21, 1959–1989
distance, costs, and time. However, there is still a noticeable gap (2023). https://doi.org/10.1007/s10311-023-01604-3
in research that combines IT architecture with AI models and [3] Sinthiya, N.J., Chowdhury, T.A., Haque, A.K.M.B. (2022). Artificial
IoT to support comprehensive smart waste management. This Intelligence Based Smart Waste Management—A Systematic Review. In:
Lahby, M., Al-Fuqaha, A., Maleh, Y. (eds) Computational Intelligence
paper presented an end-to-end architecture that addresses this Techniques for Green Smart Cities. Green Energy and Technology.
gap by integrating real-time data sources, control and data Springer, Cham. https://doi.org/10.1007/978-3-030-96429-0_3
processing layers, and an application layer. The architecture [4] Mookkaiah, S.S., Thangavelu, G., Hebbar, R. et al. Design and
leverages Apache Kafka for data ingestion, Apache Airflow and development of smart Internet of Things–based solid waste management
Spark for ETL processes, and advanced machine learning system using computer vision. Environ Sci Pollut Res 29, 64871–64885
frameworks like TensorFlow and Spark MLlib for real-time and (2022). https://doi.org/10.1007/s11356-022-20428-2
batch data processing. Additionally, business intelligence tools [5] M. K. Hasan, M. A. Khan, G. F. Issa, A. Atta, A. S. Akram and M. Hassan,
"Smart Waste Management and Classification System for Smart Cities
such as Presto enable detailed data analysis and reporting, using Deep Learning," 2022 International Conference on Business
providing actionable insights for decision-makers. The proposed Analytics for Technology and Security (ICBATS), Dubai, United Arab
architecture ensures efficient waste management operations by Emirates, 2022, pp. 1-7, doi: 10.1109/ICBATS54253.2022.9759087.
continuously optimizing routes, monitoring bin fill levels, and [6] Pardini, K., Rodrigues, J. J., Diallo, O., Das, A. K., de Albuquerque, V.
adjusting plans based on real-time and batch-processed data. H. C., & Kozlov, S. A. (2020). A smart waste management solution
The scalable Kubernetes infrastructure supports the growing geared towards citizens. Sensors, 20(8), 2380.
data volumes and processing demands, ensuring system [7] Strand, M., & Syberfeldt, A. (2020). Using external data in a BI solution
to optimise waste management. Journal of Decision Systems, 29(1), 53–
responsiveness and efficiency. Overall, this comprehensive 68. https://doi.org/10.1080/12460125.2020.1732174M. Young, The
approach to smart waste management demonstrates the potential Technical Writer's Handbook. Mill Valley, CA: University Science, 1989.
for significant improvements in resource utilization, operational
efficiency, and service delivery, paving the way for smarter and