New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic...

41
Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator 氣液壓機械系統和工業機器人的動力學分析與控制 Department of Power Mechanical Engineering Institute of Mechanical and Electro-Mechanical Engineering National Formosa University Master Thesis Defense Graduate Student: TRAN CAO SANG(陳高創) Advisor: Yunn-Lin Hwang Co-Advisor: Jeng-Haur Horng

Transcript of New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic...

Page 1: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Dynamic Analysis and Control of HydraulicMachine System and Industrial Robotic Manipulator

氣液壓機械系統和工業機器人的動力學分析與控制

Department of Power Mechanical Engineering

Institute of Mechanical and Electro-Mechanical Engineering

National Formosa University

Master Thesis Defense

Graduate Student: TRAN CAO SANG(陳高創)

Advisor: Yunn-Lin Hwang

Co-Advisor: Jeng-Haur Horng

Page 2: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Chapter 1: Introduction

Chapter 2: Software and Hardware

Chapter 3: Applied Theories

Chapter 4: Numerical Application

Chapter 5: Trajectory Planning of Industrial Robot

Chapter 6: Experimental Results

Chapter 7: Conclusions and Future Works

Outline

Page 3: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems Industrial Robotic Arms

CNC machine Car - pendulum

Applied Theories

Simulation Results

Applied Theories

Simulation Results

3DOF Robotic Arm 6DOF Robotic Arm

Applied Theories

Simulation Results

Applied Theories

Experimental results

Experimental Results

Outline

Page 4: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems

CNC Machine Car - Pendulum

Page 5: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

CNC machine

1. How to create the hydraulic controller for this machine?

2. How to control the machine with trajectory planning ?

3. How about connection between hydraulic controller and model ?

Hydraulic Systems

Page 6: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - How to create the hydraulic controller for this machine?

( ) 1 1 2 2. . . .sin( ) . . .cos( ) .exF f p A p A m g m g v visc

1 1 2 2. . . . .F p A p A m g v visc

Ox

y

Page 7: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

2

1

.

4

pistondiamA

2 2

2

.

4

piston roddiam diamA

..F mx

Hydraulic Systems - How to create the hydraulic controller for this machine?

1 1 2 2. . . . .F p A p A m g v visc

Page 8: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - How to create the hydraulic controller for this machine?

Interface between AMESim and RecurDyn

Page 9: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - How about connection ?

In this case, I am going to draw the circle

and compare with two methods.

Page 10: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - CNC Machine - Simulation Results

Control without Trajectory

Planning Equation

Control with Trajectory

Planning Equation

Page 11: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - CNC Machine - Simulation Results

The displacement trace on working table Displacement of working table

Page 12: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems - CNC Machine - Simulation Results

Figure 27. Displacement signals of second cylinder - X axis Figure 28. Displacement signal of third cylinder - Z axis

Page 13: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems – Car-Pendulum

Questions

How do we do this thing?

How do we calculate that force?

If we got that formula, How do

we use it to control ?

Page 14: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems – Car-Pendulum

𝐿 = 𝑇𝑐𝑎𝑟 + 𝑇𝑝𝑒𝑛𝑑𝑢𝑙𝑢𝑚 − 𝑉𝑐𝑎𝑟 − 𝑉𝑝𝑒𝑛𝑑𝑢𝑙𝑢𝑚

𝐿 = 𝑇 − 𝑉

Kinetic EnergyPotential Energy

Using Euler- Lagrange Equation : 𝑚𝑙 ሷ𝜃 − 𝑚𝑙cos𝜃 ሷ𝑥 + 𝑚𝑔𝑙sin𝜃 = 0

𝑀 +𝑚 ሷ𝑥 − 𝑚𝑙cos𝜃 ሷ𝜃 + 𝑚𝑙sin𝜃 ሶ𝜃2 = 𝐹 − 𝑏 ሶ𝑥

0 0

0

ml ml mgl

ml M m bx Fx

&&

&&&

2sin ,cos 1, 0 &linear

Page 15: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems – Car-Pendulum

Formula

0 0

0

ml ml mgl

ml M m bx Fx

&&

&&&

Page 16: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Hydraulic Systems – Car-Pendulum

Hydraulic Components

Page 17: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

7o

The results and simulation

Hydraulic Systems – Car-Pendulum – Simulation Results

Page 18: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Arms

4 axes Robotic arm

6 DOF Robotic arm

Page 19: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes)

Life, Science, Biology Pick and Place

Page 20: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes)

Draw, Painting Gripper

Page 21: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Where do we

start from ?

How do we control

that kinds of robot ?

Industrial Robotic Manipulator – 3DOF(4 Axes)

What is

input ?

What is

output ? Which softwares

are useful things ?

Questions….?

Page 22: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Xa, Ya, Za

Industrial Robotic Manipulator – 3DOF(4 Axes) - Analysis

Servo 1, Servo 2,Servo 3, Servo 4

Input

Output

Processing (Calculation)

Page 23: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

d1

a2

a1

a3

d1,a1,a2,a3 are given

Industrial Robotic Manipulator – 3DOF(4 Axes) - Analysis

Page 24: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes) - Solutions

d1,a1,a2,a3 are given

Xa, Ya, Za are input from user

Page 25: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes) - Interface

C/C++ language*DLL filesProgram

Input formulas to RecurDyn for simulation

Create the formulas in C language

Page 26: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes) - Interface

C language

MPLAB Software DSPIC development KitServo motors

PWM

Page 27: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 3DOF(4 Axes) - Results

Simulation in RecurDyn Experimental Results

Page 28: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

Page 29: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

Page 30: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

Xa, Ya, Za,

Phi, Theta, Psi

Dynamixel servo motor 1, …,

Dynamixel servo motor 10.

Input

Output

Processing (Calculation)

Page 31: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

d1

a1 a2

a3

d6

Dimensions ( d1, a1, a2, a3, d6 ) are given

Page 32: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

The solutions for first three

revolute joints should be the

same 3DOF robotic arm’s

solution what we got at

previous slides

Dimensions ( d1, a1, a2, a3, d6 ) are given3DOF robotic manipulator

Page 33: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

2

5 1 13 1 23 1 13 1 23tan , 1 ( )A s r c r s r c r

Industrial Robotic Manipulator – 6DOF

4 1 23 13 1 23 23 23 33 1 23 13 1 23 23 23 33tan ,A c c r s c r s r c s r s s r c r

6 1 11 1 21 1 12 1 22tan ,A s r c r s r c r

3.2.3. Inverse kinematics

Solutions for this case should be rewritten :

Page 34: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF

AVR Studio software

Communicator

Electric control circuit using AVR microcontroller

Solutions

Page 35: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF – Experimental Results

Straight Line Circle

Gripper in 6DOF

Initial position of bottle:

B(0.13,0.13,0.05,-30,90,-45)

Target position of bottle:

B’(0.23,-0.17,0.3,-90,0,0)

X Y Z

Page 36: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robotic Manipulator – 6DOF – Experimental Result Video

Page 37: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

General Results

1. Deriving formulas to control hydraulic cylinders

2. Establishing the procedure for interface between AEMSim and RecurDyn

3. Solving the balancing problem by using Euler-Lagrange equation

4. Building, feedback controlling interface between two softwares making the

simulation

5. Figure out the solution for 3DOF robotic arm

6. Program formulas in C language

7. Take simulation on RecurDyn

8. Done the experimental results

9. Solving the solutions of inverse kinematic for 6 DOF robotic manipulator

10. Program formulas in C language

11. Done the experimental results

CNC machine

Car - pendulum

3DOF robotic arm

6DOF robotic arm

Page 38: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robot – 6DOF – Related work – 3DOF Industrial Robot

Page 39: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Industrial Robot – 6DOF – Related work – Hexapod model

Page 40: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator

Related work – Partical Dynamic Simulation Fluid

Application

Simulation ResultSimulation Result

Page 41: New Master Thesis Defense140.130.17.58/rd/Final report_Cao Sang.pdf · 2017. 6. 30. · Dynamic Analysis and Control of Hydraulic Machine System and Industrial Robotic Manipulator