You are on page 1of 3

dimming - 1-10V fluorescent lighting digital control - Electrical Engineering Stack Exchange

1-10V fluorescent lighting digital control


I have a number of fluorescent lights installed that use 1-10V dimming. Note that this is not the same as 0-10V dimming as used in older theatre equipment. The control gear for the lights outputs 10V on the two control wires. When open circuit, the light is at 100%. When shorted, the light is at ~10% (minimum level). Dimmer controls for this kind of lighting are passive devices, only connecting to the two connections from the fixture. I want to be able to control this lighting digitally. I'm not too fussed with the protocol, as I can always program a C to do protocol conversion. I have found commercially available devices such as this DMX 1-10V Converter, which will convert DMX/DALI etc to 1-10V, but they are rather expensive, and building my own would be much more fun. Has anyone any experience with this control protocol? Or can you offer any pointers to where to get started?
control dimming fluorescent-lamp

Page 1 of 3

edited Oct 3 '12 at 13:21 Bill the Lizard 244 4 14

asked Oct 3 '12 at 11:07 c.cam108 308 10

2 Answers
Basically what you are asking for is called a digital to analog converter, or D/A or DAC for short. In this case you want the full range to be 0-10 volts. From your description, it appears the receiving end passively pulls up the line, and is expecting the dimmer to put a variable resistance between it and ground. You want to outright control the voltage, but you only need a low side active pulldown to do it. Here is a circuit that will probably work:

The input to this analog circuit is a 0 to 3.3 volt digital PWM signal from a microcontroller. R5, C4, R2, and C2 form a two-pole low pass filter that makes the average value of the PWM signal. Since your frequency requirements are so low, you can easily create such a PWM signal in a microcontroller with plenty of resolution. For example, a 1 kHz PWM signal will have its PWM

http://electronics.stackexchange.com/questions/42661/1-10v-fluorescent-lighting-digital-control

9/3/2013

dimming - 1-10V fluorescent lighting digital control - Electrical Engineering Stack Exchange
frequency reduced by nearly 4000 (over 70 dB) by this filter. Even slow micros can give you 8 bits or more resolution at 1 kHz PWM frequency. The micro would adjust its PWM duty cycle in response to commands received via a UART or some other digital interface. The opamp is used in the classic positive gain configuration, except that since the transistor inverts the signal the opamp inputs are flipped in response. R1 and R4 form the feedback divider, which in this case causes the circuit to have a gain a little over 3. Ideally you want a gain of 3.03, but the values shown give you a little bit at the top of the range where you know the output will go to maximum. The opamp drives the base current of Q1 to whatever it takes to make the desired dimmer line output voltage. R3 is there so that there will be some voltage change in the opamp output with output change. Otherwise, the opamp output would always be at the B-E junction drop above ground, which could lead to instability. You didn't say what the maximum current is that a dimmer has to sink. This circuit can handle well over 100 mA, which is probably high. If so, you can make R3 higher, but the 1 k shown should work anyway. C3 is there only for stability. You don't need much bandwidth, so there is no harm in overdamping the opamp. Some capacitance here will be needed since even with R3 there, there will actually be a voltage gain less than 1 from the input to the opamp output.

Page 2 of 3

Edit:
The previous circuit accidentally had the opamp inputs flipped. The transistor inverts the voltage, so the opamp inputs have to be opposite from the usual positive gain configuration. The circuit above is now the fixed version. I have also updated the circuit for the processor running at 3.3 V instead of 5 V and now show the PWM signal from the micro directly.
edited Oct 3 '12 at 15:20 answered Oct 3 '12 at 12:28 Olin Lathrop 86.2k 5 80 196

Excellent answer, thank you very much. I understand most of the circuit from 3rd year analogue electronics lectures a couple of years ago, and your explanation filled in the rest well. Why did you choose the MCP6001 for this circuit? Would any rail-to-rail op-amp capable of working at the supply voltage work? My preferred C is a 3v3 device, so I take it all I would need to change would be R1 to 220 to give a gain of ~3? c.cam108 Oct 3 '12 at 14:18

@c.cam: I used the MCP6001 as example because it should work and I had the footprint already in my CAD system. Most rail to rail opamps that can run from the right voltage should be fine in this application. Yes, for 3.3V operation you need to increase the gain but little else needs to change. You need a gain a little over 3, so 220 kOhms for R1 sounds about right. Olin Lathrop Oct 3 '12 at 14:52

Did you find this question interesting? Try our newsletter


Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).

I have experience with this control protocol.

http://electronics.stackexchange.com/questions/42661/1-10v-fluorescent-lighting-digital-control

9/3/2013

dimming - 1-10V fluorescent lighting digital control - Electrical Engineering Stack Exchange
Few things to watch out for, whilst 10v is 100%, 1v is minimum output (not off as you might expect) so commercial "dimmers" include a mains relay to cut the power when your higher level protocol wants it off. They don't have any notion of their own dimming curve (unlike DALI or DSI devices which are matched to human perception of brightness) so will need to put in your compensation. They won't necessarily have their own galvanic isolation so you will need to add that as well.

Page 3 of 3

http://electronics.stackexchange.com/questions/42661/1-10v-fluorescent-lighting-digital-control

9/3/2013

You might also like