techshanghai2016 - model based development of mechatronic systems

61
MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS Challenges and opportunities Dr. Yuan Liu

Upload: hardway-hou

Post on 25-Jan-2017

240 views

Category:

Engineering


2 download

TRANSCRIPT

Page 1: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

MODEL BASED DEVELOPMENT OF

MECHATRONIC SYSTEMS

Challenges and opportunities

Dr. Yuan Liu

Page 2: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

The Old Development Approach

BUILD IT

PAINT IT

ADD CONTROLS

Design errors

Requirement misses

Longer development times

Higher development costs

Page 3: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Today’s Products are Complex

Page 4: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Today’s Products are Complex

Clever use of sensors and microprocessors

can significantly reduce energy consumption

Page 5: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Model Based Development

Extended V-model according to Eigner et al.

Page 6: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Model Based Development

Page 7: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Model Based Development

Page 8: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Model Based Development

Page 9: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Model Based Development

Page 10: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Challenges

• INTEGRATING VARIOUS USER COMMUNITIES• Math, Signal-, Physical based Modeling

• ENABLING COLLABORATION• Across Departments

• OEM – Suppliers

• 1D vs. 3D Models

• Flexibility and Affordability

Page 11: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Vision

DRIVING INNOVATION THROUGH SIMULATION

From Concept Design to HIL, SIL Validation

Combining Math, Signal-Based, Physical and 3D Modeling

Page 12: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

HVAC EXAMPLE

Page 13: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Abstract: model

We have created, using the 1D modeling approach, an easy-to-use/physics-based

model in VisSim™ for managing heating, ventilating , air conditioning (HVAC) and

controls in vehicle cabins to be used as a tool to:

1. Improve the passenger comfort

2. Monitoring the electric consumption due to the A/C usage

3. Improve the concept design of HVAC Systems

Page 14: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Abstract: objective

The work is about the analysis of the influence of some input variables on the

cabin temperature trend during the cooling down phase. The analysis is carried out

by using HyperStudy®.

Tem

pera

ture

time

AVERAGE AIR TEMPERATURE IN

CABIN ALONG THE SIMULATION

DESIGN VARIABLES

RESPONSES

- System parameters

- Modeling parameters

Page 15: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Abstract: benefits of the study

• Better understanding of the system

• Identify the most influence parameters on the

studied responses

• If, as design variables, we consider some modeling

parameters, the knowledge of their influence on the

responses is useful during the validation phase

[°C]

• In a second phase, the analysis could be useful to

choose the most important parameters to be used

for optimizing a specific phenomenon of interest

Page 16: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

HVAC System Model

HVAC CABIN

Page 17: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

• Fast exploration of the design space:

o Runs are very fast

o No need of modifying 3D CAD or CFD

grids for different configurations

• Valuable insight of the overall system performance

• Easy integration in the simulation environment of the

control algorithms

• Possibility to monitor the humidity variation inside the

cabin

• Easy managing of input parameters

• Useful in the early stages of the product development as

a design tool

Vehicle HVAC: 1D approach strength

WATER VAPOR LOADS

Page 18: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Vehicle HVAC: 1D approach weakness

• Hard to analyze the flow and temperature

distribution inside the cabin taking into account the

cabin geometry

• Hard to monitor the temperature distribution along

the human body surface

• Not usually used as a verification tool where

experimental tests or CFD analysis are preferred.

Page 19: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Top Level Simulation Interface

Page 20: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.Copyright © 2014 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Analysis Results: Final temperature Tf

1. k_hA: The higher is the evaporator cooling capacity (k_hA) the lower is the cabin

regime temperature since temperature of the inlet air in cabin is lower.

2. Xr_envi: If the inlet air humidity to evaporator is high, a big amount of the

evaporator capacity is involved in the water vapor condensation process rather

than in the air cooling so that the temperature of the inlet flow to the cabin and

the final temperature in cabin are higher.

Δ𝑇𝑓Δ𝑇𝑓

For every simulation, all the

other factors are taken at the

middle value.

Page 21: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Best of the Two Worlds

1D World 3D World

Concept studies

Control design

System performance optimization

Controller implementation and testing

Generation of

parameterized 1D-models

Subsystem optimization

Co-simulation with1D

Page 22: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking

COMPOSE – ACTIVATE – EMBED

Altair‘s Solution for

Model Based Development

Page 23: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Page 24: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Page 25: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Page 26: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Compose

Page 27: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Compose – Data Fitting

