
[0001]
This application is a continuation application of U.S. Ser. No. 09/431, 632, filed Nov. 2, 1999, now U.S. Pat. No. 6,317,627.
FIELD OF THE INVENTION

[0002]
The current invention relates to the field of medical anesthesia. More particularly it relates to the field of electronic monitoring of patients undergoing anesthesia, especially for use during and after surgical operations. The invention relates more specifically to the use of electroencephalograph (EEG) signals for electronically monitoring a patient's state of awareness.
BACKGROUND OF THE INVENTION

[0003]
In current medical practice, at least for highly invasive surgery, a patient is placed under general anesthesia. Anesthesiology is a medical art practiced in the United States by and large by board certified physicians (anesthesiologists) and nurses (nurse anesthetists) specifically trained to administer anesthetic drugs and monitor patients under anesthesia. The state of patient anesthesia is attained by the controlled administration of various drugs with known anesthetic properties. These drugs cause the patient to lose consciousness, sensation, and motor control. The physician monitors the patient's state of awareness by means of a number of disparate clinical signs known empirically to provide useful and reliable information about the patient's state of unconsciousness.

[0004]
Generally, the patient is anesthetized prior to surgery by the specialized medical practitioner (anesthesiologist or nurse anesthetist), who administers one or more vapors or gases by inhalation or introduces anesthetic drugs intravenously. Volatile substances include nitrous oxide, sevoflurane, desflurane, flurane and isoflurane, and halothane. Intravenous anesthetics include pentothal, evipal, procaine, nitrous narcotic with propofol induction, methohexital, and etomidate.

[0005]
A correctly administered general anesthetic should remove any sensation of pain and any awareness of the operation itself. (Patients insufficiently deeply anesthetized have reported terror at becoming aware of the surgical procedure while paralyzed.)

[0006]
The anesthetic should further disable the patient's motor control so that the patient cannot move. Otherwise, the patient may exhibit involuntary (reflex) muscle movements, which can disturb the area being surgically manipulated. Prevention of movement can be accomplished by anesthetic agents acting on the central nervous system or with a blockade of the neuromuscular junction with muscle relaxants.

[0007]
Finally, the anesthesia must avoid depressing the patient's blood pressure so much as to reduce blood flow to the brain to a dangerous extent. Generally 50 mm Hg for mean arterial pressure is a lower limit.

[0008]
A trained anesthesiologist or nurse anesthetist will monitor the patient's vital signs such as respiration and pulse rates, check the patient's pupil dilation, and check certain reflexes, such as the lash reflex, and other physiological signs to estimate the depth of anesthesia. In some instances, however, either the practitioner does not have access to all of the required clinical information or other circumstances intervene. For example, in some procedures the patient is draped in such a way as to make observation of some clinical indicators difficult or impossible. In addition, in very lengthy procedures the attention of even the best practitioner can flag.

[0009]
In such circumstances it would frequently be useful to have an electronic monitor to track the patient's level of consciousness. In particular, it sometimes would be useful to have an instrument, which, once the plane of anesthesia is established qualitatively by the anesthesiologist using traditional clinical indicators, would indicate significant changes in the patient's state of anesthesia or patient responses to stimuli, which would indicate insufficient anesthesia.

[0010]
A number of inventors have developed systems for using EEG signals, generally in combination with other signals, to monitor anesthesia, sleep, or other states on the consciousnessunconsciousness continuum. Kaplan et al., U.S. Pat. No. 5,813,993, issued Sep. 29, 1998, disclosed a drowsiness detection system based on EEG signals. This invention relies heavily on frequencies in EEG signals above 30 Hz. It does not use any form of norming and in addition applies an ad hoc weighted sum of inverted spectral power coefficients. Maynard, U.S. Pat. No. 5,816,247, issued Oct. 6, 1998, uses a combination of time domain amplitude envelope analysis and frequency analysis in conjunction with a trainable neural network to classify awareness and sleep states. Kangas et al., U.S. Pat. No. 5,775,330, issued Jul. 7, 1998, uses transform processing and neural net analysis to classify states of anesthesia. The output of the neural net could be used to produce a single index of awareness. However, all of these prior art systems either represent an unnecessary level of complexity or an absence of empirical basis or both.

[0011]
A prior patent to John, U.S. Pat. No. 5,699,808, issued Dec. 23, 1997, discloses a system to monitor multiple patients simultaneously in the surgical recovery room or in intensive care. This system, however, combines certain features of EEG signals and other features including those of evoked potentials to arrive at an estimate of the patient's state of consciousness. It specifically incorporates the use of electrocardiograph (EKG) and electromyograph (EMG) electrodes and also input from a blood pressure detector and from a respiration monitor. This prior art system also requires evoked potentials, specifically Brainstem Auditory Evoked Response (BAER) and Brainstem Somatosensory Evoked Response (BSER). Use of evoked potentials, however, involves the use of additional disposables and a longer setup time. Further, this system relies very heavily on selfnorming and in particular on updating selfnorming depending on the state of the patient.

[0012]
An earlier patent to the same inventor, John, U.S. Pat. No. 4,557,270, issued Dec. 10, 1985, suffered from additional and more severe limitations since it required measurement of blood temperatures and volumes. Finally, John, U.S. Pat. No. 4,545,388, issued Oct. 8, 1985, disclosed the basic process of selfnorming of processed EEG data.

[0013]
Another inventor, Prichep, U.S. Pat. No. 5,083,571, issued Jan. 28, 1992, disclosed a significant advance in the utilization of EEG signals for diagnostic purposes. Prichep disclosed the use of discriminant analysis to sharpen the diagnostic capability of quantities derived from EEG signals with respect to certain wellknown diagnostic categories of psychiatric illness. This work compared quantities derived from a patient with parameters derived from populations of persons thought to suffer from specific identified illnesses.

