53
Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Embed Size (px)

DESCRIPTION

This webinar introduces new techniques and case studies for efficiently increasing the fidelity of system models for multibody robotic system design. Using symbolic computation techniques, multibody models can be effectively preprocessed to select optimal coordinate frames, eliminate redundant calculations, simplify algebraic constraints, and generate computationally minimal code for real-time deployment. Furthermore, novel mathematical techniques can be deployed for efficient parameter optimization and other advanced analysis. Applications in robotics, including space and industrial robotics will be presented. The symbolic computation system Maple and the related modeling system MapleSim will be used to illustrate examples. Attend this webinar to learn: – How symbolic formulations can increase simulation speed without reducing model fidelity – How high fidelity models can accelerate design time, reduce costly design errors, and ultimately improve the functional performance of robotics systems

Citation preview

Page 1: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Page 2: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

This webinar will be available afterwards at

designworldonline.com & email

Q&A at the end of the presentation

Hashtag for this webinar: #DWwebinar

Before We Start

Page 3: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Moderator

Laura Carrabine Design World

Presenters

Dr. Amir Khajepour University of Waterloo

Paul Goossens Maplesoft

Page 4: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc.

Paul Goossens, VP of Applications Engineering, Maplesoft Dr. Amir Khajepour, President, AEMK Systems, and Professor, Mechanical Engineering

Page 5: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

• Introduction – Challenges in Model-based design and development

• Case Studies:

Space Applications oPlanetary Rovers

Automotive Applications oPulsed Active Steering

Robotics Applications oCable-based Parallel Robot

• Summary - Maplesoft Engineering Solutions

• Q&A

Page 6: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

“Virtual” Prototyping through Model-based Design and Development plays an increasingly key role in system design, commissioning and testing.

•Increasing adoption of MBD and simulation

• Reduce prototyping cycles and costs

• Increase end-user functionality, quality, safety and reliability

• Deterministic, repeatable testing platform

Connection to real components with virtual subsystems through Hardware-in-the-Loop (HIL) Testing is critical to this strategy

• Validation of subcomponents and/or controllers before integrating into the vehicle reduces errors and costs

• Validation of the model against the real thing improves the whole process, dramatically reducing development cycles and time-to-market in the future

Greater demand for greater model fidelity…

Page 7: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Scalability

Task

s Capacity

Number of functions (Complexity)

Page 8: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Scalability

Multi-domain Modeling

Engine/ Powertrain

Torque/Speed Inputs

Chassis/Tire Torque/Speed

Outputs

Apply Load??? Driveline

Task

s Capacity

Number of functions (Complexity)

Page 9: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Scalability

Multi-domain Modeling

Real-time Performance

Engine/ Powertrain

Torque/Speed Inputs

Chassis/Tire Torque/Speed

Outputs

Apply Load??? Driveline

Task

s Capacity

Number of functions (Complexity)

Page 10: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Space Applications o Planetary Rovers

Automotive Applications o Pulsed Active Steering

Robotics Applications o Cable-based Parallel Robot

Page 11: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Wheels

Solar cells

Wheel motors

Battery

Power electronics

Heaters

Robotic arms, other peripherals

System Components

Terrain

Environment

Analysis

Rover simulation and animation

Page 12: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Six-wheeled Rocker-Bogie Rover

Angular velocity input

Stee

rin

g an

gle

inp

ut

Modeling Environment

Visualization Environment

Page 13: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Dynamic Model Component Library

Component Library in MapleSim

Planetary Rovers: Dynamic Modeling in MapleSim

Page 14: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Custom Components

Planetary Rovers: Dynamic Modeling in MapleSim

Page 15: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Movie No. 1

Planetary Rovers: Dynamic Modeling in MapleSim

Page 16: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Irradiation on Mars - MapleSim Model

Planetary Rovers: Component Modeling and HIL

Page 17: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Solar Cells Model in MapleSim

Planetary Rovers: Component Modeling and HIL

Page 18: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

LabVIEW™ Model for Hardware/Software MapleSim Connector for LabVIEW™

Planetary Rovers: Component Modeling and HIL

Page 19: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

LabVIEW™ Model for Hardware/Software

Planetary Rovers: Component Modeling and HIL

Page 20: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Input Software

Path Planning Optimization

Rover Kinematics

Hardware (Test Bench)

Halogen Lamps

Solar Panels

Battery

Motor

Charge Controller

Inverter

Load Simulator

CVT

Flywheel

Power Consumption (Driving)

Vehicle Speed

Vehicle - position - orientation - tilt

Component Modeling

Solar Panels

Battery

Motor

Irradiation Model NI® PXI

Light Intensity

LabVIEW™ 2009

HIL Graphical User Interface

Temperature

Voltage

Current

Angular Position

Measurements & Data Logging

Angular Velocity

Hardware in the Loop Overview

Planetary Rovers: Component Modeling and HIL

Page 21: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

HIL Graphical User Interface

Planetary Rovers: Component Modeling and HIL

Page 22: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

δcActuator

N δ

δ

Controller

Vehicle

Dynamic

Sensors

Control System that adds/subtracts a steering angle to the drivers steering input

Has Two Effects: 1. Rollover Prevention 2. Lower Path Following Deviation

What is Active Steering?

Pulsed Active Steering: Introduction

Page 23: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Basic Vehicle Model with input/output signals for simulation

Vehicle Model in MapleSim

Pulsed Active Steering: HIL Experiment

Page 24: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Real-time Simulink® Program

*MATLAB and Simulink are registered trademarks of The Mathworks, Inc. All other trademarks are the property of their respective owners.

Pulsed Active Steering: HIL Experiment

Page 25: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Pulsed Active Steering: HIL Experiment

Page 26: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Graphic User Interface

Pulsed Active Steering: HIL Experiment

Page 27: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Movie No. 2

Pulsed Active Steering: HIL Experiment

Page 28: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

• Parallel Robot

– Low Inertia: Actuating motors are located at base and motor inertia is not part of the system

– High Speed: Less inertia means less required torque, and more power available for speed

• Cable Based Robot

– Use cables under tension in place of solid links

– Apply spine force on end-effector to keep cables under tension

– Less inertia compared to solid links

– Achieve even higher speed

Cable Based Parallel Robots: DeltaBot™ Cable Robot

Page 29: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Cable Based Parallel Robots: DeltaBot™ Cable Robots, 2 and 3 translational and 1 rotational DOF

Page 30: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

MapleSim Model

Cable Based Parallel Robots: DeltaBot™ Cable Robot

Page 31: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Define ground points

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 32: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Create model of arm using Multibody library components

• Rigid body center of mass

• Rigid body frame (links)

• Visualization component

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 33: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Define parameters for the arm

• Define default values of parameters

• Parameters are unique to each instance of shared subcomponent

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 34: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Attach arms to grounds using revolute joints

• Define initial conditions for revolute joints

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 35: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Construct model of triangle assembly

• Convert it to subcomponent and connect it to the main model

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 36: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Create model of cable

• Use a custom spring with a slider

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 37: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Cable Model using Custom Spring

• Very high spring constant under tension

• No spring constant under compression

• Cannot stretch but able to collapse

0.00E+00

1.00E+05

2.00E+05

3.00E+05

4.00E+05

5.00E+05

6.00E+05

-8 -6 -4 -2 0 2 4 6

Spri

ng

Co

nst

ant

K (

N/m

)

Displacement (m)

spring constant vs. displacement

Compression Tension

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 38: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Create subcomponent consisting of pair of cables and spherical joints

• Connect cables to the main model

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 39: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Create model of end-effector subcomponent

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 40: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Construction Steps

• Add cylinder to the main model

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 41: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Final Model for Simulation

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 42: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Sample Generated Plots

• Red: Cable Tension

• Blue: Arm Torque

• Tension is becoming negative in this particular motion

• Try increasing spine force

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 43: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Sample Generated Plots (Revised Simulation)

• Red: Cable Tension

• Blue: Arm Torque

• Increased spine force

• Tension is now always positive for this particular motion

• Drawback: Increased torque requirement

Cable Based Parallel Robots: DeltaBot™ Cable Robot (2-Axis)

Page 44: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Movie No. 3

Cable Based Parallel Robots: DeltaBot™ Cable Robot

Page 45: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

MapleSim is a truly unique physical

modeling tool:

• Built on a foundation of symbolic

computation technology

• Handles all of the complex mathematics

involved in the development of engineering

models

• Multi-domain systems, plant modeling,

control design

• Leverages the power of Maple to take

advantage of extensive analytical tools

• Reduces model development time from

months to days while producing high-

fidelity, high-performance models

Page 46: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Driveline Component Library More Libraries

-dSPACE® -LabVIEW™ -NI® VeriStand™ -MATLAB® & Simulink® -B&R Automation Studio

*Simulink and MATLAB are registered trademark of The Mathworks, Inc. All other trademarks are property of their respective owners.

Page 47: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Automatic

Equation

Generation Symbolic model simplification

Optimized code generation

Best performance

~10x faster than similar tools

Advanced analysis

Parameter optimization

Sensitivity etc

Multibody kinematics and dynamics

Equation-based Model Creation

Enter system equations

Test/Validate model

Easy component block generation

Greater insight into

system behavior

Page 48: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Plant model Analysis Controller design

Equation and code generation

Controller implementation (and design) Real-time management

Embedded controller Data acquisition

System HIL Simulation

*Simulink and MATLAB are registered trademark of The Mathworks, Inc. All other trademarks are property of their respective owners.

-dSPACE® -LabVIEW™ -NI® VeriStand™ -MATLAB® & Simulink® -B&R Automation Studio

Page 49: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

• Physical modeling: increasingly important – and increasingly complex – in systems design, testing and integration.

• Symbolic technology: proven engineering technology that significantly improves model fidelity without sacrificing real-time performance.

• MapleSim: ideal tool for rapid development of high-fidelity physical models of mechatronics systems to help engineers achieve their design goals.

Page 50: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

© 2012 Maplesoft, a division of Waterloo Maple Inc. A CYBERNET group company

Thank You!

Questions?

To stay connected: www.maplesoft.com/subscribe

Page 51: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Questions?

Design World Laura Carrabine [email protected] Phone: 440.234.4531 Twitter: @wtwh_laurac

University of Waterloo Dr. Amir Khajepour [email protected]

Maplesoft Paul Goossens [email protected] www.maplesoft.com/subscribe

Page 52: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems

Thank You

This webinar will be available at designworldonline.com & email

Tweet with hashtag #DWwebinar

Connect with

Twitter: @DesignWorld

Facebook: facebook.com/engineeringexchange

LinkedIn: Design World Group

YouTube: youtube.com/designworldvideo

Discuss this on EngineeringExchange.com

Page 53: Advanced Modeling & Simulation Techniques for Multibody Robotic Systems