Modeling Mechanical Electrical And Hydraulic Systems


495 110 2MB

English Pages 29 Year 2006

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Modeling Mechanical, Electric, and Hydraulic Systems in Simulink®......Page 1
Physics-Based Modeling Methods Improve Control System Design......Page 2
Biggest Benefit – Delivered Through Simulink®......Page 11
Why did we build SimHydraulics?......Page 12
Pros and Cons for Hydraulics......Page 13
Hydraulic System Schematic Diagram......Page 14
Block Diagrams......Page 15
Physical System Diagrams......Page 16
Two Approaches to Modeling Dynamic Systems......Page 21
Two Approaches to Modeling Dynamic Systems......Page 22
Each Approach Has Its Merits......Page 23
Tools that Span Both Modeling Approaches......Page 24
Inform Model with Test Data......Page 25
Code Generation with Real-Time Workshop®......Page 26
General Engineering Simulation......Page 27
Hydraulic Engineering Simulation......Page 28
Recommend Papers

Modeling Mechanical Electrical And Hydraulic Systems

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Citation preview

© 2006 The MathWorks, Inc.

Modeling Mechanical, Electric, and Hydraulic Systems in Simulink®

Terry Denery, Ph.D. Physics-Based Modeling Tools

Physics-Based Modeling Methods Improve Control System Design

ƒ

Plant

Sensors

ƒ

Controller

Actuators

u

+

Electrical Mechanical Device

y

Multidomain systems (mechanical, electrical, hydraulic, chemical, . . .) Successful controller development requires thorough and accurate understanding of plant 2

Electrical Mechanical Device

Plant

Sensors

Actuators

Important Physical Domains Mechanical -3D Multi-Body Dynamics SimMechanics -Driveline Mechanics SimDriveline

3

Electrical Mechanical Device

Plant

Sensors

Actuators

Important Physical Domains Electrical -Circuits SimPowerSystems -Motors and Actuators -Power Systems

4

Electrical Mechanical Device

Plant

Sensors

Actuators

Important Physical Domains Hydraulics

-Circuits SimHydraulics -Motors and Actuators -Power Systems

5

Sensors

Controller

Actuators

u

+

Electrical Mechanical Device

Control System Plant

y

6

Control System

7

Power Delivery

Electrical Power Network Hydraulic Power Network Mechanical Driveline Power Network 8

Electrical Mechanical Electrical Power Network Hydraulic Power Network Mechanical Driveline Power Network

Device

9

Control Systems within Control Systems

Mechanical Device

Plant

Sensors

Controller

Actuators

u

+

Electrical

y

10

Biggest Benefit – Delivered Through Simulink® ƒ

ƒ

Rich Modeling Environment – Physical – Behavioral – Data-Driven Control System Development Tool – One environment for controller and plant – Code generation that enables HIL testing – Easy access to control tools

11

Why did we build SimHydraulics? ƒ ƒ

Hydraulics is widely used in motion actuation systems Customer Feedback – – –

“Extend benefits of Model-Based Design to hydraulic system design” “Develop better plant models for better controller development” “Co simulation with other products is difficult and impractical”

12

Pros and Cons for Hydraulics Pros: ƒ High power density ƒ Straight-line actuators are simple, efficient and reliable ƒ Variable speed is easily obtained ƒ Simple, efficient, and centralized control ƒ Overload protection

Cons: ƒ High cost ƒ Complex and costly maintenance ƒ Extremely vulnerable to dirt and contamination ƒ Possible leaks ƒ Noise and vibrations ƒ Fire hazards

Design Trend is Electro-Hydraulics: Transmit power electrically, but deliver through local hydraulic networks 13

Hydraulic System Schematic Diagram

14

Block Diagrams p p = p p ( t ),

q O1 = K 1

qA = K A ⋅

pP − pA ,

qO 2 = K 1

p A − pT ,

dp A , dt q A = qO1 − qO 2 , = qO1 ,

p P − p T = ( p P − p A ) + ( p A − p T ).

qP

15

Physical System Diagrams

Hydraulic Schematic

SimHydraulics Model

16

Demonstrations

17

Building Blocks

Mechanical

Mechanical

Signal

Hydraulic

Hydraulic

18

Actuation

19

Multidomain with SimMechanics

20

Two Approaches to Modeling Dynamic Systems First-Principles Modeling

Use an understanding of the system’s physics to derive a mathematical representation

− L2 sin(α ) + nw2 (− sin(α − γ )) sin(γ ) − ne ( − sin(α − γ )) cos(α − γ )α& 2 − n cos(α − γ )γ& 2 α& = ∫ 1 − ne sin 2 (α − γ )



21

Two Approaches to Modeling Dynamic Systems First-Principles Modeling

Use an understanding of the system’s physics to derive a mathematical representation

Data-Driven Modeling

Use system test data to derive a mathematical representation

⎡ s +1 ⎤ 2 α )⎥+ nw (− sin(α − γ )) sin(γ ) − ne ( − sin(α − γ )) cos(α − γ )α& ⎢ 3 − L sin( α& =s∫ +3s +2 ⎥ 1 − ne sin (α − γ ) H(s) = ⎢ 2 ⎢ s +3 ⎥ ⎥ ⎢ 2 ⎣ s +s +1 ⎦ 2

2

2

2

− n cos(α − γ )γ& 2



22

Each Approach Has Its Merits First-Principles Modeling

Data-Driven Modeling

Advantages: ƒ Provides insight into the

Advantages: ƒ Can be a fast method for

system’s underlying behavior ƒ Enables performance prediction for unbuilt systems

developing an accurate model ƒ Instills confidence because it uses data from an actual system

Disadvantages:

Disadvantages:

ƒ Effects like friction and turbulence are difficult to characterize ƒ May be time consuming to develop

ƒ Requires a physical system to acquire test data ƒ Lacks description of physics of the system ƒ May need multiple data sets to cover range of system operation 23

Tools that Span Both Modeling Approaches Complete Modeling Environment

Data-Driven

First-Principles Simulink SimHydraulics SimMechanics SimDriveline SimPowerSystems

Simulink® Parameter Estimation

System Identification Toolbox Neural Network Toolbox Fuzzy Logic Toolbox 24

Inform Model with Test Data Simulink Parameter Estimation ƒ ƒ

Data fitting and optimization techniques Sets parameters defined by physics-based modeling tools

25

Code Generation with Real-Time Workshop® ƒ

ƒ ƒ ƒ

Generate ANSI C code Hardware-in-the-loop (HIL) simulations S-functions In-house code

26

General Engineering Simulation

MATH

MATLAB & Simulink

Domain Programming Effort Knowledge

Engineering Simulation

Flexibility of mathematical modeling enables you to simulate almost anything. 27

Hydraulic Engineering Simulation MATLAB & Simulink

MATH

Domain Programming Effort Knowledge

SimHydraulics

Dom. Know.

Prog. Effort

Hydraulic Simulation

SimHydraulics brings you further by reducing your requirements for hydraulic domain knowledge and programming effort. 28

Multidomain Simulation MATLAB &Simulink

MATH

DK

PE

SimMechanics

DK.

PE

SimPowerSystems

DK.

PE

SimDriveline

DK.

PE

SimHydraulics

DK.

PE

Controls Tools

DK

PE

Real Time Workshop

DK.

PE

Parameter Estimation

DK.

PE

Multidomain Simulation

The MathWorks provides the best combination of tools for multidomain simulations. 29