×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to reduce static in a CPU based ite

How to reduce static in a CPU based ite

How to reduce static in a CPU based ite

(OP)
We are using a 89c52 cpu in a machine and we are having horrible static issues. When the user touches the machine and discharges static to it it resets the machine. We have tried a lot of grounding throughout the machine and still no luck . It only seems to happen when the humidity drops low ( less then 30 percent or so )and the problem ' fixes ' itself when it gets more humid and less static in the air. Any help would be aprrecaited . Is there anything that can be done now  ,after the intitial enginerring has been done , to modify this board to help out ?

RE: How to reduce static in a CPU based ite

Static flows to the outside of a metal case. Your design has to be such that when it flows by the shortest path to the outer case it doesn't go through your logic board. There is nothing to measure and nothing much to simulate. You have to look at the case design and see the way the current will flow. It takes a while to develop this ability. It is not the logic board itself that is necssarily the problem, but the way it is mounted in the case will be critical. You may need insulated pillars on the mounting points if you don't want to redesign the pcb.

Use a static discharge gun to simulate the effect in order to make fault finding easier. This way you get a deterministic repeatable test so you know what changes are better.

RE: How to reduce static in a CPU based ite

The specific CPU is more than likely irrelevant.  What kind of circuitry do you have surrounding the chip itself in the way of bypass caps on the power/ground line pairs, caps on the power line, etc.?  Is there any shielding of the CPU itself?  What kind of I/O lines are running in/out of the box?

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

Are there any user controls (switches, pots, etc) that are mounted on the case? It gets more difficult if this is the case.  It will help to have clamps or some other kind of ESD protection on there, but if the path goes through your logic ground, it can make still make the board reset.

If there are no user controls, then isolating the PCB or having a single grounding point may help.  

RE: How to reduce static in a CPU based ite

"a single grounding point may help"

I wouldn't say so. I had a similar problem with an operator's panel mounted in a control desk. The only way to make that particular system work without resets was to cround its 0 V rail directly to the panel steel with a short wire. Doing this created a path for ESD discharge directly to ground - without passing through circuit ground and creating resetting or otherwise disturbing voltage peaks while finding its way to control desk ground.

Of course, controlling humidity or ionizing air is another way of avoiding the problem. Sometimes a semi-conducting mat solves the problem.

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: How to reduce static in a CPU based ite

(OP)
The make this more understandable, the machine is one of those claw grabbing games where you win the stuffed toy, so Yes there are controls ie: Joystick , buttons , coin acceptors, that are mounted to the metal front control panel. THere are 1000uf caps across the power inputs to the main logic board and just maybe 1 or 2 of those tiny caps in the cpu area itself. We have tried putting ferrite cores around the harness going from the control panel to the main cpu but no luck there either .

RE: How to reduce static in a CPU based ite

Like this. Note that paint has been removed from desk metal and that toothed washers are used.



The microfarad capacitors have nothing to say when ESD hits. Use small, fast ceramic capacitors.

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: How to reduce static in a CPU based ite

Gunnar beat me to the punch... you need some small caps in there.  Think in terms of decades, like adding in a 0.1uF and a 4.7uF or 10uF.  You need to quash those high-frequency noise spikes before they hit your processor.  Do you have any resistors/caps on your panel cables?  You can slow down any signals coming from the panel using those, reduce the radiated stuff most likely getting into your ground plane.

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

(OP)
ok great , the .1uf and 4.7 uf or 10 uf , where to you recommend that I put them  , across the vcc to ground at the power supply , across the vcc at the cpu ? or where ? Do i use all of the values in paralel ? or just 1 at a time till I get 1 that works ?

As far as the caps on the panel cables , please explain . The cables right now do direct from the controls ( joystick , buttons... ) direct to the main board and in through a connector . What would you recommend that a resistor / cap solution go in this area ? This is set up like an RC network , so they go in paralell with each other , right ?  What values should we try .

Thanks
Gary

RE: How to reduce static in a CPU based ite

Resistors in series with any signal that goes to the activators, or the other interfaces on the panel.  They will limit the instant current of the spike and will also allow the filtering caps to do their job.  What values? well it depends on the design.  Try values high enough until it disturbs the normal functions, the step down to have a fudge factor.

The reset can also take its source from the spike irradiating energy from the cables inside of your box.  So filtering at the panel level would be the way to go.

RE: How to reduce static in a CPU based ite

Post a picture of your setup, surroundings, and sensitive static locations.  This may help in our suggestions.

RE: How to reduce static in a CPU based ite

Toys covered with plastic fibers and see-through plexi or glass side panels may also be a 'potential' generator of static.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's the questions that drive us"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

RE: How to reduce static in a CPU based ite

Your problem is that the static is being conducted into the micro via the I/O lines from the control panel.  I have seen this on many applications...
The classic is the standard 2-Line LCD displays.  They have a metal bezel around them.  If this bezel is not deliberately grounded when someone touches it or a spark jumps thru an overlay to it they always crash the CPU running them by conducting the pulse thru the data lines to the CPU's I/O.

This problem has nothing to do with your power supply or any caps associated with it.

You need to deal with that conducted charge.

The best method is to have the controls be either insulated or directly grounded.  Barring this possibility you need to limit the voltage spikes from getting to the CPU.  This is likely not possible via add on stuff but should be part of the I/O board/hardware.

You you put a healthy ground plane everywhere you can on the board.

Use a semiconductor transient voltage suppression(TVS) protection device like a SIDACtor or Thyristor, Transorb, MOVs, zeners or voltage suppressors from the circuits leading from the offending control appendages to your ground plane. (my favorite = bidirectional Transorb)

Look in a Digikey Catalog.

As previously mentioned (by felixc) you run resistors of some value between these controls and the CPU on all lines except the grounds.

It is best if you can also put some  resistance between the aforementioned appendages and the suppression devices as that gives the suppression devices a huge boost in protection ability.

You may be able to retro some of these solutions to your existing boards but it won't be pretty.



Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

Holy moly, but that main board is stuffed with stuff... I understand the bulky relays, but I can't imagine all of that stuff being necessary to run a simple crane game.  That design probably hasn't changed since the 80's...

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

Hey Dan.
Nature of the beast. Most the time they want a million possibilities covered so they add the kitchen sink then use half the stuff.  I can imagine those dipsw for which product are we today.

hmmm you got the CPU, RAM, ROM and 2 PIOs and some jungle logic to address them all.. That's par for the course!

Good to see a forest of opto's too.(unless they're bridges)
They aren't getting it done though if static is still blitzing things.

Nice idea to use a junker PC supply because they are potent but cheap.

Thanks for the pictures balagary!

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

A word of warning about Keith's suppression circuit. It is shown with innocent looking earth points. BUT, these are the problem points. It is no good using Keith's circuit and having a 10 inch earth wire to ground.

I saw several of these in your pictures. It is the exact way that the earthing is done which is critical.

I also noticed a lot of wood inside. Wood is not a good RF conductor. Remember that a static discharge has a risetime of less than 1ns; that is seriously fast! You need a metallic shell around your circuit board. If you don't have one you need to make one.

RE: How to reduce static in a CPU based ite

logbook makes a good point.  If you have two wires and subject them both to a voltage pulse you can end up with both rising instead of being able to clamp one against the other - that is held at a rigid (or more nearly) ground potential.

What happens if the PC supply or your control board catches fire?  All that wood...  Is that a problem or the way things work in that industry?

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

While I can't speak for balagary, all gaming systems I've seen to date have been made almost entirely of pressed wood (chipboard).

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

(OP)
ok  , so if we were going to make a shield for the main pcb, what would it be like , how would it attach to the board or would it just go to ground ?  If we are using the ground - now which ground ? Earth ground ( my ac ground ) or the DC ground  from the power supply ?

Next - If the static is coming in to the machine is being introduced from the player into the control panel, is it more likely that it is coming through something like the joystick i/o and into the main computer  ( being that the joy stick is plastic ) or maybe it is more likely that it is getting in the computer from the coin acceptor which is a metal / metal plated plastic which is mounted to the metal panel ?  The reason I am asking this is that maybe we can get away with only pretecting just the inputs that are more likely to be carrying the static problem to the main pc instead of having the problem of trying to put the fix into all of the inputs.

