oSIST prEN IEC 62386-305:2023
(Main)Digital addressable lighting interface - Part 305: Particular requirements - Input devices - Colour sensor
Digital addressable lighting interface - Part 305: Particular requirements - Input devices - Colour sensor
Digitalni naslovljivi vmesnik za razsvetljavo - 305. del: Posebne zahteve - Vhodne naprave - Barvni senzor
General Information
Standards Content (sample)
SLOVENSKI STANDARD
oSIST prEN IEC 62386-305:2023
01-januar-2023
Digitalni naslovljivi vmesnik za razsvetljavo - 305. del: Posebne zahteve - Vhodne
naprave - Barvni senzorDigital addressable lighting interface - Part 305: Particular requirements - Input devices -
Colour sensorTa slovenski standard je istoveten z: prEN IEC 62386-305:2022
ICS:
29.140.50 Instalacijski sistemi za Lighting installation systems
razsvetljavo
35.200 Vmesniška in povezovalna Interface and interconnection
oprema equipment
oSIST prEN IEC 62386-305:2023 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
---------------------- Page: 1 ----------------------oSIST prEN IEC 62386-305:2023
---------------------- Page: 2 ----------------------
oSIST prEN IEC 62386-305:2023
34/981/CDV
COMMITTEE DRAFT FOR VOTE (CDV)
PROJECT NUMBER:
IEC 62386-305 ED1
DATE OF CIRCULATION: CLOSING DATE FOR VOTING:
2022-11-04 2023-01-27
SUPERSEDES DOCUMENTS:
34/733/CD, 34/791A/CC
IEC TC 34 : LIGHTING
SECRETARIAT: SECRETARY:
United Kingdom Mr Petar Luzajic
OF INTEREST TO THE FOLLOWING COMMITTEES: PROPOSED HORIZONTAL STANDARD:
TC 23
Other TC/SCs are requested to indicate their interest, if
any, in this CDV to the secretary.
FUNCTIONS CONCERNED:
EMC ENVIRONMENT QUALITY ASSURANCE SAFETY
SUBMITTED FOR CENELEC PARALLEL VOTING NOT SUBMITTED FOR CENELEC PARALLEL VOTING
Attention IEC-CENELEC parallel votingThe attention of IEC National Committees, members of
CENELEC, is drawn to the fact that this Committee Draft
for Vote (CDV) is submitted for parallel voting.
The CENELEC members are invited to vote through the
CENELEC online voting system.
This document is still under study and subject to change. It should not be used for reference purposes.
Recipients of this document are invited to submit, with their comments, notification of any relevant patent rights of
which they are aware and to provide supporting documentation.TITLE:
Digital addressable lighting interface – Part 305: Particular requirements – Input devices –
Colour sensorPROPOSED STABILITY DATE: 2026
NOTE FROM TC/SC OFFICERS:
Copyright © 2022 International Electrotechnical Commission, IEC. All rights reserved. It is permitted to
download this electronic file, to make a copy and to print out the content for the sole purpose of preparing National
Committee positions. You may not copy or "mirror" the file or printed version of the document, or any part of it,
for any other purpose without permission in writing from IEC.---------------------- Page: 3 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 2 34/981/CDV
1 CONTENTS
3 FOREWORD ......................................................................................................................... 4
4 INTRODUCTION ................................................................................................................... 6
5 1 Scope ............................................................................................................................ 8
6 2 Normative references..................................................................................................... 8
7 3 Terms and definitions .................................................................................................... 8
8 4 General ......................................................................................................................... 9
9 4.1 General ................................................................................................................. 9
10 4.2 Version number ..................................................................................................... 9
11 4.3 Insulation .............................................................................................................. 9
12 5 Electrical specification ................................................................................................... 9
13 6 Interface power supply ................................................................................................... 9
14 7 Transmission protocol structure ..................................................................................... 9
15 8 Timing ........................................................................................................................... 9
16 9 Method of operation ....................................................................................................... 9
17 9.1 General ................................................................................................................. 9
18 9.2 Instance type ...................................................................................................... 10
19 9.3 Input signal and value ......................................................................................... 10
20 9.3.1 General ....................................................................................................... 10
21 9.3.2 Input value encoding .................................................................................... 10
22 9.4 Events ................................................................................................................ 10
23 9.4.1 Priority use .................................................................................................. 10
24 9.4.2 Bus usage ................................................................................................... 10
25 9.4.3 Encoding ..................................................................................................... 11
26 9.4.4 Event configuration ...................................................................................... 11
27 9.4.5 Event generation .......................................................................................... 12
28 9.5 Configuring the input device ................................................................................ 12
29 9.5.1 Using the report timer .................................................................................. 12
30 9.5.2 Using the deadtime timer.............................................................................. 13
31 9.5.3 Setting the timers ......................................................................................... 13
32 9.5.4 Setting the hysteresis ................................................................................... 13
33 9.5.5 Manual configuration .................................................................................... 14
34 9.6 Exception handling .............................................................................................. 14
35 9.6.1 Physical sensor failure ................................................................................. 14
36 9.6.2 Manufacturer specific errors ......................................................................... 14
37 9.6.3 Error value ................................................................................................... 14
38 10 Declaration of variables ............................................................................................... 15
39 11 Definition of commands ............................................................................................... 16
40 11.1 General ............................................................................................................... 16
41 11.2 Overview sheets ................................................................................................. 16
42 11.2.1 General ....................................................................................................... 16
43 11.2.2 Standard commands .................................................................................... 16
44 11.3 Event messages .................................................................................................. 17
45 11.3.1 INPUT NOTIFICATION (device/instance, event) ............................................... 17
46 11.3.2 POWER NOTIFICATION (device) .................................................................. 17
47 11.4 Device control instructions ................................................................................... 17
48 11.5 Device configuration instructions ......................................................................... 17
---------------------- Page: 4 ----------------------oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 3 34/981/CDV
49 11.6 Device queries .................................................................................................... 17
50 11.7 Instance control instructions ................................................................................ 17
51 11.8 Instance configuration instructions ....................................................................... 17
52 11.8.1 General ....................................................................................................... 17
53 11.8.2 SET EVENT FILTER (DTR0) ......................................................................... 17
54 11.8.3 SET REPORT TIMER (DTR0) ....................................................................... 17
55 11.8.4 SET HYSTERESIS (DTR0) ........................................................................... 17
56 11.8.5 SET DEADTIME TIMER (DTR0) .................................................................... 18
57 11.8.6 SET HYSTERESIS MIN (DTR0) .................................................................... 18
58 11.9 Instance queries .................................................................................................. 18
59 11.9.1 General ....................................................................................................... 18
60 11.9.2 QUERY COLOUR SENSOR (DTR0) .............................................................. 18
61 11.9.3 QUERY DEADTIME TIMER .......................................................................... 19
62 11.9.4 QUERY INSTANCE ERROR ......................................................................... 19
63 11.9.5 QUERY REPORT TIMER ............................................................................. 19
64 11.9.6 QUERY HYSTERESIS ................................................................................. 20
65 11.9.7 QUERY HYSTERESIS MIN .......................................................................... 20
66 11.10 Special commands .............................................................................................. 20
67 Annex A (informative) Background information on colour sensors ....................................... 21
68 A.1 Explanation of radiometric parameters ................................................................. 21
69 Bibliography ....................................................................................................................... 23
71 Figure 1 - IEC 62386 graphical overview ............................................................................... 6
72 Figure 2 - Example sensor sensitivity .................................................................................. 21
74 Table 1 – Input Value encoding ........................................................................................... 10
75 Table 2 – Colour value events ............................................................................................. 11
76 Table 3 – Colour Report ...................................................................................................... 11
77 Table 4 – Event filter ........................................................................................................... 11
78 Table 5 – Event timer setting ............................................................................................... 13
79 Table 6 – “manualCapabilityInstance3xx” values ..................................................................... 14
80 Table 7 – “instanceErrorByte” values .................................................................................... 15
81 Table 8 – Declaration of device variables ............................................................................ 15
82 Table 9 – Restrictions to instance variables defined in IEC 62386-103:— ............................. 15
83 Table 11 – Declaration of instance variables ........................................................................ 16
84 Table 12 – Standard commands .......................................................................................... 16
85 Table 13 – DTR Reference .................................................................................................. 19
86 Table 14 - Example answers to QUERY COLOUR SENSOR (DTR0) ..................................... 22
---------------------- Page: 5 ----------------------oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 4 34/981/CDV
89 INTERNATIONAL ELECTROTECHNICAL COMMISSION
90 ____________
92 DIGITAL ADDRESSABLE LIGHTING INTERFACE –
94 Part 305: Particular requirements – Input devices –
95 Colour sensor
97 FOREWORD
98 1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
99 all national electrotechnical committees (IEC National Committees). The object of IEC is to promote international
100 co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and
101 in addition to other activities, IEC publishes International Standards, Technical Specifications, Technical Reports,
102 Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC Publication(s)”). Their
103 preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with
104 may participate in this preparatory work. International, governmental and non-governmental organizations liaising
105 with the IEC also participate in this preparation. IEC collaborates closely with the International Organization for
106 Standardization (ISO) in accordance with conditions determined by agreement between the two organizations.
107 2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
108 consensus of opinion on the relevant subjects since each technical committee has representation from all
109 interested IEC National Committees.110 3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
111 Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
112 Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
113 misinterpretation by any end user.114 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
115 transparently to the maximum extent possible in their national and regional publications. Any divergence between
116 any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter.
117 5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
118 assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
119 services carried out by independent certification bodies.120 6) All users should ensure that they have the latest edition of this publication.
121 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
122 members of its technical committees and IEC National Committees for any personal injury, property damage or
123 other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
124 expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
125 Publications.126 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publicati ons is
127 indispensable for the correct application of this publication.128 9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of patent
129 rights. IEC shall not be held responsible for identifying any or all such patent rights.
130 International Standard IEC 62386-305 has been prepared by IEC technical committee 34:
131 Lighting. It is an International Standard.132 The text of this standard is based on the following documents:
FDIS Report on voting
- -
133
134 Full information on the voting for the approval of this International Standard can be found in the
135 report on voting indicated in the above table.136 The language used for the development of this International Standard is English.
137 This document has been drafted in accordance with the ISO/IEC Directives, Part 2, and
138 developed in accordance with ISO/IEC Directives, Part 1 and ISO/IEC Directives, IEC
---------------------- Page: 6 ----------------------oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 5 34/981/CDV
139 Supplement, available at www.iec.ch/members_experts/refdocs. The main document types
140 developed by IEC are described in greater detail at www.iec.ch/standardsdev/publications.
141 This Part 305 of IEC 62386 is intended to be used in conjunction with:142 • Part 101, which contains general requirements for system components;
143 • Part 103, which contains general requirements for control devices.
144 A list of all parts in the IEC 62386 series, published under the general title: Digital addressable
145 lighting interface, can be found on the IEC website.146 The committee has decided that the contents of this document will remain unchanged until the
147 stability date indicated on the IEC website under webstore.iec.ch in the data related to the
148 specific document. At this date, the document will be149 • reconfirmed,
150 • withdrawn,
151 • replaced by a revised edition, or
152 • amended.
153
IMPORTANT – The 'colour inside' logo on the cover page of this publication indicates
that it contains colours which are considered to be useful for the correct understanding
of its contents. Users should therefore print this document using a colour printer.
154155
---------------------- Page: 7 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 6 34/981/CDV
156 INTRODUCTION
157 IEC 62386 contains several parts, referred to as series. The IEC 62386 series specifies a bus
158 system for control by digital signals of electronic lighting equipment. The IEC 62386 -1xx series
159 includes the basic specifications. Part 101 contains general requirements for system
160 components, Part 102 extends this information with general requirements for control gear and
161 Part 103 extends it further with general requirements for control devices. Part 104 and Part 105
162 can be applied to control gear or control devices. Part 104 gives requirements for wireless and
163 alternative wired system components. Part 105 describes firmware transfer. Part 150 gives
164 requirements for an auxiliary power supply which can be stand-alone, or built into control gear
165 or control devices.166 The IEC 62386-2xx series extends the general requirements for control gear with lamp specific
167 extensions (mainly for backward compatibility with Edition 1 of IEC 62386) and with control gear
168 specific features.169 The IEC 62386-3xx series extends the general requirements for control devices with input
170 device specific extensions describing the instance types as well as some common features that
171 can be combined with multiple instance types.172 This first edition of IEC 62386-305 is intended to be used in conjunction with IEC 62386101,
173 and IEC 62386103. The division into separately published parts provides for ease of future
174 amendments and revisions. Additional requirements will be added as and when a need for them
175 is recognized.176 The setup of the standards is graphically represented in Figure 1 below.
177
178 Figure 1 - IEC 62386 graphical overview
179 When this part of IEC 62386 refers to any of the clauses of the other parts of the IEC 62386-
180 1xx series, the extent to which such a clause is applicable is specified. The other parts also
181 include additional requirements, as necessary.182 Where the requirements of any of the clauses of IEC 62386-1XX are referred to in this document
183 by the sentence “The requirements of IEC 62386-1XX, Clause “n” apply”, this sentence is to be
184 interpreted as meaning that all requirements of the clause in question of Part 1XX apply, except
185 any which are clearly inapplicable.186 The standardization of the control interface for control devices is intended to achieve compatible
187 coexistence and multi-master operation between electronic control gear and lighting control
188 devices, below the level of building management systems. This document describes a method
189 of implementing colour sensors.---------------------- Page: 8 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 7 34/981/CDV
190 All numbers used in this document are decimal numbers unless otherwise noted. Hexadecimal
191 numbers are given in the format 0xVV, where VV is the value. Binary numbers are given in the
192 format XXXXXXXXb or in the format XXXX XXXX, where X is 0 or 1; “x” in binary numbers
193 means “don't care”.194 The following typographic expressions are used:
195 Variables: “variableName” or “variableName[3:0]”, giving only bits 3 to 0 of “variableName”.
196 Range of values: [lowest, highest]197 Command: “COMMAND NAME”
198
199
---------------------- Page: 9 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 8 34/981/CDV
200 DIGITAL ADDRESSABLE LIGHTING INTERFACE –
201
202 Part 305: Particular requirements – Input devices –
203 Colour sensor
204
205
206
207 1 Scope
208 This part of IEC 62386 specifies a bus system for control by digital signals of electronic lighting
209 equipment.210 This document is only applicable to IEC 62386-103 input devices that deliver colour information
211 to the lighting control system through colour sensing.212 2 Normative references
213 The following documents are referred to in the text in such a way that some or all of their content
214 constitutes requirements of this document. For dated references, only the edition cited applies.
215 For undated references, the latest edition of the referenced document (including any
216 amendments) applies.217 IEC 62386-101:— , Digital addressable lighting interface – Part 101: General requirements –
218 System components219 IEC 62386-103:— , Digital addressable lighting interface – Part 103: General requirements –
220 Control devices221 IEC 62386-333, Digital addressable lighting interface – Part 333: Particular requirements for
222 control devices – Manual configuration (feature type 33)223 3 Terms and definitions
224 For the purposes of this document, the terms and definitions given in IEC 62386101 and
225 IEC 62386-103 and the following apply.226 ISO and IEC maintain terminological databases for use in standardization at the following
227 addresses:228 • IEC Electropedia: available at http://www.electropedia.org/
229 • ISO Online browsing platform: available at http://www.iso.org/obp
230 3.1
231 instance
232 observed colour signal processing unit of an input device
233 [SOURCE: IEC 62386-101:—, 3.29, modified — addition of "observed colour"]
_______________
Under preparation. Stage at the time of publication: IEC FDIS 62386-101:—.
Under preparation. Stage at the time of publication: IEC FDIS 62386-103/:—.
---------------------- Page: 10 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 9 34/981/CDV
234 3.2
235 strictly monotonic
236 either entirely increasing or decreasing without repeating values
237 3.3
238 observed colour
239 colour as detected by physical sensor on input device
240 4 General
241 4.1 General
242 The requirements of IEC 62386-103:—, Clause 4 apply, with the restrictions, changes and
243 additions identified below.244 4.2 Version number
245 In 4.2 of IEC 62386-103:—, “103” shall be replaced by “305”, “version number” shall be replaced
246 by “extended version number” and “versionNumber” shall be replaced by247 "extendedVersionNumber".
248 4.3 Insulation
249 According to IEC 61347-1 it might be required that the input device has at least supplementary
250 insulation. This depends on the connected components. In this case special attention should
251 be paid with respect to the sensor(s) being used.252 NOTE IEC-62386-101:— requires the interface of system components to have at least basic insulation.
253 5 Electrical specification254 The requirements of IEC 62386-103:—, Clause 5 apply.
255 6 Interface power supply
256 The requirements of IEC 62386-103:—, Clause 6 apply.
257 7 Transmission protocol structure
258 The requirements of IEC 62386-103:—, Clause 7 apply.
259 NOTE Subclause 9.4 provides detailed event information applicable to instances.
260 8 Timing261 The requirements of IEC 62386-103:—, Clause 8 apply.
262 9 Method of operation
263 9.1 General
264 The requirements of IEC 62386-103:—, Clause 9 apply, with the following restrictions and
265 additions.---------------------- Page: 11 ----------------------
oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 10 34/981/CDV
266 9.2 Instance type
267 The instance type (“instanceType”) shall be equal to 5, indicating a colour sensor.
268 9.3 Input signal and value269 9.3.1 General
270 The “inputValue” shall indicate the value measured by the sensor, encoded as a 24-bit red-
271 green-blue (RGB) value. The red, green and blue components of “inputValue” shall be a strictly
272 monotonic function of the corresponding measured red, green and blue values.273 After receiver start-up, the sensor may take some time before valid colour measurements are
274 obtained. During this time, QUERY INPUT VALUE and QUERY INPUT VALUE LATCH shall
275 reply as if “inputValue” is MASK. After the first valid colour measurement is obtained, “inputValue”
276 shall not be MASK, except in the case of physical sensor failure (see 9.6.1).
277 The input “resolution” shall be equal to 24.278 NOTE A “resolution” of 24 implies that “inputValue” is a three-byte value.
279 9.3.2 Input value encoding
280 The “inputValue” shall be encoded shown in Table 1.
281 Table 1 – Input Value encoding
Bit Description Value Alias
0 to 7 Red Observed Red Level [0, 254] “rValue”
8 to 15 Green Observed Green Level [0, 254] “gValue”
16 to 23 Blue Observed Blue Level [0, 254] “bValue”
282
283 9.4 Events
284 9.4.1 Priority use
285 9.4.1.1 General
286 The default “eventPriority” is defined in Table 9 .
287 NOTE Application controllers can ensure this instance leaves higher priority timeslots on the bus by setting the
288 instance’s “eventPriority” greater than 2.289 9.4.1.2 Periodic events
290 The periodic “INPUT NOTIFICATION” message triggered by the report timer that reports the
291 colour value event shall always be sent with priority 5.292 9.4.2 Bus usage
293 9.4.2.1 Instance level
294 Multiple events from an instance shall not be sent in the same transaction. Also, there is a
295 configurable delay T that shall be taken into account. See 9.5.2 for more information.
deadtime296 9.4.2.2 Device level
297 At the device level, events from different instances may be sent in a transaction.
---------------------- Page: 12 ----------------------oSIST prEN IEC 62386-305:2023
IEC CDV 62386-305 © IEC 2022 11 34/981/CDV
298 9.4.3 Encoding
299 Colour value events shall be encoded as shown in Table 2.
300 Table 2 – Colour value events
Event name Event Description
information
Colour report “colourEvent” A colour value report, passing a truncated RGB value.
301302 The “colourEvent” information shall be encoded as shown in Table 3.
303 Table 3 – Colour Report
“colourEvent” Description Value
bits
[2:0] Red “inputValue”[7:5] (3 most
significant bits of red)
[5:3] Green “inputValue”[15:13] (3
most significant bits of
green)
[8:6] Blue “inputValue”[23:21] (3
most significant bits of
blue)
[9] Unused 0
304 NOTE 1 Due to the 10-bit size of the event message information, the resulting colour report allows only 512 colour
305 combinations and depending on the set-point of the hysteresis, duplicate event messages are possible.
306 NOTE 2 Application controllers can query the “inputValue” to obtain a higher resolution representation of the
307 measurement.308 9.4.4 Event configuration
309 Events shall be enabled or disabled according to the value of “eventFilter”, as specified in
310 Table 4. For this instance type, “eventFilter” shall be reduced to one byte. No configurations of
311 “eventFilter” shall prevent the periodic “INPUT NOTIFICATION” message triggered by the
312 report timer (9.5.1).313 NOTE Inhibiting events increases the effective bus bandwidth availability.
314 Table 4 – Event filter
Bit Description Value Default
0 Colour report event enabled? "1" = "Yes" 1
1 Reserved 0 0
2 Reserved 0 0
3 Reserved 0 0
4 Reserved 0 0
5 Reserved 0 0
6 Reserved 0 0
7 Reserved 0 0
315
316 The event filter can be set via “SET EVENT FILTER (DTR0)” and queried using
317 “QUERY
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.