SimulateTwolink.m uses inverse dynamics to simulate the torque trajectories required for a two-link planar robotic manipulator to follow a prescribed trajectory. It also computes total energy consumption. This code is provided as supplementary material for the paper:
'Engineering System Co-Design with Limited Plant Redesign'
Presented at the 8th AIAA Multidisciplinary Design Optimization Specialist Conference, April 2012.
The paper is available from:
A video illustrating the motion of several design solutions investigated in this paper is available on YouTube:
This code was used in the solution of optimization problems described in the above paper, including problems that correspond to:
- sequential mechatronic design
- co-design for energy minimization (integrated plant and control design)
- co-design with limited plant redesign (for system repurposing)
The data for each case presented in the paper is provided so that plots of workspace trajectories and torque-speed curves can be reproduced.
Note: this code provides only analysis capability. No optimization code is included. Optimization implementations for the above paper require TOMLAB.
James Allison (2021). Simulation and Limited Redesign of a Two Link Robotic Manipulator (https://www.mathworks.com/matlabcentral/fileexchange/36213-simulation-and-limited-redesign-of-a-two-link-robotic-manipulator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!