[0014]
Finally, a prior application which has not yet issued, John, U.S. patent application Ser. No. 09/217,010, filed Dec. 21, 1998, applied discriminant analysis to the statistical differentiation of unconscious from conscious states from EEG signals. However, this invention relied heavily on BAER and BSER signals and selfnorming. In addition, this invention stated, with respect to Chamoun, U.S. Pat. No. 5,010,891, issued Apr. 30, 1991, that “the comparison of patients with a normal group, in itself, is not believed to provide reliable information in the surgical context of determining if a patient will be sufficiently anesthetized.” App. at p. 4. Since that time, however, the current inventors have learned from further investigation and experimentation that populationnorming is sufficiently reliable and selfnorming adds unnecessarily to the complexity of the system without adding to performance. What is therefore most lacking in all of these prior art inventions is simplicity and cost effectiveness.

[0015]
It is therefore an object of the current invention to provide an EEG based anesthesia monitoring system that completely avoids use of transducers for and inputs from other than EEG signals, that is, avoids the use of pulse, blood pressure, and respiration rate sensors and leads. It is a further object of this invention to provide an anesthesia monitoring system based on EEG signals, which completely avoids the need for BAER and BSER stimulation and response monitoring. It is a further object of this invention to provide an EEG based anesthesia monitoring system which dispenses with the cumbersome and error prone process of selfnorming. It is another object of this invention to provide an EEG based anesthesia monitoring system which utilizes sample populationnorming.
SUMMARY OF THE INVENTION

[0016]
The current invention comprises a system for using EEG signals to monitor the state of anesthesia of a patient at various stages preparatory to, during, and after administration of anesthetic and surgical operation, and in intensive care during recovery from the operation and anesthesia. The system comprises a headset attached to a patient, a patient module connected to the headset, apparatus for transmitting EEG signals to an analysis unit, and the analysis unit itself. The analysis unit further comprises a number of subsystems, but its essence is the Algorithm which processes the EEG signals into a parameter usable to estimate and/or track the patient's state of unconsciousness or consciousness while under anesthesia.

[0017]
The primary function of the analysis unit is to classify anesthetized patients according to their conscious state, as determined from an analysis of volunteer data using the OAA/S scale. The version of this scale used in this invention is:


Modified Observer's Assessment of Alertness/Sedation Scale 
Response  Score 

Responds readily to name spoken in a normal tone  5 
Lethargic response to name spoken in a normal tone  4 
Responds only after name is called loudly and/or repeatedly  3 
Responds only after mild shaking or prodding  2 
Responds only to noxious stimulus and not to mild shaking or  1 
prodding 
Does not respond to noxious stimulus  0 
Burst Suppression  −1 


[0018]
The design of the analysis unit is based on the Multiple Observer Derived Measurement Model depicted in FIG. 1. An observer is a thread of execution and logic, an algorithm, which processes a stream of data and generates a measure of a characteristic(s) identified within the data stream. The principle is that is easier to construct individual observers tuned to specific characteristics in the data stream, than to create one observer that is tuned to classify an ensemble of characteristics in the data stream. Observers 3 are classifier functions that detect signatures within the information. These signatures may be in the time domain, frequency domain, or a combination of the two domains. By tuning observers to specific signatures, selective filtering can be employed to improve the accuracy and latency of an observer. What may be noise to one observer may be critical information to another. This selective filtering increases the overall utilization of the acquired physiological information and thereby improving the performance of the final derived measure.

[0019]
An Observer Mediator 4 is responsible for logically combining these individual observations in to the single Derived Parameter. The Observer Mediator can weigh the individual observations by monitoring each observer's input signal quality and the context of the observation based on the patient state. The patient state is derived from the behavior of the derived parameter over time and this is fed back to the Observer Mediator. Functionally, either on demand or on a periodic basis, the Observer Mediator polls the Observers and based on patient state and the ‘quality’ of the individual observations, combines the observations into a single derived measure. The Derived Parameter may be enhanced in sensitivity or scope by either further tuning of established Observers or adding additional Observers.

[0020]
The primary output of the PSA 4000 algorithm is a single derived parameter called the Patient State Index (PSI) that maps to the OAA/S scale independent of anesthetic agent. The implementation of the Multiple Observer Model for this measure of state of consciousness, the PSI, is shown in FIG. 2. In this system, electroencephalograph (EEG) signals are acquired from an array of electrodes on the patient's scalp. These raw EEG signals are filtered and decimated to reduce external noise and to satisfy data sampling rate (Nyquist) requirements.

[0021]
Following decimation, artifact analysis takes place. The EEG data is analyzed for validity and contamination. This step results in the setting of various artifact codes. After artifact analysis, the Eyeblink Observer and the Suppression Observer operate. This is followed by the calculation of the Artifact Index and the Suppression Ratio Index. For the FFT calculations, The Fast Fourier Transform (FFT) of the EEG data is calculated for each of the four channels. At this point, the system decomposes the Frequency Spectrum. In this operation the FFT spectral data is divided into frequency bands. After this, the EMG Index is calculated, and the EMG Beta5 observer operates. The Discriminant Observer then makes its calculations, resulting in a Probability of Correct Classification based on parameters derived from sample populations. Finally, the Observer mediator combines the probability with other the output of the other three observers to the Patient State Index (PSI).

[0022]
The processing analyzes information in the 0.5 Hz to 50 Hz frequency range. As shown in FIG. 2, the sample data streams are divided into two primary streams: the FP1 channel is separately processed by the Beta5 Observer, all channels [FP1, FPz′, Pz, Cz] are processed by an ensemble of signal morphological classifiers 13 (artifact detectors). By continuously monitoring the impedance of the FP1 electrode 10 the Beta5 Observer's signal quality can be assessed. The FP1's signal quality is combined with Beta5 analysis 9 and evaluation 11 by the Beta5 Observer and propagated to the Observation Mediator. The outputs of the Signal Morphology Classifiers are four artifact free EEG data streams and a declaration of the types of artifacts detected. Two of the artifact classifiers propagate information to Observers. The Eyeblink Observer 19 is notified of the number and types of eyeblinks detected in the four EEG channels. The Suppression Observer 20 is notified whether EEG suppression has been detected over the last time period. The artifact free EEG data is further processed by the PSI Discriminant Observer 18, which performs a more complex multiple component analysis that serves as the foundation of the consciousness algorithm. The four observations: Beta5, PSI Discriminant, Eyeblink and Suppression) are propagated to the Observation Mediator 25. The Mediator combines these observations with measures of signal quality and appropriateness of observations based on patient state into an update of the Patient State Index and the associated trend. The time course of the PSI is monitored and logic is applied to assess the patient's state and this information is fed back to the Observation Mediator. It is through the use of this Multiple Observer Model that a clinically functional measure of state of consciousness is realized.

[0023]
The output of the Algorithm is a set of four processed parameters calculated every 2.5 seconds (each 2.5 second block is referred to as an epoch). These are the main output parameter, i.e., the Patient State Index (PSI); the Suppression Ratio (SR); the EMG index (EMG); and the Artifact Index (ART). The measures in addition to the PSI provide additional information to the instrument operator on either specific aspects of the patient state or data quality. These measures are shown in FIG. 2 to be directed to the User Interface. The Artifact Index is a measure of signal quality. The SRRatio is the percentage of time in the last minute the patient's EEG has been suppressed. The Beta2 component measure is related to the degree of muscle activity (EMG) detected. The outputs of this multiple observer based PSA 4000 algorithm is a periodic update of: the Patient State Index (the primary derived parameter), the Artifact Index, the Suppression Ratio and a measure of EMG activity.

[0024]
The Patient State Index 164, the primary indicator of patient level of awareness, is developed to characterize the relative state of consciousness of an anesthetized patient. The Algorithm outputs a periodic update of this primary parameter. The Algorithm provides for upper and lower thresholds of this parameter within which the patient will be said to be in an appropriate level of unconsciousness for surgery. (Other levels may be appropriate for other conditions such as intensive care sedation.) The PSI range is defined to be from 0 to 100, with higher values indicating a higher level of consciousness or awareness.

[0025]
The Suppression Ratio 162 is an indicator of the relative amount of time that the patient's EEG waveforms exhibit a characteristic Burst Suppression pattern. The Burst Suppression pattern is accepted to be an indicator of deep levels of unconsciousness under sedation. In certain situations of traumatic head injury, for example, it is necessary to reduce the brain's need for oxygen by putting the patient into a drug induced (barbiturate) coma. This brain state is observed in the EEG as Burst Suppression. For most surgical procedures, burst suppression is considered an inappropriately deep level of sedation where the anesthesiologist would normally reduce drug flow rates accordingly. The Suppression Ratio is the percentage of epochs (2.5second epochs) in the last one minute that have been declared as Suppressed Epochs.

[0026]
The EMG Index 163 is an indicator of muscle activity. Under certain conditions, an EMG response may be interpreted as an indicator of the patient's response to pain or stress.

[0027]
The anesthesiologist's action would depend upon the conditions present when the EMG response occurs, as EMG is a normal indication at the end of surgery. During surgery, the anesthesiologist titrates additional hypnotic for stress or analgesic for pain accordingly. The EMG Index is a weighted percentage of halfepochs (over the past one minute) in which muscle activity, as measured by the power in the BETA2 band, exceeds a threshold level. Newer epochs are weighted more heavily than the older ones.

[0028]
The Artifact Index 165 is an indicator of data quality, or of the amount of artifacts present in the data. It is also a weighted percentage (over the past one minute). Increase in the artifact index is normal during any patient movement and may be associated with the use of certain equipment such as BOVI or trainoffour when applied to the face. Poor contact impedance aggravates all sources of artifact and will require intervention by the anesthesiologist to correct poor electrode contact with the patient.
BRIEF DESCRIPTION OF THE DRAWINGS

[0029]
[0029]FIG. 1 portrays the basic structure of the Multiple Observer Model.

[0030]
[0030]FIG. 2 is a more detailed illustration of the Multiple Observer Model.

[0031]
[0031]FIG. 3 shows the basic structure of the system

[0032]
[0032]FIG. 4 shows the basic logical flow of the Algorithm.

[0033]
[0033]FIG. 5 continues and supplements the logical flow diagram of the Algorithm.

[0034]
[0034]FIG. 6 shows the final stages of the logical flow of the Algorithm.

[0035]
[0035]FIG. 7 depicts the flow of information between buffers.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
THE HEADSET AND THE PATIENT MODULE

[0036]
In a related previous application, Ser. No. 09/113,946, filed Jul. 10, 1998, incorporated herein by reference as though fully set forth, one of the current inventors and others described a head set which can extract from the patient's head EEG signals from five favored locations of the set of international standard locations. The five favored locations are denoted in the international system by Fp1, Fp2, Fpz′, Cz, and Pz. In current embodiments these are electrically referenced to linked ear or linked mastoid contacts. EEG data from four of these five specific locations are analyzed. Alternatively, a more elaborate headset, such as that disclosed by Imran, U.S. Pat. No. 5,479,934, issued Jan. 2, 1996, can be used to obtain information from the four desired locations.

[0037]
As shown in FIG. 3, the PSA Patient Interface consists of a Patient Module 42, patient interface cable 43, and a Patient Electrode Set 44 designed to provide a superior quality, programmable patient interface for EEG monitoring in the OR and ICU. The Patient Module is housed in a custom molded plastic enclosure with an integral universalmounting bracket that facilitates attachment to an IV pole, bed sheet or rail. A detachable patient interface cable provides a quick connect/disconnect capability to the PSA appliance or Patient Module. EEG signals from the appliance are acquired with an isolated instrumentation grade, 4channel preamplifier assembly and programmable multiplexed high speed A/D converter. The signal inputs are acquired referentially with reformatting provided by the Host application if necessary. Preamplifier optimization for EEG is standard, with EP and ECG optional by design. The combination of optically isolated data pathways, a low leakage/high isolation power converter and amplifiers with precise gain and bandpass matching results in greater than 120 dB CMRR. Calibration, Impedance Test, and Normal Operation are remotely controlled through the DSP Interface using commands generated by the Host Application. A full duplex connection is provided between the Patient Module and the DSP via dual opticalisolators that comply with VDE0884 for safety with extremely low leakage. The power converter is a UL Listed & Medical Grade. This extreme isolation results in negligible leakage currents and assures IEC601/UL2601 compliance with superior common mode performance.

[0038]
The proprietary ISA bus DSP card provides a real time interactive link between the host and patient module and manages the acquisition, calibration and impedance functions of the patient module. Balanced differential drivers are used to minimize EMI associated with serial data transmission while providing the ability to extend the link to approximately 1000 feet. Filtering and decimation of the acquired data takes place in the DSP.
THE ANALYSIS UNIT

