Difference between revisions of "Programmable Chip EEG"
(revert to 15:48, 8 June 2007 to restore text deleted by spammer) |
m (Reverted edit of DavidCary, changed back to last version by 204.80.61.114) |
||
Line 35: | Line 35: | ||
Here is how the analog signal prossesing board will come together. | Here is how the analog signal prossesing board will come together. | ||
[[Image:newpceeghddesign.png]] | [[Image:newpceeghddesign.png]] | ||
+ | |||
+ | Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system... | ||
==ESD Protection in 1168 and Max3235E == | ==ESD Protection in 1168 and Max3235E == | ||
Line 148: | Line 150: | ||
* [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.] | * [http://www.alertfocus.com/evidence/music17.php neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.] | ||
* [http://health.groups.yahoo.com/group/biofeedback/ "the World's largest Biofeedback and Neurofeedback Discussion Group"] | * [http://health.groups.yahoo.com/group/biofeedback/ "the World's largest Biofeedback and Neurofeedback Discussion Group"] | ||
+ | |||
+ | [[Category:Projects]] |
Revision as of 11:57, 26 June 2007
Contents
- 1 The Programmable Chip EEG
- 2 PCEEG, What it is and why it can be the best
- 3 Status
- 4 Hardware Overview
- 5 ESD Protection in 1168 and Max3235E
- 6 Description of How it Works
- 7 Software Tools
- 8 Parts used in the PCEEG:
- 9 News
- 10 Open Source Circuit Design
- 11 Open source (public) results!
- 12 A/D Converters
- 13 The Goal
- 14 See also:
The Programmable Chip EEG
Welcome to the PCEEG Wiki, where everyone can add to this EEG brain-computer interface!
PCEEG, What it is and why it can be the best
- The The Programmable Chip EEG gets its name because its hardware and software can be adjusted digitaly from a home pc.
- The hardware can be adjusted by Digitally Programmable Potentiometers. They are used to set the Gain, and frequency responce.
This is usefull to calibrate multiple analog boards for different EEG tests.
- The Programmable Chip EEG is a Modular Multi-channel electroencephalograph.
- This can be used for a brain-computer interface with biofeedback using a flex sensor or servo to detect fingure movements.
- The LT1168 Programmable-Gain Precision Instrumentation Amplifier is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, and has internal protection circuitry for the user.
- Several matched LT1114 Low Power Precision OP-Amps are used for amplification and filtering of the signals.
- ESD Protection in 1168 and Max3235E
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet.
- The Digitally Programmable Potentiometers AD5204 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier. (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)
- To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit. Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).
- The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the AVR Butterfly which will, further process the signals, and provide an interface to a computer & lcd display.
Status
We currently have a (preliminary?) circuit design and a (prelimary) PCB layout. We are using LT switcher CAD to draw the scematic.
Hardware Overview
Here is a diagram of how the analog signal processing boards and the microprocessor board will come together. Here is how the analog signal prossesing board will come together.
Great cows basic and a 18 series pic would work well and be quick to implement. Also that allows for a complete open source system...
ESD Protection in 1168 and Max3235E
Chips have been chosen that fallow the human body model of esd protection this can be seen in the 1168 and Max3235E datasheet.
Description of How it Works
The daughter signal prossesing board is responcible for filtering and digitising the signals from the body, then the signals are passed to the control board that is the motherboard. The motherboard then can pass the signal to a larger computer.
The differential analog signal is amplified by the instramentation amplifier. Then the signal is amplified and conditioned by high pass and low pass filters.
The common mode signal is inverted summed and sent back to the body to decrese common mode signal thsi is done by the driver right leg circuit.
Band reject filters may be added soon in the future.
Then the analog signals are simultaniously digitized and the digital values can be clocked to the controler motherboard.
The controler board that is the mother board of the system and the signal prossesing daughter boards plug into is the AVR Butterfly
How You Can Help
- . get the tools
Software Tools
- We are using LT switcher CAD to draw the scematic. This also is a SPICE Simulator used to analize the amplifier design.
- Eagle CAD could be used in the future after all the parts are surface mount & the analog sections are alalised. To autorout future designs.
- Express PCB is being used to create the first PCB but surface mount must be used to save hole count and space.
- Maxima a computer algebra system s used for graphing and matth displays.
- I2C interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.
- SPI interface diagram for programmable resistors and a/d converters 12 or more bits with low cost.
- linear switcher cad schematic drawing from PCEEG technology applied to the Open EEG design with improvements.
- migrate from switcher cad to pcb express.
- migrate from pcb express to eagle cad after testing to further development.
Parts used in the PCEEG:
- LT1168 Programmable-Gain Precision Instrumentation Amplifier is used to amplify the weak electric signals coming from the brain through electrodes attached to the scalp, etc.
- Several LT1114 Low Power Precision OP-Amps are used for amplification and filtering of the signal
- The Digitally Programmable Potentiometers AD5204 4-Channel Digitally Controlled Potentiometer is used to make calibration of this device easier. (Historically, a weak point of homebrew designs has been their sensitivity to component value; tolerance and drift have made them require constant tweaking for good results.)
To reduce noise in the readout of the analog part of this circuit, a common-mode feedback is passed back into the body by the driver right leg circuit. Band reject filter may also be used (to reject, for example, 60Hz noise from nearby A/C power wiring).
The analog signal prossesing board will digitise the signal and pass the data to the control board. The control board is based on the AVR Butterfly which will, further process the signals, and provide an interface to a computer & lcd display.
News
The design is switching to EAGLE CAD, because the auto-router is excellent for open-source productivity. It will allow the design to evolve faster and with less work with a wider selection of PCB Manufacturers.
Here is a picture of the PCEEG being done in EagleCAD. The eagle cad file is here Media:PCEEGHD.zip
The ideas and monkey to robot arm interface by Miguel Nicolelisis very inspiring. He used implanted electrodes to monitor and allow monkeys to control a robot arm as if it was their own. Could the PCEEG do the same with its electrodes on the scalp. Only the future will show.
Open Source Circuit Design
Open source (public) results!
PHP will be used to create a database of users and what they sample and choose to share with the open source community.
The database will give statistical analysis on users recordings.
Also the extension of SETI called BIONIC could be used as a distributed library creation of artifacts and data mining.
Please contribute and make the PCEEG a great tool for researching brain computer interfaces.
A/D Converters
The programmable chip EEG needs an A/D converter to convert the analog signal (at the output of the instrumentation amplifier) into digital bits. We expect this project to require at least 20 bit ADC.
The ads1255 by ti is a great a2d converter it has programmable gain and digital low pass filtering with 24 bits of resolution 30KSPS.
It is a 20-SSOP so it might be able to be soldered by a hotplate or hot air rework tool.
Many Atmel and other microcontrollers have a built-in ADC, but those are at most 10 bit ADC, so that ADC is useless to us -- we are forced to use an external ADC.
What low-cost ADC are available with at least 12 bits?
- $2.50 MCP3301 has 1 ADC input (13 bits)
- $3.50 MCP3302 has 2 ADC input (13 bits)
- $3.50 MCP3204 has 4 ADC input (12 bits)
- $4 MCP3208 has 8 ADC input (12 bits)
- $8 dsPIC30F 2011 microcontroller has 8 ADC inputs (12 bits). See dsPIC30F 5011 Development Board for details.
- $6 CY8C27443 Cypress PSoC microcontroller has 4 ADC inputs (14 bits) -- but what is the sampling rate? Also has 4 DAC outputs (9 bits).
- biosemi used analog devices AD7716 22 bit
The newest system is a dc amplifier without a high-pass, and all the low-pass filtering is digital
The Goal
Eventually, kits could be sold, if there were interest. More info is available at the PCEEG SourceForge home page at PCEEG sourceforge.net.
See also:
- The OpenEEG wiki
- The Open EEG Brain Computer Interface BLog
- EEG Training Seminars
- wiki cities on pceeg
- pceeg.sourceforge.net
- miguel nicolelis
- Maxima - a computer algebra system
- digital high pass filters and other circuits
- human and computer vision lab
- PCB Manufacturers such as www.batchpcb.com
- eeg biofeedback "mind machine"
- monolith eeg
- yet another pundit disrespects the EEG
- lazer cutting for box & solder paste stencil
- Build Your Own Printed Circuit Board
- solder paste for surface mount that can be stored at room temperature
- The thread "amplifying biomedical signals: 150 uA with 16 bit resolution?" has several op-amp suggestions, and mentions that "a good, low-noise, low-cost, isolated EMG/EEG amplifier is one of the most demanding analog electronics designs."
- How to build your own ECG device
- neurofeedback helps musicians improve their musical performances by 13 to 17 per cent.
- "the World's largest Biofeedback and Neurofeedback Discussion Group"