Motion controllers are the brains of any motion control system. In feedback-based systems, they take an input command from the user, compare it with a feedback signal from the motor, and take corrective action to bring the output (or actual position) and input (or desired position) in line with one another, ideally with little or no error.
A motion controller also creates the trajectories that the motors follow in order to meet the desired commands. Also called motion profiles, a profile is a sequence of position commands vs. time. This tells the motor where to position the load and how fast it must do so. The motion controller uses the trajectories it creates to generate the proper torque commands. These torque commands are then sent to the drive, which powers the motor and creates motion.
Because of the large amount of signal processing required for these actions, motion controllers typically use digital signal processers (or DSPs) for this task. DSPs are specifically designed to perform mathematical operations quickly and efficiently, and can handle the algorithmic processing better than standard microcontrollers which aren’t designed to handle large amounts of mathematical processing.
There are a number of common motion profiles including trapezoidal, ramp, triangular, and complex polynomial profiles. Each of them is used in certain conditions and situations where that type of motion is desired. For instance, a trapezoidal profile is characterized by constant velocity and acceleration and a graph of the velocity vs. time profile is in the shape of a trapezoid.
Motion controllers also use some of the basic control laws to implement motion. The simplest of these is called proportional (P) control, which represents a constant integer gain. This is the simplest type of control to implement. From P controllers, one can add either a derivative gain (known as D) or an integral gain (or I). The combination of these three, known as PID, represents one of the most common and most powerful types of control algorithms.
Practically speaking, motion controllers come in a variety of sizes and types. In general, motion controllers fall into one of three categories; stand-alone, PC-based, and individual microcontrollers.
Stand-alone controllers are entire systems typically mounted in one physical enclosure that includes all of the necessary electronics, power supply, and external connections. These types of controllers can be built into a machine and are dedicated to one motion control application that could involve controlling a single axis of motion or multiple axes.
PC-based controllers are mounted onto the motherboard of a basic PC or industrial PC. These types of controllers are mainly processing boards that may generate and execute motion profiles. The advantage of PC-based controllers is that they provide a ready-made graphical user interface that makes programming and tuning the control much easier.
Lastly, there are individual microcontrollers. These are individual ICs that are often designed onto a printed circuit board along with feedback inputs and outputs to drivers to control a motor. While these controllers are relatively inexpensive and have the advantage of giving designers chip-level access to their systems, the drawback is that they require good programming skills to configure and implement.
Content provided by Design World.