chapter 1

57
CHAPTER 1 CHAPTER 1 FUNDAMENTAL OF MOTION CONTROL SYSTEMS AND THEIR APPLICATIONS

Upload: ezuanreza

Post on 21-Jan-2015

173 views

Category:

Technology


0 download

DESCRIPTION

Motion Control

TRANSCRIPT

Page 1: Chapter 1

CHAPTER 1CHAPTER 1FUNDAMENTAL OF MOTION CONTROL SYSTEMS AND THEIR APPLICATIONS

Page 2: Chapter 1

OUTLINEOUTLINE

INTRODUCTION TO MOTION CONTROL

COMPONENTS OF MOTION CONTROL SYSTEM

MOTION CONTROL VARIABLES: POSITION, ANGLE, SPEED

APPLICATION OF MOTION CONTROL

Page 3: Chapter 1

INTRODUCTION TO MOTION INTRODUCTION TO MOTION CONTROLCONTROL Subfield of automation in which the

position and/or velocity of machines are controlled using some type of device such as hydraulic pump, linear actuator or servo.

Widely used in the packaging, printing, textile, semiconductor production and assembly industries.

Page 4: Chapter 1

INTRODUCTION TO MOTION INTRODUCTION TO MOTION CONTROLCONTROL The interface between the motion

controller and the drives it controls is very critical when coordinated motion is required as it must provide tight synchronization.

Previously only used analog signal but later more interfaces were developed for coordinated motion control.◦ SERCOS in 1991◦ Profinet◦ EtherCAT

Page 5: Chapter 1

Common control functions:Common control functions:

Velocity control. Position (point-to-point) control: Several methods for computing a motion

trajectory. often based on the velocity profiles of a move

such as a triangular profile, trapezoidal profile, or an S-curve profile.

Pressure or Force control.

Page 6: Chapter 1

Common control functions:Common control functions:

Electronic gearing (or cam profiling): ◦ The position of a slave axis is mathematically

linked to the position of a master axis. A good example of this would be in a system where two rotating drums turn at a given ratio to each other.◦ A more advanced case of electronic gearing is

electronic camming. With electronic camming, a slave axis follows a profile that is a function of the master position.

Page 7: Chapter 1

INDUSTRIAL MOTION INDUSTRIAL MOTION CONTROL CATEGORIES:CONTROL CATEGORIES:

Sequencing Speed control Point-to-point control

Page 8: Chapter 1

SEQUENCINGSEQUENCING

refers to the control of several operations so that they all occur in a particular order.

simplest example: ◦ progression of events that take place through

the mechanical linkages of a player piano.◦ opening and closing valves can be sequenced

mechanically with cam shafts.

Page 9: Chapter 1

SEQUENCINGSEQUENCING

Sequencing generally becomes too complicated to be handled mechanically in industrial equipment such as conveyor lines.◦ Option: using time delay relays◦ Better alternative: using PLC

Page 10: Chapter 1

SPEED CONTROLSPEED CONTROL

Refers to applications involving machines run at varying speeds or torques.

Source of power for such applications is generally either an internal combustion engine, or an electric, hydraulic, or pneumatic motor.

Page 11: Chapter 1

SPEED CONTROLSPEED CONTROL

Speed can be controlled either mechanically or, in the case of electric motors, electronically.

Mechanical speed-control components include clutches and brakes, adjustable speed drives, traction drives, transmissions, and fluid coupled drives.

Electronic speed control manipulates applied electrical power to control velocity and torque.

Page 12: Chapter 1

SPEED CONTROLSPEED CONTROL

Electronic speed control in ac motors employs special amplifiers or drives. These generally vary ac motor speed with adjustable-frequency inverters.

More expensive than mechanical speed controls, they provide the advantage of reduced energy costs.

Page 13: Chapter 1

POINT TO POINT CONTROLPOINT TO POINT CONTROL

Refers to applications where something must move from one point to another at a constant speed.

There are two factors that must be controlled: ◦ Speed◦ Distance.

Page 14: Chapter 1

POINT TO POINT CONTROLPOINT TO POINT CONTROL

Examples:◦ in x-y tables and in machining, where a tool

moves in a straight line while it touches a work piece along one axis.

Page 15: Chapter 1

MOTION CONTROL SYSTEM MOTION CONTROL SYSTEM COMPONENTSCOMPONENTS

Page 16: Chapter 1

MOTION CONTROL SYSTEM MOTION CONTROL SYSTEM COMPONENTSCOMPONENTS Application software – You can use

application software to command target positions and motion control profiles.

Motion controller – The motion controller acts as brain of the of the system by taking the desired target positions and motion profiles and creating the trajectories for the motors to follow, but outputting a ±10 V signal for servo motors, or a step and direction pulses for stepper motors.

Amplifier or drive – Amplifiers (also called drives) take the commands from the controller and generate the current required to drive or turn the motor.

Page 17: Chapter 1

MOTION CONTROL SYSTEM MOTION CONTROL SYSTEM COMPONENTSCOMPONENTS Motor – Motors turn electrical energy

into mechanical energy and produce the torque required to move to the desired target position.

Mechanical elements – Motors are designed to provide torque to some mechanics. These include linear slides, robotic arms, and special actuators.

Page 18: Chapter 1

MOTION CONTROL SYSTEM MOTION CONTROL SYSTEM COMPONENTSCOMPONENTS Feedback device or position sensor –

A position feedback device is not required for some motion control applications (such as controlling stepper motors), but is vital for servo motors. The feedback device, usually a quadratureencoder, senses the motor position and reports the result to the controller, thereby closing the loop to the motion controller.

Page 19: Chapter 1

APPLICATION SOFTWAREAPPLICATION SOFTWARE

Divided into three categories:◦ Configuration◦ Prototype◦ Application development environment (ADE)

Page 20: Chapter 1

CONFIGURATIONCONFIGURATION

One of the first things to do is configure your system for all your motion control and other hardware.

Page 21: Chapter 1

PROTOTYPEPROTOTYPE

Prototyping and developing your application.

In this phase, you create your motion control profiles and test them on your system to make sure they are what you intended.

Page 22: Chapter 1

APPLICATION DEVELOPMENT APPLICATION DEVELOPMENT ENVIRONMENTENVIRONMENT For this, you use driver-level software in

an ADE such as LabVIEW, C, or Visual Basic.

Page 23: Chapter 1

MOTION CONTROLLERMOTION CONTROLLER

A motion controller acts as the brain of the motion control system and calculates each commanded move trajectory.

Because this task is vital, it often takes place on a digital signal processor (DSP) on the board itself to prevent

Page 24: Chapter 1

MOTION CONTROLLERMOTION CONTROLLER

The motion controller uses the trajectories it calculates to determine the proper torque command to send to the motor amplifier and actually cause motion.

The motion controller must also close the PID control loop. Because this requires a high level of determinism and is vital to consistent operation, the control loop typically closes on the board itself.

Page 25: Chapter 1

MOTION CONTROLLERMOTION CONTROLLER

Along with closing the control loop, the motion controller also manages supervisory control by monitoring the limits and emergency stops to ensure safe operation.

Page 26: Chapter 1

CALCULATING TRAJECTORYCALCULATING TRAJECTORY

The motion trajectory describes the motion controller board control or command signal output to the driver/amplifier, resulting in motor/motion action that follows the profile.

The typical motion controller calculates the motion profile trajectory segments based on the parameter values you program.

Page 27: Chapter 1

CALCULATING TRAJECTORYCALCULATING TRAJECTORY

The motion controller uses the desired target position, maximum target velocity, and acceleration values you give it to determine how much time it spends in the three primary move segments (which include acceleration, constant velocity, and deceleration).

Page 28: Chapter 1

Typical trapezoidal velocity profileTypical trapezoidal velocity profile

Page 29: Chapter 1

MOTOR AMPLIFIERS & DRIVESMOTOR AMPLIFIERS & DRIVES

Part of the system that takes commands from the motion controller in the form of analogue voltage signals with low current

Converts them into signals with high current to drive the motor.

Page 30: Chapter 1

MOTOR AMPLIFIERS & DRIVESMOTOR AMPLIFIERS & DRIVES

Motor drives come in many different varieties and are matched to the specific type of motor they drive. ◦ For example, a stepper motor drive connects

to stepper motors, and not servo motors.

Along with matching the motor technology, the drive must also provide the correct peak current, continuous current, and voltage to drive the motor.

Page 31: Chapter 1

MOTORS & MECHANICAL ELEMENTSMOTORS & MECHANICAL ELEMENTS

Motor selection and mechanical design is a critical part of designing your motion control system.

Many motor companies offer assistance in choosing the right motor.

Page 32: Chapter 1

