Sorting objects on conveyor efficiently: Reinforcement learning strategy with human-in-the-loop

Authors

  • Leila Orouji Author
  • Mohammed Ayoub Alaoui Mhamdi Supervisor
  • Madjid Allili Supervisor

Abstract

This study aims to simulate the environment of a sorting system consisting of two integrated stations for object selection and path planning for further research. We consider a conveyor belt moving at a constant speed and carrying different objects. The objects have different types, colours, shapes, and priorities. Given a set of objects on the conveyor, we wish to formulate a reinforcement learning model to find an optimal strategy to select objects with the highest priorities. The priorities are unique for each type of materials and are defined by experts to solve a real problem. The Gym library is used to develop our reinforcement learning components. We assume that the conveyor consists of a fixed number of equally-sized spots, and that each of them contains at most one object, which creates our observation space for the model. The agent is an arm robot, and an action would be to pick the objects up and put them in target stations. So, the action space is a discrete number between zero and the total number of boxes, indicating the box number that the agent wants to pick up an object from that box. We develop the Reinforcement Learning in this project by using Deep Q-network (DQN) algorithm, and Multilayer Perceptron (MLP) as the policy to build the model. Both of these are implemented in the Stable Baselines, which are used to train the model.

In this context, the agent will receive a reward after performing an action which consists of picking up an object. The reward can depend on the object’s material and can be set by the user of the application. Moreover, the reward function considers that passing objects from the operation zone of the conveyor without picking them up by the robot constitutes a punishment or negative reward signal.

In the next step, we combine the proposed reinforcement learning model with human in the loop. By comparing the learning times of these two models, we expect to reach the optimal strategy in a shorter time in reinforcement learning with human in the loop. We provide a simulation of the custom environment in the NVIDIA Isaac Sim by aiming to get command from the trained reinforcement learning model and pick up the object with the arm robot and place it in the corresponding trajectories. Given the position and coordinates of the end-effector, by using inverse kinematics, the robot’s joint angles will be calculated to reach the target place. All of these stages are initially simulated in the NVIDIA Isaac sim platform, and the optimal model is able to be applied in factories by setting the priorities and targets based on the needs of customers. Simulation of the robot application solves the real-world problem safely and efficiently and prevents the physical costs, also has a shorter delivery time.

Downloads

Published

2023-01-01

Issue

Section

Dissertations