Mystery noise question
T Chap
Posts: 4,223
Hey guys I have something I can't solve I was hoping someone could shed some light on. I sent a system I make to NY and the client installed it. It is a Propeller based system. There is a home switch that goes to a pin on the Prop, the input has a .1uf on the Prop side and 15' away it has another .1, with a 10k pullup near the Prop to 3v3, off the same Prop supply. The switch is normally closed, shorted to GND. The cable is unshielded cat5. This system has never failed me, but now there is an issue where the switch appears to have noise on it for no obvious reason. They sent it back to me, I checked it and it is fine on my bench. The problem seems to be when connecting a 15' cat5 to the switch, it is picking up noise and the Prop thinks that the switch is getting pressed (opening contact, input would go to 3v3), when in fact the switch is not getting pressed. So with a short cable, the switch works good with no false trigger. However, here is the twist. When one or more other devices get plugged into the system with cat5 of a length of 15', then the switch starts false triggering again. With a 2 foot cat5 on the other devices it does not false trigger. This may be hard to follow without a schematic which I do not have with me. The client said the brain of the system is near a circuit breaker box for the floor. Not sure if there is noise coming off of the breaker box, but I have my system buffered like crazy, caps everywhere you can put one and have run much longer lengths without an issue on installs in all kinds of environments. I was thinking that if the building had a ground problem, or no ground, then maybe my system could be extremely sensitive to some noise, but thats all I can think of. Wouldn't it take a whole lot of noise for the Prop to detect a 1 from noise when the input is dead shorted at the end of the cable? Any thoughts would be highly appreciated.
Comments
-Phil
-Phil
Shielded cable, with one end grounded, can turn many misbehaving electronic gizmos into wonderfully working devices!
They make all sorts of different shielded cable with many different numbers of conductors...
http://www.google.com/search?hl=en&sugexp=ernk_spiketing&cp=10&gs_id=t&xhr=t&q=shielded+cable&safe=off&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.&biw=792&bih=460&wrapid=tljp1314854087906018&um=1&ie=UTF-8&tbm=isch&source=og&sa=N&tab=wi
The solution is to check the input more than once before accepting that it has changed state. I had this very same problem in a very expensive printer made in the 1980's, which had an external print input (the printer accepted BCD input which was always available from the scale). The whole system was driven by relay logic, and every once in awhile it would print at random. Somehow we had the 6502 source code (!) and I noticed that after reading the inputs, if it saw the print input high it would go to the print routine. I realized even a microsecond pulse might pass that test so using a hex editor and PROLOG UV EPROM programmer I manually added a loop that would not trigger the print function unless the print input was seen 16 times in a row. It fixed the problem.