A Machine Tool Controller using Cascaded Servo Loops and Multiple Feedback Sensors per Axis

Similar documents
Active Vibration Isolation of an Unbalanced Machine Tool Spindle

Step vs. Servo Selecting the Best

PRESENTED AT PCIM-97 EUROPE CLOSED LOOP CONTROL OF THE LINEAR STEPPING MOTORS ABSTRACT

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

Design and Implementation of the Control System for a 2 khz Rotary Fast Tool Servo

Servo Tuning. Dr. Rohan Munasinghe Department. of Electronic and Telecommunication Engineering University of Moratuwa. Thanks to Dr.

DIGITAL SPINDLE DRIVE TECHNOLOGY ADVANCEMENTS AND PERFORMANCE IMPROVEMENTS

Omar E ROOD 1, Han-Sheng CHEN 2, Rodney L LARSON 3 And Richard F NOWAK 4 SUMMARY

JUNE 2014 Solved Question Paper

Servo Tuning Tutorial

High-speed and High-precision Motion Controller

MTE 360 Automatic Control Systems University of Waterloo, Department of Mechanical & Mechatronics Engineering

Computer Numeric Control

Rotary Motion Servo Plant: SRV02. Rotary Experiment #03: Speed Control. SRV02 Speed Control using QuaRC. Student Manual

Fundamentals of Servo Motion Control

Control Design for Servomechanisms July 2005, Glasgow Detailed Training Course Agenda

Advanced Servo Tuning

TCS3 SERVO SYSTEM: Proposed Design

Spatial Frequency Domain Error Budget. Debbie Krulewich and Herman Hauschildt

MAGNETIC LEVITATION SUSPENSION CONTROL SYSTEM FOR REACTION WHEEL

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

MMTO Internal Technical Memorandum #03-5

Application Note #2442

Embedded Control Project -Iterative learning control for

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

Tech Note #3: Setting up a Servo Axis For Closed Loop Position Control Application note by Tim McIntosh September 10, 2001

XC4e PWM Digital Drive

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

Fig m Telescope

ECEN 474/704 Lab 8: Two-Stage Miller Operational Amplifier

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

XC4e PWM Digital Drive

XC4 PWM Digital Drive

Application of Gain Scheduling Technique to a 6-Axis Articulated Robot using LabVIEW R

Implementation of an Acoustic Emission Proximity Detector for Use in Generating Glass Optics. M. A. Piscotty, J. S. Taylor, K. L.

Engineering Reference

Basic Tuning for the SERVOSTAR 400/600

EC CONTROL SYSTEMS ENGINEERING

Load Observer and Tuning Basics

Design of Compensator for Dynamical System

Modeling of Electro Mechanical Actuator with Inner Loop controller

Position Control of DC Motor by Compensating Strategies

ADJUSTING SERVO DRIVE COMPENSATION George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin

Introducing the New DMC-42x0 Ethernet Controller

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

The Air Bearing Throughput Edge By Kevin McCarthy, Chief Technology Officer

Compensation of a position servo

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Testing and Stabilizing Feedback Loops in Today s Power Supplies

Specify Gain and Phase Margins on All Your Loops

This manuscript was the basis for the article A Refresher Course in Control Theory printed in Machine Design, September 9, 1999.

Advanced Motion Control Optimizes Laser Micro-Drilling

Introduction to Servo Control & PID Tuning

A Fast PID Tuning Algorithm for Feed Drive Servo Loop

EasyMotion User s Manual Ver

High-Bandwidth Force Control

Advanced Digital Motion Control Using SERCOS-based Torque Drives

Loop Design. Chapter Introduction

Magnetic Levitation System

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

Where: (J LM ) is the load inertia referred to the motor shaft. 8.0 CONSIDERATIONS FOR THE CONTROL OF DC MICROMOTORS. 8.

OughtToPilot. Project Report of Submission PC128 to 2008 Propeller Design Contest. Jason Edelberg

A Searching Analyses for Best PID Tuning Method for CNC Servo Drive

Teaching Mechanical Students to Build and Analyze Motor Controllers

Module 4 TEST SYSTEM Part 2. SHAKING TABLE CONTROLLER ASSOCIATED SOFTWARES Dr. J.C. QUEVAL, CEA/Saclay

High Performance Low Voltage Servo Drives

Core Technology Group Application Note 2 AN-2

Experiment 1: Amplifier Characterization Spring 2019

Smooth rotation. An adaptive algorithm kills jerky motions in motors.

Active Stabilization of a Mechanical Structure

Performance of Keck Adaptive Optics with Sodium Laser Guide Stars

PiezoMike Linear Actuator

Sensors and Sensing Motors, Encoders and Motor Control

Response spectrum Time history Power Spectral Density, PSD

