Content deleted Content added
→Technical overview: changed to recommend lengte, fix recommended wire gauge |
Rescuing 3 sources and tagging 0 as dead.) #IABot (v2.0.9.5) (Pancho507 - 22012 |
||
(40 intermediate revisions by 27 users not shown) | |||
Line 1:
{{Short description|Trademark for network-based product}}
{{Use dmy dates|date=May 2019}}
{{primary sources|date=February 2012}}
[[File:Dali laitteet.jpg|thumb|right|DALI equipment is common for network-based lighting systems]]
{{Infobox protocol
| name = Protocol
Line 17 ⟶ 19:
{{Infobox connector
| name = Connector
| type =
| image =
| logo =
Line 25 ⟶ 27:
| manufacturer =
| production_date =
| superseded =
| superseded_by =
| superseded_by_date =
Line 59 ⟶ 61:
| pin1 =
| pin1_name = DA (or DA+)
| pin2 =
| pin2_name = DA (or
}}
Line 67 ⟶ 69:
DALI is specified by a series of technical standards in '''IEC 62386'''. Standards conformance ensures that equipment from different manufacturers will interoperate. The DALI trademark is allowed on devices that comply with the DiiA testing and certification requirements, and are listed as either registered (DALI version-1) or certified ([https://www.digitalilluminationinterface.org/certification/ DALI-2]) on the DiiA website. [https://www.digitalilluminationinterface.org/d4i/certification.html D4i certification] - an extension of DALI-2 - was added by DiiA in November 2019.
Members of the AG DALI were allowed to use the DALI trademark until the DALI working party was dissolved on 30 March 2017, when trademark use was transferred to DiiA members. Since 9 June 2017, [[Digital Illumination Interface Alliance]] (DiiA) certifies DALI products.<ref>{{Cite web|url=https://www.digitalilluminationinterface.org/data/downloadables/2/4/diia-acquires-dali-trademarks.pdf|title=DiiA acquires DALI trademarks
==Technical overview==
A DALI network consists of at least one application controller
Each device is assigned a unique short address
Data is transferred between devices by means of an asynchronous, half-duplex, serial protocol over a two-wire bus with a fixed data transfer rate of {{nowrap|1200 [[Bit rate|bit/s]]}}. Collision detection is used to allow multiple transmitters on the bus.
A single pair of wires comprise the [[Bus (computing)|bus]] used for communication to all devices on a DALI network. The network can be arranged in a bus or star [[network topology|topology]], or a combination of these. Each device on a DALI network can be individually addressed, unlike DSI and 0–10V devices. Consequently, DALI networks use fewer wires than DSI or 0–10V systems.▼
▲A single pair of wires
The bus is used for both signal and power. A power supply provides up to 250 mA at typically 16 V DC; each device may draw up to 2 mA unless bus-powered.{{r|da|p=20,35}} While many devices are mains-powered (line-powered), low-power devices such as motion detectors may be powered directly from the DALI bus. Each device has a [[bridge rectifier]] on its input so it is polarity-insensitive. The bus is a [[wired-AND]] configuration where signals are sent by briefly shorting the bus to a low voltage level. (The power supply is required to tolerate this, without supplying more than 250 mA.)▼
▲The bus is used for both signal and bus power. A power supply provides a current limited source of up to 250 mA at typically 16 V DC; each device may draw up to 2 mA unless bus-powered.{{r|da|p=20,35}} While many devices are mains-powered (line-powered), low-power devices such as motion detectors may be powered directly from the DALI bus. Each device has a [[bridge rectifier]] on its input so it is polarity-insensitive. The bus is a [[wired-AND]] configuration where signals are sent by briefly shorting the bus to a low voltage level. (The power supply is required to tolerate this,
Although the DALI control cable operates at [[Extra-low voltage|ELV]] potential, it is not classified as [[SELV]] (''Safety'' Extra Low Voltage) and must be treated as if it has only basic insulation from mains. This has the disadvantage that the network cable is required to be mains-rated, but has the advantage that it may be run next to mains cables or within a multi-core cable which includes mains power. Also, mains-powered devices (e.g., LED drivers) need only provide [[Insulation system#Categories of insulation|functional insulation]] between the mains and the DALI control wires.
Line 82 ⟶ 86:
The network cable is required to provide a maximum drop of {{nowrap|2 volts}} along the cable.{{r|da|p=19}} At 250 mA of supply current, that requires a resistance of ≤ {{val|4|u=Ω}} per wire. The wire size needed to achieve this depends on the length of the bus, up to a recommended maximum of {{val|2.5|ul=mm2}} at 300 m when using the maximum rating of bus power supply.
The speed is kept low so no [[Electrical termination|termination resistors]] are required,<ref name=da>{{cite web |url=http://www.dali-ag.org/c/manual_gb.pdf |title=Digital Addressable Lighting Interface |publisher=DALI AG,
Each bit is sent using [[Differential Manchester encoding|Manchester
==Device addressing==
A DALI device, such as
===Single device===
Line 96 ⟶ 100:
* DALI Short Address 3 go to 100%
* DALI Short Address 4 go to 100%
This method has the advantage of not
===Device groups===
Using the DALI Group previously
* DALI Group address 1 go to 100%
This method has the advantage of being immune to
This method has the disadvantage of requiring each ballast to be programmed once, by a DALI master, with the required group numbers and scene information. The fade time can still be configured on the fly, if required.
===Broadcast===
Line 110 ⟶ 115:
* DALI Broadcast go to 50%
==Scenes==▼
==Brightness control==▼
Devices store 16 programmable output levels as "scenes".
DALI lighting levels are specified by an 8-bit value, where 0 means off, 1 means 0.1% of full brightness, 254 means full brightness, and other values are [[logarithmic scale|logarithmically interpolated]] between, giving a 2.77% increase per step. That is, a (non-zero) control byte {{mvar|x}} denotes a power level of {{math|10<sup>3(''x''−254)/253</sup>}}.▼
==System Fail brightness==
(A value of 255 is reserved for freezing the current lighting level without changing it.)▼
A
▲==Brightness control==
This is designed to match [[Human eye#Dynamic range|human eye sensitivity]] so that perceived brightness steps will have uniform brightness change, and to achieve a uniform brightness between units from different manufacturers.{{r|da|p=21}}▼
▲DALI lighting levels are specified by an 8-bit value,
▲(A value of 255 is reserved for freezing the current lighting level without changing it.)
▲==Scenes==
▲Devices store 16 programmable output levels as "scenes". A single broadcast command causes each device to change to the configured level, e.g. dim lights over the audience and bright lights over the stage. (A programmed output level of 255 causes a device not to respond to a given scene.)
▲This is designed to match [[Human eye#Dynamic range|human eye sensitivity]] so that perceived brightness steps
▲A 17th "system failure" scene is triggered by a loss of power (sustained low level) on the DALI bus, to provide a safe fallback if control is lost.
==Commands for control gear==
Forward frames sent to control gear are 16 bits long, comprising an address byte followed by an opcode byte. The address byte specifies a target device or a ''special command'' addressed to all devices.
Address byte (AB) format:
* <code>0AAA AAAS</code>: Target device 0 ≤ A < 64.
* <code>100A AAAS</code>: Target group 0 ≤ A < 16. Each control gear may be a member of any or all groups.
Line 137 ⟶ 143:
* <code>1100 1100 to 1111 1011</code>: Reserved
Common control gear commands:<ref>[https://webstore.iec.ch/searchform&q=62386-102 IEC 62386-102]</ref><ref>{{Cite web|url=http://www.rayzig.com/manual/rayzig.html?112DALIcommands.html|title=Rayzig version 2.207|access-date=13 November 2020|archive-date=13 November 2020|archive-url=https://web.archive.org/web/20201113182940/http://www.rayzig.com/manual/rayzig.html?112DALIcommands.html|url-status=dead}}</ref><ref>https://www.nxp.com/files-static/microcontrollers/doc/ref_manual/DRM004.pdf {{Webarchive|url=https://web.archive.org/web/20201113152849/https://www.nxp.com/files-static/microcontrollers/doc/ref_manual/DRM004.pdf |date=13 November 2020 }} {{Bare URL PDF|date=March 2022}}</ref>
{| class="wikitable collapsible
! Value (Hex) !!Command !! Description !! Answer
|-
| ||'''Control commands''' || ||
|-
| AB || DAPC (level) || Sets targetLevel (0-
|-
| 00 || OFF || Set targetLevel to 0 without fading||
|-
| 01 || UP || Starts or continues a fade up for 200ms at the current fade rate||
|-
| 02 || DOWN || Starts or continues a fade down for 200ms at the current fade rate||
|-
| 03 || STEP UP || Increments targetLevel by 1 without fading||
|-
| 04 || STEP DOWN || Decrements targetLevel by 1 without fading||
|-
| 05 || RECALL MAX LEVEL || Set targetLevel to MAX level without fading||
|-
| 06 || RECALL MIN LEVEL || Set targetLevel to MIN
|-
| 07 || STEP DOWN AND OFF || Decrements targetLevel by 1 without fading, turning off if already at MIN level||
|-
| 08 || ON AND STEP UP || Increments targetLevel by 1 without fading, turning on to MIN level if currently off||
|-
| 09 || GO TO LAST ACTIVE LEVEL || Sets targetLevel to the last active (non-zero) level, using the current fade time.||
|-
| 10+s || GO TO SCENE (sceneNumber) || Sets targetLevel to the value stored in scene sceneNumber, using the current fade time, or no change if the value stored in the scene is 255.||
|-
| ||'''Configuration commands''' || ||
|-
| 20 || RESET || Changes all variables to their reset values.||
|-
| 21 || STORE ACTUAL LEVEL IN DTR0 || Stores the actualLevel (light output level) in register DTR0||
|-
| || IDENTIFY DEVICE || Starts a temporary identification process such as flashing the lamps, making a sound or transmitting an RF beacon.||
|-
| 2A|| SET MAX LEVEL (DTR0) || Changes maxLevel level to DTR0||
|-
| 2B|| SET MIN LEVEL (DTR0) || Changes minLevel level to DTR0||
|-
| 2C|| SET SYSTEM FAILURE LEVEL (DTR0) || Changes systemFailureLevel to DTR0 ||
|-
| 2D|| SET POWER ON LEVEL (DTR0) || Changes powerOnLevel to DTR0 ||
|-
| 2E|| SET FADE TIME (DTR0) || Changes fadeTime to DTR0||
|-
| 2F|| SET FADE RATE (DTR0) || Changes fadeRate to DTR0||
|-
| || SET EXTENDED FADE TIME (DTR0) || Changes the two 4-bit variables extendedFadeTimeMultiplier:extendedFadeTimeBase to DTR0||
|-
| 40+s|| SET SCENE (DTR0, sceneX) || Changes sceneX to the value DTR0||
|-
| 60+g|| ADD TO GROUP (group) || Adds the control gear into the specified group||
|-
| ||'''Query commands''' || ||
|-
| 90|| QUERY STATUS || Asks the control gear for the current status. Reply bits: 0=controlGearFailure; 1=lampFailure; 2=lampOn; 3=limitError; 4=fadeRunning; 5=resetState; 6=shortAddress is MASK; 7=powerCycleSeen||XX
|-
| 92|| QUERY LAMP FAILURE || Asks the control gear if it is currently detecting a lamp failure
|-
| A0|| QUERY ACTUAL LEVEL || Asks the control gear what the current actualLevel (output level) is
|}
Line 206 ⟶ 212:
==D4i==
DiiA published several [https://www.digitalilluminationinterface.org/specifications/download.html new specifications] in 2018 and 2019, extending DALI-2 functionality with power and data, especially for intra-luminaire DALI systems. Applications include indoor and outdoor luminaires, and small DALI systems. The [https://www.digitalilluminationinterface.org/d4i/ D4i trademark] is used on certified products to indicate that these new features are included in the products.
==Colour control (DT8)==
IEC 62386-209 describes colour control gear. This describes several colour types - methods of controlling colour. The most popular of these is Tc (tunable white), and was added to DALI-2 certification in January 2020.<ref>{{cite web|url=https://www.digitalilluminationinterface.org/news/201/tunable-white-tc-colour-control-is-added-to-dali-2-certification|title=DiiA News|year=2020|website=DiiA Website|publisher=DiiA|
==Emergency lighting==
IEC 62386-202 describes self-contained emergency lighting. Features include automated triggering of function tests and duration tests, and recording of results. These devices are currently included in DALI version-1 registration, with tests for DALI-2 certification in development. Such DALI version-1 products can be mixed with DALI-2 products in the same system, with no problems expected.<ref>{{cite web|url=https://www.digitalilluminationinterface.org/dali/comparison.html|title=DALI-2 versus DALI version-1|year=2018|website=DiiA Website|publisher=DiiA|
==Wireless==
IEC 62386-104<ref>{{Cite web|url=https://webstore.iec.ch/publication/33330|title = IEC 62386-104:2019 | IEC Webstore}}</ref> describes several wireless and wired transport alternatives to the conventional wired DALI bus system.<ref>{{cite web|url=https://www.digitalilluminationinterface.org/news/128/iec-publishes-part-104-of-iec-62386-describes-alternative-transport-including-wireless|title=DiiA News|year=2019|website=DiiA Website|publisher=DiiA|
It is also possible to combine DALI with wireless communication via application gateways that translate between DALI and the wireless protocol of choice. While such gateways are not standardized, DiiA is working with other industry associations to develop the necessary specifications and tests to achieve this. [https://www.digitalilluminationinterface.org/wireless/ DiiA: DALI and Wireless]
|