Author Topic: EEVblog #366 - USB PSU Troubleshooting  (Read 9184 times)

0 Members and 1 Guest are viewing this topic.

Offline DarkPrinceTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: us
EEVblog #366 - USB PSU Troubleshooting
« on: October 07, 2012, 03:57:23 pm »
 

Offline DarkPrinceTopic starter

  • Regular Contributor
  • *
  • Posts: 107
  • Country: us
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #1 on: October 07, 2012, 04:08:57 pm »
Hey Dave,

So you were measuring between the two terminals of the inductor. I was wondering if there was enough load on the boost converter, so it wasn't running in discontinuous conduction mode. Figure the duty cycle is going to be very small to generate those output voltages if no load is present. I only ask because you measured across the inductor the second to last time declaring it non-operational, than the output terminals on the last test when declaring it operational. Video magic (behind on the scenes) measuring the output voltage?

Of course if that were true than with a resistor connected rather than the capacitor the first time you would have seen a little boost of voltage, so truly could have been a package flow issue.

Anyway, once again a wonderful video. Keep up the troubleshooting videos, may have embarrassing moments (do'h moments!) but non the less they are educational/entertaining/food-for-thought.
 

Offline Short Circuit

  • Frequent Contributor
  • **
  • Posts: 439
  • Country: nl
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #2 on: October 07, 2012, 04:12:51 pm »
Wrong components on manual assembled prototypes, classic mistake and good for a lot of wasted engineering time :(

My method to reduce this type of mistakes somewhat is to count the number of parts before placing them.
This provides a simple verification that the correct quantity of a certain part ended up on the PCB. Have one left over, or one short, means a mistake has been made.

Does not eliminate the problem entirely, but with this PCB, this approach would have raised a flag with both the 10k resistor (one left) and the 100p cap (one short).
 

Offline king.oslo

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #3 on: October 07, 2012, 05:44:38 pm »
Dear Dave,

I would just like to say thanks for the progress of this series. Electronics design tutorials are very useful.

Kind regards,
Marius
 

Offline robrenz

  • Super Contributor
  • ***
  • Posts: 3035
  • Country: us
  • Real Machinist, Wannabe EE
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #4 on: October 07, 2012, 06:09:01 pm »
My method to reduce this type of mistakes somewhat is to count the number of parts before placing them.
This provides a simple verification that the correct quantity of a certain part ended up on the PCB. Have one left over, or one short, means a mistake has been made.

I like that one,  extremely simple yet very effective (and I probably would never think of it myself).  Thanks for sharing.

Offline robbak

  • Contributor
  • Posts: 29
Life makes fools of the wizest man.
« Reply #5 on: October 08, 2012, 07:53:26 am »
Hey Dave,
Take youself a video of Sagan hitting you on the head and giggling, so you can link to it any time you do something especially stupid.
 

Offline ju1ce

  • Regular Contributor
  • *
  • Posts: 96
  • Country: fi
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #6 on: October 10, 2012, 08:23:25 pm »
Thank you Dave for letting everyone learn from your mistakes instead of hiding them.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16272
  • Country: za
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #7 on: October 10, 2012, 08:42:41 pm »
Dave leaves them in to show all how to do it, warts and all. You need to get experience, and it only comes from making mistakes.
 

Offline Rutger

  • Regular Contributor
  • *
  • Posts: 210
  • Country: us
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #8 on: October 18, 2012, 03:29:14 am »
Hi Dave, I was looking at designing my own battery operated USB power supply using a single cell Lipo. The USB was only for charging so not isolation needed (correct me if I am wrong).

MCP73837/8 - Battery Management 1A USB/DC input auto-swich
LM2623MM/NOPB - DC/DC Switching Controllers GEN PURP,GATED OSC DC/DC BOOST CONVRTR (this mongrel at least has legs to solder, but only goes to 14V)

Maybe this will give you some ideas.

Rutger
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #9 on: October 18, 2012, 05:41:30 am »
you would still need isolation if you planned to use it while it charging, or if you have the output connected to a voltage, pretty much if you do not close the earth loop your fine,
 

Offline Rutger

  • Regular Contributor
  • *
  • Posts: 210
  • Country: us
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #10 on: October 18, 2012, 02:47:59 pm »
What if you disable the output while charging via the USB and only activate the output when you are charging via an isolated DC power supply or when you use it in battery mode? A small relay should do the trick, right?
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #11 on: October 19, 2012, 06:17:49 am »
i am not sure if this is a just for you or a commercial product, if just for you, then, it doesnt even need to be isolated on the product if your external supply is isolated,

my point was, if your output "ground" is not at the same ground as your input you have a problem,

if you are aware of this then your not too likely to go and blow the thing up,
or you design a physical switch for the output that disconnects the ground aswell so your safe as long as the output is off,

it just comes down to what range of senarios you want to cover, something i have been beating myself up about on my own higher power varient,
 

Offline SteveyG

  • Supporter
  • ****
  • Posts: 987
  • Country: gb
  • Soldering Equipment Guru
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #12 on: November 19, 2012, 08:32:55 am »
Are you ever going to finish this thing?
YouTube Channel: https://www.youtube.com/user/sdgelectronics/
Use code: “SDG5” to get 5% off JBC Equipment at Kaisertech
 

Offline peter.mitchell

  • Super Contributor
  • ***
  • Posts: 1567
  • Country: au
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #13 on: November 19, 2012, 08:43:03 am »
Relay on the outputs, driven form USB input voltage? Or for more security, relay on the outputs, driven by the battery via a tac switch that gets depressed when you push in the usb plug?
« Last Edit: November 19, 2012, 08:44:40 am by peter.mitchell »
 

Offline Jotaemebe

  • Newbie
  • Posts: 1
  • Country: es
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #14 on: January 13, 2013, 09:22:06 pm »
Hey Dave,

So you were measuring between the two terminals of the inductor. I was wondering if there was enough load on the boost converter, so it wasn't running in discontinuous conduction mode. Figure the duty cycle is going to be very small to generate those output voltages if no load is present. I only ask because you measured across the inductor the second to last time declaring it non-operational, than the output terminals on the last test when declaring it operational. Video magic (behind on the scenes) measuring the output voltage?

Of course if that were true than with a resistor connected rather than the capacitor the first time you would have seen a little boost of voltage, so truly could have been a package flow issue.

Anyway, once again a wonderful video. Keep up the troubleshooting videos, may have embarrassing moments (do'h moments!) but non the less they are educational/entertaining/food-for-thought.

yep, i also think there were no soldering problem with the QFN chip, it is not a good idea to measure between the inductor when there is no load at the output, always try to measure after the diode with the filtering cap


Great video!
 

Offline Pilot3514

  • Contributor
  • Posts: 28
  • Country: us
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #15 on: March 22, 2013, 08:24:18 pm »
Dave,

I look forward to seeing the design process and the schematics.

I indicated that you were waiting on, or having trouble getting the USB to serial converter.  I was wondering why you did not use a micro controller with USB built in.  I know there are several.  I think that I would lean to the atmega16u2.  The only reason is that the Arduino Uno uses this chip as a USB to serial and the code is open source so I would have an easy starting point.  You don't need to actually convert the USB to serial, just keep the interface so the PC software thinks it is talking to a serial port.  You could use the UART serial port on the chip to talk to another serial device or just use the pins for more I/O.

I guess I will learn the answer to these and many other questions when the design blog comes out.
I'm not cheap, I'm frugal
unlike those wasteful Scotch.
 

Offline tomtomtomtom

  • Newbie
  • Posts: 8
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #16 on: March 24, 2013, 09:50:43 am »
Uart isolation is easy usb is not, seeing as these power supplys could be hooked up to anything you dont want your pc getting fried if anything goes wrong ;)
 

Offline Pilot3514

  • Contributor
  • Posts: 28
  • Country: us
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #17 on: March 24, 2013, 01:48:45 pm »
Uart isolation is easy usb is not, seeing as these power supplys could be hooked up to anything you dont want your pc getting fried if anything goes wrong ;)

Are you expecting something like optoisolaters on the RX and TX lines between the microcontroller and the USB-to-serial chip?  I didn't see that in the previous design (the bench supply) but it could happen.

I was looking at lowering the chip count, board space and maybe the cost, I did not take into account isolation.
I'm not cheap, I'm frugal
unlike those wasteful Scotch.
 

Offline tomtomtomtom

  • Newbie
  • Posts: 8
Re: EEVblog #366 - USB PSU Troubleshooting
« Reply #18 on: March 28, 2013, 08:58:00 am »
Uart isolation is easy usb is not, seeing as these power supplys could be hooked up to anything you dont want your pc getting fried if anything goes wrong ;)

Are you expecting something like optoisolaters on the RX and TX lines between the microcontroller and the USB-to-serial chip?  I didn't see that in the previous design (the bench supply) but it could happen.

I was looking at lowering the chip count, board space and maybe the cost, I did not take into account isolation.

Yes the USB version offers opto-isolation on Rx and Tx.

Another reason to use the FTDI is that it means dave doesn't need to worry about VID and PID stuff
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf