Shop OBEX P1 Docs P2 Docs Learn Events
Restoring a dead PDB — Parallax Forums

Restoring a dead PDB

UghaUgha Posts: 543
edited 2009-03-27 14:17 in General Discussion
Hello all,

Bill Chennault was very kind and sent me a Professional Developement Board that he had
accidently let the magic smoke out of by reversing polarity on the power supply.

I'm attempting a dirty-and-cheap hack to attempt to fix it with little success so far.

At this stage, the PDB has no voltage regulator and has had both filter caps removed.

I've cleaned off all the related pads (and scorch marks) to find no solder bridges
or visible fuses between traces.

I had hoped to be ready to replace the regulator and caps, but decided to stick a meter
on the board to make sure there were no fused traces I didn't notice before. Unfortunately
I found something rather disturbing...

VDD and VSS are both connected. There is a 40ohm difference between them but I can't
figure out why.

Does anyone have any idea of likely locations for shorts like this? Or methods for tracking
down a problem like this?

The only thing I can think of is to start cutting traces until I find the fused sections...
I'd really HATE to do that so any advice is more than welcome.

So my questions are:
Is there supposed to be a connection between VDD and VSS with 40ohms resistance between them?

What are the most likely components to fail on a PBD when polarity is reversed?

What is the "safest" testing method for tracking down possible shorts?

Is it possible there is a short under the PDB's breadboard? If so, what's the best method
for removing the breadboard without damaging it or the PDB?

Please note that I'm using the Rev B version of the PDB. It's the one with the USB connector.
I've attached the datasheet for the Rev. B

PS: Related question... why on earth did Parallax stop including a USB connection on the PDB?

