Survey of Methods of Combining Velocity Profiles with Position control

Similar documents
FEEDBACK CONTROL SYSTEMS

Laboratory Exercise 1 DC servo

MECHATRONICS ENGINEERING TECHNOLOGY. Modeling a Servo Motor System

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

Stepping Motors. Chapter 11 L E L F L D

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Passivity-based Control of Euler-Lagrange Systems

Automatic Control Systems. -Lecture Note 15-

PID Control. Objectives

CHV Series Vector Control Inverter Options. Operating Instructions for Tension Control Card

Mechatronics Engineering. Li Wen

System Modeling: Motor position, θ The physical parameters for the dc motor are:

Trajectory Planning, Setpoint Generation and Feedforward for Motion Systems

Sensorless Control for High-Speed BLDC Motors With Low Inductance and Nonideal Back EMF

Robust Controller Design for Speed Control of an Indirect Field Oriented Induction Machine Drive

Example: DC Motor Speed Modeling

Acceleration Feedback

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

ROBUST CONTROL OF A FLEXIBLE MANIPULATOR ARM: A BENCHMARK PROBLEM. Stig Moberg Jonas Öhr

Lab 3: Model based Position Control of a Cart

The Application of Anti-windup PI Controller, SIPIC on FOC of PMSM

FUZZY LOGIC CONTROL DESIGN FOR ELECTRICAL MACHINES

FUZZY LOGIC BASED ADAPTATION MECHANISM FOR ADAPTIVE LUENBERGER OBSERVER SENSORLESS DIRECT TORQUE CONTROL OF INDUCTION MOTOR

Auto-tuning Fractional Order Control of a Laboratory Scale Equipment

DC Motor Position: System Modeling

PERFORMANCE ANALYSIS OF DIRECT TORQUE CONTROL OF 3-PHASE INDUCTION MOTOR

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

6) Motors and Encoders

Introduction to Control (034040) lecture no. 2

Application Note #3413

Vibration Suppression of a 2-Mass Drive System with Multiple Feedbacks

Evaluation of SIPIC01 and SIPIC02 on Motor Speed Control

NonlinearControlofpHSystemforChangeOverTitrationCurve

Lab 3: Quanser Hardware and Proportional Control

2.004 Dynamics and Control II Spring 2008

Fast Seek Control for Flexible Disk Drive Systems

Intelligent Control of a SPM System Design with Parameter Variations

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

Robust Speed Controller Design for Permanent Magnet Synchronous Motor Drives Based on Sliding Mode Control

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

MEAM 510 Fall 2012 Bruce D. Kothmann

THE REACTION WHEEL PENDULUM

Speed Control of Non-collocated Stator-Rotor Synchronous Motor with Application in Robotic Surgery

B1-1. Closed-loop control. Chapter 1. Fundamentals of closed-loop control technology. Festo Didactic Process Control System

Linear Shaft Motor Sizing Application Note

ME 3210 Mechatronics II Laboratory Lab 4: DC Motor Characteristics

Analysis and Design of Control Systems in the Time Domain

Modelling and simulation of a measurement robot

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

Investigation of Model Parameter Variation for Tension Control of A Multi Motor Wire Winding System

Three phase induction motor using direct torque control by Matlab Simulink

Position and Velocity Profile Tracking Control for New Generation Servo Track Writing

Predictive Cascade Control of DC Motor

Research on the winding control system in winding vacuum coater

Robot Manipulator Control. Hesheng Wang Dept. of Automation

Index. Index. More information. in this web service Cambridge University Press

FUZZY LOGIC CONTROL Vs. CONVENTIONAL PID CONTROL OF AN INVERTED PENDULUM ROBOT

Sensorless DTC-SVM of Induction Motor by Applying Two Neural Controllers

An improved deadbeat predictive current control for permanent magnet linear synchronous motor

Manufacturing Equipment Control

Anakapalli Andhra Pradesh, India I. INTRODUCTION

Chapter 3 AUTOMATIC VOLTAGE CONTROL

Robust Speed and Position Control of Permanent Magnet Synchronous Motor Using Sliding Mode Controller with Fuzzy Inference

Speed Control of Torsional Drive Systems with Backlash

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

PID Controller Design for DC Motor

DC-motor PID control

Open Access Permanent Magnet Synchronous Motor Vector Control Based on Weighted Integral Gain of Sliding Mode Variable Structure

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

Disturbance Compensation for DC Motor Mechanism Low Speed Regulation : A Feedforward and Feedback Implementation

Iterative Controller Tuning Using Bode s Integrals

QNET DC Motor Control

3 Lab 3: DC Motor Transfer Function Estimation by Explicit Measurement

Equal Pitch and Unequal Pitch:

Rigid Manipulator Control

Analysis of Four Quadrant Operation of Thruster Motor in an AUV using an Optimized H Infinity Speed Controller

Department of Mechanical Engineering

Dynamics of the synchronous machine

Selection Calculations For Motorized Actuators

Motor Info on the WWW Motorola Motors DC motor» /MOTORDCTUT.

IfA Fachpraktikum - Experiment 3.7A : Flexible Shaft A

International Journal of Advance Engineering and Research Development SIMULATION OF FIELD ORIENTED CONTROL OF PERMANENT MAGNET SYNCHRONOUS MOTOR

King Saud University

Backstepping Control with Integral Action of PMSM Integrated According to the MRAS Observer

Inertia Identification and Auto-Tuning. of Induction Motor Using MRAS

Sensorless Control of a Hub Mounted Switched Reluctance Motor

EE 422G - Signals and Systems Laboratory

Feedback Control of Linear SISO systems. Process Dynamics and Control

International Journal of Advance Research in Computer Science and Management Studies

Dept. of EEE, KUET, Sessional on EE 3202: Expt. # 1 2k15 Batch

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

ENHANCEMENT MAXIMUM POWER POINT TRACKING OF PV SYSTEMS USING DIFFERENT ALGORITHMS

MEAM 510 Fall 2011 Bruce D. Kothmann

Power Assist H Control of Shift Lever with Spring Connected Link

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Process Control & Design

Design Artificial Nonlinear Controller Based on Computed Torque like Controller with Tunable Gain

DEVELOPMENT OF DIRECT TORQUE CONTROL MODELWITH USING SVI FOR THREE PHASE INDUCTION MOTOR

E11 Lecture 13: Motors. Professor Lape Fall 2010

Transcription:

Survey of Methods of Combining Profiles with control Petter Karlsson Mälardalen University P.O. Box 883 713 Västerås, Sweden pkn91@student.mdh.se ABSTRACT In many applications where some kind of motion is performed, for example in robotics, it is of high importance to be able to control how a certain angular motor position is reached. To this end, motion profiles are used. These profiles often define how the velocity varies during the traversal from the starting position to the desired position. It is relatively easy to let a controller act on the set velocity and a velocity feedback to achieve decent velocity following, but not as easy to also make sure that the correct position is kept along the route as well as in the end. In this paper, four approaches to manage position control alongside velocity profiles are presented and discussed. The first approach is based on continuous velocity control in an ideal environment using a PID controller. If no disturbances are present and the velocity measurement is very exact, this approach could work, but it is hardly worth the effort. This approach can be improved by switching to a distance-based control scheme near the end. Another approach is to use position control by incrementally adding to the set position. The last approach discussed is a cascaded P-PI controller where both velocity and position is considered. Keywords Motion control, position control 1. INTRODUCTION In motion control applications, velocity profiles are used in order to achieve a controlled acceleration and deceleration with respect to desired velocity and position. In contrast to pure PID (proportional, integral and derivative) position control, this gives the system a much higher level of determinism. By using velocity profiles, many aspects of the motion can be controlled, such as traversal, velocity, acceleration/deceleration and jerk (derivative of acceleration). In short, motion profiles are used when it is important where you get but also how you get there. pulses/s 3. 1a: Jerk profile. 1 3 6 1b: Acceleration profile pulses/s pulses/s 1 3 6 1c: profile 1 1 1 3 6 6 x 1d: profile 1 pulses 1 3 6 Figure 1: A step shaped jerk profile (1a) and its derivatives, giving continuous acceleration (1b) as well as smooth velocity (1c) and position(1d) profiles.

