machining automated - uvic.ca

38
University of Victoria, B.C. Canada Applications of the Fuzzy Intelligent Systems Applications of the Fuzzy Intelligent Systems Z. Dong, Department of Mechanical Engineering, University of Vic Z. Dong, Department of Mechanical Engineering, University of Vic toria toria Dynamic Traffic Control Dynamic Traffic Control Automated Automated CNC Tool Path Generation CNC Tool Path Generation in Sculptured Surface Machining in Sculptured Surface Machining Intelligent Rough Machining of Sculptured Parts Optimal Tool Path Generation for 3½½-Axis CNC Machining Dynamic Traffic Control for Signalized Highways Real-time Traffic Contra-flow Operation at George Massey Tunnel

Upload: others

Post on 19-Mar-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Applications of the Fuzzy Intelligent SystemsApplications of the Fuzzy Intelligent SystemsZ. Dong, Department of Mechanical Engineering, University of VicZ. Dong, Department of Mechanical Engineering, University of Victoriatoria

Dynamic Traffic ControlDynamic Traffic Control

Automated Automated CNC Tool Path GenerationCNC Tool Path Generationin Sculptured Surface Machiningin Sculptured Surface Machining

• Intelligent Rough Machining of Sculptured Parts• Optimal Tool Path Generation for 3½½-Axis CNC

Machining

• Dynamic Traffic Control for Signalized Highways

• Real-time Traffic Contra-flow Operation at George Massey Tunnel

Page 2: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Automated Automated CNC Tool Path CNC Tool Path GenerationGeneration in Sculptured in Sculptured

Surface MachiningSurface Machining• Intelligent Rough Machining of

Sculptured Parts• Optimal Tool Path

Generation for 3½½-Axis CNC Machining

Page 3: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Intelligent Rough Machining of Sculptured Parts for Maximum Productivity

H. Lee, Z. Dong and G.W. VickersA Project Supported by the Natural Science and

Engineering Research Council of Canada

Page 4: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Rough and Finish Machining of Dies and Injection Molds

Page 5: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

2 1/2D Rough Machining

Page 6: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Intelligent Rough Machining of Sculptured Parts

• ObjectiveMinimize machining time given part geometry,

material and machining constraints• Scope of Study

– Identification of Optimal Machining Strategy Based on Part Geometry

Optimal Tool Path Patterns for 2 ½ D Machining– Identification of Optimal Machining Parameters

Feed-rate, Depth and Width of Cut, Number of Cutting Layers

Page 7: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Various Feasible Tool Path Patterns in 2 ½ D CNC Machining

Page 8: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Clustering of Cutting Layers in Identifying the Optimal Tool Path Patterns

Page 9: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

• Alternatives– Clustering all possible cross-section shapes– Clustering all cutting layers of a given part

• Fuzzy Variables and Function– Fuzzy parameters: length/width ratio, island/stock

area ratio, etc. – Fuzzy Measure: tool path length (machining time)

• Benefits– Around 15 % of machining time reduction– Automation in tool path pattern selection

Identification of Optimal Tool Path Patterns

Page 10: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

...

minX

T = Tc + Tm + Tu + TdTc

Tl

≈ Tc + Tm

= tci1

N

∑ + tmi1

N

∑ =lcij

fcijj= 1

nci

∑i= 1

N

∑ + lmik

fmikk = 1

n mi

∑i= 1

N

X = { N, fi , di ,dc,i , Pi (i = 1, ... N); Sp (x, y, z),Ss (x, y, z)}T

0 ≤ FT ,i (φ) = KTahi (φ) ≤ FT,max

0 ≤ FR,i (φ) = KT KR ahi (φ) ≤ FR,max

Objective Function:

Machine and Process Constraints:

Design Variables:

Geometry Constraints:di = H

i=1

N

Machining Parameter Optimization

Page 11: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Test ResultsHigher Productivity with Reduced

Machining Time: • vs. Manual Planning: 39% • vs. Adaptive Control: 25%

Page 12: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Summary• Two Aspects and Two Methods

– Identification of Optimal Machining Strategy Based on Part Geometry

~ Optimal Tool Path Patterns for 2 ½ D Machining (Fuzzy Intelligent System)

– Identification of Optimal Machining Parameters ~ Feed-rate, Depth and Width of Cut, Number of

Cutting Layers (Math Modeling and Numerical Optimization)

• Machining Time Reduction and Automation (Benefits)– Machining Strategy Optimization (15%)– Machining Parameter Optimization (45%)