MOTORS & MECHANICAL ELEMENTSMOTORS & MECHANICAL ELEMENTS

After determining which technology you want to use, you need to determine the torque and inertia at the motor shaft.

Page 33: Chapter 1

FEEDBACK DEVICESFEEDBACK DEVICES Help the motion controller know the

motor location. The most common position feedback

device is the quadrature encoder, which gives positions relative to the starting point.

Page 34: Chapter 1

FEEDBACK DEVICESFEEDBACK DEVICES

Other feedback devices:◦ potentiometers that give analogue position

feedback◦ tachometers that provide velocity feedback◦ absolute encoders for absolute position

measurements, and ◦ resolvers that also give absolute position

measurements.

Page 35: Chapter 1

MOTION IOMOTION IO

Protection from damaging the system. Includes limit switches, home switches,

position triggers, and position capture inputs.

Limit switches provide information about the end of travel to help you avoid damaging your system.

Page 36: Chapter 1

MOTION CONTROLLER VARIABLES: MOTION CONTROLLER VARIABLES: POSITION,ANGLE & SPEEDPOSITION,ANGLE & SPEED

A system with a feedback controller will attempt to drive the system to a state described by the desired input, such as a velocity.

In practical applications this setpointneeds to be generated automatically. A simple motion control system is used to generate setpoints over time.

Page 37: Chapter 1

The motion profile is then used to generate a set of setpoints, and times they should be output. The setpointscheduler will then use a real-time clock to output these setpoints to the motor drive.

Page 38: Chapter 1

MOTION PROFILESMOTION PROFILES

Consist of:◦ Velocity profile◦ Position profile

Page 39: Chapter 1

Trapezoidal velocity profile

A trapezoidal velocity profile is shown. The area under the curve is the total

distance moved. The slope of the initial and final ramp is the maximum acceleration and deceleration.

The top level of the trapezoid is the maximum velocity.

Page 40: Chapter 1

Trapezoidal velocity profile

Some controllers allow the user to use the acceleration and deceleration times instead of the maximum acceleration and deceleration. This profile gives a continuous acceleration, but there will be a jerk (third order derivative) at the four sharp corners.

Page 41: Chapter 1

/s

Page 42: Chapter 1
Page 43: Chapter 1

Example 1Example 1

Page 44: Chapter 1

Example 2Example 2 The motion in Example 2 is so short the axis never reaches the

maximum velocity.

This is made obvious by the negative time at maximum velocity.

Page 45: Chapter 1
Page 46: Chapter 1

Example 3Example 3

Page 47: Chapter 1

Example 4Example 4 In some cases the jerk should be minimized. ◦ can be achieved by replacing the acceleration ramps

with a smooth polynomial. Two quadratic polynomials will be used for the

acceleration, and another two for the deceleration.

Page 48: Chapter 1
Page 49: Chapter 1
Page 50: Chapter 1

MULTI AXIS MOTIONMULTI AXIS MOTION In a machine with multiple axes the

motions of individual axes must often be coordinated. ◦ A simple example >robot that needs to move

two joints to reach a new position. We could extend the motion of the slower joints so that the motion of each joint would begin and end together.

When the individual axis of a machine is not coordinated this is known as slew motion

Page 51: Chapter 1

SLEW MOTIONSLEW MOTION Each of the axes will start moving at the

same time, but finish at separate times. Consider the example :A three axis

motion is required from the starting angles of (40, 80, -40) deg, and must end at (120, 0, 0) deg. The maximum absolute accelerations and decelerations are (50, 100, 150)degrees/sec2, and the maximum velocities are (20, 40, 50) degrees/sec.

Page 52: Chapter 1
Page 53: Chapter 1

Example 5

These are done in vector format for simplicity. All of the joints reach the maximum acceleration. The fastest motion is complete in 1.13s, while the longest motion takes 4.4s.

Page 54: Chapter 1

Example 5

Page 55: Chapter 1

Interpolated motion

In interpolated motion the faster joints are slowed so that they finish in coordination with the slowest.

Essential in devices such as CNC milling machines. If this did not occur a straight line cut in the x-y plane would actually be two straight lines.

Page 56: Chapter 1

Interpolated motion

The slew motion example 5 can be extended where all joints finish their motion at 4.4s. This can be done by accelerating at the maximum acceleration, but setting a new maximum velocity.

This is shown in the Example 6 using the results from the Example 5.

Page 57: Chapter 1

Example 6Example 6