Depending on what characteristics are needed for the motion, different profiles can be used. The basic profile is the trapezoidal velocity profile, where the first segment of the profile is a constant acceleration phase. This phase is followed by a constant velocity phase and the profile ends with a constant deceleration phase ending at the set position. Problems could arise using this approach, because the steps in acceleration will produce impulses in jerk. To remedy this, an S-curve profile can be used. In this profile, the phases of constant acceleration/deceleration are replaced by linearly increasing and decreasing acceleration/deceleration, see Figure 1. This approach will instead produce finite steps of jerk that are much more manageable. One of the big problems of combining velocity profiles with position control of any system is that of generating a smooth deceleration, stopping at the set position without creep or abrupt stop. If the motion is decelerated too early, forcing a slower motion while reaching for the set position, the throughput of a system can be lowered. An abrupt stop, on the other hand, may cause damage to equipment or have a negative impact on the comfort of, for example, an elevator ride []. Both of these problems can give rise to synchronization issues in multi-axis environments such as CNC machinery or robot drives and manipulators. The purpose of this paper is to survey methods of reaching the set position, using a velocity profile, while minimizing or eliminating the problems of creep and abrupt stop. This paper will not go into details of tuning systems based on the different methods or how to handle disturbance rejection. The methods presented will be evaluated on a proof-ofconcept basis using MATLAB/Simulink simulations to determine whether the method is suitable for reaching a set position using a velocity profile. In section 1.1, the methods involved in producing the results in this paper are presented. It is followed by a short description of the terms and abbreviations used throughout the paper in section 1.. The different control approaches surveyed in this paper are described in section and the paper ends with the conclusions in section 3. 1.1 Method The suitability of each approach will be determined by simulation using MATLAB/Simulink. In the simulations I will use the transfer function of a hypothetical motor to test the different approaches. Values for the different gains in the controller, as well as sample intervals where applicable, are chosen arbitrarily to represent a stable system. No disturbances or static friction is modeled, as that would not contribute significantly to the results of this paper. The motor model that is used in the simulations, represented as Motor in the controller models, has the following characteristics: giving the approximate Laplace transfer function ω V = K (Js + b)(ls + R) + K where ω is the angular velocity and V is the input voltage []. In all the controller models the voltage saturates at ±1V, meaning that the maximum absolute value of the voltage fed to the motor is 1V. This is done to ensure that the simulations are somewhat realistic. For purposes of simplicity, the profile used in all simulations will be a trapezoidal velocity profile. 1. Terms p : Actual (measured) position. p : Set position (desired position). v : Actual (measured) velocity. v : Set velocity (desired velocity). S : Distance between p and p. P controller : Proportional controller. The output is proportional to the error. PI controller : Proportional-integral controller. The output is proportional to the error and the integral of the error. PID controller : Proportional-integral-derivative controller. The output is proportional to the error as well as the integral and derivative of the error.. CONTROL APPROACHES.1 Control One way of using velocity profiles is to use a PID controller to control the velocity of the motor based on, see Figure. The integral property of the controller will make sure that the set position to be expected at the end of the profile is eventually approached. This is of course based on the (not very plausible) assumption that exact, continuous speed measurements can be performed on the system. One way to prove this is to note that the angular position p of the motor equals the integral of velocity over. The integral term of the PID controller, denoted I, will accumulate all of the error between set velocity v and measured velocity v over (see equation 1), thus expressing the remaining distance S to the end point multiplied by a factor k. Now we can conclude that there is a linear relation between the integral term and the remaining distance to set position p (see equation ). Z I = k[v (t) v(t)]dt = k[p (t) p(t)] (1) moment of inertia of the rotor (J) =.1 kg.m /s damping ratio of the mechanical system (b) =.1 Nms electromotive force constant (K=K e=k t) =.1 Nm/A electric resistance (R) = 1 Ω electric inductance (L) =. H S = p (t) p(t) = I k There are a few things to note here, though, rendering this approach less useful in a real system. In the model of figure, friction is not modeled. As can be seen in figure, ()

Figure : A PID controller based on continuous and exact velocity measurements. 3 1 following Set velocity 6 8 Figure 3: following of (ideal) PID velocity controller. The graph shows how the measured velocity follows the velocity profile. 1 1 following Set position 6 8 Figure : following of (ideal) PID velocity controller. The graph shows how the measured position follows the inferred position profile. the integral term pushes the motor towards the set position after the profile has been traversed. In reality, the friction of the system would probably be too high for the output of the integral term to overcome it, leading to an early stop in this example. Further, most PID controllers are equipped with an anti-windup system, stopping the integral term from growing uncontrollably. Once the anti-windup threshold has been reached, the integral term won t represent the missing distance to the set position any more. There are, of course, other controllers that can be used with this method but in order to be reasonably sure that the motor will end up close to the set position, an integral term is necessary. The anti-windup threshold of this term would have to be set rather high in order to guarantee that it will not usually be reached and the velocity measurement would have to be continuous and extremely exact. These requirements are very hard to fulfill and this approach is therefore very impractical.. control with near-end position control One way of overcoming the requirements of exact speed measurements and high anti-windup threshold of the previous method is to combine it with a distance-based velocity control when the set position is approached [], as shown in figure. In this approach, the deceleration phase is separated into sub-phases. When a constant deceleration is achieved, the set velocity v will instead be expressed as v = p a max(s S off ), where a max is the maximum acceleration allowed, S is the distance remaining to the set position and S off is an offset distance that is used to guarantee continuity in velocity at the where velocity pattern is switched. When the target position is approached closely, the pattern is once again switched to v = k S x where k and x are chosen to guarantee acceptable settling and continuity of acceleration and velocity. This method will however lead to a longer settling and requires welltuned parameters in order to create a continuous velocity

Figure : follower with near-end position-based velocity. 3 1 following Set velocity 6 8 Figure 7: following of PID controller based on discretized position error. The graph shows how the measured velocity follows the velocity profile. profile. [] instead proposes a system based on a cascaded controller, similar to the setup which I will examine more closely in section...3 Incremental position control A method that is used in various motion control chips is a kind of incremental position control [1]. Using a velocity profile as a source, the expected position at every sample interval is calculated. The control signal applied is then based on the difference between the expected position at the next step and the current position. This method will require a discrete system and the velocity is then preferably expressed in the number of sensor pulses per control loop period. The example setup I have used is based on zero order hold circuits for discretization and uses a PID controller to minimize the position error according to figure 6, giving the position following of figure 8. One way to avoid integration of the velocity feedback is to use a position sensor instead. This could be an absolute encoder or, which is very common, an incremental quadrature encoder [3]. This method makes the system independent of any velocity measurement, with the possible drawback of decreased precision in velocity which can be hinted in figure 7. In this 1 1 following Set position 6 8 Figure 8: following of PID controller based on discretized position error. The graph shows how the measured position follows the inferred position profile. control system, the integrator works with the error position, so as long as S > the integral term will keep growing. This will guarantee that as long as the system is stable, the set position p will eventually be reached. One of the strong advantages of this method is its simplicity; the only input needed is a position feedback.. Cascaded P-PI control A setup as depicted in figure 9 will make sure that the velocity profile, as well as the position profile that can be inferred from the velocity profile, is followed. The basic idea is that the inner PI loop controls the velocity and that there is an additional outer loop consisting of the position error multiplied by a gain. The PI loop will make sure that the velocity profile is followed (see figure 1) and the additional P term will compensate for any mismatch of position that occurs (see figure 11).The integral property of the PI loop makes sure that any residual position error will eventually be eliminated. In a discrete implementation of this controller, the current velocity can quite easily be measured by differentiation of the position feedback. This makes it similar to the incremental PID controller of section.3 but with the added functionality of velocity control.

Figure 6: control based on discretized position error. Figure 9: control using a cascaded P-PI controller.

This approach is very powerful as good following of both velocity and position profiles can be achieved. Concerning disturbance rejection, there are improvements over this method available, but they share the same basic concepts. One of these is PI+, which is described in []. 3 1 following Set velocity 3. CONCLUSIONS We have now seen multiple ways of making sure that a set position is reached, following a velocity profile. Using only velocity based control will not guarantee that the set position is reached under all conditions. The two factors that make this approach nearly unusable is that a continuous and very exact speed measurement is necessary and that the anti-windup mechanism of the integral term can destroy the linear connection between the terms value and S. 6 8 Tim Figure 1: following of a cascaded P-PI controller. The graph shows how the measured velocity follows the velocity profile. The above situation can be solved by switching to a positionbased control method at a certain, position, velocity or acceleration. This approach has the downsides that the landing will be increased and that the constants of the equations determining where to switch control method are hard to define. A totally different approach, that is commonly used in motion control chips, is to control the position and velocity by adding different values to the set position at regular intervals. The value to add is calculated from the input velocity profile. When using this method, no dedicated velocity feedback mechanism is needed and the complexity of the controller is low. On the other hand, no direct control of the velocity is achieved. To control velocity and position simultaneously, a cascaded P-PI controller can be used. It consists of an inner loop, controlling velocity, and an outer loop adjusting for any position mismatch along the way. 1 1 following Set position 6 8 Figure 11: following of a cascaded P-PI controller. The graph shows how the measured position follows the inferred position profile. This paper deals only with the problem of making sure that position control is achieved alongside a velocity profile. A continuation of this work could be an investigation of the disturbance rejection properties of these and other methods.. REFERENCES [1] J. U. Cho and J. W. Jeon. A motion-control chip to generate velocity profiles of desired characteristics. ETRI Journal, 7():63 68, October. [] G. Ellis and R. D. Lorenz. Comparison of motion control loops for industrial applications. IEEE IAS Annual Meeting, :99 6, October 1999. [3] R. O. Jr. Incremental optical encoder system forabsolute position measurement. US. patent,,79,1, August 1976. [] K. Ohishi, K. Ohnishi, K. Miyachi, and K. Tamaki. Microprocessor-based robust control of a dc servo motor. IEEE Control Systems Magazine, 6():3 36, October 1986. [] H.-M. Ryu and S.-K. Sul. control for direct landing of elevator using -based position pattern generation. IEEE IAS Annual Meeting, 1:6 69, October.