Spain 1973, 1974,
Luxeon LED caving lamps
Speleogroup is experimenting with circuits for driving high-power LED devices, such as the White LED Luxeon Star from Lumileds ». This device is rated at approximately one watt, giving typically 18 lumens at its rated current of 350mA. Their high dome Amber Luxeon star gives 36 lumens at a similar power, with a colour similar to that of a sodium street lamp.
To use these devices safely at maximum power, and provide switchable power levels, it is best to use a constant-current circuit. To maximize battery life, we are investigating switched constant-current circuits using off-the-shelf power control ICs and microcontrollers.
The ATtiny15L microcontroller, from Atmel », is an 8-pin device which can be programmed in-circuit. Among other features, it has two timers (one of which can generate a PWM (pulse width modulated) signal directly), four ADC (analogue-to-digital converter) channels (two of which can be used as a differential 20× gain amplifier), an internal voltage reference, and six digital input/output lines.
The device is available in both dual-inline (PDIP) and surface mount (SOIC) packaging. We used the PDIP package for breadboarding and the prototype circuit board, and have also built a surface-mount device (SMD) version:
The circuit is a buck topology switching regulator, with the current through the Luxeon LED sensed by measuring the voltage across a 0.22Ω resistor (R4). The microcontroller (IC2) varies its PWM output (on pin 6) and this drives the gate of the MOSFET in the Fetky device (Q1). The connection to the gate is taken off-board so it is automatically disconnected while the device is programmed.
The battery voltage is estimated using the voltage drop across an external diode (the debug LED mentioned below).
In the picture of the SMD board, above, the ATtiny15L is the square 8-pin device at the top left. Below the microcontroller is the Fetky device, and below the Fetky (at bottom left) is the inductor (L1).
The off-board connector (an AMP Micromatch 10-way) is the reddish socket at top right. As shown in the schematic, this is either cabled directly to an Atmel STK500 board for programming using the Atmel ISP6PIN connection (an AVRISP programmer should work, too, though we have not tested this), or in use is cabled to push-button switches, a Red/Green minature LED (which is used to allow inspection of internal register values, etc.), the Luxeon LED, and a battery pack. The other devices on the board are capacitors (the orange-yellow ones are tantalum devices) and resistors.
Soldering even the small components is made easy using a simple SMD component holder (shown at right) or this simpler version. These are both made out of a wooden base and coat-hanger wire (or equivalent); the springiness of the wire holds the component to the board and to the base firmly, while allowing fine adjustment. The component can then be soldered at one point and any remaining connections can then be soldered with or without the aid of the holder. For more details, see this illustrated description.
In use, eight connections from the board are used:
Please note: if you build this circuit, you do so at your own risk. Modern batteries can deliver considerable power, and a short-circuit can cause a risk of fire. Components can fail, too, and battery chargers may not fully charge batteries, so, as always when caving, carry at least one spare light per person sufficient to get you out of the cave.
The board, switches, red/green LED, and a battery connector fit comfortably in the back of a small Petzl headlamp with its battery connectors removed (this picture shows an earlier version of the SMD board):
The Luxeon LED fits in the front of the headlamp (with the existing bulb holder removed) and can be seen in this general view:
In use, the switches control 5 power levels, each varying from the next by a factor of two. At full power, the Luxeon LED is driven at 350mA (the full current the LED is rated for), and the circuit draws about 250mA from the battery pack at nominal voltage (4.8V) at an efficiency of 92.5%. This should give seven or more hours of light if 2000mAh batteries are used.
At the second-to-lowest power (approximately 45mA) the light output is roughly equivalent to a typical ‘key chain’ LED light such as the Photon Micro-light ». (We tested this light in El Cuevón de la Pruneda in June 2002 and found it was quite possible to navigate and exit the cave with this level of light.)
The microcontroller also watches the battery voltage, and when this indicates that the battery pack is 75% discharged the output power is limited to 50%. This brightness is still very usable, and the limit increases the life of a battery pack.
Similarly, at further thresholds the light is switched to successively lower powers (at the lowest power the light should last for tens of hours). This reduction ensures that the caver is not suddenly left with no light at all, and the stepped nature of the reduction gives a noticeable warning.
The automatic power limits can be overridden for a 10 second “boost” at a higher power if required.
Graphs showing the discharge characteristics are available here. In this image, the three charts are (from top to bottom):
In summary, using 4×1800mAh AA batteries, the lamp operates at maximum output for about 5.5 hours, then at intermediate powers for a further 3 hours before being reduced to the lowest power.
For contractual reasons we are unable to provide the software for this lamp at the moment (sorry! – but it might be possible to make it available later). If you would like to write your own, a good place to start is the Battery Charger Reference Design, available from the Atmel ATtiny 15L Product Card » (which also has links to the microcontroller datasheet, etc.). If this link does not work, please search the web for the Atmel AVR450 application note.
Expeditions to the Picos de Europa and elsewhere since 1973.
Please e-mail Mike Cowlishaw (firstname.lastname@example.org) or Bill Collis (email@example.com)
if you have any corrections, suggestions, etc. See also the SpeleoTrove speleology section ».
The pages and data here are for non-commercial
use only. All content © Speleogroup 1973, 2020,
This page was last edited on 2014-07-25 by mfc.