My prop chip stopped working, then started working again?
turbosupra
Posts: 1,088
short background:
Prop chip is in a vehicle, went out to vehicle today at lunch and chip was functional, ambient temp was around 85F, went out to car 4 hours later, ambient temp was about 95F and chip was not functional. Small LED on usb to serial adapter was still flashing, a full 3.3v was going to prop. Pressed the reset button on the breadboard, still nothing.
Came home and hooked up my laptop and with the serial terminal started to see if I could connect and I immediately saw the serial terminal indicate it had just entered the main pub and then it started working again.
What could cause this? How do I troubleshoot something like this?
Prop chip is in a vehicle, went out to vehicle today at lunch and chip was functional, ambient temp was around 85F, went out to car 4 hours later, ambient temp was about 95F and chip was not functional. Small LED on usb to serial adapter was still flashing, a full 3.3v was going to prop. Pressed the reset button on the breadboard, still nothing.
Came home and hooked up my laptop and with the serial terminal started to see if I could connect and I immediately saw the serial terminal indicate it had just entered the main pub and then it started working again.
What could cause this? How do I troubleshoot something like this?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
Post Edited (Leon) : 7/20/2010 2:11:07 AM GMT
I checked the voltage coming out of the prop and it was 0v when it should have been 3.3, so either the prop failed or the transistor that pin is connected to failed?
I have a laser temperature gauge, so I will use that tomorrow, any idea how hot the prop can get? I wouldn't think that 95F or even 150F is that hot for components?
But did you check the voltage going into the Propeller???
Here is a link to the Propeller's data sheet. I think pages 26 and 27 talk a little about thermal performance.
www.parallax.com/Portals/0/Downloads/docs/prod/prop/PropellerDatasheet-v1.2.pdf
Bear in mind that any electronic component will heat up as it's being used. Normally that heat is lost to the ambient atmosphere and the component stays cool enough to work. But if you've got it in a hot car with the sun beating on it or your gramdmother is sitting on it and it's packaged in such a way that its heat can't flow away from it, then the component can get very hot over time. Power transistors, for example, use heat sinks to help draw the heat away from the transistor, but those heat sinks will be useless if they are trying to move the heat into the center of a solar furnace. Note that a lot of components will show derating data for given circumstances. Is it possible that you were using a power regulator of some sort that has built-in thermal protection, which would cause it to shut down? Or a battery that just couldn't take the heat anymore?
As you say the internal temperature of cars can get very high, small glasshouse, with black internals.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Why did I think a new, more challenging, job was a good idea ??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
I'm going to test it again for the next few days. I put my laser temperature probe in the trunk so I can pop the trunk and shoot the chip without opening the car to get as accurate of a reading as possible
I'd also look for a cold solder joint... just a little deformation due to temperature can cause it to break the circuit.
Bill
I'm using DC voltage straight from the car battery, which was working good. I tested the voltage regulators and they were receiving 12v and putting out 5v and then 3.3v respectively.
I then checked the pin that was supposed to be putting out 3.3v to turn on a transistor and it was not.
If it happens again I will check the other 1 or 2 output pins to see what they are doing and I will be measuring the surface temperature of each component with my laser temperature gauge.
If that doesn't work, I'm not sure what to do, maybe buy a netbook and see if that catches anything with the serial out? Maybe there is a way to write a log file to an sd card?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
Some 5V Reg's have very tight HOT circuity and with 12V IN need relative Big Heatsink to function correctly in that Temperatures.
Regards
Ps. One thing to to consider - In car You can have not only 12V but all between 13.V-14V in time You have motor on.
That give 5V reg much extra current to handle - Most of it as HEAT !!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
Post Edited (Sapieha) : 7/20/2010 1:39:39 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
As far as troubleshooting goes, you can touch/hold your soldering iron/hot air soldering very close to various components for like 5-7 sec at a time while the setup is powered on and under normal operating voltage cond, this will increase the temperature of the component your testing only, this is good for localizing individual heat related problems (most likely a higher power component first, like your 5V regulator). Measure expected voltages at various points in your circuit, if you find the voltages are off significantly, you probably found your heat related problem. Using a laser temp gun works good for general areas, it's just a passive IR sensor after all.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quicker answers in the #propeller chat channel on freenode.net. Don't know squat about IRC? Download Pigin! So easy a caveman could do it...
http://folding.stanford.edu/ - Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Post Edited (RinksCustoms) : 7/20/2010 4:35:47 PM GMT
I did some temperature probing today, ambient temp was 88F, car was sitting in direct sunlight. This was at 12 noon. The breadboard and prop assembly, etc is in the back seat, which is not in direct sunlight during 12 noon, but would be as the sun rises and sets.
107F Air inside of car
170F Dashboard (black)
140F Top of steering wheel (black)
120F Leather gear shift knob (black)
125F Propeller chip
140F 5v regulator
107F Floor carpet in the shade
Based on what you all are saying, maybe the following is what happened.
Maybe the voltage regulators overheated. I may have pushed the last code update to the eprom instead of to ram (I can't remember) and so maybe the voltage regulators temporarily failing caused the prop to power down which then caused the eprom to erase? That would be why the reset didn't work? And when I plugged my laptop back in it triggered the chip to reboot or something?
I'm not quite sure how the USB connection could trigger a reboot so to speak, but that USB connection started the chip over again?
I have the parallax only provided regulators, capacitors, etc on the breadboard. The external components such as transistors are from radio shack, and the external resistors/capacitors from various places.
Should I add another stepdown voltage regulator to go from 12-14 down to 9 or something like that?
@RinksCustoms ... 1mA is nothing, I thought it was 4 or 5mA, that's good info to know!
It is good idea to have 9V Reg.
BUT at last add Heatsink To 5V Reg. As I said in previous post relatively BIG.
Regards.
Ps and if You have possibility one 4004 Diode in series with !2V-14V
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
How big of a heat sink do you recommend, I was hoping to avoid using one because of size.
Also, what will the diode do besides drop voltage a little?
Regarding Diode.
That it drop Voltage little is only one extra bonus.
But You must consider at in most vehicle's in time You start engine -- You can have relatively big negative going Inductive Spices from starter electrical motor
and all other inductive Voltages that can be generated in vehicle.
Diode is for cut of all that Voltages.
Regarding Heatsink.
You must experiment on that - else look in spec to REG on heat coefficient curve what it need - in relation to Consumed current.
Regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nothing is impossible, there are only different degrees of difficulty.
For every stupid question there is at least one intelligent answer.
Don't guess - ask instead.
If you don't ask you won't know.
If your gonna construct something, make it·as simple as·possible yet as versatile as posible.
Sapieha
My chip did this again I get a check engine light as soon as the chip or whatever component stops working, at 6pm I went to the movies after driving around for 45 minutes with the a/c on, in car temp was about 75F. I parked the car, got out and didn't like my parking location so I got back in and started the car and the check engine light came on immediately. Meaning that the prop failed or went into an endless loop in the code or?
Inside the car was about 75F, I had my laser temp gun and shot all of the components and the warmest was 125F, the prop was 110F. I then removed and plugged in each output and input that I had and it did not effect the prop. The prop was not outputting on any of the 3 pins I'm using for it. I then wiggled the board, and every component on it and it changed nothing. Then I verified all voltages and grounds on the board and they were all correct including right at the prop pin. After that I tried a reset of the prop with the reset button, no response on the usb to serial connector LEDs or the prop output pins. Next I tried removing power from the prop and then ground, that did not bring it back. I went to the movie and got home 3 hours later, performed the same tests, still no change. After that I recorded the values on video if anyone wants to see what I did, the link is below and then I recorded when I plugged in the usb cable how it jump started the prop and once again it was working immediately and stayed working after I unplugged it.
What could cause this, I'm completely confused? I tried to rule out everything but the prop and the code I have running on it.
To see where I plug in the usb cable to the laptop jump to 3:35, at 4:00 is where the chip enters it's main pub, so either the code is timing out and the usb connection is restarting it or it is freezing and the usb connection is restarting it or something??
Bill
I'm trying to figure out what could have stopped that method from running?
I unplugged the serial to usb converter from the 4-pin right-angle header, SIP 0.1" (see pics below) and the prop was up and functioning as normal within 2 seconds, cycling through the cogs and outputting to my output hardware.
I'm glad you found your issue, but that doesn't really help anyone searching these forums. I use propplug and an FTDI usb->serial converter. I've never experienced the issues you are describing. I had an FTDI board go out on me (one of the SparkFun ones, no less). It just stopped reading serial data - it didn't make the program randomly stop working.
What, in particular, was the cause? Do you have a bad FTDI board? Is there a short somewhere? That would be the most helpful information tbh.
I think 95F temperature might have caused the problem. I suggest you to check the components and their maximu temperature range.
lanyard[noparse][[/noparse]/url
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
lanyard
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
Parallax told me that the chip tries to push serial out to the computer and it cannot and that this causes the chip to reset? Then eventually it locks up, they described this as a 'known issue' based on the way he spoke about it.
I don't believe it is bad, it still works it just causes issues when the data cannot write to the serial console window? If you want specifics, call David@Parallax as he would be the expert.
I take you had the PropPlug connected the whole time?· This seems like the problem many have had with the Propeller Demo Board and Prop Proto Board with USB.· If there is a·tx signal to the FTDI chip, it resets·the·Prop.· I was having this problem when·I found someone else on the forum having similar trouble which was quickly cleared up·thanks to·one of the many·helpful·people here.· I now cut the·reset trace on my USB Proto Boards and use a jumper (to reconnect the reset line) when I'm programming it.· I'm pretty sure there are several more elegant solutions to this problem.
Duane
That definitely sounds like it. Any pics of how you do that, just for the thread reference?