Author Topic: Video: TLC5947 leakage current problem  (Read 6726 times)

0 Members and 1 Guest are viewing this topic.

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Video: TLC5947 leakage current problem
« on: April 19, 2011, 05:51:16 am »
I have a board with TLC5947's (http://electronoblog.allanw.org/rgb-stick/) where some of the pins have high current leakage, causing LED's to dimly glow when they should be completely off. In around 5% of the outputs, I get around 1uA of leakage current. Some pins even have 5uA+ which is very visible. The current rapidly decays when sinked but doesn't go to zero, instead to something like 0.5uA to 1uA, so the glow never goes away. After disconnecting the pin and waiting a while, the leakage current seems to "reset" back to the original value and starts decaying again. The effect happens on the same pins everytime. The leakage current is roughly linear with the supply voltage. Replacing the TLC5947 will occasionally fix this issue.

The datasheet says the maximum current leakage is 0.1uA. What could be causing this? The resetting and RC-like behavior makes me think it's some unwanted capacitance somewhere on-chip which tries to dump some fixed charge into the load. Q=CV would indicate it's linear with supply voltage as I've observed. As Q decreases from the current, the current also decreases, producing RC behavior. Would heat damage from soldering cause this?

This is with Rref = 2.4k. I have a nearby decoupling cap and bulk capacitance on board. I have a video demonstrating the issue if anyone's interested:

« Last Edit: April 19, 2011, 05:57:44 am by allanw »
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13969
  • Country: gb
    • Mike's Electric Stuff
Re: Video: TLC5947 leakage current problem
« Reply #1 on: April 19, 2011, 08:37:52 am »
Have you tried thoroughly cleaning the  PCB - flux residues can cause leakage.
 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Video: TLC5947 leakage current problem
« Reply #2 on: April 19, 2011, 05:57:07 pm »
Yeah I've tried cleaning the board thoroughly with alcohol and it still behaves the same. I put a 1 Meg ohm resistor in series with an LED and measured the voltage across it. So 1V = 1uA. Here's a scope capture with 1 sec/div:

 

Offline Rufus

  • Super Contributor
  • ***
  • Posts: 2095
Re: Video: TLC5947 leakage current problem
« Reply #3 on: April 19, 2011, 07:21:45 pm »
I would say dirty boards.

You have a small gap between the package pins and grounded thermal pad which would see plenty of flux and be difficult to clean. Alcohol may not dissolve salts which conduct especially when damp. I would also wash with water (preferably de-ionized) and bake afterwards.

I would expect the 0.1mA max leakage specification to be conservative. If it is silicon leakage it is almost certain to rise quickly with temperature so hold a soldering iron to the chip and see what happens.

Contamination leakage may go up or down with temperature. It may also depend on moisture so breath on the board and see what happens.

It is unusual but not impossible for boards to be contaminated during manufacture so if you have some blanks check them for leakage with a meter.

If you are really stuck making and keeping the boards clean put bleed resistors across the LEDs.
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Video: TLC5947 leakage current problem
« Reply #4 on: April 20, 2011, 07:35:15 pm »
Hi Rufus, thanks for the detailed answer.

Heating up the chip causes the leakage current to increase by a lot. I guess this doesn't really prove that the boards themselves have leakage.

Could it be capacitance from the pads to VDD? I only have 10mil clearance from the pads to a VCC pour. If it was just board leakage, would the leakage current behave like what I observed, where it decreases like an RC circuit to some constant value? Here's my layout:



Putting a resistor in parallel would solve the problem... but it makes the PCB design much more complicated and would increase the cost a lot. There's 24 outputs per chip.

Do you think I should wash and soak the entire board after it's assembled? It's not that convenient for me to get purified water though... I'm sure tap water wouldn't make it any better.
« Last Edit: April 20, 2011, 07:54:44 pm by allanw »
 

Offline tecman

  • Frequent Contributor
  • **
  • Posts: 444
  • Country: us
Re: Video: TLC5947 leakage current problem
« Reply #5 on: April 20, 2011, 11:30:11 pm »
Capacitance is not your problem.  Parasitic capacitance on a board is in the pF and not enough to give you your symptoms. 

Bets way to wash a board is put it in your dishwasher.  No soap, just hot water.  Hotter the better.  Remove and air dry.  Sounds crazy,m but it works very well.

paul
 
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13969
  • Country: gb
    • Mike's Electric Stuff
Re: Video: TLC5947 leakage current problem
« Reply #6 on: April 21, 2011, 01:34:16 pm »
A quick way to verify would be to lift a pin and measure the leakage direct. More leakage at a higher temp would suggest silicon and not PCB.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: Video: TLC5947 leakage current problem
« Reply #7 on: April 21, 2011, 03:56:54 pm »
Are your tests with the blanking pin low? If so, you could try setting it which should turn everything off. Might give you a clue to which direction to look in.
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 812
  • Country: gb
Re: Video: TLC5947 leakage current problem
« Reply #8 on: April 21, 2011, 05:45:06 pm »
This is bizarre.  I have used a lot of SPI constant sink LED drivers and never seen this problem.  But I have used simpler ones without dot-correction and brightness control.

Are you sure you are actually shutting them off?  

Check your SPI code and as suggested earlier, turn on the blanking and see what happens.

P.S.  You have huge pulsing currents flowing from Vled in PWM mode and yet you don't use a single decoupling cap?

You are usually required to put at least one good ceramic cap per IC between Vled rail and GND.  If Vled is the same as Vdd then even more so!
Most other manufacturers stress this in their datasheets but TI seems to have skipped over this.
« Last Edit: April 21, 2011, 10:42:44 pm by Leo Bodnar »
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13969
  • Country: gb
    • Mike's Electric Stuff
Re: Video: TLC5947 leakage current problem
« Reply #9 on: April 21, 2011, 08:11:33 pm »
I was wondering along similar lines - If VCC is being dragged down, it could be that the logic drive signals are injecting current into the die via the ESD input protection diodes. There may also be ground bounce issues.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
Re: Video: TLC5947 leakage current problem
« Reply #10 on: April 22, 2011, 12:20:05 am »
I do have decoupling caps and I pointed them out in the beginning of the video.

The SPI code definitely shuts them off. Trying to output 1/1024 outputs 20uA as expected, so measuring 1uA of current can't be from the device being inadvertently on.

I can do huge load switching by pulsing them on and off and there's no problems there. When testing leakage, I have all the outputs off anyway so everything is static. Note that in the video I have no LED's connected. I even turn off the micro and turn blank on.

I'll try lifting one of the pins to see if it's silicon leakage or my board, but it's difficult to do.
« Last Edit: April 22, 2011, 12:21:44 am by allanw »
 

Offline Leo Bodnar

  • Frequent Contributor
  • **
  • Posts: 812
  • Country: gb
Re: Video: TLC5947 leakage current problem
« Reply #11 on: April 22, 2011, 11:03:11 am »
I do have decoupling caps and I pointed them out in the beginning of the video.
Thank you for pointing out that you have pointed "them" out.
Good luck sorting your problems.
Leo


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf