1、 IEC 62386-102 Edition 2.0 2014-11 INTERNATIONAL STANDARD NORME INTERNATIONALE Digital addressable lighting interface Part 102: General requirements Control gear Interface dclairage adressable numrique Partie 102: Exigences gnrales Appareillages de commande IEC 62386-102:2014-11(en-fr) colour inside
2、 THIS PUBLICATION IS COPYRIGHT PROTECTED Copyright 2014 IEC, Geneva, Switzerland All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission
3、in writing from either IEC or IECs member National Committee in the country of the requester. If you have any questions about IEC copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or your local IEC member National Committee for furth
4、er information. Droits de reproduction rservs. Sauf indication contraire, aucune partie de cette publication ne peut tre reproduite ni utilise sous quelque forme que ce soit et par aucun procd, lectronique ou mcanique, y compris la photocopie et les microfilms, sans laccord crit de lIEC ou du Comit
5、national de lIEC du pays du demandeur. Si vous avez des questions sur le copyright de lIEC ou si vous dsirez obtenir des droits supplmentaires sur cette publication, utilisez les coordonnes ci-aprs ou contactez le Comit national de lIEC de votre pays de rsidence. IEC Central Office Tel.: +41 22 919
6、02 11 3, rue de Varemb Fax: +41 22 919 03 00 CH-1211 Geneva 20 infoiec.ch Switzerland www.iec.ch About the IEC The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes International Standards for all electrical, electronic and related technol
7、ogies. About IEC publications The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the latest edition, a corrigenda or an amendment might have been published. IEC Catalogue - webstore.iec.ch/catalogue The stand-alone application for consu
8、lting the entire bibliographical information on IEC International Standards, Technical Specifications, Technical Reports and other documents. Available for PC, Mac OS, Android Tablets and iPad. IEC publications search - www.iec.ch/searchpub The advanced search enables to find IEC publications by a v
9、ariety of criteria (reference number, text, technical committee,). It also gives information on projects, replaced and withdrawn publications. IEC Just Published - webstore.iec.ch/justpublished Stay up to date on all new IEC publications. Just Published details all new publications released. Availab
10、le online and also once a month by email. Electropedia - www.electropedia.org The worlds leading online dictionary of electronic and electrical terms containing more than 30 000 terms and definitions in English and French, with equivalent terms in 14 additional languages. Also known as the Internati
11、onal Electrotechnical Vocabulary (IEV) online. IEC Glossary - std.iec.ch/glossary More than 55 000 electrotechnical terminology entries in English and French extracted from the Terms and Definitions clause of IEC publications issued since 2002. Some entries have been collected from earlier publicati
12、ons of IEC TC 37, 77, 86 and CISPR. IEC Customer Service Centre - webstore.iec.ch/csc If you wish to give us your feedback on this publication or need further assistance, please contact the Customer Service Centre: csciec.ch. A propos de lIEC La Commission Electrotechnique Internationale (IEC) est l
13、a premire organisation mondiale qui labore et publie des Normes internationales pour tout ce qui a trait llectricit, llectronique et aux technologies apparentes. A propos des publications IEC Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possdez lditi
14、on la plus rcente, un corrigendum ou amendement peut avoir t publi. Catalogue IEC - webstore.iec.ch/catalogue Application autonome pour consulter tous les renseignements bibliographiques sur les Normes internationales, Spcifications techniques, Rapports techniques et autres documents de lIEC. Dispon
15、ible pour PC, Mac OS, tablettes Android et iPad. Recherche de publications IEC - www.iec.ch/searchpub La recherche avance permet de trouver des publications IEC en utilisant diffrents critres (numro de rfrence, texte, comit dtudes,). Elle donne aussi des informations sur les projets et les publicati
16、ons remplaces ou retires. IEC Just Published - webstore.iec.ch/justpublished Restez inform sur les nouvelles publications IEC. Just Published dtaille les nouvelles publications parues. Disponible en ligne et aussi une fois par mois par email. Electropedia - www.electropedia.org Le premier dictionnai
17、re en ligne de termes lectroniques et lectriques. Il contient plus de 30 000 termes et dfinitions en anglais et en franais, ainsi que les termes quivalents dans 14 langues additionnelles. Egalement appel Vocabulaire Electrotechnique International (IEV) en ligne. Glossaire IEC - std.iec.ch/glossary P
18、lus de 55 000 entres terminologiques lectrotechniques, en anglais et en franais, extraites des articles Termes et Dfinitions des publications IEC parues depuis 2002. Plus certaines entres antrieures extraites des publications des CE 37, 77, 86 et CISPR de lIEC. Service Clients - webstore.iec.ch/csc
19、Si vous dsirez nous donner des commentaires sur cette publication ou si vous avez des questions contactez-nous: csciec.ch. IEC 62386-102 Edition 2.0 2014-11 INTERNATIONAL STANDARD NORME INTERNATIONALE Digital addressable lighting interface Part 102: General requirements Control gear Interface dclair
20、age adressable numrique Partie 102: Exigences gnrales Appareillages de commande INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XH ICS 29.140, 29.140.50 PRICE CODE CODE PRIX ISBN 978-2-8322-1906-5 Registered trademark of the International Electrotechnical Commiss
21、ion Marque dpose de la Commission Electrotechnique Internationale Warning! Make sure that you obtained this publication from an authorized distributor. Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agr. colour inside 2 IEC 62386-102:2014 IEC 2014 CONTENT
22、S FOREWORD . 12 INTRODUCTION . 14 1 Scope 15 2 Normative references 15 3 Terms and definitions 15 4 General . 18 4.1 General . 18 4.2 Version number 18 5 Electrical specification . 18 6 Interface power supply 18 7 Transmission protocol structure . 19 7.1 General . 19 7.2 16 bit forward frame encodin
23、g . 19 General . 19 7.2.1Address byte . 19 7.2.2Opcode byte 19 7.2.3 8 Timing . 19 9 Method of operation . 20 9.1 General . 20 9.2 Control gear 20 9.3 Dimming curve 20 9.4 Calculating “targetLevel” . 23 9.5 Fading 23 General . 23 9.5.1Fade time 24 9.5.2Fade rate . 25 9.5.3Extended fade time 26 9.5.4
24、Using the fade time 28 9.5.5Using the fade rate 28 9.5.6Behaviour during a fade . 28 9.5.7Behaviour during startup 28 9.5.8Stopping a fade . 28 9.5.9 9.6 Min and max level . 29 9.7 Commands . 29 General . 29 9.7.1Level instructions without fade . 30 9.7.2Level instructions initiating a fade 30 9.7.3
25、Configuration instructions 30 9.7.4Queries . 30 9.7.5Special commands 31 9.7.6Application extended commands 31 9.7.7 9.8 Command iterations 31 General . 31 9.8.1Command iteration of “UP” and “DOWN” commands 31 9.8.2DAPC SEQUENCE (deprecated) . 31 9.8.3IEC 62386-102:2014 IEC 2014 3 9.9 Modes of opera
26、tion . 32 General . 32 9.9.1Operating mode 0x00: standard mode . 32 9.9.2Operating mode 0x01 to 0x7F: reserved 32 9.9.3Operating mode 0x80 to 0xFF: manufacturer specific modes . 32 9.9.4 9.10 Memory banks 33 General . 33 9.10.1Memory map 33 9.10.2Selecting a memory bank location . 34 9.10.3Memory ba
27、nk reading 34 9.10.4Memory bank writing 34 9.10.5Memory bank 0 35 9.10.6Memory bank 1 37 9.10.7Manufacturer specific memory banks . 39 9.10.8Reserved memory banks . 39 9.10.9 9.11 Reset 39 Reset operation . 39 9.11.1Reset memory bank operation . 39 9.11.2 9.12 System failure . 39 9.13 Power on 40 9.
28、14 Assigning short addresses 41 General . 41 9.14.1Random address allocation 41 9.14.2Identification of a device 42 9.14.3Direct address allocation . 43 9.14.4 9.15 Failure state behaviour . 43 9.16 Status information . 43 General . 43 9.16.1Bit 0: Control gear failure . 43 9.16.2Bit 1: Lamp failure
29、 . 44 9.16.3Bit 2: Lamp on . 44 9.16.4Bit 3: Limit error . 44 9.16.5Bit 4: Fade running 44 9.16.6Bit 5: Reset state . 44 9.16.7Bit 6: Missing short address . 44 9.16.8Bit 7: Power cycle seen . 45 9.16.9 9.17 Non-volatile memory . 45 9.18 Device types and features . 45 9.19 Using scenes 46 10 Declara
30、tion of variables . 47 11 Definition of commands . 49 11.1 General . 49 11.2 Overview Sheets . 49 11.3 Level instructions 55 DAPC (level) 55 11.3.1OFF . 55 11.3.2UP . 55 11.3.3DOWN . 55 11.3.4STEP UP . 55 11.3.5 4 IEC 62386-102:2014 IEC 2014 STEP DOWN . 56 11.3.6RECALL MAX LEVEL 56 11.3.7RECALL MIN
31、LEVEL . 56 11.3.8STEP DOWN AND OFF . 57 11.3.9ON AND STEP UP . 57 11.3.10ENABLE DAPC SEQUENCE 57 11.3.11GO TO LAST ACTIVE LEVEL 58 11.3.12GO TO SCENE (sceneNumber) 58 11.3.13 11.4 Configuration instructions . 58 General . 58 11.4.1RESET 58 11.4.2STORE ACTUAL LEVEL IN DTR0 . 58 11.4.3SAVE PERSISTENT
32、VARIABLES 58 11.4.4SET OPERATING MODE (DTR0) . 59 11.4.5RESET MEMORY BANK (DTR0) 59 11.4.6IDENTIFY DEVICE 59 11.4.7SET MAX LEVEL (DTR0) . 60 11.4.8SET MIN LEVEL (DTR0) 60 11.4.9SET SYSTEM FAILURE LEVEL (DTR0) . 60 11.4.10SET POWER ON LEVEL (DTR0) 61 11.4.11SET FADE TIME (DTR0) 61 11.4.12SET FADE RAT
33、E (DTR0) . 61 11.4.13SET EXTENDED FADE TIME (DTR0) . 61 11.4.14SET SCENE (DTR0, sceneX) . 62 11.4.15REMOVE FROM SCENE (sceneX) 62 11.4.16ADD TO GROUP (group) 62 11.4.17REMOVE FROM GROUP (group) . 62 11.4.18SET SHORT ADDRESS (DTR0) . 62 11.4.19ENABLE WRITE MEMORY 63 11.4.20 11.5 Queries . 63 General
34、. 63 11.5.1QUERY STATUS . 63 11.5.2QUERY CONTROL GEAR PRESENT 63 11.5.3QUERY CONTROL GEAR FAILURE 63 11.5.4QUERY LAMP FAILURE 63 11.5.5QUERY LAMP POWER ON . 63 11.5.6QUERY LIMIT ERROR 63 11.5.7QUERY RESET STATE . 63 11.5.8QUERY MISSING SHORT ADDRESS 63 11.5.9QUERY VERSION NUMBER 64 11.5.10QUERY CONT
35、ENT DTR0 64 11.5.11QUERY DEVICE TYPE 64 11.5.12QUERY NEXT DEVICE TYPE 64 11.5.13QUERY PHYSICAL MINIMUM . 64 11.5.14QUERY POWER FAILURE 64 11.5.15QUERY CONTENT DTR1 64 11.5.16QUERY CONTENT DTR2 64 11.5.17QUERY OPERATING MODE . 65 11.5.18QUERY LIGHT SOURCE TYPE . 65 11.5.19IEC 62386-102:2014 IEC 2014
36、5 QUERY ACTUAL LEVEL . 65 11.5.20QUERY MAX LEVEL 65 11.5.21QUERY MIN LEVEL . 66 11.5.22QUERY POWER ON LEVEL 66 11.5.23QUERY SYSTEM FAILURE LEVEL . 66 11.5.24QUERY FADE TIME/FADE RATE 66 11.5.25QUERY EXTENDED FADE TIME . 66 11.5.26QUERY MANUFACTURER SPECIFIC MODE 66 11.5.27QUERY SCENE LEVEL (sceneX)
37、66 11.5.28QUERY GROUPS 0-7 66 11.5.29QUERY GROUPS 8-15 66 11.5.30QUERY RANDOM ADDRESS (H) 67 11.5.31QUERY RANDOM ADDRESS (M) 67 11.5.32QUERY RANDOM ADDRESS (L) . 67 11.5.33READ MEMORY LOCATION (DTR1, DTR0) 67 11.5.34 11.6 Application extended commands . 67 General . 67 11.6.1QUERY EXTENDED VERSION N
38、UMBER 67 11.6.2 11.7 Special commands 68 General . 68 11.7.1TERMINATE 68 11.7.2DTR0 (data) . 68 11.7.3INITIALISE (device) 68 11.7.4RANDOMISE . 68 11.7.5COMPARE 69 11.7.6WITHDRAW . 69 11.7.7SEARCHADDRH (data) 69 11.7.8SEARCHADDRM (data) . 69 11.7.9SEARCHADDRL (data) 69 11.7.10PROGRAM SHORT ADDRESS (d
39、ata) 70 11.7.11VERIFY SHORT ADDRESS (data) . 70 11.7.12QUERY SHORT ADDRESS . 70 11.7.13ENABLE DEVICE TYPE (data) . 70 11.7.14DTR1 (data) . 71 11.7.15DTR2 (data) . 71 11.7.16WRITE MEMORY LOCATION (DTR1, DTR0, data) 71 11.7.17WRITE MEMORY LOCATION NO REPLY (DTR1, DTR0, data) . 71 11.7.18PING . 72 11.7
40、.19 12 Test procedures 72 12.1 General notes on test 72 Abbreviations. 72 12.1.1Test execution . 72 12.1.2Data transmission 72 12.1.3Test setup . 73 12.1.4Test output 73 12.1.5Fade time measurements based on light output . 73 12.1.6Description of test scheme for fast fade times on PWM dimmer . 74 12
41、.1.7Test notation . 75 12.1.8Test execution limitation 75 12.1.9 6 IEC 62386-102:2014 IEC 2014 Test results . 75 12.1.10Exception handling 75 12.1.11Unexpected answer . 75 12.1.12 12.2 Preamble 77 Test preamble . 77 12.2.1 12.3 Physical operational parameters . 94 Polarity test . 94 12.3.1Maximum an
42、d minimum system voltage . 94 12.3.2Overvoltage protection test 95 12.3.3Current rating test 96 12.3.4Transmitter voltages 97 12.3.5Transmitter rising and falling edges . 99 12.3.6Transmitter bit timing . 101 12.3.7Transmitter frame timing 103 12.3.8Receiver start-up behavior . 104 12.3.9Receiver th
43、reshold . 105 12.3.10Receiver bit timing . 106 12.3.11Extended receiver bit timing 110 12.3.12Receiver forward frame violation 112 12.3.13Receiver settling timing . 112 12.3.14Receiver frame timing FF-FF send twice 113 12.3.15 12.4 Configuration instructions . 115 RESET 115 12.4.1RESET: timeout / co
44、mmand in-between . 119 12.4.2Send-twice timeout 121 12.4.3Commands in-between 129 12.4.4STORE ACTUAL LEVEL IN DTR0 . 135 12.4.5SAVE PERSISTENT VARIABLES 136 12.4.6SET OPERATING MODE . 136 12.4.7SET MAX LEVEL . 137 12.4.8SET MIN LEVEL 137 12.4.9SET SYSTEM FAILURE LEVEL . 138 12.4.10SET POWER ON LEVEL
45、 . 139 12.4.11SET FADE TIME 143 12.4.12SET FADE RATE . 143 12.4.13SET SCENE / REMOVE FROM SCENE . 144 12.4.14ADD TO GROUP / REMOVE FROM GROUP . 145 12.4.15SET SHORT ADDRESS . 146 12.4.16SET EXTENDED FADE TIME 147 12.4.17Reset/Power-on values 148 12.4.18DTR0 / DTR1 / DTR2 . 154 12.4.19 12.5 Memory ba
46、nks 154 READ MEMORY LOCATION on Memory Bank 0 154 12.5.1READ MEMORY LOCATION on Memory Bank 1 159 12.5.2READ MEMORY LOCATION on other Memory Banks 161 12.5.3Memory bank writing 163 12.5.4ENABLE WRITE MEMORY: writeEnableState 168 12.5.5ENABLE WRITE MEMORY: timeout / command in-between . 171 12.5.6RES
47、ET MEMORY BANK: timeout / command in-between 172 12.5.7IEC 62386-102:2014 IEC 2014 7 RESET MEMORY BANK 175 12.5.8 12.6 Level instructions 176 Level instructions: Basic behaviour 176 12.6.1FADE TIME: possible values . 181 12.6.2FADE TIME: transitions . 182 12.6.3FADE TIME: fading to 0 . 184 12.6.4FAD
48、E TIME: small steps fading . 186 12.6.5FADE TIME: extended fade time 189 12.6.6FADE RATE: possible values . 191 12.6.7FADE RATE: transitions 194 12.6.8FADE RATE: extended fade time . 195 12.6.9FADE TIME/FADE RATE: stop fading by setting MIN/MAX levels 196 12.6.10FADE TIME/FADE RATE: stop fading 201
49、12.6.11FADE TIME/FADE RATE: stop fading when a command is sent, check 12.6.12 timing 204 FADE TIME/FADE RATE: stop fading during startup 210 12.6.13Level instructions: combined instructions . 211 12.6.14Power On Level - System Failure Level combined . 213 12.6.15ENABLE DAPC SEQUENCE 218 12.6.16GO TO LAST ACTIVE LEVEL 219 12.6.17GO TO SCENE 221 12.6.18Power on: level control commands. 222 12.6.19Logarithmic dimming curve 224 12.6.20Dimming cur