Page 28: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Compose – Algorithm Development

Page 29: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Compose – Plotting

Page 30: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate

Page 31: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate

Page 32: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate – Rapid Model Building

Page 33: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate – Example: Oxygen Mask

Page 34: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate – Co-simulation with Multibody Dynamics

Page 35: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate – Example: Optimal Gear Ratios

Page 36: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Activate – Modelica Example: Heating Control

Page 37: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Page 38: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Implementation

Page 39: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Let’s Get Real

IMPLEMEN-

TATION

PLANT

MODELING

CONTROL

DESIGN

&

SIMULATION

CONCEPT REALITY

Page 40: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Let’s Get Real

• Real-time a must

• Memory restrictions

• Word size restrictions

• Debugging information not easily accessible

• Need to configure A/D, D/A, CAN, PWM, I2C, ….

Page 41: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Implementation Concerns

EFFICIENCY OF AUTOMATIC CODE GENERATORS

Will it fit into memory?

Will it be fast enough?

Can I read it?

SUPPORT OF ON-CHIP PERIPHERALS

PWM

Quadrature encoder

Event capture

CAN, I2C, serial, SPI, ADC, GPIO, …

ISN’T IT BETTER TO HAND-CODE?

Page 42: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Code Efficiency

Autogenerated code as efficient as hand-coded

Fixed Point operations are more efficient

4.16 number: 1011.100011011001

vs

Page 43: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Why Fixed Point?

Page 44: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Fixed Point: Overflow Detection and AutoScaling

Page 45: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Debugging in the Real World

Not Needed

• Microcontroller Debugger

• Embed Communication Interface• Plots

• Logging

• Inputs/Disturbances

Page 46: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Addressing Implementation Concerns

EFFICIENCY OF AUTOMATIC CODE GENERATORS

Will it be fast enough?

Will it fit into memory?

Can I read it?

SUPPORT OF ON-CHIP PERIPHERALS

PWM

Quadrature encoder

Event capture

CAN, I2C, serial, SPI, ADC, GPIO, …

ISN’T IT BETTER TO HAND-CODE? NO

Page 47: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

solidThinking Embed – Code Generation

Page 48: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

ROBOTICS DEVELOPMENT

Case Study

Page 49: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Robotics Development

Page 50: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Robotics Development - Inverse Kinematics

Page 51: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Robotics Development - Structural Optimization

Page 52: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Robotics Development - Control Design

Page 53: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Robotics Development – Detailed Performance Evaluation

Page 54: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Best of the Two Worlds

1D World 3D World

Concept studies

Control design

System performance optimization

Controller implementation and testing

Generation of

parameterized 1D-models

Subsystem optimization

Co-simulation with 1D

Page 55: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Addressing the Challenges

• INTEGRATING VARIOUS USER COMMUNITIES• Math, Signal-, Physical based Modeling

• ENABLING COLLABORATION• Across Departments

• OEM – Suppliers

• 1D vs. 3D Models

• Flexibility and Affordability

Page 56: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Opportunities for Model Based Development

DRIVING INNOVATION THROUGH SIMULATION

From Concept Design to HIL, SIL Validation

Combining Math, Signal-Based, Physical and 3D Modeling

Page 57: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Page 58: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

About Us

Staffing Services

EngineeringServices

CAESoftware

PatentedLicensing

Model

HPCSoftware

IndustrialDesign

Services

AnalyticsSoftware

ConceptDesign

Software

CloudSoftware

We help businesses

succeed through the

development and application

of simulation technology to

accelerate innovation

Page 59: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

All Across the Globe

45+ offices in 24 countries on

6 continents with over 2,500 engineers,

scientists, developers, designers

and creative thinkers

Page 60: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Value-based Licensing Model

Altair delivers exceptional value to

customers. Its value-based, patented on-

demand licensing model brings together

partners and in-the-cloud solutions,

maximizing flexibility and cost efficiency

Patented Unit-based Model

Enables the Entire Enterprise

Access to Everything

40+ Partner Applications

Hosted HyperWorks Units

Page 61: TechShanghai2016 - MODEL BASED DEVELOPMENT OF MECHATRONIC SYSTEMS

© 2016 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved.

Altair Partner Alliance (APA)

Material

Management

Durability

NVH

Crash & SafetyAdditive

Manufacturing

Optimization

Structural

Analysis

Collaboration &

Automation

Electromagnetics

Vehicle Dynamics

System Level

Design

Design

Manufacturing

Composites

CFD