Chat Button
 
Pages: 1
RSS
The affects of Static and RF interference on the quality of Epoc data and detections
A look at how much cordless phones, cell phones, ear buds, blue tooth devices and the static in our bodies affect the quality of the data and detections we get out of our Emotiv Epoc head sets. I was very surprised to see how much the static in our bodies can affect these detections. If we are doing EEG research or game detections we need to have our data as repeatable as possible.
Image

The same test using the Brain Activity Map Program can be seen here.
If you go directly to YouTube they can be seen in HD
http://www.youtube.com/watch?v=TFiUcU1jkDg
And
http://www.youtube.com/watch?v=VE6udAgulnQ

These are the brain maps from Three 3 minute tests on the Styrofoam headset without interference. They should all be about the same but obviously they aren't. I hope future ability to filter out low voltage may improve this. I welcome any other ideas.

Image
Edited: Tom Martin - 14.03.10 2:26 PM
Hi Tom,
It's great to see people testing the limits of the headset.
First up, Testbench allows you to display individual traces. When only one channel is selected the Min Amplitude and Max Amplitude controls are active and you can adjust the scale as you like. When more than one channel is displayed, the "Channel Spacing" control allows you to adjust the scale instead - everything is then scaled to fit the selected channels on the screen with the given offset you select.
Now to your measurements. We did most of the tests you have conducted during our development phase and saw nothing like the magnitude of the effects you are showing. There are a couple of reasons for this. Electrostatics and interference are always going to be big issues for floating equipment, especially when attached to a huge biological antenna. We worked very hard to minimise the effects you're showing here, and I think your test is not doing us justice!

The major problem with your test is the styrofoam test subject herself (sorry Electra, nothing personal smile;)). Even though you have a wet rag draped over her, stryofoam is extreme in its electrostatic characteristics. You can generate megavolts over very short samples of styrofoam - as anyone knows who has opened a bean bag on a dry day. They literally explode out of the bag and stick to everything. When you charge yourself on the carpet you generate somewhere upwards of 20kV potential. Lean near the styrofoam and it gets effectively 40kV across it (in the absence of any conduction through the wet rag - I'm talking worst case). Why 40kV? If you're at -20kV, the near side of the styrofoam will charge to +20kV as an air capacitor with no current flow between you and the foam. The opposite side of the styrofoam compensates for this changing charge by floating to -20kV. Becuase the stuff is a super-insulator, there can't be any significant charge movement through the bulk material, so this works by forming a huge series of sub-microscopic charge displacements through the material. We are measuring microvolts at the sensors. It's a pretty big ask for any system! When there's a real head in the way, your bulk conductivity intervenes and the voltage difference across your head is much much less. I do't mean it's absent, but typically if you are wearing the headset and rub your socks on the carpet you might see 200uV disturbances on your worst day, and if someone nearby does this and waves a hand past your head we typically see less than 30uV disturbances. You were showing saturated signals over 0.5V - at least 50 times bigger than we expect to see.

If you put the headset on yourself and test most of the equipment again you will see a much lower response - in many cases, absent. This is especially true if you make sure the felts are quite damp. The system uses a complex reference compensation circuit which maintains the detection electronics at the same potential as the left-hand reference sensor - which is where you were seeing the biggest response. Effectively, you were injecting noise into a floating reference point which was not transmitted equally to the other points. Neither the styrofoam not the wet rag has anything like the impedance (note- I did not say "resistance") of a human head. Note that the CQ monitor (the Contact Quality map of green lights) effectively measures resistance, on the assumption that all heads are roughly the same complex impedance but the big difference is resistive, when sensors are dry or not connecting properly.

Fascinating to see more data about this - I'd like to make sure all our testing (and my days wearing a tinfoil anti-alien hat) were worth it!
Excellent Video Tom, I think ill have to invest in an anti-static mat. I see you were using an extension cable for the dongle. Can inteference be reduced by moving the dongle away from the PC by this method or does all the interference come from the headset? I also have a wireless router right in front of my PC, I may have to try relocating this. Oh and is Electra free this Saturday night smile;)
This is a repeat of the tests done with the Styrofoam head. It shows that Geoff is right and Styrofoam is a poor material for a blank test subject as it has high electrostatic properties. Cauliflower does not have this problem, but does show variable affects from static electricity. Using a human head shows that the human body can collect large static charges that significantly affect these measurements if steps such as a grounding strap are not used.
Image
See YouTube Video in 1080 HD Here to best see data

In conclusion to minimize static interference affecting your measurements and detections I recommend using a grounding strap. Vinyl floor mats with bare skin are particularly electrostatic, almost as much so as Styrofoam. it is best to avoid using cordless and cell phones while using an Epoc headset. Ear buds and Bluetooth devices do not seem to have much effect.

I would still like some help or suggestions on what can be done to make the brain maps more repeatable. These are three identical test done on the cauliflower head Kali.
Image
Edited: Tom Martin - 19.02.10 4:05 PM
smile:idea: Do a Google search on "High Density Black Conductive Polyethylene Foam" or "anti-static foam" I was think of creating a head with this material.

After reviewing the forum posting there no Standardization, another reason to developed a standard head for testing maybe the smile:idea: <B> the anti-static foam head </B> is the answer.

Cheers
Quote "Do a Google search on "High Density Black Conductive Polyethylene Foam" or "anti-static foam" I was think of creating a head with this material."


Isn't 10 to the 4th ohms/sq. a lot more conductive than a standard head? I measure .300 mega ohms from temple to temple using saline saturated 1" dental rolls for contacts. smile:idea:
Edited: Tom Martin - 20.02.10 5:18 AM
It will be less if you use real biosensors. You are measuring an electrolyte-filled balloon of brains, bones, muscles, blood vessels and evil thoughts. Your test probes have a "contact potential" which is nonlinear with current flow and results in significant errors in impedance. Biosensors tend to contact through an electrolyte using a non-polarisable contact material (where the electrolytic potential on the material is independent of the current flowing through the interface). I wonder where you might find some of those babies?
In any event, the relevant measures are impedance (not just resistance) and capacitance (for electrostatic testing especially - yeah, I know, to all those pedants out there - capacitance appears in the impedance hehehe - I was pointing out the charge storage characteristic is quite important. A small cauliflower will react with bigger voltage diversions than a large human, although perhaps more attractively in my case).
Working on some other suggestions and comments Tom!
Thank you for starting this topic Tom. I've seen hundreds of hours of testing ruined because the effects of static electricity were not understood. We're measuring microvolts in a world where thousands of volts of static electricity can be created in seconds. A real challenge.
Thanks Dan,
I am glad someone appreciates some of the problems I am trying to deal with. Based on the electronic testing you have done, do you think this head set is capable of producing repeatable brain maps if the outside interferences such as static are controlled?
Would a grounding wire eliminate enough of the interference or is it not enough?
Quote
Tom Martin wrote:
..do you think this head set is capable of producing repeatable brain maps if the outside interferences such as static are controlled?..

Well Tom, I've just finished reading ~24 research papers listed on the EEGLab website http://sccn.ucsd.edu/eeglab/ and two books on EEG, several times, and all I can say is maybe. The task is proving that what you end up with is actually brain waves. For example, this paper published in 2009: "Validation of regression-based myogenic correction techniques.." references a study that demonstrates, using facial muscle paralysis, that the majority of EEG above 25 Hz is actually EMG. The paper also describes methods for separating EEG and EMG data at lower frequencies. It was a wake up call.
Quote
John Doe wrote:
Would a grounding wire eliminate enough of the interference or is it not enough?
Unfortunately, my experience has been that grounding is woefully inadequate.
Long shot

How about "Static Guard Anti-Static Spray" sold at some drug stories
I too have found a grounding strap and even a grounded metal grate for my feet inadequate to eliminate all static interference. They do help though. With a grounding strip on my wrist and my feet on a grounded metal grate, rubbing my hair can cause over 50 micro volts interference even when the headset sitting on a melon 4 feet away and the Relative Humidity is 32%.

I also wondered if any static charges could reside on the plastic headset itself but I am reluctant to put any anti static compound on it as they are generally conductive and could ruin the head set. I even tried being completely grounded while I was still dripping wet from a shower and I still seemed to posses static charges or maybe it is just the evil thoughts I need to manage.

Today I plan to build a Faraday cage and will try misting the head set with water to shield and dissipate any possible static charges on it. I don't believe this static and EMG interference is unique to the Epoc but rather something all EEG measurements must deal with in order to get meaningful results. We are the Body Electric in more ways than just neural activity. Emotiv was smart in incorporating EMG in their detections rather than trying to get around it.

The big problem is these static charges are often more than 10,000 times stronger then the neural signals we are trying to measure and can pop in and out of existence in a second without you even knowing it, unless you are specifically looking for it.
Edited: Tom Martin - 05.03.10 8:26 AM
Hi Tom,
I'm not sure what level of immunity you are looking for (fairly amazing, I guess - you're already at the level of wired medical EEG systems), but you might try wearing the headset and putting a tinfoil helmet over the top. If you ground the foil helmet to your head somewhere (tuck it under your glasses, or under the rubber pads) you will find amazing quietness. Melons, cauliflowers and any other vegetables or fruits will not give a viable representation of your expected signals - the capacitances and connections are just not really close to humans.
Good luck - the other advantage is that aliens can't implant thoughts or read your mind (except those from the planet Tinfoil)
Best regards,
Geoff
smile:?: Question, to gmac AdministratorIs is head set made of Anti-Static plastic ?


smile:idea: I would purchase a Humidity Sensor check humidity level,maybe from Oregon Scientific, winter time the air is very dry.



smile:idea: Next try a mist humidifiers, retest the humidity level
The headset is not made from true anti-static plastic. The conductivity of those materials attenuates the EEG signals unfortunately. The construction uses polycarbonate/ABS alloy. Arms are currently constructed from polypropylene but will change to polycarbonate/polyester alloy next build run.

What is the reason for requiring this level of anti-static performance guys? Most electrostatic effects are transient and tend to get swamped in any fft measurement, especially over long integration periods. As I said, medical grade EEG suffers from electrostatic problems as well. I'm concerned you are putting a lot of effort into a losing battle which doesn't make a huge difference anyway. I'm speaking from experience with developing our own detections. These clearly work pretty well without the kinds of precautions you are describing, although it's true you get the occasional false trigger from electrostatic events and it would be nice to avoid them. But you will never get rid of the problem until we change the humans and the environment - ask any EEG researcher anywhere about this. Tinfoil hats really help if you need a special setup. We already use state-of-the-art methods to combat electrostatics (we use ultra-fast transient absorbers on each input channel, we use standard CMS/DRL circuits etc etc) - the only thing we don't have is a ground wire, which helps but does not cure the problem.
Quote
gmac wrote:
What is the reason for requiring this level of anti-static performance guys? Most electrostatic effects are transient and tend to get swamped in any fft measurement, especially over long integration periods. As I said, medical grade EEG suffers fr om electrostatic problems as well. I'm concerned you are putting a lot of effort into a losing battle which doesn't make a huge difference anyway.

I would like to see the Epoc headset and experience be the best it can be for all users. Gamers will spend a lot of money for faster processors, faster memory and more powerful graphics just to gain a completive edge. They will want the fastest, most reliable and accurate detections possible. It would be a shame to see them defeated because they didn't understand some of the basics of what static interference can cause. Unfortunately the Consumer headset users can not see the affects of this interference as clearly as the Researchers can.

Scratching, touching or moving your hair is probably the worst thing anyone can do.

Rubbing bare feet on a vinyl chair mat isn't much better.

Any type of movement is bad.

Low humidity is bad.
(last I checked Sydney, Australia had 100% RH, static is probably not as much a problem there as it is in Colorado where 9% or 10% RH in the winter is not uncommon.)

Cotton or grounded conductive mesh is better to wear than than nylon or silk.

Don't have people moving on carpet near you.

I am sure this list will grow longer as I learn more. I don't plan to give up the battle. I may never be able to eliminate static interference, but I would like to manage it the best I can.

Could the gold contacts under the black "comfort pads" be used for grounding?

Accuracy makes a huge difference to me if I plan to offer guidance based on the brain maps I do with this equipment.

Maybe if all we plan to do is move an orange cube it probably doesn't matter, but I would like to think we are all destine for far greater mental feats.

You have made a great product at an amazing price, now let's all work on making it even better.
Edited: Tom Martin - 08.03.10 2:13 PM
Thanks a lot tom for the videos...they give really valuable insight into the current technology....

please post more videos if possible using the tinfoil method as geoff suggested.

Are'nt there any brainwave patterns that are more distinctive than the others.?? for example...doesnt shouting or placing a finger near your forehead produce a distinct brainwave pattern.

Furthermore rather than trying to detect patterns in the data visually ,have you considered more complex pattern recognition approaches such as artificial neural nets etc.

Thanks
Sumeru
I will post more videos when I can show some clear and easy ways to reduce interference and improve accuracy. Some think I am being unreasonable to Emotiv in its formative years if I just point out vulnerabilities.

I think the aluminum foil cap may have real promise, but I haven't tried it yet. Perhaps we can have an Epoc competition for the most creative design. Does anyone know Origami? A propeller on top would show a lack of understanding of the Triboelectric affects of moving air.

Shouting or moving your finger near the headset is exactly what you don't want to do, as moving air and moving hair from shouting produces a lot of static artifact. Moving a hand that could contain a static charge near the head will also affect things inconstantly. Tying long hair back in a pony tail/bun after the headset makes contact greatly reduces the hair static.

There are a variety of things that can be done to process these electrical signals from the brain and muscle movement(EMG) with software. I believe Emotiv Control Panel works much like voice recognition software. Instead of taking a sound wave patters and associating it with the most likely words of a group of possibilities to print. Emotiv takes a sample of brain wave patterns and associates that with the most likely action such as Pull, Push, Raise or Disappear. I wish Control Panel and future BCI programs would have a "Correction Dialog Box" like the voice recognition programs do. That way if you thought Pull and it Pushed you could select a Correction Box to choose the proper action to associate that thought with. I think this would speed and improve the training considerably.
Edited: Tom Martin - 08.03.10 4:54 PM
Quote
Tom Martin wrote:
Could the gold contacts under the black "comfort pads" be used for grounding?


The headset is connected to the head through the CMS connection (the left-hand reference) and the DRL connection (the right-hand reference). The gold plates you refer to are wired in parallel with CMS and DRL. Use these points a reference connections instead of the default locations (or even as well as, if you have spare sensors) to further reduce noise. They hit skin directly and there's another bit of common-mode noise eliminated.

If you hook an earth wire to this point you will certainly have an impact, but it may not be what you hope for... it's all part of a complicated feedback loop, so who knows what can happen. By all means try it smile:)

Quote
Tom Martin wrote:
Some think I am being unreasonable to Emotiv in its formative years if I just point out vulnerabilities.


Tom, we have no problem with criticism, especially when it's based on fact and measurement, as you are doing. Things need to be in proportion though - even the world's most accurate atomic clock has errors, but for calculating whether you're going to miss your bus, it's a little bit of an overkill to try to refine your clock - you're better off figuring out how to spend less time in the bathroom. (Sorry, extreme example and I don't want to minimise your effort - I applaud it and welcome the dialogue).

In our defence, (a) we have taken all reasonable and many unnecessary steps to reduce electrostatic interference, especially for the type of product and intended use (including neurofeedback), (b) we suffer almost the same level of interference as the best available medical devices - of course they have the luxury of waiting for clean air and the ability to control the measuring environment, which is not an option for us, and © the spectral characteristics of the interference are usually way out of the range of interest for most things - for example you would need to stand close to a rotating fan with just the right speed to trip an alpha-wave detection. That is, a 4-blade fan would have to be spinning at 150 rpm to show up - more like a propellor than a fan...

The bottom line is, these artefacts are real and unavoidable - we are dealing with humans, electronics and real environments. The real challenge is to deal with them, and only when absolutely necessary should you need go to extreme lengths to reduce the effect. As I said, our detections are quite robust because we took into account real-world effects from the start. Sometimes they go off by themselves - but is that really electrostatic interference or poor signature definition? Blinks, winks and eye movements, and to a lesser extent Excitement, are more susceptible than the other detections to electrostatic events. We designed this thing to be worn by real people bouncing around their lounge rooms. It's pretty damn good at that, but not perfect - nothing ever is, in engineering and science.

Quote
Tom Martin wrote:

I think the aluminum foil cap may have real promise, but I haven't tried it yet. Perhaps we can have an Epoc competition for the most creative design. Does anyone know Origami? A propeller on top would show a lack of understanding of the Triboelectric affects of moving air.



Love the idea. Even the propellor - see above smile;)

Quote
Tom Martin wrote:

Shouting or moving your finger near the headset is exactly what you don't want to do , as moving air and moving hair from shouting produces a lot of static artifact. Moving a hand that could contain a static charge near the head will also affect things inconstantly. Tying long hair back in a pony tail/bun after the headset makes contact greatly reduces the hair static.


Tom, honestly I don't think it's fair to advocate people don't move or act naturally while wearing the headset. We have managed to demonstrate through fairly diligent experiments and extensive user experience at demonstrations and shows that the EPOC is easily robust enough to handle these events. Reading this thread, you would think you have to lock yourself in a humidicrib wearing grounded metal mesh clothing to get the headset to work.

It's great that you have found some things you can do to improve your experience with the headset - but the difference overall between doing nothing and taking extreme precautions is at most a couple of percent in overall accuracy. It's just not that big an issue under most circumstances! Electrostatic events occur - but we've done a hell of a lot to minimise their impact. Our detections are pretty immune to them - you would never have seen this without looking in detail at the signals, and it's really easy to convince yourself that the jumps and bumps in the signal are a bad problem - they really aren't because we (and every other EEG researcher) work around them.

Quote
Tom Martin wrote:
I wish Control Panel and future BCI programs would have a "Correction Dialog Box" like the voice recognition programs do. That way if you thought Pull and it Pushed you could select a Correction Box to choose the proper action to associate that thought with. I think this would speed and improve the training considerably.


This is a good suggestion, but hard to implement in practice - especially in gameplay. Speech recognition is not really a perfect analogue - you know how to speak and you've known how to speak for many many years. The stimulus is very consistent. With brain signals, you've never done this before. At least half the time, the Correction Button will need to be on the human, rather than the machine. It's a mutual learning experience (possibly the speech recognition analogy is better than I thought - you CAN learn to speak so the damn thing understands you, it just isn't picking up natural speech).

What we have is a little more laborious, but if you're triggering a false action: (1) add more data to the intended action, (2) add more NEUTRAL data - can;t have too much smile:), and then if things are still a problem, (3) add more data to the falsely triggering action. It turned out this was the best and fastest way for us in house and with volunteers, because of the mutual part of the experience (human learns to repeat distinct patterns + machine learns to recognise repeated pattern, while still remembering slightly confused data from earlier).