[0039]
The PSA 4000 analysis unit embodies and operates by means of a complex Algorithm referred to hereafter as the PSA 4000 Algorithm. The system operates in three distinct modes, sometimes referred to as states, with different characteristics. The three states are labeled as follows: 1) Data Accumulation; 2) Awake Patient; and 3) Unconscious Patient. Two very specific and welldefined events cause the transition of the system among these four states. These events are labeled as: 1) Sufficient Data Accumulated ; and 2) Loss of Consciousness. The identification of events and the switching among the states at the occurrence of an identified event is described further below following the description of the operation of the PSA 4000 Algorithm.

[0040]
The following notation is used in describing EEG data:


 A sample is actually a set of four values, one for each of the 
Sample  electrode, associated with a particular instant of time. 

j  All samples have a sample index, denoted by j that increases 
 with time. 
j = 0  The index of the most recent sample has index 0. All other 
 samples therefore have a negative index. 
t_{j}  The time associated with a particular sample set is denoted by t_{j}. 
 The time resolution of the algorithm neglects the miniscule 
 differences between time values of electrode values in a sample. 
S_{j}, S(j)  The sample associated with a particular index j. 
S(t_{j})  The sample associated with a particular time. 


[0041]
The basic operational modules of the PSA 4000 Algorithm are: EEG Data Collection, Filtering and Decimation; Artifact Detection and Signal Morphology Analysis; Eyeblink Observation; Suppression Observation; Calculation of Artifact Index; Calculation of Suppression Ratio Index; FFT Calculation; Spectral Band Decomposition; Calculation of the EMG Index; EMG Beta5 Observation; Discriminant Observer Calculation of the Probability of Correct Classification; Observer Mediation for the PSI; and Display of the PSI, the Suppression Ratio Index, the EMG Index, and the Artifact Index.
Operational Modules

[0042]
1) EEG Data Collection, Filtering and Decimation

[0043]
The patient module (PM) 42 acquires EEG data at a sampling rate of 2500 Hz. The sampling and processing are established to produce a frequency representation resolution of 0.25 Hz or better.

[0044]
Data on four channels from the headpiece are filtered and decimated by a 10to1 low pass decimation filter
100, as shown in FIG. 5. This is done every 10 samples resulting in 1 sample every {fraction (1/250)} sec., for an effective sampling rate of f
_{S}=250 Hz. After the 101 decimation and filter, the EEG data passes through a highpass filter
102 with a cutoff frequency of f
_{h}=0.4 Hz. The most recent L
_{1 }samples are used, where L
_{1}=f
_{S}/f
_{h}=625. Filtering starts at the sample s(−½L
1) i.e., samples more recent than s(−½L
1) are not filtered. The average of the most recent L
1′−625 samples is subtracted from sample s(−½L
1). We denote the filtered
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\right)=s\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\right)\frac{1}{{L}_{1}}\ue89e\sum _{j={L}_{1}+1}^{0}\ue89e\text{\hspace{1em}}\ue89e{s}^{\prime}\ue8a0\left(j\right)& 1\end{array}$

[0045]
sample by s′(−½L1):

[0046]
The filtered sample is stored in the buffer as shown in FIGS. 8 and 9 and refreshed every half epoch.

[0047]
2) Artifact Detection and Signal Morphology Analysis

[0048]
Artifact detection and analysis are performed once every sample, i.e., 250 times per second in an Artifacter Bank 103108. This analysis results in an artifact type being associated with every sample that is classified as being affected by an artifact. Artifact types are also collated on an epochbyepoch basis. Artifact analysis is performed only onfiltered samples. As shown in FIG. 5, after the highpass filter, the artifact engine analyzes data on four channels for 5 kinds of artifacts:

[0049]
a. Magnitude 103

[0050]
b. Slow Eye Blink 104

[0051]
c. Fast Eye Blink 105

[0052]
d. Slew rate 107

[0053]
e. Stationarity 108.

[0054]
These are later combined in an Artifact Index module 106.

[0055]
As is illustrated in FIG. 7, artifact analysis is done on a series of sample sets (sample buffers) of varying sizes. The magnitude, suppression, slew rate, and eye blink artifacts are checked on a buffer of 150 samples. These 150 samples (0.6 seconds) are older than the latest 312 of the 625 samples that have gone through the highpass filter. Thus, they are identical with the newest 150 samples in the older half of the highpass filter buffer. Similarly, the rms deviation artifact is checked on the 2000 samples (8.0 seconds) before (older than) the latest 75 of the 150 samples that were checked for the previous artifact types.

[0056]
The conditions used in checking for the various types of artifacts are:

[0057]
i) Magnitude

[0058]
The magnitude of the newestfiltered sample is checked, on each of the four channels
103. (Recall that the latest filtered sample is older than the latest sample by L½ samples.) If the magnitude of at least one of the channels exceeds a set threshold, the sample is
$\begin{array}{cc}\uf603{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\right)\uf604>{M}_{\mathrm{thresh}}& 2\end{array}$

[0059]
classified as a magnitude artifact. Thus the condition is where M_{thresh }is the magnitude threshold. The magnitude threshold is different for different channels and is determined empirically.

[0060]
ii) Slew Rate

[0061]
The slew rate detector
107 checks for sudden changes in the magnitude of samples. The rate of change cannot be greater than 15 μV over 20 ms. To check this, the detector obtains the largest sample and the smallest sample over the δ
_{slew }samples older than s′(−½L
_{1}−½L
_{2}). If the difference between sample s′(−½L
_{1}−½L
_{2}) and either the largest or the smallest sample is greater than 15 μV, than a slew rate artifact is declared. Mathematically, the conditions can be expressed as:
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)\mathrm{min}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{slew}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 3\end{array}$
$\begin{array}{cc}\mathrm{max}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{slew}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right){s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 4\end{array}$

[0062]
where L_{thresh }is threshold for the slew rate artifact, equal to 15 μV. If either one of these conditions is satisfied, a slew rate artifact is declared.

[0063]
iii) Stationarity