Experiment 9. PID Controller

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR NPTEL ONLINE CERTIFICATION COURSE. On Industrial Automation and Control

Dr Ian R. Manchester

(i) Sine sweep (ii) Sine beat (iii) Time history (iv) Continuous sine

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

PID-control and open-loop control

ON THE PERFORMANCE OF LINEAR AND ROTARY SERVO MOTORS IN SUB MICROMETRIC ACCURACY POSITIONING SYSTEMS

Control Servo Design for Inverted Pendulum

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Elmo HARmonica Hands-on Tuning Guide

OPERATIONAL AMPLIFIER PREPARED BY, PROF. CHIRAG H. RAVAL ASSISTANT PROFESSOR NIRMA UNIVRSITY

Paul Schafbuch. Senior Research Engineer Fisher Controls International, Inc.

3U High, 19" Drive Rack

profile Using intelligent servo drives to filter mechanical resonance and improve machine accuracy in printing and converting machinery

OPTICS IN MOTION. Introduction: Competing Technologies: 1 of 6 3/18/2012 6:27 PM.

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Elements of Haptic Interfaces

CHAPTER 4 PID CONTROLLER BASED SPEED CONTROL OF THREE PHASE INDUCTION MOTOR

Synchronization Control Scheme for Hybrid Linear Actuator Based on One Common Position Sensor with Long Travel Range and Nanometer Resolution

VOICE COIL ACTUATOR (VCA) DEVELOPER S KIT Complete VCA and Driver Kit for Custom Actuation System

Table of Contents. Tuning Ultrasonic Ceramic Motors with Accelera-Series Motion Controller. Sept-17. Application Note # 5426

10 Things to Consider when Acquiring a Nanopositioning System

Galil Motion Control. DMC 3x01x. Datasheet

Application Note #5426

Transcription:

A Machine Tool Controller using Cascaded Servo Loops and Multiple Sensors per Axis David J. Hopkins, Timm A. Wulff, George F. Weinert Lawrence Livermore National Laboratory 7000 East Ave, L-792, Livermore, CA. 94550 Abstract In the past, several of LLNL precision machine tools have been built with custom in-house designed machine tool controllers (CNC). In addition, many of these controllers have reached the end of their maintainable lifetime, limit future machine application enhancements, have poor operator interfaces and are a potential single point of failure for the machine tool. There have been attempts to replace some of these custom controllers with commercial controller products, unfortunately, this has occurred with only limited success. Many commercial machine tool controllers have the following undesirable characteristics, a closed architecture (use as the manufacturer intended and not as LLNL would desire), allow only a single feedback device per machine axis and have limited servo axis compensation calculations. Technological improvements in recent years have allowed for the development of some commercial machine tool controllers that are more open in their architecture and have the power to solve some of these limitations. In this paper, we exploit the capabilities of one of these controllers to allow it to process multiple feedback sensors for tool tip calculations in real time and to extend the servo compensation capabilities by cascading several standard motor compensation loops. Cascaded servo loops A major factor in the performance of a machine tool depends on the loop gain and bandwidth of the machine servo system. The servo system plays a key role in both the static performance and the dynamic performance of the machine tool. Good static performance provides high stiffness of the machine and allows it to follow with high accuracy the commanded tool path. Good dynamic performance is important to reject disturbance forces and is a function of the servo system bandwidth, specifically the loop gain at the disturbance frequency. Increasing the loop gain generally implies an increase in the system bandwidth. The loop gain is a function of frequency and will generally decrease with increasing frequency and can provide enhancements in machine performance until it drops to a gain of one or the crossover frequency. Since loop gain is a vector quantity, it has both a magnitude and a phase component; the actual machine bandwidth will depend on the phase of the loop at the crossover frequency. However, no matter what the actual bandwidth (-3dB point) of a machine may be, there is generally no enhancement in machine performance provided by the servo system past the crossover frequency. Since increasing loop gain provides good machine stiffness and provides increased disturbance rejection and larger machine bandwidth, why not turn up the gain? The answer of course is the need for the control system to maintain sufficient phase and gain margin. In practice, there are several factors that limit the final machine control system servo system bandwidth, among these are, amplifier bandwidth, feedback sensor response, controller response and probably the most limiting of these is the machine structural dynamics. These dynamics consist of mechanical resonances. A simple PID control loop cannot address these resonances and so the loop gain and machine bandwidth must be limited to keep servo stability. A solution is to shape the dynamic response. This is done by adding one or more second order filters to the loop response and hence it allows increased gain and improvements in system bandwidth and machine performance. 1

Adding second order filters to loop can be done several different ways. The choices depend on the complexity of the machine tool controller and whether these filters are implemented inside or outside of the controller. Implementation of the filters outside the controller can be done by adding analog filters in line with a typical analog input torque or force amplifier. In modern day high performance motion control systems, it is desirable to use high-resolution position only feedback and for the controller to provide the servo system compensation. This approach reduces the time and cost it takes to get the machine tool control system operational. For the purpose of this paper, a machine tool controller is defined as a controller that is designed for motion control. It must support I/O for sensor feedback and actuator excitation. It must be able to provide multi-slide coordinated motion for tool path interpolation and it must update the servo system to follow a tool path at each real time servo update. This ignores a class of general purpose or specific controllers that may be able to support the servo control algorithm but lack the necessary motion control support. There are several motion controllers on the market today. These controllers vary widely in flexibility and capability. These controllers may be specified as having open or closed architecture. Closed architecture controllers allow little or no modification by the user of the machine tool. Open architecture controllers may be open in many of the aspects of motion control but have limited servo capabilities or do not allow modifications to the servo algorithm. A survey of many open architecture controllers revealed a company that appears to provide the best fit between the required motion controller capabilities, openness of the architecture, servo system algorithms and the ability to modify these algorithms. A version of this company s controller is also used on some commercial diamond turning machines. Typical Controller Servo Topology φ Interpolated Command C + + + Σ Σ Σ - + - Kp 2nd Order Filter Actuator Excitation Ki Kd Velocity φ φ-120 1/(1-z -1 ) (1-z -1 ) Processed Commutation & Encoder Resolution Extension 128 * 32 Sensor Figure 1. Standard controller servo architecture The typical servo architecture of each axis of the selected controller is shown in Figure 1. For the purpose of discussion in this paper, the figure is also referred to as a block. Up to 32 axes can be configured in this particular controller. All relevant components of the servo algorithm (block) are shown including the PID terms, a second order filter and the ability to provide motor commutation. Commutation can be turned on or off as appropriate for the type of motor. The PID terms are standard components of most servo systems. The 2 nd order filter is an extension to the normal servo terms and it allows limited shaping of the servo loop response. The problem is one filter is typically insufficient to achieve optimum machine tool loop response. In the standard servo controller configuration, there is one input command and one feedback device feeding the block and one actuator is feed by the block. This block uses one motor axis of the controller.

Fortunately, in order to achieve greater loop shaping, this particular controller can be configured to cascade several servo axis. This can be done by giving up an actual sensoractuator interface and configuring a virtual senor actuator interface to another axis. Using two different techniques, we have been able to direct the output one axis (block) to the command input of a second axis, and so on, until the required number of second order filters has been added to the loop. Servo response measurements do not indicate any significant phase delay is added to the loop as the number of axes configured with these techniques increases. Figure 2 is a block diagram example of a controller configured to use cascaded axes. The machine tool controller interpolated position command enters at block 1. The actual output to the actuator (a brushless motor in this case) is taken from block 3. The position sensor input is directed to each block but each block uses the input for a different purpose. At block 1, the feedback position information is used to compute a position error. At block 2, the position feedback is differentiated to obtain velocity information and at block 3, the position information is used to commutate the brushless motor. Block 1 Block 2 Block 3 Command From Interpolator Loop Compensator See Figure 1 Minus Velocity Loop Term and Motor Commutation Part I of Velocity Loop Compensator See Figure 1 Minus Processed Postion and Motor Commutation Part II of Velocity Loop Compensator See Figure 1 Minus Processed Actuator Excitation Postion Sensor Figure 2. Controller configuration for a high order loop shaper Cascaded axes Cascade Loop Setup and Measurement Results As mentioned, the cascade loops are setup by two techniques. The first technique utilized a custom written servo algorithm that is called by a motor axis to copy the axis solution results (axis output) to the command input register of another axis. The copying of the data requires giving up a motor axis. This process can be repeated multiple times to create a variety of more complex compensation routines with no negative effect on system phase margin. Command Register P Notch Filter sin Q Output Input Amplifier Linear Motor D sin(q-120) - + 0dB - 0dB + Scale Actual Register Actual Velocity Register 1-Z -1 Swept Sine Source Figure 3: Block diagram of controller compensation showing configuration for measuring open loop velocity transfer function. The custom servo algorithm written for the first technique copies and sign extends the 24 bit axis result to a 48 bit integer value to be used as the command input to the next cascaded axis.

The second technique writes the solution from an axis output to a free memory location where it can be used as feedback input for another axis. Unlike the first technique, this setup does not require sacrificing a motor axis and similarly shows no negative effect on the system phase margin. 2 3 1 10 3 2 3 1 10 3 Figure 4: Shown are the open loop velocity transfer functions of the tested system. Trace 1 shows the system response without second order filters. Trace 2 shows the performance using two second order filters using the custom servo algorithm technique. Trace 3 shows the response utilizing two second order filters using the second technique. Both techniques are considered successful. The gain and phase offset is due to slide drift as the data was gathered. The second technique has the limitation of using only16 bits of an axis output calculation for input to the next cascaded axis. The loss of resolution using the second technique shows no notable loss in performance. However, the second technique can have dynamic range limitations. To test both techniques and to verify phase lag does not accumulate with increasing the number of cascaded axes, measurements of the system shown in Figure 3 were made using a dynamic signal analyzer. Note that the system is actually configured with two cascaded axes and is setup to drive a brushless motor. By pointing the actual position register to an unused memory location, the position loop can be opened to allow velocity loop measurements only. The measurements were made of the open loop velocity transfer function with the velocity loop closed. A swept sine disturbance was input to the system by inserting two sequential unity gain buffers between the controllers converter and the

input to the amplifier. The axis/motor forcer location was carefully positioned so that the force generated by the non-disturbed phase was at a minimum or zero output. Due to the lack of position feedback, velocity measurements of the system had a tendency to drift off the peak current sensitivity location especially at low frequencies. Limiting this drift was achieved by inputting an offset current into the opposing phase forcing the system to maintain position. The effect of drift at low frequencies can be observed in the plots shown in Figure 4 as the gain and the phase vary with the ideal position. Calculated Tool Tip X axis slide Extention Bar Measurement LVDT L Z axis slide Sensor 1 D Sensor 2 Figure 5. Tool Tip Calculation Test Setup Force Vector - Causes Slide Yaw Tool Tip Calculations To maintain high accuracy in a precision machine, it is difficult to rely solely on the inherent mechanical accuracy of the machine. There are at least two methods to correct for machine geometry errors in the X, Z plane of a machine tool. The first method relies on an independent (not part of the controller) geometrical correction system. The controller simply calculates the X or Z axis motion independent of the other axis. An example of this approach is, the straightness correction system used by LLNL Diamond Turning Machine 3 (DTM 3). The second method is to use the machine tool controller and accept multiple feedback sensors per axis to calculate in real time the tool position to correct the axis of commanded motion and the non-commanded cross-axis, i.e., both the X and Z axis move to keep the machine geometry accurate. An example of this method is used by the LLNL Large Optics Diamond Turning Machine (LODTM).

Exploiting the custom servo algorithm of this controller, we have developed software that calculates an effective feedback input for an axis based on at least two feedback sensors, i.e. dual sensor mathematical generated feedback. The calculation exists at the servo algorithm level to account for dynamic force disturbances. This separates this kind of correction from a part program correction because it does the correction in real time at the servo update rate. For example, consider a machine axis setup with two feedback sensors placed in the direction of slide travel but on the opposite sides of the slide (See Figure 4). The two sensors averaged together provide an average centerline slide position. The difference of these two sensors divided by distance between them (D) (yaw) multiplied by the tool offset (L) provides the appropriate cross-axis slide motion command. The importance of this calculation can be seen by imagining a lever arm extending from the slide to the crossaxis slide and then applying an off axis torque to the slide in the direction of motion. Although the main slide will hold the average position due to servo action, the yaw of the lever arm with respect to the cross-axis would show a displacement in an uncompensated system. Tool Tip Calculations Setup and Testing The custom servo algorithm of this controller can be used to perform mathematical calculations of multiple feedback sensors. With proper algorithm coding, the position results for a calculation can effectively reside in a 48 bit word to maintain high resolution for large slide travel. The algorithm can perform the calculations simultaneous with servo loop calculations. To test the tool tip calculations and because there was no actual cross axis slide (X axis) in our test system, an LVDT was setup to measure motion at the effective tool position as indicated in the diagram. This measured motion was compared to controller calculated position for that would be used to drive that axis. The results agreed. Conclusions The controller discussed in this paper has the capabilities to cascade several standard servo axis. Since each servo axis contains the standard PID terms and one second order filter. Control system loop shaping is enhanced as each axis is cascaded because of the second order filters. Hence, it allows improvement in machine tool bandwidth and increases machine performance. The benefit of this work proves that the controller has the necessary flexibility in order to provide tool tip calculations for machine geometry corrections in real time. The ability to mathematically calculate an effective tool position from multiple feedback sensors is very important for achieving high accuracy in a precision machine tool. Also, the ability to mathematically modify the effective feedback value also means it is possible to correct for known sensor error with equations or look-up tables. Reference 1. David J. Hopkins, Timm A. Wulff, Keith Carlisle, Lawrence Livermore National Laboratory ULTRA 350 Test Bed, Proceedings of 2001 ASPE Spring Topical Meeting, Control of Precision Systems, April 2001, Philadelphia, PA. This work was performed under the auspices of the U.S. Department of Energy by University of California, Lawrence Livermore National Laboratory under Contract W-7405-Eng-48.