background image

3 4

AT6250/AT6450 Installation Guide

Servo System Terminology

This section gives you an overall understanding of the
principles and the terminology used in tuning your AT6n50.

Servo Tuning Terminology

The AT6n50 uses a digital control algorithm to control
and maintain the position and velocity. The digital control
algorithm consists of a set of numerical equations used to
periodically (once every 

servo sampling period

)

calculate the value of the 

control signal

 output. The

numerical terms of the equations consist of the current
commanded and actual position values (plus a few from
the past sampling period) and a set of control parameters.
Each control parameter, commonly called a 

gain

, has a

specific function (see 

Servo Control Techniques

 later in

this appendix). 

Tuning

 is the process of selecting and

adjusting these gains to achieve optimal servo
performance.

When this control algorithm is used, the whole servo
system is a 

closed-loop 

system (see diagram below). It

is called closed loop because the control algorithm
accounts for both the 

command

 (position, velocity,

tension, etc.) and the 

feedback data

 (from the encoder or

ANI input); therefore, it forms a 

closed loop

 of

information flow.

When all gains are set to zero, the digital control
algorithm is disabled. During system setup or
troubleshooting, it is desirable to disable the algorithm
(by setting all the gains to zero) and use the 

SOFFS

command to directly control the analog output.

Feedback Device

(Encoder or ANI Input)

Load

Servo

Drive

 Motor

Load

Command

Digital

Control

Algorithm

Control

Signal

Offset

Drive Command =

Control Offset

Servo

Drive

Closed Loop System

SOFFS

Offset

Drive Command = Offset

Servo Algorithm Disabled

Feedback Data

 Motor

Feedback Device

(Encoder or ANI Input)

The controller has the capability of providing an analog
voltage output of 

±

10V for commanding the drive. After

the digital control algorithm has calculated the digital
control signal, this digital value is sent out from the DSP
(digital signal processor) to the Digital-to-Analog converter
(DAC). The DAC has an analog output range of -10V to
+10V. It is often possible that the digital control signal
calculated by the control algorithm can exceed this limit.
When this happens, the analog output would just stay, or

saturate

, at the maximum limit until the position error

changes such that the control algorithm would calculate a
control signal less than the limit. This phenomenon of
reaching the output limit is called 

controller output

saturation

. When saturation occurs, increasing the gains

does not help improve performance since the DAC is
already operating at its maximum level.

Position Variable Terminology

In a servo system, there are two types of 

time-varying

(value changes with time) position information used by
the controller for control purposes:  commanded position
and actual position. You can use this information to
determine if the system is positioning as you expect.

Commanded Position

The 

commanded position

 is calculated by the motion

profile routine based on the acceleration (

A

AA

),

deceleration (

AD

ADA

), velocity (

V

) and distance (

D

)

command values and it is updated every servo sampling
period. Therefore, the commanded position is the intended
position at any given point of time. To view the
commanded position, use the 

TPC

 (Transfer Commanded

Position) command; the response represents the
commanded position at the instant the command is
received.

When this appendix refers to the 

commanded position

, it

means this calculated time-varying commanded position, not
the distance (

D

) command. Conversely, when this appendix

refers to the 

position setpoint

, it means the final intended

distance specified with the distance (

D

) command. The

following plot is a typical profile of the commanded position
in preset (

MC¯

) mode.

Setpoint

Distance

D

 )

Acceleration

Constant

Velocity

Deceleration

Profile
Complete

Position

Time

Commanded
Position

Actual Position

The other type of time-varying position information is the

actual position

; that is, the actual position of the motor

(or load) measured with the feedback device (encoder or ANI
input). Since this is the position achieved when the drive
responds to the commanded position, we call the overall
picture of the actual position over time the 

position

response

 (see further discussion under 

Servo Response

Terminology

).

To view the actual position, use the 

TFB

 (Transfer

Position of Feedback Device) command; the response
represents the actual position at the instant the command
is received. The goal of tuning the servo system is to get
the actual position to track the commanded position as
closely as possible.

The difference between the commanded position and actual
position is the 

position error

. To view the position

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Summary of Contents for Compumotor 6000 Series

Page 1: ...erutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In st...

Page 2: ...D Z Z B B A A 5V SHLD COM SHTNC SHTNO DFT AGND ANI CMD CMD DRIVE 3 TRIGS TRG A GND TRG B GND TRG C GND TRG D GND SHLD OUT A GND OUT B GND OUT C GND OUT D GND SHLD OUTS ENCODER 3 SHLD GND Z Z B B A A 5...

Page 3: ...North America and Asia Compumotor Division of Parker Hannifin 5500 Business Park Drive Rohnert Park CA 94928 Telephone 800 358 9070 or 707 584 7558 Fax 707 584 3793 FaxBack 800 936 6939 or 707 586 858...

Page 4: ...enable input ENBL and joystick inputs pins 15 19 on the JOYSTICK connector are HCMOS compatible switching levels low 1 00V high 3 25V Previously they were documented as TTL compatible low 0 4V high 2...

Page 5: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 6: ...es 36 Proportional Feedback Control SGP 36 Integral Feedback Control SGI 37 Velocity Feedback Control SGV 37 Velocity Feedforward Control SGVF 38 Acceleration Feedforward Control SGAF 38 Gain Sets 38...

Page 7: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 8: ...s table Installing the AT6n50 PC card Mounting the AT6n50 AUX board Connecting all electrical components includes specifications Testing the installation Tuning the AT6n50 refer to Servo Tuner User Gu...

Page 9: ...under all potential conditions Failure to do so can result in damage to equipment and or serious injury to personnel Always remove power to the computer before Installing or removing the AT6n50 PC ca...

Page 10: ...ransitions 625 ns Analog joystick connector Voltage range 0 2 5VDC 8 bit A D converter Input voltage must not exceed 5V 24 General Purpose Programmable HCMOS compatible with internal 6 8 KW pull ups t...

Page 11: ...Prototype Card 800 815 320 32F Hard Disk XT 888 895 378 37F Parallel Printer 896 911 380 38F SDLC 928 943 3A0 3AF SDLC 944 955 3B0 3BB Monochrome Card 956 959 3BC 3BF Parallel Printer 960 975 3C0 3CF...

Page 12: ...ot near the front of the computer Ease both ends of the card simultaneously down into the computer until the card s edge connector reaches the computer s mating connector see drawing below Adjust the...

Page 13: ...ome in contact with the AT6n50 or its cables Temperature Operate the AT6n50 AUX board in ambient temperatures between 32 F 0 C and 122 F 50 C Provide a minimum of 6 inches 152 4 mm of unrestricted air...

Page 14: ...I card only OPT AT6N50 A Removable Screw Terminal Connector Computer Chassis See page 5 for instructions on installing the ANI card in your computer ANI Connections Power LED Analog Input 1 Analog Inp...

Page 15: ...ANA is NOT affected by the ENBL switch AUX Connector Motor Drivers WARNING REMOVE AC POWER FIRST before connecting or disconnecting the drives CONNECTIONS INTERNAL SCHEMATICS Drive Motor Internal Sch...

Page 16: ...5A 3W Shutdown active DRIVE this output is disconnected from COM see schematic above Shutdown inactive DRIVE1111 this output is internally connected to COM see schematic above DFT IN Drive fault input...

Page 17: ...43 Z pin 44 VIN pin 49 AGND pin 50 AT6n50 A A SHTNO 5V B B Z Z CMD AGND NOTE Dynaserv A connected to AT6n50 s A Dynaserv A connected to AT6n50 s A AT6n50 GND connected to AT6n50 COM Linearserv Drive...

Page 18: ...D CMD DRIVE 1 ENCODER 1 SHLD GND Z Z B B A A 5V SV Drive AT6n50 X13 X8 1 500 1 16 8 15 9 X10 1 16 External 24V Power Supply Short these two terminals Connect SV A called A to AT6n50 A Connect SV A cal...

Page 19: ...ontroller waits for the home switch to close indicating that the load has reached the home reference position The active level default is active low can be changed with the HOMLVL command You can also...

Page 20: ...Shield Internally connected to chassis ground earth Isolated logic ground Z Channel quadrature signal input Z Channel quadrature signal input B Channel quadrature signal input B Channel quadrature sig...

Page 21: ...Description 1 IN Analog Channel 1 Analog input for joystick control of axis Voltage range is 0 2 5VDC 8 bit A D converter CAUTION Input voltage must not exceed 5VDC 2 IN Analog Channel 2 same descript...

Page 22: ...ble to sink at least 1mA of current AT6n50 6 8 KW 47 5 KW 74HCTxx 5VDC GND Connection to a Sourcing Output Device TRG A GND TRG B GND TRG C GND TRG D GND SHLD 1 Electronic Device Out 5 24 Volts Output...

Page 23: ...is active low but can be changed to active high with the INLVL command Outputs Pin Function Pin Function Internal Schematic Specifications 1 2 49 50 P R O G R A M M A B L E O U T P U T S 49 5 VDC 23...

Page 24: ...PROGRAMMING TIP Connecting to a sinking output Set the input s active level to low with the INLVL command active low Connecting to a sourcing output Set the input s active level to high with the INLV...

Page 25: ...pen collector Sourcing Input Sinking Input Connection to an Inductive Load active low Output Connection OUT P 5V GND AT6n50 7406 4 7 KW 5VDC ISO GND External Supply up to 24VDC open collector Use an e...

Page 26: ...le Output 1 Programmable Output 2 Programmable Output 3 1 2 3 4 5 6 7 8 5 GND I5 I4 I3 I2 I1 O5 O4 O3 O2 O1 TM8 Thumbwheel Module Connection to your own Thumbwheel Module Sign Bit Thumbwheel 1 Thumbwh...

Page 27: ...connectors AUX 5V GND 5V OUT P IN P GND ANA ENBL GND External 5VDC Power Supply 5VDC Ground 1 AC Input AUX Boards 1 Remove the cover on the EIA plug 2 Build your power cable as shown DO NOT USE A 120V...

Page 28: ...or message if it cannot find the card or if the download operation is not successful refer the Downloading Error table on page 31 RED Receiving power from AT bus OFF No power ANI Option Card Only Gree...

Page 29: ...or 6 Download the operating system by clicking on the Transfers pull down menu and selecting Send Operating System After the operating system is downloaded the terminal window will display a startup m...

Page 30: ...ay of the voltage level at the ANI inputs from the connector on the ANI option card Press the return key to move the display to the next line and save the current value 2 Change the voltage output fro...

Page 31: ...portional gain in the PIV F servo algorithm SGI Sets the integral gain in the PIV F servo algorithm SGV Sets the velocity gain in the PIV F servo algorithm SGAF Sets the acceleration feedforward gain...

Page 32: ...ns etc Program editor Create blocks or lines of 6000 controller code or copy portions of code from previous files You can save program editor files for later use in BASIC C etc or in the terminal emul...

Page 33: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 34: ...cing electrical noise Diagnostic LEDs Test options Technical support Solutions to common problems Corrective actions in response to operating system download errors Product return procedure Artisan Te...

Page 35: ...ives are shut down possible causes are Shutdown was commanded with the DRIVE command Drive fault input DFT is active Enable input ENBL is not grounded Maximum allowable position error set with the SMP...

Page 36: ...x ERES2000 SMxxxxE xxxx ERES4000 OEM Series motors servo OEM2300E05A MO ERES2000 OEM2303E05A MO ERES2000 OEM3400E05A MO ERES2000 OEM3401E10A MO ERES2000 OEM2300E05A MO ERES4000 OEM2303E10A MO ERES4000...

Page 37: ...d mis wired connections Runaway if encoder counts positive when turned clockwise 1 Direction connections reversed 2 Improper tuning 1 Switch CMD with the CMD connection to drive 2 Retune the AT6n50 an...

Page 38: ...network adapters bus mouse etc at the same address Try changing the card address see page 4 13 Waiting for Data Ready The card did not respond when expected Verify that you are downloading to the cor...

Page 39: ...e Did any other items fail at the same time What was happening when the unit failed e g installing the unit cycling power starting other equipment etc How was the product configured in detail Which if...

Page 40: ...ilable To effectively tune the AT6n50 and any velocity drives you may be using use the interactive tuning features in the Servo Tuner It greatly improves your efficiency and gives you powerful graphic...

Page 41: ...position error changes such that the control algorithm would calculate a control signal less than the limit This phenomenon of reaching the output limit is called controller output saturation When sat...

Page 42: ...what this user guide describes in the following sections Position Response Types The following table lists describes and illustrates the six basic types of position responses The primary difference a...

Page 43: ...e AT6n50 employs a PIV F servo control algorithm The control techniques available in this system are P Proportional Feedback control with SGP command I Integral Feedback control with SGI command V Vel...

Page 44: ...After windup occurs it will take a while before the integrator output returns to a level within the limit of the controller s output Such a delay causes excessive position overshoot and oscillation Th...

Page 45: ...irected by the Servo Gain Acceleration Feedforward SGAF setting which is in turn multiplied by the acceleration of the commanded position to produce the control signal Consequently because the control...

Page 46: ...se to zero If an offset exists ignore it for now it will be taken care of later in step 8 Step 3 If your system has mechanical stops manually move the load to a position mid way between them Step 4 En...

Page 47: ...ning Setup Procedure you must tune one axis at a time Step 1 Tune the drive to output the desired velocity at a given voltage from the AT6n50 a If your system has mechanical stops manually move the lo...

Page 48: ...easing the SSFR value provides a smoother profile but makes the servo system less stable and slower to respond SELECTING THE SSFR VALUE Refer to the SSFR command description in the 6000 Series Softwar...

Page 49: ...he Integral Feedback Gain SGI to reduce steady state error Steady state position error is described earlier in the Performance Measurements section on page 35 a Determine the steady state position err...

Page 50: ...oduct of SGP SGV if SGV zero set SGVF equal to SGP b Check the position error at constant velocity by issuing the TPER command c Increase SGVF to reduce the position error repeat steps a and b as nece...

Page 51: ...amp out the oscillation SGP 15 Step 3 With SGV equal to 2 the response turns out fairly well damped see plot At this point the SGP should be raised again until oscillation or excessive overshoot appea...

Page 52: ...all axes subsequent scaling gains servo offset PSET and SMPER commands are specific to encoder feedback ERES4000 Set encoder resolution to 4 000 counts rev all axes SCLA4000 Set scaling for programmi...

Page 53: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 54: ...ations guide i turn off before installing cards 5 conduit 2 21 configuration DIP switches address interrupts transfer mode 4 connections ANA analog output 8 analog channel inputs 14 ANI analog input 7...

Page 55: ...ANA 8 drive 8 general purpose programmable connections and specs 16 problems 30 testing 23 OUT A through OUT D 16 testing 23 over damped servo response 35 overshoot 35 37 P Q panel layout 6 spacing m...

Page 56: ...e 41 T technical assistance see inside of front cover and HELP command temperature range 3 terminal emulation set up 22 test system installation 22 test panel Motion Architect 28 thumbwheel connection...

Page 57: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 58: ...nalog input 14 bit ADC ENBL DFT CW CCW HOM or Joystick digital inputs pins 15 19 6 8 K 74HCxx 47 5 K 5VDC Specs HCMOS compatible voltage range 0 24VDC Trigger Inputs pg 15 TRG n inputs 6 8 K 74HCTxx 4...

Page 59: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Reviews: