From the above diagram, the relationship between X1, X2, X a and C a is given by the following equations:

Similar documents
PCM-24 Press Feed Controller

Understanding VFD. Variable Frequency Drive. nfi. nfi

DISTRIBUTED MOTION CONTROL

Rotary Knife Controller

CDHD Servo Drive. Technical Training Manual. Manual Revision: 2.0 Firmware Version: 1.3.x Software Version: 1.3.x.x

GSK988T TURNING CENTER CNC SYSTEM

PCM-22 Rotary Knife Controller Operators Manual

Electronic Lineshaft With Alignment F7 Drive Software Technical Manual

Software Engineering 2DA4. Slides 9: Asynchronous Sequential Circuits

SRV02-Series. Rotary Pendulum. User Manual

HICON Mach4 Software Integration

WINTER 15 EXAMINATION Model Answer

Single Axis Position Controller

CNC Router Parts Plasma Software Setup and Usage Guide

Motion Control G7 Drive Software Technical Manual

B. Sc. III Semester (Electronics) - ( ) Digital Electronics-II) BE-301 MODEL ANSWER (AS-2791)

Topic: Instructional David G. Thomas December 23, 2015

PCM-16 Phase Synchronization Controller Operators Manual

Preface 11 Key Concept 1: Know your machine from a programmer s viewpoint 17

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

RYKO Italia s.r.l. V. Casale Morano Po (Al) t f

MC700 / MC720 Motion Control Firmware for Rotating Cutters and Printing Rolls. Cutting Pulse Sensor Optional: Print Mark Sensor

SRV02-Series. Ball & Beam. User Manual

Simple motion control implementation

MODULE 3. Combinational & Sequential logic

1000TII TURNING CNC CONTROLLER

FS340 and FS641. High Performance Low Cost Controller for Flying Shears and Saws

Electromechanical Automation Applications Note

Working with CSWin32 Software

Understanding VFD Allen Bradley Power Flex 4M Variable Frequency Drive. nfi

This document last edited May 2015 for version Some commands may not be available in previous versions of firmware.

WaveMaker III Gartech Enterprises Inc. 12/17/2012

Decade Counters Mod-5 counter: Decade Counter:

Digital Ratio Controller

Modbus for SKF IMx and Analyst

Single Axis Position Controller

PS User Guide Series Seismic-Data Display

DAAB DB409 INSTRUCTION MANUAL FOR THE VFD-EL FREQUENCY CONVERTER. For the DAAB EP104 automatic control system with software version 4.

Ensemble QLAB. Stand-Alone, 1-4 Axes Piezo Motion Controller. Control 1 to 4 axes of piezo nanopositioning stages in open- or closed-loop operation

ArcPro Mach4 Plasma Screen User Guide

Dancer control slims down while gaining functionality

DIRECT DRIVE ROTARY TABLES SRT SERIES

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Three Axis Digital Readout System

Pseudorandom Stimuli Following Stimulus Presentation

Zebra2 (PandA) Functionality and Development. Isa Uzun and Tom Cobb

THEATRE DESIGN & TECHNOLOGY MAGAZINE 1993 WINTER ISSUE - SOUND COLUMN WHITHER TO MOVE? By Charlie Richmond

Chapter 5: Synchronous Sequential Logic

AKD SYSTEM CONFIGURATION WITH KOLLMORGEN DDL LINEAR MOTORS

High Speed Counter. Table of Contents

Sapera LT 8.0 Acquisition Parameters Reference Manual

THE ASTRO LINE SERIES GEMINI 4000 INSTRUCTION MANUAL

Structural Diagnostics, Inc. Leaders In Automated Ultrasonic Testing. Immersion Tanks Large Gantries Custom Systems

IV 251. Signal Converter SSI Analogue and SSI Serial. Operating Instructions. control motion interface

E M E - Antenna Controller System - OE5JFL. Block diagram

MOTION ESSENTIALS Quick Start Guide to Programming in Delta Motion

ELCOM. Part Application Instruction. Release (V S 0.5) YS Kim S Jeong. OS Program Change to V S1.5 YS Kim S Jeong

Last time, we saw how latches can be used as memory in a circuit

CT340 and CT641. High Performance Low Cost Controller for Rotating Cutters and Printing Rolls. Operating Instructions

Basic Specifications. Driver Model SD12B/15B SD20B SD30B SD30C SD40C SD50C SD75C

Optical Technologies Micro Motion Absolute, Technology Overview & Programming

DCP100 Digital Control Programmer Specifications

THE ASTRO LINE SERIES GEMINI 1000/2000 INSTRUCTION MANUAL

AFM1 Imaging Operation Procedure (Tapping Mode or Contact Mode)

Midterm Exam 15 points total. March 28, 2011

User Guide UD51. Second encoder small option module for Unidrive. Part Number: Issue Number: 5.

IV 251. Signal Converter SSI => Analogue and SSI => Serial. Operating Instructions. control motion interface

Fast Quadrature Decode TPU Function (FQD)

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

Installation / Set-up of Autoread Camera System to DS1000/DS1200 Inserters

DSPMC v2 pn 7762S, 7762M. User Guide. Ethernet Motion Controller Data Acquisition System PID Controller

Field Service Procedure Replacement PCU Kit, Coastal

Servo Tuner User Guide. Time (millisec) Time (milliseconds) Time (millisec)

COMPANY. MX 9000 Process Monitor. Installation, Operating & Maintenance Manual AW-Lake Company. All rights reserved. Doc ID:MXMAN082416

Logic Design Viva Question Bank Compiled By Channveer Patil

Part No. ENC-LAB01 Users Manual Introduction EncoderLAB

SDA 3302 Family. GHz PLL with I 2 C Bus and Four Chip Addresses

Lab #10: Building Output Ports with the 6811

Keysight Technologies De-Embedding and Embedding S-Parameter Networks Using a Vector Network Analyzer. Application Note

The CIP Motion Peer Connection for Real-Time Machine to Machine Control

C8491 C8000 1/17. digital audio modular processing system. 3G/HD/SD-SDI DSP 4/8/16 audio channels. features. block diagram

Series 1100 ColorTS Servo Manual Registration System

ZU 252. Incremental Counter Module With Analogue Output and Serial Interface. Operating Instructions. control motion interface

Review of Sequential Logic Circuits

ZU 251. Incremental Counter Module With Analogue Output and Serial Interface. Operating Instructions. control motion interface

ENGINEERING PUBLICATION

Netzer AqBiSS Electric Encoders

TV Synchronism Generation with PIC Microcontroller

Modbus Register Tables for SITRANS RD300 & WI100

Command line direct mode: This is relevant when a PC application is used to send and receive commands over the network port.

802DN Series A DeviceNet Limit Switch Parameter List

TYPICAL QUESTIONS & ANSWERS

Special Applications Modules

CM1-AD08V 0~5V, 1~5V, -10~10V, 0~10V An input signal is converted to a digital value from 0 to or from 8000 to 8000.

1. Convert the decimal number to binary, octal, and hexadecimal.

Patchmaster. Elektronik. The Pulse generator. February 2013

Model 5240 Digital to Analog Key Converter Data Pack

Sequential Circuits. Output depends only and immediately on the inputs Have no memory (dependence on past values of the inputs)

Source/Receiver (SR) Setup

DATASHEET HMP8154, HMP8156A. Features. Ordering Information. Applications. NTSC/PAL Encoders. FN4343 Rev.5.00 Page 1 of 34.

Transcription:

Cross-Coupled Drive of Dual-Motor Gantry System Usually, the control of the multi-motor gantry system is done by either the classic master-slave or the full coordination method on PMAC. In this application note, a cross-coupled method for controlling dualmotor gantry system is presented. Cross-Coupling When cross-coupled, the feedback from the two gantry motors, X1 and X2, are used to create two control axes in PMAC. One of which is the summation of the two feedback, X. The other is the subtraction of one of the feedback from the other, C a. The trajectory command will be generated directly for these two control axes. The control outputs from the PID will then be de-coupled into two components, UX1 and UX2, one for each motor. The following shows a schematic diagram of the Cross-coupled method. From the above diagram, the relationship between X1, X2, X a and C a is given by the following equations: For a gantry system, the control target would be: X a = X 1 + X 2 Ca = X 1 X 2 X d = 2xDesiredPosition C d = 0 Hardware Setup There are some special requirements for connecting the gantry motors to PMAC. 1. Four motor channels are required to use with the two gantry motors. Two of them are connected physically to the motors (amplifiers). Two are used for de-coupling of the control signal. The two physical motor channels must be the higher number channels. For example, if motor channel 1 to 4 are used in the application, the gantry motors should be connected to channel 3 and 4. 2. Three encoder channels are required to create the cross-coupled feedback in PMAC. Two of them would be the direct feedback of the gantry motors. The third one should be connected to the feedback device of one of the gantry motors in a reverse sense. For quadrature encoder, this could be done by swapping the A and B channels to PMAC. Gantry with Cross Coupling 1

PMAC Setup The following is an example of setting the coordinate system, encoder conversion table and I-Variables for such application in PMAC. This example assumes the gantry motors are connected to PMAC channel 3 and 4. The direct feedback of the encoders are brought to PMAC through encoder channel 3 and 4 and the reversed feedback signal of the second gantry motor is brought in through encoder channel 2. The following diagram illustrates the setup of this example in PMAC. Note that one of the PID loops must be given a negative proportional gain value (Ix30). As a result, the firmware version 1.16 or later is required. In this example, the I430 variable is set to a negative value. For any hardware setting which is different from this example, refer to the diagram given above for correct loop gain setting. In addition, the Proportional Gains (Ix30) acting on the Error signal from the C axis loop (motors #2 and #4 in the above example), must be twice the Ix30 values acting on the Error signal from the X axis loop (motors # 3 and #1 in the above example). This is required so that the DAC signals sent to the amplifiers reflect both traverse and skew correction. Coordinate System Definition &1 #1->X #2->C #3->X #4->C Encoder Conversion Table Setup WY$720,$C008 ;Feedback of X1 WY$721,$1C00C ;Add to X2 WY$722,$C008 ;Feedback of X1 WY$723,$1C004 ;Add to X3 (i.e. -X2) WY$724,$0 ;End of conversion table I-Variables Setup Not all the I-Variable setup for PMAC is included. The proportional gain (Ix30) value given below is solely for illustrative purpose, the actual value in the system should be the one obtained from tuning. I102 = $F9 ;Output to #4 DAC offset ;For PMAC2, I102 = $FD I103 =$721 ;Use (X1+X2) feedback I104 =$721 I130 =350000 ;Positive proportional gain (half i230 & i430) I202 = $BD ;Output to #3 DAC offset ;For PMAC2, I202 = $C1 2 Gantry with Cross Coupling

I203 =$723 I204 =$723 I230 =700000 I302 = $C00B I303 = $721 I304 = $721 I330 = 350000 I402 = $C00A I403 = $723 I404 = $723 I430 = -700000 ;Use (X1-X2) feedback ;Positive proportional gain ;Output to #3 DAC ;For PMAC2, I302 = $C012 ;Use (X1+X2) feedback ;Positive proportional gain (half i230 & i430 ;Output to #4 DAC ;For PMAC2, I402 = $C01A ;Use (X1-X2) feedback ;Negative proportional gain A sample program for commanding this system is given below. This program will move the gantry system to a position of 10000 units from the current position. OPEN PROG 1 CLEAR LINEAR ;Linear mode move INC ;Incremental mode TA10 ;10 msec. acceleration time TM1000 ;1 sec. move time X20000 C0 ;command move = 2*desired position DWELL0 Homing PLC The homing PLC is intended to use with the cross-coupled gantry system. Some of the parameters setup here is a continuation of the cross-coupled gantry system. The command involved in the homing PLC and the setup section may not be applicable to all systems. Check the logic and modify it as needed. Setup Encoder Conversion Table WY$720,$C008 ;Feedback of X1... WY$721,$1C00C ;Add to feedback of X2 WY$722,$C008 ;Feedback of X1... WY$723,$1C004 ;Add to feedback of X3 (i.e. -X2) WY$724,$C008 ;Encoder 3 - feedback of X1 WY$725,$C00C ;Encoder 4 - feedback of X2 WY$726,$0 ;End of conversion table Setup Master Address, Ix05 and Ix06, for Slaving to Actual Position I305 = $725 I306 = 0 I405 = $724 I406 = 0 Setup Homing Parameters, Ix23 and Ix26 This section definitely needs changes according to the true system. Because of the uncertainty in the position of each motor at power up, it is suggested to set the home offset at least equal to the sum of the maximum skewness and the distance between the home switch. I323 = 5 I326 = 0 I423 = 5 I426 = 0 Result of Encoder Conversion Entry M1->X$721,0,24,S M2->X$723,0,24,S M3->X$724,0,24,S M4->X$725,0,24,S Gantry with Cross Coupling 3

Open Loop Indication Bit, Mx38 M138->X$3D,18,1 M238->X$79,18,1 M338->X$B5,18,1 M438->X$F1,18,1 In-position Bit, Mx40 M340->Y$994,0,1 M440->Y$A54,0,1 Home Complete Bit, Mx45 M345->Y$994,10,1 M445->Y$A54,10,1 Present Actual Position Mx62 M162->D$002B M262->D$0067 M362->D$00A3 M462->D$00DF Previous Actual Position, Mx98 M198->Y$2A,0,24,S M298->Y$66,0,24,S M398->Y$A2,0,24,S M498->Y$DE,0,24,S Previous Velocity Position, Mx99 M199->Y$31,0,24,S M299->Y$6D,0,24,S M399->Y$A9,0,24,S M499->Y$E5,0,24,S Avoid PLC0 to Start Running at Power up I5 = 2 OPEN PLC 1 CLEAR Kill All Gantry Motors CMD^K WHILE (M138=0 OR M238=0 OR M338=0 OR M438=0) Disable Master Slave I306=0 I406=0 De-couple the Gantry System I102=$C003 I202=$C002 I303=$724 I304=$724 M398=M3 M399=M3 I403=$725 I404=$725 M498=M4 M499=M4 Set Back I430 to Positive Value or Change I915 to 3 or 7 to Reverse Polarity I430=ABS(I430) ;i915=7 Put Some Delay before Motor Re-enable P1000 is an Arbitrary Choose P-Variable P1000=0 WHILE (P1000<2000) P1000=P1000+1 4 Gantry with Cross Coupling

Home Motor #3 First close position loop on motor #4 CMD"#4J/" WHILE (M438=1) Put Motor #4 Slaving to Motor #3, Then Home Motor #3 I406=1 M345=0 CMD"#3HM" WHILE (M345=0 OR M340=0) Put Motor #4 as Master and Motor #3 as Slave, then Home Motor #4 I406=0 I306=1 M445=0 CMD"#4HM" WHILE (M445=0 OR M440=0) Disable Master Slave I306=0 Jog Motor #3 Back to Zero Position to De-skew the System CMD"#3J=0" P1000=0 WHILE (P1000<1000 OR M340=0) P1000=P1000+1 DIS PLC 0 I5=3 Reset Control Flag (P1001) and Wait for PLC 0 to Finish P1001=0 ENA PLC 0 WHILE (P1001=0) I5=2 DIS PLC 1 OPEN PLC 0 CLEAR Cross-couple the Gantry System I102=$F9 I202=$BD I303=$721 I304=$721 I403=$723 I404=$723 I430=-1*ABS(I430) Zero out the Position of Motor #1 & #2, then put them in Closed Loop The following assignments are equivalent to CMD"#1HMZ#2HMZ" M162=0 M262=0 M362=0 M462=0 M198=M1 M199=M1 M298=M2 M299=M2 M398=M1 M399=M1 M498=M2 M499=M2 CMD"#1j/#2j/" Set Control Flag P1001=1 DIS PLC 0 Gantry with Cross Coupling 5