Artistic License AL4000 User manual

AL4000
DMX512
Processors
Revision 5.0 September 2010
www.ArtisticLicence.com

2

3
DMX512 Processor Range Overview............ 8
AL4002 Three Phase Dimmer ................... 11
AL4005 Demux Controller....................... 22
AL4006/9 Analogue & Relay Controller ....... 34
AL4007 Demux Controller....................... 41
AL4008 Relay Controller ........................ 48
AL4016 Single Phase Dimmer ................... 54
AL4020 Multiplex Controller.................... 63
AL4100 Servo Motion Controller ............... 70
AL4400 PWM Dimmer Processor................ 80
AL4800 Moving Lamp Processor ................ 85
AL2001/AL3001 Three Phase Dimmer ......... 98
C O N T E N T S

4

5
Overview
Artistic Licence offers a range of products tailored to the specific
requirements of product manufacturers in the Lighting Industry.
The AL4000 DMX512 Processor (aka Dimmer Chips) range include
microprocessor solutions for a wide selection of lighting control
products. The range is usually supplied at chip level for integration at
the design phase. We can, however, supply board level solutions or
indeed entire turnkey product design.
Originally aimed at small companies without the R&D facilities to
develop microprocessor equipment, we now supply major lighting
manufacturers around the world.
We guarantee that a Dimmer Chip will simplify your next design.
Check out our web site for the latest releases.
www.ArtisticLicence.com
AL4002
Three Phase Dimmer
The AL4002 is a 68 pin PLCC device. It provides all the control
features required for a medium specification three phase digital
dimmer.
Both analogue and DMX512 inputs are supported. Features include
four dimmer curves, preheat, consecutive or alternate phase outputs,
good data indication and fan speed control.
DMX base address is set by external thumbwheel inputs.
AL4005
Demux Controller
The AL4005 is a 40 pin DIL device. It provides all the control
features required to develop a 96 channel DMX512 to analogue
converter.
DMX base address is set by external thumbwheel inputs.
AL4006/9
Analogue & Relay Controller
The AL4006 and AL4009 are 40 pin DIL devices. They both provide
two analogue and sixteen switched outputs. Excellent for automating
smoke machines etc.
DMX base address is set by external thumbwheel inputs.
I N T R O D U C T I O N

6
AL4007
Demux Controller
The AL4007 is a 40 pin DIL device. It provides all the control
features required to develop a 72 channel DMX512 to analogue
converter.
DMX base address is set by external thumbwheel inputs.
AL4008
Relay Controller
The AL4008 is a 40 pin DIL device. It provides all the control
features required to develop a 24 channel DMX512 to switched relay
converter. Individual DMX channels are used to set the state of each
relay.
DMX base address is set by external thumbwheel inputs.
AL4016
Single Phase Dimmer
The AL4016 is a 40 pin DIL device. It provides all the control
features required for a medium specification, sixteen channel, single
phase digital dimmer.
DMX512 input only is supported.
DMX base address is set by external thumbwheel inputs.
AL4020
Multiplex Controller
The AL4020 is a 40 pin DIL device. It provides a DMX output that
represents the htp merge of received DMX512 and up to 72 analogue
inputs. The device can also be used as a simple analogue to DMX512
converter.
DMX base address is set by external thumbwheel inputs.
AL4100
Dual Servo Controller
The AL4100 is a 40 pin dip device. It receives DMX512 and uses the
information to position control two DC servo motors. Perfect for
colour scrollers, colour wheels, moving yokes, moving lamps and
animatronics.
AL4200
Up Down Relay Controller
The AL4200 provides all the control features required for a four
channel, forward - reverse relay driver.
Applications include drape release and general purpose animatronic
effects.
The AL4200 is the core technology used in the DMX-Kabuki.

7
AL4400
PWM Dimmer Controller
The AL4400 provides all the control features required for a high
specification DC - PWM dimmer.
Applications include low voltage lamp dimming, LED, LEP, EL and cold
cathode colour mixing.
The AL4400 is the core technology used in the Power-Pipe and
Colour-Fill.
AL4800
PWM Moving Lamp Controller
The AL4800 provides all the control features required for a medium
specification moving lamp or moving yoke.
The basic configuration provides micro-stepping (high resolution)
outputs for pan and tilt. Pin inputs allow 2 settings for pan motor
type and 4 settings for tilt motor type.
The colour wheel and gobo wheel motors are also micro-stepping
motors and assumed to be continuously rotating with inputs for a
home sensor.
The iris motor is also a wave drive stepper motor channel with end
stop sensor.
Applications include moving lamps, moving yokes, colour wheels and
general purpose animatronics.
Custom variations of this part can be produced subject to order
quantity.
AL2001
/ AL3001
Three Phase Dimmer
This two chip solution provides the engine for a powerful three phase
DMX and analogue digital dimmer. Features include LCD drive, keypad
input, analogue and DMX512 input, dimmer curves, channel preheat
and all data stored in flash ram.
It provides all the control features required for a high specification
three phase digital dimmer.

8
Overview
The AL4002 is a 68 pin PLCC device. It provides all the control
features required for a medium specification three phase digital
dimmer.
Both analogue and DMX512 inputs are supported.
Key features:
•12 Phase position modulated outputs
•Automatic mains frequency and phase tracking
•Four dimmer curves
•Preheat
•Consecutive or alternate phase outputs
•Good data indication
•Fan speed control
•DMX base address is set by external thumbwheel inputs
•Individual channel test at 50% & 100%
T H E A L 4 0 0 2 T H R E E P H A S E D I M M E R

9
Pin Function In / Out
1 NC -
2 VCC I
3 Output 1 (PH1-1) O
4 BCD input (HUN1) I
5 BCD input (HUN2) I
6 BCD input (HUN4) I
7 BCD input (HUN8) I
8 Output 12 (PH3-4) O
9 Output 11 (PH3-3) O
10 Output 10 (PH3-2) O
11 Output 9 (PH3-1) O
12 BCD input (TEN8) I
13 BCD input (TEN4) I
14 BCD input (TEN2) I
15 BCD input (TEN1) I
16 RESET (Active low) I
17 TEST (Connect to 0V) I
18 NC -
19 GND I
20 VCC I
21 NC -
22 NC -
23 Analogue Bus D (AN-D) I
24 Analogue Bus C (AN-C) I
25 NC -
26 NC -
27 NC -
28 NC -
29 VCC (Analogue) I
30 GND (Analogue) I
31 Analogue Bus A (AN-A) I
32 Analogue Bus B (AN-B) I
33 Analogue Address (ANAD1) O
34 Analogue Address (ANAD0) O
35 NC -
36 GND I
37 VCC I
38 Zero Cross Input. Active Low (ZC3) I
39 NC -
Pin
Functions
40 Curve select (CURVE1) I

10
Pin Function In / Out
41 Curve select (CURVE0) I
42 NC -
43 TTL DMX512 Input (RX) I
44 Phase Output Sequence (ORDER) I
45 NC -
46 NC -
47 BCD input (UNIT2) I
48 BCD input (UNIT1) I
49 VCC I
50 Crystal Connection (OSC1) I
51 Crystal Connection (OSC2) O
52 NC -
53 GND I
54 Good Data, Lo=Good (GOOD) O
55 BCD input (UNIT4) I
56 BCD input (UNIT8) I
57 Fan drive, Hi=Fast (HIFAN) O
58 Zero Cross Input. Active Low (ZC2) I
59 Zero Cross Input. Active Low (ZC1) I
60 AUX I
61 Output 8 (PH2-4) O
62 Output 7 (PH2-3) O
63 Output 6 (PH2-2) O
64 Output 5 (PH2-1) O
65 Output 4 (PH1-4) O
66 Output 3 (PH1-3) O
67 Output 2 (PH1-2) O
68 GND I
Pin
Functions

