Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Industrial Technology

Teach‑Free Path Planning for 2‑Axis Gantries Using MATLAB & PLCnext

📌 Author(s): Roman Mayer, Markus Hoser 📌 Company: maku engineering GmbH 📌 Contact: rommayer@maku-engineering.com, marhoser@maku-engineering.com 📌 Technologies: MATLAB/Simulink, Simscape, Phoenix Contact PLCnext, Siemens Drives, Peter Corke’s Robotic Toolbox

Motivation: Why Teach-Free Path Planning?

In industrial automation, 2-axis gantries are widely used – from CNC machines and pick-and-place robots to material handling systems. The programming of these gantries is often done via teaching, meaning the operator manually moves the system to desired positions, saves these as waypoints, and defines a trajectory.

The Problem:

Our Solution: We have developed a teach-free path planning system that eliminates the need for manual teaching processes. Instead, an intelligent algorithm automatically generates the collision-free trajectory.

Objective:

📌 Images/Visualizations can be found in the last section!

Technical Implementation

Our path planning system utilizes MATLAB's mobileRobotPRM algorithm to generate waypoints. This means:

🟢 Automated Path Planning

🟢 Modeling in MATLAB/Simulink

🟢 Code Generation & Control

Advantage: The entire system can first be simulated and then directly transferred to the real hardware.

Additionally, we successfully integrated Siemens motors with Phoenix Contact support, without requiring extra licenses. This was made possible by using the Siemens inverter device description files (GSDML files) to enable Profinet communication.

Expansion Potential

Our system is modular and can be extended with the appropriate effort:

🔹 Replacement of the Mechanical Model and Adjustment of Drives

🔹 Dynamic Environment Updates

🔹 Expansion to Multi-Axis Systems

Conclusion & Outlook

Our teach-free path planning enables: ✔ Time savings – No manual teaching required ✔ Flexibility – Environmental changes are automatically considered ✔ Easy implementation – Direct code generation for Phoenix Contact PLC

What’s next?

Parts of this project are based on an open-source repository and are freely available. Our enhancements and programs can be provided free of charge upon request. Of course, we are also open to a call if needed.

Depending on the interest in this blog post, we plan to:

Questions, suggestions, or ideas? Feel free to leave a comment or contact us directly!

Hardware Setup / Impressions / Results

Our hardware setup consisted of:

The following map was used for execution/creation:

The width of the obstacles is adjusted according to the tool. Additionally, the automatically generated support points from the start to the target point are shown in red.

The stored waypoints need to be smoothed to achieve seamless transitions between different acceleration phases. Additionally, it is crucial that the path remains differentiable to prevent the motors from decelerating to zero speed.

The movement of both motors is synchronized, with their acceleration phases coordinated to ensure smooth operation.

Finally, here is an image of the successful code generation of the submodel for path planning. The integration of the generated object can be carried out one-to-one following the descriptions provided by Phoenix Contact!

Note:

The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact. Use them at your own risk.


Industrial Technology

  1. Choosing Between Urethane Casting and Injection Molding: A Practical DFM Guide
  2. How Tolerances Impact Design, Production, and Cost
  3. How IoT Boosts Metal Fabrication: 4 Proven Efficiency Gains
  4. Mastering E3.Cable: How to Position Connector Inserts for Optimal Performance
  5. E3.cable L1: Master Robust, Optimized Cable & Harness Design
  6. Leveraging RFx Software to Drive Sales Growth Amid Labor Shortages
  7. The Ultimate Guide to Overmolding Materials for Durable Plastic Parts
  8. Utility Asset Tracking: Powering the Energy Transition
  9. Harnessing Automation in Manufacturing: Boost Efficiency & Cut Labor Costs
  10. How 3D Printing is Revolutionizing Sand Casting