Submitted:
27 June 2024
Posted:
27 June 2024
You are already at the latest version
Abstract

Keywords:
1. Introduction
- a)
- Adaptability to constraints imposed by the user. Therefore, being able to have various complexity levels implemented by the programmer.
- b)
- It is necessary to preinstall MATLAB but it is not necessary for the user to have MATLAB knowledge
- c)
- Depending on its complexity, any serial robot configuration can be simulated.

2. Related Work
3. Materials and Methods
3.1. Generating a Simulation in MATLAB
3.2. Application Overview
3.3. Graphical User Interface
3.4. MATLAB Scripts
3.4.1. Main Script
3.4.2. Generates_Simulink_Models Script
4. Validation and Results
- Accuracy verification: The objective is to demonstrate that the simulations generated using the proposed method are equivalent to those obtained using standard theoretical methods (D-H or direction cosines). The coordinate matrix of the origin of system T3 (fourth column in matrix H1, respectively H2) complies with the geometrical values, therefore validating the calculations performed.
- Efficiency analysis: The number of operations performed by the user to complete simulations, was considered as a factor that characterizes efficiency.. The steps involved in both the standard method and the proposed application will be enumerated, demonstrating a significant reduction in user operations with the application.
- Operating system: Windows 11
- Processor Intel Core i5
- RAM: 8GB
- MATLAB Version: MATLAB R2023a
4.1. Accuracy Verification
4.2. Efficiency Analysis
- -
- Creating the Simulink model RobotStructure
- -
-
Adding the blocks:
- o
- 3 x mandatory blocks (Solver Configuration, Mechanism Configuration, World Frame)
- o
- 4 x elements
- o
- 3 x Revolute Joint
- o
- 7 x Rigid Transform
- -
- Adding lines between blocks of RobotStructure model
- -
- Setting parameteres
- -
- Creating a MATLAB script to obtain the Rigid Body Tree
- -
- Creating the Simulink model SimulationModel
- -
-
Adding blocks
- o
- 3 x Constant
- o
- 3 x Gain
- o
- 3 x Simulink-PS Converter
- o
- 3 x PS-Simulink Converter
- o
- 1 x Mux
- o
- 1 x Get Transform
- o
- 1 x Coordinate Transformation Conversion
- -
- Adding the RobotStructure model
- -
- Adding lines between blocks of SimulationModel model
- -
- Setting parameters
- -
- Run Main script
- -
- Complete the name of the robot
- -
- Fill in the desired type of joints
- -
- Fill in the sizes of the elements
- -
- Provide the joint variables
- -
- Press the Simulation button
4. Discussion
Author Contributions
Funding
Conflicts of Interest
References
- J. Frohm., V. Lindström, M. Winroth, J. Stahre, The Industry’s View on Automation in Manufacturing. IFAC Proceedings Volumes 2006, 39, 453–458. [CrossRef]
- S. Patil, V. Vasu, K. V. S. Srinadh, Advances and perspectives in collaborative robotics: a review of key technologies and emerging trends. Discov Mechanical Engineering 2023, 2, 13.
- T. Melton, The Benefits of Lean Manufacturing: What Lean Thinking has to Offer the Process Industries. Chemical Engineering Research and Design 2005, 83, 662–673.
- K. Satish Prakash, T. Nancharaih, V.V. Subba Rao, Additive Manufacturing Techniques in Manufacturing -An Overview. Materials Today: Proceedings 2018, 5, 3873-3882.
- M. Soori, B. Arezoo, R. Dastres, Internet of things for smart factories in industry 4.0, a review. Internet of Things and Cyber-Physical Systems 2023, 3, 192-204.
- D. Mourtzis, M. Doukas, D. Bernidaki, Simulation in Manufacturing: Review and Challenges. Procedia CIRP 2014, 25, 213-229.
- Z. Papulová, A. Gažová, Ľ. Šufliarský, Implementation of Automation Technologies of Industry 4.0 in Automotive Manufacturing Companies. Procedia Computer Science 2022, 200, 1488–1497. [CrossRef]
- K. Kovič, J. Aljaž, R. Ojsteršek, I. Palčič, The Impact of Changing Collaborative Workplace Parameters on Assembly Operation Efficiency. Robotics 2024, 13, 36. [CrossRef]
- Luft, A Cost/Benefit and Flexibility Evaluation Framework for Additive Technologies in Strategic Factory Planning”. Processes 2023, 11, 1968. [CrossRef]
- C. Taesi, F. Aggogeri, N. Pellegrini, COBOT Applications—Recent Advances and Challenges. Robotics 2023, 12, 79.
- S. M. Zahraee, A. Tolooie, S. J. Abrishami, N. Shiwakoti, P. Stasinopoulos, Lean manufacturing analysis of a Heater industry based on value stream mapping and computer simulation. Procedia Manufacturing 2020, 51, 1379–1386.
- T. S. Sokratis Tselegkaridis, Simulators in Educational Robotics: A Review. Educ. Sci. 2021, 11, 11.
- H. H. F. Hosseinpour, Importance of Simulation in Manufacturing. In World Academy of Science, Engineering and Technology, 27.03.2009.
- Z. G. B. Evrim Eyikara, The importance of simulation in nursing education. World Journal on Educational Technology 2019, 9, 6.
- A. Afzal, D. S. Katz, C. Le Goues, C. S. Timperley, Simulation for Robotics Test Automation: Developer Perspectives. In IEEE Conference on Software Testing, Verification and Validation, Porto de Galinhas, Brazil, 12.04.2021.
- J. Collins, S. Chand, A. Vanderkop, D. Howard, A Review of Physics Simulators for Robotic Applications. IEEE Access 2021, 9, 51416-51431.
- K. S. A. M.-R. H. Z. Yilin Yan, “Simulation of the Landing Buffer of a Three-Legged Jumping Robot,” Machines 2022, 10, 299.
- L. Žlajpah, Simulation in Robotics. Mathematics and Computers in Simulation 2008, 79, 879–897. [CrossRef]
- X. -J. M. Z.-J. D. H.-X. H. L. -X. Zhang, Simulation-Based Reliability Design Optimization Method for Industrial Robot Structural Design. Appl. Sci. 2023, 13, 3776. [CrossRef]
- W. J. Q. Z. W. Z. J. Zhong, Design and Simulation of a Seven-Degree-of-Freedom Hydraulic Robot Arm. Actuators 2023, 12, 362.
- R. D. C. Garriz, Trajectory Optimization in Terms of Energy and Performance of an Industrial Robot in the Manufacturing Industry. Sensors 2022, 22, 7538. [CrossRef] [PubMed]
- Nam, S.M.; Park, J.; Sagong, C.; Lee, Y.; Kim, H.-J. A Vehicle Crash Simulator Using Digital Twin Technology for Synthesizing Simulation and Graphical Models. Vehicles 2023, 5, 1046–1059. [Google Scholar] [CrossRef]
- Calderón-Arce, C.; Brenes-Torres, J.C.; Solis-Ortega, R. Swarm Robotics: Simulators, Platforms and Applications Review. Computation 2022, 10, 80. [Google Scholar] [CrossRef]
- Y. T. Somar Boubou, Swarm Robot Simulation using Object-Oriented programming. In Proceedings of SICE Annual Conference, Taipei, Taiwan, 18.08.2010.
- Bencak, P.; Hercog, D.; Lerher, T. Simulation Model for Robotic Pick-Point Evaluation for 2-F Robotic Gripper. Appl. Sci. 2023, 13, 2599. [Google Scholar] [CrossRef]
- González-García, S., Rodríguez-Arce, J., Loreto-Gómez, G. et al. Teaching forward kinematics in a robotics course using simulations: transfer to a real-world context using LEGO mindstorms™. Int J Interact Des Manuf 2020, 14, 773–787.
- Rafael Arnay, Javier Hernández-Aceituno, Evelio González, Leopoldo Acosta, Teaching kinematics with interactive schematics and 3D models. Computer Applications in Engineering Education 2017, 25, 420 – 429.
- J. A. M. T.J. Mateo Sanguino, Simulation tool for teaching and learning 3D kinematics workspaces of serial robotic arms with up to 5-DOF. Computer Applications in Engineering Education 2012, 20, 750-761.


















| Standard Method | Proposed Method |
| User must build a Simulink Model using the Simscape library that contains the structure of the robot (RobotStructure) | Programmer creates the application that contains a GUI |
| RobotStructure model has to contain blocks representing the links and joints of the robot, connected by coordinate systems, some solver blocks, and the global coordinate system | User runs the main Script (Main) and the graphical interface is open |
| User has to create a MATLAB script where they import the Rigid Body Tree of the robot | User fills in the information about the structure of the robot (name of the robot, type of joints, base parameters, link length, etc.) |
| After the script is run, User has to create a second Simulink model (SimulationModel) | User presses the push button called “Simulation” |
| SimulationModel is going to contain blocks with the values of the joint variables, blocks that convert the measurement unit and are connected to the joints, the structure of the robot, and blocks that solve the kinematics problem | The scripts are going to be run creating two Simulink models: RobotStructure and SimulationModel. SimulationModel going to be run automatically |
| User has to configure the parameters for all of the blocks and make the connections between them | Simulation of the robot can be visualized in MATLAB |
| When finished, SimulationModel must be run | |
| Simulation of the robot can be visualized in MATLAB |
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. |
© 2024 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 (https://creativecommons.org/licenses/by/4.0/).