Anesthesia depth monitoring system based on EEG and NIRS

By fusing EEG and NIRS multimodal signals and using a dual-stream attention neural network model, the problem of lag in single EEG signal monitoring is solved, enabling accurate assessment and early warning of anesthesia depth, adapting to different individual physiological responses, and reducing the risk of intraoperative awareness.

CN123166574APending Publication Date: 2026-11-27THE PEOPLES HOSPITAL SHAANXI PROV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611287417.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-24
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing anesthesia depth monitoring systems rely on a single EEG signal, which cannot comprehensively and directly reflect the degree of inhibition of the arousal center by anesthetic drugs, resulting in delayed judgment of critical changes in consciousness and insufficient ability to provide early warnings during surgery.

Method used

A multimodal signal acquisition and fusion system based on EEG and NIRS was adopted, combined with a dual-stream attention neural network model, to achieve dynamic complementarity and redundancy verification of EEG spatiotemporal patterns and NIRS temporal hemodynamic characteristics. Early warning logic was designed to identify intraoperative risks in advance, and the system was adjusted to adapt to individual physiological responses through pre-training and online adaptive models.

Benefits of technology

It significantly improves the accuracy and foresight of anesthesia depth monitoring, enabling early identification of changes in consciousness, reducing the risk of intraoperative awareness, and adapting to the physiological differences of different individuals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166574A_ABST
    Figure CN123166574A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of medical monitoring, and discloses a depth of anesthesia monitoring system based on EEG and NIRS, which comprises a multi-modal signal acquisition module, a signal preprocessing and feature extraction module, a central inhibition state fusion evaluation module and a warning and feedback output module. By synchronously collecting electroencephalogram and near-infrared spectrum signals, multi-dimensional features are extracted, and a double-flow attention network is used for fusion evaluation to generate a multi-modal anesthesia depth index, so that real-time warning and feedback control based on dynamic threshold and trend analysis are realized, thereby improving the accuracy and foresight of the judgment of anesthesia depth and intraoperative awareness risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of medical monitoring technology, specifically relating to an anesthesia depth monitoring system based on EEG and NIRS. Background Technology

[0002] In clinical medicine, monitoring the depth of anesthesia is a crucial step in ensuring surgical safety and optimizing anesthetic medication. Accurate assessment of the depth of anesthesia helps avoid complications caused by intraoperative awareness or excessive anesthesia, and is essential for improving patient outcomes.

[0003] Monitoring the depth of anesthesia based on electroencephalogram (EEG) signals is currently the mainstream technological direction. This technology analyzes the electrical signals generated by the activity of neurons in the cerebral cortex to extract characteristic parameters related to the level of consciousness, thereby quantifying the depth of anesthesia. Existing technologies mainly rely on single-modality EEG signals for analysis and evaluation.

[0004] Electroencephalography (EEG) primarily reflects the synchronization activity of neurons in the cerebral cortex, while anesthetic drugs, especially general anesthetics, primarily work by inhibiting the brainstem reticular activating system and other arousal centers. Therefore, monitoring only cortical electrical activity cannot comprehensively and directly reflect the degree of drug inhibition of the arousal centers, leading to delayed or inaccurate assessments of the critical state between loss and recovery of consciousness. This monitoring blind spot fundamentally undermines the existing system's ability to detect this serious anesthetic complication during surgery, making it difficult to detect the weakening of arousal center inhibition before significant changes occur in cortical electrical activity. The limitations of a single signal source further restrict the robustness and accuracy of the assessment; monitoring reliability decreases in the presence of electrical signal interference or significant individual differences.

[0005] While existing technologies have attempted to simultaneously acquire EEG and NIRS signals for monitoring, their feature fusion largely remains at the stage of data splicing or superficial feature combination, failing to achieve deep, dynamic information complementarity and weight quantification between the two modalities. Furthermore, the early warning mechanisms of existing systems mostly rely on fixed threshold criteria, lacking sufficient ability to predict trends of rapid changes in anesthesia depth, and generally lack the adaptive capability to adjust the model in real time based on individual patient physiological responses, thus limiting their effectiveness in complex surgical scenarios and special populations. Summary of the Invention

[0006] The purpose of this invention is to provide an anesthesia depth monitoring system based on EEG and NIRS, so as to solve the problem that the existing technology relies on a single EEG signal, which cannot comprehensively and directly reflect the degree of inhibition of the arousal center by anesthetic drugs, resulting in a lag in the judgment of critical changes in consciousness and insufficient ability to provide early warning during surgery.

[0007] This invention provides an anesthesia depth monitoring system based on EEG and NIRS. The system includes a multimodal signal acquisition module, a signal preprocessing and feature extraction module, a central inhibition state fusion assessment module, and an early warning and feedback output module.

[0008] The core innovations of this invention are as follows: First, a deep neural network fusion architecture based on a dual-stream attention mechanism is proposed, which can dynamically quantify the cross-modal correlation and contribution between EEG spatiotemporal pattern features and NIRS time-series hemodynamic features, achieving deep information complementarity and redundancy verification; Second, an early warning logic based on the real-time slope and changing trend of the multimodal anesthesia depth index is designed, which can predict and identify intraoperative known risks in advance, overcoming the lag of traditional fixed threshold alarms; Third, a model deployment strategy combining pre-training and online adaptation is adopted, and the system can be fine-tuned according to the physiological response and drug feedback of individual patients to achieve personalized monitoring; Fourth, a Kalman filter is integrated for state prediction, further improving the foresight of the early warning.

[0009] A multimodal signal acquisition module is used to simultaneously acquire the patient's electroencephalogram (EEG) and near-infrared spectral signals. This module includes an integrated head-mounted device with at least 16 EEG electrodes arranged according to a pre-defined 10-20 international standard lead system for acquiring cortical EEG activity covering the frontal, central, parietal, and temporal lobes. Simultaneously, at least four pairs of NIRS probes are symmetrically arranged on the head-mounted device in the prefrontal and temporoparietal junction regions. Each probe pair includes one transmitting probe and one receiving probe. The transmitting probe emits near-infrared light of a specific wavelength, and the receiving probe receives the emitted light signal after scattering and absorption by the brain tissue. This allows for real-time monitoring of the relative changes in oxyhemoglobin, deoxyhemoglobin, and total hemoglobin concentrations in the aforementioned brain regions. The multimodal signal acquisition module incorporates a high-precision synchronization clock to ensure that the timestamp alignment accuracy between the EEG and NIRS signals is within 1 millisecond.

[0010] The signal preprocessing and feature extraction module, connected to the multimodal signal acquisition module, is used to perform noise reduction, artifact removal, and multidimensional feature vector extraction on the acquired raw signals. This module further includes an EEG signal processing submodule and an NIRS signal processing submodule.

[0011] The EEG signal processing submodule first performs bandpass filtering on the raw EEG signal from 0.5 Hz to 45 Hz to remove power frequency interference and baseline drift. Then, an independent component analysis algorithm is used to automatically identify and remove artifacts from eye movement, electromyography (EMG), and electrocardiogram (ECG). The preprocessed EEG signal is divided into continuous data segments of 2 seconds each, overlapping by 1 second. For each data segment, the following time-domain, frequency-domain, and nonlinear dynamic features are extracted: the root mean square (RMS) value of the signal within the data segment is calculated as the time-domain energy feature; the power spectral density is calculated using Fast Fourier Transform (FFT), and the relative power of the delta wave in the 0.5 Hz to 4 Hz band, the relative power of the theta wave in the 4 Hz to 8 Hz band, the relative power of the alpha wave in the 8 Hz to 13 Hz band, the relative power of the beta wave in the 13 Hz to 30 Hz band, and the relative power of the gamma wave in the 30 Hz to 45 Hz band are calculated; the spectral entropy is calculated as the signal complexity feature; and the bispectral index is calculated as the signal phase coupling feature. Ultimately, each EEG data segment generates an EEG feature vector containing the aforementioned nine feature values.

[0012] The NIRS signal processing submodule first applies a moving average filter to the raw light intensity signal to suppress high-frequency noise. Then, using a modified algorithm based on Lambert-Beer's law, it converts the changes in light intensity at different wavelengths into three time series: changes in oxyhemoglobin concentration, changes in deoxyhemoglobin concentration, and changes in total hemoglobin concentration. Subsequently, each concentration change time series is bandpass filtered from 0.01 Hz to 0.1 Hz to separate low-frequency oscillations related to neural activity. The preprocessed NIRS signal is synchronously segmented into data segments with the same time windows as the EEG signal. For each data segment, the following hemodynamic features are extracted: the mean and standard deviation of the oxyhemoglobin concentration change within the segment are calculated; the mean and standard deviation of the deoxyhemoglobin concentration change are calculated; the correlation coefficient between the oxyhemoglobin and deoxyhemoglobin concentration changes is calculated; and the slope of the total hemoglobin concentration change is calculated. Finally, each NIRS data segment generates an NIRS feature vector containing the above seven feature values.

[0013] The central inhibition state fusion assessment module, connected to the signal preprocessing and feature extraction module, receives synchronized EEG feature vectors and NIRS feature vectors, and performs feature fusion and anesthesia depth index calculation through a deep neural network model. This deep neural network model is a pre-trained two-stream attention network, whose structure includes a feature embedding layer, a two-stream coding layer, a cross-modal attention fusion layer, and a regression output layer.

[0014] The feature embedding layer maps the input EEG feature vector and NIRS feature vector to a high-dimensional feature space through a fully connected layer, respectively, to obtain the EEG embedding vector and NIRS embedding vector.

[0015] The dual-stream coding layer comprises an EEG coding stream and an NIRS coding stream. The EEG coding stream consists of three layers of one-dimensional convolutional neural networks with kernel sizes of 3, 5, and 3, used to extract deep spatiotemporal pattern features related to the level of consciousness from the EEG embedding vectors. The NIRS coding stream consists of two layers of long short-term memory network units, used to extract temporal dynamic features related to brain metabolism and blood flow regulation from the NIRS embedding vector sequence.

[0016] The cross-modal attention fusion layer receives EEG high-level features and NIRS high-level features from the dual-stream coding layer. Unlike conventional feature concatenation or unidirectional attention mechanisms, this layer employs a bidirectional cross-modal attention mechanism to achieve dynamic interaction and contextual weighting between EEG and NIRS high-level features. Specifically, this layer first calculates the attention weights of NIRS high-level features on EEG high-level features. The process involves: generating a query vector from the NIRS high-level features through a linear transformation; generating key and value vectors from the EEG high-level features through another linear transformation; calculating the dot product of the query and key vectors and normalizing it using the Softmax function to obtain the attention weight distribution; and then using this weight distribution to perform a weighted summation of the value vectors to generate EEG context features dynamically weighted by NIRS information. Symmetrically, the system calculates the attention weights of EEG high-level features on NIRS high-level features using the same mechanism to generate NIRS context features dynamically weighted by EEG information. Finally, the weighted EEG context features are concatenated with the NIRS context features. This bidirectional context-weighted mechanism enables the model to adaptively adjust the contribution of the two modes in the decision-making process based on the real-time signal quality and correlation, thereby maintaining the robustness of the evaluation when the signal is disturbed.

[0017] The regression output layer inputs the concatenated fused feature vector into a regressor consisting of two fully connected layers. The first fully connected layer contains 128 neurons and uses the ReLU activation function, while the second fully connected layer contains one neuron and uses the Sigmoid activation function. The final output is a continuous value between 0 and 100, defined as the multimodal anesthesia depth index. The lower the index value, the deeper the central inhibition and the lower the level of consciousness; the higher the index value, the shallower the central inhibition and the higher the level of consciousness.

