BPCL Pure For Sure - FDS V2
BPCL Pure For Sure - FDS V2
BPCL Pure For Sure - FDS V2
3. Project Scope
The scope of the project includes tracking the cylinders with the help of unique QR code assigned to them, to the
trucks they will load on within the plant. During this process cylinders with invalid QR code will be identified for
rejection line.
Thus, the given below will be the Project scope:
Includes reading the QR Code of the cylinders placed on the belt.
Validating the QR codes with the valid QR codes list.
Integrate with Kosan system to read the weight of indexed cylinders.
ANPR detection of trucks arriving at the 2 loading bays.
Tracking the cylinder with the help of unique QR code to the truck number, to which it is loaded.
4. Out of Scope
Changes to the agreed scope in-terms of look and feel, new use cases that are not specified in the tender document
which extends workaround, complex changes/enhancements to the application functionality may require further
planning & formal agreement between both the parties to develop & implement.
5. Process Flow
Given below diagram explains how the AI system would read the QR code of a cylinder and track the truck on which
it is placed.
A. Scan and Read QR Code at FLP Setup -1
Cylinders are placed on the conveyor belt. The top view camera will read the QR code on top of the cylinder and send to database.
B. Database record
The database will have record of valid QR codes received from BPCL plant. Each time, the QR code of the cylinder is read, it will record in
the table, of cylinder number and QR code.
C. Validation of QR code
The database will validate the QR code read against the data of QR codes stored and send the status – valid/invalid to Kosan system along
with index number.
2.1.4 Working:
a. LOOP – 1:
1. Initial state of the stopper will be closed state by default (Using IOT)
2. Read Sensor 2
3. If sensor 2 is HIGH (Accumulation detected)
4. Stopper engaged (No Cylinder Pass)
5. Wait for Sensor 2 to go LOW (Accumulation cleared)
6. Read QR via QR/Camera reader
7. Receive seq. ID & status of QR from server (over MQTT)
8. Frame MODBUS packet with seq. ID and QR status
9. 24V HIGH on Data Pin
10. KOSAN issues a register read request on MODBUS
11. Send Sequence ID with QR status over MODBUS to KOSAN
12. KOSAN reads the MODBUS packet from step 8
13. Read sensor 1 - If HIGH; Release the stopper (cylinder allowed to pass)
14. When LOW: Stopper engaged (cylinder blocked)
15. KOSAN sends 200ms pulse on acknowledge
16. 24V LOW on Data Pin
17. Return to step 1
b. LOOP – 1:
1. KOSAN writes seq. ID and gross weight to MODBUS registers
2. IoT reads every 500ms these registers for sq.ID and weight
3. IoT writes acknowledgement in a register 0: success 1: failure
Read Success
1 Single Bit Read -Write 8-bit (0: Success; 1:
Failure)
Sequence ID
2 16-bit Word Read -Write 16-bit
(Cylinder ID)
Weight
3 16-bit Word Read -Write 32-bit
(Cylinder ID)
Note:
1. Weight is assumed to be floating point single precision data.
2. The address fields in the table are left blank – to be filled by KOSAN
V. UI Screens
a) Login Screen
By logging in you will be allowed to create and modify existing records.
Open Internet Explorer, key the IP address below and press Enter. The login screen displays as shown below.
Only registered users with unique username and password will be able to login to the application.
Figure 1
b) Dashboard Page
There are 4 cards on this page:
i. A card to give the count for total truck departing the plant for the day/time period.
ii. A card to give the total count of cylinders loaded on trucks.
iii. Bay 1 and Bay 2 card - If there is a truck being loaded the status would show as active or else
inactive. The user should also be able to see the truck number and count of cylinders being
incremented, if the status is active.
iv. Live video for each of the bays will be visible on the bay card.
v. Expand button will show the details as in table 1.
Table 1
Image Captures the top view image of the cylinder from FLP setup 1
Date & Time DD/MM/YYYY & HH:MM format for when image captured in FLP setup 1
Bay Number Captures the Bay number where the truck is standing.
Truck Number Record the truck number of the truck on which the corresponding cylinder is loaded
As an admin user I want to bulk upload the QR codes to the application, so that they can be stored in database
for system to cross verify QR codes and check whether valid or not.
Acceptance criteria:
When:
The user logins into the application on the side bar show an icon for Imports.
Import reports open on screen.
On the same screen there shall be a button for <IMPORT>
Then:
Screen 1: Import File
A single click on the import shall open a browse window (Similar to one shown below)
to search for the file to upload into the application.
The user can upload data only from an excel file/CSV file.
A single click on Upload will allow users to search and select the file to upload.
If the user selects formats other than CSV file, show an error message: Only CSV files can be
uploaded.
Screen 2: Duplication Strategy
Once the file is uploaded, there should be a duplication strategy screen as shown below:
If the uploaded file has QR codes match that already exist in the system, choose one of the 2 options:
1. Only add missing QR codes.
2. Replace the existing QR code list entirely. (Note: this re-writes the information and cannot be
undone.)
NOTE: The following formats of QR code in the CSV shall be acceptable to upload.
Batch Id Format
Skipped count: Download a CSV containing all the rows from the original spreadsheet that were detected
as duplicates and skipped.
Failed Count: Download a CSV containing all the rows that failed validation.
Created Count: details of QR codes imported successfully.
c) Camera Configuration
Camera Card:
o With on click of the + symbol, the form to enable/disable the use cases as shown below will be
opened.
Live Feed
Figure: Live Video feed of the camera
This Screen is to monitor the live feed of the camera.
The live feed of the camera can be viewed by selecting an area and camera name from the dropdown.
Role Screen
Screen to configure the role (s) in the application. Eg. Administrator, manager etc
4 Columns to capture Unique role name, designation, and Department.
Action Section: to edit the existing role details or to delete a role from the application.
Create Role: To add a new role in the application. A pop screen is opened as shown below upon
clicking that button.
Note: All the information given in the manual is accurate, however in case of any discrepancy changes may be made.
e) Camera Configuration
Camera Card:
o This is screen provides details of cameras configured for the location.
o Area Name: Location in the plant where camera is setup.
o Camera Name: A unique name assigned to each camera.
o Camera IP: IP address of each camera
o Resolution: the size of the digital image the camera produces.
o Username: The username to access the camera
o Use Case: With on click of the + symbol, the form to enable/disable the use cases will be opened.
o Base Image: Captures the basic view from the camera.
o Status: If the camera is active/ Inactive. Toggle button to change the status.
o Edit Icon: To edit any of the mentioned camera details.
o Delete: to delete the camera mapping.
o Add Camera: A click on it will open a new screen to add a camera to the configuration list as shown
below.
o With on click of the + symbol, the form to enable/disable the use cases as shown below will be
opened.
Figure: Feature Configuration Screen
The third tab on the camera configuration screen
The screen provides insight on use cases mapped for video analytics.
Each use case mapped to category, location, severity, time frequency is visible in tabular form.
Time frequency refers to time taken for the first alert to raise.
Search Box to search for a particular use case. One can filter data here based on any of the column data.
Live Feed
Role Screen
Screen to configure the role (s) in the application. Eg. Administrator, manager etc
4 Columns to capture Unique role name, designation, and Department.
Action Section: to edit the existing role details or to delete a role from the application.
Create Role: To add a new role in the application. A pop screen is opened as shown below upon
clicking that button.
Role Policies Screen
Note: All the information given in the manual is accurate, however in case of any discrepancy changes may be made.