1、NEMA Standards PublicationNational Electrical Manufacturers AssociationNEMA IA 2.7-2005Programmable Controllers Part 7: Fuzzy Control ProgrammingNEMA Standards Publication IA 2.7-2005 (Adoption of IEC Publication 61131-7) Programmable Controllers Part 7: Fuzzy Control Programming Published by: Natio
2、nal Electrical Manufacturers Association 1300 North 17th Street, Suite 1752 Rosslyn, Virginia 22209 www.nema.org Copyright 2005 by the National Electrical Manufacturers Association. All rights including translation into other languages, reserved under the Universal Copyright Convention, the Berne Co
3、nvention for the Protection of Literary and Artistic Works, and the International and Pan American Copyright Conventions. NOTICE AND DISCLAIMER The information in this publication was considered technically sound by the consensus of persons engaged in the development and approval of the document at
4、the time it was developed. Consensus does not necessarily mean that there is unanimous agreement among every person participating in the development of this document. The National Electrical Manufacturers Association (NEMA) standards and guideline publications, of which the document contained herein
5、 is one, are developed through a voluntary consensus standards development process. This process brings together volunteers and/or seeks out the views of persons who have an interest in the topic covered by this publication. While NEMA administers the process and establishes rules to promote fairnes
6、s in the development of consensus, it does not write the document and it does not independently test, evaluate, or verify the accuracy or completeness of any information or the soundness of any judgments contained in its standards and guideline publications. NEMA disclaims liability for any personal
7、 injury, property, or other damages of any nature whatsoever, whether special, indirect, consequential, or compensatory, directly or indirectly resulting from the publication, use of, application, or reliance on this document. NEMA disclaims and makes no guaranty or warranty, express or implied, as
8、to the accuracy or completeness of any information published herein, and disclaims and makes no warranty that the information in this document will fulfill any of your particular purposes or needs. NEMA does not undertake to guarantee the performance of any individual manufacturer or sellers product
9、s or services by virtue of this standard or guide. In publishing and making this document available, NEMA is not undertaking to render professional or other services for or on behalf of any person or entity, nor is NEMA undertaking to perform any duty owed by any person or entity to someone else. An
10、yone using this document should rely on his or her own independent judgment or, as appropriate, seek the advice of a competent professional in determining the exercise of reasonable care in any given circumstances. Information and other standards on the topic covered by this publication may be avail
11、able from other sources, which the user may wish to consult for additional views or information not covered by this publication. NEMA has no power, nor does it undertake to police or enforce compliance with the contents of this document. NEMA does not certify, test, or inspect products, designs, or
12、installations for safety or health purposes. Any certification or other statement of compliance with any health or safetyrelated information in this document shall not be attributable to NEMA and is solely the responsibility of the certifier or maker of the statement. NEMA IA 2.7-2005 Page i Copyrig
13、ht 2005 by the National Electrical Manufacturers Association. CONTENTS Page Foreword ii Referenced Standards . iv Amendments. v IEC 61131-7 . 1 NEMA IA 2.7-2005 Page ii Copyright 2005 by the National Electrical Manufacturers Association. Foreword This Standards Publication is a NEMA Adoptive Standar
14、d based on Part 7 of IEC 61131, Programmable Controllers. This Standards Publication was prepared by a technical committee of the NEMA Automation Products and Systems Section. It was approved in accordance with the bylaws of NEMA and supersedes NEMA Standards Publication ICS 3-1988, Part 3-304. This
15、 Standards Publication provides practical information concerning ratings, construction, test, performance, and manufacture of industrial control equipment. These standards are used by the electrical industry to provide guidelines for the manufacture and proper application of reliable products and eq
16、uipment and to promote the benefits of repetitive manufacturing and widespread product availability. NEMA Standards represent the result of many years of research, investigation, and experience by the members of NEMA, its predecessors, its Sections and Committees. They have been developed through co
17、ntinuing consultation among manufacturers, users, and national engineering societies and have resulted in improved serviceability of electrical products with economies to manufacturers and users. One of the primary purposes of this Standards Publication is to encourage the production of reliable con
18、trol equipment which, in itself, functions in accordance with these accepted standards. Some portions of these standards, such as electrical spacings and interrupting ratings, have a direct bearing on safety; almost all of the items in this publication, when applied properly, contribute to safety in
19、 one way or another. Properly constructed industrial control equipment is, however, only one factor in minimizing the hazards which may be associated with the use of electricity. The reduction of hazard involves the joint efforts of the various equipment manufacturers, the system designer, the insta
20、ller, and the user. Information is provided herein to assist users and others in the proper selection of control equipment. The industrial control manufacturer has limited or no control over the following factors which are vital to safe installation: null environmental conditions null system design
21、null equipment selection and application null installation null operating practices null maintenance This publication is not intended to instruct the user of control equipment with regard to these factors except insofar as suitable equipment to meet needs can be recognized in this publication and so
22、me application guidance is given. This Standards Publication is necessarily confined to defining the construction requirements for industrial control equipment and to providing recommendations for proper selection for use under normal or certain specific conditions. Since any piece of industrial con
23、trol equipment can be installed, operated, and maintained in such a manner that hazardous conditions may result, conformance with this publication does not by itself assure a safe installation. When, however, equipment conforming with these standards is properly selected and is installed in accordan
24、ce with the National Electrical Code and properly maintained, the hazards to persons and property will be reduced. NEMA IA 2.7-2005 Page iii Copyright 2005 by the National Electrical Manufacturers Association. To continue to serve the best interests of users, NEMA is actively cooperating with other
25、standardization organizations in the development of simple and more universal metrology practices. In this Standards Publication, the U.S. customary units are gradually being supplemented by those of the modernized metric system known as the International Systems of Units (SI). This transition invol
26、ves no changes in standard dimensions, tolerances, or performance specifications. NEMA Standards Publications are subject to periodic review. They are revised frequently to reflect user input and to meet changing conditions and technical progress. Users should secure the latest editions. Inquiries,
27、comments, and proposed or recommended revisions should be submitted to the concerned NEMA product subdivision by contacting the: Vice President, Technical Services National Electrical Manufacturers Association 1300 North 17th Street Rosslyn, Virginia 22209 NEMA IA 2.7-2005 Page iv Copyright 2005 by
28、the National Electrical Manufacturers Association. Referenced Standards The following standards contain provisions which, through reference in this text, constitute provisions of this NEMA Standards Publication. At the time of publication, the editions indicated were valid. All standards are subject
29、 to revision, and parties to agreements based on this Standard are encouraged to investigate the possibility of applying the most recent editions of the standards indicated below. International Electrotechnical Commission 1, rue de Varemb Geneva, Switzerland IEC 61131-7 Programmable ControllersPart
30、7: Fuzzy Control Programming NEMA IA 2.7-2005 Page v Copyright 2005 by the National Electrical Manufacturers Association. Amendments IEC 61131-7, Programmable ControllersPart 7: Fuzzy Control Programming, is adopted in its entirety. NEMA Adoptive Standard Where a conflict exists between the provisio
31、ns of IA 2.7 and other NEMA Standards Publications, the provisions of IA 2.7 shall govern in the area of programmable controllers and their associated peripherals. NEMA Standard NEMA IA 2.7-2005 Page vi Copyright 2005 by the National Electrical Manufacturers Association. NORMEINTERNATIONALECEIIECINT
32、ERNATIONALSTANDARD61131-7Premire ditionFirst edition2000-08Automates programmables Partie 7:Programmation en logique floueProgrammable controllers Part 7:Fuzzy control programmingNumro de rfrenceReference numberCEI/IEC 61131-7:2000Numros des publicationsDepuis le 1er janvier 1997, les publications d
33、e la CEIsont numrotes partir de 60000.Publications consolidesLes versions consolides de certaines publications dela CEI incorporant les amendements sont disponibles.Par exemple, les numros ddition 1.0, 1.1 et 1.2indiquent respectivement la publication de base, lapublication de base incorporant lamen
34、dement 1, et lapublication de base incorporant les amendements 1et 2.Validit de la prsente publicationLe contenu technique des publications de la CEI estconstamment revu par la CEI afin quil reflte ltatactuel de la technique.Des renseignements relatifs la date de reconfir-mation de la publication so
35、nt disponibles dans leCatalogue de la CEI.Les renseignements relatifs des questions ltude etdes travaux en cours entrepris par le comit techniquequi a tabli cette publication, ainsi que la liste despublications tablies, se trouvent dans les documents ci-dessous: Site web de la CEI* Catalogue des pub
36、lications de la CEIPubli annuellement et mis jourrgulirement(Catalogue en ligne)* Bulletin de la CEIDisponible la fois au site web de la CEI*et comme priodique imprimTerminologie, symboles graphiqueset littrauxEn ce qui concerne la terminologie gnrale, le lecteurse reportera la CEI 60050: Vocabulair
37、e Electro-technique International (VEI).Pour les symboles graphiques, les symboles littrauxet les signes dusage gnral approuvs par la CEI, lelecteur consultera la CEI 60027: Symboles littraux utiliser en lectrotechnique, la CEI 60417: Symbolesgraphiques utilisables sur le matriel. Index, relev etcom
38、pilation des feuilles individuelles, et la CEI 60617:Symboles graphiques pour schmas.* Voir adresse site web sur la page de titre.NumberingAs from 1 January 1997 all IEC publications areissued with a designation in the 60000 series.Consolidated publicationsConsolidated versions of some IEC publicati
39、onsincluding amendments are available. For example,edition numbers 1.0, 1.1 and 1.2 refer, respectively, tothe base publication, the base publication incor-porating amendment 1 and the base publicationincorporating amendments 1 and 2.Validity of this publicationThe technical content of IEC publicati
40、ons is keptunder constant review by the IEC, thus ensuring thatthe content reflects current technology.Information relating to the date of the reconfirmationof the publication is available in the IEC catalogue.Information on the subjects under consideration andwork in progress undertaken by the tech
41、nicalcommittee which has prepared this publication, as wellas the list of publications issued, is to be found at thefollowing IEC sources: IEC web site* Catalogue of IEC publicationsPublished yearly with regular updates(On-line catalogue)* IEC BulletinAvailable both at the IEC web site* andas a prin
42、ted periodicalTerminology, graphical and lettersymbolsFor general terminology, readers are referred toIEC 60050: International Electrotechnical Vocabulary(IEV). For graphical symbols, and letter symbols and signsapproved by the IEC for general use, readers arereferred to publications IEC 60027: Lett
43、er symbols tobe used in electrical technology, IEC 60417: Graphicalsymbols for use on equipment. Index, survey andcompilation of the single sheets and IEC 60617:Graphical symbols for diagrams.* See web site address on title page.NORMEINTERNATIONALECEIIECINTERNATIONALSTANDARD61131-7Premire ditionFirs
44、t edition2000-08Automates programmables Partie 7:Programmation en logique floueProgrammable controllers Part 7:Fuzzy control programmingCommission Electrotechnique InternationaleInternational Electrotechnical CommissionPour prix, voir catalogue en vigueurFor price, see current catalogue IEC 2000 Dro
45、its de reproduction rservs Copyright - all rights reservedAucune partie de cette publication ne peut tre reproduite niutilise sous quelque forme que ce soit et par aucun procd,lectronique ou mcanique, y compris la photocopie et lesmicrofilms, sans laccord crit de lditeur.No part of this publication
46、may be reproduced or utilized inany form or by any means, electronic or mechanical,including photocopying and microfilm, without permission inwriting from the publisher.International Electrotechnical Commission 3, rue de Varemb Geneva, SwitzerlandTelefax: +41 22 919 0300 e-mail: inmailiec.ch IEC web
47、 site http:/www.iec.chCODE PRIXPRICE CODEXA 2 61131-7 CEI:2000SOMMAIREPagesAVANT-PROPOS . 8INTRODUCTION 12Articles1 Domaine dapplication et objet 162 Rfrences normatives. 163 Dfinitions 164 Intgration dans lautomate programmable . 205 Langage de contrle flou FCL. 225.1 Echange de programmes de contr
48、le flou 225.2 Elments du langage de contrle flou 245.3 Exemple de FCL . 425.4 Rgles de production et mots-cls du langage de contrle flou (FCL) 426 Conformit .506.1 Classes de conformit du langage de contrle flou FCL. 506.2 Liste de contrle de donnes. 54Annexe A (informative) Thorie 58A.1 Logique flo
49、ue . 58A.2 Contrle flou . . 66A.3 Performances du contrle flou 80Annexe B (informative) Exemples 84B.1 Prcontrle . . 84B.2 Adaptation des paramtres dautomate PID conventionnel 86B.3 Contrle flou direct dun procd 86Annexe C (informative) Exemple dapplication industrielle Grue conteneurs 88Annexe D (informative) Exemple dutilisation de variables dans le bloc de rgles 108Annexe E (informative) Symboles, abrviations et synonymes 112Figure 1