Wire Roller Application: Linear Motor with Cyclic ECAM

This application note describes the implementation of a master-slave ECAM application with a linear motor as slave and a rotary motor as master. The linear motor performs a cyclic ECAM trajectory according to the master rotary motor.

 

Your browser failed to render flash content

Terms used in this document:

o
ECAM
-
Electronic CAM, in which the position reference to the drive is not directly proportional to the total external inputs, but is rather a function of them. ECAM can be performed linearly or cyclically; this document describes the cyclic implementation.
o

Homing

-
The sequence in which the zero position is determined.
o

AUTOEXEC

-
A procedure in the user program that enables automatic execution of a program at system startup.
o

AUTO_ER

-

An interrupt routine in the user program that is automatically called when a motor fault is detected. The user can then determine what the resulting behavior of the application should be.

 

The Cyclic ECAM Mode

In ECAM mode, the user defines the motion path by entering the offset reference values of an ECAM table (EM[3] command) and the difference between entries (EM[4] command). The ECAM table is built with ET[k] command where k is any value between 1 and 1024 (entries). A linear interpolation is then performed according to the ECAM entry values (ET[k]...ET[k+1]) and the reference difference (EM[4]).

The cyclic ECAM mode is a new feature introduced by Elmo; it allows an infinite input of auxiliary position reference values regardless of the limited range of the auxiliary position accumulators. In cyclic ECAM, the references are taken relative to the previous sample.
The output of the ECAM table is cyclical: The ECAM entries roll endlessly from last to first.

The Application

The application winds wire strings from a large base drum to a smaller target spool (rotated by the master motor) in order to prepare small spools of wire strings for common consumers. The manner in which the strings are wound on the target spool is determined by the ECAM trajectory and is controlled by the slave linear motor. The first stage, performed once at each power up, is a homing process that brings the slave axis to a zero position. The master axis then starts to turn according to the speed of the base drum. When a full winding sequence is complete, the operator removes the fully-wound target spool and a new sequence starts by sending the slave axis back to the home position. In order to keep a constant amount of string on the target spool, the speed of the master drum is synchronized by an encoder to the speed of the base drum.

The following issues were taken into account in developing the application:

1. The master must turn indefinitely in the same direction without resetting the position register.
2. The master drum changes speed according to the base drum speed.
3. The master encoder resolution is different than the slave encoder resolution.
4. The winding of each wire string spool must end smoothly.
5.

One full cycle of the slave ECAM table will wind the spool 1.3 turns.

 

Solutions

These solutions refer back to the application assumptions in the previous section.

1. When working with cyclic ECAM (EM[1]=2), the position reference to the slave is relative. When the master position rolls over, only the relative counts from the previous sample are considered. This way, the absolute auxiliary position (PY) has no practical relevance for the ECAM reference.
2. A follower mode is set between the master drum and the linear motor (RM=1) so that when the master drum speed is changed or stopped, the slave follows. This relationship remains throughout the entire sequence, from the instant in which the homing procedure of the slave is complete.
3. A follower ratio (FR) of 0.972 was used in order to synchronize the movement of the master and slave. Another option was to multiply the ECAM table entries by the follower ratio.
4. A delay of one cycle was entered in the ECAM table in order to accommodate the requirement for a smooth completion of each spool. The delay gave a smoothing factor to the last winding at each edge.
5. The distance between each point of the slave reference input to the ECAM table (EM[4]) was modified according to the need for 1.3 turns of the spool.
After the user program is downloaded to the drive, the SG command is used to save it to the flash memory, where it is constantly resident. When the drive is powered on, an #AUTOEXEC routine causes the program to execute automatically in an endless loop.

Home Page
Products
Services
News
Links
Support
Support Forums
Case Studies
Video Presentations
About

© 2004 Motion Control Products Limited 11-15 Francis Avenue Bournemouth, Dorset BH11 8NX.

www.intergage.co.uk