BROWSE ARTICLES BY TECHNOLOGY

DIGITAL EDITION

RTC Magazine Digital Edition

INDUSTRY NEWS

RECENT COMMENTS

  • Hi Juan, This article shows you how to implement a quadrature encoder interface on the FPGA using digital lines. It was written for our PCI or P...

    Meghan Meckstroth Kerry - See Article

  • Good coverage on the general advantages of COM, and X86 implementations. It would have been nice to ARM options for lower-power (handheld) applicat...

    Brian Empey, P.Eng. - See Article

  • Your article about Application Service Platforms in RTC April is another example of great reporting by RTC. Can we have a new RTC index category -...

    Kenneth G Blemel - See Article

  • Static analysis tools/scanners are a great arsenal for companies who require high quality code. It does a great job of finding a wide range of pro...

    Andrew Yang - See Article

  • I hope that the microcessor based Insulin Pump riding on my belt would be held to a higher standard. If it quits, I can work around that inconvenie...

    Karl Williamson - See Article

WHITEPAPERS

QUICK DOWNLOADS

RTEC10 is an index made up of 10 public companies which have revenue that is derived primarily from sales in the embedded sector. The companies are made up of both software and hardware companies being traded on public exchanges.

COMPANY PRICECHANGE
Kontron
7.81
4.577%
Adlink
1.54
2.388%
Advantech
2.32
1.505%
Interphase
1.61
-3.012%
Radisys
9.26
-1.016%
-   Performance Technologies2.100.000%
-   Enea5.630.000%
PLX
3.62
-3.209%
Mercury Computer
11.76
-2.931%
Elma
412.98
-0.476%
HIGH LOW MKT CAP
7.85
7.43
435.04
1.58
1.52
185.11
2.33
2.30
1,198.70
1.70
1.61
11.00
9.41
9.24
223.74
2.102.1023.34
5.635.54101.86
3.74
3.61
134.28
12.17
11.76
279.57
412.98
412.98
94.25
RTEC10 Index: 490.94 (1.11%)
RTEC10 is sponsored by VDC research

SOLUTIONS ENGINEERING

Motion Control

Digital Motion Controllers Provide Precise Motion in a Wide Range of Applications

A motion controller provides a set of basic functions that can be tuned to meet the needs of different applications, motor sizes and types and different inertial loads.

ANDY HERUM, GALIL MOTION CONTROL

  • Page 1 of 3
    Bookmark and Share

The world is in motion. A robot transporting delicate silicon wafers during semiconductor processing, a large telescope automatically tracking star position, an automatic sewing arm that precisely stitches quilts, steering control of an autonomous vehicle that tracks position targets from a GPS; the applications are endless.

While the applications are varied, what they have in common is that they require precise and automatic motion control. At the heart of each application is a motion control system, which includes an intelligent motion controller. It is the job of the controller to make sure the mechanical devices get to the right place at the right time. How can a motion controller handle such varying loads and varying types of motion?

There are five elements that make up a typical motion control system: motion controller, amplifier, motor, feedback sensor and a host computer or HMI. Figure 1 shows the block diagram of a simplified motion control system. Each of the elements in the system performs a different function. The Host computer or HMI sends high-level commands such as motion specifications to the controller. The amplifier receives a command signal from the controller and translates it into the appropriate power to drive the motor. The motor converts the electrical energy from the amplifier into torque, which is transferred to the mechanical system. The feedback sensor provides position information, which is sent to the controller. The controller is the brain of the system and processes information received from the host computer and feedback sensor.

There are two main functions of the motion controller. First, it provides a reference position, a function commonly referred to as the motion profiler. Secondly, it compensates for the position error, which is the difference between the reference position generated by the profiler and the actual position received from the feedback sensor

Closing the Loop

Looking at the complete motion control system, we can see that the size of the motor must be selected to accommodate the size of the load. Similarly, the power drive for the motor must be sized to meet the torque and speed required to move the load. The motion controller must be able to perform the two main functions described above and send a proper signal to the motor drive regardless of the size of the load.

When operating in what is called an “open-loop” mode, the motion controller only provides a reference position and does not compensate for error or a difference between the reference and actual position. This mode is most commonly used when controlling stepper motors; where under normal circumstances the actual position of the motor can be assumed equal to the reference position. In servo motion control systems, the actual position feedback sensor is used by the controller to determine the position error. This is “closing-the-loop.” In order for the system to be stable, the motion controller must provide compensation for the position error. The most typical compensation is proportional integral derivative (PID).

The PID filter, as seen in Figure 2, creates three command signals based upon an error in the system. The Proportional (KP) signal is a direct multiple of the error, the Derivative (KD) is a multiple of the rate of change of the error, and the Integrator (KI) provides a command based upon the error integrated over time. The proportional term provides system stiffness, the derivative term provides damping, and the integral provides position accuracy. Proper tuning of a motion control system means that the KP, KD and KI terms are adjusted to achieve the best performance. Many motion controllers offer tuning software, which automatically selects the optimum PID parameters. It is important for a motion controller to have a robust PID tuning algorithm with adequate range and resolution of KP, KI and KD parameters to accommodate a wide range of amplifiers, motors and loads.

Motion Profiling

The other important task of a motion controller is motion profiling. Motion profiling is where the controller generates the reference position. Here, the controller receives motion parameters such as distance, speed, acceleration rate and deceleration rate from a host computer or HMI. From these specifications, the controller computes a continuous trajectory of reference positions.

LEAVE A COMMENT