SmartWasteManagementProject SRS
SmartWasteManagementProject SRS
net/publication/366840246
CITATIONS READS
0 367
1 author:
Zain Imdad
National University of Sciences and Technology
3 PUBLICATIONS 0 CITATIONS
SEE PROFILE
All content following this page was uploaded by Zain Imdad on 03 January 2023.
for
Table of Contents
Table of Contents
1. Introduction .......................................................................................................................1
1.1 Purpose ........................................................................................................................................
1. Introduction
This section gives a scope description and overview of everything included in this SRS document.
Also the purpose for this document is described and a list of abbreviations and definitions is
provided.
1.1 Purpose
The purpose of this document is to give a detailed description of the requirements for the “Smart
Waste Management System” (SWMS). It will illustrate the purpose and complete declaration for
the development of system. It will also explain system constraints, interface and interactions with
other external applications. This document is primarily intended to be proposed to a customer for its
approval and a reference for developing the first version of the system for the development team.
The main objectives of the product include automation of solid waste monitoring process using
IOT. Waste bins would be communicating their fill levels and location to a cntral server. Then,
waste bins that need to be emptied would be determined. Optimized routes would then be generated
using optimization algorithms. Routes would utilize minimum waste trucks to save fuel costs as
well as manual labor.
1.4 Overview
The remainder of this document includes three chapters and appendixes. The second one provides
an overview of the system functionality and system interaction with other systems. This chapter also
introduces different types of stakeholders and their interaction with the system. Further, the chapter
also mentions the system constraints and assumptions about the product.
The third chapter provides the requirements specification in detailed terms and a description of the
different system interfaces. Different specification techniques are used in order to specify the
requirements more precisely for different audiences.
The fourth chapter deals with the prioritization of the requirements. It includes a motivation for the
chosen prioritization methods and discusses why other alternatives were not chosen.
Smart Waste Management Page 2
The Appendixes in the end of the document include the all results of the requirement prioritization
and a release plan based on them
1.5 References
• IoT Based Smart Waste Management System for Smart City-Sneha Patil, 2Snehal
Mohite, 3Aishwarya Patil, 4Dr. S.D.Joshi
• http://ieeexplore.ieee.org/document/4063765/
• http://ieeexplore.ieee.org/abstract/document/4537133/
• http://www.smart-cities.eu
• http://epd.punjab.gov.pk/solid_waste
• http://ieeexplore.ieee.org/abstract/document/4665232/
• http://www.ajper.com/admin/assets/article_issue/1464434692.pdf
• https://tspace.library.utoronto.ca/handle/1807/49461
• https://www.arduino.cc/en/Main/ArduinoGSMShield
2. Overall Description
2.1 Product Perspective
The current way of manually monitoring waste in waste bins is a cumbersome process and results in
increased human labor, more time consumption and higher costs. This results in irregular collection
of waste causing a lot of problems like pollution and spread of diseases in humans. As it is a critical
process, it needs to be made efficient. So, to cater these issues we are proposing SMWS.
Smart Waste Management Page 3
SWMS will be a cost-effective implementation of existing smart waste management systems in use.
Data would originate from Smart-Bin(s) as the sensors would constantly detect the level of waste in
the bins along with their location. The data and the location of each bin is then transmitted to a
server. GPRS module is used to determine the location and Arduino module sends the location and
fill level to a server via a GSM module. The data is then processed and routes are generated. The
routes are then displayed to concerned truck drivers on an android application. The Smart Waste
Bins can be installed on the regular pick up sites being used by the municipal authorities and the
mobile application will be made simple so it can be understood by the truck drivers.
Pick-Up Truck High Routes accounting for maximum trash bins with the minimum
Drivers distance.
Administrator Medium An admin portal; a map highlighting the locations of all the pickup
trucks currently en-route as well as the all the pick-up sites.
Table 1
ID Use Case
SB 1 Measure Data
SB 2 Send Data
Table 2 - Smart Bin Use cases
ID Use Case
TD 1 Login
TD 2 Get Jobs
TD 3 All Jobs Completed
Table 4 - Truck Driver Use cases
This class is responsible for user who monitors smart bin data and generates jobs.
ID Use Case
AD 1 Login
AD 2 Monitor Bins
AD 2.1 View Jobs
AD 3 Generate Routes
• It has been assumed that the users will already know how to operate smart phone and the
mobile application.
• It is assumed that the administrator will be learned enough to operate the admin portal
without a learning curve.
• It is assumed that the hardware kits installed in the bins will continue to function properly
for 2-3 years before needing a battery replacement.
Smart Waste Management Page 7
• It has been assumed that all the trash bin locations have cell-signal reception as it operates
on a GSM module.
Figure 1
Smart Waste Management Page 8
The user can then view the jobs assigned to him for that day. The jobs being the garbage collection
routines. See Figure # 2.
Figure 2
Upon selection of a job, the application will then display an optimized route to the driver indicatin g
pickup points and his own location. As shown in Figure # 3.
Smart Waste Management Page 9
Figure 3
The administrator will have full access to the systems functionalities and he’ll be able to view the
number of trucks currently enroute as well as their estimated time to complete their respective jobs.
The administrator will also be able to view the status of the Smart Bins as they’re being filled, along
with their location. See the figures below.
Smart Waste Management Page 10
Smart Waste Management Page 11
Ultrasonic Sensor:
The Ultrasonic Sensor sends out a high-frequency sound pulse and then times how long it takes
for the echo of the sound to reflect back. The sensor has 2 openings on its front. One opening
transmits ultrasonic waves, (like a tiny speaker), the other receives them, (like a tiny
microphone).The speed of sound is approximately 341 meters (1100 feet) per second in air. The
ultrasonic sensor uses this information along with the time difference between sending and
receiving the sound pulse to determine the distance to an object.
Just like Arduino it has a number of input/output ports and a power jack. It has a cell jacket as
well, with a sim card jacket, to insert sim. It can be powered using Arduino as well as an adapter
or a battery etc.
Breadboard:
This would be used for prototypes. A breadboard is a construction base for prototyping of
electronics. Because the solder less breadboard does not require soldering, it is reusable. This
makes it easy to use for creating temporary prototypes and experimenting with circuit design.
Vero board:
The final product would be made on this. It requires soldering and thus is permanent.
REST API:
RST API is used to modify, get and update data from a DB and process it.
Apache Tomcat:
The Apache Tomcat is an open source software that is an implementation of Java Servlet and
Java Web Socket technologies.
Smart Waste Management Page 13
Actor: Smart-Bin
Description: This use case includes all kind of operations needed to get data and
information about the Smart-Bin.
Pre-conditions: Internet is connected and working properly and timer has reached the
execution point.
Post-conditions: Smart-Bin will send this information to the central server.
Normal Flow: The normal flow of each process of “Measure Data” will be discussed later.
Alternative Flows: The alternative flow of each process of “Measure Data” will be discussed
later.
Assumptions: Smart-Bin is powered by battery and connections are working properly.
Includes: Calculate Fill Level, Get Location Coordinates
Use Case ID: SB1.1 Use case Name: Calculate Fill Level
Actor: Smart-Bin
Description: Smart-Bin should measure fill level of waste material.
Pre-conditions: Controller has signaled the sensor to measure fill level.
Post-conditions: Send fill level back to the controller.
Normal Flow: Ultrasonic sensors measures the fill level and send back to the controller
when signaled.
Alternative Flows: In case of multiple sensors all sensors measure fill level and Arduino will
calculate their average
Assumptions: There is solid waste material inside Smart-Bin. The
Smart-Bin is in its standard position.
Includes: -
Smart Waste Management Page 15
Use Case ID: SB1.2 Use case Name: Get Location Coordinates
Actor: Smart-Bin
Description: Smart-Bin should calculate the geographic coordinates.
Pre-conditions: Controller has signaled the GPRS to get location coordinates.
Post-conditions: GPRS sensor send coordinates back to the controller.
Normal Flow: Controller sends signal to GPRS sensor and it will then calculate the
location coordinates.
Alternative Flows: -
Assumptions: GPRS sensor is powered and working appropriately.
Includes: -
Use Case ID: SB2 Use case Send Data and Information
Name:
Actor: Smart-Bin
Description: Smart-Bin should send data and info about itself to the central
server.
Pre-conditions: Fill Level and location coordinates has been calculated.
Post-conditions: Server will persist that information.
Normal Flow: Arduino will send the data using POST request to the REST API at
central server.
Alternative Flows: -
Assumptions: REST API is live and listening for requests. Smart-Bin
has access to GPRS.
Includes: -
Smart Waste Management Page 16
Use Case ID: SR1 Use case Name: Receive Smart Bin Data
Actor: Server
Description: Server should receive the data sent by smart bin using POST request.
Pre-conditions: Server is online.
Post-conditions: Server will persist that information.
Normal Flow: Server will receive the request.
Check the format of data.
If format is right then it will persist the data.
Alternative Flows: Server will receive the request.
Check the format of data.
If format is wrong discard the data.
Assumptions: Power is always available at server.
Includes: -
Use Case ID: SR2 Use case Name: Save Smart Bin Data
Actor: Server
Description: Server should persist the data sent by smart bin using POST request.
Pre-conditions: POST request is received.
Post-conditions: Server will persist that information.
Normal Flow: Check the Wastebin is already in database or not.
If presents updates its information.
Else if waste bin is not in the database create new waste bin and add its
information.
Alternative Flows: Server will receive the request.
Check the format of data.
If format is wrong discard the data
Assumptions: Database is created.
Includes: -
Smart Waste Management Page 17
Use Case ID: SR3 Use case Name: Send Smart Bin Data
Actor: Server
Description: Server should send the data of smart bins present in database.
Pre-conditions: Get request has been received.
Post-conditions: Database is consistent.
Normal Flow: Server will receive the GET request from administrator application. Send
the data required in request.
Alternative Flows: -
Assumptions: Power is always available to server.
Includes: -
Use Case ID: TD1 Use case Name: Login (Android App)
Use Case ID: TD3 Use case Name: All Jobs Completed
ID: QR1
TITLE: Displaying Smart Bins’ data in table view
DESC: The results displayed in the table view should be user friendly and easy to understand.
Selecting an operation (CRUD) should only take one click.
RAT: In order to allows the administrator to view the status of Smart Bins.
DEP: none
ID: QR2
TITLE: Usage of the result in the map view
DESC: The results displayed in the map view should be user friendly and easy to understand.
RAT: In order to allow the drivers to navigate their course.
DEP: none
ID: QR3
DESC: The response time for all fetch operations to and from the database should take minimum
time.
MUST: No more than 2 seconds 100% of the time.
WISH: No more than 1 second 100% of the time.
ID: QR4
DESC: The fault tolerance of the system.
MUST: The system must be able to recover from invalid inputs, loss of connection to internet
and GPS.
Smart Waste Management Page 20
ID: QR5
ID: QR6
ID: QR7
3.5.1 Reliability
ID: QR8
TAG: System Reliability
DESC: The reliability of the system.
SCALE: The reliability that the system gives the right result on a search.
METER: Measurements obtained from 1000 searches during testing.
MUST: More than 98% of the searches.
PLAN: More than 99% of the searches.
WISH: 100% of the searches
Smart Waste Management Page 21
3.5.2 Availability
ID: QR9
TAG: System Availability
DESC: The availability of the system when it is used.
MUST: More than 98% of the time.
PLAN: More than 99% of the time.
WISH: 100% of the time.
ID: QR10
TITLE: Internet Connection
DESC: The application should be connected to the Internet.
RAT: In order for the application to communicate with the database.
MUST: More than 98% of the time.
PLAN: More than 99% of the time.
WISH: 100% of the time.
DEP: none
ID: QR11
TITLE: GPS Connection
DESC: The application should be connected to the GPS device.
MUST: More than 98% of the time.
PLAN: More than 99% of the time.
WISH: 100% of the time.
RAT: In order for the application to get the users location, the map and to calculate the distance.
3.5.4 Maintainability
ID: QR12
ID: QR13
3.5.5 Portability
ID: QR14
6. Other Requirements
The project requires the approval of the relevant municipal authority for deployment in a
particular area.
The system requires the end-users(Driver and Administrators) to have a level of literacy that is
sufficient to comprehensively understand and use the Android application and the Admin portal.
The project requires sound infrastructure already in-place for successful operation of the system.