https://github.com/joshbrew/eeg-amplifier
Quad op amp differential amplifier with reference and gain stage. Contains all calculations needed.
https://github.com/joshbrew/eeg-amplifier
Last synced: 5 months ago
JSON representation
Quad op amp differential amplifier with reference and gain stage. Contains all calculations needed.
- Host: GitHub
- URL: https://github.com/joshbrew/eeg-amplifier
- Owner: joshbrew
- License: agpl-3.0
- Created: 2023-09-16T04:50:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T18:57:29.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T06:32:41.213Z (about 1 year ago)
- Size: 4.24 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## EEG Differential Amplifier
The main circuit here uses 4 low noise op amps to achieve EEG differential amplification. This should plug into any single ended ADC (or put your negative input to ground) to allow even as low as 10 bit EEG.
The amps cost 10 cents from TI, not including the PCB which will vary.
The reference design is for 1000x gain at 5v with a 2.5v voltage reference. All calculations are in the pdf for your needs.
### Resources
- [Differential Amp BOM](https://docs.google.com/spreadsheets/d/1rzFOKtwm5F1gYTblCt51H4664hxHK5iFGmpR6K0Omsg/edit?usp=sharing)
- [Gain Amp BOM](https://docs.google.com/spreadsheets/d/1fu1xdZPcOAWwaKk6sFUOHw02OROvW1wCZvjth2xU8xA/edit?usp=sharing)
- [Design reference](https://github.com/joshbrew/EEG-Amplifier/blob/main/EEG_Active_electrode_design.pdf) by Abishek Parikh.
Other info pulled from datasheets.
Note my previous OPA202 config was incorrect. And use this formula for calculating the bandpass:

In our config, + is our reference
(e.g. ear for EEG or opposite wrist for ECG)
Gain = R2 / R1
### OPA4202ID/TL084CDR/TL084OD (or compatible SOIC14) SMT mount.

OPA4202ID is more expensive but MUCH better quality, with better input impedance (3TΩ) and a 9nV/sqrt(Hz) noise density starting at 0.1Hz. The TL084's spectral noise doesn't bottom out until near 1kHz.
### 4mm Snap Button Electrode Mountholes


Sized for Florida Instruments reusable plastic snap electrodes.
### TL084HCN (A,B,H, etc) Thruhole amp (for DIY)

### OPA4202IPW or OPA4377 (or compatible TSSOP14) SMT mount.

### Schematics

The BioAmp EXG Pill has a different layout you can check out. Same chipset.
### Noise vs Measured Bandwidth on OPA4202

Note: Noise calcs are probably inaccurate. Lower frequencies have higher noise density. Adjust bandpass accordingly.
TL084 noise density:

OPA4202 noise density:

OPA4202 or OPA4377 are about a dollar. I think the 4202 is better based on the noise.
## Also included in CAD/singular_amps
Single and Dual OPA202/OPA2202 gain amplifiers. E.g. for pre-amplification. Great low frequency noise density.

### OPA202 (or pin compatible) VSSOP8 package (or pin compatible)

### OPA202 VSSOP8 package with 4mm electrode mount

### OPA202 SOIC8 package and thruhole resistors/capacitors (easier to hand solder)

### OPA202 SOIC8 package thruhole with 4mm electrode mount

EAGLE drawings by Josh Brewster. Works in free EAGLE or you can import them elsewhere usually.
Best prices are on TI.com just FYI...
Free source! Definitely question my circuitry before you use it.