A Design of EEG Collecting System Based on DSP (Digital Signal Processor)
- Author
- JiangHong
- Advisor
- WuXiaoPei , ZhangDaoXin
- School
- Anhui University
- Major
- Signal and Information Processing
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 712
- Citations
- 5
Abstract
Electroencephalogram(EEG)signal is a typical signal of bioelectricity. When nerve cells of a brain transmit information, it is a general reflection of electrical activities in the cortical layer and on the scalp, which contains much physiological and pathological information. We can learn the relationship between the electrical activities of nerve cells and the physiological and pathological states of people, and this relationship has great significance in the province of the clinical medicine and the cognitive science. While people get a deeper acquaintanceship with the electrical activities of brains, a device that can note or describe electrical activities of brains is invented accordingly. An electroencephalograph is a device that specially does the job above. Along with the invention of differential amplifiers, the first electroencephalograph was invented in 1934. The operation theory of it is as follows: firstly, we can use electrodes that are placed in the cortical layer and on the scalp to detect low EEG signals. And then a connection of electrodes is used as a coupling to differential amplifiers, through which the EEG signal is magnified properly. Lastly, a recording device notes the signal.This paper mainly introduces the software and hardware design that we use in the technology research of EEG. And the analyses of EEG by are also introduced.In chapter one, we introduce the basic knowledge and classification of EEG at present, the fixing way of EEG electrodes and the connecting way of EEG. To study EEG better, it is necessary that it should be fully saved in a computer. From a different point of view, the hardware system is also a collecting system of EEG. We must magnify EEG because its voltage is very low, which is usually between 10uv and 50uv. In chapter two, we introduce the method to design the magnifying circuits in the EEG collecting system. Since the background noise of EEG is very strong, lots of disturbing signals are included in our measurements. So we also introduce an antijaming consideration and retraining measures of the eletrode lead.While magnifying EEG, polarizing voltage of electrodes, voltage of high frequencyinterference, voltage of 50Hz power line interference that disturbs EEG worst, are magnified at the same time. We must use filters to filter these interferers. So in chapter three, we introduce filter circuits used in EEG collecting system, including a low-pass filter, a high-pass filter and a 50Hz-trap filter. In chapter four, a controller is introduced. We choose TMS320VC5402 DSP as the controller of our system. Since the memory room of the chip is small, we extend a program memory and a data memory. To realize the task of sampling the EEG, we connect one multi-channel buffered serial port (McBSP) of DSP with a serial A/D converter TLV2544. We also use PC’s parallel port to communicate with the host port interface (HPI) of DSP, and save the samples collected by DSP in the PC with the format of files. Detailed descriptions are also given upon the HPI and PC’s parallel port.In the last chapter, we give detailed descriptions on the initialization of the system, on-line FLASH programming, communication program design of both DSP and PC, band-pass filtering, adaptive filtering and so on.Thus our system includes such steps as magnification, preprocess and A/D conversion of EEG, communication between DSP and PC, data preprocessing and saving. Surely these are the essential steps of the system debug. So this paper gives a relatively detailed explanation on both the hardware part and the software part.
Table of contents
The first chapter 9-15
1.1 basics of EEG 9
categories
1.2 EEG 9-11
1.2.1 EEG 9-10
1.2.2 evoked 10-11
1.3 International Society of standard electrode EEG installation method 11-12
1.4 EEG lead law 12-15
1.4.1 unipolar lead law 13
1.4.2 bipolar lead law 13-15
The second chapter EEG amplifier design 15-27
Security considerations
2.1 measurement system 15
2.2 amplifying circuit design considerations 15-16
2.3 pre -amplifier design of the basic requirements 16-20
2.4 EEG amplifier design 20-24
2.4.1 pre-stage and second-stage amplifier design 20-22
2.4.2 isolation level design 22-24
2.4.3 The third stage amplifier design 24
2.5 EEG acquisition interference consider 24-27
preprocessing circuit design
Chapter EEG 27-34
3.1 preprocessing circuit filter selection 27
3.2 EEG low- pass filter 27-30
3.2.1 first-order low -pass filter 27-29
3.2.2 EEG low- pass filter 29-30
3.3 EEG high-pass filter 30-31
3.4 EEG 50Hz frequency filter 31-34
Chapter IV controller section
EEG acquisition 34-58
4.1 TMS320VC5402 DSP Overview 34-36
4.2 5402 DSP memory space allocation and space arrangement of the acquisition system 36-39
4.3 external program memory expansion 39-42
4.3.1 on CY7C1021 39-40
4.3.2 DSP hardware connection with CY7C1021 40-42
4.4 external data memory expansion 42-44
4.4.1 SST39VF400A FLASH memory 42-44
4.4.2 5402 DSP hardware connection with SST39VF400A 44
Parallel Communications
4.5 5402 DSP 's HPI and PC 44-50
4.5.1 5402 DSP host interface (HPI) 44-47
4.5.2 PC machine EPP parallel port 47-48
4.5.3 PC machine EPP parallel port with 5402 DSP 's HPI hardware connection 48-50
4.6 5402 DSP 's McBSP and A / D converter TLV2544 50-55
4.6.1 5402 DSP 's McBSP 51-53
4.6.2 AD converter TLV2544 53-54
4.6.3 5402 DSP hardware connection with TLV2544 54-55
4.7 5402 DSP power and reset circuit 55-58
4.7.1 5402 DSP power supply circuit 55-56
4.7.2 5402 DSP reset circuit 56-58
Chapter V software design 58-75
5.1 system initialization 58-59
5.1.1 CPU internal registers initialized 58
initialization 5.1.2 McBSP0 of 58-59
5.2 system online bootstrap loader design 59-64
Select
5.2.1 Boot Loader mode 60-63
Writing
5.2.2 program code 63-64
5.3 DSP communications procedures designed 64-65
5.4 sampling rate setting 65-66
5.5 DSP EEG processing algorithms 66-73
5.5.1 FIR filter design 66-70
5.5.2 adaptive filtering 70-73
5.6 PC -side program designed 73-75
Chapter VI Conclusion 75-76
References 76-79
Thanks 79-80
study published during the dissertation 80
Appendix 80
Related dissertations
- Research of Adaptive Filter Based on FPGA for EEG Signal Processing
- Research on High-Speed Spindle Controller of Precision Grinding Machines
- The Fabrication of Detection Circuit Based on Adaptive Filter for MEMS Acceleration Sensor
- Research on Fault Detection Method of Heterogeneous Network Based on Mobile Agent
- The Control Based on the Brain Computer Interface and Research of Virtual Scene Application
- Researh on Fatigue Driving Detection Method and Its Implemention in Embeded System
- Research on Nonlinear Bayesian Filtering and Its Application for SINS/GPS Tightly Coupled Navigation
- Research of Adaptive Echo Cancellation Algorithm Applied to Public Address
- Nonlinear Analysis for Epileptic Brain Electric Signals
- The Motor Imagery EEG Processing Technology Research
- The Basic Research of Health and Safety Assessment on Three-dimensional TV Based on EEG
- Study on the Removal of the Artifacts from EEG Data Based on the ICA and WCCA
- Research on Improvement and Application of Least Mean Square Algorithm
- The Research of Motor Imagery Recognition in Virtual Reality
- The Design of Adaptive Acoustic Feedback Suppressor Based on SHARC DSP
- Research on Adaptive Filter Design Based on Optimization Algorithms and Their Applications
- Research on the Parallel Hybrid Active Power Filter Based on the Instantaneous Reactive Power Theory
- Research of Adaptive Filter
- Research of Fatigue Related Association between Agonistic, Antagonistic Muscle sEMG and EEG
- Study of Behavior and ERP on Comparison of Affective Riming and Semantic Priming of Third and Fifth Grades'Children