Digital Addressable Lighting Interface
Digital Addressable Lighting Interface is a trademark for network-based products that control lighting. The underlying technology was established by a consortium of lighting equipment manufacturers as a successor for 1-10 V/ lighting control systems, and as an open standard alternative to several proprietary protocols. The DALI, DALI-2 and D4i trademarks are owned by the lighting industry alliance, DiiA.
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 or certified on the DiiA website. - 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 certifies DALI products. DiiA is a Partner Program of IEEE-ISTO.
Technical overview
A DALI network consists of at least one application controller, input devices, bus power supplies, control gear that have DALI interfaces. Application controllers can control, configure or query each device by means of a bi-directional data exchange. The DALI protocol permits devices to be individually addressed and it also allows multiple devices to be addressed simultaneously via group and broadcast messages.Each device is assigned a unique short address in the numeric range 0 to 63, making possible up to 64 control gear plus 64 control devices in a basic system. Address assignment is performed over the bus using a "commissioning" protocol, usually after all hardware is installed. 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.
A single pair of wires comprise the bus used for communication to all devices on a DALI network. The network can be arranged in a bus or star 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.
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. While many devices are mains-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.
Although the DALI control cable operates at ELV potential, it is not classified as SELV 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 need only provide functional insulation between the mains and the DALI control wires.
The network cable is required to provide a maximum drop of along the cable. At 250 mA of supply current, that requires a resistance of ≤ per wire. The wire size needed to achieve this depends on the length of the bus, up to a maximum of 16 AWG at 300 m when using the maximum rating of bus power supply.
The speed is kept low so no termination resistors are required, and data is transmitted using relatively high voltages enabling reliable communications in the presence of significant electrical noise.
Each bit is sent Manchester coded, so that power is present for half of each bit time. When the bus is idle, it is high voltage all the time. Frames begin with a "1" start bit, then 8 to 32 data bits in msbit-first order, followed by a minimum of 2.45 ms of idle.
Device addressing
A DALI device, such as an LED driver, can be controlled individually via its short address. In addition to this method of control, DALI devices can be arranged into groups in which all devices of the same Group can interact with each other. For example, a room with 4 ballasts can be changed from off to on in three common ways:Single device
Using the Short Address, e.g. sending the following DALI messages:- DALI Short Address 1 go to 100%
- DALI Short Address 2 go to 100%
- DALI Short Address 3 go to 100%
- DALI Short Address 4 go to 100%
This method can have an undesirable side effect called "Mexican Wave" when a single large room such as an auditorium contains many ballasts, due to network latency of the comparatively slow 1200 baud rate of DALI. For example, a transition from all on to all 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 numbers of ballasts.
Device groups
Using the DALI Group previously defined for the ballasts in the room, e.g.:- DALI Group address 1 go to 100%
This method has the disadvantage of requiring each ballast to be programmed with the required group numbers and scene information. The fade time can still be configured on the fly, if required.
Broadcast
Using the DALI Broadcast command, all control gear will change to that level, e.g.:- DALI Broadcast go to 50%
Brightness control
This is designed to match human eye sensitivity so that perceived brightness steps will have uniform brightness change, and to achieve a uniform brightness between units from different manufacturers.
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 17th "system failure" scene is triggered by a loss of power 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.When addressing a device, the least significant bit of the address byte specifies the interpretation of the opcode byte, with "0" meaning a target level byte follows, and "1" meaning a command follows.
Several important special commands are used to save the data byte to one of the three "data transfer registers" which can be used as a parameter by subsequent commands.
Address byte format:
-
0AAA AAAS
: Target device 0 ≤ A < 64. -
100A AAAS
: Target group 0 ≤ A < 16. Each control gear may be a member of any or all groups. -
1111 110S
: Broadcast unaddressed -
1111 111S
: Broadcast -
1010 0000 to 1100 1011
: Special commands -
1100 1100 to 1111 1011
: Reserved
Command | Description |
Control commands | |
DAPC | Sets targetLevel using the current fade time, or stops a running fade. |
OFF | Set targetLevel to 0 without fading |
UP | Starts or continues a fade up for 200ms at the current fade rate |
DOWN | Starts or continues a fade down for 200ms at the current fade rate |
STEP UP | Increments targetLevel by 1 without fading |
STEP DOWN | Decrements targetLevel by 1 without fading |
RECALL MAX LEVEL | Set targetLevel to MAX level without fading |
RECALL MIN LEVEL | Set targetLevel to MIN levelwithout fading |
STEP DOWN AND OFF | Decrements targetLevel by 1 without fading, turning off if already at MIN level |
ON AND STEP UP | Increments targetLevel by 1 without fading, turning on to MIN level if currently off |
GO TO LAST ACTIVE LEVEL | Sets targetLevel to the last active level, using the current fade time. |
GO TO SCENE | 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 | |
RESET | Changes all variables to their reset values. |
STORE ACTUAL LEVEL IN DTR0 | Stores the actualLevel in register DTR0 |
IDENTIFY DEVICE | Starts a temporary identification process such as flashing the lamps, making a sound or transmitting an RF beacon. |
SET MAX LEVEL | Changes maxLevel level to DTR0 |
SET MIN LEVEL | Changes minLevel level to DTR0 |
SET SYSTEM FAILURE LEVEL | Changes systemFailureLevel to DTR0 |
SET POWER ON LEVEL | Changes powerOnLevel to DTR0 |
SET FADE TIME | Changes fadeTime to DTR0 |
SET FADE RATE | Changes fadeRate to DTR0 |
SET EXTENDED FADE TIME | Changes the two 4-bit variables extendedFadeTimeMultiplier:extendedFadeTimeBase to DTR0 |
SET SCENE | Changes sceneX to the value DTR0 |
ADD TO GROUP | Adds the control gear into the specified group |
Query commands | |
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 |
QUERY LAMP FAILURE | Asks the control gear if it is currently detecting a lamp failure. |
QUERY ACTUAL LEVEL | Asks the control gear what the current actualLevel is. |
Commands for control devices
The DALI-2 standard 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.D4i
DiiA published several 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 is used on certified products to indicate that these new features are included in the products.Colour control
IEC 62386-209 describes colour control gear. This describes several colour types - methods of controlling colour. The most popular of these is Tc, and was added to DALI-2 certification in January 2020.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.DALI and Wireless
IEC 62386-104describes several wireless and wired transport alternatives to the conventional wired DALI bus system. 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.