[0064]
The stationarity artifact is checked
108 on the L
_{3}=2000 samples (8.0 seconds) before (older than) sample s′(−½L
_{1}−½L
_{2}) . First the sum of the squares of the samples (not the squares of the deviations) is calculated. This is compared to the sample in the middle of the 2000 samples s′(−½L
_{1}−½L
_{2}−½L
_{3}). The following condition is checked:
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\frac{1}{2}\ue89e{L}_{3}\right)>\mathrm{bigger}\ue89e\text{\hspace{1em}}\ue89e\left({f}_{\mathrm{scale}}\ue89e\sum _{j}\ue89e{\left[{s}^{\prime}\ue8a0\left(j\right)\right]}^{2},{f}_{\mathrm{limit}}\right)& 5\end{array}$

[0065]
If this condition is satisfied for a given scale factor and limit term then a stationarity artifact is declared.

[0066]
3) Eyeblink Observation

[0067]
The conditions for eye blinks, 104 and 105, are checked only if the slew rate artifact is not detected because the slope required in a slew rate artifact is larger than the slope required for eye blinks The eye blink observer is mathematically similar to the slew rate detector, however, it checks for both positive and negative slopes together, i.e., it checks for EEG humps within certain parameters.

[0068]
First, the observer checks for the conditions on the rise (the first half of the eyeblinks). For small eye blinks, the artifactor checks the δ
_{EBSb }samples older than sample s′(−½L
_{1}−½L
_{2}) and obtains the largest and smallest samples. The following conditions are checked:
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)\mathrm{min}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{EBSb}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 6\\ \mathrm{max}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{EBSb}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right){s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 7\end{array}$

[0069]
If at least one of these conditions is satisfied, then the conditions on the second half of the eye blink are checked. The observer checks the δ
_{EBSa }filtered samples newer than sample s′(−½L
_{1}−½L
_{2}) and obtains the largest and smallest samples. One of the following
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)\mathrm{min}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}+{\delta}_{\mathrm{EBSa}}\right)>{L}_{\mathrm{thresh}}\ue89e\text{}\ue89e\mathrm{or}& 8\\ \mathrm{max}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{EBSb}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right){s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}.& 9\end{array}$

[0070]
conditions must be satisfied:

[0071]
If (Equation 8 or Equation 9) AND (Equation 10 or Equation 11) is satisfied, then
$\begin{array}{cc}{s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)\mathrm{min}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{EBLb}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 10\end{array}$

[0072]
a small eye blink is declared. Similarly, for large eye blinks, the conditions are:
$\begin{array}{cc}\mathrm{max}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}{\delta}_{\mathrm{EBLb}},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right){s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>\text{\hspace{1em}}\ue89e{L}_{\mathrm{thresh}\ue89e\text{}}\ue89e\text{}\ue89e\mathrm{or}\ue89e\text{}\ue89e\mathrm{AND}\ue89e\text{}\ue89e\mathrm{or}& 11\\ {s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)\mathrm{min}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}+{\delta}_{\mathrm{EBLa}}\right)>{L}_{\mathrm{thresh}}& 12\end{array}$
$\begin{array}{cc}\mathrm{max}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2},\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}+{\delta}_{\mathrm{EBLa}}\right){s}^{\prime}\ue8a0\left(\frac{1}{2}\ue89e{L}_{1}\frac{1}{2}\ue89e{L}_{2}\right)>{L}_{\mathrm{thresh}}& 13\end{array}$

[0073]
If (Equation 12 or Equation 13) AND (Equation 14 or Equation 15) is satisfied, then a large eyeblink is declared. The threshold parameters for eye blinks are determined empirically.

[0074]
4) Suppression Observation

[0075]
Every time a newfiltered sample is obtained, the suppression detector
109 looks at the sum of the squared deviations of samples over the latest filtered 600 milliseconds (150 samples, denoted by L
_{2}) and over the latest filtered 20 milliseconds (5 samples, denoted by L
_{5}).
$\begin{array}{cc}\Delta \ue8a0\left({j}_{1},{j}_{2}\right)=\left(\sum _{j={j}_{1}}^{{j}_{2}}\ue89e{\left[{s}^{\prime}\ue8a0\left(j\right)\right]}^{2}\right){\frac{1}{N\ue8a0\left({j}_{1},{j}_{2}\right)}\left[\stackrel{{j}_{2}}{\sum _{j={j}_{1}}}\ue89e{s}^{\prime}\ue8a0\left(j\right)\right]}^{2}& 14\end{array}$

[0076]
For reference, the sum of the squared deviations, generically defined, is: where j
_{1 }andj
_{2 }are sample indices, and No(j
_{1}, j
_{2}) is the number of samples between these indices. This quantity is related to variance of the same sample set (the average of the sum of the squared
$\begin{array}{cc}{\sigma}_{{j}_{1},{j}_{2}}^{2}=\frac{\Delta \ue8a0\left({j}_{1},{j}_{2}\right)}{N\ue8a0\left({j}_{1},{j}_{2}\right)}& 15\end{array}$

[0077]
deviations) through

[0078]
The difference between these two sums of squared deviations is intended as an approximate measure of the power in the band between 1.67 Hz and 50 Hz. If, on any one of the four channels, this power is less than a set threshold, then a suppressiontype artifact is
$\begin{array}{cc}\Delta \ue8a0\left(\frac{1}{2}\ue89e{L}_{1}{L}_{2},\frac{1}{2}\ue89e{L}_{1}\right)\Delta \ue8a0\left(\frac{1}{2}\ue89e{L}_{1}{L}_{5},\frac{1}{2}\ue89e{L}_{1}\right)<{S}_{\mathrm{thresh}}& 16\end{array}$

[0079]
associated with that sample. Thus the suppression condition is where S_{thresh }is the threshold for the Suppression Artifact. The thresholds are different for the different channels and are determined empirically.

[0080]
(a) Persistent Suppression Ratio (SR)

[0081]
The suppression Observer calculates a quantity called the persistent Suppression Ratio (pSR). It is defined as the percentage, over the past 2.5 minutes, of 2.5second epochs in which a suppression artifact was detected. The pSR is used later in calculating the PSI from the PCC.

[0082]
The pSR is also calculated based on 2.5sec suppressed epoch declarations, even though 1.25sec suppressed epoch declarations are available from the current overlappingFFT scheme. (Recall that the connecting rule is, if one of the two 1.25sec epochs in a 2.5sec epoch is declared suppressed, then the 2.5sec epoch is declared suppressed.) The pSR is used later in calculating the PSI from the PCC.

[0083]
5) Calculation of Artifact Index

[0084]
The 2.5second Artifact Index 106 is one of the four final output parameters communicated to the user of the PSA 4000. The Artifact Index is a timeweighted percentage of 48 overlapped epochs (1.25second epochs) in the past one minute that were declared as artifacted epochs. The newer halfepochs are weighted more heavily than the older halfepochs. The Artifact Index is calculated every 1.25 seconds.

[0085]
6) Calculation of Suppression Ratio Index

[0086]
The Suppression Ratio (SR) 143 is also one of the four final output parameters communicated to the user of the PSA 4000. The SR is defined as the percentage, over the past one minute, of 2.5second epochs in which a suppression artifact was detected.

[0087]
7) FFT Calculation

[0088]
Whenever 625 continuous good (nonartifacted) samples are calculated, the FFT of the time series (i.e., the set of 625 samples, also called an epoch) is calculated. A Hamming Window is applied to the time series data before the calculation of every FFT (see references). EEG data is sliced into 2.5second periods, called epochs, containing 625 samples each. The Fourier Transform of an epoch of EEG data is calculated.

[0089]
FFT calculations 126, 128 are done using a 50% overlap scheme, i.e., FFT calculations are done every 1.25seconds for data covering the last good 2.5second period.

[0090]
8) Spectral Band Decomposition

[0091]
The following band definitions are used in succeeding Algorithmic calculations
146. The band definitions are given in units of Hertz (Hz).
 TABLE 1 
 
 
 Band Name  Band definition (Hz) 
 
 Δ  1.53.5 
 θ  3.57.5 
 α  7.512.5 
 β  12.525.0 
 β_{2}  25.050.0 
 β_{5}  35.050.0 
 tot  1.525.0 
 

[0092]
The band tot spans only the bands Δ through β.

[0093]
9) Calculation of the EMG Index

[0094]
The EMG Index 148 is an indicator is a timeweighted percentage of 1.25second epochs in the past one minute that had an F_{1}β_{2 }zcomponent of greater than 1.96. The newer halfepochs are weighted more heavily than the older halfepochs.

[0095]
10) EMG BETA5 observation

[0096]
The F_{1}β_{5 }raw measure 126, is the power on the F_{1 }channel in the β_{5 }band. The F_{1}β_{5 }Zcomponent is the logarithm of the raw measure, and the F_{1}β_{5 }Z score is the populationnormed Zcomponent. The F_{1}β_{5 }index is defined as a running average of the F_{1}β_{5 }Zscores over the past twelve overlappedepochs, in which the newest Zscore is limited to a maximum change of six population standard deviations from the latest running average.

[0097]
11) Discriminant observer calculations

[0098]
A discriminant 149 is a function of statistical variable that maximizes the separation, in the variable space, of two groups of interest. It is usually a linear combination of the statistical variables. Thus, specification of the discriminant involves both specification of the variables and their weights.

[0099]
i) Raw measures for the Discriminant Observers

[0100]
The Raw Measures used by the discriminant observer
18 are defined by the following table:
TABLE 1 


Raw Measures as a combination of electrodes and bands 
 tot  Δ  θ  α  β  β2 
 
FP_{1}  P      P 
FP_{z'}  F    P  P 
C_{z}      P  P 
P_{z}  P  P   P 


[0101]
In this matrix, P refers to monopolar power and F refers to mean frequency. The raw measures are averaged over 32 overlappedepochs.

[0102]
ii) Components for the Discriminant Observer

[0103]
The specific set of raw components calculated in the PSA 4000 Algorithm are as follows:
TABLE 2 


Rawcomponents used in calculating the probability of 
correct classification 
RawComponent #  QUANTITY  CHANNEL/BAND(S) 

1  monop abs power  FP_{1}Tot 
2  mean frequency  FP_{z'}Tot 
3  monop abs power  P_{z}α 
4  power assymetry  FP_{1}C_{z}β_{2} 
5  monop power  FP_{z'}α 
6  relative power  P_{z}Δ 
7  monop power  FP_{z'}β 
8  monop power  C_{z}β 
9  monop abs power  FP_{1}β_{2} 


[0104]
The first 8 are used in calculating the PCC. The 9^{th }is used in calculating the final EMG Index output parameter. Zcomponents are obtained from the raw components by norming to a set of population means and standard deviations, which are obtained for each component from an experimental study of normative populations.

[0105]
iv) ZScores

[0106]
Z scores are either linear combinations of Z components, or identical to the z components. The zscore set used in the PSA 4000 discriminant is:
TABLE 3 


Zscore set used in calculating the probability of correct classification 
Zscore #  Definition in terms of Zcomponents 

1  monop power (FP_{1}Tot) 
2  mean frequency (FP_{z'}Tot) 
3  monop power (FP_{z'}α)  monop power (P_{z}α) 
4  power assymetry (FP_{1}C_{z}β_{2}) 
5  relative power (P_{z}Δ) 
6  monop power (FP_{z'}β)  monop power (C_{z}β) 


[0107]
The zscores are linearly combined with weights such that the linear combination will maximize the separation between the two statistical groups: a group of aware people and a group of anesthetized unaware people.

[0108]
v) Calculation of the Probability of Correct Classification

[0109]
The probability that a set of zscores can be correctly classified as belonging to an aware group, as opposed to an anesthetized unaware group, is obtained from the discriminant by using a sleep term,
$\begin{array}{cc}S={c}_{s}+\sum _{i=1}^{6}\ue89e{w}_{i}^{\left(S\right)}\ue89e{z}_{i}& 17\end{array}$

[0110]
where c
_{s }is a constant term and the w's are discriminant weights. Similarly, the wake term is
$\begin{array}{cc}W={c}_{w}+\sum _{i=1}^{6}\ue89e{w}_{i}^{\left(W\right)}\ue89e{z}_{i}& 18\end{array}$

[0111]
The probability of correct classification is
$\begin{array}{cc}\mathrm{PCC}=\frac{{e}^{W}}{{e}^{W}+{e}^{S}}& 19\end{array}$

[0112]
The PCC, calculated every 1.25 seconds, is a rigorously defined mathematical probability, and as such, varies between zero and one.

[0113]
12) Observer Mediation

[0114]
Observation mediation logic 25 mediates between the different observers and indices to produce a final set of output parameters, including the PSI.

[0115]
a) The Initial PSI

[0116]
The initial PSI is the starting point for observer mediation logic and is simply a linear range expansion of the PCC by a factor of 100.

[0117]
b) Variability Transformation of the initial PSI

[0118]
The initial PSI 152, also referred to as the PSI, undergoes a piecewiselinear transformation 153 that rescales it according to the following formula:

rPSI=1.7(oPSI)−70.0oPSI≧85.0

rPSI=0.7(oPSI)+15.0 85.0>oPSI>15.0

rPSI=1.7(oPSI)15.0>oPSI 20

[0119]
The result is termed the rPSI.

[0120]
c) Mediation of Eye Blink Information

[0121]
Eye blink information is incorporated into the PSI 154 only prior to LOC, and only if the rPSI is greater than the LOC threshold of 50. An epoch is considered an eye blink epoch only if there are also no other types of artifact detected.

[0122]
If an eye blink epoch is detected during an Indeterminate Probability (i.e., before an rPSI can be calculated, because the raw measure buffer is not yet full) then an rPSI of 95 is reported. This rPSI and all succeeding rPSI values (until the buffer is full enough to calculate a value) are then treated as if they originated from a calculated probability, i.e., it undergoes the transformations and calculations that lead to the PSI. After this first eye blink, whenever an eye blink is detected, the current rPSI is averaged with 99, and the result becomes the current rPSI.

[0123]
d) Mediation of Suppression Information

[0124]
The new PSI that includes the information represented by the pSR is referred to as the nPSI. The nPSI is constructed as a function of the rPSI and the pSR, denoted as nPSI(pSR,rPSI) 144.

[0125]
The transformation when pSR=0, i.e., nPSI(0, rPSI), is an important special case of the whole transformation. Its result is a compression of the rPSI range (0100) into a new scale. The new, compressed scale has a minimum value, nPSI
_{bot}, so that range of the new scale is (nPSI
_{bot}−100). The rescaling is chosen so that a rPSI of 15 maps to a nPSI of 25. This completely determines the transformation equation, because the maxima of the two scales are the same. The transformation is given by
$\begin{array}{cc}\mathrm{nPSI}\ue8a0\left(0,\text{\hspace{1em}}\ue89e\mathrm{rPSI}\right)=\frac{15}{17}\ue89e\mathrm{rPSI}+{\mathrm{nPSI}}_{\mathrm{bot}}& 21\end{array}$

[0126]
where nPSI
_{bot }is given by
$\begin{array}{cc}{\mathrm{nPSI}}_{\mathrm{bot}}=25\frac{{15}^{2}}{17}\cong 11.7647& 22\end{array}$

[0127]
Another condition is the special case at pSR=15, i.e., nPSI(15, rPSI). We impose the condition

nPSI(pSR=15, rPSI≧15)=15 23

[0128]
A third condition determining the transformation is case when pSR≧50. Then we have

nPSI(pSR≧50,rPSI)=0 24

[0129]
e) Mediation of Beta5 Information

[0130]
Incorporation of EMG information into the PSI is based on the F_{1}β_{5 }index 140. This modification is a refinement of the EMG information already in the PSI by virtue of the F_{1}β_{2 }term. EMG modifications are possible only when the pSR=0, and only after a time threshold of 15 minutes after the declaration of Loss Of Consciousness (LOC). EMG modifications are not possible when the patient module is disconnected. In addition, there is a timeout period of ⅓ minute after the end of the PM Disconnect during which EMG modifications are not possible. When a BAD IMPEDANCE is detected, the EMG power used is the last one calculated before the BAD IMPEDANCE condition.

[0131]
The PSI that incorporates possible changes due to the F_{1}β_{5 }index is called the tPSI. (The tPSI is a function of EMG and the nPSI.)

[0132]
When the PSI is modified by the F_{1}β_{5 }index then the tPSI is considered a good data point and is painted nonwhite, even though the underlying PSI may have been artifacted and would have otherwise been painted white. The PSI is considered modified by EMG only when the change is greater than 1.

[0133]
The change from nPSI to tPSI is calculated using the following equation: we express the change as the product of three functions:

ΔPSI=f(F1,β5)g(nPSI)h(F1,β5, nPSI) 25

[0134]
The first function governs the rise along the F
_{1}β
_{5 }axis: functions:
$\begin{array}{cc}f\ue8a0\left(\mathrm{F1\beta}\ue89e\text{\hspace{1em}}\ue89e5\right)=\left(\frac{1}{1+{e}^{\left(\mathrm{F1\beta}\ue89e\text{\hspace{1em}}\ue89e5{B}_{m}\right)/{B}_{w}}}\right)& 26\end{array}$

[0135]
The second function governs the rise along the nPSI axis:
$\begin{array}{cc}g\ue8a0\left(\mathrm{nPSI}\right)=\left(\frac{1}{1+{e}^{\left(\mathrm{nPSI}{P}_{m}\right)/{P}_{w}}}\right)& 27\end{array}$

[0136]
The third function limits the change as nPSI becomes bigger, because there is a smaller remaining range of tPSI into which to change:
$\begin{array}{cc}h\ue8a0\left(\mathrm{F1\beta}\ue89e\text{\hspace{1em}}\ue89e5,\mathrm{nPSI}\right)={t}_{c}\frac{{t}_{c}}{{n}_{c}+\frac{100{n}_{c}}{1+{e}^{\left(\mathrm{F1\beta}\ue89e\text{\hspace{1em}}\ue89e5{b}_{m}\right)/{b}_{w}}}}\ue89e\mathrm{nPSI}& 28\end{array}$

[0137]
In each of the three functions there is a functional form F(x)=(1+exp((x+c)/d))^{−1}. This function creates a rising transition from 0 to 1, with the midpoint of the transition occurring at x=c, and the width (or sharpness) of the transition determined by d.

[0138]
Thus the first of the three equations above defines the contribution of the FP_{1}β_{5 }index as rising from zero around an index of approximately 1.25, and the second factor defines that the change can only occur be significant at nPSI values starting around a value of 19.

[0139]
The variable A in the equation above has a value of A=1.25−baseline. The baseline in the beginning of the case is set to zero (the population baseline, since the EMG B5 zscores used have been normalized to the population baseline). However the EMG B5 term is continuously monitored for conditions that will allow the setting of a new baseline. This allows the adaptation of EMG B5 modifications to individual patient differences. The adaptive baseline algorithm is described later in this section.

[0140]
The third factor in the equation embodies the idea that as the nPSI gets larger, there is a smaller and smaller remaining range into which the tPSI can change. The change is limited to only part of this remaining range. The maximum of this limiting part is defined by the last term which also has the functional form of f(x). The maximum is itself a rising function of the FP_{1}β_{5 }index with a midpoint at a large value of 10.25 and a relatively large transition width of 3.0. This means that for most typical values of the FP_{1}β_{5 }index, the change is limited to a maximum value of about 80. This maximum will increase as the FP_{1}β_{5 }index increases.

[0141]
The tPSI is given by

tPSI=nPSI+ΔPSI 29

[0142]
The EMG B5 baseline is adaptively determined as follows: The EMG B5 index over the past three minutes is stored in two windows, or buffers. The first holds the indices for the oldest two minutes (of the three minutes) and the second holds the most recent 1 minute (of the three minutes). For each of these windows, the averages and standard deviations are calculated at every update (every 1.25 seconds).

[0143]
Every update, the following conditions on the averages and standard deviations are checked:

(F_{1}β_{5})_{1}<A_{1} 30

(F _{1}β_{5})_{1}−(F _{1}β_{5})_{2} <D 31

σ_{2}<S_{2 } 33

σ_{1}<S_{1 } 32

[0144]
If all four conditions are satisfied, then the adaptive baseline, L, is set to the average in the first window, A_{1}:

L=A_{1} 34

[0145]
The variable A in the equation above has a value of A=1.25−baseline. The baseline in the beginning of the case is set to zero (the population baseline, since the EMG B5 zscores used have been normalized to the population baseline). However the EMG B5 term is continuously monitored for conditions that will allow the setting of a new baseline. This allows the adaptation of EMG B5 modifications to individual patient differences. The adaptive baseline algorithm is described later in the section.

[0146]
f) Mediation of Artifact Information

[0147]
i) Repeated PSI

[0148]
The conditions for declaring a Repeated PSI are distinct from the conditions for Repeated Probabilities. A Repeated Probability is generated if artifacts make an FFT unavailable. However, several things can cause the PSI to vary even if the underlying probability is a repeated probability. First, eye blink information can modify the oPSI′. Secondly, the nPSI can be calculated from repeated probabilities. If the pSR happens to change during repeated probabilities, the nPSI will vary even if the underlying probability does not. Third, EMG modifications can also be active during repeated probabilities.

[0149]
The following conditions are used in the declaration of a Repeated PSI: if an epoch is an artifacted epoch, AND the PSI has NOT been modified by either eye blinks or EMG, AND the Artifact Index is greater than 30, then the tPSI is a Repeated PSI.

[0150]
“Repeated PSI” is merely terminology, carried over from “Repeated Probability”. It does not imply that the PSI is actually repeated, though in most cases it will be.

[0151]
ii) Artifacted PSI

[0152]
Artifacted PSI's are distinct from Repeated PSI's. The Artifacted PSI declaration is made on the 2.5second PSI values. Repeated 1.25second PSI's or repeated fullepoch PSI's are possible (through the rules in the previous sections). A 2.5second PSI is declared an Artifacted PSI if the 2.5 second PSI is a repeated PSI AND the Artifact Index is greater than 30.

[0153]
iii) Trend PSI

[0154]
The Trend PSI is the running average of four 2.5 second PSI's, whether it is an Artifacted PSI or not. In the beginning of the case, the initial value of the running average is the population value of 95 for awake patients. The Trend PSI is the one of the four output parameters of the PSI 4000 Algorithm.
SYSTEM STATES AND SWITCHING

[0155]
As previously noted, the system operates in four distinct modes, each operating significantly differently. The four specifically defined states are as follows.

[0156]
1) States

[0157]
a) Data Accumulation

[0158]
During Data Accumulation, the raw measure buffer of raw measure sets does has less than 24 overlappedepochs of raw measure sets stored. EEG data acquisition is being performed, artifact analysis is being done, and FFT calculations are being made on good data. Each calculated raw measure set is added to the raw measure buffer. The following are NOT calculated: raw components, Z components, the PCC, and the PSI, and the EMG Index. The SR and the Artifact Index are calculated during this period.

[0159]
b) Awake State

[0160]
In Awake State, the raw measure buffer has 24 or more (up to 32) overlappedepochs of raw measure sets stored. EEG data acquisition is being performed, artifact analysis is being done, and FFT calculations are being made on good data. If the raw measure buffer has 32 raw measure sets, the oldest raw measure set is thrown away before the most recently calculated measure set is added. During this mode, all four output parameters are calculated from nonartifacted data. The most notable feature of this mode is the incorporation of eye blink information from artifact analysis into the PSI.

[0161]
c) Unconscious State

[0162]
In Unconscious State, eye blink information is ignored and is NOT incorporated into the PSI. Otherwise, the operation of the Algorithm is the same as in Awake State.

[0163]
1) Transition Events

[0164]
The following three transition events initiate a transition between the four states.

[0165]
a) Sufficient Data Accumulated

[0166]
The Algorithm determines that sufficient data has been accumulated after the raw measure buffer has accumulated 24 overlappedepochs of raw measure sets calculated from FFT data. FFT data can only be calculated from nonartifacted epochs. Thus the time spent in this state is variable, depending on the amount of artifacts present in the data.

[0167]
b) Loss Of Consciousness

[0168]
If the PSI has 18 consecutive nonrepeated values below 50, Loss Of Consciousness is declared. This declaration is used to disable the incorporation of eye blink information into the PSI.