Hydraulicspneumatics Com Sites Hydraulicspneumatics com Files Uploads Custom Inline Archive Www hydraulicspneumatics com Content Site200 Articles 06 01 2011 87468bookpng 00000060074

Using motion controllers for speed control, part 7

June 10, 2011
This is the final installment in a seven-part series on digital resolution and other subjects. Read the rest now: Part 1, Part 2, Part 3, Part 4, Part 5, and Part 6.

Editor's note: This is the final installment in a seven-part series on digital resolution and other subjects. Read the rest now: Part 1, Part 2, Part 3, Part 4, Part 5, and Part 6.

Once you’ve chosen the type of sensor to use for generating a feedback signal representative of speed, the next challenge becomes how to manage the signal for closed-loop speed control. A dedicated microprocessor control may be used in specialized cases, but a well-chosen electronic motion controller offers the quick response and high performance needed to close a speed control loop, but also the flexibility and functionality to aid setup and tuning.

Electronic motion controllers in the context used here are special purpose digital computers that have been optimized to perform the control and coordination of one or more axes of output actuators. In general, the actuators could be electrical, hydraulic, or pneumatic. However, this discussion will be limited to control of hydraulic systems.

However, the basic logic needed to control any mechanical machine motion is independent of the actuation medium. It is only that the output stage may be specialized for, say, a driver amplifier for a servovalve instead of for a stepper motor. And to some extent, the sensors and other feedback elements may be unique to the medium (say, a pressure sensor instead of a current sensor).

Optimization for the control of machine motion also means that even though their basic control is digital, motion controllers are designed to provide the processing speed necessary for essentially continuous control of feedback axes.

The need for speed

The critical parameter in the motion controller time factor is the servo loop update time. For most electrohydraulic servo systems, an update time no longer than 2 or 3 msec is required. In very high-speed axes, it may be necessary to have update times as short as 500 μsec. As processors become faster and faster, of course, it becomes easier for them to meet more demanding servoloop update times. However, 2 to 3 msec is probably a good rule of thumb for most applications. The update time should be looked at a bit more closely.

Being a digital device, the processor can do only one thing at a time, such as sample the feedback transducer. After sampling the feedback signal, the processor calculates the error by comparing the feedback signal to the command signal, then calculates the output to the servovalve according to some control algorithm. It then issues an output signal to the servovalve, then goes back again to sample the feedback signal. It goes through this loop again, and again, thousands of times per second.

This divided attention of the processor is said to form a sampled data control system, because the computer is just sampling all of its various elements at various times in the control cycle. If the time becomes too great between the instant when the computer samples the feedback signal and when it ultimately gets around to generating the command signal to the valve, it will not be able to make the servoloop stable and yet be responsive. To the uninitiated, a few thousandths of a second my not seem important, but a little analysis can reveal otherwise.

For example, let’s assume the highest output frequency of a servo axis is 60 Hz, which corresponds to a period of 16.7 msec. Let’s also assume the controller has an update time of 3 msec. This means the highest frequency will be sampled only about five times each cycle. This may not be enough to achieve the required degree of control, so a faster processor may be required — one with perhaps a 300-μsec update time. This sampling rate would provide more than 50 samples per cycle, and machine control will improve commensurately.

Versatility of motion controllers

Large OEMs, especially manufacturers of mobile equipment, design and build their own special-purpose motion controllers as a part of their general computerized control of the vehicle and its subsystems. On the other hand, a growing number of general- purpose motion controllers are commercially available that come in a variety of configurations and with an equal variety of options. They have three very basic architectures:
• stand-alone units that include a processor and mother board, peripheral chip sets, power supply, keyboards, and ports for monitors, printers, and networking,
• plug-in cards for insertion into one of the standard expansion bus slots on a personal computer, and
• plug-in cards for insertion into one of the standard PLC type expansion slots on a hosting PLC.

Software is what makes the system elements work together. Some motion controllers have their own proprietary programming language, but there are no universal motion control programming languages. In fact, many motion controller manufacturers have different languages for different models of controllers. In the plug-in types for personal computers, many of the designs can be programmed in general-purpose languages, such as Basic, Fortran, or C.

Scores of factors must be considered in the selection of a suitable motion controller. The checklist provided in this article contains some of those factors. The list can be useful for both self-education to the technology of digital motion controllers as well as a basic guide in selection of them.

Considerations when selecting a motion controller

Installation factors

Stand-alone controller
PLC expansion card
PC expansion card

Inputs supported

Analog

Number of channels
Input voltage range scaling/changing
Resolution (number of bits)
Voltage ranges

Adjustable or fixed

Analog-to-digital (A/D) conversion time
4-20 mA loop

Digital

Number of channels/protocol
Digital resolution
Incremental encoder with quadrature channel
Gated frequency
Maximum input bit rate (input frequency)
Serial ports

USB
Firewire
Ethernet
Other buses

Parallel ports

Digital resolution
Speed

Outputs supported

Analog

Number of channels/protocol
Output voltage range scaling/changing
Resolution (number of bits)
PWM
Valve drivers and interfaces
Digital-to-analog (D/A) conversion time
4-20 mA loop
Power for strain gauges?

Digital

Number of channels
Digital resolution
Gated frequency
Serial vs. parallel

USB
Firewire
Ethernet
Other buses

Response times

Data input sampling
Data output
Servoloop closure update time

Programming

High or low level language
Gain scheduling and changes
Motion profile synthesis and generation

Cosine transitions
Higher order polynomial profile constructs

Algorithm programming

Conventional algorithms, i.e., PID and variations
Feed forward

Velocity
Acceleration
Higher order effects

PC interfacing for up/down loading

Tailor-made algorithms

Input/Output signal processing
Graphics outputs
Design/tuning tools/auto-tune
User programmable

External communications (input and output)

Ethernet
Fieldbus
CAN
Devicenet
RS 232
RS 422
Profibus
Modbus
Sercos
Others

Electromagnetic compatibility Environmental factors and packaging

Temperature range
Humidity range
Indoor vs. outdoor applications (mobile vs. industrial)
Withstand washing and detergents
Acceleration and vibration

Engineering/Design support

Training and documentation
Pre-design modeling and simulation
Real time data logging
Graphic outputs and interfaces (PC uploads)
Frequency response analysis
Process modeling and system identification
Auto-tuning

Power requirements

Basic Electronics for Hydraulic Motion Control

This is where your basic electronic training starts. This book, unlike many others, is written specifically by a practitioner of the hydraulic art for engineers and technicians working in hydraulics, but it teaches you all you ever needed to know about electronics. Your personal understanding of hydraulics is your ticket to learning electronics with this book, which is filled with analogies to simplify the understanding of concepts.

Everything you wondered about and need is here: transducers, interfaces, signal conditioners, pulse width modulation, controllers, amplifiers, transistors, analog electronics, digital electronics, and much, much more. It is a must read and reference for anyone interested in certification in the exploding technology of electrohydraulics.

It uses your knowledge of fluid power to help you learn and understand electronics. Order your copy now and get the book that makes electronics fun and easy to learn.

Authored by Jack L. Johnson, P.E., edited by Hydraulics & Pneumatics, and published by Penton Media. The hard cover textbook (ISBN 0-932905-07-2) contains 438 pages and sells for $99.00, plus shipping and sales tax. Click here for more information on this and other books.

Continue Reading

Handbook Simplifies Advanced Aspects of Mobile Hydraulic Controls

May 10, 2017
Author Brendan Casey lays out his hydraulics know-how that he acquired over 27 years in a simple handbook made for people that want to improve their skills in troubleshooting ...

Terrain Leveler is All Hydraulic

Feb. 22, 2017
Hydraulics helps surface excavation machine extract ore reserves that might otherwise get left behind.

Sponsored Recommendations

MONITORING RELAYS — TYPES AND APPLICATIONS

May 15, 2024
Production equipment is expensive and needs to be protected against input abnormalities such as voltage, current, frequency, and phase to stay online and in operation for the ...

Circuit Protection Devices & Busbars

March 13, 2024
With experienced Product Engineers and Customer Service personnel, Altech provides solutions to your most pressing application challenges. All with one thought in mind - to ensure...

All-In-One DC-UPS Power Solutions

March 13, 2024
Introducing the All-In-One DC-UPS, a versatile solution combining multiple functionalities in a single device. Serving as a power supply, battery charger, battery care module,...

Motor Disconnect Switches

March 13, 2024
With experienced Product Engineers and Customer Service personnel, Altech provides solutions to your most pressing application challenges. All with one thought in mind - to ensure...