Programmable Motion Control Fundamentals
Programmable Motion Control Fundamentals
net/publication/299425559
CITATIONS READS
0 64
1 author:
Nikola Zlatanov
44 PUBLICATIONS 4 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Nikola Zlatanov on 26 March 2016.
PMC Defined
Programmable Motion Control (PMC) is defined as the application of programmable hardware and software
(in conjunction with input sensory devices, actuators, and other feedback devices) for the control of one
or more linear or rotary motions. Expanding on this definition in today's concepts for the equipment used to
control motion, a programmable motion controller commonly takes the form of a microprocessor based
system. The system will be comprised of the following basic elements: controller, amplifier, actuator,
feedback. A simplified block diagram of a programmable motion control system appears below.
The controller will include a means of entering a set of instructions or code into its memory which are then
translated into a series of electrical pulses or analog signals and output to an amplifier for controlling some
type of actuator. The amplifier receives the signals from the controller and boosts or amplifies them to
appropriate levels for the actuator.
The actuator provides the actual physical motion and will be closely coupled to the design characteristics of
the amplifier. The amplifier/actuator set may be any one of several different design classifications. Typically,
but by no means always, they will take the form of an electronic amplifier and an electric motor. Other
common means of motion are pneumatic or hydraulic actuators.
The final element of our system is the feedback device. There are a wide variety of feedback devices that
are commonly used in motion control systems today which provide information on linear or rotary motion.
Generally, a motion control system will base and adjust its functions on the input of any one or combination
of the following devices:
• Optical encoders
• Magnetic encoders
• Resolvers
Many motion control systems are integrated into a larger system. Various computer-based devices, such as
programmable controllers, PC's, stand-alone industrial computers, or remote mainframe computers serve
to link and coordinate the motion control function with other functions. In addition, an operator interface is
present to input control logic, change existing pro- grams, or provide real time modifications, such as
system shut down or schedule changes. Thus, a more integrated motion control system would appear as
shown below.
Fig. 1
Short-term regulation would be the consideration for speed deviation due to some transient load of a known
quantity. Long-term regulation would be the concern of speed control over seconds, minutes, or longer. In
addition, speed ripple in a system, often the result of motor and driver design, may be a concern relative to
certain frequencies for which the application is sensitive. Examples of this would be the effects of speed
ripple on the surface finish of parts made by machine tools or consistency of coating in a web process.
Torque Control: Torque control suggests the need to control the torque or force in a system independent of
speed. An example would be a simple feed or take-up roll in a web application for which web tension is
controlled. Maintaining constant tension on the web results in varying torque at the rolls as a function of roll
diameter, resulting in a constant power requirement. A more complex tension control might require a
changing or tapered tension as a function of roll diameter. As in the evaluation of a velocity controlled
system, a torque controlled system needs to be quantified by a number of parameters. What is the required
torque range? Over what speed range must the torque be provided? Is torque ripple of concern, and if so,
what frequencies of ripple present a problem?
Position Control: Position control entails the control of motion displacement which is the change of motion
with respect to time. This includes command, control, and the monitoring of motion. This can be as simple
as the change in velocity command by limit switches on a simple slide drive, or as complex as linear and
circular interpolation among axes on a multi-axis machine. Within the discipline of position control, numerous
issues need to be quantified or measured.
The resolution of the position control, that being the smallest unit of displacement, needs to be defined.
Along with the resolution, the accuracy and repeatability of the motion displacement needs to be
determined. Resolution, accuracy, and repeatability are common quantities associated with position
feedback devices like encoders and resolvers; but, the specification of a complete motion system must also
take into account the mechanical system and position controller.
Position control typically involves motion acceleration, or the change in velocity with respect to time. The
acceleration rate will affect the forces in the system since torque is the product of inertia and acceleration
rate. It is important to include the inertia of the actuator (typically a motor) in any torque calculation of this
kind since its inertia may contribute consider- ably to the torque required. Chapters IV and V contain
examples of application types and the calculation methods for determining inertial, acceleration torque, and
other load related issues. The selection of acceleration or deceleration profiles will also affect system
performance. Constant torque acceleration may result in the fastest acceleration rate, but a parabolic
acceleration/deceleration profile will result in the least heating or root mean square (RMS) value of torque
required. On the other hand, an S-type acceleration will produce the least mechanical stress or jerk in a
system.
Position control typically requires flexibility regarding the need to change certain parameters of the required
motion. For example, the length of a move, or speed of the system may be changing based on variables in
the process or parts being manufactured. For this reason, a programmable motion controller is needed
along with specific application soft- ware. The application software can be canned or bundled software that
might come with the system, or custom software requiring additional cost or effort. When considering
flexibility in programming, it is also important to define the degree of operator interface for implementing
changes. A simple operator interface could be a thumb wheel switch allowing selection of particular
predetermined functions. A more complex and flexible interface might entail an alphanumeric display and
keypad.
Machine Control
In designing a complete system, subjects other than motion control need to be addressed. These include
process control functions and system fault management. As mentioned in Chapter II, process control
involves the turning on and off of associated functions to the main process such as pumps, coolers, heaters,
air pressure, and so on. System fault management includes detection and response process limits,
mechanical limits, jam sensors, and safety functions such as interlock switches. Always be sure to consult
local and industry safety and installation standards, as some of these features may be required for your
particular installation.
On the other hand, the motion system may be very complex and include many different types of motion
components. An example of such a system might be a computer integrated manufacturing (CIM) system
which receives as input a computer-aided design (CAD) data file, inspects and loads tools into a
manufacturing cell, makes a part in accordance with the CAD information, provides real-time adjustment in
the manufacturing process, and then collects, processes, and stores information for statistical process
control (SPC) purposes.
There are many types of controls, amplifiers, motors, and applications. The combination of components
required to perform a given application will vary and many considerations affect which type of system is
optimal. Often there are several ways to accomplish the desired result. In these cases, secondary
considerations such as cost, versatility, expansibility, or availability cast the deciding ballot for the type of
system ultimately selected. An astute applications engineer should be able to give you a number of options
depending on the cost, accuracy, lead time, and space constraints of your application.
Motion Profile Generator: At the top of this control hierarchy is the profile generator, which will typically
contain many defined profiles. These profiles have been placed in memory by either your vendor or yourself
utilizing a keyboard or by downloading this information from a computer. When you select a specific profile,
the profile generator will feed its velocity and position commands to the next block, which is the real time
control loop of the drive. An example appears in Figure 2.
Position Control Drive: The drive module can include both velocity and torque control inner loops or not,
depending on the control technique used. The output of this block is drive power to the motor, with feedback
from the motor output providing position information (typically via encoders or resolvers) plus, sometimes,
velocity information (via tachometers) for the drive loop.
These functions are packaged in a number of ways by different manufacturers. Elements included in your
system will also vary according to the application. Some systems are contained in an all-in-one box. Others
may consist of several boxes containing a driver or amplifier, a motion control board, and power supply, for
example. The advantages and disadvantages of each approach relate to cost, availability, and whether the
profile generator complexity requires that it be teamed with a host instead of existing as a free-standing drive
unit. IT IS VERY IMPORTANT TO COMMUNICATE REQUIREMENTS AND CONSTRANTS FULLY WITH
AN EXPERIENCED APPLICATIONS ENGINEER BEFORE TRYING TO SELECT A SYSTEM.
Figure 2
Motors for your system can generally include any kind or make of motor known. The typical kinds, in order of
general use, are noted below. The advantages of each type are application-specific, and must be weighed
by you and the applications engineer who helps you specify your system:
Brush-type DC Motors: This is the oldest type of technology used in industrial feedback servos, and is still
the most widespread variety found in actual use. Among the advantages are wide availability, time proven
technology and construction, and favorable initial cost. The main disadvantage is brush wear, although in
many applications this is not a consideration.
Stepping Motors: Stepping motors are sometimes used with feedback devices, such as encoders; but most
of the time they are used "open loop." Power ratings are typically 1 horsepower and below, with operation at
high torque and low speed. Cost is a clear advantage of an open loop system. The disadvantage is that if
your torque requirements are even momentarily exceeded, a position error is introduced which cannot be
corrected.
Brushless Motors: These motors are similar in operating features to brush-type DC motors; the key
difference is that they do not require brushes to operate. Typically, lower rotor inertia and efficient thermal
dissipation result in faster acceleration and better volumetric efficiency.
Induction Motors: Until about 1980, induction motors were not used in servo systems due to the slow
response caused by the inductance lag in the rotor circuit. Since the invention of "vector control" technology,
however, improvements have been made in servo system response using these motors, typically in spindle
applications due to their high speed and performance requirements and positioning capability.
It is important to understand the speed and torque characteristics as well as horsepower requirements of
the type to be considered. AC drive characteristics are somewhat different than DC drives. The demands
and economics of a particular application should be matched to the drive capabilities. After this matching
process is completed, the decision regarding the type of adjustable speed drive can be made.
When considering load characteristics, the following should be evaluated:
• What type of load is associated with the application?
• Does the load have a shock component?
• What is the size of the load?
• Are heavy inertial loads involved?
• What are the motor considerations?
• Over what speed range are heavy loads encountered?
Application Parameters
Once an application has been classified, the application parameters have to be defined. The key to a
successful application solution is proper definition of the application requirements. This will help determine
the machine, motion control, actuator, and feedback device requirements. Some questions which must be
answered before a selection can be considered include: How fast? How accurate? How much? Other
considerations that must be addressed are listed below:
• Motion parameters:
What is the required positioning accuracy? What are the maximum and minimum speeds?
What are the maximum acceleration/deceleration rates? What is the duty cycle?
• Continuous load requirements:
What is the measured thrust? Is there counterbalance?
What is the measured friction?
• Machine characteristics:
What are the machine dynamics? What is the reflected load inertia?
How is the load moved (e.g. via pneumatics, hydraulics, electric servo)? What are the potential losses to
overcome, such as inefficiencies and coefficients of friction?
• Communication characteristics:
What type (serial, discrete, backplane)?
What type & amount of information is to be sent? What are the throughput requirements?
• Input/Output (I/O) requirements:
What type? How many?
Are there throughput requirements?
• Feedback requirements:
What type? What is the required accuracy?
What Are The Motion Requirements?
The next question you must ask is: What motion functions are needed? There are four categories of motion
functions:
• Simple control of position or velocity of single or non-synchronized multiple axes. This is the
simplest of motion requirements. Requirements of non-synchronized multiple axes can be handled by
multiple motion modules without concern about tight synchronization of axes on different modules.
• Motion synchronized to external events. Motion often has to be synchronized to some external
event. This may be a discrete event (such as limit switch closure), analog event (analog gauge input), or
position event (a linear transducer event), and may trigger a change in speed, the start or end of a move, or
a position correction. While many controls are capable of performing these functions, they may vary in their
throughput capability (number of simultaneous events and reaction time).
• Synchronized multi-axis control. This involves tight coordination of independent axes. Most
controls are capable of synchronizing axes within a given module, but may be limited in terms of how
tightly they can couple axes on different modules.
• Complex motion algorithms. Typical examples of this motion requirement include ratioing (straight
and caming), contouring with various types of interpolation (circular, linear, spline), and time-based
cams.
The first issue you must address is the application classification. If the application were classified as
machine tool control, robot control, or a transfer line application, an application specific control may be
available. Application specific controls have features, performance, and packaging which are designed for
specific applications and conform to standards for those applications. For example, CNC controls have a
number of features which are required for machine tools. Examples of these features are an RS274
programming interface, multiple axes contouring, circular/linear/spherical/ mathematical interpolation, and
operator interface support.
The general purpose controller is used for applications where the application specific control is not
appropriate because of cost, packaging, or available features. Choosing the appropriate general purpose
control involves answering three key questions:
• What is the control architecture of the application?
• What are the motion requirements?
• What type of feedback is required?
Control Architecture
Critical question to be answered in classifying the application is: What is the control architecture? This
question deals with things like:
• Is there a host computer or control?
• Does motion drive the process; or is motion a small part of a larger process?
• Is a localized or distributed control architecture desired?
Answers to these questions will impact the type of motion controller used. For example, if motion is a small
part of a larger process (as in the case of an assembly line), then the majority of the process may be
sequence control with motion subsections. This type of application will typically use a programmable
controller to control the process, with a motion control (programmable controller based, stand alone, or
smart drive) acting as a slave. If the application is motion dominant (as in the case of machine tools), then
the motion function is the major portion of the system and may control the process. There may or may not
be a host controller.
In many applications there may already be a host computer or programmable controller that is used for
control of the overall process. In these cases, it may be advantageous to use a programmable controller-
based motion control that resides in the controller's rack. This type of configuration allows the motion
controller access to all of the programmable controller's re- sources (i.e. power, analog I/0, discrete I/0,
operator interface). This approach can also result in a compact, cost effective package. Programmable
controller motion modules and associated control boards are generally packaged as 1 to 4 axes modules.
Axes within a module can be tightly coupled, while multiple modules may be loosely coupled via discrete
wiring between modules or through backplane integration.
In cases where there is a non-programmable controller host, no host, or the motion section does not
have to be tightly coupled, a stand-alone controller may be more appropriate. Stand-alone controllers are
typically supplied in 1 to 8 axes configurations with some handling 32 axes or more. Communication with a
host control or operator interface is achieved via discrete wiring (e.g. BCD), serial connection (e.g. RS-
232, RS-422), or a multi-drop network (e.g. Ethernet, RS-485, DeviceNet).
If the host utilizes a bus interface, a bus-based motion controller can be used. Controllers are available
for most types of buses. Bus-based controls offer a great deal of flexibility and high throughput
communications, but may require a commensurate amount of engineering effort to integrate.
Generally, the type of motion amplifier required for a given application is dependent on the type of actuator
to be driven. In some cases, actuator performance is defined and optimized with respect to a specific
amplifier matched for its use. In many cases, however, there are choices that can be made. For example, if
a DC servo motor is selected as the actuator, overall cost may dictate that a PWM amplifier, as opposed to
a more costly linear amplifier, is in order. Output voltage relative to motor rating or maximum speed
requirement needs to be determined. Continuous and peak current ratings are chosen according to
torque requirements.
Special drive requirements can exist for all types of drives if extremely high resolution or wide speed range is
required. Additionally, many applications require that radio and electromagnetic emissions be kept to a min.
Determining the type of motion actuator best suited to your application requires careful consideration. On
the surface, it may seem as if any of several types of actuators may be acceptable. The first topic of
consideration is usually load definition. Once a set of accurate load characteristics is developed, items
such as actuator configuration, size, dynamic characteristics, reliability, and cost can be examined. Since
many motion control applications may require the implementation of several types of actuators within the
same system, the following questions are intended to help identify which actuator types are best suited to a
given task:
• Are there any special system power limitations?
• What is the operational duty cycle?
• Will heat dissipation by the actuator have any adverse effect on the application?
• What is the operating temperature range?
• What type of feedback device is to be used?
• What range of mean time between failure MTBF is desired?
• What are the dynamic characteristics of the intended motion profile?
• What range of shaft velocities are required to achieve the desired feed rates?
• Will your system require direct drive or will a gearing system have to be accommodated?
There are many types of feedback devices as shown in Table 1 on page 13. Motion controls vary in terms of
the devices they will support. Most support incremental encoders as standard, and some also support
resolvers. If absolute feedback is required, there are controls which will support proprietary suppliers'
devices, dual resolvers, or absolute encoders. Some motion controllers also support analog feedback.
This feature can be used to interface to load cells, pressure and tempera- ture transducers, and other types
of analog feedback devices.
A feedback device will be needed if closed loop control is used, or if events (e.g. turn output on) are to be
based on actual machine feedback.
There are a multitude of feedback transducers available which are capable of monitoring speed, position,
pressure, tension, and other process variables. The questions which must be addressed in order to
determine the best feedback device to use include the following:
• What is the process variable being controlled?
• If the variable is position, is rotary or linear displacement being controlled?
• Is incremental or absolute feedback required? What are the resolution, accuracy and repeatability
requirements?
• What is the speed range?
• With what feedback device is the motion control unit compatible?
The most commonly specified position transducer is the encoder. The encoder provides incremental
position information to the motion controller via a quadrature type output. If using an incremental encoder
is not practical, resolvers or absolute encoders are capable of providing absolute position information.
Either device is absolute within one revolution. Dual devices can be used to provide multiple revolution
absolute position feedback.
J = 2/5Mr2
T
There are a number of fine points involved in the calculation of these properties such as the differentiation
between centripetal acceleration and tangential acceleration. Your applications engineer can help you
complete these calculations appropriate to your particular system characteristics.
Torque: Torque is the cause of angular acceleration. Torque is defined as the rotary equivalent of force. It
is equal to the product of the force perpendicular to the radius of motion and distance from the center of
rotation to the point where the force is applied. As a formula, it is represented as:
T= F x r
Power: Power is transmitted by rotating shafts by virtue of the fact that the torque applied produces an
angular velocity. Therefore, power equals torque times angular velocity (P=Tw).
Coefficient of Friction: In order to calculate the power requirements for your applications, the applications
engineer also addresses the forces involved to overcome friction. The frictional force between two surfaces
equals the product of the force pressing the surfaces together times the coefficient of friction, represented
as:
F fr = WK
There are many of these values which can be referenced in most engineering and physical handbooks.
Putting It All Together
Based on the analysis contained in this chapter, the search for an optimum programmable motion control system
can be narrowed greatly. One or more of the following general categories should meet your needs:
• Standalone Controllers: • Drive Amplifiers:
Computerized Numerical Control Adjustable Speed
Robot Control AC
General Purpose Control DC
Motion/Position
• Subordinate Controllers: AC
Programmable Controller
DC
Bus-based Controller Stepper
• Motion Actuators:
AC
DC
Stepping
Other (Hydraulic/Pneumatic)
• Feedback Transducers:
Linear
Rotary
Other
After preliminary analyses have been made, contact competent suppliers so your specific application can be
reviewed in order to insure that the motion control components and system you select have the features
necessary for your particular application.
Typical Application Types
Following are five typical programmable motion control schemes which are used in the vast majority of the
applications.
View publication stats