Submitted:
19 July 2026
Posted:
21 July 2026
You are already at the latest version
Abstract

Keywords:
1. Introduction
1.1. Project Background and Motivation
1.2. Objectives
1.2.1. Objective 1—Product Damage
- Specific: reduce damaged units by calibrating gripper pressure, arm speed, and product input conditions.
- Measurable: fewer than 10 damaged units per 12-hour shift, recorded in the daily production log.
- Achievable: through grip-pressure and arm-speed tuning validated during the testing weeks.
- Relevant: directly increases line efficiency and reduces scrapped material and unscheduled downtime.
- Time-bound: achieved by the end of project week 7, verifiable from the first production shift.
1.2.2. Objective 2—Labor Cost
- Specific: reduce labor cost in the unwrapping area through robot autonomy.
- Measurable: 20% reduction in payroll expenses and an error rate below 4%.
- Achievable: the robot can work full shifts without fatigue, freeing staff for higher-value tasks (decoration, customer service).
- Relevant: underpins the return-on-investment case for the bakery owners.
- Time-bound: evaluated after the first year of operation.
1.2.3. Objective 3—Throughput
- Specific: increase bars unwrapped per hour through optimized conveyor and gripper settings.
- Measurable: 30% increase in hourly throughput with damage below 3%, measured through production reports and quality inspections.
- Achievable: continuous automated operation reduces idle time and variability relative to manual handling.
- Relevant: higher throughput reduces downstream packaging bottlenecks and increases overall manufacturing efficiency.
- Time-bound: verified during the final validation phase, prior to deployment and handoff.
1.3. Scope
2. Current Process and Assumptions
2.1. Description of the Chocolate Process

2.2. Assumptions
- Controlled temperature: chocolate bars arrive at the cell within 26–29°C, ensuring sufficient rigidity for robotic handling.
- Product specifications: bar dimensions, weight, and packaging characteristics remain consistent throughout production.
- Operator training: operators are adequately trained to supervise, operate, and perform basic troubleshooting of the cell.
- Utilities: electrical power and network communication are continuously available.
- Hardware: the cobot, sensors, conveyors, and PLC perform according to manufacturer specifications.
- Maintenance: preventive maintenance is performed on the recommended schedule.
- Simulation fidelity: the Process Simulate and Plant Simulation models accurately represent the real production-line environment.
3. Methodology
3.1. Digital Twin Development Approach
- Process analysis and data collection: the manual process was characterized in terms of production rate, cycle time, product-handling conditions, and bottlenecks, establishing the baseline for comparison.
- Conceptual design of the automated cell: cell architecture (conveyors, sensors, cutting station, robotic manipulator, vision system, safety devices, PLC) was defined considering food-industry requirements, safety standards, and economic viability.
- Digital Twin development: Plant Simulation modeled overall production flow, throughput, bottlenecks, and resource utilization; Process Simulate modeled the robotic workstation in 3-D, validating reachability, trajectories, collision avoidance, and kinematics. CAD models built in SolidWorks were imported into Process Simulate and converted into resources with programmable joints and motion.
- System validation and performance analysis: throughput, cycle time, utilization, product quality, and labor requirements were evaluated against the SMART objectives across multiple simulation runs.
3.2. Software Tools
- SolidWorks: mechanical design of structural elements and the chocolate-bar gripper.
- Tecnomatix Plant Simulation: discrete-event model of the production line for material-flow analysis, statistics, and identification of inefficiencies.
- Tecnomatix Process Simulate: robotic operation tree, path editor, and sequence editor, used to prevent 3-D collisions and validate motion.
3.3. CAD Model and Layout
4. Discrete-Event Simulation of the Production Line
4.1. Model Architecture
4.2. Process Flow


4.3. Resources
- Three sources
- Two conveyors
- One operator
- Three dismantling stations
- One pick-and-place station
- Four storage bins (chocolates, wrappers, scrap, wrapped chocolates)
- One buffer
- One drain
4.4. Key Performance Indicators
4.4.1. Pieces Processed in 30 Minutes

4.4.2. Worker Employment Rate

4.4.3. Relative Empty (Utilization)

5. Robotic Cell Design and Kinematic Validation
5.1. Station Layout

5.2. Key Elements of the Layout
- Infeed conveyor zone: receives wrapped bars from the dispenser and includes a spacing mechanism for uniform bar spacing prior to detection.
- Cutter zone: cuts the ends of both chocolate bars at a 40° angle to minimize waste.
- Detection and stop station: photoelectric sensors identify bar presence and orientation; a pneumatic stop pin holds the bar in place.
- Robot work area: the robot base is mounted on a fixed pedestal, centrally positioned relative to the inlet stop station and outlet conveyor, leaving clearance for full gripper extension.
- Vision system: a camera opposite the robotic arm detects chocolates that are not in optimal condition to continue the process.
- Wrapper-waste collection: a ramp next to the entry station directs detached wrappers to a sealed floor-level container outside the robot's work envelope.
- Safety perimeter: light curtains on operator-access sides and physical guarding around the remaining perimeter define the safety zone.
5.3. Equipment and Resources
5.4. Master–Slave Communication Protocol
5.5. Operations


5.6. Motion Validation
5.7. Kinematic Design
6. SCADA, HMI, and AI Integration (SCADA 4.0)



| Address | Description |
|---|---|
| %MW0 | Unwrap success rate (×10) |
| %MW1 | Cycle time in seconds (×10) |
| %MW2 | Throughput per 30 minutes |
| %MW3 | Ambient temperature (×10) |
| %MW4 | Force torque (×10) |
| %MW5 | Gripper force (×10) |
| %MW6 | Conveyor speed percent (written by Node-RED) |
| %MW7 | Damaged units per shift |
| %MW8 | Cut count |
| %MW9 | Unwrapped output count |
| %MW10 | Rejected count |
| %MW11 | Bin level percent |
| %MW12 | Cycle count |
| %MW13 | Robot error code |
| %M0 | Running |
| %M1 | Emergency stop |
| %M2 | Light curtain OK |
| %M3 | Force-torque alarm |
| %M4 | Bar present |
| %M5 | Cutter extended |
| %M6 | Seal break OK |
| %M7 | Chocolate temperature OK |
| %M8 | Vision pass |

7. Results and Analysis
7.1. Throughput


7.2. Bottlenecks


7.3. Utilization
7.4. Cycle Times
8. Financial Analysis

8.1. Criteria Considered
- Operator cost: based on the general-zone minimum daily wage published for Mexico by CONASAMI (approximately $248.93 MXN/day base, general zone) [7]. Factoring in the mandatory minimum benefits required by law (IMSS, INFONAVIT, Christmas bonus, paid vacation), the real integrated monthly cost is approximately $11,500 MXN, or approximately $138,000 MXN annually.
8.2. Cost Estimates
- UFACTORY xArm 6 robot: official market list price of $9,500.00 USD for the 6-axis cobot; it does not require a separate external controller, as one is included from the factory.
- Montech TB30D24 conveyor: a high-precision polyurethane-belt system from the TB30 series, averaging $1,450.00 USD per unit.
- Electric/pneumatic gripper for the cobot: estimated at $1,200.00 USD, suitable for end-of-arm integration on the xArm 6.
- Automated sealer/cutter: $1,500.00 USD, a cutting station adaptable to the sensor-driven automation environment.
- HMI (touchscreen control panel): $650.00 USD for a compact panel compatible with the cobot's architecture.
- Dispenser: $800.00 USD for the process dosing unit.
- Andon light tower: a standard three-level industrial light tower (green = normal operation, yellow = batch change/warning, red = downtime due to fault or safety activation), estimated at $120.00 USD.
- Cell energy and maintenance: the annual amount stipulated in the cost list is $7,892.00 USD.
8.3. Total Investment
8.4. Annual Net Benefit, ROI, and IRR
8.5. Return on Investment
8.6. Internal Rate of Return
| Year | Discounted cash flow (MXN, r = 31.2%) |
| 1 | 137,090 |
| 2 | 104,473 |
| 3 | 79,617 |
| 4 | 60,674 |
| 5 | 46,238 |
9. Improvement Proposals
9.1. Alternative Scenarios
9.2. Justification
10. Conclusions
Acknowledgments
Appendix A
References
- Bimbo, J.; Liarokapis, M.; Malvezzi, M.; Salvietti, G. Editorial: Robotic grasping and manipulation of deformable objects. Front. Robot. AI 2023, 9, 1108038. [Google Scholar] [CrossRef]
- Makris, S.; Kampourakis, E.; Andronas, D. On deformable object handling: Model-based motion planning for human–robot co-manipulation. Computers & Electrical Engineering 2022. [Google Scholar] [CrossRef]
- Han, L.; Wang, H. Robotic manipulation of deformable objects: A comprehensive review. Robot. Intell. Autom. 2026, 46(2), 1–16. [Google Scholar] [CrossRef]
- Chen, L. (2025). Learning to open deformable bags with a bimanual robot (Technical Report No. UCB/EECS-2025-111). University of California, Berkeley, EECS Department.
- U.S. Food and Drug Administration. Food and Drug Administration. (2024). Code of Federal Regulations Title 21, §177.2600: Rubber articles intended for repeated use. U.S. Department of Health and Human Services. U.S. Department of Health and Human Services. Available online: https://www.ecfr.gov/current/title-21/chapter-I/subchapter-B/part-177/section-177.2600.
- International Organization for Standardization. (2025). ISO 10218-1:2025 and ISO 10218-2:2025 — Robotics: Safety requirements for industrial robots and robot system integration. ISO; also adopted in the United States as ANSI/RIA R15.06.
- Comisión Nacional de los Salarios Mínimos (CONASAMI). (2025). Resolución del H. Consejo de Representantes de la CONASAMI, que fija los salarios mínimos generales y profesionales, Diario Oficial de la Federación, effective January 1, 2026.

| Element | Function / Justification |
|---|---|
| UFACTORY xArm 6 (6-DOF cobot) | Programmable trajectories, high precision, IP65-rated for food-industry environments; uses the xArm BIO ecosystem for tool-changer compatibility with grippers from multiple manufacturers. |
| Custom flexible gripper | Four compliant fingers with adjustable servo pressure secure the deformable chocolate bar without surface damage, complying with FDA food-contact rules [5]; connects to the cobot through the BIO ecosystem. |
| Cutter | Fast, repetitive cutting action with simple maintenance and reliable industrial operation. |
| Dispenser | Arranges wrapped bars in parallel for a uniform feed rate, eliminating manual positioning. |
| Vision trigger system | Chocolate absorbs normal white light; targeted red/blue spectra with a monochrome camera maximizes optical contrast, enabling reliable detection of cracks, burrs, or millimeter-scale defects. |
| Temperature sensor | Verifies, without contact, that the chocolate is within the ideal 26–29°C range before robotic handling. |
| Photoelectric sensor | Synchronizes the system with the robot to detect the bar and trigger unwrapping. |
| Barrier / safety-mat sensors | Ensure operator’s safety when entering the cell; a pressure-sensitive mat signals the master PLC if an operator enters the workspace footprint. |
| Emergency stop button | Provides an immediate stop path in the event of a malfunction. |
| Conveyor position sensor | Detects the bar at the point where unwrapping begins. |
| Food-grade conveyor belts | Continuous material handling compliant with FDA regulations, replacing manual transport [5]. |
| Perimeter fencing | Rigid, modular physical barrier restricting unauthorized entry, compliant with ISO 14120 [6]. |
| Siemens SIMATIC S7-1200 (CPU 1214C DC/DC/DC) | Master controller; triggers the cutting station and coordinates cobot trajectories over Modbus TCP and manages safety interlocks. |
| HMI / Andon light tower | Integrated tower for instant visual status metrics. |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).