Introduction to EEG
The neural activity of the human brain starts between the 17th and 23rd week of prenatal development. It is believed that from this early stage and throughout life electrical signals generated by the brain represent not only the brain function but also the status of the whole body. This assumption provides the motivation to apply advanced digital signal processing methods to the electroencephalogram (EEG) signals measured from the brain of a human subject, and thereby underpins the later chapters of the book.
Although nowhere in this book do the authors attempt to comment on the physiological aspects of brain activities there are several issues related to the nature of the original sources, their actual patterns, and the characteristics of the medium, that have to be addressed. The medium defines the path from the neurons, as so-called signal sources, to the electrodes, which are the sensors where some form of mixtures of the sources are measured.
Understanding of neuronal functions and neurophysiological properties of the brain together with the mechanisms underlying the generation of signals and their recordings is, however, vital for those who deal with these signals for detection, diagnosis, and treatment of brain disorders and the related diseases. A brief history of EEG measurements is first provided.
Carlo Matteucci (1811–1868) and Emil Du Bois-Reymond (1818–1896) were the first people to register the electrical signals emitted from muscle nerves using a galvanometer and established the concept of neurophysiology [1,2]. However, the concept of action current introduced by Hermann Von Helmholz  clarified and confirmed the negative variations that occur during muscle contraction.
Richard Caton (1842–1926), a scientist from Liverpool, England, used a galvanometer and placed two electrodes over the scalp of a human subject and thereby first recorded brain activity in the form of electrical signals in 1875. Since then, the concepts of electro-(referring to registration of brain electrical activities) encephalo- (referring to emitting the signals from the head), and gram (or graphy), which means drawing or writing, were combined so that the term EEG was henceforth used to denote electrical neural activity of the brain.
Fritsch (1838–1927) and Hitzig (1838–1907) discovered that the human cerebral can be electrically stimulated. Vasili Yakovlevich Danilevsky (1852–1939) followed Caton’s work and finished his PhD thesis in the investigation of the physiology of the brain in 1877 . In this work, he investigated the activity of the brain following electrical stimulation as well as spontaneous electrical activity in the brain of animals.
The cerebral electrical activity observed over the visual cortex of different species of animals was reported by Ernst Fleischl von Marxow (1845–1891). Napoleon Cybulski (1854–1919) provided EEG evidence of an epileptic seizure in a dog caused by electrical stimulation.
The idea of the association of epileptic attacks with abnormal electrical discharges was expressed by Kaufman . Pravidch-Neminsky (1879–1952), a Russian physiologist, recorded the EEG from the brain, termed the dura, and the intact skull of a dog in 1912. He observed a 12–14 cycle/s rhythm under normal conditions, which slowed under asphyxia and later called it the electrocerebrogram.
The discoverer of the existence of human EEG signals was Hans Berger (1873–1941). He began his study of human EEGs in 1920 . Berger is well known by almost all electroencephalographers. He started working with a string galvanometer in 1910, then migrated to a smaller Edelmann model, and after 1924, to a larger Edelmann model. In 1926, Berger started to use the more powerful Siemens double coil galvanometer (attaining a sensitivity of 130 µV/cm) . His first report of human EEG recordings of one to three minutes duration on photographic paper was in 1929. In this recording he only used a one-channel bipolar method with fronto-occipital leads. Recording of the EEG became popular in 1924. The first report of 1929 by Berger included the alpha rhythm as the major component of the EEG signals, as described later in this chapter, and the alpha blocking response.
During the 1930s the first EEG recording of sleep spindles was undertaken by Berger. He then reported the effect of hypoxia on the human brain, the nature of several diffuse and localized brain disorders, and gave an inkling of epileptic discharges . During this time another group established in Berlin-Buch and led by Kornmüller, provided more precise recording of the EEG . Berger was also interested in cerebral localization and particularly in the localization of brain tumours. He also found some correlation between mental activities and the changes in the EEG signals.
Toennies (1902–1970) from the group in Berlin built the first biological amplifier for the recording of brain potentials. A differential amplifier for recording EEGs was later produced by the Rockefeller foundation in 1932.
The importance of multichannel recordings and using a large number of electrodes to cover a wider brain region was recognized by Kornmüller . The first EEG work focusing on epileptic manifestation and the first demonstration of epileptic spikes were presented by Fischer and Löwenbach [11–13].
In England, W. Gray Walter became the pioneer of clinical electroencephalography. He discovered the foci of slow brain activity (delta waves), which initiated enormous clinical interest in the diagnosis of brain abnormalities. In Brussels, Fredric Bremer (1892–1982) discovered the influence of afferent signals on the state of vigilance .
Research activities related to EEGs started in North America in around 1934. In this year, Hallowell Davis illustrated a good alpha rhythm for himself. A cathode ray oscilloscope was used around this date by the group in St Louis University in Washington, in the study of peripheral nerve potentials. The work on human EEGs started at Harvard in Boston and the University of Iowa in the 1930s. The study of epileptic seizure developed by Fredric Gibbs was the major work on EEGs during these years, as the realm of epileptic seizure disorders was the domain of their greatest effectiveness. Epileptology may be divided historically into two periods : before and after the advent of EEG. Gibbs and Lennox applied the idea of Fischer based on his studies about picrotoxin and its effect on the cortical EEG in animals to human epileptology. Berger  showed a few examples of paroxysmal EEG discharges in a case of presumed petit mal attacks and during a focal motor seizure in a patient with general paresis.
As the other great pioneers of electroencephalography in North America, Hallowel and Pauline Davis were the earliest investigators of the nature of EEG during human sleep. A. L. Loomis, E. N. Harvey, and G. A. Hobart were the first who mathematically studied the human sleep EEG patterns and the stages of sleep. At McGill University, H. Jasper studied the related behavioural disorder before he found his niche in basic and clinical epileptology .
The American EEG Society was founded in 1947 and the First International EEG Congress was held in London, United Kingdom, around this time. While the EEG studies in Germany were still limited to Berlin, Japan gained attention by the work of Motokawa, a researcher of EEG rhythms . During these years the neurophysiologists demonstrated the thalamocortical relationship through anatomical methods. This led to the development of the concept of centrencephalic epilepsy .
Throughout the 1950s the work on EEGs expanded in many different places. During this time surgical operation for removing the epileptic foci became popular and the book entitled Epilepsy and the Functional Anatomy of the Human Brain (Penfiled and Jasper) was published. During this time microelectrodes were invented. They were made of metals such as tungsten or glass, filled with electrolytes such as potassium chloride, with diameters of less than 3 µm.
Depth electroencephalography of a human was first obtained with implanted intracerebral electrodes by Mayer and Hayne (1948). Invention of intracellular microelectrode technology revolutionized this method and was used in the spinal cord by Brock et al. in 1952 and in the cortex by Phillips in 1961.
Analysis of EEG signals started during the early days of EEG measurement. Berger assisted by Dietch (1932) applied Fourier analysis to EEG sequences, which was rapidly developed during the 1950s. Analysis of sleep disorders with EEGs started its development in the 1950s through the work of Kleitman at the University of Chicago.
In the 1960s analysis of the EEGs of full-term and premature newborns began its development . Investigation of evoked potentials (EPs), especially visual EPs, as commonly used for monitoring mental illnesses, progressed during the 1970s.
The history of EEG, however, has been a continuous process, which started from the early 1300s and has brought daily development of clinical, experimental, and computational studies for discovery, recognition, diagnosis, and treatment of a vast number of neurological and physiological abnormalities of the brain and the rest of the central nervous system (CNS) of human beings. Nowadays, EEGs are recorded invasively and noninvasively using fully computerized systems. The EEG machines are equipped with many signal processing tools, delicate and accurate measurement electrodes, and enough memory for very long-term recordings of several hours. EEG or MEG (magnetoencephalogram) machines may be integrated with other neuroimaging systems such as functional magnetic resonance imaging (fMRI). Very delicate needle-type electrodes can also be used for recording the EEGs from over the cortex (electrocortiogram), and thereby avoid the attenuation and nonlinearity effects induced by the skull. The nature of neural activities within the human brain will be discribed next.
The CNS generally consists of nerve cells and glia cells, which are located between neurons. Each nerve cell consists of axons, dendrites, and cell bodies. Nerve cells respond to stimuli and transmit information over long distances. A nerve cell body has a single nucleus and contains most of the nerve cell metabolism, especially that related to protein synthesis. The proteins created in the cell body are delivered to other parts of the nerve. An axon is a long cylinder, which transmits an electrical impulse and can be several metres long in vertebrates (giraffe axons go from the head to the tip of the spine). In humans the length can be a percentage of a millimetre to more than a metre. An axonal transport system for delivering proteins to the ends of the cell exists and the transport system has ‘molecular motors’, which ride upon tubulin rails.
Dendrites are connected to either the axons or dendrites of other cells and receive impulses from other nerves or relay the signals to other nerves. In the human brain each nerve is connected to approximately 10,000 other nerves, mostly through dendritic connections.
The activities in the CNS are mainly related to the synaptic currents transferred between the junctions (called synapses) of axons and dendrites, or dendrites and dendrites of cells. A potential of 60–70 mV with negative polarity may be recorded under the membrane of the cell body. This potential changes with variations in synaptic activities. If an action potential travels along the fibre, which ends in an excitatory synapse, an excitatory postsynaptic potential (EPSP) occurs in the following neuron. If two action potentials travel along the same fibre over a short distance, there will be a summation of EPSPs producing an action potential on the postsynaptic neuron providing a certain threshold of membrane potential is reached. If the fibre ends in an inhibitory synapse, then hyperpolarization will occur, indicating an inhibitory postsynaptic potential (IPSP) [21,22]. Figure 1.1 shows the above activities schematically.
Following the generation of an IPSP, there is an overflow of cations from the nerve cell or an inflow of anions into the nerve cell. This flow ultimately causes a change in potential along the nerve cell membrane. Primary transmembranous currents generate secondary inonal currents along the cell membranes in the intra- and extracellular space. The portion of these currents that flow through the extracellular space is directly responsible for the generation of field potentials. These field potentials, usually with less than 100 Hz frequency, are called EEGs when there are no changes in the signal average and DC if there are slow drifts in the average signals, which may mask the actual EEG signals. A combination of EEG and DC potentials is often observed for some abnormalities in the brain such as seizure (induced by pentylenetetrazol), hypercapnia, and asphyxia . The focus will next be on the nature of active potentials.
The information transmitted by a nerve is called an action potential (AP). APs are caused by an exchange of ions across the neuron membrane and an AP is a temporary change in the membrane potential that is transmitted along the axon. It is usually initiated in the cell body and normally travels in one direction. The membrane potential depolarizes (becomes more positive), producing a spike. After the peak of the spike the membrane repolarizes (becomes more negative). The potential becomes more negative than the resting potential and then returns to normal. The action potentials of most nerves last between 5 and 10 milliseconds. Figure 1.2 shows an example AP.
The conduction velocity of action potentials lies between 1 and 100 m/s. APs are initiated by many different types of stimuli; sensory nerves respond to many types of stimuli, such as chemical, light, electricity, pressure, touch, and stretching. On the other hand, the nerves within the CNS (brain and spinal cord) are mostly stimulated by chemical activity at synapses.
A stimulus must be above a threshold level to set off an AP. Very weak stimuli cause a small local electrical disturbance, but do not produce a transmitted AP. As soon as the stimulus strength goes above the threshold, an action potential appears and travels down the nerve.
The spike of the AP is mainly caused by opening of Na (sodium) channels. The Na pump produces gradients of both Na and K (potassium) ions. Both are used to produce the action potential; Na is high outside the cell and low inside. Excitable cells have special Na and K channels with gates that open and close in response to the membrane voltage (voltage-gated channels). Opening the gates of Na channels allows Na to rush into the cell, carrying positive charge. This makes the membrane potential positive (depolarization), producing the spike. Figure 1.3 shows the stages of the process during evolution of an action potential for a giant squid. For a human being the amplitude of the AP ranges between approximately −60 mV and 10 mV. During this process :
The nerve requires approximately two milliseconds before another stimulus is presented. During this time no AP can be generated. This is called the refractory period. The generation of EEG signals is next described.
An EEG signal is a measurement of currents that flow during synaptic excitations of the dendrites of many pyramidal neurons in the cerebral cortex. When brain cells (neurons) are activated, the synaptic currents are produced within the dendrites. This current generates a magnetic field measurable by electromyogram (EMG) machines and a secondary electrical field over the scalp measurable by EEG systems.
Differences of electrical potentials are caused by summed postsynaptic graded potentials from pyramidal cells that create electrical dipoles between the soma (body of a neuron) and apical dendrites, which branch from neurons (Figure 1.4). The current in the brain is generated mostly by pumping the positive ions of sodium, Na+, potassium, K+, calcium, Ca++, and the negative ion of chlorine, Cl−, through the neuron membranes in the direction governed by the membrane potential .
The human head consists of different layers including the scalp, skull, brain (Figure 1.5), and many other thin layers in between. The skull attenuates the signals approximately one hundred times more than the soft tissue. On the other hand, most of the noise is generated either within the brain (internal noise) or over the scalp (system noise or external noise). Therefore, only large populations of active neurons can generate enough potential to be recordable using the scalp electrodes. These signals are later amplified greatly for display purposes. Approximately 1011 neurons are developed at birth when the central nervous system (CNS) becomes complete and functional . This makes an average of 104 neurons per cubic mm. Neurons are interconnected into neural nets through synapses. Adults have approximately 5 × 1014 synapses. The number of synapses per neuron increases with age, whereas the number of neurons decreases with age. From an anatomical point of view the brain may be divided into three parts: the cerebrum, cerebellum, and brain stem (Figure 1.6). The cerebrum consists of both left and right lobes of the brain with highly convoluted surface layers called the cerebral cortex.
The cerebrum includes the regions for movement initiation, conscious awareness of sensation, complex analysis, and expression of emotions and behaviour. The cerebellum coordinates voluntary movements of muscles and maintains balance. The brain stem controls involuntary functions such as respiration, heart regulation, biorhythms, and neurohormone and hormone sections .
Based on the above section it is clear that the study of EEGs paves the way for diagnosis of many neurological disorders and other abnormalities in the human body. The acquired EEG signals from a human (and also from animals) may, for example, be used for investigation of the following clinical problems [27,28]:
This list confirms the rich potential for EEG analysis and motivates the need for advanced signal processing techniques to aid the clinician in their interpretation. The brain rhythms will next be described, which are expected to be measured within EEG signals.
Many brain disorders are diagnosed by visual inspection of EEG signals. The clinical experts in the field are familiar with manifestation of brain rhythms in the EEG signals. In healthy adults, the amplitudes and frequencies of such signals change from one state of a human to another, such as wakefulness and sleep. The characteristics of the waves also change with age. There are five major brain waves distinguished by their different frequency ranges. These frequency bands from low to high frequencies respectively are called alpha (α), theta (θ), beta (β), delta (δ), and gamma (γ). The alpha and beta waves were introduced by Berger in 1929. Jasper and Andrews (1938) used the term ‘gamma’ to refer to the waves of above 30 Hz. The delta rhythm was introduced by Walter (1936) to designate all frequencies below the alpha range. He also introduced theta waves as those having frequencies within the range of 4–7.5 Hz. The notion of a theta wave was introduced by Wolter and Dovey in 1944 .
Delta waves lie within the range of 0.5–4 Hz. These waves are primarily associated with deep sleep and may be present in the waking state. It is very easy to confuse artefact signals caused by the large muscles of the neck and jaw with the genuine delta response. This is because the muscles are near the surface of the skin and produce large signals, whereas the signal that is of interest originates from deep within the brain and is severely attenuated in passing through the skull. Nevertheless, by applying simple signal analysis methods to the EEG, it is very easy to see when the response is caused by excessive movement.
Theta waves lie within the range of 4–7.5 Hz. The term theta might be chosen to allude to its presumed thalamic origin. Theta waves appear as consciousness slips towards drowsiness. Theta waves have been associated with access to unconscious material, creative inspiration and deep meditation. A theta wave is often accompanied by other frequencies and seems to be related to the level of arousal. It is known that healers and experienced mediators have an alpha wave that gradually lowers in frequency over long periods of time. The theta wave plays an important role in infancy and childhood. Larger contingents of theta wave activity in the waking adult are abnormal and are caused by various pathological problems. The changes in the rhythm of theta waves are examined for maturational and emotional studies .
Alpha waves appear in the posterior half of the head and are usually found over the occipital region of the brain. They can be detected in all parts of posterior lobes of the brain. For alpha waves the frequency lies within the range of 8–13 Hz, and commonly appears as a round or sinusoidal shaped signal. However, in rare cases it may manifest itself as sharp waves. In such cases, the negative component appears to be sharp and the positive component appears to be rounded, similar to the wave morphology of the rolandic mu (µ) rhythm. Alpha waves have been thought to indicate both a relaxed awareness without any attention or concentration. The alpha wave is the most prominent rhythm in the whole realm of brain activity and possibly covers a greater range than has been previously accepted. A peak can regularly be seen in the beta wave range in frequencies even up to 20 Hz, which has the characteristics of an alpha wave state rather than one for a beta wave. Again, very often a response is seen at 75 Hz, which appears in an alpha setting. Most subjects produce some alpha waves with their eyes closed, which is why it has been claimed that it is nothing but a waiting or scanning pattern produced by the visual regions of the brain. It is reduced or eliminated by opening the eyes, by hearing unfamiliar sounds, by anxiety, or mental concentration or attention. Albert Einstein could solve complex mathematical problems while remaining in the alpha state, although generally beta and theta waves are also present. An alpha wave has a higher amplitude over the occipital areas and has an amplitude of normally less than 50 µV. The origin and physiological significance of an alpha wave is still unknown and yet more research has to be undertaken to understand how this phenomenon originates from cortical cells .
A beta wave is the electrical activity of the brain varying within the range of 14–26 Hz (though in some literature no upper bound is given). A beta wave is the usual waking rhythm of the brain associated with active thinking, active attention, focus on the outside world, or solving concrete problems, and is found in normal adults. A high-level beta wave may be acquired when a human is in a panic state. Rhythmical beta activity is encountered chiefly over the frontal and central regions. Importantly, a central beta rhythm is related to the rolandic mu rhythm and can be blocked by motor activity or tactile stimulation. The amplitude of beta rhythm is normally under 30 µV. Similar to the mu rhythm, the beta wave may also be enhanced because of a bone defect  and also around tumoural regions.
The frequencies above 30 Hz (mainly up to 45 Hz) correspond to the gamma range (sometimes called the fast beta wave). Although the amplitudes of these rhythms are very low and their occurrence is rare, detection of these rhythms can be used for confirmation of certain brain diseases. The regions of high EEG frequencies and highest levels of cerebral blood flow (as well as oxygen and glucose uptake) are located in the frontocentral area. The gamma wave band has also been proved to be a good indication of event-related synchronization (ERS) of the brain and can be used to demonstrate the locus for right and left index finger movement, right toes, and the rather broad and bilateral area for tongue movement .
Waves in frequencies much higher than the normal activity range of EEG, mostly in the range of 200–300 Hz, have been found in cerebellar structures of animals, but they have not played any role in clinical neurophysiology [33,34].
Figure 1.7 shows the typical normal brain rhythms with their usual amplitude levels. In general, the EEG signals are the projection of neural activities that are attenuated by leptomeninges, cerebrospinal fluid, dura matter, bone, galea, and the scalp. Cartographic discharges show amplitudes of 0.5–1.5 mV and up to several millivolts for spikes. However, on the scalp the amplitudes commonly lie within 10–100 µV.
The above rhythms may last if the state of the subject does not change and therefore they are approximately cyclic in nature. On the other hand, there are other brain waveforms, which may: