LED Lamp Driver

GreenPAK Blog
4 min readJun 28, 2022

Introduction

This application note describes the HV PAK configuration for LED control. Since LEDs have high efficiency and brightness, this makes them leaders in many lighting applications. In this case, the SLG47105 is configured as the LED driver with four buttons to control LED brightness and color temperature. These features are useful for LED table lamps or other lighting devices.

The complete design file is available here. It was programmed in the GreenPAK Designer software (a part of Go Configure™ Software Hub) which is a free-to-use GUI-based program aimed to create circuit designs.

Construction and Control

The design has four inputs for the LED driver control, as shown on Figure 2:

● PIN#3 — increase lamp brightness

● PIN#17 — decrease lamp brightness

● PIN#14 — shift color temperature to the warm range

● PIN#2 — shift color temperature to the cold range The general block diagram can be found in Figure 3.

In this design example, LEDs were used without a PCB. Because of the resulting thermal limitations, the LED current was limited to 100 mA.

Current CMP disables HV OUTs when LED current is higher than 100 mA. Current Comparator Vref calculation:

𝑉𝑟𝑒𝑓_𝐶𝐶𝑀𝑃 = 𝐼𝐿𝐸𝐷_𝑀𝐴𝑋 ∗ 𝐺𝐴𝐼𝑁𝐶𝐶𝑀𝑃 ∗ 𝑅𝑆𝐸𝑁𝑆𝐸 = 100 𝑚𝐴 ∗ 8 ∗ 1 𝑂ℎ𝑛 = 800 𝑚𝑉

The power supply voltage for three LEDs connected in series should be higher than 9.6 V (3.2 V x 3). Maximum voltage is 13.2 V for the SLG47105.

Figure 4 and Figure 5 show LEDs connected to an Evaluation board with warm and cold LEDs each alternately turned fully on. Buttons SW1, SW4 allow setting color temperature anywhere in between.

HV PAK Design

Design Operation

There are two PWM blocks, as shown in Figure 6.

The PWM0 block generates 49 kHz frequency and controls the general LEDs brightness (for cold and warm LED strings together) using the PWM duty cycle. The duty cycle can be changed by PIN3 (increase) and PIN17 (decrease) in a range from 0 % to 100 %. The HIGH level on PIN3 or PIN17 disables the PWM0 KEEP signal through NXOR 2-L2, and CNT2 starts to clock the duty cycle. KEEP signal is active when PIN3 and PIN17 are LOW or HIGH together.

The PWM1 block generates a PWM signal with 120 Hz frequency to control LEDs color temperature. When PWM1 OUT is HIGH, then only warm LEDs are turned on, and when OUT is LOW — only cold LEDs are turned on. The PWM1 duty cycle can be changed by PIN14 (increase) and PIN2 (decrease). The buttons for PWM1 work similarly to PWM0 control buttons.

PWM1 signal is modulated by PWM0 signal, as shown on Figure 8. As a result, the general brightness depends on the PWM0 duty cycle and the color temperature depends on the PWM1 duty cycle.

Current Limitation

The CCMP turns off HV OUTs when current is higher than 100 mA, see Figure 9.

Waveforms

Conclusion

The application note describes how to configure the HV PAK for advanced LED control. The driver has a flexible configurable control logic, PWM frequency, and current limit. The HV PAK can control loads with current up to 2 A per one output, so it is possible to create powerful solutions using a single small GreenPAK IC, all with minimum external components.

--

--

GreenPAK Blog

Renesas’ Family of Programmable Mixed-Signal ASICs