DALI协议中文简介
DALI协议简介
DALI(DigitalAddressableLightingInterface)是国际公开规格的照明控制通信协议,通信速度为1200BPS±10%。主要用于多个荧光灯以及LED照明的调光控制,DALI可以通过最大64个短地址和16个的组地址构成网络,一个主机可以控制一个或者多个从机,以半双工方式进行通信。
�DALI总线上电压时16V,高电平范围是:9.5~22.5V,低电平范围是:-6.5~6.5V。�DALI的命令
由于DALI协议是为要求专业的室内照明管理而设计它定义了4类命令,如表2-2所示:
命令
开关调光
代码
①
说明
可以开关系统中独立的DALI电子镇流器镇流器组或所有镇流器
在技术上可以简易地安装可调光的DALI电子镇流器它可以在125个调节档中按对数将灯的电流从100%调节到0.1%实际上最低的调光级别被设置在3%
以保证不会降低灯的使用寿命在一个DALI系统中可以设定和实现16个灯光场景
DALI协议也可以用于显示和或取得电子镇流器或灯的状态
表2-2
灯光场景状态显示
注:①命令代码见附录一
�DALI的数据构成①位定义
DALI通信使用曼彻斯特编码。位定义为上升沿的时候是“1”,下降沿的时候是“0”。另外无通信的时候,固定为“1”。
②Forward帧
从主机向从机发送的帧,总共为19位。
a:起始位b-d:地址字节在帧的前端,固定为“1”。
指定帧的接收地址。如表2-3所示地址类型:
1
e:数据字节f:结束位③Backward帧
表2-3
指定命令。
在帧的最后,固定为“1”。从从机向主机发送的帧,共11
位。
a:起始位
b:数据字节c:结束位在帧的前端,固定为“1”。执行向主机的回信。
在帧的最后,固定为“1”。
DALI协议是专用的照明控制协议,仅用于照明系统,DALI系统很容易与楼宇自控系
统BAS相连接,是BAS系统的补充。DALI协议是开放的国际标准,我国的技术人员也可以据此开发具有自身知识产权的照明控制产品,因此DALI
的前景是十分美好的。
2
1 DALI Instruction Set Etouch
DALI Instruction Set
Table A-1. Standard Commands (Continued)
CommandValue[1**********]A9BA0A1A2A3A4A5B0+SceneC0C1C2C3C4
Check if the slave is in reset state
Check if the slave is missing a short addressReturns the version number as XXReturns the content of the DTR as XXReturns the device type as XX
Returns the physical minimum level as XXCheck if the slave is in power failure modeReturns the current light level as XX
Returns the maximum allowed light level as XXReturns the minimum allowed light level as XXReturn the power up level as XXReturns the system failure level as XX
Returns the fade time as X and the fade rate as YReturns the light level XX for the selected scene
Returns a bit pattern XX indicating which group (0-7) the slave belongs toReturns a bit pattern XX indicating which group (8-15) the slave belongs toReturns the high bits of the random address as HHReturn the middle bit of the random address as MMReturns the lower bits of the random address as LL
Description
AnswerYES/NOYES/NOXXXXXXXXYES/NOXXXXXXXXXXXYXXXXXXHHMMLL
Digitally Addressable Lighting Interface (DALI) Unit
2 DALI Instruction Set Etouch
DALI Instruction Set
Table A-2. Special Commands
Special
Command ValueA1 00A3 XXA5 XXA7 00A9 00AB 00B1 HHB3 MMB5 LLB7 XXB9 XXBB 00BD 00
Description
All special mode processes shall be terminatedStore value XX in the DTR
Initialize addressing commands for slaves with address XXGenerate a new random address
Compare the random address with the search addressWithdraw from the compare process
Store value HH as the high bits of the search addressStore value MM as the middle bits of the search addressStore value LL as the lower bits of the search addressProgram the selected slave with short address XXCheck if the selected slave has short address XXThe selected slave returns its short address XXGo into physical selection mode
Answer
——————————YES/NOXX—
Digitally Addressable Lighting Interface (DALI) Unit
3 DALI Instruction Set Etouch