Академический Документы
Профессиональный Документы
Культура Документы
July 2004
Paolo Oteri application eng. MCD
CD folder description
Draft of the DALI
Datasheets of all the ST components used Hex file of the master + source files of the slave ST7DALI-EVAL User Manual Boards schematics
Installation program
ST & DALI
What is DALI ? Digital Addressable Lighting Interface
International Standard for Lighting controls solutions designed by all leading control equipment manufacturers to offer a standard to the lighting market This interface is currently in the process of international standardization and will be included in IEC929 Official site www.dali-ag.org Some members are: DIAL HELVAR HCO LUTRON OSRAM PHILIPS LIGHTING TRIDONIC
ST & DALI
DALI characteristics
Master-Slave architecture Installation of many types of sensors (light sensors, passive IR sensors, etc.) Free topology installation Instruction set optimized for lighting applications
ST & DALI
Advantages
Individual Control of Lamps. Each unit in the DALI network has its own individual address and can be controlled independently. 1 2 3 4 5 6 7
Individual Control of Lamps. 21 23 24 22 20 Each unit in the DALI network has its own 10 individual address and can be controlled independently. 25 26 27 28 29 9 30 31 32 33 34 35 36 17 37 16 38 39 14 13
11 12
19
18
15
ST & DALI
Advantages
Simple Wiring. All of the units in the system are interconnected using a simple five-core cable with few restrictions on topology. Up to 64 devices can be connected with a maximum cable length of 300 meters.
DALI
Slave
DALI
Slave
DALI
Slave
L N
DALI DALI
Sensors
DALI
Switches
ST & DALI
Advantages
Multi-Channeling. A single control cable can be used to control several different groups of lamps.
Group 1: Halogen lamp on table Group 2: Circular Fluorescent Lamps Group 3: Halogen lamp on the walls Group 4: Halogen lamp near whiteBoard Group 5: Halogen lamp behind
ST & DALI
Advantages
No Mains Switching Required. Lamps can be dimmed or switched on and off using control system commands without any need of mains switching.
Push button Ceiling multisensor IR remote control
ST & DALI
Advantages
Easy System Re-Configuration. The operation of the system can be changed quickly without any modification to the hardware. Easy System Modification. If the lighting system needs to be enlarged, new components can be added anywhere on the DALI cable. Existing units can easily be reconfigured to suit changing usage patterns.
10
ST & DALI
Advantages
Back-Channelling. The information flow on the connecting cable is bidirectional. In addition to the commands from controllers, the cable can also carry status information on the lamp's operating condition.
Possible information from Slave to Master are: a) b) c) d) Lighting level Node status Fault condition
11
ST & DALI
Advantages
Is possible to define SCENES. Scene means: a particular light level intensity as shown in the next figures. Maximum 16 scenes can be defined.
100% power
30% power
5% power
12
ST & DALI
Installation methods
Method 1
DALI
Slave
Method 2
DALI
Slave
DALI
Slave
DALI
Slave
DALI
Slave
DALI
Slave
Sensors
Switches
DALI
Sensors
DALI
Switches
13
Net characteristics
Maximum node in the net: 64 Groups defined: Max 16 Connecting wires: 2L+PE+2wire DALI lines
ST & DALI
Electrical specifications
Maximum voltage reduction: 2V between sender and receiver Logical level LOW: from 4.5V to 4.5V Logical level HIGH: from 9.5V to 22.5V Current limits: Slave during receive mode less than 2mA
During Slave transmission mode the power supply limits the current to less than 250mA
14
ST & DALI
Voltage and current levels for forward and backward channeling at the ballast's digital interface terminals
15
ST & DALI
Required timing at the ballast terminals of the digital interface.
16
ST & DALI
Voltage rating
17
ST & DALI
Level 2
(ISO/OSI)
Access technique: Start trasmission master node Bit codification: Manchester bi-phase Bi-phase coding Transmission speed: 1200bps 1 0 Frame: Master to Slave 16 bit ----- Slave to Master 8 bit Frames rejected: if not completed or with error in manchester coding
Level 3
broadcast
(ISO/OSI)
18
ST & DALI
Timing requirements for transmission
1) 2) The settling time between two subsequent forward frames shall be 9.17 ms minimum. The settling time between forward and backward frames shall be 2.92 - 9.17 ms. The control unit shall wait up to 9.17 ms. If no backward frame has been started after 9.17 ms this shall be interpreted as no answer. The settling time between backward and forward frames shall be at least 9.17 ms. >=9.17ms Forward Frame Forward Frame >=9.17ms 2.92 to 9.17ms Forward Frame Backward Frame >=9.17ms Forward Frame
3)
19
ST & DALI
Frame structure
Bi-phase coding 1 0
A forward frame shall consist of bi-phase coded bits: 1 start bit (logical 1), 1 address byte and 1 data byte. The frame shall be terminated by 2 stop bits (idle). The stop bits shall not contain any change of phase.
A backward frame shall consist of bi-phase coded bits: 1 start bit (logical 1) 1 data byte and 2 stop bits (idle).
20
21
22
Peripherals
ST 7 & DALI
Implemented application
24
Light regulator
25
G ND
IN
MC 1,5/4-G U3 RE SET 1 2 3 4 5 6 7 8 9 10 VS S OS C1/CLKIN VDD OS C2 RE SET PA 0(HS )/LTIC SS /AIN0/PB0 PA 1(HS )/ATIC SCK/A IN1/PB1 PA 2(HS )/ATPWM0 MISO/AIN2/P B2 PA 3(HS )/ATPWM1 MOSI/AIN3/P B3 PA 4(HS )/ATPWM2 CLK IN/AIN4/P B4PA 5(HS )/ATPWM3/ICCDA TA AIN5/PB5 PA 6/MC0/ICCCLK /B REAK DA LIIN/A IN6/PB6 PA 7/DA LIOUT ST 7FDALIF2MX
7
+ -
R4 10K 1%
MB 2S 4 + D4 - 3
5VDD
R8 0 5VDD
5VDD
R15 150K 1%
R5 10K 1%
R6 3k3 0.1%
ST7FDALI
RE SET
10 8 6 4 2
+ + + + +
+ + + + +
9 7 5 3 1
CON10AP
1..10V interface
TP 1 TP 2 TP 3
DALI interface
Ti tl e DA LISLA VE Si ze A4 Date: Document Number CS .INT0002.01.01 Friday, September 19, 2003 Sheet
TP 4
Rev 1 1 of 1
26
8 Kbytes single voltage extended Flash (XFlash) Program memory DALI communication module (DCM). The DCM is able to receive or transmit a serial DALI signal using a 16-bit shift register, an edge detector, several data/control registers and arbitration logic. Halt power saving mode Up to 15 multifunctional bi-directional I/O lines, One 12-bit Auto-reload Timer with 4 PWM outputs, input capture and output compare functions Internal 1% RC oscillator,
27
A timer with Input Capture/Output Compare capabilities to receive and transmit DALI signals.
Low-consumption mode, to save energy between commands. I/Os and PWM outputs to perform the interface with the ballast controller.
A clock source