Download presentation
Presentation is loading. Please wait.
Published byNorah Powers Modified over 8 years ago
1
A MAPLE-MATLAB INTERFACE A CASE FOR THE OPTIMIZATION TOOLBOX Enrique Díaz de León * - René V. Mayorga ** - Graciano Dieck*** * ITESM - Guadalajara Campus, Mexico ** University of Regina, Canada *** ITESM - Monterrey Campus, Mexico
2
INTERFACE MAPLE MATLAB
3
How the idea was born Maple and Matlab Characteristics of Maple and Matlab, as well as the description of some interfaces Introduction
4
General description of the interface Maple Matlab and how to use it Examples Conclusions
5
How was the idea born? Kinematic Design Optimization of Manipulators Initial problem in symbolic form using Maple Find a numerical solution with the use of the Optimization ToolBox in Matlab
6
How was the idea born? A “manual” step by step process The need of an option to manipulate the inputs to obtain different outputs efficiently
7
Current software available Maple characteristics Matlab characteristics Current Interfaces
8
Maple characteristics Very powerful symbolic language software Capacity of inputs and outputs (files) User friendly and easy programming Graphics capacity Advantages
9
Maple characteristics Some numerical methods used are not very efficient There are certain type of procedures that can not be realized completely Does not have routines for Optimization Disadvantages
10
Matlab characteristics Very powerful numerical software Capacity of inputs and outputs (files) Advantages
11
Matlab characteristics The numerical methods used are very efficient It is a very versatile software due to the “Toolboxes” that are available for many applications Advantages
12
Matlab characteristics It is not very user friendly Does not handle general symbolic expressions Particular manner for user interaction Disadvantages
13
Current Interfaces Matlab Interface Maple (Symbolic Toolbox) Mathematica Interface (Symbolic Numeric) Mathematica Interface Fortran or C
14
AN INTERFACE MAPLE MATLAB
15
General Description Platform: Unix Programming: Language C 1. Initial problem in Maple 2. Program mm.map (it translates the output from Maple as input to Matlab)
16
General Description 3. Matlab execution (Optimization Toolbox with the selected subroutine) Results in a Matlab.res file
17
Interface Maple-Matlab Program in C MAPLEMATLAB mm.map 13 2
18
Optimization Toolbox Constr Minimax fmin, fminu, fmins attgoal leastsq Constraint Minimax Minimization Goal Attainment Least Squares
19
Flow chart START Define Optimization Subroutine Input.map Constraints? mm.map func.m Result.map my.con Optimization Conditions (Optim.m) (Maple) (Matlab) yes no
20
Kinematic Design Optimization of Robot Manipulators Examples
21
Kinematics Design Optimization of Planar Robot Manipulators Manipulability Isotropy condition criterion (2 cases) Upper bound on Condition number Upper bound on Rank Preservation
22
Kinematics Design Optimization of Robot Manipulators Kinematics Design Optimization of Robot Manipulators Using Upper bound on Rank Preservation: - 7 DOF Anthropomorphic Manipulator; - 7 DOF Space Station Robot Manipulator
23
Flow chart START Optimization subroutine: constr Input.map Constraints? mm.map func.m Result.map g[1]=3.0-(11+12+13) x0=(1.7,1.7,1.7,1,1,1) vl b=( , , ,.5,.5,.5) vu b =(- ,- ,- ,.95,.95,.95) options(13)=1 constr(func,x0,options) (Maple) (Matlab) yes no (Case A: Manipulability) constraint Optim.m
24
Conclusions Detailed study of software for mathematical (Symbolic and Numeric) computation Interface Maple Matlab
25
Conclusions Useful Software Tool for the solution of problems formulated in Symbolic Form requiring for their solution very efficient numerical methods such as those provided by Matlab Application: Kinematic Design Analysis/Optimization of Robot Manipulators
26
Thanks !
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.