![]() |
Re: FTC- preventing ESD
Yeah, the NXT controller locking up during competition is an odd anomaly. I use to blame static as the cause of the NXT locking up, primarily because once we sprayed anti-static spray on the floor mats the teams with the lockup problems would significantly reduce. We also thought the NXT itself was to blame, and teams this year who were having lockup problems literally replaced the NXT for NXTs that never had the lockup problem, and lo and behold the lockup would show up on the new controller the very next match.
My FTC team this year did everything that is recommended by all the "best practices" documents - mounting electronics on lexan, insulating everything, yadda yadda, and we still ran into NXT lockups this year. Our lead programmer then tried to determine if there was a place in the code where the NXT locked up the most, or if it was random. Sure enough, he found a spot where if it was GOING to lock up it DID (meaning the controller only locked up when it hit a particular piece of code - though locking up was not guaranteed, the controller only seemed to lock up at that point in the code). We use LabVIEW, so there's no "crazy" pointer manipulations or NULL references (in our code) or what have you, but the lockup was actually in setting the motor speed. The crazy part was if we just deleted that command in the code, the lockup stopped happening, and even when we added it back the lockup did not happen. However, pulling the original code out of source control and running allowed us to reproduce. LabVIEW compiler error was all we could come up with, though the VIs in the reproducing case and the non-reproducing case were perfect matches. I then wanted to blame LabVIEW, but it wasn't limited to LabVIEW. Teams using LabVIEW and RobotC had the problem just as much (almost equally so). I almost now want to blame firmware, but I have no basis to make that claim. I'm really hoping the EV3 solves this problem, if in fact FTC is moving to the EV3 (which blog posts seem to claim, but the same blog posts claim there will still be support for the NXT next year). -Danny |
Re: FTC- preventing ESD
Quote:
Danny: Did your programmer document their findings in any sort of way. If they did, I'd like to take a look at them. We had a half dozen teams or more using the Matrix out of almost 150. Aside from initial issues in getting it up and running, they didn't have any of the normal issues, Al. The only thing is with the radio on it's own power supply, FCS reads it as bad but in fact on it's own source that one battery last all day. |
Re: FTC- preventing ESD
Quote:
-Danny |
Re: FTC- preventing ESD
Thanks. I wanna try and replicate it on a show robot. Just inbox me with the information.
|
Re: FTC- preventing ESD
IMHO this is ESD on the I2C lines. They're the single weakest point in the whole system and a really bad choice (dictated by the NXT) for motor control since these lines are high impedance and have a fairly direct path to the micro. Okay so there's some protection inside the NXT but it's going to be whatever a standard called for and likely 15kV plus when it happens data corruption is likely. If there's no error checking on the I2C bus transactions (and there isn't to my knowledge) who knows what firmware "issues" are lurking about unexplored and untested.
As a side note the VEX system introduced a new motor encoder in 2012(?) which connected via I2C. This was the first I2C sensor for use with the cortex based controller and what a disaster! It took quite a few firmware revisions before these became *almost* as reliable as the old quadrature encoders that just connected to I/O ports. I don't see this going away with EV3 because it too is I2C. |
Re: FTC- preventing ESD
Thank you everyone for your wonderful insight. We have some specific questions to ask:
1. Why would shortening the USB cable be of benefit? 2. If rubber doesn't conduct, why do the 'normal' friction wheels generate so much static? 3. Is there a way to neutralize static as it is generated? |
Re: FTC- preventing ESD
Quote:
Quote:
Quote:
-Danny |
Re: FTC- preventing ESD
Please note that the video has poly sheet completely surrounding the wheels. As anyone who has worked with Van de Graff generators knows, the moving of materials in close proximity to each other produces significant static buildup. In designs where this is unavoidable, a wiper/brush rubbing on the moving surface and connected to the stationary surface would drain off accumulated charge. Remember that static does not need a conductive surface in which to accumulate as Danny pointed out in the balloon example.
I inspected an FTC robot this year that used a little USB jumper with Radio Shack ferrite cores at each end to prevent any interference. They claimed it worked, I was a little skeptical as the two cores were only an inch or so from each other. Ferrite will not prevent ESD but it does serve to reduce noise currents flowing on the surface of the wire around which it is placed. The copper tape used in the video, if the 3M product I am familiar with, has conductive beads embedded in the adhesive layer. It is very good at conducting low frequency energy and shielding. It is awful for use at HF and above, making for a very poor RF radiator. (My first hand experience making an antenna using this product.) |
Re: FTC- preventing ESD
A great set of videos which span a great many topics besides the static discharge events. Great find Danny and as always with these types of tutorials, user benefits may vary and one needs to do the work to learn the why of what is being suggested as a best practice. Don't fall into the trap of taking another team's/expert word as truth without reading and studying the issue yourself. They may in fact be promoting a sound practice but you need to understand the why and because of it if you want to earn points in the judge room. You can credit the source and back it up with your own solid understanding of the need/issue.
Caution, they support tinning wires which goes against the advice of Al. I'm still promoting the use of these videos by FTC teams in my area as a tool for improving robot design. |
| All times are GMT -5. The time now is 04:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi