YFX·Yongfuxiang中文

Home / Technical Guides

How DALI dimming works: two wires carrying commands for 64 addresses

Fundamentals670 words

The fundamentals do not require memorising standard numbers, but they do require three things: what travels on the bus, how addresses are divided, and how a level becomes light. With those three clear, most on-site cases of "I sent a command and nothing happened" can be diagnosed without help.

The 30-second answer

DALI is a 1200 bps digital bus on two polarity-free wires. The command frame carries an address and each device executes only its own frame; levels 1–254 follow a logarithmic curve, which is why dimming looks even to the eye.

How two wires carry commands for 64 addresses

What runs on the bus is a serial digital signal at a nominal 16 V DC, with defined logic windows (a high level no lower than 9.5 V, a low level no higher than 6.5 V), and the transmitter pulls the level down to represent a bit. Because the receiver looks at transitions rather than absolute voltage, reversing the two wires still communicates — the most fundamental difference from analogue dimming.

A forward frame is 19 bits: one start bit, eight address bits, eight data bits and two stop bits. At 1200 bps a frame takes about 16 ms, so commands on one bus execute in sequence, and with many nodes a scene change shows a slight ripple of timing. Devices answer with a backward frame of far fewer bits, used to read back brightness or status.

The address space: 64 / 16 / 16

Addressing is where DALI's value sits, and also where commissioning most often goes wrong.

ResourceCountPurpose
Short address64Per-luminaire addressing, one per device, written during commissioning
Group address16A set of luminaires acting together; one device can belong to several groups
Scene16Stored brightness combinations recalled with one command

Addresses are not fixed at the factory; the controller assigns and writes them during commissioning. That implies two things: addressing has to be done device by device rather than approximately, and the address table has to be archived, otherwise replacing one device six months later means mapping the whole bus again.

Why the dimming curve is logarithmic

In DALI, level 0 means off, 1–254 are dimming levels and 255 is reserved as MASK. Those 254 steps do not map linearly onto duty cycle; they are distributed logarithmically — step 1 is a very low output, and each further step adds a larger absolute increment while the perceived change stays even.

With a linear mapping, the first 20% of travel already looks half bright and the remaining 80% shows almost nothing, so users describe the control as unresponsive. The logarithmic curve buys back perceptual evenness, at the cost of making the lowest steps sensitive to PWM frequency and the driver's minimum on-time — which is the real origin of low-level flicker. It is not a broken module; it is two ends of the chain not matching.

Unicast, group cast and broadcast

  • Unicast: the command goes to one short address, used for per-luminaire adjustment and most common during commissioning.
  • Group cast: the command goes to a group, and every device in it acts at once, used for zone control.
  • Broadcast: no address at all, every device on the bus acts simultaneously, used for all-on, all-off or emergency scenes.

The standards behind it

  • IEC 62386-101: system components and bus electrical specification; level windows, frame structure and timing all come from here.
  • IEC 62386-102: general requirements for control gear, which every DALI control device must satisfy.
  • IEC 62386-209: particular requirements for colour control (device type 8); DT8 colour commands belong to this part.

Why two wires are enough

Because DALI puts "who should act" inside the command instead of inside the wiring. Analogue systems need extra cable to distinguish zones; digital systems need only an address. That is also why DALI often lowers cable cost on retrofit projects — what you save is not the copper, it is the labour and the tray space.

FAQ

Why does a DALI bus need only two wires?
Because it is a digital bus, not an analogue signal. Every device has its own short address, the command carries that address, and each device executes only the frame addressed to it — so two wires can carry 64 devices without a signal wire per fitting.
How many commands per second does DALI carry?
1200 bps with a 19-bit frame works out to about 16 ms per frame, so more than sixty frames a second in theory. What you actually notice is scene response in the tens of milliseconds, which the eye reads as instant.
Why is the dimming curve logarithmic?
Because human brightness perception is close to logarithmic. With a linear duty-cycle ramp the first 20% of travel already looks half bright and the rest shows almost no change; a logarithmic curve spreads the steps evenly in perceived terms, which is what makes dimming feel smooth.
What does the value 255 mean?
In DALI, level 0 means off, 1–254 are dimming levels, and 255 is reserved as MASK, meaning leave the current value unchanged. That is why the specification says 254 steps, not 255.

Need a model recommendation?

Tell us the luminaire type, wattage, dimming depth and bus size; we will suggest a model and wiring layout.

Request a sample