This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TPS922052: PWM pulse width and hysteresis effect with flexible dimming

Part Number: TPS922052

I have built and have been testing the following circuit based on the TPS922052. I used a draft tool shared with me to compute some of the values, and then looked at the EVAL schematic for further information. I'm putting the chip in flexible dimming mode and then combining analog and PWM dimming (mostly PWM on the low end, mostly analog on the high end) to increase the dimming ratio.

I've configured PWM to 4 Khz / 10-bit for both DIM and ADIM (I know that e.g. ADIM only has 8-bit resolution, but that shouldn't factor in).

The weird thing I'm seeing is that at the very darkest end, I'm observing hysteresis behavior where I can dim down to 0 quite smoothly, but then when fading in, until my DIM PWM hits between 2-3 microseconds of pulse width, no light is produced. I've tested this across a range of PWM frequencies, the timing is quite consistent where until I hit 2-3 microsecond pulses, it's dark. During this time ADIM duty is kept at 15%.

Note that once I hit this value, I can then reduce the width of the pulse e.g. to 500 ns and it produces (dimmer) light. This makes sense given the chip's stated 150-ns pulse width minimum. So in summary, on the way down, smooth; on the way up from zero, no output until it hits 2-3 us PWM and then smooth.

I tried removing C8, C9 and C10 just in case that was having an effect on narrow pulse widths, but this didn't make a difference.

Second question is around completely turning off the light. With PWM and ADIM both sending 0 duty cycle signals, there is still a tiny bit of light on the output. Note that I bumped up R7/R8 from the eval based on a recommendation I read here, but that didn't seem to do the trick. I'm using an LED which is 18v/500mA if that makes a difference.

Any suggestions would be much appreciated, the chip is otherwise looking quite good!

  • Hi Elan,

    I am currently out of office due to Chinese Qing Ming Festival. I will reply to you this Sunday. Thanks for your understanding.

    Best Regards,

    Steven

  • Hi Elan,

    Regarding your question on the "hysteresis effect", please refer to Section 8.3.4 Internal Soft Start from the datasheet. Please be noticed that more than 5 μs is required at EN/PWM input pin to enable the device.

    Regarding the "light off" issue, you can try parallelling a big-value resistor with the LED to shunt the leakage current. Please refer to this E2E thread.

    By the way, the C8 (2.2uF) is not needed. Normally an 100nF decoupling capacitor should be placed close to the CSN and CSP pin.

    Best Regards,

    Steven

  • Thanks for the help, I was starting to wonder if it might have to do with shutdown/soft start. So just to clarify, if EN/PWM goes to 0%, even if I keep ADIM at 15% duty cycle, the chip will shut down and I need to do soft start and select the mode again?

    I will remove the 2.2 uF cap and do so more testing with resistor in parallel.

  • Hmm, after experimenting some more, I'm still confused. Let me be more explicit about what I'm doing.

    STARTUP

    "EN/PWM pin has to stay high for more than 5 μs after VCC rises above VVIN_UVLO. In this case, if using 1-μF VCC capacitor, it is recommended to wait for 1 ms to start dimming mode after VIN rises above VVIN_MIN."

    ADIM/HD: 0%, PWM/EN: 100%, wait 1 ms, turn PWM/EN off.

    "You need to input 1.5% Duty, 10kHz PWM for at least 4 periods to the ADIM/HD pin."

    ADIM/HD: 1.5% duty, 10kHz for 500 us, turn ADIM/HD off.

    "Startup is now complete"

    TEST

    Configure PWM to 500Hz, 10-bit resolution.

    ADIM/HD: 100/1024 duty (10%), PWM/EN: 10/1024 duty (1%) -> LED turns on.

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED dims.

    ADIM/HD: 100/1024 duty (10%), PWM/EN 0/1024 duty (0%) -> LED turns off (not quite because I don't have the series resistor)

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED STAYS OFF (this is the issue)

    ADIM/HD: 100/1024 duty (10%), PWM/EN 2/1024 duty (0.2%) -> LED turns on to 0.2% brightness

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED DIMS (works when reducing duty cycle)

    Please let me know if I can clarify further.

  • Hi Elan,

    So just to clarify, if EN/PWM goes to 0%, even if I keep ADIM at 15% duty cycle, the chip will shut down and I need to do soft start and select the mode again?

    Holding the EN/PWM pin low for more than t_PWM_IN_OFF (Please refer to Section 7.5 Electrical Characteristics from the datasheet for this parameter) period of time will disable the device. For the next-time current output, you need to enable the chip and select the mode again.

    Best Regards,

    Steven

  • Hi Elan,

    "You need to input 1.5% Duty, 10kHz PWM for at least 4 periods to the ADIM/HD pin."

    ADIM/HD: 1.5% duty, 10kHz for 500 us, turn ADIM/HD off.

    This action is not needed unless you need to accelerate the soft-start. I think you read about this on this FAQ.

    Configure PWM to 500Hz, 10-bit resolution.

    ADIM/HD: 100/1024 duty (10%), PWM/EN: 10/1024 duty (1%) -> LED turns on.

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED dims.

    ADIM/HD: 100/1024 duty (10%), PWM/EN 0/1024 duty (0%) -> LED turns off (not quite because I don't have the series resistor)

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED STAYS OFF (this is the issue)

    ADIM/HD: 100/1024 duty (10%), PWM/EN 2/1024 duty (0.2%) -> LED turns on to 0.2% brightness

    ADIM/HD: 100/1024 duty (10%), PWM/EN 1/1024 duty (0.1%) -> LED DIMS (works when reducing duty cycle)

    The behavior you mentioned is as expected. When the first time you enter PWM/EN = 0/1024, the device will be disabled after t_PWM_IN_OFF period of time. For the next-time current output, you need to enable the chip (with more than 5 μs at EN/PWM input pin) and select the mode again. 

    Best Regards,

    Steven

  • When the first time you enter PWM/EN = 0/1024, the device will be disabled after t_PWM_IN_OFF period of time.

    Got it. I reinitialize the chip when moving from 0 -> any other value, and now it works as expected, thank you very much for your patience and help!

  • Hi Elan,

    You are welcome. I am going to close this thread. Please feel free to contact me again if you have any further question.

    Best Regards,

    Steven