[0018] The early warning and feedback output module, connected to the central nervous system depression state fusion assessment module, is used to determine the state and provide risk warnings based on the real-time calculated multimodal anesthesia depth index. This module has three preset dynamic thresholds: a deep anesthesia threshold of 40, an awakening threshold of 60, and an intraoperative awareness risk warning threshold of 55. This module continuously monitors the changing trend and absolute value of the multimodal anesthesia depth index.

[0019] When the multimodal anesthesia depth index remains above the awakening threshold for 10 consecutive seconds, the warning and feedback output module determines that the patient is awake or close to awake and generates a first-level audible and visual alarm signal. At the same time, it sends an instruction to the anesthesia machine control system, suggesting an increase in the infusion rate of anesthetic drugs.

[0020] When the multimodal anesthesia depth index remains below the deep anesthesia threshold for 5 consecutive seconds, the warning and feedback output module determines that the patient is under excessive anesthesia and generates a level 2 audible and visual alarm signal. At the same time, it sends an instruction to the anesthesia machine control system, suggesting a reduction in the infusion rate of anesthetic drugs.

[0021] Crucially, this system's intraoperative awareness risk warning does not rely solely on an index exceeding a single fixed threshold. Instead, it introduces a composite criterion based on "dynamic rise slope monitoring" and "threshold crossing," aiming to identify precursory trends of rapid weakening of central inhibition. The specific triggering conditions are as follows: when the multimodal anesthesia depth index rises from a value below 55, and simultaneously meets the following two conditions: 1. Within a 30-second time window, its rise slope exceeds 0.5 units per second; 2. The index value crosses the intraoperative awareness risk warning threshold during its rise. The warning and feedback output module determines that the patient has a high risk of intraoperative awareness. At this point, the module immediately generates the highest-level Level 3 audible and visual alarm signal, which is distinct from Level 1 and Level 2 alarms, and sends an emergency intervention command to the anesthesia machine control system, forcibly increasing the anesthetic drug infusion rate to a preset safe level. Simultaneously, the EEG and NIRS signal change curves of the risk brain region are prominently displayed on the human-computer interface.

[0022] Furthermore, the deep neural network model in the central inhibition state fusion assessment module undergoes pre-training and online adaptation using the following process. In the pre-training phase, a dataset containing EEG signals, NIRS signals, and clinical anesthesia depth labels annotated by anesthesiologists from thousands of surgeries is used. This dataset covers various anesthetic drugs, different age groups, and different surgical types. The training objective is to minimize the mean squared error between the model's predicted multimodal anesthesia depth index and the clinical labels. In the online adaptation phase, at the start of each monitoring session, the system loads a base model that most closely matches the current patient's demographic characteristics. The core of this phase lies in achieving rapid and stable personalized calibration through the following two key designs: First, a pseudo-label generation mechanism: During monitoring, the early warning and feedback output module infers the expected direction of anesthesia depth change based on the real-time trend of anesthetic drug infusion rate changes, generating "pseudo-labels." For example, if the infusion rate increases by more than 20% within 5 minutes while the monitoring index decreases by less than 5 units within those 5 minutes, the system infers that the current index may underestimate the anesthesia depth, and the pseudo-label is adjusted accordingly. Secondly, lightweight parameter fine-tuning: The system caches signal features and the aforementioned pseudo-labels within the last 2 minutes using a sliding window. To avoid disrupting the basic feature extraction capabilities of the pre-trained model, only a round of lightweight fine-tuning is performed on the final regression output layer of the deep neural network model every 5 minutes, while freezing the remaining network parameters. This mechanism transforms clinical intervention actions into supervisory signals and achieves rapid adaptation to individual pharmacokinetic differences with minimal parameter perturbation.

[0023] Furthermore, the NIRS probe in the multimodal signal acquisition module employs a dual-wavelength light source, specifically 730 nm and 850 nm. This wavelength selection is based on the significantly different absorption coefficients of oxyhemoglobin and deoxyhemoglobin in these two bands, thereby ensuring the accuracy of concentration change calculations. The distance between the transmitting and receiving probes is strictly controlled at 3 cm. This distance has been optimized to balance detection depth and signal strength, ensuring effective detection of hemodynamic changes in the cerebral cortex and subcortical regions.

[0024] Furthermore, the early warning and feedback output module also integrates a trend analysis unit. This unit performs real-time calculations of the first and second derivatives of the multimodal anesthesia depth index and constructs a three-dimensional state vector based on the index value itself. By filtering and predicting this state vector using a Kalman filter, it can predict whether the index will exceed a preset threshold 3 to 5 seconds in advance, thus achieving a more proactive early warning.

[0025] Compared with the prior art, the beneficial effects of the present invention are as follows: 1. This invention constructs a monitoring system that integrates cortical electrical activity and cerebral blood flow metabolism information by simultaneously acquiring and analyzing EEG and NIRS signals. EEG signals directly reflect the synchronized activity of cortical neuronal clusters, while NIRS signals monitor hemodynamic changes in the prefrontal and temporoparietal junctions, which are closely related to the functional activities of the brainstem reticular activating system and the thalamic cortex system, which maintain wakefulness. This multimodal fusion fundamentally overcomes the deficiency of single EEG signals in directly monitoring the inhibitory state of the wakefulness center, enabling the system to perceive the overall inhibitory effect of anesthetic drugs on the central nervous system more comprehensively and earlier, significantly improving the sensitivity and accuracy of judging the threshold of loss and recovery of consciousness.

[0026] 2. The central inhibitory state fusion assessment module designed in this invention employs a dual-stream deep neural network model based on an attention mechanism for feature fusion. This model can not only deeply learn the spatiotemporal patterns of EEG signals and the temporal dynamics of NIRS signals, but also dynamically evaluate the correlation and contribution of the two signals at specific moments through a cross-modal attention mechanism, achieving information complementarity and redundancy verification. For example, when the EEG signal is temporarily distorted due to electrosurgical interference, the system can rely on the stable metabolic information provided by NIRS for judgment; conversely, when local blood flow changes are affected by other physiological factors, the system can rely on the global electrical activity characteristics of the EEG. This intelligent fusion mechanism greatly enhances the system's anti-interference ability and assessment robustness in complex surgical environments.

[0027] 3. The early warning and feedback output module of this invention innovatively introduces an intraoperative awareness risk warning logic based on trends and slopes. Traditional systems often only issue alarms after the index exceeds a fixed threshold, resulting in a lag. This invention, by monitoring the rising slope of the multimodal anesthesia depth index and its behavior in crossing the warning threshold, can identify a dangerous trend of rapidly weakening central nervous system inhibition tens of seconds in advance, before the absolute value of the index reaches the level of awakening. This provides anesthesiologists with a valuable intervention window. Combined with the highest level of alarm and automatic feedback control commands, this system constructs a proactive and forward-looking intraoperative awareness defense barrier, greatly reducing the risk of this serious complication.

[0028] 4. This invention effectively addresses the challenge of individual variability in anesthesia monitoring through a model deployment strategy that combines pre-training with online adaptation. The pre-trained model accumulates extensive prior knowledge, ensuring the system's baseline performance. The online fine-tuning mechanism enables the system to quickly learn the unique physiological response patterns of the current patient, achieving personalized calibration. This design allows the invention to adapt to patient groups of different ages, pathological states, and anesthetic pharmacology characteristics, improving clinical applicability and monitoring accuracy. Attached Figure Description

[0029] Figure 1 This is a schematic diagram of the overall technical solution architecture proposed in this invention; Figure 2 This is a schematic diagram of the multi-level interaction relationship and data flow between the multimodal signal acquisition module, the central inhibition state fusion evaluation module and the early warning feedback module in this invention. Detailed Implementation

[0030] Example 1: The overall technical architecture of the anesthesia depth monitoring system based on EEG and NIRS proposed in this invention is shown in the attached figure. Figures 1 to 2 As shown, the system consists of four core components: a multimodal signal acquisition module, a signal preprocessing and feature extraction module, a central inhibition state fusion assessment module, and an early warning and feedback output module. These modules are connected via a high-bandwidth, low-latency data bus and share a unified system clock to ensure end-to-end time synchronization. The entire system is deployed on an embedded medical-grade computing platform, which features a real-time operating system kernel, hardware-level security isolation mechanisms, and electrical safety design compliant with IEC 60601-1 standards.

[0031] The multimodal signal acquisition module, serving as the system's front-end sensing unit, is physically housed in a lightweight, adjustable-size, flexible head-mounted device. This device is made of a medical-grade silicone and breathable fabric composite material, with an inner surface conforming to the patient's head shape and featuring an elastic support strap to ensure stability and comfort during extended wear. The device is equipped with 16 silver / silver chloride dry electrodes arranged strictly according to the 10-20 international standard lead system, covering key brain regions such as Fp1, Fp2, F3, F4, C3, C4, P3, P4, T3, T4, F7, F8, T5, T6, O1, and O2. These electrodes are used to simultaneously acquire cortical EEG activity in the frontal, central, parietal, and temporal lobes. Each EEG electrode integrates a preamplifier and a high input impedance buffer circuit, achieving a common-mode rejection ratio of at least 100 dB, an input noise density of less than 1 microvolt per hertz, a sampling rate of 500 Hz, and a resolution of 24 bits.

[0032] Simultaneously, four pairs of near-infrared spectroscopy probes are symmetrically arranged in the prefrontal cortex region (corresponding to both sides of the midpoint of the line connecting Fp1 and Fp2) and the temporoparietal junction region (corresponding to the vicinity of the intersection of the lines connecting T3-P3 and T4-P4) of the head-worn device. Each probe pair consists of one transmitting probe and one receiving probe, with the distance between them strictly controlled at 3 cm. The transmitting probe has a built-in dual-wavelength light-emitting diode, emitting near-infrared light pulses with center wavelengths of 730 nm and 850 nm respectively, with a pulse width of 1 ms and a repetition frequency of 10 Hz. The receiving probe uses a high-sensitivity avalanche photodiode, combined with a transimpedance amplifier and a low-pass filter circuit, to convert the received scattered light intensity signal into a voltage signal. The sampling rate of all NIRS channels is uniformly set to 10 Hz to match the time scale of hemodynamic response. The multimodal signal acquisition module integrates a temperature-compensated crystal oscillator as a high-precision synchronization clock source, with a long-term stability better than ±0.1 ppm. Hard synchronization of EEG and NIRS data acquisition is achieved through a hardware trigger line, ensuring that the timestamp alignment error of the two signals does not exceed 1 ms.

[0033] The signal preprocessing and feature extraction module receives the raw data stream from the multimodal signal acquisition module and executes a series of standardized processing procedures. This module runs on a dedicated digital signal processor and employs a pipelined architecture to support real-time processing. First, the raw EEG signal enters the EEG signal processing submodule. The first stage of this submodule is bandpass filtering, using a zero-phase-distortion digital filter with a passband range of 0.5 Hz to 45 Hz, effectively suppressing 50 Hz power frequency interference, high-frequency noise from electromyography (EMG), and DC drift. The second stage is automatic artifact identification and removal. The FastICA algorithm is used to perform blind source separation on the multi-channel EEG signal, generating several independent components. Subsequently, components containing significant artifacts are automatically marked and removed using a preset feature rule base (including high energy proportions of eye-tracking components in Fp1 / Fp2 channels, synchronization of ECG components with QRS waveforms, and concentration of EMG component spectra above 20 Hz). Finally, the original signal is reconstructed using the remaining clean components, completing artifact correction.

[0034] The preprocessed EEG signal is segmented into continuous data segments, each 2 seconds long, with a 1-second overlap between adjacent segments to balance temporal resolution and feature stability. For each data segment, the system sequentially extracts a 9-dimensional feature vector: First, the root mean square value of the signal is calculated as a temporal energy feature reflecting the overall neural activity intensity; second, a fast Fourier transform is performed on the data segment to obtain the power spectral density function, and based on this, the relative power of the five frequency bands—δ wave (0.5 Hz to 4 Hz), θ wave (4 Hz to 8 Hz), α wave (8 Hz to 13 Hz), β wave (13 Hz to 30 Hz), and γ wave (30 Hz to 45 Hz)—is calculated, representing the proportion of power in each band to the total power; third, the spectral entropy is calculated, defined as the Shannon entropy of the power spectral distribution, to quantify the complexity and regularity of the signal; finally, the bispectral index is calculated, which, through normalization of the third-order cumulants, reflects the degree of nonlinear phase coupling between different frequency components. The above nine values ​​together constitute the EEG feature vector corresponding to this time window.

[0035] Meanwhile, the raw NIRS light intensity signal enters the NIRS signal processing submodule. This submodule first performs a 5-point moving average filter on the light intensity time series at both 730 nm and 850 nm wavelengths to smooth high-frequency electronic noise. Then, according to the modified Lambert-Beer law, the light intensity variation is processed... Converted to change in absorbance Then, by solving the following system of linear equations, the change in oxyhemoglobin concentration can be derived. Changes in deoxyhemoglobin concentration :

[0036] in, Indicates the molar extinction coefficient. The distance between the light source and the detector is 3 cm. Differential path factor, with a value of 6.0. Change in total hemoglobin concentration. Then by The concentration change time series were directly calculated. The three time series were then processed by a zero-phase bandpass filter from 0.01 Hz to 0.1 Hz to extract the low-frequency oscillation components related to neurovascular coupling and filter out physiological interferences such as respiration and heartbeat.

[0037] The preprocessed NIRS signal was synchronously segmented into time windows perfectly aligned with the EEG signal, each window being 2 seconds long and overlapping by 1 second. For each window, the system extracted 7-dimensional hemodynamic features: [Calculation / Reference] The mean and standard deviation reflect the average oxygen supply level and its fluctuation in the prefrontal cortex region during this period, respectively; calculation The mean and standard deviation represent the average level and variability of tissue oxygen consumption; calculation and The Pearson correlation coefficient between oxygen supply and consumption is used to assess the coupling coordination between oxygen supply and consumption; calculation The slope of the linear fit reflects the dynamic trend of local cerebral blood volume. These seven values ​​constitute the NIRS feature vector corresponding to this time window.

[0038] The central nervous system depression state fusion assessment module receives synchronous EEG feature vectors and NIRS feature vectors from the signal preprocessing and feature extraction module, and performs multimodal fusion and anesthesia depth index regression through a deep neural network model. Its core is a two-stream attention network. The model input is a pair of feature vectors: the EEG feature vector has a dimension of 9, and the NIRS feature vector has a dimension of 7.

[0039] First, the feature embedding layer maps the two input vectors to a 128-dimensional high-dimensional feature space through independent fully connected layers. (EEG embedding layer weight matrix) NIRS embedding layer weight matrix All maps are initialized using Xavier and learn the optimal mapping during training.

[0040] Subsequently, a dual-stream coding layer enhances the modality-specific features of the embedded vector. The EEG coding stream consists of three stacked one-dimensional convolutional neural networks: the first layer has a kernel size of 3 and outputs 64 channels; the second layer has a kernel size of 5 and outputs 64 channels; and the third layer has a kernel size of 3 and outputs 128 channels. Each layer is followed by batch normalization and a ReLU activation function to capture local patterns and cross-frequency interactions of EEG features over time. Since the EEG feature vector itself is a statistical summary at a single time point, the one-dimensional convolution operation here essentially performs pattern mining of local receptive fields in the feature dimension, simulating the joint indicative effect of different combinations of EEG features on the state of consciousness.

[0041] The NIRS encoding stream consists of two layers of Long Short-Term Memory (LSTM) network units. The input is a sequence of NIRS embedding vectors arranged in chronological order (with a sliding window length of 10, covering 20 seconds of historical data), and each LSTM unit has a hidden state dimension of 128. This structure aims to model the temporal dependence of NIRS hemodynamic features, such as the slow rise or fall of oxygenation levels and the hysteretic response of blood flow regulation, thereby extracting dynamic patterns that match the metabolic kinetics of anesthetic drugs.

[0042] The outputs of the dual-stream coding layers are respectively EEG high-level features. With NIRS advanced features The cross-modal attention fusion layer facilitates information exchange. Unlike simple feature concatenation, this layer implements a bidirectional dynamic attention mechanism. Specifically, the system first calculates the attention weights of NIRS high-level features on EEG high-level features: N is transformed linearly... Generate query vectors ; Pass E through and Generate key vectors respectively AND value vector Calculate attention score The weights are obtained after Softmax normalization. Finally, a weighted summation is performed to obtain the EEG context features. The system generates EEG context features dynamically weighted by NIRS information. Symmetrically, it calculates the attention weights of EEG high-level features to NIRS high-level features using the same mechanism, generating NIRS context features dynamically weighted by EEG information. This bidirectional weighting process enables the model to adaptively adjust the information fusion weights based on the real-time quality and complementarity of the two modal signals, thereby significantly enhancing the robustness and fault tolerance of the overall assessment when a single signal is disturbed. This mechanism allows the model to dynamically determine at each time step whether the current NIRS signal provides supplementary information about the EEG state (e.g., when the EEG shows increased low-frequency power but the NIRS shows adequate oxygen supply, it may indicate non-anesthetic slow waves), and vice versa.

[0043] fused feature vector The signal is fed into the regression output layer. This layer consists of two fully connected layers: the first layer contains 128 neurons and uses the ReLU activation function; the second layer contains 1 neuron and uses the Sigmoid activation function, compressing the output to the range of 0 to 100, defined as the multimodal anesthesia depth index. This index has been calibrated with large-scale clinical data, where 0 represents a deep coma, 100 represents a fully awake state, and around 50 corresponds to a typical level of surgical anesthesia maintenance.

[0044] The training of this deep neural network model consists of two phases: pre-training and online adaptive training. The pre-training phase uses a multi-center dataset containing 3200 surgical cases. Each case includes synchronously recorded EEG and NIRS signals, as well as clinical anesthesia depth labels (based on a comprehensive assessment of BIS index, eyelash reflex, and body movement response) independently labeled by three senior anesthesiologists and agreed upon. The loss function is mean squared error, the optimizer is Adam, the initial learning rate is 0.001, the batch size is 64, and the number of training epochs is 100. After training, the model parameters are fixed and stored in the system's read-only memory.

[0045] The online adaptive phase is activated upon each monitoring initiation, aiming to achieve rapid and stable personalized calibration. Its core comprises two steps: First, the system inversely deduces the expected direction of change in anesthesia depth based on changes in the real-time anesthetic drug infusion rate, generating "pseudo-labels." For example, if the infusion rate increases significantly but the monitoring index does not decrease, a lower pseudo-label value is generated. Second, the system caches the feature vector sequence and pseudo-labels from the most recent 120 seconds using a sliding window approach, and only performs a lightweight parameter fine-tuning of the last layer (regression output layer) of the deep neural network model every 5 minutes, while freezing all feature extraction layer parameters at the network's front end. This design, while incorporating individual pharmacokinetic-specific feedback, maximizes the preservation of the general knowledge and stability of the pre-trained model, thereby achieving efficient and reliable personalized monitoring.

[0046] The system first retrieves the most similar sub-model from the pre-trained model library as the initial model based on demographic information such as patient age, weight, gender, and underlying diseases. During monitoring, the system caches the feature vector sequence and corresponding multimodal anesthesia depth index within the last 120 seconds using a sliding window. Simultaneously, the trend analysis unit infers a pseudo-label based on changes in the anesthetic drug infusion rate (obtained from the anesthesia machine communication interface): if the propofol infusion rate increases by more than 20% within 5 minutes, and the index decreases by less than 5 units within those 5 minutes, the original index is considered to have underestimated the degree of inhibition, and the pseudo-label is adjusted downwards; conversely, if the propofol infusion rate decreases by more than 20% within 5 minutes, and the index increases by less than 5 units within those 5 minutes, the original index is considered to have overestimated the degree of inhibition, and the pseudo-label is adjusted upwards. Every 300 seconds, the system uses the most recently cached 240 samples (corresponding to a 120-second × 2Hz feature update rate) to fine-tune the weights of the regression output layer, employing stochastic gradient descent with a small learning rate, updating only the parameters of the last two layers to avoid catastrophic forgetting. This mechanism enables the system to quickly adapt to individual pharmacokinetic differences, improving the accuracy of personalized monitoring.

[0047] The early warning and feedback output module continuously receives the multimodal anesthesia depth index and executes multi-level state judgment and intervention logic. Internally, this module maintains a state machine containing four main states: deep anesthesia, targeted anesthesia, light anesthesia, and intraoperative awareness of high risk. The module presets three dynamic thresholds: a deep anesthesia threshold... =40, alertness threshold =60, Intraoperative risk warning threshold =55.

[0048] The module first performs real-time smoothing on the index using an exponentially weighted moving average with a time constant of 2 seconds to suppress instantaneous noise. Subsequently, the trend analysis unit processes the smoothed index... Calculate the first derivative With the second derivative Construct a three-dimensional state vector The vector is input to a discrete-time Kalman filter, whose state transition matrix is:

[0049] in The sampling interval is defined. The observation matrix H = [1, 0, 0]. The process noise covariance Q and the observation noise covariance R are statistically estimated based on historical data. The Kalman filter output provides an exponential prediction of the next 3 to 5 seconds. If the predicted value is in =3 seconds will break through or If so, an early warning preparation state will be triggered in advance.

[0050] The specific alarm logic is as follows: When the smoothed multimodal anesthesia depth index is greater than 60 for 10 consecutive seconds, the module determines that the patient is awake or nearly awake and activates the first-level alarm. The first-level alarm is characterized by a flashing yellow LED and a low-frequency buzzer (500 Hz, 1-second interval). At the same time, a command to increase the infusion rate is sent to the anesthesia machine control system via the RS-485 bus. The command includes the current index value, the rate of increase, and the recommended increment (usually 1.2 times the current rate).

[0051] When the index is less than 40 for 5 consecutive seconds, the level 2 alarm is activated, which is indicated by a constantly lit red LED and a medium-frequency buzzer sound (1000 Hz, continuous sound), and a command to reduce the infusion rate is sent to the anesthesia machine, recommending a reduction to 0.8 times the current rate.

[0052] This system, designed to prevent intraoperative awareness of Level 3 alarms, employs a composite criterion based on trend prediction, rather than relying solely on absolute thresholds. Its triggering logic is as follows: when the multimodal anesthesia depth index rises from below 55, and simultaneously meets the following two conditions: 1. Within any 30-second window, its upward slope exceeds 0.5 units / second; 2. When the index value crosses the 55 threshold during this rise, the system immediately activates the Level 3 alarm. This "dynamic slope monitoring + threshold crossing" strategy aims to detect the rapid reversal trend of central inhibition before the index reaches the level of consciousness. The Level 3 alarm uses a unique sound pattern (alternating pulses of 1500 Hz and 2000 Hz, frequency 2 Hz) and a rapidly flashing red LED (frequency 4 Hz) to distinguish it from other levels. Simultaneously, the system sends an emergency intervention command to the anesthesia machine, forcibly increasing the infusion rate of the main intravenous anesthetic (such as propofol) to a preset safe upper limit (e.g., 150 micrograms / kg / minute for adult patients) and locking this rate for at least 60 seconds, unless manually deactivated by the physician. In addition, the human-computer interaction interface will automatically pop up a highlighted window to display the dynamic EEG power spectrum of the prefrontal cortex region and the NIRS oxygenated hemoglobin concentration change curve, and mark the current risk brain regions with arrows.

[0053] The multimodal signal acquisition module not only provides raw data to the signal preprocessing module but also transmits quality indicators such as electrode impedance, light source intensity, and signal-to-noise ratio in real time. If the impedance of any EEG electrode exceeds 5 kiloohms, or the signal-to-noise ratio of any NIRS channel is below 10 dB, the system will mark that channel as unreliable on the interface and reduce its weight during feature fusion. In addition to outputting an index, the central inhibition state fusion assessment module provides an attention weight map to the early warning module, visualizing the contribution ratio of EEG and NIRS in the current decision-making process. The alarm status and intervention commands from the early warning module are then fed back to the anesthesia machine and recorded in the hospital information system's event log, forming a closed-loop management system.

[0054] In summary, this embodiment constructs a highly robust, highly sensitive anesthesia depth monitoring system with individual adaptive capabilities through precise hardware synchronization, rigorous signal processing procedures, an innovative dual-stream attention fusion model, and a forward-looking multi-level early warning mechanism. This system can effectively prevent intraoperative awareness risks and ensure patient safety.

[0055] Example 2: Building upon Example 1, this example further introduces an enhanced mechanism combining multi-band NIRS extension and EEG microstate analysis to improve the system's applicability in specific populations (such as infants and children, and Alzheimer's patients). The NIRS probe in the multimodal signal acquisition module is upgraded to a three-wavelength configuration, adding a new emission source with a center wavelength of 690 nm. This wavelength lies between the oxyhemoglobin absorption trough and the deoxyhemoglobin absorption peak, making it sensitive to the redox state of cytochrome c oxidase. By solving the three-wavelength equations, the system can additionally calculate changes in cytochrome c oxidase concentration. As a direct indicator reflecting mitochondrial oxygen utilization efficiency, this indicator has higher discriminative value during the brain development period of infants and young children, and during the decline of brain metabolism in the elderly.

[0056] The signal preprocessing and feature extraction modules have been expanded accordingly. The NIRS signal processing submodule, based on the original 7-dimensional features, adds... The mean, standard deviation and their relationship with The correlation coefficients are used to form a 10-dimensional NIRS feature vector. The EEG signal processing submodule introduces microstate analysis: the preprocessed EEG signal is projected onto a topographic map at the peak of the global field power, and four typical microstates (A, B, C, D) are identified using a clustering algorithm, corresponding to visual, auditory, default mode, and salience networks, respectively. The coverage, average duration, and transition probability of each microstate are calculated, adding 8 new microstate features, expanding the EEG feature vector dimension to 17 dimensions.

[0057] The dual-stream coding layers of the central inhibitory state fusion assessment module were adjusted accordingly: the number of convolutional layers in the EEG coding stream was increased to 4 to handle higher-dimensional inputs; the number of LSTM layers in the NIRS coding stream was increased to 3 to model more complex blood flow-metabolic coupling dynamics. The cross-modal attention fusion layer retained its original structure, but the embedding dimension was increased to 256. The number of neurons in the first layer of the regression output layer was increased to 256 to accommodate a larger fusion feature space.

[0058] The threshold strategy for the early warning and feedback output module has also been individually adjusted: for infants under 2 years old, Set to 35. Set to 65. The value was set to 60 to accommodate their higher baseline EEG activity levels; for patients older than 75 years or diagnosed with Alzheimer's disease, Set to 45. Set to 55. The value is set to 50 to reflect its lower arousal threshold. The Kalman filter process noise covariance Q of the trend analysis unit is scaled according to age, with the value increased by a factor of 1.5 for older patients to tolerate greater physiological fluctuations.

Claims

1. An anesthesia depth monitoring system based on EEG and NIRS, characterized in that, include: A multimodal signal acquisition module is used to simultaneously acquire the patient's electroencephalogram (EEG) signals and near-infrared spectral signals; The signal preprocessing and feature extraction module is connected to the multimodal signal acquisition module and is used to perform noise reduction, artifact removal and multidimensional feature vector extraction on the acquired raw EEG signal and raw near-infrared spectral signal. The central inhibition state fusion assessment module is connected to the signal preprocessing and feature extraction module. It is used to receive synchronized EEG feature vectors and near-infrared spectral feature vectors, and to perform feature fusion and anesthesia depth index calculation through a deep neural network model. The early warning and feedback output module is connected to the central inhibition state fusion assessment module and is used to make state judgments and risk warnings based on the real-time calculated multimodal anesthesia depth index.

2. The anesthesia depth monitoring system based on EEG and NIRS according to claim 1, characterized in that, The multimodal signal acquisition module includes an integrated head-mounted device with at least 16 EEG electrodes arranged in the lead system of the head-mounted device for acquiring cortical electroencephalographic activity covering the frontal lobe, central area, parietal lobe and temporal lobe. Meanwhile, at least four pairs of NIRS probes are symmetrically arranged in the prefrontal and temporoparietal junction regions on the head-worn device. Each pair of probes includes a transmitting probe and a receiving probe, which are used to monitor the relative changes in the concentrations of oxyhemoglobin, deoxyhemoglobin, and total hemoglobin in the brain regions in real time.

3. The anesthesia depth monitoring system based on EEG and NIRS according to claim 2, characterized in that, The signal preprocessing and feature extraction module includes an EEG signal processing submodule, which performs bandpass filtering on the raw EEG signal from 0.5 Hz to 45 Hz, automatically identifies and removes eye movement, electromyography, and electrocardiogram artifacts using an independent component analysis algorithm, divides the preprocessed EEG signal into continuous data segments of 2 seconds each with an overlap of 1 second, and extracts a 9-dimensional EEG feature vector for each data segment, including root mean square value, relative power of delta wave, relative power of theta wave, relative power of alpha wave, relative power of beta wave, relative power of γ wave, spectral entropy, and bispectral index.

4. The anesthesia depth monitoring system based on EEG and NIRS according to claim 3, characterized in that, The signal preprocessing and feature extraction module also includes an NIRS signal processing submodule. This submodule performs moving average filtering on the original light intensity signal and uses a correction algorithm based on Lambert-Beer's law to convert the light intensity change into three time series: the change in oxyhemoglobin concentration, the change in deoxyhemoglobin concentration, and the change in total hemoglobin concentration. The preprocessed NIRS signal is synchronously segmented into data segments with the same time window as the EEG signal. For each data segment, a 7-dimensional NIRS feature vector is extracted, which includes the mean and standard deviation of the change in oxyhemoglobin concentration, the mean and standard deviation of the change in deoxyhemoglobin concentration, the correlation coefficient between the changes in oxyhemoglobin and deoxyhemoglobin concentration, and the slope of the change in total hemoglobin concentration.

5. The anesthesia depth monitoring system based on EEG and NIRS according to claim 4, characterized in that, The deep neural network model in the central inhibition state fusion evaluation module is a pre-trained two-stream attention network, whose structure includes a feature embedding layer, a two-stream coding layer, a cross-modal attention fusion layer, and a regression output layer. The feature embedding layer is used to map the input EEG feature vector and NIRS feature vector to a high-dimensional feature space through a fully connected layer, respectively. The dual-stream coding layer includes an EEG coding stream and an NIRS coding stream. The EEG coding stream consists of three layers of one-dimensional convolutional neural networks and is used to extract deep spatiotemporal pattern features from EEG embedding vectors. The NIRS coding stream consists of two layers of long short-term memory network units and is used to extract temporal dynamic features from NIRS embedding vector sequences. The cross-modal attention fusion layer is used to receive EEG high-level features and NIRS high-level features from the output of the dual-stream coding layer, calculate the attention weight of NIRS high-level features on EEG high-level features to generate EEG context features weighted by NIRS information, and symmetrically calculate the attention weight of EEG high-level features on NIRS high-level features to generate NIRS context features weighted by EEG information. Finally, the weighted EEG context features and NIRS context features are concatenated. The regression output layer is used to input the spliced ​​fused feature vector into a regressor consisting of two fully connected layers, and finally outputs a continuous value between 0 and 100 as the multimodal anesthesia depth index.

6. The anesthesia depth monitoring system based on EEG and NIRS according to claim 5, characterized in that, The early warning and feedback output module has preset deep anesthesia threshold, awakening threshold and intraoperative awareness risk warning threshold, and continuously monitors the changing trend and absolute value of the multimodal anesthesia depth index; When the multimodal anesthesia depth index remains above the awakening threshold for 10 consecutive seconds, a first-level audible and visual alarm signal is generated and an instruction to increase the infusion rate of anesthetic drugs is sent to the anesthesia machine control system. When the multimodal anesthesia depth index remains below the deep anesthesia threshold for 5 consecutive seconds, a level 2 audible and visual alarm signal is generated and an instruction to reduce the infusion rate of anesthetic drugs is sent to the anesthesia machine control system. When the multimodal anesthesia depth index rises from a value below 55, and its rate of increase exceeds 0.5 units per second within 30 seconds, and the index value crosses the intraoperative risk warning threshold, a level three audible and visual alarm signal is generated and an emergency intervention command is sent to the anesthesia machine control system.

7. The anesthesia depth monitoring system based on EEG and NIRS according to claim 6, characterized in that, The deep neural network model in the central inhibition state fusion assessment module adopts a process that combines pre-training and online adaptation. In the pre-training stage, a dataset containing EEG signals, NIRS signals, and clinical anesthesia depth labels annotated by anesthesiologists, which are recorded synchronously in thousands of surgeries, is used for training. The training objective is to minimize the mean square error between the multimodal anesthesia depth index predicted by the model and the clinical labels. During the online adaptive phase, the system loads a basic model that is closest to the current patient demographic characteristics at the start of each monitoring session. During the monitoring process, the system caches the signal features of the most recent 2 minutes and the pseudo-labels inferred by the early warning and feedback output module based on changes in drug infusion in a sliding window manner. Every 5 minutes, the system uses these data to fine-tune the final regression output layer of the model.

8. The anesthesia depth monitoring system based on EEG and NIRS according to claim 7, characterized in that, The early warning and feedback output module also integrates a trend analysis unit; the trend analysis unit performs real-time first and second derivative calculations on the multimodal anesthesia depth index, and constructs a three-dimensional state vector by combining the index value itself. The state vector is then filtered and predicted using a Kalman filter to predict whether the index will exceed a preset threshold 3 to 5 seconds in advance.

9. The anesthesia depth monitoring system based on EEG and NIRS according to claim 8, characterized in that, In the online adaptive phase, the process by which the early warning and feedback output module reverse-engineers the pseudo-label based on changes in drug infusion is as follows: if the anesthetic drug infusion rate increases by more than 20% within 5 minutes and the multimodal anesthesia depth index decreases by less than 5 units within those 5 minutes, the pseudo-label is adjusted downwards; if the anesthetic drug infusion rate decreases by more than 20% within 5 minutes and the multimodal anesthesia depth index increases by less than 5 units within those 5 minutes, the pseudo-label is adjusted upwards.

10. The anesthesia depth monitoring system based on EEG and NIRS according to claim 9, characterized in that, The specific process of calculating attention weights in the cross-modal attention fusion layer is as follows: the NIRS high-level features are transformed into a query vector through a linear transformation, and the EEG high-level features are transformed into a key vector and a value vector through another linear transformation; the dot product of the query vector and the key vector is calculated, and the attention weight distribution is obtained by normalization through the Softmax function; the value vector is weighted and summed using the weight distribution to generate EEG context features weighted by NIRS information.