A method, system and device for monitoring anesthesia status of elderly patients
By analyzing the extreme point characteristics of the EEG signal and optimizing the waveform approximation, the problem of baseline drift interference in traditional methods is solved, the accuracy of anesthesia depth monitoring is improved, and it is suitable for monitoring the anesthesia status of elderly patients.
Patent Information
- Application Number
- CN202410789552.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-19
AI Technical Summary
The traditional method of removing baseline drift from EEG signals has noise interference, which leads to poor extreme point fitting accuracy and affects the accuracy of anesthesia depth monitoring, especially in elderly patients under anesthesia.
Through feature analysis based on the extreme points in the EEG signal, the characteristic extreme points are screened out, the waveform approximation is optimized, and the baseline drift interference is reduced. The least squares method is used to fit the upper and lower envelopes, and the neural network is combined for anesthesia status monitoring.
It improves the extreme point fitting accuracy, reduces noise interference, and enhances the accuracy and efficiency of anesthesia status monitoring. It is especially suitable for elderly patients.
Smart Images

Figure CN118356164B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of anesthesia status monitoring, and in particular to an anesthesia status monitoring method, system and device for elderly patients. Background Art
[0002] Anesthesia is a common and important part of clinical surgical operations. Anesthesia status monitoring is a key issue in the field of medicine and neurosurgery. Anesthesia, whether too deep or too shallow, can lead to serious consequences and cause serious physical and psychological harm to patients. Excessive anesthetics during anesthesia can lead to a prolonged recovery period and coma, while insufficient anesthetic drug dosage may cause patients to wake up during surgery. Timely and effective estimation of anesthesia depth during surgery can guide anesthesiologists in clinical medication, reduce intraoperative risks for patients, and provide patients with a safe and stable surgical process. The brain is the central nervous system where anesthetic drugs directly act. At present, anesthesia depth monitoring is often based on EEG signals. However, in the process of collecting EEG signals, due to factors such as the patient himself and the collection environment, there are often various noises and interferences.
[0003] The traditional method of removing baseline drift in EEG signals is often performed through the EMD algorithm. When using the EMD algorithm to decompose EEG signals, it is often necessary to obtain the local extreme points of the EEG signals, and fit the upper and lower envelopes of the signals through the local extreme points. The accuracy of the local extreme point fitting directly affects the extraction accuracy of the intrinsic mode function, which may cause the extracted intrinsic mode function to contain noise or erroneous vibration components, thereby affecting the accuracy of the EMD algorithm in removing baseline drift. When fitting the local extreme points, since the EEG signals are subject to noise and various interferences, when extracting the local extreme points of the EEG signals, the extracted local extreme points may contain interfering local extreme points that are mistakenly extracted due to interference. When fitting the interfering local extreme points, it is very easy to cause the phenomenon of poor fitting accuracy. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a method, system and device for monitoring the anesthesia state of elderly patients. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for monitoring the anesthesia state of an elderly patient, the method comprising the following steps:
[0006] Collect EEG signals of elderly patients under anesthesia during surgical operations;
[0007] Based on the extreme value distribution and symmetrical distribution characteristics of any signal point in the preset window of the EEG signal, the extreme value characteristic conformity of any signal point is determined, and the characteristic extreme value points are preliminarily screened out;
[0008] Based on the distance between the characteristic extreme value point and its adjacent characteristic extreme value point in the EEG signal, the length of the waveform interval of the characteristic extreme value point is determined; based on the distribution difference between the waveform intervals, the waveform approximation between the characteristic extreme value points is determined; based on the interference characteristics of the baseline drift in the EEG signal, the waveform approximation is optimized to determine the actual waveform approximation between the characteristic extreme value points;
[0009] Determine the extremum of any characteristic extreme value point based on the difference in actual waveform approximation, the difference in time series distance distribution, and the extreme value characteristic conformity between the characteristic extreme value points;
[0010] The extreme value of characteristic extreme points with the same polarity is used as the optimization weight of the residual function of the least squares method to obtain the upper and lower envelopes of the EEG signal after fitting. Modal decomposition is performed based on the upper and lower envelopes and the original EEG signal to obtain the EEG signal after removing the baseline drift, so as to monitor the anesthetic status of elderly patients.
[0011] Preferably, the process of initially screening out extreme value points includes:
[0012] When the amplitude of any signal point is not an extreme point in the window where it is located, the signal point is not subjected to preliminary screening analysis of local extreme points; otherwise, the preliminary screening process of local extreme points is as follows:
[0013] For each signal point in the window, the amplitude difference between each signal point and the adjacent signal point on the side of the central signal point of the window is recorded as the change characteristic value of each signal point;
[0014] The central signal point in the window is taken as the center, and the corresponding signal points on both sides are recorded as signal point pairs;
[0015] Forward fusion is performed on the amplitude difference and the change characteristic value difference between each signal point pair, and the cumulative value of the forward fusion results of all signal point pairs in any signal point window is calculated;
[0016] Determining the extreme value feature conformity of any signal point based on the accumulated value; wherein the accumulated value and the extreme value feature conformity are negatively correlated;
[0017] Set a screening threshold; record the signal points whose extreme value feature conformity is greater than or equal to the screening threshold as the extreme value points for preliminary screening.
[0018] Preferably, the method for determining the waveform similarity between the characteristic extreme value points includes:
[0019] For any two waveform intervals of two characteristic extreme value points, multiply the distance between the signal points in the two waveform intervals, the difference in the number of signal points in the two waveform intervals, and the difference in the amplitude between the characteristic extreme value points belonging to the two waveform intervals;
[0020] Determine the waveform approximation between any two characteristic extreme value points based on the multiplication result; wherein the multiplication result is negatively correlated with the waveform approximation between any two characteristic extreme value points;
[0021] When calculating the waveform approximation between characteristic extreme value points, the characteristic extreme value points have the same polarity.
[0022] Preferably, the method for determining the actual waveform approximation between the characteristic extreme value points includes:
[0023] For any two characteristic extreme value points, they are recorded as the first characteristic point and the second characteristic point respectively;
[0024] Obtain a feature extreme point that has the same polarity as the first feature point and is closest to the first feature point as the closest feature point to the first feature point;
[0025] Obtaining a characteristic extreme value point with the largest waveform similarity to the nearest characteristic point among a preset number of characteristic extreme value points nearest to the second characteristic point as a characteristic point with the same waveform as the nearest characteristic point;
[0026] Using an optimization algorithm, after subtracting a preset amplitude from the waveform interval of the nearest feature point and the feature point with the same waveform, an optimal solution is obtained when the actual waveform approximation is the minimum value, and the baseline drift interference between the nearest feature point and the feature point with the same waveform is determined based on the optimal solution;
[0027] The baseline drift interference between the nearest feature point and the feature point with the same waveform is used as the optimization weight of the first feature point and the second feature point, and the product of the waveform approximation of the first feature point and the second feature point and the optimization weight is used as the actual waveform approximation of the first feature point and the second feature point.
[0028] Preferably, the method for determining the baseline drift interference degree between the nearest characteristic point and the characteristic point of the same waveform includes:
[0029] Subtract the first parameter from the amplitude of all signal points in the waveform interval of the nearest feature point, and subtract the second parameter from the amplitude of all signal points in the waveform interval of the same waveform feature point;
[0030] The calculation process of the actual waveform approximation between two characteristic extreme value points belonging to two waveform intervals after subtracting the first parameter and the second parameter respectively is used as the objective function of the optimization algorithm;
[0031] Obtaining an optimal solution of the minimum objective function of the optimization algorithm; wherein the optimal solution is the first parameter and the second parameter respectively subtracted from the two waveforms corresponding to the minimum objective function;
[0032] The difference between the first parameter and the second parameter is used as the baseline drift interference between the nearest feature point and the feature point with the same waveform.
[0033] Preferably, the method for determining the extremum of any characteristic extreme point includes:
[0034] For any characteristic extreme value point, cluster all the other characteristic extreme value points except any characteristic extreme value point, and the distance measurement is the difference in actual waveform approximation between all the other characteristic extreme value points and any characteristic extreme value point, to obtain a number of clusters;
[0035] The characteristic extreme value point in the cluster with the largest average value of the actual waveform approximation difference between all characteristic extreme value points in the cluster and any one of the characteristic extreme value points is recorded as a similar extreme value point to any one of the characteristic extreme value points;
[0036] Calculate the mean of the actual waveform approximation between any of the characteristic extreme value points and its similar extreme value points, and record it as the denominator; calculate the variance of the time series distance between any of the characteristic extreme value points and its similar extreme value points, and record it as the numerator; and use the ratio of the numerator to the denominator as the extreme value interference degree of any of the characteristic extreme value points;
[0037] The extremum property of any characteristic extreme value point is determined by combining the extreme value characteristic conformity and the extreme value interference of any characteristic extreme value point; wherein the extremum property is positively correlated with the extreme value characteristic conformity and negatively correlated with the extreme value interference.
[0038] Preferably, the method for obtaining the upper and lower envelopes of the EEG signal after fitting includes:
[0039] The fitting algorithm is used for the maximum and minimum points in the characteristic extreme points respectively, and the extreme value of the characteristic extreme points is used as the optimization weight of the residual function in the fitting algorithm to fit and obtain the upper and lower envelopes of the EEG signal.
[0040] Preferably, the modal decomposition is performed based on the upper and lower envelopes and the original EEG signal to obtain the EEG signal after removing the baseline drift, and the anesthetic state monitoring of the elderly patient is performed, including:
[0041] Based on the upper and lower envelopes and the original EEG signal, the first-order intrinsic mode function in the EMD modal decomposition is obtained, the first-order intrinsic mode function is subtracted from the original EEG signal to obtain the residual, and the residual is used as the new original EEG signal to repeatedly obtain the intrinsic mode function until the intrinsic mode function of the preset order is obtained;
[0042] Reconstruct the signals of the first several intrinsic mode functions to obtain the EEG signal after removing the baseline drift;
[0043] Anesthesia status monitoring is performed based on EEG signals after removing baseline drift, and the anesthesia depth of elderly patients is obtained through a neural network. The input of the network is the EEG signals of elderly patients during anesthesia after removing baseline drift, and the output of the network is the anesthesia stage, which includes the awake stage, moderate anesthesia stage, and deep anesthesia stage.
[0044] In a second aspect, an embodiment of the present application provides an anesthetic status monitoring system for elderly patients, the system comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements the steps of any one of the above-mentioned methods for monitoring the anesthetic status of elderly patients when executing the computer program.
[0045] In a third aspect, an embodiment of the present application further provides an anesthesia status monitoring device for elderly patients, the anesthesia status monitoring device comprising a computer program, and when the computer program is executed by a processor, it implements any one of the above-mentioned anesthesia status monitoring methods for elderly patients.
[0046] It can be seen from the above embodiments that the anesthesia status monitoring method, system and device for elderly patients provided in the embodiments of the present application have at least the following beneficial effects:
[0047] In the present application, the characteristics of local extreme value points in the EEG signal are analyzed, and the extreme value characteristic conformity of the signal point is constructed by extracting the change of the signal in the window, and then the preliminary extraction of the characteristic extreme value points is completed. The more the local signal change of the extracted characteristic extreme value point conforms to the characteristics of the high-value extreme value point in the EEG signal, the greater the corresponding extreme value characteristic conformity; the corresponding waveform interval of the extreme value point is obtained by the signal change between the characteristic extreme value point and its adjacent characteristic extreme value point, which is used to reflect the characteristics of different waveforms; the waveform approximation between the characteristic extreme value points is reflected by the change between the waveform intervals, and the waveform approximation is optimized based on the interference characteristics of the EEG signal baseline drift to obtain the actual waveform approximation; it is used to judge whether the waveform approximation is not good or not. While determining whether the waveforms at the same moment are of the same type, the baseline drift caused by the movement of the elderly patients themselves and external factors under realistic conditions is also taken into account, so that the characteristic extreme value points with baseline drift reduce the weight of linear fitting; based on the actual waveform approximation and the time series distance distribution characteristics of the same type of extreme value points, the extreme value interference is constructed, and the extreme value of the characteristic extreme value points is constructed based on the extreme value interference and the extreme value characteristic conformity. The extreme value of the extreme value points is used as the optimization weight of the residual function of the least squares method, so that the characteristic extreme value points with larger extreme value have a greater influence on the acquisition of the fitting function, reducing the influence of interference on the characteristic extreme value points, improving the accuracy and efficiency of the fitting results, and thus improving the accuracy of envelope acquisition. The present application obtains the corresponding IMF components through the upper and lower envelopes and the original signals, thereby improving the decomposition effect of modal decomposition, and thereby improving the accuracy and efficiency of removing baseline drift interference by EMD modal decomposition, so that the anesthetic state monitoring effect of elderly patients is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A flowchart of a method for monitoring the anesthesia status of elderly patients provided in one embodiment of the present application;
[0050] Figure 2 A flow chart of the steps for determining the actual waveform similarity between characteristic extreme value points provided for one embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the anesthesia status monitoring method, system and device for elderly patients proposed in accordance with the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0052] Unless otherwise specified and limited, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application.
[0053] The following is a detailed description of a method, system and device for monitoring the anesthesia status of elderly patients provided by the present application in conjunction with the accompanying drawings.
[0054] See also Figure 1 , which shows a flowchart of a method for monitoring the anesthesia status of elderly patients provided by an embodiment of the present application, the method comprising the following steps:
[0055] The first step is to collect EEG signals of elderly patients under anesthesia during surgical operations.
[0056] In this embodiment, a non-invasive acquisition method is used to acquire EEG signals of elderly patients under anesthesia, that is, electrodes are placed on the scalp of the elderly patients to record the signals.
[0057] This embodiment uses multiple electrodes to collect EEG signals, and collects EEG data through standard electrode sheets with a sampling frequency of 256HZ. The electrode sheet includes four electrode sheets, and the electrodes are attached to the patient's forehead. All collected EEG signals include complete EEG data of elderly patients during the entire anesthesia process.
[0058] At this point, the EEG signals of elderly patients under anesthesia during surgical operations can be completed.
[0059] The second step is to determine the extreme value feature conformity of any signal point in the EEG signal based on the extreme value distribution and symmetrical distribution characteristics within the preset window of the signal point, and preliminarily screen out the characteristic extreme value points.
[0060] In the process of EEG signal acquisition, there are many types of noise and interference due to factors such as the elderly patients themselves and the acquisition environment, among which baseline drift is the most common interference. Baseline drift is a very low-frequency interference. The amplitude of the EEG signal affected by baseline drift will increase. Baseline drift is mainly caused by the breathing, movement and movement of the electrodes of the elderly patients. The breathing of elderly patients will cause the patient's body to fluctuate to a certain extent, and the baseline drift caused by this situation is unavoidable. In addition, due to the needs of surgery, the doctor may need to move the patient during the operation, which will also cause a large amount of baseline drift. Secondly, due to the long operation time and the complex operating room environment, the patient's sweating, the decrease in the viscosity of the electrode paste, and the accidental contact with the wire may cause the electrode for collecting EEG signals to change position to a certain extent during the operation, thereby causing baseline drift. The removal effect of baseline drift is directly related to the accuracy of the eigenvalues extracted from the EEG signal, so this type of noise must be effectively removed before extracting the eigenvalues.
[0061] Traditionally, baseline drift removal of EEG signals is often performed using the EMD algorithm. When using the EMD algorithm to decompose EEG signals, it is often necessary to obtain the local extreme points of the EEG signals, and fit the upper and lower envelopes of the signals through the local extreme points. The intrinsic mode function (IMF) is obtained based on the upper envelope and the original signal, so the accuracy of the local extreme point fitting directly affects the accuracy of the extraction of the intrinsic mode function. If the local extreme point fitting is inaccurate, the extracted intrinsic mode function may contain noise or erroneous vibration components, which in turn affects the accuracy of the EMD algorithm in removing baseline drift.
[0062] When fitting local extreme points, since EEG signals are subject to noise and various interferences, when extracting local extreme points of EEG signals, the extracted local extreme points may contain interference local extreme points that are mistakenly extracted due to interference. When fitting the interference local extreme points, it is very easy to cause the phenomenon of poor fitting accuracy.
[0063] Based on the above analysis, this embodiment first takes each signal point in the EEG signal of the elderly patient as the central signal point and sets a If the signal point is a local extreme point, the signals on both sides of the central signal point in the window will have symmetrical characteristics, and the central signal point should also be the extreme point in the window. In other embodiments of the present application, the size of the window can be set by the implementer according to the specific situation, and the size of the window needs to be limited to an odd number.
[0064] First, determine whether the amplitude of the signal point is the extreme value of the amplitude of the signal point in the window. If it is not the extreme value, there is no need to perform preliminary screening of the signal point as a local extreme value point. When the amplitude of the signal point is the extreme value of the amplitude of the signal point in the window where it is located, continue to analyze and determine whether the signal point is a local extreme value point in the EEG signal.
[0065] According to the characteristics of EEG signal waveform, the local extreme point of EEG signal should meet the local maximum or minimum amplitude, and the amplitude changes of signal points on both sides of the signal point centered in the window should be consistent. Based on this feature, the extreme feature conformity of the signal point is constructed. The specific process is as follows:
[0066] For each signal point in the window, the amplitude difference between each signal point and the adjacent signal point on the side of the central signal point of the window is recorded as the change characteristic value of each signal point; the signal points corresponding to the central signal point in the window are recorded as signal point pairs respectively; the amplitude difference and the change characteristic value difference between each signal point pair are forward fused, and the cumulative value of the forward fusion results of all signal point pairs in the window of any signal point is calculated; the extreme value feature conformity of any signal point is determined based on the cumulative value; wherein the cumulative value is negatively correlated with the extreme value feature conformity.
[0067] In this embodiment, the amplitude difference and the change characteristic value difference mentioned above are respectively calculated as the absolute value of the difference between the amplitudes and the absolute value of the difference between the change characteristic values.
[0068] It can be understood that forward fusion is to fuse data by calculation methods such as addition and multiplication, and the data have the same meaningful change trend relationship.
[0069] It can be understood that a negative correlation relationship indicates that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by actual application and is not specifically limited in this application.
[0070] It should be understood that the closer the difference between the amplitude and the change characteristic value of the signal points on both sides of the central signal point in the window is, and the amplitude of the central signal point is the maximum or minimum value in the window, the more the local signal change of the central signal point conforms to the extreme point characteristics, and the greater the corresponding extreme characteristic conformity.
[0071] According to the above steps, the extreme feature conformity of the EEG signal data of elderly patients under anesthesia during surgical operations was constructed, and the average extreme feature conformity of all signal points in the EEG signal to be preliminarily screened for local extreme points was calculated, and used as the screening threshold to judge the signal points in the EEG signal, wherein the signal points whose extreme feature conformity was greater than or equal to the screening threshold were recorded as the preliminarily screened characteristic extreme points.
[0072] The third step is to determine the length of the waveform interval of the characteristic extreme point based on the distance between the characteristic extreme point and its adjacent characteristic extreme point in the EEG signal; determine the waveform approximation between the characteristic extreme points based on the distribution difference between the waveform intervals; optimize the waveform approximation based on the interference characteristics of the baseline drift in the EEG signal to determine the actual waveform approximation between the characteristic extreme points.
[0073] The flowchart of the steps for determining the actual waveform approximation between characteristic extreme value points is shown in the attached figure. Figure 2 shown.
[0074] In the first small step, the length of the waveform interval of the characteristic extreme point is determined based on the distance between the characteristic extreme point and its adjacent characteristic extreme point in the EEG signal.
[0075] Further analysis of the initially selected characteristic extreme value points can be performed by obtaining the waveform interval in which they are located. The purpose is to determine whether the waveforms at different times are of the same type through the signal changes in the waveform interval, that is, to reflect the characteristics of different waveforms, and then complete the construction of the corresponding indicators of the characteristic extreme value points. The specific method for determining the length of the waveform interval of the characteristic extreme value point is:
[0076] The method for obtaining the length of the waveform interval of the characteristic extreme value point is specifically: obtaining the average time interval between the characteristic extreme value point and its adjacent characteristic extreme value points on the left and right sides, and taking the average time interval as the length of the waveform interval centered on the characteristic extreme value point.
[0077] The second small step is to determine the waveform similarity between characteristic extreme points based on the distribution differences between waveform intervals.
[0078] According to the above steps, each characteristic extreme point can obtain the corresponding waveform interval. Since the EEG signals in the patient's EEG often appear as waveforms with different frequencies and amplitudes, but the frequency range of the EEG waveform is fixed, for example, the α wave in the EEG signal is 8-12 Hz; the θ wave is 4-8 Hz. Therefore, for the characteristic extreme points extracted from the EEG signal, there are often characteristic extreme points similar to them. Therefore, the degree of interference of the characteristic extreme points can be reflected by the local approximation and distribution characteristics between the characteristic extreme points.
[0079] Therefore, for the characteristic extreme value points, the waveform approximation of the waveform interval corresponding to different characteristic extreme value points can be obtained. It should be noted that in the following steps, when calculating the waveform approximation, the maximum value point only calculates the waveform approximation with the maximum value point, and the minimum value point only calculates the waveform approximation with the minimum value point. The specific process is as follows:
[0080] For two waveform intervals of any two characteristic extreme points, the distance between the signal points in the two waveform intervals, the difference in the number of signal points in the two waveform intervals, and the amplitude difference between the characteristic extreme points belonging to the two waveform intervals are multiplied; the waveform approximation between any two characteristic extreme points is determined based on the multiplication result; wherein the multiplication result is negatively correlated with the waveform approximation between any two characteristic extreme points.
[0081] Preferably, in this embodiment, the specific calculation process for obtaining the waveform approximation based on the negative correlation mentioned above is: taking the opposite of the multiplication result as the exponent of an exponential function with the natural constant e as the base, and taking the calculation result of the exponential function as the waveform approximation.
[0082] In this embodiment, the distance used in the above calculation process is calculated using DTW distance, which is a well-known technology and will not be described here. In other embodiments of the present application, the negative linear relationship between the Euclidean distance and the Pearson correlation coefficient can also be used to calculate the distance. A negative linear relationship refers to the opposite relationship of the data obtained by weighting the data according to a certain weight.
[0083] It should be understood that the changes in the amplitude, frequency and local signals of the waveform interval reflect the waveform characteristics within the waveform interval, and the waveform similarity of the two waveform intervals is constructed by the changes in the waveform characteristics. The greater the waveform similarity, the more likely it is that the waveforms corresponding to the extreme points are of the same type.
[0084] In the third small step, the waveform approximation is optimized based on the interference characteristics of baseline drift in the EEG signal to determine the actual waveform approximation between the characteristic extreme points.
[0085] According to the above steps, each characteristic extreme point has a corresponding waveform approximation with the characteristic extreme point of the same polarity. When the EEG signal is collected, it is often disturbed by the baseline drift. At the same time, the interference of the baseline drift on the EEG signal at different stages of the anesthesia process may be different, resulting in deviations in the waveform approximation of the waveform interval. The interference of the baseline drift on the EEG signal in the local range of the EEG signal is small, that is, the baseline drift interference on the local EEG signal is similar. Therefore, this application optimizes the waveform approximation based on the interference characteristics of the baseline drift in the EEG signal to obtain the actual waveform approximation, which is used to improve the construction accuracy of the extreme value of the characteristic extreme point. The specific method is:
[0086] For any two characteristic extreme value points, they are recorded as the first characteristic point and the second characteristic point respectively;
[0087] Acquire a feature extreme value point that has the same polarity as the first feature point and is closest to the first feature point as the closest feature point to the first feature point; acquire a feature extreme value point with the largest waveform similarity to the closest feature point among a preset number of feature extreme value points closest to the second feature point as the same waveform feature point as the closest feature point;
[0088] Subtracting the first parameter from the amplitude of all signal points in the waveform interval of the nearest feature point, subtracting the second parameter from the amplitude of all signal points in the waveform interval of the same waveform feature point, and using the actual waveform approximation between two characteristic extreme value points in the two waveform intervals after respectively subtracting the first parameter and the second parameter as the objective function of the optimization algorithm, and obtaining the optimal solution of the minimum objective function of the optimization algorithm; wherein the optimal solution is the first parameter and the second parameter corresponding to the minimum objective function; and using the difference between the first parameter and the second parameter as the baseline drift interference between the nearest feature point and the same waveform feature point;
[0089] The baseline drift interference between the nearest feature point and the feature point with the same waveform is used as the optimization weight of the first feature point and the second feature point, and the product of the waveform approximation of the first feature point and the second feature point and the optimization weight is used as the actual waveform approximation of the first feature point and the second feature point.
[0090] It should be noted that the preset number is set to 10 in this embodiment, and the implementer can adjust it according to the actual situation. The optimization algorithm in this embodiment selects the particle swarm optimization algorithm, which is a well-known technology and will not be described in detail. Other optimization algorithms can also be used for calculation in other embodiments of this application.
[0091] It should be understood that the same waveform feature point of the nearest feature point means that the nearest feature point and the same waveform feature point can largely represent the same waveform. The waveform intervals of two characteristic extreme value points with the same waveform belonging to the first feature point and the second feature point are analyzed, and the signals in the two waveform intervals are respectively subtracted by the preset amplitude. When the optimal solution is reached, the difference between the two parameters corresponding to the optimal solution can be used to evaluate the degree of difference between the two waveform intervals. The greater the degree of difference, the greater the interference of the baseline drift in the two waveform intervals. The interference of the baseline drift is used to reflect the actual situation of the waveform similarity between the first feature point and the second feature point, so as to correct the waveform approximation between the first feature point and the second feature point, and obtain the actual waveform approximation between the first feature point and the second feature point, which can more truly reflect the waveform situation between the first feature point and the second feature point.
[0092] The fourth step is to determine the extremum of any characteristic extreme value point based on the difference in actual waveform approximation, the difference in time series distance distribution, and the extreme value feature conformity between the characteristic extreme value points.
[0093] According to the above steps, the actual waveform approximation between the characteristic extreme value points is constructed. In order to screen out the characteristic extreme value points that are closest to the waveform of any characteristic extreme value point, the present application adopts a clustering algorithm to obtain similar extreme value points of any characteristic extreme value point, and these similar extreme value points have waveform characteristics similar to the corresponding characteristic extreme value point.
[0094] For any characteristic extreme value point, all the remaining characteristic extreme value points except any characteristic extreme value point are clustered. In this embodiment, the number of clusters K is set to 2, and the initial cluster center is randomly selected. The distance measurement is the difference in actual waveform approximation between all the remaining characteristic extreme value points and any characteristic extreme value point, and two clusters are obtained. The characteristic extreme value point in the cluster with the largest average value of the difference in actual waveform approximation between all the characteristic extreme value points in the cluster and any characteristic extreme value point is recorded as the same type extreme value point as any characteristic extreme value point.
[0095] Preferably, in this embodiment, the actual waveform approximation difference is set to the absolute value of the difference between the actual waveform approximations.
[0096] In this embodiment, the clustering algorithm adopts the k-means mean clustering algorithm. The clustering process of the k-means mean clustering algorithm is a well-known technology and will not be described here. In other embodiments of the present application, other suitable algorithms such as DBSCAN algorithm, density clustering algorithm, etc. can also be used for clustering.
[0097] Since between any characteristic extreme point and its similar extreme point, it is necessary to consider not only its waveform shape, but also the distribution of similar extreme points with similar waveform shapes relative to any characteristic extreme point, and jointly evaluate the degree to which any characteristic extreme point is disturbed, specifically:
[0098] Calculate the mean of the actual waveform approximation between any characteristic extreme point and its similar extreme point, and record it as the denominator; calculate the variance of the time series distance between any characteristic extreme point and its similar extreme point, and record it as the numerator; and take the ratio of the numerator to the denominator as the extreme interference degree of any characteristic extreme point.
[0099] It should be understood that the greater the extreme value interference, that is, the less similar the waveform between any characteristic extreme value point and its similar extreme value point, and the less concentrated the time series distance distribution between any characteristic extreme value point and its similar extreme value point, the greater the possibility that the waveform corresponding to any characteristic extreme value point is interfered with, and the greater the possibility that any characteristic extreme value point is interfered with, the smaller the corresponding weight when fitting the envelope.
[0100] The extremum property of any characteristic extreme value point is determined by combining the extreme value characteristic conformity and the extreme value interference of any characteristic extreme value point; wherein the extremum property is positively correlated with the extreme value characteristic conformity and negatively correlated with the extreme value interference.
[0101] In this embodiment, the ratio of the extreme value feature conformity to the extreme value interference is used as the extreme value property.
[0102] It can be understood that a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.
[0103] At this point, the construction of the extreme value of each characteristic extreme point in the EEG signal data has been completed according to the above steps.
[0104] In the fifth step, the extreme value of characteristic extreme points with the same polarity is used as the optimization weight of the residual function of the least squares method to obtain the upper and lower envelopes of the EEG signal after fitting. Modal decomposition is performed based on the upper and lower envelopes and the original EEG signal to obtain the EEG signal after removing the baseline drift, so as to monitor the anesthetic status of elderly patients.
[0105] The fitting algorithm is used for the maximum and minimum points in the characteristic extreme points respectively, and the extreme value of the characteristic extreme points is used as the optimization weight of the residual function in the fitting algorithm for fitting to obtain the upper and lower envelopes of the EEG signal. Among them, this embodiment uses the least squares fitting algorithm for fitting, and the fitting process of the least squares fitting algorithm is a well-known technology and will not be repeated here.
[0106] It should be understood that the present application uses the extrema of the extreme points as the optimization weight of the residual function in the fitting algorithm, so that the characteristic extreme points with larger extrema have a greater influence on the generation of the fitting function, thereby reducing the influence of the characteristic extreme points that are disturbed when generating the fitting function, improving the accuracy and efficiency of data fitting, and thereby improving the accuracy of envelope acquisition.
[0107] According to the above steps, the upper and lower envelopes are obtained in the process of modal decomposition of the EEG signal. The first-order intrinsic mode function in the EMD modal decomposition is obtained based on the upper and lower envelopes and the original EEG signal. The original EEG signal is subtracted from the first-order intrinsic mode function to obtain the residual, and the residual is used as the new original EEG signal to repeatedly obtain the intrinsic mode function until the intrinsic mode function of the preset order is obtained.
[0108] In this embodiment, the decomposition level of EMD modal decomposition is set to 9, and the implementer can set it according to the actual situation. The process of obtaining the intrinsic mode function is a well-known technology and will not be described in detail.
[0109] The noise of baseline drift is mainly distributed in the following intrinsic mode functions. Therefore, in this embodiment, the first m intrinsic mode functions are reconstructed to obtain the EEG signal after removing the baseline drift. In this embodiment, m is set to 6, and the implementer can set it according to the actual situation.
[0110] The signal reconstruction process is a well-known technology and will not be described in detail.
[0111] The anesthesia status is monitored based on the EEG signal after removing the baseline drift, and the anesthesia depth of elderly patients is obtained through a neural network. The input of the network is the EEG signal of the elderly patients during anesthesia after removing the baseline drift, and the output of the network is the anesthesia stage, which includes the awake stage, the moderate anesthesia stage, and the deep anesthesia stage.
[0112] Among them, in this embodiment, a graph convolutional neural network is used to obtain the anesthesia stage of the EEG signal of the elderly patient during anesthesia after removing the baseline drift. The calculation process of the graph convolutional neural network is a well-known technology and will not be repeated here.
[0113] Based on the same inventive concept as the above method, an embodiment of the present application also provides an anesthesia status monitoring system for elderly patients, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned methods for anesthesia status monitoring for elderly patients are implemented.
[0114] Based on the same inventive concept as the above method, an embodiment of the present application also provides an anesthesia status monitoring device for elderly patients, including a computer program stored in the anesthesia status monitoring device, and when the processor in the anesthesia status monitoring device executes the computer program, the steps of any one of the above-mentioned anesthesia status monitoring methods for elderly patients are implemented.
[0115] The various embodiments in the present application are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0116] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.
[0117] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.
[0118] It should be understood that the present application is not limited to the exact construction that has been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof.
Claims
1. A method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients, characterized in that: The method comprises the following steps: Collect EEG signals of elderly patients under anesthesia during surgical operations; Based on the extreme value distribution and symmetrical distribution characteristics of any signal point in the preset window of the EEG signal, the extreme value characteristic conformity of any signal point is determined, and the characteristic extreme value points are preliminarily screened out; Based on the distance between the characteristic extreme value point and its adjacent characteristic extreme value point in the EEG signal, the length of the waveform interval of the characteristic extreme value point is determined; based on the distribution difference between the waveform intervals, the waveform approximation between the characteristic extreme value points is determined; based on the interference characteristics of the baseline drift in the EEG signal, the waveform approximation is optimized to determine the actual waveform approximation between the characteristic extreme value points; Determine the extremum of any of the characteristic extreme value points based on the difference in actual waveform approximation, the difference in time series distance distribution, and the extreme value characteristic conformity between the characteristic extreme value points; The extreme value of characteristic extreme points with the same polarity is used as the optimization weight of the residual function of the least squares method to obtain the upper and lower envelopes of the EEG signal after fitting. Modal decomposition is performed based on the upper and lower envelopes and the original EEG signal to obtain the EEG signal after removing the baseline drift.
2. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 1, characterized in that: The process of initially screening out characteristic extreme value points includes: When the amplitude of any signal point is not an extreme point in the window where it is located, the signal point is not subjected to preliminary screening analysis of characteristic extreme points; otherwise, the preliminary screening process of characteristic extreme points is as follows: For each signal point in the window, the amplitude difference between each signal point and the adjacent signal point on the side of the central signal point of the window is recorded as the change characteristic value of each signal point; The central signal point in the window is taken as the center, and the corresponding signal points on both sides are recorded as signal point pairs; Forward fusion is performed on the amplitude difference and the change characteristic value difference between each signal point pair, and the cumulative value of the forward fusion results of all signal point pairs in any signal point window is calculated; Determining the extreme value feature conformity of any signal point based on the accumulated value; wherein the accumulated value and the extreme value feature conformity are negatively correlated; Set a screening threshold; record the signal points whose extreme value feature conformity is greater than or equal to the screening threshold as the characteristic extreme value points of the preliminary screening.
3. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 1, characterized in that: The method for determining the waveform approximation between the characteristic extreme value points includes: For any two waveform intervals of two characteristic extreme value points, multiply the distance between the signal points in the two waveform intervals, the difference in the number of signal points in the two waveform intervals, and the difference in the amplitude between the characteristic extreme value points belonging to the two waveform intervals; Determine the waveform approximation between any two characteristic extreme value points based on the multiplication result; wherein the multiplication result is negatively correlated with the waveform approximation between any two characteristic extreme value points; When calculating the waveform approximation between characteristic extreme value points, the characteristic extreme value points have the same polarity.
4. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 3, characterized in that: The method for determining the actual waveform approximation between the characteristic extreme value points includes: For any two characteristic extreme value points, they are recorded as the first characteristic point and the second characteristic point respectively; Obtain a feature extreme point that has the same polarity as the first feature point and is closest to the first feature point as the closest feature point to the first feature point; Obtaining a characteristic extreme value point with the largest waveform similarity to the nearest characteristic point among a preset number of characteristic extreme value points nearest to the second characteristic point as a characteristic point with the same waveform as the nearest characteristic point; Using an optimization algorithm, after subtracting a preset amplitude from the waveform interval of the nearest feature point and the feature point with the same waveform, an optimal solution is obtained when the actual waveform approximation is the minimum value, and the baseline drift interference between the nearest feature point and the feature point with the same waveform is determined based on the optimal solution; The baseline drift interference between the nearest feature point and the feature point with the same waveform is used as the optimization weight of the first feature point and the second feature point, and the product of the waveform approximation of the first feature point and the second feature point and the optimization weight is used as the actual waveform approximation of the first feature point and the second feature point.
5. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 4, characterized in that: The method for determining the baseline drift interference degree between the nearest characteristic point and the characteristic point of the same waveform includes: Subtract the first parameter from the amplitude of all signal points in the waveform interval of the nearest feature point, and subtract the second parameter from the amplitude of all signal points in the waveform interval of the same waveform feature point; The calculation process of the actual waveform approximation between two characteristic extreme value points belonging to two waveform intervals after subtracting the first parameter and the second parameter respectively is used as the objective function of the optimization algorithm; Obtaining an optimal solution of the minimum objective function of the optimization algorithm; wherein the optimal solution is the first parameter and the second parameter respectively subtracted from the two waveforms corresponding to the minimum objective function; The difference between the first parameter and the second parameter is used as the baseline drift interference between the nearest feature point and the feature point with the same waveform.
6. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 1, characterized in that: A method for determining the extremum of any of the characteristic extreme value points includes: For any characteristic extreme value point, cluster all the other characteristic extreme value points except any characteristic extreme value point, and the distance measurement is the difference in actual waveform approximation between all the other characteristic extreme value points and any characteristic extreme value point, to obtain a number of clusters; The characteristic extreme value point in the cluster with the largest average value of the actual waveform approximation difference between all characteristic extreme value points in the cluster and any one of the characteristic extreme value points is recorded as a similar extreme value point to any one of the characteristic extreme value points; Calculate the mean of the actual waveform approximation between any of the characteristic extreme value points and its similar extreme value points, and record it as the denominator; calculate the variance of the time series distance between any of the characteristic extreme value points and its similar extreme value points, and record it as the numerator; and use the ratio of the numerator to the denominator as the extreme value interference degree of any of the characteristic extreme value points; The extremum property of any of the characteristic extreme value points is determined by combining the extreme value characteristic conformity and the extreme value interference of any of the characteristic extreme value points; wherein the extremum property is positively correlated with the extreme value characteristic conformity and negatively correlated with the extreme value interference.
7. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 1, characterized in that: The method for obtaining the upper and lower envelopes of the EEG signal after fitting includes: The fitting algorithm is used for the maximum and minimum points in the characteristic extreme points respectively, and the extreme value of the characteristic extreme points is used as the optimization weight of the residual function in the fitting algorithm to fit and obtain the upper and lower envelopes of the EEG signal.
8. The method for processing electroencephalogram signals for monitoring the anesthesia state of elderly patients according to claim 1, characterized in that: The modal decomposition is performed based on the upper and lower envelopes and the original EEG signal to obtain the EEG signal after removing the baseline drift, including: Based on the upper and lower envelopes and the original EEG signal, the first-order intrinsic mode function in the EMD modal decomposition is obtained, the first-order intrinsic mode function is subtracted from the original EEG signal to obtain a residual, and the residual is used as a new original EEG signal to repeatedly obtain the intrinsic mode function until an intrinsic mode function of a preset order is obtained; The first several intrinsic mode functions are reconstructed to obtain the EEG signal after removing the baseline drift.
9. An electroencephalogram signal processing system for monitoring the anesthesia state of elderly patients, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the electroencephalogram signal processing method for monitoring the anesthesia status of elderly patients as described in any one of claims 1 to 8 are implemented.
10. An electroencephalogram signal processing device for monitoring the anesthesia state of elderly patients, the electroencephalogram signal processing device storing a computer program, characterized in that: When the computer program is executed by a processor, an electroencephalogram signal processing method for monitoring the anesthesia status of elderly patients as described in any one of claims 1 to 8 is implemented.
