1 of 37

SYSTEM INTEGRATION

FOR

LASER ADDITIVE MANF.

MECH 527: Mechatronic System Design Project II

AASHKARAN DHILLON, M.ENG (MECHATRONICS DESIGN)

2 of 37

INTRODUCTION

Laser Additive Manufacturing:

  • Rapidly Growing Industry
      • Create complex metallic 3D prototypes
  • Laser Metal Deposition vs Selective Laser Melting

Purpose:

  • Use Laser Metal Deposition Method
  • Components Available:
      • 4-axis Motion Platform
      • Laser Generator
      • Laser Deposition Head
      • Powder Feeder
      • Chiller

Figure 1: Laser Metal Deposition System [1].

[1] Additive manufacturing. LASERLINE. (n.d.). https://www.laserline.com/en-int/laser-additive-manufacturing/.

2

3 of 37

INTRODUCTION

Figure 2: Layout For Additive Manufacturing [2].

[2] Picture Credit to A.O.

3

4 of 37

INTRODUCTION

Tasks Accomplished:

  • Assembly and integration of sub-systems
      • Setup, Testing and Interfacing using schematics�layout drawings & manuals
  • Troubleshooting
      • Reliability of Hardware
      • Z-axis Leadscrew Fix
  • Motion Control
      • System Identification
      • Controller Design
      • Simulation and Experimental Validation
  • Misc.
      • Control Desk GUI
      • MATLAB Code, Documentation

Figure 3: ATS Machine in Lab with Laser Deposition Head.

4

5 of 37

PRESENTATION OF WORK

System Integration for Additive Manufacturing: Laser Generator

Laser Power:

  • 500W Class 4 Laser in Deposition Head
  • Proposed method for interfacing Laser Generator to control system

Figure 4: Laser Generator 24-Pin Connector Interface [3].

[3] YLR-Series User Guide. (2015). IPG Photonics

5

6 of 37

PRESENTATION OF WORK

System Integration for Additive Manufacturing: Laser Generator

Interfacing:

  • Pins 1-4 Safety Interlock
  • Pins 10-11 Remote Start
  • Pins 12 & 14 Analog Control Input
  • Pins 18-24 Monitoring Status, Pin 17 Guide Control
      • GUI w/ Ethernet
      • LCD on Machine

Connections:

  • 24 Pin Connector
  • 18AWG shielded cables
      • To Breakout Board
      • To dSPACE DAC
      • To Safety Interlocks

Figure 4: Laser Generator 24-Pin Connector Interface [3].

[3] YLR-Series User Guide. (2015). IPG Photonics

6

7 of 37

PRESENTATION OF WORK

System Integration for Additive Manufacturing: Laser Generator

Safety:

  • 7-Pin Connector to pair ATS Machine & Laser Generator E-Stops
      • Pair Pins1-2 with Soft-Estop on Front Panel
      • Pair Pins 3-4 with Hard-Estop on ATS Machine
  • Use Logic IO Box Relays for Connection
      • ATS E-stop triggers relays to disengage Motor Power

Figure 5: Laser Generator 7-Pin Connector [3].

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 6: Relays in Logic IO Box for Motor Power.

7

8 of 37

PRESENTATION OF WORK

System Integration for Additive Manufacturing: Laser Generator

Interfacing with Controller Software:

  • Pins 10 Remote Start
      • Replace IO11 wire for Dispenser on

Terminal Block w/ Laser Remote Start wire

  • Pins 12 Analog Control of Laser Power
      • Use DAC channel on dSpace board w/ BNC for

1-10V voltage input to Laser Generator

    • rundirectraj.m for printing desired Trajectory
      • alltrajs.mat: X,Y,Z,Dispenser On/Off, Duty Cycle
        • Dispenser On/Off => Laser Remote Start
        • Dispenser Duty Cycle => Laser Power
      • createtrajs.m: generates trajectory from gCode

Figure 7: Laser Generator 24-Pin Connector and Breakout Board.

8

9 of 37

PRESENTATION OF WORK

Hardware Troubleshooting: Mechanical

Problem: Z-Axis Lead Screw

  • Unresponsive to Input Commands
  • LS/ECB fault on Amplifier Card => Current Surge
  • Lead Screw Jammed
      • Limit Switch Didn’t Trigger => Rammed into bearing mount
      • Concerns: lead screw bending & nut damage�

Diagnosing:

  • Took out the motion stage for inspection
  • Disassembled eBrake and carriage
  • Identified the source of problem was bearing�misalignment.

Figure 11: Amplifier Card Z-axis Fault

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 12: Lead Screw Z-axis Motion Stage

9

10 of 37

PRESENTATION OF WORK

 

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 12: Lead Screw Z-axis Motion Stage

10

11 of 37

PRESENTATION OF WORK

Hardware Troubleshooting: Electrical

Problem: Signal Integrity

  • DB50 Cable for I/O signals b/w Controller and Machine
      • dSpace Digital IO ⬄ Breakout board�Interfaces controller with machine
      • Random disruption of signals
  • Breakout Board for routing IO signals
      • Encoder Signal Flickering => Noise
      • Y&Z Axis Encoder RS232 pins broke�

Diagnosing:

  • Inspected Digital IO connections into DB50 connector
  • Identified Broken Encoder Pins on Breakout board
  • Worn out/ Poorly soldered joints the underlying issue

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 13: DB50 Cable for Digital IO signals.

Figure 14: Broken Encoder RS232 Connection Pins

11

12 of 37

PRESENTATION OF WORK

Hardware Troubleshooting: Electrical

Solution:

  • DB 50 Cable
      • Resoldered loose wires into DB50 connector
      • Replaced DB50 Cable with Spare Part
      • Crimped +5 VCC & GND connections
        • 5V +VCC powers Logic IO box (Dispenser removed)
        • GND shared with Amplifier & Logic IO GND
  • Breakout Board
      • Got PCB investigated by Technician
        • Multiple Loose Joints => Soldered
        • New RS232 male connectors added

Conclusion:

  • Hardware made reliable to work with
  • Signal Integrity Preserved

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 15: Old DB50 Cable with twisted VCC & GND connections

Figure 16: New DB50 Cable Connection Setup

12

13 of 37

PRESENTATION OF WORK

Hardware Troubleshooting: Electrical

Problem: Amplifier Box

  • Unresponsive Reset for Amplifier Cards
  • Power Loss to Encoders, Motors, Switches

Diagnosing:

  • Amplifier Box
      • Checked IC connections in PCB
      • Tightened cable connectors behind Amplifier Box
      • Minimize Compression Force from Cable Slack
      • Ensure Ground Connections
  • Logic IO Box
      • Examine Fuses of OPTO22 Modules
      • Tracked down wiring of relays and ensured�match with Logic IO Box Schematic
      • Document information on function of relays
        • Useful in planning Laser E-stop incorporation

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 17: Logic IO Cabinet

13

14 of 37

PRESENTATION OF WORK

Hardware Troubleshooting: Electrical

Solution:

  • Studied Amplifier Box Schematic => Power Routed Through Orange Terminal
  • Amplifier Reset Cleared as discussed

Conclusion:

  • Amplifier Box Functions Reliably
  • Common Sources of Problem Identified and Fixed

[3] YLR-Series User Guide. (2015). IPG Photonics

Figure 19: Amplifier Cabinet Inside

Figure 18: Amplifier Cabinet Behind

14

15 of 37

PRESENTATION OF WORK

Miscellaneous Troubleshooting:

  • Fuse Upsized from 5A 240V to 7A 110V
  • Measured Voltage Losses from Controller Output to Amplifier Input
      • Z-Axis 1V Input Command => 0.32V at Amplifier => 0.68V Offset
      • Compensated in Software
    • Software Changes
      • Discrepancies Corrected in Simulink Model & MATLAB Code

[3] YLR-Series User Guide. (2015). IPG Photonics

15

16 of 37

PRESENTATION OF WORK

Controller Design

Goal: Redesign Controller and Improve Upon� Stability & Robustness w/ added loading

Procedure:

  • System Identification of Plant TF
      • X-Axis only as Z-axis compensates weight�w/ pneumatic cylinders
      • Experimentally done
    • Controller Design
    • Simulate Performance
    • Experimental Validation

Figure 20: 3-Axis Motion Control with Weights Added to mimic Deposition Head

16

17 of 37

PRESENTATION OF WORK

Controller Design: System Identification

Procedure: Freq Domain Data Acquisition

  • Open Loop Frequency Sweep of X-axis w/ Loading
      • To Acquire Magnitude and Phase Output Data
      • Sinusoidal Input:1A amplitude at 1-100Hz for 100 sample points
    • Air Bearings to drive Motion Stage with Linear Motor
      • Non-linearities, disturbance from friction => small.
      • Can approximate plant TF w/ Matlab’s System Identification Toolbox

Results:

Figure 21: Frequency Response for X-Axis w/ Weight

17

18 of 37

PRESENTATION OF WORK

Controller Design: System Identification

Procedure: Estimating Transfer Function

  • Magnitude & Phase Data Fed into System Identification Toolbox
      • Dataset1 used for Estimation sliced to 1.5hz-100hz to remove noisy measurements
      • Dataset2 used for Validation
    • Predict 2nd Order System
      • 2-Poles 0-Zeros
      • Prevent Overfitting

Figure 21: Frequency Response for X-Axis w/ Weight

Figure 22: Screen capture from System Identification Toolbox

18

19 of 37

PRESENTATION OF WORK

 

19

20 of 37

PRESENTATION OF WORK

 

Figure 23: Bode Plot for X-Axis w/ Weight

20

21 of 37

PRESENTATION OF WORK

Controller Design: PI Controller + Lead Compensator

Results:

  • Increased B.W / Gain Crossover Freq ~30Hz
      • Improved Transient Response
      • Stability
  • Increased Magnitude at Low Freq
      • Better Steady State Accuracy, Sensitivity, �Disturbance Rejection.
  • Gain Margin (inf) and Phase Margin (~45deg)
      • Desirable
      • Robustness & Stability

Figure 24: Compensated vs Uncompensated Plant FRF

21

22 of 37

PRESENTATION OF WORK

Controller Design: Simulated Controller Comparison

Step Response:

Figure 25 a): 1mm Step Response Compared. OS 20% vs <10%

Figure 25 b): 3mm Step Response Compared. OS 50% vs 15%

22

23 of 37

PRESENTATION OF WORK

Controller Design: Simulated Controller Comparison

Step Response:

Observation:

  • Designed Controller produces a fraction of overshoot
  • Older Controller unstable at Larger Inputs, New Controller Stable
  • Slower Transient Response, a trade off for lower overshoot & stability.
      • Preferred behaviour for Laser AM

Figure 25 c): 5mm Step Response Compared

23

24 of 37

PRESENTATION OF WORK

Controller Design: Simulated Controller Comparison

Ramp Response Steady State Error:

Figure 26 a): 10mm Travel @ 10mm/s Ramp SS Error

Figure 26 b): 10mm Travel @ 50mm/s Ramp SS Error

24

25 of 37

PRESENTATION OF WORK

Controller Design: Simulated Controller Comparison

Ramp Response Steady State Error:

Observation:

  • Both Old & New Controllers Eliminate Steady State Error
  • For Travel at demanding speed of 100mm/s:
      • Older Controller takes double time to creep up & Produces multiple Overshoots
    • Simulation promise improved robustness and stability. Important for working with Class 4 Laser!

Figure 26 c): 5mm Travel @ 100mm/s Ramp SS Error

25

26 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Step Response: 1mm Step Input Old (L) vs New (R)

Figure 26 a): 1mm Step Response Compared. OS: 20% vs <10%

26

27 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Step Response: 2mm Step Input Old (L) vs New (R)

Figure 26 b): 2mm Step Response Compared. 30% OS vs 10%

27

28 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Step Response: 3mm Step Input Old (L) vs New (R)

Figure 26 c): 3mm Step Response Compared. OS 50% vs 15%

28

29 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Step Response: 10mm Step Input Old (L) vs New (R)

Figure 26 e): 10mm Step Response Compared

29

30 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Ramp Response: 120mm Ramp Input at 10mm/s Old (L) vs New (R)

Figure 27 a): 10mm/s Ramp Response Compared

30

31 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Ramp Response: 120mm Ramp Input at 50mm/s Old (L) vs New (R)

Figure 27 b): 50mm/s Ramp Response Compared

31

32 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Ramp Response: 240mm Ramp Input at 100mm/s Old (L) vs New (R)

Figure 27 c): 100mm/s Ramp Response Compared

32

33 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Observation:

  • Transient Response from Experiments same as Simulated Plots
      • Validates System Identification Process => Estimated Transfer Function G(s) accurate
  • New Controller drastically reduces Overshoot & Stable at Large Step Inputs
  • New Controller performance for Ramp Input
      • More aggressively responds at faster speed, more stable, near 0mm tracking error.

33

34 of 37

PRESENTATION OF WORK

Controller Design: Experimental Validation

Goal: Test Performance for Custom Geometry

Procedure:

  • Trajectory quintic B-spline toolpath w/ optimized feederate
      • Output from createtrajs.m
    • rundirectrajs.m file executes Trajectory
      • Uses alltraj.mat & layertime.mat

Result:

  • Max Tracking Error ~0.27mm
      • Occurs when tool sharply enters oval shape
    • Average Tracking Error <0.05mm

Figure 28: Toolpath Tracking

34

35 of 37

CONCLUSION

  • Assembly, setup & testing of systems: Laser Generator, Powder Feeder, Deposition Head
      • Electrical Schematics, Layout Drawings & User Manuals
    • Proposed method for interfacing Laser Generator to Control System
    • Increased Hardware reliability of ATS machine by Troubleshooting
      • Z-Axis repair, Amplifier Box, Logic IO, Breakout Board Connections, Software debugging
    • Successful Controller Design
      • System Identification using acquired Frequency Domain Data
      • Controller Design: PI Controller + Loop Shaping for 30Hz BW 45deg PM
      • Simulation & Experimental Validation
      • System Robust & Stable

35

36 of 37

END OF PRESENTATION

THANK YOU!

QUESTIONS?

36

37 of 37