Hi,
My customer has the following questions...
A few details on the setup first:
• Iset to 15mA with a 16.6k resistor.
• The current is being measured through a single red LED.
• A 50ohm series resistor is placed in the path of the LED, and a differential voltage is captured across the resistor for the current measurement.
1. When the highest current step is chosen and dimming is disabled the measured waveform is constant dc current. In the capture below the waveform is as expected.
Register Dump: {'high_time': '0x80', 'low_time': '0x0', 'enabled': True, 'high_level': '0xff', 'step_size': '0x80', 'dimming_enabled': False, 'delay_time': '0x0', 'fall_time': '0x0', 'low_level': '0xe0', 'rise_time': '0x0'}
Now, when we drop the current step one level I am expecting to see a constant dc current with a smaller magnitude. However the resulting waveform has a PWM element. Why is the current not constant?
Register Dump: {'high_time': '0x80', 'low_time': '0x0', 'enabled': True, 'high_level': '0xfe', 'step_size': '0x80', 'dimming_enabled': False, 'delay_time': '0x0', 'fall_time': '0x0', 'low_level': '0xe0', 'rise_time': '0x0'}
2. The next question I have involves the dimming functionality of the LED driver. In the data sheet the dimming waveform is specified as a step function with constant current steps.
When dimming is enabled we see a PWM element to the entire waveform. Is this an expected result?
Register dump: {'high_time': '0x80', 'low_time': '0x0', 'enabled': True, 'high_level': '0xfe', 'step_size': '0x80', 'dimming_enabled': True, 'delay_time': '0x0', 'fall_time': '0x1', 'low_level': '0xe0', 'rise_time': '0x1'}
{'high_time': '0x80', 'low_time': '0x0', 'enabled': True, 'high_level': '0xff', 'step_size': '0x80', 'dimming_enabled': True, 'delay_time': '0x0', 'fall_time': '0x1', 'low_level': '0xe0', 'rise_time': '0x0'}
Here is another dimming waveform, this time with constant current. You can see that only the dimming waveform has PWM.
3. Lastly with dimming enabled and high_level equal to low_level we see the dimming waveform add a current spike.
{'high_time': '0x64', 'low_time': '0x1c', 'enabled': True, 'high_level': '0xee', 'step_size': '0x80', 'dimming_enabled': True, 'delay_time': '0x0', 'fall_time': '0x0', 'low_level': '0xee', 'rise_time': '0x0'}
This spike on the dimming waveform adds to the overall brightness of the LED. When we set the current low and use the dimming function we are actually seeing more current than we expect. Why does the dimming waveform behave like this?
Thanks,
Chuchen