About Products Projects Process Blog Careers Contact

DALI Lighting Control Explained: A Practical Guide

EmTantra poster showing a DALI bus with an application controller, bus power supply, LED drivers, an emergency unit and a sensor.

Switch on the lights in a modern office, hotel or hospital and there is a good chance the fittings are not just "on" or "off". They dim to a set level in the morning, brighten when someone walks in, turn down near the windows on sunny days, and report a failed driver to the maintenance team. In many of these buildings, the system doing that work is DALI.

DALI โ€” the Digital Addressable Lighting Interface โ€” is an open international standard (IEC 62386) for digital lighting control. This article explains how it works, how DALI-2 and D4i extend it, how to wire and commission a DALI line, and what matters when you design hardware or firmware for it.

Why Digital Lighting Control?

The older and still common way of dimming LED fittings is the analogue 0-10 V / 1-10 V interface. It is simple, but it has clear limits:

DALI solves these problems by giving every driver its own digital address on a shared two-wire bus. Zones become software settings, not wiring, and the system can ask each device about its status.

How a DALI System Is Built

A DALI line has four kinds of parts:

  1. Control gear โ€” usually LED drivers, but also emergency lighting units, relays and colour-control drivers. These are the devices that actually control light.
  2. Control devices โ€” in DALI-2, these include application controllers (the "brain" that runs the logic) and input devices such as push-buttons, occupancy sensors and light sensors.
  3. Bus power supply โ€” DALI needs a dedicated, current-limited supply on the bus. It may be a separate unit or built into a controller.
  4. The bus itself โ€” two wires, often labelled DA+ and DAโˆ’.

The bus at a glance

| Parameter | Value |
|---|---|
| Wires | 2, polarity-insensitive at most control gear |
| Nominal bus voltage | Around 16 V (specified range about 9.5โ€“22.5 V) |
| Maximum bus current | 250 mA |
| Maximum voltage drop | 2 V across the line |
| Maximum cable length | Typically 300 m with 1.5 mmยฒ conductors |
| Data rate | 1200 bit/s, Manchester (bi-phase) encoded |
| Topology | Line, star, tree or mixed โ€” no closed loops |
| Termination | None required |

Because the data rate is low, DALI is very tolerant of cable type and topology. There are no terminating resistors and no special twisted-pair cable.

Addresses, groups and scenes

In DALI-2, control devices (sensors, buttons) have their own separate set of 64 addresses, so a line can hold up to 64 drivers and 64 input devices.

Two-way communication

DALI is not just a command channel. A controller can query each driver for:

This is what makes centralised maintenance and emergency-lighting reporting possible.

What Happens on the Wire

Frames

Each bit is Manchester encoded, so every bit has a transition in the middle. At 1200 bit/s, each half-bit lasts about 417 ยตs.

Light levels

Light level is sent as an arc power level from 0 to 254, where 0 is off. The default dimming curve is logarithmic: the levels are spread so that each step looks like an equal change to the human eye, which is far more natural than a linear curve. The value 255 ("MASK") means "no change".

Each driver also stores settings such as minimum and maximum level, fade time, power-on level and system failure level โ€” the light level it goes to if the bus loses power. That last one is an important safety feature: a corridor can be set to stay at full brightness if the control system fails.

Device types

The standard is split into parts. A few common ones:

| Part | Device |
|---|---|
| 202 | Self-contained emergency lighting (with test functions) |
| 207 | LED modules (Device Type 6) |
| 209 | Colour control โ€” tunable white, RGBW (Device Type 8) |
| 301 | Push-buttons |
| 303 | Occupancy sensors |
| 304 | Light sensors |

DALI-2 and D4i

DALI-2

The original DALI standard left some features open to interpretation, so products from different vendors did not always work well together. DALI-2 tightens the specification, adds the control device parts (controllers, sensors, buttons) and comes with a certification programme run by the DALI Alliance. A DALI-2 certified driver and a DALI-2 certified controller from different manufacturers are tested to work together.

D4i

D4i is a DALI-2 extension for intelligent luminaires. It defines:

For facility managers, this means each luminaire can report how much energy it uses and when it is likely to need maintenance.

Wiring Rules That Prevent Most Problems

  1. Size the cable for voltage drop. Keep the total drop under 2 V at full bus current. For long runs, use thicker conductors or move the bus supply closer to the middle of the line.
  2. Respect the 250 mA limit. Add up the current of every device on the bus โ€” drivers draw a little, but sensors and buttons can draw more. Do not connect two bus supplies unless both are designed to share a line.
  3. No loops. Any topology works, but the bus must not form a closed ring.
  4. Treat DALI wiring as mains-rated. DALI is not SELV. In many installations, it is allowed to run in the same multi-core cable as the mains supply, but it must be insulated and handled as if it carries mains voltage. Follow local wiring rules.
  5. Label lines clearly. Large buildings have many DALI lines, each with its own 64 addresses. Clear panel labelling makes commissioning and maintenance much easier.

Commissioning a DALI Line

Since every driver must have a unique short address, commissioning follows a standard sequence:

  1. Check the bus โ€” measure the bus voltage and confirm the power supply is working.
  2. Address the devices โ€” the controller runs a random address search: each driver picks a 24-bit random number, and the controller narrows down one device at a time and assigns it a short address.
  3. Identify fittings โ€” flash each address in turn and note its physical location on the floor plan.
  4. Create groups for each zone.
  5. Store scenes and fade times.
  6. Set safety levels โ€” power-on and system-failure levels.
  7. Link sensors and buttons โ€” configure occupancy hold times, daylight targets and button actions.
  8. Test and document โ€” keep a record of addresses, groups and scenes for future maintenance.

Designing DALI Products: Embedded Notes

If you are building a DALI driver, sensor, controller or gateway, these points decide how reliable the product will be.

Connecting DALI to the Rest of the Building

DALI controls the lights; the rest of the building often uses something else. Gateways connect DALI lines to:

This is where lighting becomes a data source โ€” occupancy, energy use and maintenance data from every fitting.

Troubleshooting Checklist

  1. No response from any device โ€” check bus voltage. No voltage means no bus supply, or a short circuit on the line.
  2. Bus voltage low โ€” too many devices, too long a cable or too thin a conductor. Recalculate current and voltage drop.
  3. Some drivers do not respond โ€” duplicate or missing short addresses. Re-run the address search.
  4. Lights go to an unexpected level โ€” the bus may be dropping out and drivers are going to their system-failure level.
  5. Intermittent errors โ€” two bus supplies fighting, a loose terminal, or a device that does not meet timing.
  6. Sensor works but lights do not follow โ€” check the controller logic and group links, not just the wiring.

Summary

DALI turns lighting into a digital, addressable system: two wires, up to 64 drivers per line, 16 groups and 16 scenes stored in each driver, and two-way feedback for maintenance. DALI-2 brings real multi-vendor interoperability and standard sensors and buttons, and D4i adds energy and diagnostic data from each luminaire.

Get the basics right โ€” bus current, voltage drop, mains-rated wiring and careful commissioning โ€” and a DALI installation will stay flexible for the life of the building.

How EmTantra Can Help

At EmTantra Technologies, Mangaluru, we design embedded hardware and firmware for lighting control โ€” including DALI, DMX and pixel lighting interfaces, controllers, sensor nodes and gateways that connect lighting to building management and IoT platforms.

If you are developing a lighting control product or need a custom DALI interface for your system, get in touch with our team.

Engineering Ideas into Intelligent Products.

Work with us

Building an embedded or IoT product?

From schematic and PCB to firmware and the cloud, we take ideas to production. Tell us what you're building.