Filtering

There are a few basic filter types and many methods available to implement those types. Commonly used filters are: Lowpass, Highpass and Bandpass.

By Alan Macy, BIOPAC Systems, Inc.

Filtering is a core signal processing function. Filtering is the act of discrimination between one type of data and another. In the case of physiological signal processing, filters are employed to attenuate undesired signal frequencies and emphasize others. There are a few basic filter types and many methods available to implement those types. Commonly used filters are: Lowpass, Highpass and Bandpass. In the case of a Lowpass filter (LPF), signal frequencies lower than the filter cutoff frequency are emphasized versus those higher than the cutoff frequency. For a Highpass filter (HPF), the signal frequencies higher than the filter cutoff frequency are emphasized versus those lower than the cutoff frequency. A Bandpass filter (BPF) has two cutoff frequencies, a low and high cutoff. In this case, signal frequencies between the filter cutoff frequencies are emphasized versus those lower then the low cutoff frequency and higher than the high cutoff frequency. All types of filters can be crafted as a combination of Lowpass, Highpass and Bandpass filters. For example, a comb filter can be constructed from a cascaded series of Bandpass filters.

Filters can be implemented as analog or digital. Analog filters are physically realized using electrical components, such as resistors, capacitors, inductors, delay lines and operational amplifiers. Digital filters are implemented as an algorithm, which may reside in a computer, embedded microprocessor or digital signal processor. Digital filters require the signal data to be digitized, prior to processing. An analog to digital converter is used to convert time-varying signal data into a sequential string of proportional numbers. Digital filters process this input string of numbers to generate an output string of numbers. This output string of numbers can then be converted back into a time-varying signal through the use of a digital to analog converter.

Analog filters can be reasonably well-emulated by the combination A/D converter > Digital Filter > D/A converter. In the case of physiological measurements, it’s most common to employ analog to digital converters to direct the signal data straight to the computer. Once in computer memory, digital filters can be applied to the data to extract the signals of interest.

There are two popular algorithms used to implement digital filters, Finite Impulse Response (FIR) and Infinite Impulse Response (IIR). Both FIR and IIR filters incorporate delay elements, multipliers and a summing junction, however FIR filters don’t use feedback and IIR filters do use feedback. Feedback in an IIR filter means that some portion of the filter’s output is introduced back to the filter’s input. Assuming a perfect IIR filter, the recursive process implies that any input signal to the filter will have a residual influence on the output of the filter for an arbitrary period of time. This is why feedback or recursive filters are called infinite impulse response filters. An impulse applied to an IIR filter will produce a response that lasts for eternity. In practice, however, the impulse response of IIR filters will ultimately drop to a value range which can no longer be properly characterized by the significant digits employed during processing. Accordingly, the effective impulse response of IIR filters remains finite.

An FIR filter does not incorporate feedback or recursion into its design. This type of filter pushes the signal data through the filter in just one direction. In order to make an effective FIR filter, typically many internal filter stages are needed. A FIR filter stage consists of a delay element combined with a multiplier element. A 101 stage FIR filter will have 101 sequential delay stages and 101 multiplier stages. The multiplier stages sample the data present after each delay stage and multiplies the sensed value by some predefined constant, called a coefficient. The multiplier stage outputs are all summed together to create the FIR filter output.

Because IIR filters are recursive and FIR filters are non-recursive, they differ in important ways. If not properly designed, IIR filters can be unstable. Instead, no matter how an FIR filter is designed, it’s inherently stable. IIR filters do not have perfectly linear phase, even if they can be designed to have reasonably linear phase in regions of interest. FIR filters can have perfectly linear phase. Linear phase means that the filter will delay all frequencies by the same time period. This time delay is known as group delay. Linear phase filters can faithfully mimic the essential shape of complex input waveforms, whereas non-linear phase filters may introduce certain distortions to the shape of an input waveform. Because of similarities in topology, certain types of IIR filters are well-suited to emulate certain analog filters. Because analog filter design methods are very advanced and well-documented, this topological similarity allows analog design methods to be transposed to the digital domain. For example, common analog or digital IIR filter can both implement a transfer function defined by a ratio of biquadric functions. These filters are known as biquads or second order filters. When designing a biquad IIR filter, the biquad analog transfer function is converted to digital form via a substitution process called the bilinear transformation.

For more information on BIOPAC’s wide range of tools for recording, displaying, and analyzing EEG measurements and filtering data from human and animal subjects, visit BIOPAC’s filtering or electroencephalography pages, and view BIOPAC’s full line of electrodes, amplifiers, and wearable, wireless transmitters and loggers.

BIOPAC Systems, Inc. provides life science researchers and educators with data acquisition and analysis systems that inspire people and enable greater discovery about life. Visit us at www.biopac.com.

Electroencephalography (EEG) Pt. 2

Short-term Electroencephalography or EEG measurements are typically performed in synchrony with well-controlled, environmental, stimuli. Signal-averaging measurements, of this type, are known as Event Related Potentials (ERPs).

By Alan Macy, BIOPAC Systems, Inc.

This blog is a continuation of the previous discussion of Electroencephalography or EEG. Short-term Electroencephalography or EEG measurements are typically focused on the nature of cognition. These types of recordings are typically performed in synchrony with well-controlled, environmental, stimuli. Signal-averaging measurements, of this type, are known as Event Related Potentials (ERPs). There are a range of ERP signals, stretching between 50 ms to many seconds, with respect to the occurrence of the event. ERPs require signal averaging methods, to be observed, because their amplitude levels (0.2-2 uV) are usually lower than the ambient EEG signal level.

ERPs can be generated by a wide range of stimuli. The stimulus event can be targeted to any specific human sense or combination of senses (auditory, visual, olfactory, touch or taste). ERPs indicate the superimposed potentials of neuronal activity that synchronously generate when a subject processes sensory information. There are two general types of human subject ERPs. Early ERP wave components occur before 100 milliseconds after the stimulus. Late ERP components occur after 100ms after the stimulus. Early ERPs are known as exogenous potentials and late ERPs are known as endogenous potentials. Exogenous potentials depend on neuronal sensory structure responses that occur prior to cognition.  Endogenous potentials depend on cognitive responses to the sensory stimuli.

Slow Cortical Potentials (SCPs) are a class of ERPs that are characterized by slowly-moving, stimulus-related changes in the EEG signal. SCPs originate in cell concentrations in the top cortical layer of the brain. SCP waves (0.01-3 Hz) are EEG signals that occur before and after stimulus presentation. They encompass such pre-stimulus measures as Contingent Negative Variation (CNV) and Readiness Potential (RP).  The CNV is a slow-changing negative potential that happens between an initial warning and a “go” stimulus.  NV amplitude depends on the subject’s expectation of an imagined, forthcoming event. The RP is associated with the beginning of movement.  The RP precedes movement and is identified as a slow-changing negative potential that maximizes with movement onset. The RP is observed when signal averaging the EEG, from the motor cortex, synchronously with movement.

EEG can be useful to:

  • Monitor alertness and conscious states
  • Evaluate inhibitory control over behavior
  • Locate areas of neural damage
  • Establish levels of cognitive engagement
  • Investigate brain disorders, such as Alzheimer’s, epilepsy and seizures
  • Establish brain / computer interfaces
  • Monitor sleep

For more information on BIOPAC’s wide range of tools for recording, displaying, and analyzing EEG signals from human and animal subjects, including automated EEG analysis, seizure detection, evoked responses and many others, visit BIOPAC’s EEG Analysis page or view BIOPAC’s full line of electrodes, amplifiers, and wearable, wireless transmitters and loggers.

BIOPAC Systems, Inc. provides life science researchers and educators with data acquisition and analysis systems that inspire people and enable greater discovery about life.  Visit us at www.biopac.com.

Electroencephalography (EEG) Pt. 1

An EEG recording can be short or long-term. Shorter-term, signal-averaged, EEG measurements are typically used to evaluate precognitive and cognitive processes with respect to specific stimuli.

by Alan Macy, BIOPAC Systems, Inc.

EEG or Electroencephalography is the measurement of differences in electrical potential (voltage) between points on the scalp. These voltages differences are the result of ionic current flow within neurons, and glial cells, in the brain. The measured scalp voltages are primarily in the 200 nV-200 uV amplitude range, 0.01 Hz – 100 Hz frequency range, and are typically simultaneously recorded at multiple sites on the scalp. The EEG is usually collected using the 10-20 electrode montage. This arrangement of electrodes typically references left or right hemisphere electrodes to the left or right earlobe (or mastoid), respectively. However, a wide range of signal referencing methods are used depending on the situational requirements.

An EEG recording (knows as an electroencephalogram) can be short or long-term. Shorter-term, signal-averaged, EEG measurements are typically used to evaluate precognitive and cognitive processes with respect to specific stimuli. These EEG signals have relatively low amplitude levels, typically 200 nV – 2 uV, so signal averaging methods are required to discern these signals from background concurrent EEG sources. Longer-term, non-signal-averaged, EEG measurements are used to discern the subject’s, real-time, conscious state. Different and observable wave rhythms are evident during such recordings. Commonly observed rhythms include: Delta, Theta, Alpha, Beta and Gamma waves. These waves can be continuously recorded and are in the range of 2 uV – 200 uV.

Delta waves (0.5-4 Hz) are considered slow rhythms and tend to be the highest in amplitude. Delta waves are normally the dominant rhythm in infants. Delta waves are found in sleeping adults and consistent Delta is considered abnormal in conscious adults.  Delta waves are low-frequency EEG patterns that increase during sleep in the normal adult.  Although Delta waves are generally prominent during sleep, there are cases when Delta rhythms are recorded from awake individuals. Delta waves may increase during difficult mental activities requiring concentration and other continuous-attention tasks. Delta rhythms depend on activity of motivational systems, in the brain, and participate in the identification of prominent phenomena.  The presence and amplitude of Delta rhythms are highly variable within and between individuals.

Theta waves (4-8 Hz) are considered slow rhythms. Theta waves are normal in children up to 13 years old.  Theta waves are found in sleeping adults and consistent Theta is considered abnormal in conscious adults. Theta rhythms are low-frequency EEG patterns that increase during sleep in the normal adult. Although Theta rhythms are generally prominent during sleep, there are cases when theta rhythms are recorded from awake individuals.  Theta rhythms are involved in memory and emotional regulation. Theta waves will spike during emotional responses to frustrating events or situations.  Theta waves are associated with the inhibition of elicited responses, in that Theta activity has been found to temporarily increase when a person is actively trying to repress a behavioral response. The presence and amplitude of theta rhythms are highly variable within and between individuals.

Alpha waves (8-13 Hz) are considered moderate rhythms and usually seen in the occipital regions of the head and are higher in amplitude on the dominant side. Alpha waves appear when relaxing and closing the eyes. Alpha waves are suppressed when opening the eyes or coming to an alert state. Alpha waves are the primary rhythm observed in relaxed adults and are present during most of life after 13 years old. Each region of the brain has a characteristic Alpha rhythm amplitude and the largest Alpha waves are from the occipital and parietal regions of the cerebral cortex. Alpha rhythms correlate with inhibitory processes in the brain. Reduced Alpha wave occurrence and amplitude, in relation to Delta-Theta activity, is associated with reduced inhibitory control over behavior.

Beta waves (13-30 Hz) are considered fast rhythms. Beta waves are typically observed on both sides of the head and are most evident frontally (executive function). Beta waves may be substantially reduced in areas of cortical damage.  Beta waves are considered normal and are the dominant rhythm in subjects whose eyes are open or are otherwise attentive to external stimuli or exerting specific mental effort. Beta rhythms also occur during rapid eye movement (REM) sleep. In this situation, the typical Alpha rhythm is suppressed and supplanted by Beta waves. This replacement of Alpha rhythm is called desynchronization, or “Alpha block”, because it represents a change in the synchronized activity of neural systems in the brain. It is thought that Beta waves represents arousal of the cortex to a higher state of alertness and may also be associated with memory retrieval.

Gamma waves (30-100 Hz) are considered fast rhythms. Gamma waves are present during mixed sensory processing, such as perceptual tasks that combine hearing and seeing. Gamma waves are also evident during short-term memory matching of recognized sights, sounds or sensations. A reduction in Gamma wave activity might be associated with cognitive decline, especially when compared to Theta wave activity levels.

Long-term EEG signal characteristics are related to consciousness. As conscious activity increases, the dominant EEG rhythms shift to higher frequencies. When asleep, with the exception of REM, the dominant EEG rhythms move to lower frequencies.  In deep sleep, the EEG is characterized by low frequency Delta waves.

This blog is continued in Part 2.

For more information on BIOPAC’s wide range of tools for recording, displaying, and analyzing EEG signals from human and animal subjects, including automated EEG analysis, seizure detection, evoked responses and many others, visit BIOPAC’s EEG Analysis or view BIOPAC’s full line of electrodes, amplifiers, and wearable, wireless transmitters and loggers.

BIOPAC Systems, Inc. provides life science researchers and educators with data acquisition and analysis systems that inspire people and enable greater discovery about life.  Visit us at www.biopac.com.

error: Content is protected !!