Methods for signal validation / EEG "phantom heads"

edited February 2016 in Hardware
Hi all, been great to see this community grow so much.

I'm curious to hear what kind of techniques people are using for verifying and validating that their systems are working properly.
E.g., dealing with the "ground truth" problem when it comes to debugging, and more complex signal analyses.
You need a way to make sure your OpenBCI actually works!

In MRI, CT, PET... pretty much all other biomedical imaging... there are so called "phantom" devices that are used to calibrate the system by proving a known signal. Like a big sphere of oil (MRI) or cylinders of different density materials (CT).
In EEG there is no real community-adopted standard methods. Over the years I've seen (and personally used) everything from just connecting leads together directly (not ideal) to using a mildly resisting strip conductor, to (my own favorite) a cantaloupe or other melons with nails jammed in them that you pass a current through and stick leads on it like a real head.

some labs have made up some pretty elaborate devices like taking a real human skull, re-hydrating it, adding electrodes and sealing it in an electrolyte solution. Others have made full head models from carbon fiber mixtures (@chipaudette knows what I'm talking about!). These are great but not feasible for your average DIY guy!

The whole point is, ways to avoid having to use a real human head to get a signal... because you can't control what is coming out of somebody's noggin!

What have you done?

This comes up a lot when dealing with seemingly random noise issues. Normal EEG looks an aweful lot like noise if you don't know what you're looking for...

Comments

  • wjcroftwjcroft Mount Shasta, CA
    edited February 2016
    David, hi.

    I'm going to re-mention Chip @chipaudette here, because your original post had a parenthesis right next to the at-sign, which I think may have blocked the email notification to Chip. I'd be curious to hear about the carbon fiber head that they (Dartmouth / Creare) built. The phrase that I can't seem to get out of my mind is "Mr. Potato Head".  :-)  OK, I guess I found Chip's paper, hoping he will still comment on how this may extrapolate to DIY-ers, 


    A couple more papers, only peripherally related. Ran across this paper from EGI, the guys who make the Geodesic Sensor Net mesh caps / headsets.


    It discusses their injection of 10 microamp signals into some of the electrodes and measuring the response on other electrodes. Might be a relevant technique for a type of simulated / stimulated EEG.

    Also saw this recent paper, section 1.1 Measuring Skull Conductivity,


    William

  • wjcroftwjcroft Mount Shasta, CA
    edited February 2016
  • wjcroftwjcroft Mount Shasta, CA
    edited February 2016
    The article mentions your lab testing a $350 EEG amp:

    For instance, he said one manufacturer produces an EEG that costs about $50,000. Another makes one for just $350. "Everyone in the research community laughed when we decided to compare signals from both," meaning they thought the $350 would clearly be inferior.

    The results were surprising, he said. The lower-cost EEG device was just as good for certain applications. That could save research labs across the country a lot of money if their EEG testing involves those applications that the $350 device tests well at..

    Any comments on which $350 device that was?
  • Wow, ok so this wasn't intended to end up as a plug for our own work... but... thanks!
    Zeynep and Scott Makeig are collaborators of ours, actually our lab partly sponsored that paper ;-)

    Really I just want to get some discussion going on what people are using and how they are addressing this problem. We're working on cheap, easy methods, and my goal is to open-source release our full plans and mixing methods within the very near future, but with the crowd here I'd love to know if somebody has better ideas.

    Regarding the quote above, that was a reference to the Emotiv Epoch system. We have had very good luck with it, regarding everything except (1) timing issues when using 3rd-party triggers and secondary devices, and (2) long-term comfort.
    Now, yes I know - $350 is teh consumer model that dosn't give access to teh raw data, you have to spend $750 for that...

    There have been a number of articles comparing Emotiv against others, some of which I think have been discussed here (definitely over on the Emotiv forums) but here is a comparative analysis we did a few years ago
    https://www.researchgate.net/publication/263286124_A_Comparison_of_Electroencephalography_Signals_Acquired_from_Conventional_and_Mobile_Systems
    Short story - overall for ERPs we found the Emotiv about the same... once you addressed the timing issues, and rejected the slightly higher # of noisy trials....


  • wjcroftwjcroft Mount Shasta, CA
    edited February 2016
    David, thanks.

    Here's another article on your lab's phantom head, with actual photos,


    image

    I have to say, this looks a little bit like Gort in the movie, The Day the Earth Stood Still:  :-)


  • edited March 2016
    Sorry for the slow reply on all of this.  Yes, I believe that EEG phantoms are very useful for confirming that your EEG gear is working correctly.  Actually, to be more precise, I think that an EEG phantom is very important for making sure that your EEG equipment is doing what you *think* it's doing.  In using our EEG head phantom on different EEG systems, I found it very surprisingly how the EEG bias / reference / driven ground connection differs among the different systems.  Very illuminating.

    Thanks, William, for the plug to our paper for the old EEG head phantom.  The company that I work for has developed another head-shaped EEG phantom that solved many of the issues of that first head.  There will be a new paper coming out describing the new phantom, if I can finally get it off my desk.  We've also developed a third type of EEG head phantom (actually, it's for tDCS systems, but it works just as well for EEG).  Hopefully, I can talk about that one soon.

    An important part of this discussion, though, is not to get too fixated on the fact that many of these phantoms are head shaped.  Yes, if you're testing full EEG headgear, the headgear assumes a head, so you need a head-shaped phantom.  But, if you're just dealing with electrodes (like how most people use OpenBCI), any sheet of fairly conductive plastic will work just fine.  Get the sheet of plastic, stick the electrodes to it, and it'll probably do something useful.

    Chip
  • Yep, I'd liek to echo Chip's sentiment re: the necessity for real head-like phantoms. They are incredibly useful in that form factor b/c it means you can fit any device to it, but for simple testing it isn't critical.
    What is important though is that you use a material that is at least moderately resistive. E.g. don't use a sheet of steel or copper.
    A bowl of Jello works ;-). So does a cantaloupe. Some of the new conductive-filament (carbon)-doped 3d printing materials could do the trick too.

    My point to starting thsi thread was to hear discussions from other people out in teh world as to what they use, and for what specific purposes.

    ... I could probably talk for days about all the ideas I have about what potential uses are out there but I'd rather hear from others.
  • wjcroftwjcroft Mount Shasta, CA
    Chip, David, thanks.

    Either of you guys recommend a really good conductive filament for possible 3D printing of comb electrodes? I think @Conor and Joel @biomurph tried some tests and the test 'combs' only worked if gel was applied. Wondering if Ninjaflex could incorporate some of these conductive fibers in a possible new type of elastomeric filament.

    David can you post a pdf link to your recent report on your lab's conductive elastomer electrodes and the phantoms / test setup you use?

    William
  • Dear folks,
    I joined the site most specifically to revive this thread..
    I noticed David has since, true to his word, open-sourced instructions for a phantom head creation (thanks David! awesome site!!). Also, multiple articles have been released describing 3D printed phantom heads (https://vista.cs.technion.ac.il/wp-content/uploads/2018/09/TsiMunBroISBI18.pdf and https://www.nature.com/articles/s41598-017-05006-8#Sec2 are just a couple).

    I'm interested to know - following all this, has an industry standard or common practice has started to emerge?

    Also, I noticed that all of the projects above include the use of some degradable material (usually ballistic gel) is involved in creating the outer layer, unlike the article discussed above in which William was involved (https://www.researchgate.net/publication/230714956_Creation_of_a_Human_Head_Phantom_for_Testing_of_Electroencephalography_Equipment_and_Techniques) which, as I understand, uses no gel of sorts and is thus built to last.
    Why is this? Is this structure extremely hard to reproduce or was it found to be not as stable?

    Any answers you can provide would be most appreciated and either way thank you all for the value you are creating.

  • wjcroftwjcroft Mount Shasta, CA

    Omer, if David (ratlabguy) does not post a further comment here, you can email / message him directly by clicking on his username (above the date line in his comments), then click the Message button. That will forward directly to his email address. He is generally busy on DOD projects.

    Chip has not posted on the forum here for some time, but it's possible. He is still at Creare as far as I know and is involved with an open source hearing aid project, with Joel Murphy (co-founder of OpenBCI).

    https://shop.tympan.org/pages/the-team

    If you do get further info on phantoms from David or elsewhere, feel free to post those. Here is the open source phantom you referred to:

    https://osf.io/qrka2/

    William

  • I'm loving the image of a cantaloupe with EEG headgear.  Totally cracking me up.

    We had the most success with Protopasta PLA.  It's too conductive to properly represent human flesh, but it's not like copper or anything.  Scalp and brain is something on the order of ~300 ohm-cm.  For the batches that we purchased, we were getting a resitivity of something like 4 ohm-cm.  
  • edited March 2020
    While not related to 3D printing an EEG head phantom, I did just recently publicly release a report that I wrote back in 2016 regarding an EEG head phantom that we made using conductive plastic (injection molded, not 3D printing). If you're interested, here is the full report as a PDF version (Research Gate) and here is a Markdown version (GitHub)

    Here's the phantom that we made (notice OpenBCI sneaking in on the far left):


    We used it to play back EEG signals recorded from this guy:


    The key challenge (after making the head) is calibrating it so that you know which combination of electrodes on the inside of the head you need to drive (and with what polarity and intensity) in order to get the desired signals from the scalp.

    For some relatively simple cases, we ended up doing kinda OK:



    Chip

  • When we were working with this head phantom, the challenge that we never fully overcame is that the DC baseline of our EEG signals wandered around a lot when using the phantom. Our human subject gave pretty stable near-DC signals over our relatively-short recording durations. The head phantom showed a lot more near-DC variability, even over these short periods.

    We saw this with two EEG systems (one OpenBCI system and one from ANT) so I don't think that it was the EEG system. I think that it was the interaction of the EEG system, the EEG gel, and the head phantom.

    If you don't care about really low-frequency performance, it's fairly easy to filter out this low frequency stuff (most of the time). But, if you **do** care about very low-frequency EEG, you might find this to be a troublesome problem!

    Chip
  • wjcroftwjcroft Mount Shasta, CA

    Here are two projects / papers discovered by Scott Yuen last week:

    https://www.mdpi.com/1424-8220/21/14/4658/htm
    "A Long-Lasting Textile-Based Anatomically Realistic Head Phantom for Validation of EEG Electrodes"

    Abstract
    During the development of new electroencephalography electrodes, it is important to surpass the validation process. However, maintaining the human mind in a constant state is impossible which in turn makes the validation process very difficult. Besides, it is also extremely difficult to identify noise and signals as the input signals are not known. For that reason, many researchers have developed head phantoms predominantly from ballistic gelatin. Gelatin-based material can be used in phantom applications, but unfortunately, this type of phantom has a short lifespan and is relatively heavyweight. Therefore, this article explores a long-lasting and lightweight (−91.17%) textile-based anatomically realistic head phantom that provides comparable functional performance to a gelatin-based head phantom. The result proved that the textile-based head phantom can accurately mimic body-electrode frequency responses which make it suitable for the controlled validation of new electrodes. The signal-to-noise ratio (SNR) of the textile-based head phantom was found to be significantly better than the ballistic gelatin-based head providing a 15.95 dB ± 1.666 (±10.45%) SNR at a 95% confidence interval.

    https://osf.io/qrka2/
    "Open EEG Phantom"

    OVERVIEW: The goal of this project is to provide freely available information for anyone interested in fabricating their own “phantom” for EEG and similar electrophysiology recording.
    Below are design files for 3-D printing (or whatever medium you prefer) mold and construction parts and related instructions for making your own EEG phantom.
    BACKGROUND: Why would we need an EEG phantom? For the same reason as any other biomedical imaging phantom – to provide a “ground truth” signal for use in validation, testing, and calibration of new data acquisition (DAQ) components. While MRI, PET, CT, and most other imaging modalities have well-established phantom methods, nothing has been adopted by the EEG development community. Classically, developers have used human subjects their test medium. Unfortunately this is not a good solution because of the lack of control of the underlying signal, or known for certain where the generating sources are, etc. The goal of this work is to provide a means to address this gap, freely available to the community.

  • @wjcroft said:
    Here are two projects / papers discovered by Scott Yuen last week:

    https://www.mdpi.com/1424-8220/21/14/4658/htm
    "A Long-Lasting Textile-Based Anatomically Realistic Head Phantom for Validation of EEG Electrodes"

    Abstract
    During the development of new electroencephalography electrodes, it is important to surpass the validation process. However, maintaining the human mind in a constant state is impossible which in turn makes the validation process very difficult. Besides, it is also extremely difficult to identify noise and signals as the input signals are not known. For that reason, many researchers have developed head phantoms predominantly from ballistic gelatin. Gelatin-based material can be used in phantom applications, but unfortunately, this type of phantom has a short lifespan and is relatively heavyweight. Therefore, this article explores a long-lasting and lightweight (−91.17%) textile-based anatomically realistic head phantom that provides comparable functional performance to a gelatin-based head phantom. The result proved that the textile-based head phantom can accurately mimic body-electrode frequency responses which make it suitable for the controlled validation of new electrodes. The signal-to-noise ratio (SNR) of the textile-based head phantom was found to be significantly better than the ballistic gelatin-based head providing a 15.95 dB ± 1.666 (±10.45%) SNR at a 95% confidence interval.

    >

    I'm familiar with this paper. While what they propose is quite useful, what the authors have completely overlooked is that gelatins are a model because it is an ionic substrate roughly akin to skin. I say roughly because its still moist and not a great analog, but currently (IMO) the easiest and cheapest thing you can do that is semi-realistic.
    This is important because a LARGE part of the magic of getting a good signal with electrical sensing is the skin-to-electrode junction. In the normal situation it is a semi-capacitive relationship where ions fluctuating at your skin (which have arise from internal brain fluctuations) have to excite electrons on the other side of the junction (electrode). Conventionally AgCl is used to make this happen... and a big part of the reason why most so-called "dry" electrodes suck is because they have no mechanism for connecting ionic flux to electronic. E.g. it is purely capacitive.
    The point of all of this rambling is that it means if you want to provide or test the efficacy of an electrode recording system, you really need to have this non-ideal situation replicated - an ion-electrode interface.

    In the above paper, however, they totally short-circuit this by using an electrically conductive cloth membrane. Functionally this is no different that a wire, and really at this point you might as well just take a wire and connect a function generator right to the EEG electrode. The head model buys you nothing at all, except a nice shape to set a cap on. I guess it would be good for testing timing and such, or if your just need to confirm "yes my system works" for some pre-made form factor.

  • edited March 2022

    Here's an alternative idea: If you don't want to mix up gelatins or make a phantom head - go to the butcher and buy $5 worth of pig skin. Then attach a function generator to that.

    https://ieeexplore.ieee.org/abstract/document/8717106
    "tACS generator as method for evaluating EEG electrodes: Initial validation using pig skin" Publisher: IEEE

    :o B)

  • wjcroftwjcroft Mount Shasta, CA

    David, thanks much for your comments and feedback. I'll relay these and your paper to Scott Yuen.

    Attached below a link to the pdf of your 2019 paper.
    "tACS generator as method for evaluating EEG electrodes: Initial validation using pig skin" Publisher: IEEE
    https://openbci.com/forum/uploads/editor/s5/u74iv0g3y18i.pdf

    William

  • wjcroftwjcroft Mount Shasta, CA

    David, do you have any comments on the Creare phantom (posted in earlier comments above). Link:

    https://www.researchgate.net/publication/339697951_Design_and_Demonstration_of_a_Head_Phantom_for_Testing_of_Electroencephalography_EEG_Equipment

  • wjcroftwjcroft Mount Shasta, CA
    edited August 2022

    https://ieeexplore.ieee.org/document/9475461

    "Investigating Gelatine Based Head Phantoms for Electroencephalography Compared to Electrical and Ex Vivo Porcine Skin Models"
    Abstract:
    Gelatine based phantoms for electrophysiology are becoming widely used as they allow the controlled validation of new electrode and new instrumentation designs. The phantoms mimic the electrical properties of the human body and allow a pre-recorded electrophysiology signal to be played-out, giving a known signal for the novel electrode or instrumentation to collect. Such controlled testing is not possible with on-person experiments where the signal to be recorded is intrinsically unknown. However, despite the rising interest in gelatine based phantoms there is relatively little public information about their electrical properties and accuracy, how these vary with phantom formulation, and across both frequency and duration of use. This paper investigates ten different phantom configurations, characterising the impedance of the gelatine and electrodes, comparing this to both previously reported electrical models of Ag/AgCl electrodes placed on human skin and to a model made from ex vivo porcine skin. This article shows how the electrical properties of the phantoms can be tuned using different concentrations of gelatine and of sodium chloride (NaCl) added to the mixture, and how these properties vary over the course of seven days for a.c. frequencies in the range 20-1000 Hz. The results demonstrate that gelatine phantoms can accurately mimic the frequency response properties of the body-electrode system to allow for the controlled testing of new electrode and instrumentation designs.

Sign In or Register to comment.