Comments

  • Craig EidCraig Eid Posts: 106
    edited 2009-03-13 17:18
    Ugha,

    Add a protection diode at the input after you add fix the board to avoid smoking it a second time.··blush.gif· ·Have you contacted tech support to see if they can offer any assistance?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ························ Craig Eid


    ··········· Triad Research and Development
    Electical Engineering Design and Consulting Services

    ··················· www.TriadRD.com
  • CannibalRoboticsCannibalRobotics Posts: 535
    edited 2009-03-13 17:38
    Anyone else have one of these boards?
    Ring it out, what's the 'normal' resistance.
    Have you checked it both ways to see if there is a difference in the polarity of the resistance?
    Jim-

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    When your problem seems insurmountable, read the forum for a while.
    Solve someone else's problems and yours won't seem so bad.
  • LeonLeon Posts: 7,620
    edited 2009-03-13 18:04
    A milli-ohm meter like this will help:

    www.edn.com/article/CA408390.html

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-03-13 19:23
    My suggestion would be to use an adjustable bench supply with current limiting and feed 5V directly to the VSS/VDD pins. Remember, there are many devices on the board connected to these rails, so it’s no wonder they don’t show as open.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • UghaUgha Posts: 543
    edited 2009-03-13 19:33
    A friend (Bill Chennault again) Checked the resistance on his working PDB and it came up with 0. He has a Rev C though so that may be the difference.

    Anyone else got a PDB feel like checking their resistance between VDD and VSS to see if this is normal?

    Craig Eid: I think I'll do that [noparse]:)[/noparse]

    CannibalRobotics: I checked it both ways (thanks for the suggestion, I'd have never thought of that) and its the same.

    Leon: That's a cool concept... I'll look into it. At the moment I don't have the parts to attempt it though.

    Chris: Thanks for the suggestions... I'll try it with a regulated 5V coming from a 7805 radioshack regulator. That's about as close as I can get to a bench supply on
    my budget.
  • Carl HayesCarl Hayes Posts: 841
    edited 2009-03-13 19:36
    Is it a Propeller PDB, or a Stamp PDB?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • Carl HayesCarl Hayes Posts: 841
    edited 2009-03-13 19:38
    Ugha said...
    A friend (Bill Chennault again) Checked the resistance on his working PDB and it came up with 0.
    Zero, as in a dead short?· Or did you mean infinite resistance?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    · -- Carl, nn5i@arrl.net
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2009-03-13 19:45
    Ugha said...
    So my questions are:

    Is there supposed to be a connection between VDD and VSS with 40ohms resistance between them?

    It is great that you took some readings before installing the new parts as a sanity check. However, if you had a short the resistance would most likely be a LOT lower than that. (less than a couple ohms I expect)

    With a 5V supply and a 40 ohm load you would only be drawing about 125mA of current which sounds plausible when there are some components that are probably always powered from that 5V supply whenever the board is on.

    If you want to try any other resistance loads you can just throw in the values in the ohms law calculator online:

    http://www.the12volt.com/ohm/page2.asp

    So far it sounds ok and you may be able to just install the new parts to wrap it up....

    Robert
  • kwinnkwinn Posts: 8,697
    edited 2009-03-13 19:58
    Try Chris Savage's suggestion. Set the output to 5V and the current set low (25-50mA) using a dummy load (10 ohm resistor). Measure the output voltage of the supply and slowly increase the current until the voltage gets to 5V or the set current is high enough ( 1A max ) so that anything that is shorted will get warm. Remove parts that get warm and repeat procedure.

    By the way, depending on what is still connected 40 ohms may not be an unreasonably low reading.
  • UghaUgha Posts: 543
    edited 2009-03-13 21:53
    Alright... I've been experimenting and I've got a few results.

    I have absolutely no idea what they mean, but they seem a little unusual to me.

    I don't have a benchtop supply so I did what I could with what I have...

    I used a BOE's power supply and ran right from the BOE's VDD to the PDB's VDD (same for VSS of course).

    The strange thing is, the second I connected it everything dropped down to around 2.5 volts.

    The power and pulse generator LEDs light up like I think they are supposed to, and running VDD to one of the LED bank does indeed light it up.

    The motor driver won't function... but I'm assuming that its due to the low voltage.

    The other test I ran was on current. I placed my meter between the BOE and the PDB and found that it's using between 1 and 0.9 amps with no load
    other than the two LEDs and whatever else runs off VDD full time. That sounds quite high to me. (even though the original voltage regulator did have
    quite a high amp rating).

    That I could tell, nothing got warm and there was no smoke or fire... so I'm kinda stumped as to what my next step should be.

    Any suggestions about what to try next, or why the voltage is cut in half or the current is so high, would be greatly appreciated.
  • kwinnkwinn Posts: 8,697
    edited 2009-03-14 01:49
    I hate to say this, but it has been my experience over the years that when a board is damaged by a failed regulator shorting or reversed polarity the best thing to do is replace all the IC's and components like transistors, diodes, etc. Chances are that even parts that are still working will fail in the not too distant future. On the up side, it is usually faster than trying to find the bad chips, and the result is far less likely to fail again. At least try replacing the less expensive easier parts first.
  • UghaUgha Posts: 543
    edited 2009-03-14 03:33
    Carl Hayes: Sorry about not replying sooner. I was so caught up in my findings I kept forgetting to properly reply to posts.
    It is the PDB designed for BS1 and BS2s plus the SX28.
    I'm not sure what Bill meant. I'm assuming dead short (which makes little sense to me since this is a fully functional PDB).

    kwinn: Unfortunately my budget doesn't allow such a drastic expense as to replace everything on the board. I'm going to try
    popping out everything socketed on the board tomorrow and hope that'll prevent the strange voltage drop I have.

    Also, almost all the components are surface mount. While I can solder most surface mount, it's a serious pain as I'm sure
    you know.

    To all:
    I had a thought... more of a half-arsed theory. Could there be a short so bad (shown by the 1amp current flow) its overloading the
    voltage regulator on the BOE in some way (resulting in the voltage drop everywhere in the circuit) without tripping its internal protections?
    If so... I have no clue how.

    Parallax: Any chance I could get a photo of an unpopulated PDB showing the section under the breadboard just in case the short's there
    somewhere?
  • Bill ChennaultBill Chennault Posts: 1,198
    edited 2009-03-14 13:38
    Andy--
    Parallax: Any chance I could get a photo of an unpopulated PDB showing the section under the breadboard just in case the short's there
    That's a great idea. You should start a new topic, addressed to one of the Parallaxians, and pose that very question!

    --Bill

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    You are what you write.
  • CannibalRoboticsCannibalRobotics Posts: 535
    edited 2009-03-14 14:01
    It could be that the BOE power supply just does not have the juice but I doubt it. .9-1amp is allot of draw to just power up the semiconductors. I think it might be a gonner.
    I'll offer to help though, I hate to see such a fine board go to waste. On the suggestion of another thread here quite some time ago, I bought an air-desoldering tool. It's is in fact an incredibly handy thing to have, it was a great investment. It's especially gifted at blowing SM components off of the board quickly and cleanly.
    If you if you really want to repopulate it, send me the board, I'll clean it off and send it back with all of the components in a baggie. You can then ring out the board and test the components individually.
    Send me a PM.
    Jim-

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Signature space for rent!
    Send $1 to CannibalRobotics.com.
  • Erik FriesenErik Friesen Posts: 1,071
    edited 2009-03-14 14:11
    Which way did you check it? Make sure you check it with the multimeter leads reversed. The current from the leads on the wrong way will cause a forward voltage through some components diodes or transistors.

    If you have an unused toaster oven you can (carefully) remove components.

    I seriously doubt there are shorts anywhere hidden. Solder doesn't just jump out on the board to create shorts. You can flood solder the edges of an IC and suck it out with some braid, and never have hidden shorts. The exception would be no leg chips like bga, qfn etc.

    I have had the experience of a bad propeller where it drew so much current that the chip got hot.
  • kwinnkwinn Posts: 8,697
    edited 2009-03-14 15:00
    Sorry Ugha, I just assumed that you would have removed anything that was in sockets before powering the board up. I should have suggested that first.

    I have to agree with Erik Friesen's statement about solder not jumping out on the board to create shorts. The problem is almost certainly one or more of the components. Jim may also be correct about the high current draw causing the boe bot supply to drop to 2.5V. If it is a linear regulator it will shut off when it overheats and come back on when it cools a bit. I have seen this happen as quickly as 10-12 times a second, which looks like about 2.5V to a meter.

    The components that are most likely to go when the polarity is reversed are electrolytic capacitors, diodes, transistors, and IC's, which is pretty much everything on the board except the resistors.

    Try the following, and test by applying power after each step. Make sure you keep track of where the components came from.

    Remove all the electrolytic capacitors first. It looks like most of them are through hole in the picture of the board so it should be fairly simple.

    Remove any through hole diodes and transistors next. If this does not isolate the problem it's either the toaster oven or what's below.

    If this does not remove the short it may be time to start cutting the power trace to isolate the problem. To minimize the damage to the board use a spade type blade so you can cut straight across the trace and curl it up slightly rather than cutting out a section. That way you can press it back against the board and run a bead of solder across the break to repair it. Much neater than soldering jumper wires on the trace. To minimize the number of cuts do a "binary" search. Try to cut where you isolate half the circuit at once. If one half is bad, then isolate half of that section again, and continue until you find the bad component.

    Good luck, Kurt
  • UghaUgha Posts: 543
    edited 2009-03-14 15:14
    Ok, I must be totally losing it.

    I rechecked everything this morning and there is NO voltage drop, NO 1amp current used.
    The voltage is just where its supposed to be.
    The current is 0.2ish amps... which sounds about right.
    The resistance between VDD and VSS is still about 40 ohms. But from what you guys have
    said, that's not a bad thing.

    Ever had a feeling that you were totally insane? That's me right about now.

    Normally I'd say I had something conductive under it or something... but I was doing it on my bed! Unless bedsheets
    are suddenly conductive... the only other solution is that I'm totally wacko.

    By the way, in hindsight, it might not have been best to experiment with something that has a history of exploding with
    flame on my bed. Fire hazard!

    Is it possible that the board started acting weird because something got hot while I was doing the other experiments
    and that caused the strange readings? I felt every IC and none got hot that I could tell, but that isn't exactly a
    scientific process.

    Bill: Thanks for the suggestion... I think I'll go directly to Parallax tech support though, if I can't figure out whats wrong.
    Wouldn't unpopulated pictures or wiring diagrams of other Parallax products be nice to have though? It sure would make
    duplicating small parts of boards easier! (Which is most likely why they won't do it)

    CannibalRobotics: I'll most likely take you up on that if it starts messing up again and I can raise the funds to replace everything. Thanks for the offer.

    Erik Friesen: I went ahead and checked the current both ways this morning and found that it reads 0.23 to 0.24 one way, and -0.23 to -0.24 the other.
    I'm guessing it has some kind of smart protection to prevent conducting the wrong polarity.

    Are you sure about the lack of hidden shorts on the circuit board? I could have swore that I read somewhere that boards with large ground plain (like the PDB)
    have a high danger of melting a positive trace into the ground plain when a short happens.
  • kwinnkwinn Posts: 8,697
    edited 2009-03-15 16:25
    It may also be that whatever caused the original short finally overheated and is now open.
  • UghaUgha Posts: 543
    edited 2009-03-17 01:09
    Time for a bit of an update, a question and a request for help...

    I've tested a lot of the features of the PDB and got some good results.

    First, I rigged up a makeshift power supply out of an old radioshack
    voltage regulator I had laying around... it runs right from the VIN
    socket, into the regulator and into the VDD and VSS sockets. I think
    that its kind of cool I didn't even have to do any soldering to get
    full functionality out of the power socket and on/off switch [noparse]:)[/noparse]

    Unfortunately, while I was testing stuff the motor driver overheated
    and got EXTREMELY hot. I'm assuming that was the cause of my previous
    insane current usage and voltage drop (looks like I'm not nuts after all!).

    Luckily, the driver is socketed, so I just popped it out and everything
    else seems fine. I'll replace it later and hope that it was the chip
    causing the problem and not something going to the chip.

    I ran the following tests:

    The LEDs all work.
    The 7-segment displays all work.
    The buttons all work.
    The dip switches all work.
    The two 10k pots both work.
    The pulse generator seems to work (It can blink LEDs at different speeds
    so I'm assuming it works. I don't exactly know what it is for otherwise)
    The on-board battery has a full charge and can light up an LED.
    Reset button works.
    And best of all...
    SX programming/running works perfectly!
    BS2 serial programming/running works perfectly!

    I've yet to test the following:
    BS2 Programming via USB
    RS-232 socket
    Audio Amplifier/Speaker
    BS2p40 usage (Don't have one)
    BS1 usage (Don't have one)
    RTC setting/usage


    My question is:
    The PDB Rev B I have specifies 9volt input. Unfortunately I don't have a
    wall-wart that produces 9 volts.

    The Rev D specifies 6-12 volts.

    I have a 12 volt wall-wart that I used for testing all the features and I
    was wondering if there would be any problems using 12 instead of 9 volts?

    I put a HUGE heat sink on my voltage regulator which is rated for much
    higher voltage than I can produce. So that section is ok... just need to
    know if there are any other reasons 12v wouldn't be ok.

    My favor is testing methods for the rest of the board:

    If someone has some free time and feels up to helping me test this thing...
    Can you write a simple SX or BS2 program that'll help me test one of the
    following features of the PDB?

    RS-232 socket
    Audio Amplifier/Speaker
    RTC

    Unfortunately, I have no experience with any of those and I'd like to
    ensure that everything else is working as quickly as possible before I
    start to experiment and learn new things.

    Thanks in advance for your help and advice... and for all the help you
    guys have already provided. It looks like I'll get a PDB after all!
  • kwinnkwinn Posts: 8,697
    edited 2009-03-17 01:37
    The small heat sink the PDB regulator is mounted on limits how much power it can dissipate. Witha 0.5A curent draw and 9V in it has to dissipate 4V(9-5) x 0.5A = 2W. With 12V in that becomes 7V x 0.5A or 3.5W which is possibly enough to make the regulator overheat and shut down. If you are using an external power supply with a larger heat sink it may not be a problem. Worst case most linear regulators will just shut down when they overheat.
  • UghaUgha Posts: 543
    edited 2009-03-17 02:21
    Ok great, I was afraid that other components on the board may use VIN (I couldn't think of any though) or worse, some of the traces may be too small to handle the higher voltage.

    Thanks for the info [noparse]:)[/noparse]
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-03-19 15:26
    I have to agree with kwinn...when a regulator goes there's no way to know how much voltage made it to the devices normally powered by VDD. You may in fact be experiencing issues with chips normally powered from VDD that are beginning to fail or become unstable.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • UghaUgha Posts: 543
    edited 2009-03-19 19:28
    Alright... so the ICs need to be changed ASAP.

    Do you think the passives will most likely be alright? I tested all the resistors I could on the board and they seem to be the correct values... not sure how to test anything else.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-03-19 19:41
    This issue would apply only to circuits that are always powered by VDD with nothing else connected.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • UghaUgha Posts: 543
    edited 2009-03-27 02:40
    I've got another update and a question...

    Update:
    I've replaced the voltage regulator and two caps. Everything seems to work fine.

    The following components are bad in some way:
    The L293D chip.
    The RTC seems to have something wrong with it.
    The Audio Amplifier seems to have a problem, but the IC works fine so its in a passive somewhere most likely.

    Untested:
    The RS-232 DCE


    I'm currently working on the audio amp... trying to figure out where the problem could be.
    Unfortunately I don't know much about surface mount packages so I was wondering if anyone knows what the large black object between
    the audio IC and the external speaker screw terminal is?

    Also... Does anyone have any idea what could have failed in the audio amp besides the IC without leaving any visible sign there's a problem?
  • UghaUgha Posts: 543
    edited 2009-03-27 14:17
    It turns out it WAS the audio amp IC that had a problem...
    I put in a 386D I had lying around (much older version with lower tolerances but same pinout) and everything works.

    I'm guessing the LM386n-1 had something wrong with its "gain" circuitry because when I use just the IC with no additional
    gain, it worked fine.

    Either way, that's one more thing I can cross off my "to-fix" list on the PDB!
Sign In or Register to comment.