Next - What is the best way to trouble shoot this problem? I mean to make the static and put it to the machine to make it be a problem ? We currently just put on a sweatshirt and rub up and down on some bubble wrap and then go and touch the game . Any better ways ?

Part of above - In trying to see if we are making any progress in fixing the problem , if we remove all of the wires coming from the control panel and just leave 1 or 2 attached and then work on shocking the machine, can we just put the mods on these 1 or 2 inputs instead of doing the 10 or so that are there all the time. Once we figure what fix works , then we implement it to all of the inputs ? Am i looking at this the right way?




Next - Is there a way to 'watch' the static and actually see where it is going ? I was thinking of using a scope and watching differnet parts of the cpu or the i/o chips or is the static so crazy it goes all over and it is impossible to watch ?

There are a bunch of these machines in the field that are experiencing these problems so thanks all of you for helping out here to try and get this solved

RE: How to reduce static in a CPU based ite

balgary,

It is very well that you want to understand what's going on. And that is a very good beginning. But wanting to understand doesn't solve your problem.

You need to find someone who thinks, eats and breathes ESD and EMI. Such a person has lived with the phenomena so long that she/he has developed not only a sound scientific foundation, but also an intuitive feel for what to do. Such persons are usually 40+ years old. They also have the instrumentation (ESD gun, fast digital scope etc) that is needed.

Such a person is hard to find. It is even harder to verify that it is the right person you have found. One tip: If you hear lots of bragging - dont hire that person. If you get references and they say she/he is good - then hire.

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: How to reduce static in a CPU based ite

There are static guns that let you "dial-a-human" but your sweat shirt method sounds workable.

Yeah you can remove most the controls and try isolating to a single control.  Then work a fix on it.  That is an excellent method of attack.

While a scope sounds like a good idea they often confuse static problems by adding new ground paths and capacitance.

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

A cheap version of the static gun is one of those piezo electric gas lighter thingies...

I worked on a system where a dc to dc converter was regularly burning out.

It transpired that static was the problem in causing latchup of an A2D ic.

Fixed that with caps & transzorbs & such.

Then it started blowing up the clock chip instead.

Ho hum.

RE: How to reduce static in a CPU based ite

Lots of good advice here.  For an excellent source of general ESD information, tips and measurement techniques, check out http://emcesd.com/

RE: How to reduce static in a CPU based ite

(OP)
ok cool gas lighter ignition thing  ,, like for a gas grill . I'll try that.  I have tried a 'stun gun' with nothing at all to help me , I have been told that the stun gun is about 25-35kv but the static discharge from a person is a much higher range....any confirmation here ?

Does any one want to suggest any quick and dirty fixes for this problem that would save us sometime and effort while we are fine tuning the exact components ?


Any part numbers anyone wants to suggest for those
suppression devices  ? Or just  scan digikey for these ?

Thanks

RE: How to reduce static in a CPU based ite

Static discharge from a person is generally less than 35 kV.  That's limited by coronal discharge from fingertips.

ESD is typically tested to around 8 to 15 kV for air discahrge.  A common model is a 150 pF cap discharged through a 1 kOhm reistor.  There are also specs for modeling furniture ot object discharge.  There, the capacitance can be up to 500 pF or so, with resistance as low as a few ohms.

A good reference I've used is Electrostatic Discharge:   Understand, Simulate and Fix ESD Problems by Michel Mardiguian.  ISBN 0-932263-27-5

RE: How to reduce static in a CPU based ite

(OP)
these transorbs / TVS's  , I am looking on Digikey, what specs would you guys suggest to play with?

RE: How to reduce static in a CPU based ite

The absolute best (in terms of reliability) is to process all digial inputs entering the board through NPN inverter stages with pull up resistor on the collector and inverse diode between base and emitter. For many I/O use a transistor driver array chip with the built in bias resistors and diode. However this inverts your logic. So that can be a problem. Just tack on a CMOS hex inverter.
Its more components but destructive reset static just cant get through this arrangement thanks to essentially back to back diodes to ground. A good ground that is

