Background and explanation of the process
Introduction to the Automated Sorting Line Project
This industrial project is part of the development of an intelligent automated production and sorting cell, designed to replicate the requirements of modern logistics and packaging lines. Built around the 6-axis articulated arm Niryo Ned2 and the NiryoStudio programming environment, the system showcases a complex synergy between robotic manipulation, sequential conveyor handling, and Industry 4.0 technologies. By combining infrared (IR) presence sensors and camera-based vision modules, the line is capable of autonomously identifying the geometry, type, and color of different component flows. The overall objective of this application is to process an initial heterogeneous stream of parts (metal screws, round tokens, and square tokens) manually introduced by an operator, in order to sort, route, and store each item according to a strict protocol and an optimized logistics layout.

System Overview Analysis
Hardware Used
-
5 robots (Ned2) equipped with dedicated end-effectors adapted to their tasks:
-
Electromagnet (Purple Code): dedicated to handling ferromagnetic parts (screws).
-
Gripper / Mechanical claw (Red Code): dedicated to firmly grasping tokens.
-
Vacuum pump / Suction cup (Brown Code): dedicated to suction-based handling of flat surfaces.
-
-
5 conveyors ensuring continuous or sequential transfer of parts from one cell to another.
-
2 IR (infrared) sensors (IR1 and IR4) used to detect parts and trigger robot routines.
-
Vision systems (dashed green zones for pick vision, solid zones for vision pick) used for shape analysis, color sorting, and precise spatial positioning (Workspace).
-
Secondary logistics components: 1 storage ramp, 2 physical end-stoppers, and 1 positioning vinyl.
Step-by-Step Process Explanation
The overall production flow follows a logical progression from left to right across the layout.
Step 1: Manual loading and entry (Bottom-left zone)
-
Action: An operator manually places a mixed batch of tokens (blue/red/green round tokens, blue/red/green square tokens) and metal screws (represented by white diamond shapes) onto Conveyor 1.
Step 2: Screw extraction by Robot 1
-
Detection and Vision: Sensor IR1 detects the arrival of a part and analyzes its shape.
-
Action: If the detected shape is not a token (i.e., a screw), the conveyor is stopped with the screw positioned at the sensor. Robot 1 activates its electromagnet, moves down to pick the screw, rotates, and places it onto Conveyor 5 located above the line.
-
Destination: Conveyor 5 lifts the screw to the top of the layout and drops it into the Screw bin.
Step 3: Initial shape sorting by Robot 2 (Central zone)
-
The remaining parts (only round and square tokens) move from Conveyor 1 to Conveyor 2.
-
Detection and Vision: Sensor IR2 stops the conveyor and the camera performs shape-based sorting (square or circle).
-
Routing:
-
Square tokens are redirected to the upper part of the system to enter Conveyor 4.
-
Round tokens are routed to Conveyor 3.
-
Step 4: Square token storage (Upper-middle zone)
-
Squares travel along Conveyor 4. Sensor IR4 detects their arrival in the stacking zone.
-
Robot actions (Robots 4 & 5): Robot 4 picks the square using its vacuum gripper and places it in the Vision Set for Robot 5. Robot 5 then retrieves the part and carefully places it on a 6-slot storage ramp.
Step 5: Color sorting and final storage of round tokens (Right zone)
-
Round tokens are transported and placed onto Conveyor 3.
-
Detection and Vision: The vision camera (Vision pick) precisely identifies their color (blue, red, or green).
-
Robot 3 action: Equipped with a Gripper, Robot 3 picks up the round token.
-
Destination: It places it in the Beta Zone, where sorting is performed by color (blue line, red line, green line).
Component Flow Summary
| Component | Gripping Tool | Process Flow | Final Destination |
| Screws | Electromagnet (Robot 1) | Conveyor 1 → Conveyor 5 | Screw bin |
| Squares | Vacuum pump (Robots 2, 4 and 5) | Conveyor 1 → Conveyor 2 → Conveyor 4 | Storage ramp (6 slots) |
| Rounds | Gripper (Robot 2 and 3) | Conveyor 1 → Conveyor 2 → Conveyor 3 | Beta Zone (3×3 sorting matrix) |

