A DALI network consists of at least one application controller and bus power supply (which may be built into any of the products) as well as input devices (e.g. sensors and push-buttons), control gear (e.g., electrical ballasts, LED drivers and dimmers) with DALI interfaces. Application controllers can control, configure or query each device by means of a bi-directional data exchange. Unlike DMX, multiple controllers can co-exist on the bus. The DALI protocol permits addressing devices individually, in groups or via broadcast.2 Scenes can be stored in the devices, for recall on an individual, group or broadcast basis. Groups and scenes are used to ensure simultaneous execution of level changes, since each packet requires about 25 ms - or 1.5 seconds if all 64 addresses were to change level.
Each device is assigned a unique short address between 0 and 63, making up to 64 devices possible in a basic system. Address assignment is performed over the bus using a "commissioning" protocol built into the DALI controller, usually after all hardware is installed, or successively as devices are added. The Device Address is commonly a LED driver with one or many LEDs sharing the same level. A DT6 driver is for single color temperature applications, a DT8 driver is used for CCT color tuning, or RGBWW multi color applications - for example a strip where all the "pixels" have the same color.
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 1200 bit/s. Collision detection is used to allow multiple transmitters on the bus.
A single pair of wires comprises the bus used for communication on a DALI network. The network can be arranged in bus or star topology, or a combination of these. Each device on a DALI network can be addressed individually, unlike DSI and 0–10V devices. Consequently, DALI networks typically use fewer wires than DSI or 0–10V systems.
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.3: 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, limiting the current to 250 mA.)
Although the DALI control cable operates at 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 functional insulation between the mains and the DALI control wires.
The network cable is required to provide a maximum drop of 2 volts along the cable.4: 19 At 250 mA of supply current, that requires a resistance of ≤ 4 Ω per wire. The wire size needed to achieve this depends on the length of the bus, up to a recommended maximum of 2.5 mm2 at 300 m when using the maximum rating of bus power supply.
The speed is kept low so no termination resistors are required,5: 21 and data is transmitted using relatively high voltages (0±4.5 V for low and 16±6.5 V for high6: 19 ) enabling reliable communications in the presence of significant electrical noise. (This also allows plenty of headroom for a bridge rectifier in each slave.)
Each bit is sent using Manchester encoding (a "1" bit is low for the first half of the bit time, and high for the second, while "0" is the reverse), so that power is present for half of each bit. When the bus is idle, the voltage level is continuously high (which is not the same as a data bit). Frames begin with a "1" start bit, then 8 to 32 data bits with the most significant bit first (standard RS-232 has the least significant bit first), followed by a minimum of 2.45 ms of idle.
A DALI device, such as a LED driver, can be controlled individually via its short address. Additionally, each DALI device may be members of one to 16 groups, or be a member of up to 16 scenes. All devices of a group respond to the commands addressed to the group. For example, a room with 4 ballasts can be changed from off to on in three common ways:
Using the Short Address, e.g. sending the following DALI messages:
This method has the advantage of not requiring programming of group and scene information for each ballast. The fade time of the transition can be chosen on the fly. If a large number of devices need to change at once, note that only 40 commands per second are possible - therefore, 64 individual addresses would require 1.5 seconds. For example, turning all lighting fixtures off may result in a visible delay between the first and last ballasts switching off. This issue is normally not a problem in rooms with a smaller number of ballasts. Groups and Scenes solve that.
Using the DALI Group previously assigned to ballasts in the room, if Short Address 1, 2, 3 and 4 are members of Group 1, e.g.:
This method has the advantage of being immune to synchronization effects as described above. 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.
Using the DALI Broadcast command, all control gear will change to that level, e.g.:
Devices store 16 programmable output levels as "scenes". Individual, Group or ALL devices can respond to a global Scene recall command to change to its previously configured level, e.g. dim lights over the audience and bright lights over the stage. (A programmed brightness level of 255 causes a device to not respond to a given scene - hence be excluded from scene recall commands.)
A "system failure" level can be triggered by a loss of power (sustained low level) on the DALI bus, to provide a safe fallback if control is lost, a level of 255 excludes the device from this feature.
DALI lighting levels are specified by an 8-bit value, with 0 representing off, 1 means 0.1% of full brightness, 254 means full brightness, and other values being logarithmically interpolated, giving a 2.77% increase per step. I.e., a (non-zero) control byte x denotes a power level of 103(x−254)/253.
(A value of 255 is reserved for freezing the current lighting level without changing it.)
This is designed to match human eye sensitivity so that perceived brightness steps are uniform, and to ensure corresponding brightness levels in units from different manufacturers.7: 21
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.
Except for special commands, when addressing a device, the 7 most significant bits is the device address. The least significant bit of the address byte specifies the interpretation of the opcode byte, with "0" meaning that the opcode is a light level (ARC), and "1" meaning that the opcode is a command.
Multi packet commands are used for more complex tasks - like setting RGB colors. These commands use three "data transfer registers" (DTR, DTR1, DTR2 ) which can be read and written or used as a parameter by subsequent commands. For example, copy the current ARC level to DTR, save DTR as a scene. Evidently, the DTR value can be different in different devices.
Address byte (AB) format:
Common control gear commands:8910
The DALI-2 standard 11 added standardisation of control devices. Control devices can include input devices such as daylight sensors, passive infrared room occupancy sensors, and manual lighting controls, or they can be application controllers that are the "brains" of the system - using information to make decisions and control the lights and other devices. Control devices can also combine the functionality of an application controller and an input device. Control devices use 24-bit forward frames, which are ignored by control gear, so up to 64 control devices may share the bus with up to 64 control gear.
DiiA published several 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 D4i trademark is used on certified products to indicate that these new features are included in the products.
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.12
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.13
IEC 62386-10414 describes several wireless and wired transport alternatives to the conventional wired DALI bus system.15 DiiA is working with other industry associations to enable certification of DALI-2 products that operate over certain underlying wireless carriers. 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. DiiA: DALI and Wireless
"DiiA acquires DALI trademarks" (PDF). Digital Illumination Interface Alliance - IEEE Industry Standards and Technology Organization. 9 June 2017. Retrieved 23 July 2017. https://www.digitalilluminationinterface.org/data/downloadables/2/4/diia-acquires-dali-trademarks.pdf ↩
"Standards - Digital Illumination Interface Alliance". https://www.digitalilluminationinterface.org/dali/ ↩
"Digital Addressable Lighting Interface" (PDF). DALI. DALI AG, Activity Group, ZVEI-Division Luminaires. September 2001. Archived from the original (PDF) on 27 June 2013. Retrieved 12 July 2013. https://web.archive.org/web/20130627012349/http://www.dali-ag.org/c/manual_gb.pdf ↩
IEC 62386-102 https://webstore.iec.ch/searchform&q=62386-102 ↩
"Rayzig version 2.207". Archived from the original on 13 November 2020. Retrieved 13 November 2020. https://web.archive.org/web/20201113182940/http://www.rayzig.com/manual/rayzig.html?112DALIcommands.html ↩
https://www.nxp.com/files-static/microcontrollers/doc/ref_manual/DRM004.pdf Archived 13 November 2020 at the Wayback Machine [bare URL PDF] https://www.nxp.com/files-static/microcontrollers/doc/ref_manual/DRM004.pdf ↩
IEC 62386-103 https://webstore.iec.ch/searchform&q=62386-103 ↩
"DiiA News". DiiA Website. DiiA. 2020. Retrieved 4 March 2020. https://www.digitalilluminationinterface.org/news/201/tunable-white-tc-colour-control-is-added-to-dali-2-certification ↩
"DALI-2 versus DALI version-1". DiiA Website. DiiA. 2018. Archived from the original on 2 March 2020. Retrieved 4 March 2020. https://web.archive.org/web/20200302132004/https://www.digitalilluminationinterface.org/dali/comparison.html ↩
"IEC 62386-104:2019 | IEC Webstore". https://webstore.iec.ch/publication/33330 ↩
"DiiA News". DiiA Website. DiiA. 2019. Retrieved 20 March 2019. https://www.digitalilluminationinterface.org/news/128/iec-publishes-part-104-of-iec-62386-describes-alternative-transport-including-wireless ↩