A MAPLE-MATLAB INTERFACE A CASE FOR THE OPTIMIZATION TOOLBOX Enrique Díaz de León * - René V. Mayorga ** - Graciano Dieck*** * ITESM - Guadalajara Campus,

Slides:



Advertisements
Similar presentations
The Complete Technical Analysis and Development Environment An attractive alternative to MATLAB and GAUSS - Physics World.
Advertisements

An Introduction to the Kinetic Evaluation Software KinGUI
DIGIDOC A web based tool to Manage Documents. System Overview DigiDoc is a web-based customizable, integrated solution for Business Process Management.
Programming Languages By Stefan Kyriacou. Procedural Language Procedural (also known as imperative language) language is a programming language that works.
Kinematic Synthesis of Robotic Manipulators from Task Descriptions June 2003 By: Tarek Sobh, Daniel Toundykov.
MATLAB MATLAB is a high-level technical computing language and
Chapter 3: Modules, Hierarchy Charts, and Documentation
Designing Multimedia with Fuzzy Logic Enrique Diaz de Leon * Rene V. Mayorga ** Paul D. Guild *** * ITESM, Guadalajara Campus, Mexico ** Faculty of Engineering,
How Are Algorithms Developed?
RATRIX : A RATional matRIX calculator for computer aided analysis and synthesis of linear multivariable control systems P. Tzekis, N.P. Karampetakis and.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
1 8. Safe Query Languages Safe program – its semantics can be at least partially computed on any valid database input. Safety is tied to program verification,
A COMPUTER BASED TOOL FOR THE SIMULATION, INTEGRATED DESIGN, AND CONTROL OF WASTEWATER TREAMENT PROCESSES By P. Vega, F. Alawneh, L. González, M. Francisco,
NORM BASED APPROACHES FOR AUTOMATIC TUNING OF MODEL BASED PREDICTIVE CONTROL Pastora Vega, Mario Francisco, Eladio Sanz University of Salamanca – Spain.
Overview of The Operations Research Modeling Approach.
Interactive Layout Design Optimization Author: Jeremy J. Michalek Presented by: Hoda Homayouni.
1 Chapter 2 Problem Solving Techniques INTRODUCTION 2.2 PROBLEM SOLVING 2.3 USING COMPUTERS IN PROBLEM SOLVING : THE SOFTWARE DEVELOPMENT METHOD.
Linear Programming.
AceGen and AceFEM packages
MapleSim and the Advantages of Physical Modeling
Systems Analysis – Analyzing Requirements.  Analyzing requirement stage identifies user information needs and new systems requirements  IS dev team.
Introduction to MATLAB Session 1 Prepared By: Dina El Kholy Ahmed Dalal Statistics Course – Biomedical Department -year 3.
Introduction to M ATLAB EE 100 – EE Dept. - JUST.
C HU H AI C OLLEGE O F H IGHER E DUCATION D EPARTMENT O F C OMPUTER S CIENCE Preparation of Final Year Project Report Bachelor of Science in Computer Science.
An Introduction to Visual Basic
Automatic Generation of Numerical Codes Jože Korelc University of Ljubljana, Slovenia
Programming Lifecycle
Chapter 11 An Introduction to Visual Basic 2008 Why Windows and Why Visual Basic How You Develop a Visual Basic Application The Different Versions of Visual.
Computational Physics Introduction 3/30/11. Goals  Calculate solutions to physics problems  All physics problems can be formulated mathematically. 
1 Computer Programming (ECGD2102 ) Using MATLAB Instructor: Eng. Eman Al.Swaity Lecture (1): Introduction.
Matlab for Engineers About Matlab Chapter 1. Matlab for Engineers What’s in this Chapter? What is Matlab? Student Edition of Matlab How is Matlab used.
About MATLAB® Chapter 1 Welcome to Chapter 1 of MATLAB for Engineers. In this chapter we’ll introduce you to the MATLAB computer software program.
Numerical Methods in Scientific Computation Lecture 2 Programming and Software Introduction to error analysis Numerical Methods, Lecture 2 1 Prof. Jinbo.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 2.
EZYFLO. Aim of EZYFLO To draw simple flowcharts To reduce the memory size of the flowchart To create a software which runs in DOS environment also.
SE: CHAPTER 7 Writing The Program
United Nations Economic Commission for Europe Statistical Division The Importance of Databases in the Dissemination Process Steven Vale, UNECE.
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Lecture 2 Numerical Methods for Engineering MECN 3500 Department of Mechanical Engineering Inter American University of Puerto Rico Bayamon Campus Dr.
1 Programming with MATLAB ผศ. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem
Database Concepts Track 3: Managing Information using Database.
PROGRAM DEVELOPMENT CYCLE. Problem Statement: Problem Statement help diagnose the situation so that your focus is on the problem, helpful tools at this.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
Computer Components: Software Computer Technology.
Visualization in Problem Solving Environments Amit Goel Department of Computer Science Virginia Tech June 14, 1999.
Structural Design Software TYLER HUTCHISON. Requirements  Develop an interface to generate a text file.  The text file is then passed to one of five.
What is Computer Software?. Hardware vs Software Got to have both to get the job done!
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
C HU H AI C OLLEGE O F H IGHER E DUCATION D EPARTMENT O F C OMPUTER S CIENCE Preparation of Final Year Project Report Bachelor of Science in Computer Science.
Math 252: Math Modeling Eli Goldwyn Introduction to MATLAB.
Programming. In your own words, explain what an algorithm is, and give an example of how people use algorithms every day.
CSCE 441: Computer Graphics Forward/Inverse kinematics Jinxiang Chai.
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
1 Programming and problem solving in C, Maxima, and Excel.
Solving Engineering Problems
CSCE 441: Computer Graphics Forward/Inverse kinematics
Transportation Networks CIVE 744
Classifications of Software Requirements
Programming Languages
DELLSOFT Technologies Pvt. Ltd.
Lecture 25.
Software for scientific calculations
Objectives of the Presentation
Introduction to Graphics Modeling
Unit# 9: Computer Program Development
Use of Mathematics using Technology (Maltlab)
CSCE 441: Computer Graphics Forward/Inverse kinematics
Solving Engineering Problems
Digital Image Processing
Introduction to Systems Analysis and Design Stefano Moshi Memorial University College System Analysis & Design BIT
Presentation transcript:

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

