Daniel Raviv and Eddy W. Djaja

Similar documents
Dr Ian R. Manchester

16.30 Learning Objectives and Practice Problems - - Lectures 16 through 20

Classical Control Design Guidelines & Tools (L10.2) Transfer Functions

FOURIER analysis is a well-known method for nonparametric

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Winter Semester, Linear control systems design Part 1

ECE317 : Feedback and Control

Microelectronic Circuits II. Ch 9 : Feedback

Implementation of decentralized active control of power transformer noise

CHASSIS DYNAMOMETER TORQUE CONTROL SYSTEM DESIGN BY DIRECT INVERSE COMPENSATION. C.Matthews, P.Dickinson, A.T.Shenton

EEL2216 Control Theory CT2: Frequency Response Analysis

Andrea Zanchettin Automatic Control 1 AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear control systems design

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

An Overview of Linear Systems

Dr Ian R. Manchester Dr Ian R. Manchester Amme 3500 : Root Locus Design

Motor Control. Suppose we wish to use a microprocessor to control a motor - (or to control the load attached to the motor!) Power supply.

JUNE 2014 Solved Question Paper

ME 5281 Fall Homework 8 Due: Wed. Nov. 4th; start of class.

VOLTAGE MODE CONTROL OF SOFT SWITCHED BOOST CONVERTER BY TYPE II & TYPE III COMPENSATOR

Bode Plot for Controller Design

ANNA UNIVERSITY :: CHENNAI MODEL QUESTION PAPER(V-SEMESTER) B.E. ELECTRONICS AND COMMUNICATION ENGINEERING EC334 - CONTROL SYSTEMS

CONTROLLER DESIGN FOR POWER CONVERSION SYSTEMS

Implementation and Simulation of Digital Control Compensators from Continuous Compensators Using MATLAB Software

CDS 101/110a: Lecture 8-1 Frequency Domain Design

GE420 Laboratory Assignment 8 Positioning Control of a Motor Using PD, PID, and Hybrid Control

ME 375 System Modeling and Analysis

Module 08 Controller Designs: Compensators and PIDs

Trajectory E-Filter Zero Phase Error Tracking Controller for Non-Minimum Phase XY Table System

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

Control of Single Switch Inverters

Position Control of DC Motor by Compensating Strategies

Frequency Response Analysis and Design Tutorial

On-Line Dead-Time Compensation Method Based on Time Delay Control

Embedded Robust Control of Self-balancing Two-wheeled Robot

Compensator Design using Bode Plots

Position Control of AC Servomotor Using Internal Model Control Strategy

EE 482 : CONTROL SYSTEMS Lab Manual

CDS 101/110: Lecture 9.1 Frequency DomainLoop Shaping

SECTION 6: ROOT LOCUS DESIGN

Electrical Engineering. Control Systems. Comprehensive Theory with Solved Examples and Practice Questions. Publications

Adaptive Notch Filter Using Real-Time Parameter Estimation

Design and Analysis for Robust PID Controller

BSNL TTA Question Paper Control Systems Specialization 2007

Loop Design. Chapter Introduction

Lecture 9. Lab 16 System Identification (2 nd or 2 sessions) Lab 17 Proportional Control

Phys Lecture 5. Motors

DC-DC converters represent a challenging field for sophisticated

LAMBDA TUNING TECHNIQUE BASED CONTROLLER DESIGN FOR AN INDUSTRIAL BLENDING PROCESS

Procidia Control Solutions Dead Time Compensation

AHAPTIC interface is a kinesthetic link between a human

ME451: Control Systems. Course roadmap

Disturbance Rejection Using Self-Tuning ARMARKOV Adaptive Control with Simultaneous Identification

Chapter 5 Frequency-domain design

Lecture 5 Introduction to control

MEM01: DC-Motor Servomechanism

EC CONTROL SYSTEMS ENGINEERING

Keysight Technologies Pulsed Antenna Measurements Using PNA Network Analyzers

Design IIR Band-Reject Filters

Comparative Analysis of Controller Tuning Techniques for Dead Time Processes

Outline. Digital Control. Lecture 3

Välkomna till TSRT15 Reglerteknik Föreläsning 8

DSP based Digital Control Design for DC-DC Switch Mode Power Converter. Shamim Choudhury Texas Instruments Inc.

(1) Identify individual entries in a Control Loop Diagram. (2) Sketch Bode Plots by hand (when we could have used a computer

Design of Shunt Active Power Filter by using An Advanced Current Control Strategy

A Simple Sensor-less Vector Control System for Variable

Discretization of Continuous Controllers

TRACK-FOLLOWING CONTROLLER FOR HARD DISK DRIVE ACTUATOR USING QUANTITATIVE FEEDBACK THEORY

Achievable-SIR-Based Predictive Closed-Loop Power Control in a CDMA Mobile System

COMPUTATION OF STABILIZING PI/PID CONTROLLER FOR LOAD FREQUENCY CONTROL

AC : A STUDENT-ORIENTED CONTROL LABORATORY US- ING PROGRAM CC

JNTUWORLD. 6 The unity feedback system whose open loop transfer function is given by G(s)=K/s(s 2 +6s+10) Determine: (i) Angles of asymptotes *****

Implementation of Proportional and Derivative Controller in a Ball and Beam System

Infinite Impulse Response Filters

Applications of Passivity Theory to the Active Control of Acoustic Musical Instruments

Positive Feedback and Oscillators

On the Estimation of Interleaved Pulse Train Phases

THE differential integrator integrates the difference between

Lecture 18 Stability of Feedback Control Systems

Investigation of Time Domain Design of Digital Controllers for PWM Converters

ADVANCED DC-DC CONVERTER CONTROLLED SPEED REGULATION OF INDUCTION MOTOR USING PI CONTROLLER

CL Digital Control Kannan M. Moudgalya

Robust Haptic Teleoperation of a Mobile Manipulation Platform

ANTI-WINDUP SCHEME FOR PRACTICAL CONTROL OF POSITIONING SYSTEMS

Glossary of terms. Short explanation

PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON SCIENCE AND ENGINEERING

Optimizing Performance Using Slotless Motors. Mark Holcomb, Celera Motion

CDS 101/110a: Lecture 8-1 Frequency Domain Design. Frequency Domain Performance Specifications

1.What is frequency response? A frequency responses the steady state response of a system when the input to the system is a sinusoidal signal.

IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 14, NO. 3, MAY A Sliding Mode Current Control Scheme for PWM Brushless DC Motor Drives

of harmonic cancellation algorithms The internal model principle enable precision motion control Dynamic control

INSIDE hard disk drives (HDDs), the eccentricity of the

Magnetic Levitation System

9/17/2015. Contents. ELEC-E8101 Digital and Optimal Control (5 cr), autumn 2015

METHODS TO IMPROVE DYNAMIC RESPONSE OF POWER FACTOR PREREGULATORS: AN OVERVIEW

Lecture 10. Lab next week: Agenda: Control design fundamentals. Proportional Control Proportional-Integral Control

CDS 101/110: Lecture 8.2 PID Control

EES42042 Fundamental of Control Systems Bode Plots

A Model Based Digital PI Current Loop Control Design for AMB Actuator Coils Lei Zhu 1, a and Larry Hawkins 2, b

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Pole, zero and Bode plot

Adaptive Inverse Control with IMC Structure Implementation on Robotic Arm Manipulator

Transcription:

Daniel Raviv and Eddy W. Djaja The authors (eddy.djaja@mil.publix. corn and ravivd@acc.faxedu) are with the Robotics Center and Electrical Engineering Department, Florih Atlantic University, Boca Raton, Florih. e National Institute of Standanis and Technol- D igital control design through discretizing an analog controller has been the topic of much controversy [ 11. The problem is as follows: given a process Gp(s), sensor H(s) and a presumably well designed analog controller Gc(s) (Fig. la), find a digital controller D(z) (Fig. lb) which produces closed-loop behavior similar to the analog system both in the time and frequency domains. At relatively low sampling rates, having a discretized controller without zero order hold (ZOH) compensation may lead to a degraded performance of the closed-loop system (and may cause instability). An appropriate design that compensates for the ZOH effects is desired. The Proposed Method Unquestionably, analog control design followed by controller discretization is far more convenient than direct digital control design for the main reason that the sampling period value T affects the design process only at the final phase and not up front [2]. Our goal in this article is to share with the readers a simple and highly practical ZOH compensation technique that we have successfully applied to many benchmark problems studied by us and other researchers, and to other design problems. We have found is that adding this compensation to a discretized controller, which maintains closed-loop stability, results in noticeably improved performance. The method is based on adding a pole-zero pair in the Z-plane to the digital controller obtained through some suitable discretization meth- $ ods, such as Tustin (bilinear) transformation, with or without pre- o warping. The additional pole and zero partially compensate for the low and mid-frequencies phase and gain frequency response effects contributed by the ZOH. As is well known, the contributions of the ZOH and GJs) to the exact discrete time pulse transfer function are not separable. Yet, generally speaking, regardless of the Gp(s) effect, the ZOH causes a delay of approximately % as shown intuitively in Fig. 2. It has been shown that digital controller based closed-loop systems can be improved using a predictor algorithm [9]. The input signal to the - Y 52 IEEE Control Systems

~ T T - T 1 T H(s) Fig. 2. A reconstructed signal using ZOH and its smoothed approximation. t Fig. 1. (a) The analog closed-loop control system, (b) The digital closed-loop control system. plant is a predicted one based on previous samples. However the compensator for the delay is controller and sampling time dependent. A pole-zero compensation (b) 22 C(Z) = - Z+l shown in Fig. 3 provides a phase of ot / 2 which exactly cancels the frequency phase response of the ZOH as obtained from (1- e-.vt) / s. The ZOH magnitude response is canceled at frequencies for which ot wt tan---. 2 2 It is interesting to note that this cancellation (up to a scale factor of 1 / T) is the inverse of the Tustin transformation of the first order Pade approximation to the so-called ZOH transfer function [31: -=- S st 1+- L pling rate by applying the polynomial root locus [4]. For a given stable analog closed-loop system, a necessary condition for the proposed method to be used is that the characteristic polynomial of the discretized system be such that where D (z), an arbitrary discretized version of G,(s), has all the polynomial roots inside the unit circle. In cases where the proposed compensation (1) causes closed-loop instability, a modified ZOH compensation of the following form is to be considered: 2(Z-E) C (Z) = ~ ztl-2e (5) where E is a small positive constant. For closed-loop stability, the characteristic polynomial implied by: must have all roots inside the unit circle. Note that this modified compensation preserves the dc gain of the controller. Fig. 4 il- l IM Then: st 1+- 2, 2 5 2 - T z+l 2 z Higher order Pade approximations of the ZOH are usually discussed in the literature. However, they correspond to more complicated (i.e., of higher degree) digital controllers. The suggested approximation (along with the bilinear transformation) compensates exactly for the ZOH phase lag. The method does not guarantee a stable closed-loop system since it is independent of the discretization method and the sampling rate. However one can investigate the effects of the sam- Fig. 3. The location of pole and zero of ZOH compensator in the Z-domain. June 1999 53

I Table 1 z - 0.9990 I I Tz0.05 s 0.0150~-0.0100 i 1 z-0.9950 T = 0.1 s T = 0.1 s Unstable 0.01742-0.0075 z - 0.9900 Unstable 0.0174~- 0.0075 z - 0.9900 Multiplier - 22 z+l - 22 z+l 22 Z+l 2(z - 0.2) (z + 0.6) 0.0260~' - 0.0240~ z2 + 0.0010~ - 0.9990 0.0299~' - 0.02001: zz + 0.00502-0.9950 Unstable 0.0348~~ - 0.0150~ Z' + 0.0100~ - 0.9900 0.03481' - 0.0219~ + 0.0030 z2-0.39002-0.5940 lustrates the effect of the new pole-zero pair of the ZOH compensation. The paper by Hori, et al. [IO], targets matchedpole-zero models for ZOH compensation. Based on the frequency domain in the paper, it does not seem to improve the phase of the system (compared to other methods shown). Summary of the Design Procedure 1. Select a suitable S to Z transformation, e.g., Tustin (bilinear) transformation, and sampling time T to discretize the existing analog controller G,(s) to obtain D'(z). 2. Multiply the result of step (1) by C (z) = 22 / (z + 1) to obtain: D(z) = C(z)D'(z). 2a. Match the open-loop dc gain of the digital control system to the analog system. 3. Check the closed-loop stability in Z-domain using equation (4). If stable, observe the closed-loop system performance. 4. If in step (3) the closed-loop system becomes unstable, then: 4a. Try C'(z) = 2(2 - E) / (z +1-2 ~) for small e0 to obtain D(z) = C'(z)D'(z); use E as small as possible to guarantee better performance at higher frequencies. 4b. Match the open-loop dc gain of the analog and discretized systems. 4c. Check the closed-loop stability in Z domain using (6). If stable, observe the closed-loop system performance. 5. If the closed-loop system in step (4c) is still unstable, use other methods. Note that this method is applicable for cases where (4) and (6) produce stable poles). Examples a. Lag Compensator 151 Given the process 4x lo6 GJs) = s(s + 20)(s + 200) ; H(s) =I. Zero-Pole Pair from ZOH / Compensation // all sinusoidal inputs of frequency above 400 rads by at least 16, (c) steady-state error of (up to) 1% for sinusoidal inputs with frequencies less than 1 rads. Table 1 is a summary of the discretization results for three different sampling rates. The discretized controller D'( z), using Tustin transformation, is listed in the second column. The third column is the ZOH compensation and the fourth column is the complete controller D(z) using the proposed ZOH compensation. Note that in the third row, with or without the ZOH compensator, the closed-loop system is unstable. The problem is overcome by using the modified compensator shown in the fourth row. Fig. 5a depicts the closed-loop step responses of the analog system and the digital control system using Tustin with and without ZOH com- pensation for T= 0.01 s. The ZOH compensation design method performance matches the analog system's performance very well, while without the compensation, the system has slightly greater overshoot. When reducing the sampling rate to T= 0.05 s, the system with no compensation has very poor performance in the time domain as shown in Fig. 5b. However, with the ZOH / -, -.-. IM ---. \ \ \ The analog controller G,(s) =&-was designed using a Bode diagram to satisfy the following design specifications: (a) velocity error constant, K, at least 1000 s-', (b) attenuation of Fig. 4. (a) Unmodified ZOH compensatol; (b) Modified ZOH compensatol: 54 IEEE Control Systems

. I. K m........... 0.6.......{...: / I compensation, the system performance is close to that of the analog system. Reducing the sampling rates even further to T= 0.1 s results in an unstable closed-loop system with and without compensation as shown in Table 1. Using the modified ZOH compensation with E = 0.2, the closed-loop system becomes stable. The step response shown in Fig. 5c demonstrates relatively good performance, while the Tustin transformation has made the closedloop system unstable. Given b. Lead-Lag Compensation [5] % g 8 rn 2 rl K a 0 0 0.5 1 1.5 (4 Continuous...:....... the analog controller has been designed using a Bode diagram to meet several specifications: (a) phase margin of at least 50, (b) velocity error constant, Kv at least 1000 s-, (c) attenuation of the input noise at 60 Hz and above by a factor of 100, and (d) steady state error for frequencies less than 1 rads less than 1%. Using Tustin transformation applied to Gc(s) provided with T = 0.01 s, the following digital controller is obtained: 6 5 4 $ 3 d g 2 a 1 0-1 -2-3 0.5 1 1.5 (b) - - - D(Z) Continuous :....:..................,.... I\_.. :.......,... /... 4 0 0.5 1 1.5 (4 0.65972-1.28972 + 0.6300 D(z) = 1.00~~ -1.28932 + 0.2900 22 With the ZOH compensation of -, the digital controller becomes z+l o(z) = 1.3194~~ -2.57932 +1.26~ 2-0.28932-0.99932 + 0.2900 Fig. 6 depicts the closed-loop step response of the analog system and the digital control system using the Tustin transformation with and without ZOH compensation. The effect of the ZOH compensation is evident. Given the analog controller c. Katz s example 161 Fig. 5. Lag Compensation Example. (a) Closed-loop step response with T= 0.01 s; (b) Closed-loop step response of with T=0.05 s; (c) Closed-loop step response with T=O.l s. (S + LY4)- has been designed to meet the following closed-loop system specifications: (a) the maximum phase lag at f= 3 Hz should not June 2999 55

o,2390 16 14 1.2 % g o 0.8 a 06 04 2.5 2 Q) 1.5 U) s 8 z 1 8 0.5 02 0 0 01 02 03 04 0.5 Fig. 6. Closed-loop step response of Example (b). T = 0.01 s. -0.5,0 0.1 02 0.3 0.4 0.5 Fig. 7. Closed-loop step response of Example (c). T = 0.03 s. be more than 13, (b) at any given frequency the closed-loop gain should not exceed 5 db beyond the closed-loop dc gain, and (c) maximum tracking error due to an input disturbance moment of 0.028 Nm should be 0.01 rad. Taking the Tustin transformation with pre-warping at the sampling time T = 0.03 s of Gc(s), the following digital controller is obtained by [6]: 1.8958~~ + 1.1685~ - 0.7273 D(z) = z2 + 1.16532 + 0.3395 (Note that Katz s pre-warping, which warps the frequency of both pole and zero [6], differs from the regular pre-warping, which warps at a single frequency.) This was the only discretization method that resulted in a stable closed-loop system at such low sampling rate [3]. The same controller with the additional proposed ZOH compensation is: = z3 + 2.16532 + 1.5047~ Adding this ZOH compensation to the D( z), the system output at the sampling instants is significantly closer to the original analog step response, shown in Fig. 7. The proposed method significantly improves the response compared to Tustin transformation with pre-warping. Even though the suggested compensator does not perform better than those obtained by Evans-Kennedy [7] and Keller-Anderson[2] methods, the simplicity of the proposed method is quite attractive. The methods in [2] and [7] are sophisticated and difficult to use. I 0 0 0.5 1 1.5 2 2.5 3 3.7916~~ + 2.3369~ -1.45462 Fig. 8. Closed-loop step response of Example (d). T = 0.15 s. + 0.3395 a digital controller proposed by Rattan (no design specifications are available in his example) is: 4attaJZ) = + 3.4362-2.191 Using Tustin transformation to discretize the analog controller, the digital controller becomes: 2.294~ -1.5935 D(2) = z - 0.299 1 Given d. Rattan s Example [SI 10 G,(s) = - s(s +1) 1 + 0.416s G,(s) = ~ 1 + 0.319s Applying the modified ZOH compensation with E = 0.1 to D(z): 4.5888~~ - 3.6459~ + 0.3 187 D(Z) = z2 + O.SOO92-0.2393 In Rattan s example, the closed-loop frequency matching in the W-domain has shown better performance than Tustin and pre-warping methods at T= 0.15 s [8]. Fig. 8 shows that the step 56 IEEE Control Systems

response of the closed-loop system using the modified ZOH compensation has slightly lower overshoot than Rattan s method and by far better than Tustin transformation without compensation. Conclusion This paper has introduced a method to partially compensate for the ZOH effects of a closed-loop digital control system. By multiplying a given discretized controller in the Z-domain by a pole-zero pair, significant closed-loop performance improvement has been achieved in many design examples. We hope that practicing engineers find this method useful. Acknowledgments While investigating active vision control techniques, we came across this compensation method. We would like to thank the National Science Foundation, Division of Information, Robotics and Intelligent Systems (Grant # IRI-9115939) for partial support of this research. The authors would like to thank Dr. Roth for his excellent suggestions, as well as the reviewers and the associate editor who suggested very constructive modifications of this article. References [I] B.D.O. Anderson, Controller design: moving from theory to practice, IEEE Control Systems, pp. 16-25, Aug. 1993. [2] J.P. Keller and B.D.O. Anderson, A new approach to the discretization of continuous-time controllers, IEEE Trans. Automat. ContE, vol. 37, pp. 2 14-223, Feb. 1992. [3] G.F. Franklin, J.D. Powell, and A.E. Naeini, Feedback Control of Dynamic Systems, Reading, MA: Addison Wesley, 199 1. [4] C.H. Wang, W.Y. Wang, and T.T. Lee, Sampling-time effects of higherorder digitisations and their applications in digital redesign, IEE Proc. Control Theory Appl., vol. 141, no. 2, March 1994. [5] J.L. Bower and P.M. Schultheiss, Introduction to Design ofservornechanisms, New York: Wiley, 1958. [6] P. Katz, Digital Control Using Microprocessors, Englewood Cliffs, NJ: Prentice-Hall, 1981. [7] R.A. Kennedy and R.J. Evans, Digital redesign of a continuous controller based on closed-loop performance, in Proc. 29th Con$ Decision Control, pp. 1898-1901, 1990. [8] K.S. Rattan, Digitalization of existing control systems, IEEE Trans. Automat. Contl:, vol. AC-29, pp. 282-285, March 1984. [9] C.F. Moore, C.L. Smith, and P.W. Murrill, Improvedalgorithmfor direct digital control, Instruments and Control Systems, pp. 70-74, Jan. 1970. [IO] N. Hori, R. Cormier Jr., and K. Kanai, On Matched Ple-Zero Models, IEE Proceedings-D, ~01.139, no. 3, pp. 273-278, May 1992. Daniel Raviv received the B.Sc. and M.Sc. degrees in electrical engineering from the Technion in Haifa, Israel, in 1980 and 1982, respectively, and the Ph.D. degree in Electrical Engineering and Applied Physics from Case Western Reserve University, Cleveland, Ohio, in 1987. He is currently an associate professor of Electrical Engineering at Florida Atlantic University, Boca Raton, Florida, and a visiting researcher at the National Institute of Standards and Technology (NIST), Gaithersburg, Maryland. His research interests are in vision-based autonomous navigation, computer vision, and inventive thinking. Eddy W. Djaja received the B.Sc. and M.Sc. degrees in electrical engineering and computer engineering from Florida Atlantic University, Boca Raton, Florida, in 1994 and 1996, respectively. He is currently employed as a database administrator in the Information Systems Department, Publix Super Markets, Inc., Lakeland, Florida. June 1999 57