Page 13: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Automated Optimal 3½½-Axis CNC Tool Path Generation for Machining Sculptured Parts

Using Fuzzy Pattern Clustering

Z. Chen, Z. Dong and Z. Chen, Z. Dong and G.W. VickersG.W. Vickers

Advanced Manufacturing Lab.Advanced Manufacturing Lab.Dept of Mechanical EngineeringDept of Mechanical Engineering

Supported by NSERCSupported by NSERC(Please see the other poster for details.)

A Surface Patch

Sculptured Part

3-Axis CNC Machine

Tilt-Rotary Table

Page 14: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

3½½-Axis VS. 5-Axis CNC Machining

3½½-Axis CNC Machining

– Discrete Translation and Rotation

– Reorientation for Better Machining Set-up

– Rigid and Less Chatter– Lower Investment and

Cheaper Maintenance– Automatic and Optimal

Tool Path Planning

5-Axis CNC Machining– Synchronized

Translation and Rotation

– Flexible Machining and One-time set-up

– Less Rigid and Prone Chatter

– Higher Costs and Expensive Operating

– Difficult to Generate Tool Path

Page 15: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Sculptured Surface ExpressionTo digitize the surface feature, shape and machinability, surface

expression is needed. Non-Uniform Rational B-Spline (NURBS) surface is often used.

• NURBS Surface Expression

• Surface Shape Types– Convex – Concave – Saddle

Convex Shape Concave Shape Saddle Shape

uv

( ) ( )1 1, . ,1 1

min max min max

( , ) N N

,

n mi j i k j ki j

u v u v

u u u v v v

∑ ∑

+ +

= == ⋅ ⋅

≤ ≤ ≤ ≤

S C

Page 16: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Hierarchical Data StructureSurface Grid Points

Convex Concave Saddle

Accessible & No

Gouging

Inaccessible / Gouging

Accessible & No

Gouging

Accessible & No

GougingInaccessible

/ GougingInaccessible

/ Gouging

05

1015

0

10

20

30

400

5

10

15

X

A Non-uniform B-spline Surface, Its Control Polyhedron and Its Samples

Y

Z

Control Polyhedron (4 X 4)

Grid Points of A NURBS Surface

An Example Sculptured Surface

Page 17: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Fuzzy Pattern Clustering of Surface Points

• Subtractive Fuzzy Clustering– Input: Grid Points of A Surface Shape ( i.e. Accessible Convex)– Output: The Number of Cluster Centers and Their Locations

• Fuzzy C-Means Clustering– Input:

• Grid Points of A Surface Shape ( i.e. Accessible Convex)• The Number of Cluster Centers and Their Locations

– Output:• Optimized Number of Clusters• Locations of the Cluster Centers

Page 18: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Subtractive Fuzzy Clustering on Points

of the NURBS Surface

Fuzzy C-Means Clustering on Points

of the NURBS Surface

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Parameter-u

Parameter-v

Surface Samples and Their Cluster Centers By Subtrctive Clustering Method

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

Parameter-u

Parameter-v

Surface Samples and Their Cluster Centers By FCM Method

Page 19: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Voronoi Diagram of the Surface Patch Boundaries

0 0.2 0.4 0.6 0.8 10

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1

u

v

Cluster Center of Surface Patch

Surface Patch Boundaries

Page 20: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Automatically Generated Optimal Tool Paths

Shown in the Figure:

• Surface Patches• Surface Normal

of the Cluster Centers

• Iso-parameter Tool Paths for Each Surface Patch

Five-axis Machining on Low-cost, 3-axis CNC MachineBetter Surface Quality and Higher Productivity

Page 21: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Dynamic Traffic ControlDynamic Traffic Control

• Dynamic Traffic Control for Signalized Highways

• Real-time Traffic Contra-flow Operation at George Massey Tunnel

Page 22: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Dynamic Traffic Signal Control Using A Self-learning Fuzzy-neural Intelligent System

J. Wu and Z. DongSupported by Ministry of Transportation and Highways of British Columbia

and Institute for Robotics and Intelligent Systems

Page 23: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Major Obstacles for Dynamic Traffic Control

• Complexity of the traffic system and traffic flow conditions

• Real-time traffic control• Self-learning and adaptability• Implementation

Page 24: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Demands on Trans Canada Highway Traffic Demands on Trans Canada Highway in Duncan Areain Duncan Area

Time of day (15 minute intervals)

Volu

me

(veh

icle

s / 1

5 m

in)

0

50

100

150

200

250

3000:

000:

451:

302:

153:

003:

454:

305:

156:

006:

457:

308:

159:

009:

4510

:30

11:1

512

:00

12:4

513

:30

14:1

515

:00

15:4

516

:30

17:1

518

:00

18:4

519

:30

20:1

521

:00

21:4

522

:30

23:1

5

Page 25: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Volumes in the Traffic State SpaceTraffic Volumes in the Traffic State Space

Cluster Center

Cluster Center

volume2

volume 1

Page 26: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Timing Plan DesignTraffic Timing Plan Design

•• TransytTransyt -- 7F (minimizing total delay)7F (minimizing total delay)•• Passer III (maximizing bandwidth)Passer III (maximizing bandwidth)

Page 27: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Intelligent Dynamic Traffic Control System Intelligent Dynamic Traffic Control System Structure (software)Structure (software)

Off-line

Traffic Data &Parameters

Input / Output

Traffic Data &Parameters

Input / Output

Traffic DataMemory

Traffic DataMemory

Traffic DataAcquisition

Traffic DataAcquisition

TrafficConditionPrediction

TrafficConditionPrediction

Traffic PatternIdentification

Traffic PatternIdentification

Timing PlanSetting

Timing PlanSetting

TrafficPatternTraining

TrafficPatternTraining

TimingPlan

Design

TimingPlan

Design

Traffic Data &Parameters

Input / Output

Traffic Data &Parameters

Input / Output

TrafficData

Clustering

TrafficData

Clustering

On-line

Page 28: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Intelligent Dynamic Traffic Control SystemIntelligent Dynamic Traffic Control System

Modem

LMD Local Controllers

dedicated line

Modem

LM or MDM MasterController

Central OfficeMonitor &

Intelligent Dynamic Traffic Control System (on-line)

Intelligent Dynamic Traffic Control System (off-line)

Page 29: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Total Delay of Static and Dynamic Total Delay of Static and Dynamic Traffic ControlTraffic Control

9:15

9:30

9:45

12:3

012

:45

13:0

013

:15

13:3

0

18:0

018

:15

18:4

519

:00

19:1

519

:30

19:4

520

:00

Time o f D a y

Dyna micS ta tic

0

100

200

300

400

500

600

700

To ta l De la y (Ve h hr)

Average Total Traffic Delay Reduction: 5~30%

Page 30: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Real-time Traffic Contra-flow Operation Using Artificial Neural Network, Fuzzy

Pattern Recognition and Delay Minimization

D. Xue and Z. DongSupported by Ministry of Transportation and Highways of British Columbia

Page 31: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Research Problem• Traffic Problems:

– Tunnels and bridges are often bottlenecks of a traffic system.

– Traffic demands from the opposite directions vary periodically.

Contra-flow Operations• Contra-flow Control Problem:

– Lane switch leads to a temporary capability loss.– Difficult to accurately predict future traffic demand.– Difficult to handle constantly changing traffic

conditions.

Page 32: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

A Contra-flow Operation Cycle

• Closing the selected contra-flow lane to clear up the traffic on this lane;

• Opening the contra-flow lane in the opposite direction;

• Closing the contra-flow lane when the traffic peak hours are over; and,

• Re-opening the traffic lane to its normal state.

Page 33: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Demand Prediction by Pattern Matching

A Traffic Pattern:

Pi = (Pi1, ... , Pip) ( i= 1, ... ,c)

Sample every 5 min for 7 hrs:

p = 1 + 7 x 60/5 = 85 samples

Collected Traffic Data:

D = (D1 , ... ,Dq) (q < p)

Similarity Measure:Distance (D, Pi )

Page 34: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Two Challenging Tasks

Page 35: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Hierarchical Pattern Representation and Matching

• Improving search efficiency• Utilizing available heuristics: Mon-Thur, Fri, Weekends/holidays

Page 36: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Demands and Capacities at the Tunnel Site

Page 37: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Traffic Delay Reduction

Proposed System Implemented by the MOT since 1996.

Page 38: Machining Automated - UVic.ca

University of Victoria, B.C. Canada

Applications of the Fuzzy Intelligent SystemsApplications of the Fuzzy Intelligent Systems

Dynamic Traffic ControlDynamic Traffic Control

Automated Automated CNC Tool Path GenerationCNC Tool Path Generationin Sculptured Surface Machiningin Sculptured Surface Machining

• Intelligent Rough Machining of Sculptured Parts• Optimal Tool Path Generation for 3½½-Axis CNC

Machining

• Dynamic Traffic Control for Signalized Highways

• Real-time Traffic Contra-flow Operation at George Massey Tunnel