Tom, I'd like to thank you for your contribution to this. I applaud your efforts and I'm glad to see users are taking thse things seriously. Please don't be offended with a little push-back. We really did engineer this device as well or better than anything else I've ever made - medical diagnostic and therapeutic products included - and it is easily good enough for its intended purpose. We are equally obsessive about quality and good design and we pushed the envelope a long way with much of this. We agree things can be improved and we love to see others thinking about extreme uses and how to get there. Let's not minimise what it's good at - but equally let's be honest and open about what you have to do if you want to achieve more difficult tasks with the equipment.

If people want to work with raw EEG signals they should (a) work out what level of electrostatic noise (and other noise) can be tolerated by the intended use, (b) learn what can be done to reduce the electrostatic noise to the necessary levels, and © try to develop means to deal with residual noise in the experimental analysis (it may be a simple as tagging events and excluding data during that period, or as complex as building neural nets and predictive algorithms to extract underlying signals from events as they occur). Finding good answers at © may well feed back into part (a) smile:)
http://bioinformatics.oxfordjournals....t/12/6/539

Quote
The data are first digitized with a sample rate that is some direct multiple of mains frequency. Next a 20 ms (for UK mains frequency) data set is constructed containing the average interference pattern. This is subtracted from each 20 ms window of the raw data. Finally, the mean value of the interference is added back to the raw data to restore the DC component.


Would this help or would the data get too compromised?
It is starting to look like I am over reaching not only the present day capabilities of the Epoc, but of EEG science in general. Very sophisticated computational models and algorithms seem to be needed to make any sense at all of this electrical data we are looking at.

Hojjat Adeli the Editor-in-Chief of the International Journal of Neural Systems has a brand new book "Automated EEG-Based Diagnosis of Neurological Disorders: Inventing the Future of Neurology" that describes integrating neural networks, wavelets, and chaos theory to identify epilepsy (probably the easiest condition to identify) with 96% confidence.

Image

I am obviously naive thinking I can identify which one of eight possible neurological conditions is present by looking at brain maps generated with a an Epoc or any other EEG for that matter.

Just the same I will still keep trying to find a "Strange Attractor" in all this chaos.
Edited: Tom Martin - 16.03.10 6:12 PM
Quote
Tom Martin wrote:
It is starting to look like I am over reaching not only the present day capabilities of the Epoc, but of EEG science in general. Very sophisticated computational models and algorithms seem to be needed to make any sense at all of this electrical data we are looking at.


I'm really hoping some researcher at Emotiv is looking into a software-based solution for it.

Or maybe add something to the dongle that lets it measure the amount of static around.
Edited: John Doe - 16.03.10 6:22 PM
@Tom: Don't give up! There is some really tough mathematics involved in data extraction from noisy signals, and the less noise, the less mathematics smile;) It's great to identify what can be done to minimise it. You sound like you want to get to medical levels of performance. This is admirable and quite feasible. Please take as read my general disclaimer that EPOC is not a medical product. If it can help in an adjunct way to tilt someone into seeking diagnosis or treatment then that's fine by me.

@John: We tried searching for the mains component and reconstructing it - phase and amplitude - then subtracting it off the signals. It works and is beautiful for the fundamental frequency. Unfortunately the harmonic content is harder to deal with because it comes through as aliased low frequencies - for example 120Hz harmonic of 60Hz mains appears as an 8Hz signal which means you end up suppressing synchronised alpha wave signals as well. We eventually killed it all off a different way which was much more efficient but cost a bit of high-frequency bandwidth.
Electrostatic artefacts tend to be mostly low-frequency components - because charged stuff moves around relatively slowly. It is easy to detect most of it, and the simplest method to deal with it to blank out affected bits of data. If your requirement is so mission critical that you can't dump data, there are "methods"... not efficient computationally, in general, but feasible
Pages: 1