11
Phase
Outputs
The AL4002 phase outputs are synchronised to the three zero cross
input signals over a frequency range of 45 to 65Hz. The output phase
trigger position is defined by the highest value of the DMX512 input,
the analogue input and the preheat level. The output is additionally
modified by the output curve selected.
Phase
Sequence
The AL4002 is designed such that it can be used for both standard
configurations of three phase dimmer. The two conventions differ in
the sequence of the phase outputs and is selected by tying the
ORDER pin either Hi or Low:
DMX, Analogue or
Test Input Channel
Consecutive
(ORDER=0)
Controlled Output
Alternate
(ORDER=1)
Controlled Output
1 PH1-1 PH1-1
2PH1-2 PH2-1
3PH1-3 PH3-1
4PH1-4 PH1-2
5 PH2-1 PH2-2
6 PH2-2 PH3-2
7PH2-3 PH1-3
8 PH2-4 PH2-3
9 PH3-1 PH3-3
10 PH3-2 PH1-4
11 PH3-3 PH2-4
12 PH3-4 PH3-4
Dimmer
Curves
The phase output relationship to the control input can be globally
modified to one of four response curves. The options are:
1. Linear - The output phase varies linearly with the input.
2. Square - The output power varies linearly with the input.
3. S curve - A modified form of Square with greater control in the
centre of the range.
4. Relay - The output switches to full when the input exceeds 25%.
The curves are selected as follows:
CURVE1
0
0
1
1
CURVE0
0
1
0
1
Output
Linear
Square
S Curve
Relay
Zero Cross
Inputs
The three zero cross inputs (ZC1-3) are used to provide the mains
synchronisation. The inputs are active low, that is the signal should
pulls low at the zero crossing point of each respective phase.
For single phase operation the three inputs should be commoned.

12
It is imperative that the rise time of the signal is greater that 1uS.
Failure to adhere to this specification may cause output inaccuracy.
The minimum low period of the zero cross signal is 10uS.
The allowed frequency range is 90Hz to 125Hz. Frequencies outside
this range will cause non linear output.
Output
timing
The following examples show the relationship between Output, Zero
cross for three input values.
DMX512
Base
Address
The BCD inputs are used to set the DMX base address. The inputs
are set up for connection of three standard Binary Coded Decimal
Thumbwheel switches. The BCD inputs are active low, i.e. to select a
base address of 001, connect UNIT1 to ground and pull up all other
BCD inputs. Valid addresses range from 001 to 512.
Test Mode
The BCD inputs are also used to enter test mode.
When Test mode is active, the DMX512 input is disabled, but the
Analogue inputs remain active.
When the Hundred inputs are set to either ‘6’ or ‘7’ Test mode is
active. The Hundred input sets the intensity, while the Ten and Units
inputs select the channel.
The following examples show the operation:
Hundreds Tens Units Output DMX
Input
Analogue
Input
0 0 0 All Off Off Off
0 0 1 Controlled by inputs On On
5 1 2 Controlled by inputs On On
7 0 1 Output 1 @ 100% Off On
6 0 1 Output 1 @ 50% Off On
7 0 9 Output 9 @ 100% Off On
6 1 2 Output 12 @ 50% Off On
Analogue
Inputs
The Analogue inputs are decoded by the external multiplexers.
Designs which do not require analogue inputs or preheat may ground
the AN-X inputs. The Preheat input value is applied to all channels.
No analogue input voltage may exceed 5V. The following table shows
the decoding.
ANAD1 ANAD AN-A AN-B AN-C AN-D
90% Output
50% Output
10% Output
Zero Cross

13
0
0 0 Input 1 Input 5 Input 9 Spare 1
0 1 Input 2 Input 6 Input 10 Spare 2
1 0 Input 3 Input 7 Input 11 Spare 3
1 1 Input 4 Input 8 Input 12 Preheat
DMX512
Input
The DMX512 input connects directly to the output of a standard
RS485 or RS422 receiver such as the 75176.
Good Data
The GOOD signal is driven low to show that valid DMX512 data is
being received. The output is suitable for direct connection (via a
current limit resistor) to the cathode of a 20mA LED.
Fan Speed
The HIFAN signal is driven Hi when any six outputs exceed 50%
power. The signal can be used to increase the fan speed when the
Dimmer is handling greater than 50% power.
Power
Supply
The AL4002 requires a 5V DC supply at approximately 6mA
All Ground and Vcc pins must be connected.
The device is CMOS so normal handling precautions should be
adhered to.
Good decoupling and pcb layout conventions (i.e. fill all unused pcb
areas with grounded copper planes) should be followed.
Particular attention should be paid to routing the Zero Cross and
Crystal connections.
Crystal
The AL4002 requires a 16MHz, fundamental mode crystal. A tuning
capacitance of approximately 12pF is suggested between each crystal
connection and Ground. The inherent pcb and lead capacitance must
be included in this.
EMC
There are two major considerations in reducing the electromagnetic
radiation generated by the AL4002.
The device tends to generate noise at the third harmonic of the
crystal (48MHz). Adding the crystal capacitors detailed above
reduces this to acceptable limits.
Broad band noise can be reduced by good decoupling. A range of
22uF aluminium capacitors and 0u1 ceramic capacitors should be used
on the circuit board. A 560pF ceramic capacitor should also be
connected across the AL4002 power pins as close as possible to the
device.
The use of 150uH inductors in series with all three DMX512 signals
is also an effective way to reduce conducted emissions.
DMX512
Isolation
In order to ensure that DMX512 works reliably (this relates to all

14
systems) it is very important to ensure that the cable screen is
connected to pin 1 and that pin 1 is not connected to mains earth.
This simple precaution solves most DMX512 problems.
It is also a good idea to isolate the DMX512 input circuitry.
Application
The following circuit shows the AL4002 application drawing. This is
also the circuit diagram for the evaluation PCB.

1 2 3 4
A
B
C
D
4
321
D
C
B
A
Title:
Sheet:
ARTISTIC LICENCE (UK) LTD
Drawing No: Drawn:
Livingstone Court, Peel Road, Harrow, Middlesex HA3 7QT, England Tel: +44 (0)20 8863 4515
© Copyright Artistic Licence (UK) Ltd 2000
Print Date:1 2-Jun-20003of
AL4002-12000 Three Phase Dimmer Evaluation Board
Rev:1.00
VCC
DGND
DGND
DGND
XTAL1
16MHz Crystal
C7
VCC
W1 1
W2 2
W4 4
W8 8
COM
C1
COM
C2
SW3
W1 1
W2 2
W4 4
W8 8
COM
C1
COM
C2
SW2
W1 1
W2 2
W4 4
W8 8
COM
C1
COM
C2
SW1
1
2
3
4
5
6
7
8
9
RP3
10K
1
2
3
4
5
6
7
8
9
RP1
10K
VCC
DGND
VCC 8
GND
5
6
7
1
4
3
2
U1
75176
VCC
DGND
DC1
CAP 100NF
DGND
N1
TNET
N2
TNET
DGND
N3
TNET
1
2
3
J1
SIP 3 PIN
R1
120R
'DMX In'
Rev.
1.00
Date Notes
Original release
17/5/00
AILP
1
2
3
4
5
J7
1
2
3
4
5
J5
DGND
HUN1
HUN2
HUN4
UNIT1
UNIT2
UNIT4
UNIT8
TEN1
TEN2
TEN4
TEN8
HUN1
HUN2
HUN4
UNIT1
UNIT2
UNIT4
UNIT8
TEN1
TEN2
TEN4
TEN8
AL4002 APPLICATION CIRCUIT
VCC 2
PH1-1 3
HUN1 4
HUN2 5
HUN4 6
HUN8 7
PH3-4 8
PH3-3 9
PH3-2 10
PH3-1 11
TEN8 12
TEN4 13
TEN2 14
TEN1 15
MCLR 16
TEST 17
GND
19
VCC 20
AUX4
21
AUX5
22
AN-D
23 AN-C
24
AUX6
25
AUX7
26
AUX8
27
AUX9
28
AVCC 29
AGND
30
AN-A
31
AN-B
32
ANAD1
33
ANAD0
34
GND
36
VCC 37
ZC3 38
AUX10
39
CURVE1 40
CURVE0 41
INVERT 42
RX 43
ORDER 44
AUX2
45
AUX3
46
UNIT2 47
UNIT1 48
VCC 49
OSC1/CLKIN 50
OSC2/CLKOUT 51
GND
53
GOOD 54
UNIT4 55
UNIT8 56
HI FAN
57 ZC2 58
ZC1 59
AUX1
60
PH2-4 61
PH2-3 62
PH2-2 63
PH2-1 64
PH1-4 65
PH1-3 66
PH1-2 67
GND
68
U4
AL4002
C4
560pF
C1
560pF
C3
560pF
C8
560pF
C2
560pF
HUN8
HUN8
DGND
DMX OK
PH1-1
PH1-2
PH1-3
PH1-4
PH2-1
PH2-2
PH2-3
PH2-4
PH3-1
PH3-2
PH3-3
PH3-4
Fan Hi
ANAD0
ANAD1
AN-A
AN-B
AN-C
AN-D
1
2
3
4 5
6
7
8
SW4
SW-DIP4
Order
Order
Curve0
Curve1
Curve1
Curve0
Invert
Invert
1
2
3
4
5
J4
ZC1
ZC2
ZC3
ZC1
ZC2
ZC3
1
2
3
4
J2
SIP 4 PIN
DGND
'Zero Cross
Inputs'
R2
10K
R3
10K
R4
10K
VCC

1 2 3 4
A
B
C
D
4
321
D
C
B
A
Title:
Sheet:
ARTISTIC LICENCE (UK) LTD
Drawing No: Drawn:
Livingstone Court, Peel Road, Harrow, Middlesex HA3 7QT, England Tel: +44 (0)20 8863 4515
© Copyright Artistic Licence (UK) Ltd 2000
Print Date:2 2-Jun-20003of
AL4002-12000 Three Phase Dimmer Evaluation Board
Rev:1.00 AILP
120
219
318
417
516
615
714
813
912
1011
U9
HDSP4820 LED Pack
120
219
318
417
516
615
714
813
912
1011
U8
HDSP4820 LED Pack
116
215
314
413
512
611
710
8 9
RP6
330R
116
215
314
413
512
611
710
8 9
RP5
330R
IN 1
1
IN 2
2
IN 3
3
IN 4
4
IN 5
5
IN 6
6
IN 7
7
IN 8
8
GND
9DIODE CLAMP
10 OUT 8 11
OUT 7 12
OUT 6 13
OUT 5 14
OUT 4 15
OUT 3 16
OUT 2 17
OUT 1 18
U7
ULN2803
IN 1
1
IN 2
2
IN 3
3
IN 4
4
IN 5
5
IN 6
6
IN 7
7
IN 8
8
GND
9DIODE CLAMP
10 OUT 8 11
OUT 7 12
OUT 6 13
OUT 5 14
OUT 4 15
OUT 3 16
OUT 2 17
OUT 1 18
U6
ULN2803 DGND
DGND
DGND
DGND
VCC
VCC
VCC
VCC
'DMX OK'
'Power'
DMX OK
PH1-1
PH1-2
PH1-3
PH1-4
PH2-1
PH2-2
PH2-3
PH2-4
PH3-1
PH3-2
PH3-3
PH3-4
Fan Hi
VCC
Y3A
11
A0
10 A1
9E
6
Vss
8
Vee
7Vdd 16
ZA 13
Y1A
14 Y2A
15
Y0A
12
Y0B
1Y1B
5Y2B
2Y3B
4ZB 3
U3
4052
1
2
3
4
5
6
7
8
9
RP4
1M
VCC
DC3
100NF
DGND
DGND
1
2
3
4
5
6
7
8
9
10
J8
DGND
VCC
Y3A
11
A0
10 A1
9E
6
Vss
8
Vee
7Vdd 16
ZA 13
Y1A
14 Y2A
15
Y0A
12
Y0B
1Y1B
5Y2B
2Y3B
4ZB 3
U2
4052
1
2
3
4
5
6
7
8
9
RP2
1M
VCC
DC2
100NF
DGND
DGND
1
2
3
4
5
6
7
8
9
10
J6
DGND
VCC
ANAD0
ANAD1
ANAD0
ANAD1
AN-A
AN-B
AN-C
AN-D
IP1
IP2
IP3
IP4
IP5
IP6
IP7
IP8
IP9
IP10
IP11
IP12
Spare1
Spare2
Spare3
Preheat
'Analog Inputs'
'Analog Inputs'
DGND
DGND
DGND
1
2
3
4
5
6
7
8
9
10
J17
SIP 10 Pin
1
2
3
4
5
6
7
8
9
10
J10
Sip 10 Pin

1 2 3 4
A
B
C
D
4
321
D
C
B
A
Title:
Sheet:
ARTISTIC LICENCE (UK) LTD
Drawing No: Drawn:
Livingstone Court, Peel Road, Harrow, Middlesex HA3 7QT, England Tel: +44 (0)20 8863 4515
© Copyright Artistic Licence (UK) Ltd 2000
Print Date:3 2-Jun-20003of
AL4002-12000 Three Phase Dimmer Evaluation Board
Rev:1.00
1
2
3
4
J3
4 Pin Screw Term
DGND
VCC
DE1
22UF
DE2
22UF
Trigger
2
Output 3
Reset
4
Control V
5Threshold 6
Discharge 7
VCC 8
GND
1
U5
NE555
VCC
DC4
CAP 100NF
DGND
DGND
MAXMIN
RV1
10K
C5
100nF
C6
10nF
R7
3K3
R5
91K
R6
1K
MAXMIN
RV2
47K
TP3 TP2 TP1
+5V IP
Gnd IP
85-120Hz OP
0-5V OP
DGND
DGND
VCC
VCC
Evaluation Board Analog Voltage Source
Evaluation Board Frequency Source
Frequencey
Adjust
1
2
3
4
5
6
J9
6 PIN Screw Term
J11
J12
J13
J14
J15
J16
Evaluation Board Prototype Area
D2
1N4148
D1
1N4148

Bill Of
Materials
The following components are required for the evaluation PCB. Please
note that some component values may require modification subject to
the intended application.
Designator Part Type
C1 560pF
C2 560pF
C3 560pF
C4 560pF
C5 100nF
C6 10nF
C7
C8 560pF
D1 1N4148
D2 1N4148
DC1 CAP 100NF
DC2 100NF
DC3 100NF
DC4 CAP 100NF
DE1 22UF
DE2 22UF
J1 SIP 3 PIN
J10 Sip 10 Pin
J11 TESTPOINT
J12 TESTPOINT
J13 TESTPOINT
J14 TESTPOINT
J15 TESTPOINT
J16 TESTPOINT
J17 SIP 10 Pin
J2 SIP 4 PIN
J3 4 Pin Screw Term
J4 CONN SIP 5PIN
J5 CONN SIP 5PIN
J6 CONN SIP 10PIN
J7 CONN SIP 5PIN
J8 CONN SIP 10PIN
J9 6 PIN Screw Term
N1 TNET
N2 TNET
N3 TNET
R1 120R
R2 10K
R3 10K
R4 10K
R5 91K
R6 1K
R7 3K3
RP1 10K
RP2 1M
RP3 10K
RP4 1M
RP5 330R
RP6 330R

19
Designator Part Type
RV1 10K
RV2 47K
SW1 BCD-HOZ
SW2 BCD-HOZ
SW3 BCD-HOZ
SW4 SW-DIP4
TP1 TESTPOINT
TP2 TESTPOINT
TP3 TESTPOINT
U1 75176
U2 4052
U3 4052
U4 AL4002
U5 NE555
U6 ULN2803
U7 ULN2803
U8 HDSP4820 LED Pack
U9 HDSP4820 LED Pack
XTAL1 16MHz Crystal

20
Overview
The AL4005 is designed to receive the DMX512 protocol and provide
all the control signals necessary to generate 96 channels of analogue
control signals.
The AL4005 is suitable for the development of DMX512 to Analogue
Decoders and also provides an elegant solution to the DMX512
upgrade of existing analogue dimmers.
The AL4005 is supplied as a 40 pin DIL device.
Key features:
•DMX512 input
•Good data received indicator
•Parallel output for external Digital to Analogue conversion
•Individual channel test at 50% and 100%
•DMX base address is set by external thumbwheel inputs
T H E A L 4 0 0 5 D E M U X P R O C E S S O R
This manual suits for next models
1
Table of contents