RE: How to reduce static in a CPU based ite

(OP)
Since at this time we cannot re-engineer the main board , all of our atttempts to fix this problem must be extrernal to the board , so we need to try something most likely at each input itself. So what ever fix we try will be installed on each switch , so an array might not be feasable.

RE: How to reduce static in a CPU based ite

Pick a Transorb that passes a DC voltage just higher than the logic signals you are running from the controls to the board.

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

Electrostatic discharge (ESD) is the release of stored static electricity that can damage electrical circuitry. Static electricity is often stored in your body, and discharged when you come in contact with an object with a different potential. The ESD wrist strap safely channels this electricity from your body to a proper ground (the chassis).


"When the user touches the machine and discharges static to it it resets the machine."


Try this:

Before touching the machine, user or operator should wear ESD wrist strap. In order to work properly, the wrist strap must make good contact at both ends (with his skin at one end, and with the chassis/grounding point at the other).

Also check the continuity (Cold Test) between isolated points of your system with the body of the machine.

WARNING: The wrist strap is intended for static control only. It will not reduce or increase your risk of receiving an electric shock from electrical equipment. Follow the same precautions you would use without a wrist strap.

RE: How to reduce static in a CPU based ite

I doubt if a wrist strap will be used by the kids operating this arcade game type machine?

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: How to reduce static in a CPU based ite

(OP)
For the wrist strap testing idea, 2 questions

1. If the user touches the metal control panel and the problem does not occur , were would the next step be  ? Would the user go and try and touch something closer to the main pcb ?

2. What are we proving by doing this  ? Or maybe disproving is this doesnt work ?

<agreed kids will not wear a wire strap - kids will never do what you want them to do , but if we told them NOT to wear it - they just might do it :) )

RE: How to reduce static in a CPU based ite

Now - that's a brilliant piece of logic - and thinking!

Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...

RE: How to reduce static in a CPU based ite

When I used to go to video arcades some 25 years ago or so, I used to intentionally shuffle across the carpet and shock the machines.  There was quite a range of different behaviors that I would see. Some would reset, some put garbage on the screen, and at least once I got a free replay from doing that.  I used to try shocking them in different places to see what would happen.  I'm sure I'm not the only one that did this.  These machines really see a lot of abuse.  

RE: How to reduce static in a CPU based ite

"When the user touches the machine and discharges static to it it resets the machine."

The purpose of the using ESD wrist strap is to discharge the static charge into ground directly through grounding point. Your problem resolves if the charge discharges to ground not through the machine. Its all the PATH we give to the charge to be discharged.

RE: How to reduce static in a CPU based ite

Hey 09041982, I think you might have missed the post that said that this machine is a game. It will be in uncontrolled locations. Wrist straps are not an option.

RE: How to reduce static in a CPU based ite

090441982... We are talking about an arcade game!

Can you see yourself putting on an ESD wrist strap before adjusting your TV each time??

Of course your solution will work! But it is totally unrealistic.

You can save all the passenger deaths in aviation if you just make sure you never have any planes leave the ground.  Not too useful though.

Keith Cress
Flamin Systems, Inc.- http://www.flaminsystems.com

RE: How to reduce static in a CPU based ite

Yeah, but imagine the kids in the ol' station wagon trying to get the 747 next to them on the highway to honk their air horns!

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

Yeah geekEE.

Before doing any further modification in design, I would suggest a thorough Cold Test of the system.

RE: How to reduce static in a CPU based ite

Can an anti-static treatment be applied to the floor around the machine?

RE: How to reduce static in a CPU based ite

(OP)
Yes , We have had luck with spraying "Static Guard" in an 3 foot by 3 foot area in front of the machine but most of the people who buy these machines from us are annoyed at this fix , they want something more permenent that doesnt require any interaction on thier part.

RE: How to reduce static in a CPU based ite

Static Guard wears off... you need to fix the electronics, not the surroundings.

Dan - Owner
http://www.Hi-TecDesigns.com

RE: How to reduce static in a CPU based ite

(OP)
I agree - I have ordered some of the things from this forum from Digikey and I hope to begin more testing next week.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources