Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 270 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
270
Dung lượng
2,5 MB
Nội dung
Fuzzy Control Kevin M. Passino Department of Electrical Engineering The Ohio State University Stephen Yurkovich Department of Electrical Engineering The Ohio State University An Imprint of Addison-Wesley Longman, Inc. Menlo Park, California • Reading, Massachusetts • Harlow, England • Berkeley, California Don Mills, Ontaria • Sydney • Bonn • Amsterdam • Mexico City ii Assistant Editor: Laura Cheu Editorial Assistant: Royden Tonomura Senior Production Editor: Teri Hyde Marketing Manager: Rob Merino Manufacturing Supervisor: Janet Weaver Art and Design Manager: Kevin Berry Cover Design: Yvo Riezebos (technical drawing by K. Passino) Text Design: Peter Vacek Design Macro Writer: William Erik Baxter Copyeditor: Brian Jones Proofreader: Holly McLean-Aldis Copyright c 1998 Addison Wesley Longman, Inc. All rights reserved. No part of this publicationmaybereproduced, or stored in a database or retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the pub- lisher. Printed in the United States of America. Printed simultaneously in Canada. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Addison- Wesley was aware of a trademark claim, the designations have been printed in initial caps or in all caps. MATLAB is a registered trademark of The MathWorks, Inc. Library of Congress Cataloging-in-Publication Data Passino, Kevin M. Fuzzy control / Kevin M. Passino and Stephen Yurkovich. p. cm. Includes bibliographical references and index. ISBN 0-201-18074-X 1. Automatic control. 2. Control theory. 3. Fuzzy systems. I. Yurkovich, Stephen. II. Title. TJ213.P317 1997 97-14003 629.8’9--DC21 CIP Instructional Material Disclaimer: The programs presented in this book have been included for their instructional value. They have been tested with care but are not guaran- teed for any particular purpose. Neither the publisher or the authors offer any warranties or representations, nordotheyaccept any liabilities with respect to the programs. About the Cover: An explanation of the technical drawing is given in Chapter 2 on page 50. ISBN 0–201–18074–X 12345678910—CRW—0100999897 iii Addison Wesley Longman, Inc., 2725 Sand Hill Road, Menlo Park, California 94025 iv To Annie and Juliana (K.M.P) To Tricia, B.J., and James (S.Y.) v vi Preface Fuzzy control is a practical alternative for a variety of challenging control applica- tions since it provides a convenient method for constructing nonlinear controllers via the use of heuristic information. Suchheuristic information may come from an operator who has acted as a “human-in-the-loop” controller for a process. In the fuzzy control design methodology, we ask this operator to write down a set of rules on how to control the process, then we incorporate these into a fuzzy con- troller that emulates the decision-making process of the human. In other cases, the heuristic information may come from a control engineer who has performed exten- sive mathematical modeling, analysis, and development of control algorithms for a particular process. Again, such expertiseisloaded into the fuzzy controller to au- tomate the reasoning processes and actions of the expert. Regardless of where the heuristic control knowledge comes from, fuzzy control provides a user-friendly for- malism for representing and implementing the ideas we have about how to achieve high-performance control. In this book we provide a control-engineering perspective on fuzzy control. We are concerned with both the construction of nonlinear controllers for challeng- ingreal-world applications and with gaining a fundamental understanding of the dynamics of fuzzy control systems so that we can mathematically verify their prop- erties (e.g., stability) before implementation. We emphasize engineering evaluations of performance and comparative analysis with conventional control methods. We introduce adaptive methods for identification, estimation, and control. We exam- ine numerous examples, applications, and design and implementation case studies throughout the text. Moreover, we provide introductions to neural networks, ge- neticalgorithms, expert and planning systems, and intelligent autonomous control, and explain how these topics relate to fuzzy control. Overall, we take a pragmatic engineering approach tothedesign, analysis, performance evaluation, and implementation of fuzzy control systems. We are not concernedwith whether the fuzzy controller is “artificially intelligent” or with in- vestigating the mathematics of fuzzy sets (although some of the exercises do), but vii viii rather with whether the fuzzy control methodology can help solve challenging real- world problems. Overview of the Book The book is basically broken into three parts. In Chapters 1–4 we cover the basics of “direct” fuzzy control (i.e., the nonadaptive case). In Chapters 5–7 we cover adap- tive fuzzy systems for estimation, identification, and control. Finally, in Chapter 8 we briefly cover the main areas of intelligent control and highlight how the topics covered in this book relate to these areas. Overall, we largely focus on what one could call the “heuristic approach to fuzzy control” as opposed to the more recent mathematical focus on fuzzy control where stability analysis is a major theme. In Chapter 1 we provide an overview of the general methodology for conven- tional control system design. Then we summarize the fuzzy control system design process and contrast the two. Next, we explain what this book is about via a simple motivating example. In Chapter 2 we first provide a tutorial introduction to fuzzy control via a two-input, one-output fuzzy control design example. Following this we introduce a general mathematical characterization of fuzzy systems and study their fundamental properties. We use a simple inverted pendulum example to illus- trate some of the most widely used approaches to fuzzy control system design. We explain how to write a computer program to simulate a fuzzy control system, using either a high-levellanguage or Matlab 1 .Inthewebandftppages for the book we provide such code in C and Matlab. In Chapter 3 we use several case studies to show how to design, simulate, and implement a variety of fuzzy control systems. In these case studies we pay particular attention to comparative analysis with con- ventional approaches. In Chapter 4 we show how to perform stability analysis of fuzzy control systems using Lyapunov methods and frequency domain–based sta- bility criteria. We introduce nonlinear analysis methods that can be used to predict and eliminate steady-state tracking error and limit cycles. We then show how to use the analysis approaches in fuzzy control system design. The overall focus for these nonlinear analysis methods is on understanding fundamental problems that can be encountered in the design of fuzzy control systems and how to avoid them. In Chapter 5 we introduce the basic “function approximation problem” and show how identification, estimation, prediction, and some control design problems are a special case of it. We show how to incorporate heuristic information into the function approximator. We show how to form rules for fuzzy systems from data pairs andshow how to train fuzzy systems from input-output data with least squares, gradient, and clustering methods. And we show how one clustering method from fuzzy pattern recognition can be used in conjunction with least squares methods to construct a fuzzy model from input-output data. Moreover, we discuss hybrid ap- proaches that involve acombination of two or more of these methods. In Chapter 6 we introduce adaptive fuzzy control. First, we introduce several methods for auto- matically synthesizing and tuning a fuzzy controller, and then we illustrate their application via several design and implementation case studies. We also show how 1. MATLAB is a registered trademark of The MathWorks, Inc. ix to tune a fuzzy model of the plant and use the parameters of such a model in the on-line design of a controller. In Chapter 7 we introduce fuzzy supervisory control. We explain how fuzzy systems can be used to automatically tune proportional- integral-derivative (PID) controllers,howfuzzy systems provide a methodology for constructing and implementing gain schedulers, and how fuzzy systems can be used to coordinate the application and tuning of conventional controllers. Follow- ing this, we show how fuzzy systems can be used to tune direct and adaptive fuzzy controllers. We provide case studies in the design and implementation of fuzzy supervisorycontrol. In Chapter 8 we summarize our control engineeringperspective on fuzzy control, provide an overview of the other areas of the field of “intelligent control,” and explain how these other areas relate to fuzzy control. In particular, we briefly cover neural networks, genetic algorithms, knowledge-based control (expert systems and planning systems),and hierarchical intelligent autonomous control. Examples, Applications, and Design and Implementation Case Studies We provide several design and implementation case studies for a variety of appli- cations, and many examples are used throughout the text. The basic goals of these case studies and examples are as follows: • To help illustrate the theory. • To show how toapply the techniques. • To help illustrate design procedures in a concrete way. • To show what practical issues are encountered in the development and implemen- tation of a fuzzy control system. Some of the more detailed applications that are studied in the chapters and their accompanying homework problems are the following: • Direct fuzzy control: Translational inverted pendulum, fuzzy decision-making sys- tems, two-link flexible robot, rotational inverted pendulum, and machine schedul- ing(Chapters 2 and 3 homework problems: translational inverted pendulum, au- tomobile cruise control, magnetic ball suspension system, automated highway sys- tem, single-link flexible robot, rotational inverted pendulum, machine scheduling, motor control, cargo ship steering, base braking control system, rocket velocity control, acrobot, and fuzzy decision-making systems). • Nonlinear analysis: Inverted pendulum, temperature control, hydrofoil controller, underwater vehicle control, and tape drive servo (Chapter 4 homework problems: inverted pendulum, magnetic ball suspension system, temperature control, and hydrofoil controller design). x • Fuzzy identification and estimation: Engine intake manifold failure estimation, and failure detection and identification for internal combustion engine calibra- tion faults (Chapter 5 homework problems: tank identification, engine friction estimation, and cargo ship failures estimation). • Adaptive fuzzy control: Two-link flexible robot, cargo ship steering, fault toler- antaircraftcontrol, magnetically levitated ball, rotational inverted pendulum, machine scheduling, and level control in a tank (Chapter 6 homework problems: tanker and cargo ship steering, liquid level control in a tank, rocket velocity con- trol, base braking control system, magnetic ball suspension system, rotational inverted pendulum, and machine scheduling). • Supervisory fuzzy control: Two-link flexible robot, and fault-tolerant aircraft con- trol (Chapter 7 homework problems: liquidlevel control, and cargo and tanker ship steering). Some of the applications and examples are dedicated to illustrating one idea from the theory or one technique. Others are used in several places throughout the text to show how techniques build on one another and compare to each other. Many of the applications show how fuzzy control techniques compare to conventional control methodologies. World Wide Web Site and FTP Site: Computer Code Available The following information is available electronically: • Various versions of C and Matlab code for simulation of fuzzy controllers, fuzzy control systems, adaptive fuzzy identification and estimation methods, and adap- tive fuzzy control systems (e.g., for some examples and homework problems in the text). • Other special notes of interest, including an errata sheet if necessary. Youcan access this information via the web site: http://www.awl.com/cseng/titles/0-201-18074-X or youcan access the information directly via anonymous ftp to ftp://ftp.aw.com/cseng/authors/passino/fc For anonymous ftp, log into the above machine with a username “anonymous” and use your e-mail address as a password. Organization, Prerequisites, and Usage Each chapter includes an overview, a summary, and a section “For Further Study” that explains how the reader can continue study in the topical area of the chapter. At the end of each chapter overview, we explain how thechapter is related to the [...]... July 19 97 Contents PREFACE vii CHAPTER 1 / Introduction 11 .1 Overview 1 1.2 Conventional Control System Design 3 1. 2 .1 Mathematical Modeling 3 1. 2.2 Performance Objectives and Design Constraints 5 1. 2.3 Controller Design 7 1. 2.4 Performance Evaluation 8 1. 3 Fuzzy Control System Design 10 1. 3 .1 Modeling Issues and Performance Objectives 12 1. 3.2 Fuzzy Controller Design 12 1. 3.3 Performance Evaluation 13 ... (in alphabetical order): Anthony Angsana [4], Scott C Brown [27], David L Jenkins [83], Waihon Andrew Kwong [10 3, 10 4, 14 4], Eric G Laukonen [10 7, 10 4], Jeffrey R Layne [11 0, 11 3, 11 2, 11 4, 11 1], William K Lennon [11 8], Sashonda R Morris [14 3], Vivek G Moudgal [14 5, 14 4], Jeffrey T Spooner [200, 19 6], and Moeljono Widjaja [235, 244] These students, and Mehmet Akar, Mustafa K Guven, MinHsiung Hung, Brian... Scheduling 15 2 3.5 .1 Conventional Scheduling Policies 15 3 3.5.2 Fuzzy Scheduler for a Single Machine 15 6 3.5.3 Fuzzy Versus Conventional Schedulers 15 8 Fuzzy Decision-Making Systems 16 1 3.6 .1 Infectious Disease Warning System 16 2 3.6.2 Failure Warning System for an Aircraft 16 6 Summary 16 8 3.8 3.9 3 .10 For Further Study 16 9 Exercises 17 0 Design Problems 17 2 3.5 3.6 14 4 CHAPTER 4 / Nonlinear Analysis 18 7 4 .1. .. Design 12 1. 3.3 Performance Evaluation 13 1. 3.4 Application Areas 14 1. 4 What This Book Is About 14 1. 4 .1 What the Techniques Are Good For: An Example 15 1. 4.2 Objectives of This Book 17 1. 5 Summary 18 1. 6 For Further Study 19 1. 7 Exercises 19 CHAPTER 2 / Fuzzy Control: The Basics 2 .1 Overview 23 2.2 23 Fuzzy Control: A Tutorial Introduction 24 2.2 .1 Choosing Fuzzy Controller Inputs and Outputs 26 2.2.2... Overview 11 9 3.2 Design Methodology 12 2 3.3 Vibration Damping for a Flexible Robot 12 4 3.3 .1 The Two-Link Flexible Robot 12 5 3.3.2 Uncoupled Direct Fuzzy Control 12 9 3.3.3 Coupled Direct Fuzzy Control 13 4 3.4 Balancing a Rotational Inverted Pendulum 3.4 .1 The Rotational Inverted Pendulum 14 2 14 2 11 9 50 CONTENTS 3.7 3.4.2 A Conventional Approach to Balancing Control 3.4.3 Fuzzy Control for Balancing 14 5... of Fuzzy Control Systems 91 2.5 .1 Simulation of Nonlinear Systems 91 2.5.2 Fuzzy Controller Arrays and Subroutines 94 2.5.3 Fuzzy Controller Pseudocode 95 Real-Time Implementation Issues 97 2.6 .1 Computation Time 97 2.6.2 Memory Requirements 98 Summary 99 2.8 2.9 2 .10 For Further Study 10 1 Exercises 10 1 Design Problems 11 0 2.3 2.4 2.5 2.6 CHAPTER 3 / Case Studies in Design and Implementation 3 .1 Overview... CHAPTER 4 / Nonlinear Analysis 18 7 4 .1 Overview 18 7 4.2 Parameterized Fuzzy Controllers 18 9 4.2 .1 Proportional Fuzzy Controller 19 0 4.2.2 Proportional-Derivative Fuzzy Controller 19 1 4.3 Lyapunov Stability Analysis 19 3 4.3 .1 Mathematical Preliminaries 19 3 4.3.2 Lyapunov’s Direct Method 19 5 4.3.3 Lyapunov’s Indirect Method 19 6 4.3.4 Example: Inverted Pendulum 19 7 4.3.5 Example: The Parallel Distributed... 407 CHAPTER 7 / Fuzzy Supervisory Control 7 .1 7.2 7.3 413 Overview 413 Supervision of Conventional Controllers 415 7.2 .1 Fuzzy Tuning of PID Controllers 415 7.2.2 Fuzzy Gain Scheduling 417 7.2.3 Fuzzy Supervision of Conventional Controllers 4 21 Supervision of Fuzzy Controllers 422 7.3 .1 Rule-Base Supervision 422 7.3.2 Case Study: Vibration Damping for a Flexible Robot 7.3.3 Supervised Fuzzy Learning... Experimental Engine and Testing Conditions 293 5.8.2 Fuzzy Estimator Construction and Results 294 5.8.3 Failure Detection and Identification (FDI) Strategy Summary 3 01 For Further Study 302 Exercises 303 Design Problems 311 297 CONTENTS CHAPTER 6 / Adaptive Fuzzy Control 6 .1 Overview 317 6.2 317 6.7 6.8 Fuzzy Model Reference Learning Control (FMRLC) 319 6.2 .1 The Fuzzy Controller 320 6.2.2 The Reference Model... 2 41 5.2.5 Case Study: Engine Failure Data Sets 243 5.3 5.4 5.5 5.6 5.7 5.8 5.9 5 .10 5 .11 5 .12 238 Least Squares Methods 248 5.3 .1 Batch Least Squares 248 5.3.2 Recursive Least Squares 252 5.3.3 Tuning Fuzzy Systems 255 5.3.4 Example: Batch Least Squares Training of Fuzzy Systems 257 5.3.5 Example: Recursive Least Squares Training of Fuzzy Systems 259 Gradient Methods 260 5.4 .1 Training Standard Fuzzy . Andrew Kwong [10 3, 10 4, 14 4], Eric G. Laukonen [10 7, 10 4], Jeffrey R. Layne [11 0, 11 3, 11 2, 11 4, 11 1], William K. Lennon [11 8], Sashonda R. Morris [14 3], Vivek. 3 01 5 .10 For Further Study 302 5 .11 Exercises 303 5 .12 Design Problems 311 CONTENTS xix CHAPTER 6 / Adaptive Fuzzy Control 317 6 .1 Overview 317 6.2Fuzzy