Self-learning mental fatigue quantification method based on expandable adaptive weighted data fusion

Through an adaptive weighted data fusion method that combines facial images, EEG signals, and ECG signals, it solves the problems of subjectivity and insufficient quantitative assessment of fatigue detection in the existing technology, and achieves highly accurate mental fatigue detection and quantitative assessment. .

CN118643416APending Publication Date: 2024-09-13GUILIN UNIV OF ELECTRONIC TECH
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410666399.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-13

AI Technical Summary

Technical Problem

Existing fatigue detection methods have problems such as subjective evaluation questionnaires that cannot accurately summarize long-term fatigue status and fail to quantitatively assess fatigue. Subjective detection methods have problems such as intentional concealment and cognitive bias, and objective detection methods have shortcomings in quantitative fatigue assessment.

Method used

Using a self-learning method based on scalable adaptive weighted data fusion, the dispatcher collects facial images, EEG signals, and ECG signals, and combines the adaptive weighted fusion algorithm with the BiLSTM network to perform signal feature fusion and quantitative evaluation. PERCLOS value and expert evaluation score, through multi-level data processing and loss function optimization, achieve accurate detection and quantitative assessment of mental fatigue.

Benefits of technology

It achieves high-accuracy detection and quantitative assessment of mental fatigue, avoids the influence of subjective questionnaires, improves the authenticity and accuracy of detection, and can better reflect the dispatcher's mental state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118643416A
    Figure CN118643416A
Patent Text Reader

Abstract

The invention provides a self-learning mental fatigue quantification method based on expandable self-adaptive weighted data fusion, and belongs to the field of physiological signal processing and mode recognition, and the method comprises the steps: obtaining an electroencephalogram signal and an electrocardiosignal of a power grid dispatcher; a visual signal PERCLOS algorithm is used to calculate the opening degree of human eyes, subjective scoring is obtained through expert evaluation, and data is processed through an adaptive weighted data fusion algorithm to obtain a mental fatigue quantification result; the electroencephalogram signals and the electrocardiosignals are preprocessed, interference noise in the physiological signals is removed, and window segmentation is conducted on the preprocessed signals; labeling, training and testing the processed electroencephalogram signals and electrocardiosignals; determining a fatigue detection result according to the target electroencephalogram signal and the electrocardiosignal; a fatigue output result continuously iteratively optimizes the classification prediction model through feedback; the fatigue detection result is the percentage quantitative fatigue degree. Compared with other mental fatigue detection, the method has the advantages that the PERCLOS index and the expert score value are fused through an expandable adaptive weighted data fusion algorithm to perform fatigue quantification, feature layer fusion is performed on the extracted electroencephalogram features and electrocardio features, the classification model is continuously iterated and optimized, and the accuracy of mental fatigue detection is improved. The fatigue state of the power grid dispatcher can be reflected more truly, and a fatigue detection result and mental fatigue quantitative evaluation with higher accuracy are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a self-learning mental fatigue quantification method based on expandable adaptive weighted data fusion, and belongs to the field of physiological signal processing and pattern recognition. Background Art

[0002] Electricity plays a very important role in people's daily lives, and power dispatchers are the front-line operators in the power grid system. During the process of power operations, the increase of fatigue will reduce the dispatcher's operating attention, leading to work errors and power accidents, resulting in significant economic losses. Therefore, the study of reliable and high-accuracy fatigue detection methods is of great significance for the safety of power use.

[0003] In the related technologies, there are many technical means for fatigue detection, which can be mainly divided into two categories: subjective detection method and objective detection method. Subjective detection method mainly uses subjective self-evaluation and expert evaluation. Commonly used subjective rating tables include: Stanford Sleep Scale and Karolinska Sleep Scale. This method is prone to problems such as deliberate concealment, cognitive bias, catering to expectations, individual differences, and poor timeliness of detection results. The technical means of objective detection method are mainly concentrated in two aspects: (1) Based on physiological signal detection. According to the deviation of various physiological index parameters from the normal numerical range when fatigue occurs, the fatigue state is judged by monitoring the changes in various physiological index parameters. The physiological signals that can reflect the fatigue of the user mainly include: electroencephalogram (EEG), electrocardiogram (ECG), electromyography (EMG), etc. The fatigue detection method based on physiological signals can directly reflect the characteristics of the physical condition of the object being measured. Therefore, this method can better reflect the mental state of the human body and has higher accuracy and versatility. (2) Based on facial feature detection. This method has been widely studied. Researchers usually install cameras to collect facial images of the human body in real time, and then use computer vision technology and digital image processing technology to extract effective features to predict fatigue status. This method is non-invasive and easy to use. Existing fatigue detection methods still have the following disadvantages:

[0004] 1. Data annotation through subjective evaluation questionnaires cannot well summarize the fatigue status over a period of time.

[0005] 2. Fatigue quantitative assessment is not performed in fatigue detection classification. Summary of the invention

[0006] Problems with unclear fatigue labeling and quantitative fatigue assessment.

[0007] In order to achieve the above object, the technical solution of the present invention is as follows:

[0008] A self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion, the steps are as follows:

[0009] Step 1: collect facial images, EEG signals and ECG signals of the target dispatcher, and conduct expert evaluation and scoring;

[0010] Step 2: Perform corresponding algorithm analysis on the facial image, perform adaptive weighted fusion processing on the data, form a corresponding fatigue index, and provide labels for subsequent ECG and EEG data;

[0011] Step 3: Preprocess the EEG and ECG signals, including filtering, removing bad segments, and removing interference noise in physiological signals; segment the preprocessed signals according to a window size of 10 minutes for subsequent analysis;

[0012] Step 4: Calculate the power spectrum and power ratio of each band of the extracted EEG signal, and mark the corresponding energy ratio;

[0013] Step 5: extract the extracted ECG signal in the time domain and frequency domain to find ECG fatigue features for annotation;

[0014] Step 6: The selected EEG signal and ECG signal features are fused at the feature layer using a two-layer BiLSTM network to obtain fatigue fusion detection data;

[0015] Step 7: Normalize the fused detection data, train and test the classifier model, output the fatigue detection results, and gradually adjust the feature fusion process by optimizing the loss function to make the output closer to the true label.

[0016] Step 2 of fatigue quantitative assessment specifically includes the following steps:

[0017] Step 2.1, the camera collects the dispatcher's facial image in real time, obtains each frame of the image from the video, performs facial key point detection, and extracts the eye area;

[0018] Step 2.2, calculate the PERCL OS value by calculating the eye height and width of each frame of the image;

[0019] Step 2.3: while collecting visual signals, perform expert evaluation and scoring;

[0020] Step 2.4: Divide the PERCLOS values ​​and expert evaluation scores into two groups, divide each group of data into two subgroups, and calculate the arithmetic mean T of each subgroup. (1) 、T (2) and standard error σ (1) , σ (2) ;

[0021] Step 2.5: According to the batch estimation theory, the two groups are fused with corresponding data, and the variance of the scores is

[0022] Where H is the coefficient matrix of the measurement equation, H =

[11] , D is the covariance of the measurement noise;

[0023] Step 2.6: The fusion value of the data obtained by combining the above formula is:

[0024]

[0025] Substitute the corresponding data to obtain the T of the first and second groups of data + With σ + ;

[0026] Step 2.7, after fusion data processing, multiple data of each group become one data, so that two groups of data become two data;

[0027] Step 2.8: Different groups of data have different weights. Under the optimal condition of minimum total mean square error, find the corresponding weights in an adaptive way to make the fused value optimal. The weighting factor is introduced and the data fusion value is: So the total mean square error is

[0028] Step 2.9: According to the extreme value theory of multivariate function, the weighting factor can be obtained as When 2 minimum value, and After bringing the data into the calculation, we get 2 sets of weights;

[0029] Step 2.10: After introducing the weighting factor according to the adaptive weighting model, the data fusion value should be: This fused value is the fatigue label.

[0030] The experimental process of step 4 specifically includes the following steps:

[0031] Step 4.1, use the Welch method to extract the power spectrum of each EEG band (α, β, θ, δ);

[0032] Step 4.2, calculate the power ratio of each band respectively, focusing on the power ratio of (θ+α) / β feature;

[0033] Step 4.3: Perform fatigue labeling rating on each extracted window according to the corresponding fusion value.

[0034] The experimental process of step 5 specifically includes the following steps:

[0035] Step 5.1, perform QRS wave detection on the ECG signal, equipotentially extract the R peak, obtain the RR interval, and calculate the HRV time domain and frequency domain;

[0036] Step 5.2, calculate the time domain features of the ECG signal, including the average value of the RR interval and the standard deviation of the RR interval (SDNN);

[0037] Step 5.3: Calculate the frequency domain characteristics of the ECG signal, decompose the RR interval into energy components of different frequencies through Fourier transform, calculate the spectral density of different frequency bands, extract the LF and HF of the ECG signal using the Welch method as for the EEG signal, calculate the LF / HF ratio, and mark the corresponding windows.

[0038] The experimental process of step 7 specifically includes the following steps:

[0039] Step 7.1: Output the fatigue detection result. According to the feedback loss function: mean square error loss of Euclidean distance, calculate the difference between the features output by the model and the true label.

[0040] Step 7.2, the feedback loss function can be defined as:

[0041]

[0042] Among them, i Represents the model output feature vector of the sample, Y i Represents the true label feature vector of the sample, n is the number of samples;

[0043] Step 7.3: Combine the original task loss and feedback loss, use cross entropy loss as the original task loss, and the feedback loss is the mean square error loss of the Euclidean distance mentioned above.

[0044] Step 7.4, the comprehensive loss function can be defined as:

[0045] L total =αL classification +βL feedback +λΩ(w)

[0046] L classification is the cross entropy loss of the classification task, Ω(w) is the regularization term, which can be the L1 or L2 regularization term of the model parameter w, α, β and λ are hyperparameters used to balance the effects of the original task loss, feedback loss and regularization term.

[0047] Step 7.5: The model will comprehensively consider the goal of the original task, the adjustment of feedback information and the complexity of the model, so as to comprehensively optimize the performance and generalization ability of the model during the training process. The role of different parts in the loss function can be balanced according to the actual situation, and the values ​​of hyperparameters α, β and λ can be appropriately adjusted.

[0048] Step 7.6: Dynamically adjust the fusion weights of ECG and EEG features according to the size of the feedback loss.

[0049] Compared with the prior art, the present invention has the following obvious advantages:

[0050] It is proposed to use an adaptive weighted data fusion algorithm to calibrate the fatigue interval, which removes the influence of subjective questionnaires, avoids interrupting the fatigue state during the detection process, and better reflects the real situation; the combination of EEG and ECG is suitable for the rapid detection of mental fatigue, with higher accuracy than single signal detection, and realizes quantitative assessment of fatigue.

[0051] This method takes adaptive weighted data fusion as the main body, and fuses the objective indicators of the PERCLOS algorithm with the subjective scores of expert evaluation through the adaptive weighted data fusion algorithm to obtain a more realistic fatigue label and remove the influence of subjective questionnaires in the fatigue test process; finally, the fatigue features of ECG and EEG signals are fused at the feature level to realize the mental fatigue detection and quantitative evaluation of fatigue of the dispatcher. In summary, this method can obtain high-precision fatigue detection results through the combination of EEG signals and ECG signals, and can realize the quantitative evaluation of fatigue. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0053] Figure 1 The overall flow chart of the self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion constructed for the embodiment of the present invention.

[0054] Figure 2 It is a fatigue feature fusion graph in a self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion in an embodiment of the present invention.

[0055] Figure 3 This is a schematic diagram of the random forest classification algorithm.

[0056] Figure 4 Flowchart of a random forest model optimized for a genetic algorithm. DETAILED DESCRIPTION

[0057] In order to make the purpose and technical solution of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. The following embodiments are only used to more clearly illustrate the technical solution of the present invention and are not limited to the present invention.

[0058] like Figure 1 As shown, the self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion provided by the embodiment of the present invention includes the following steps:

[0059] S1, obtains facial visual signals, EEG signals and ECG signals of power grid dispatchers;

[0060] The signals used in this embodiment can be acquired through hardware acquisition equipment, wherein the facial visual signal is acquired through a camera mounted above the display, and the EEG and ECG acquisition equipment are mainly portable EEG collectors and heart rate belts.

[0061] Specifically, the dispatcher's facial signal, EEG signal and ECG signal can be synchronously acquired once every preset time. For example, if the preset time is 10 minutes, the three signals of the dispatcher's mental fatigue state are included in the 10 minutes;

[0062] S2, uses the dispatcher’s facial visual signal to calculate the PERCLOS value and perform data fusion;

[0063] Each frame of the dispatcher's facial image is acquired from the camera in real time. The facial key point detection model trained by Dlib in OpenCV is used to calibrate the 68 facial feature points, extract the facial key points in each frame, and obtain the eye area from the facial feature points.

[0064] According to the pixel position ratio of the matrix points, the dispatcher's eye height and eye width are calculated, and the average of the left and right eye aspect ratios is used as the degree of eyelid closure. According to the set eye closure threshold, the PERCLOS value is calculated;

[0065] S21, a PERCLOS value is calculated every two minutes, and there are 5 values ​​every 10 minutes. At the same time, an expert score is given every two minutes, and the expert score ranges from 1 to 5.

[0066] S22, performing mixed data processing according to an adaptive weighted fusion algorithm, and calculating the arithmetic mean and standard error of the PERCLOS value and the expert score respectively;

[0067] S23, calculate the fusion value and variance of the two groups according to the batch estimation theory;

[0068] S24, introducing a weighting factor, using adaptive weighting to fuse the two sets of data to obtain a fused value, which is the fatigue label;

[0069] S3, extracting fatigue features of EEG signals;

[0070] S31, performing data preprocessing on the EEG signal data set training, and segmenting the preprocessed signal according to a window size of 10 minutes;

[0071] S32, the Welch method is used to extract the power spectrum of each EEG band (α, β, θ, δ);

[0072] S33 calculates the power ratio of each band respectively;

[0073] S34 performs fatigue labeling on each calculated window according to the corresponding fatigue label.

[0074] S4, extracting fatigue features of ECG signals;

[0075] S41, perform QRS wave detection on the ECG signal, locate the R peak, obtain the RR interval, and calculate the HRV time domain and frequency domain;

[0076] S42, calculating the time domain features of the ECG signal, including the average value of the RR interval and the standard deviation of the RR interval (SDNN);

[0077] S43, calculating the frequency domain characteristics of the ECG signal, decomposing the RR interval into energy components of different frequencies through Fourier transform, and calculating the spectral density of different frequency bands.

[0078] S5, the annotated ECG signal features and EEG signal features are fused through a two-layer BiLSTM network, such as Figure 2 shown.

[0079] S6, uses the random forest algorithm to build a classification model. The algorithm principle is as follows Figure 3 As shown, Figure 4 As shown in the GA-RF model flow chart, a GA-RF model is constructed to process the fused feature data, the fused features are input into the classifier, and finally the fatigue detection results are output.

[0080] S7, designs a comprehensive loss function, uses the output results as feedback features, and continuously optimizes the model structure so that the model can better adapt to the data. Through continuous iteration, the final fatigue detection results are closer to the true value.

[0081] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Without departing from the original invention technology, several improvements and variations may be made, which shall all be included in the protection scope of the present invention.

Claims

1. A self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion, characterized by: Step 1: collect facial images, EEG signals and ECG signals of the target dispatcher, and conduct expert evaluation and scoring; Step 2: Perform corresponding algorithm analysis on the facial image, perform adaptive weighted fusion processing on the subjective and objective data, form corresponding fatigue labels, and provide labels for subsequent ECG and EEG data; Step 3: Preprocess the EEG and ECG signals, including filtering, removing bad segments, and removing interference noise in physiological signals; The preprocessed signal was segmented into 10-minute window sizes for subsequent analysis; Step 4: Calculate the power spectrum and power ratio of each band of the extracted EEG signal, and mark the corresponding energy ratio; Step 5: extract the extracted ECG signal in the time domain and frequency domain to find ECG fatigue features for annotation; Step 6: The selected EEG signal and ECG signal features are fused at the feature layer using a two-layer BiLSTM network to obtain fatigue fusion detection data; Step 7: Normalize the fused detection data, train and test the classifier model, and finally output the fatigue detection results.

2. The self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion according to claim 1 is characterized in that: Step 2 includes the following steps: While collecting visual signals, experts evaluate and score them; divide the PERCLOS values ​​and expert evaluation scores into two groups, divide each group of data into two small groups, and calculate the arithmetic mean T of each group. (1) , T (2) and standard error σ (1) , σ (2) ; According to the batch estimation theory, the two groups are fused with corresponding data, and the variance of the scores is: The standard deviation is σ + =[(σ 1 ) -1 +H τ D -1 H] -1 , substitute the corresponding data to obtain the T of the first and second groups of data + With σ + ; After introducing the weighting factor according to the adaptive weighting model, the data fusion value should be: This fused value is the fatigue label.

3. The self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion according to claim 1, characterized in that: Scalable weighted data fusion, the generation of the mental fatigue label can use different subjective and objective data for adaptive weighted data fusion. The fusion of the data is not limited to the use of objective indicators PERCLOS values ​​and expert scoring and subjective evaluation. Self-questionnaire scoring tables, scoring evaluation intervals and other forms can also be added to expand the data in the fusion algorithm.

4. The self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion according to claim 1, characterized in that: The fatigue output results are used as feedback information to dynamically update the feature weights, helping the model to adjust the importance of features based on the actual prediction results. A feedback mechanism is introduced, and the difference between the model output features and the true labels is used as feedback information. A feedback loss function is defined and introduced into the model for iterative optimization. The model continuously adjusts the weights and methods of feature fusion so that the fused features better match the true labels.

5. The self-learning mental fatigue quantification method based on scalable adaptive weighted data fusion according to claim 1, characterized in that: The extracted electrocardiogram and electroencephalogram features are annotated with fatigue labels after adaptive weighted data fusion, and the corresponding feature combinations are subjected to feature-level fusion processing. The random forest parameters are optimized through genetic algorithms, and the model is trained to obtain a fatigue detection model and output fatigue detection results.

Citation Information

Cited By

  • Fatigue intervention method, system, equipment, medium and product

    CN119818800A

  • Driver fatigue state detection method based on data acquisition system and related equipment

    CN120859500A

  • Fatigue monitoring method, device, equipment, medium and product

    CN120959747A