INTERFACE MAPLE MATLAB

How the idea was born Maple and Matlab Characteristics of Maple and Matlab, as well as the description of some interfaces Introduction

General description of the interface Maple Matlab and how to use it Examples Conclusions

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

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

Current software available Maple characteristics Matlab characteristics Current Interfaces

Maple characteristics Very powerful symbolic language software Capacity of inputs and outputs (files) User friendly and easy programming Graphics capacity Advantages

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

Matlab characteristics Very powerful numerical software Capacity of inputs and outputs (files) Advantages

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

Matlab characteristics It is not very user friendly Does not handle general symbolic expressions Particular manner for user interaction Disadvantages

Current Interfaces Matlab Interface Maple (Symbolic Toolbox) Mathematica Interface (Symbolic Numeric) Mathematica Interface Fortran or C

AN INTERFACE MAPLE MATLAB

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)

General Description 3. Matlab execution (Optimization Toolbox with the selected subroutine) Results in a Matlab.res file

Interface Maple-Matlab Program in C MAPLEMATLAB mm.map 13 2

Optimization Toolbox Constr Minimax fmin, fminu, fmins attgoal leastsq Constraint Minimax Minimization Goal Attainment Least Squares

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

Kinematic Design Optimization of Robot Manipulators Examples

Kinematics Design Optimization of Planar Robot Manipulators Manipulability Isotropy condition criterion (2 cases) Upper bound on Condition number Upper bound on Rank Preservation

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

Flow chart START Optimization subroutine: constr Input.map Constraints? mm.map func.m Result.map g[1]=3.0-( ) 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

Conclusions Detailed study of software for mathematical (Symbolic and Numeric) computation Interface Maple Matlab

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

Thanks !