A real-time neurofeedback device based on body-perception-social evaluation dual channel
By using a real-time neurofeedback device based on a dual pathway of body awareness and social assessment, EEG signals are processed in real time and personalized smile feedback is generated. This addresses the lack of intervention in somatic arousal and respiratory awareness in existing therapies, and improves the individualization of social assessment and training effectiveness.
Patent Information
- Application Number
- CN202611208612.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-11
- Publication Date
- 2026-11-20
AI Technical Summary
Current cognitive behavioral therapy lacks simultaneous intervention for somatic arousal, respiratory awareness, and interoceptive abnormalities when dealing with social assessment biases. It is not sufficiently individualized, resulting in poor training effects, especially for patients with high interpersonal sensitivity. Furthermore, current mindfulness cognitive therapy does not update social assessments adequately.
A real-time neurofeedback device based on a dual pathway of body awareness and social assessment is adopted. Through an EEG acquisition unit, a process control unit, a feature extraction unit, an individualized baseline standardization unit, a feedback control quantity generation unit, and a human facial expression feedback presentation unit, combined with an adaptive threshold update unit, it realizes real-time processing and feedback control of EEG signals and generates personalized smile level feedback.
It improved coverage of the social assessment process, enhanced the individualized intervention effect of body awareness and social evaluation, improved training compliance and effectiveness, and adapted to the differences in baseline brain activity levels and symptom severity among different patients.
Smart Images

Figure CN123126797A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of real-time neurofeedback technology, specifically to a real-time neurofeedback device based on a dual-pathway system of body awareness and social assessment. Background Technology
[0002] Current cognitive behavioral therapy primarily targets social assessment biases, lacking simultaneous intervention for bodily awareness issues such as somatic arousal, respiratory awareness, and interoceptive abnormalities. For patients with high interpersonal sensitivity, strong bodily reactions often precede negative social interpretations in real social situations; simply correcting beliefs often results in "learning but not being able to apply" the knowledge. While existing mindfulness-based cognitive therapy can enhance awareness and acceptance of bodily signals, it typically does not directly affect social assessment processes such as "whether others accept me" and "whether positive feedback is credible," thus insufficiently covering the inadequacy of social evaluation updates. Furthermore, the intervention lacks individualization. Different patients exhibit significant differences in baseline brain activity levels, trainability, and symptom severity; if thresholds are fixed, training may be too difficult or too easy, affecting adherence and training effectiveness. Summary of the Invention
[0003] To address the shortcomings of existing technologies, this invention proposes a real-time neurofeedback device based on a dual-pathway system of body awareness and social assessment.
[0004] The objective of this invention can be achieved through the following technical solutions: A first aspect of the present invention relates to a real-time neurofeedback device based on a dual pathway of body awareness and social assessment, comprising an EEG acquisition unit, a process control unit, a feature extraction unit, an individualized baseline standardization unit, a feedback control quantity generation unit, a human facial expression feedback presentation unit, and an adaptive threshold update unit. The EEG acquisition unit is used to acquire EEG signals containing at least the C3 channel and the CP3 channel; The process control unit is used to control the breathing awareness prompting stage and the human face feedback stage. In the breathing awareness prompting stage, breathing awareness prompting information is presented, and in the human face feedback stage, human face images are presented and the corresponding stimulus initiation marker t0(k) is written when the kth human face image appears. The feature extraction unit is used to calculate the C3 channel event-related average amplitude and CP3 channel event-related average amplitude corrected by the local baseline within 200 ms to 300 ms after the stimulus onset, based on the stimulus initiation marker t0(k), using the C3 channel signal and CP3 channel signal within -200 ms to 0 ms before the stimulus onset as local baselines, and to average the C3 channel event-related average amplitude and CP3 channel event-related average amplitude to obtain the target neural index of the k-th feedback event. The individualized baseline standardization unit is used to determine the baseline mean and baseline standard deviation based on the target neural index corresponding to the neutral human face baseline event, and to standardize the target neural index of the k-th feedback event based on the baseline mean and the baseline standard deviation to obtain the standardized neural index. The feedback control quantity generation unit is used to smooth the standardized neural index and generate a feedback control quantity based on the comparison result between the smoothed standardized neural index and the threshold of the current training block, and convert the feedback control quantity into a smile level. The facial expression feedback presentation unit is used to present a smile image of the corresponding level for the same person based on the smile level; The adaptive threshold update unit is used to update the threshold of the next training block based on the pass rate of valid feedback events and the proportion of valid data in the current training block.
[0005] Optionally, it may also include a communication unit, a parsing and verification unit, and a preprocessing unit; The communication unit is used to transmit the EEG signal, along with the sampling rate, timestamp, and channel label, to the parsing and verification unit. The parsing and verification unit is used to verify the data packet length, channel order, sampling point timestamp, and signal amplitude, and writes the verified EEG signal into the sliding time window buffer. The preprocessing unit is used to perform DC offset removal, bandpass filtering, power frequency notch filtering, rereference, and artifact processing on the EEG signals in the buffer area.
[0006] Optionally, the feature extraction unit calculates the target neural index F_target(k) for the k-th feedback event according to the following formula: Where t is located in the time interval from t0(k)+200 ms to t0(k)+300 ms, u is located in the time interval from t0(k)-200 ms to t0(k), X_C3 represents the C3 channel signal, X_CP3 represents the CP3 channel signal, and mean represents the arithmetic mean of the sampling points in the corresponding time interval.
[0007] Optionally, the individualized baseline standardization unit is used to obtain the target neural index F_base(j) corresponding to 30 to 60 valid neutral human face baseline events, calculate the baseline mean mu0 and the baseline standard deviation sigma0 according to mu0=mean[F_base(j)] and sigma0=std[F_base(j)] respectively, and calculate the standardized neural index Z_target(k) according to Z_target(k)=[F_target(k)-mu0] / sigma0, where std represents the calculated standard deviation; When the current training block is the first training block, its threshold T_1 = kappa, where kappa is between 0.3 and 1.0.
[0008] Optionally, the feedback control quantity generation unit calculates the smoothed standardized neural index Z_s(k) according to Z_s(k)=0.5Z_target(k)+0.3Z_target(k-1)+0.2Z_target(k-2), calculates the feedback control quantity S_raw(k) according to S_raw(k)=clip((Z_s(k)-(T_i-d)) / (2d),0,1), and calculates the feedback control quantity S_raw(k) according to L(k)=1+round[9] S_raw(k)] calculates the smile level L(k), where T_i is the threshold of the i-th training block, d is the smile change width parameter and d=1.0, clip indicates that the calculation result is restricted to between 0 and 1, and round indicates rounding.
[0009] Optionally, the smile level corresponding to the kth feedback event is denoted as L(k). The character expression feedback presentation unit stores a sequence of 10 smile images corresponding to the same character identity. The first level is a neutral expression, and the smile intensity increases progressively from the second to the tenth level. The head angle, gaze direction, lighting, background, image size, eye position, and facial contour of the character in each level of smile image remain consistent. Alternatively, the character expression feedback presentation unit uses the first level neutral expression image and the tenth level smile image of the same character identity as endpoints, and performs image deformation or fusion according to lambda=[L(k)-1] / 9 to generate the L(k) level smile image.
[0010] Optionally, the effective feedback event simultaneously meets the following conditions: the EEG data packet is complete, both the C3 channel and the CP3 channel are present, the stimulus initiation marker t0(k) is identifiable, the data is continuous from -200 ms to 0 ms before the stimulus and from 200 ms to 300 ms after the stimulus, and the EEG artifacts, EMG artifacts and motor artifacts do not exceed the corresponding preset amplitude thresholds and are not marked as invalid by artifact processing; For a feedback event that does not meet any of the said conditions, the human facial expression feedback presentation unit maintains the previous feedback state, and the adaptive threshold updating unit does not count this feedback event into the total number of valid feedback events.
[0011] Optionally, the adaptive threshold updating unit forms a valid feedback event set V_i from feedback events that pass all quality control conditions in the i-th training block, and records the total number of valid feedback events as K_valid=|V_i|; assigns an instant compliance mark only to the feedback events belonging to the valid feedback event set V_i, where I(k)=1 is recorded when Z_s(k)>=T_i, and I(k)=0 is recorded when Z_s(k)<T_i; no I(k) is assigned to invalid events, nor are they counted into K_valid; according to R_i=sum_(k∈V_i)[I(k)] / K_valid 100% calculates the compliance rate R_i of the i-th training block; The human facial expression feedback presentation unit updates the presented smile image to the smile image corresponding to the smile level converted according to the current feedback control amount when two consecutive valid feedback events are both instant compliance events, or at least two of the latest three valid feedback events are instant compliance events, otherwise maintains the previous feedback state; invalid events do not participate in the counting of consecutive compliance events or the latest three valid feedback events; When K_valid=0, the compliance rate R_i of the i-th training block is not calculated; when the valid data ratio K_valid / K_total is lower than 70%, the adaptive threshold updating unit keeps the threshold of the next training block unchanged, where K_total is the total number of planned feedback events in the i-th training block.
[0012] Optionally, the adaptive threshold updating unit determines the threshold T_(i+1) of the next training block according to the following rules: When R_i is greater than or equal to 75% and the artifact ratio is lower than 20%, T_(i+1)=min(T_i+0.1,T_max); When R_i is less than or equal to 30% and the valid data ratio is greater than or equal to 70%, T_(i+1)=max(T_i-0.1,T_min); When R_i is greater than 30% and less than 75%, or R_i is greater than or equal to 75% but the artifact ratio is greater than or equal to 20%, T_(i+1)=T_i; Wherein, the artifact ratio is the ratio of the number of feedback events marked as invalid due to electrooculogram artifacts, electromyogram artifacts or motion artifacts in the i-th training block to the total number of feedback events in this training block, T_min=0.0, T_max=2.0.
[0013] A second aspect of the present invention relates to a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, causes the processor to perform the following operations: Acquire EEG signals containing at least C3 and CP3 channels and stimulus initiation markers corresponding to human face images; based on the stimulus initiation markers, use the C3 channel signals from -200 ms to 0 ms before the stimulus as a local baseline, calculate the C3 channel event-related average amplitude and CP3 channel event-related average amplitude corrected for the local baseline from 200 ms to 300 ms after the stimulus, and average the event-related average amplitudes of the two channels to obtain the target neural index; The baseline mean and baseline standard deviation are determined based on the target neural indices corresponding to the baseline events of neutral human faces, and the target neural indices are then standardized and smoothed. Based on the comparison between the smoothed standardized neural index and the threshold of the current training block, a feedback control quantity is generated, which is then converted into a smile level, and the display device is controlled to present a smile image of the corresponding level for the same person. The threshold for the next training block is updated based on the pass rate of valid feedback events and the proportion of valid data within the current training block. Attached Figure Description
[0014] The invention will now be further described with reference to the accompanying drawings.
[0015] Figure 1 Functional diagram of the processing logic of a neurofeedback system; Figure 2 This is a schematic diagram of the overall function of a neurofeedback system; Figure 3 These are the results of a preliminary clinical correlation analysis. A: Body awareness indicators predict interpersonal sensitivity in patients with depression and still show independent contributions after incorporating factors related to social assessment; B: After stratification by gender and medication use, the model's explanatory power did not change significantly, suggesting that the results are less affected by gender and medication use.
[0016] Figure 4 These are preliminary test results for a dual-pathway real-time neurofeedback prototype system. After a single training session, there were no significant changes in the functional connectivity of aINS, mPFC, and aINS-mPFC. After four weeks of repeated training, the functional activity of aINS and mPFC showed an upward trend, while the functional connectivity of aINS-mPFC showed a downward trend. Body awareness, acceptance prediction rate, and belief update rate all showed improvement. These results support the feasibility of this device as a repetitive training type closed-loop neurofeedback device. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] In some embodiments of the present invention, the device information used is as follows: In some embodiments, the above-mentioned device operates in a closed-loop manner during a neurofeedback training session, following the sequence of "EEG acquisition—real-time transmission—data parsing—preprocessing—C3 / CP3 feature extraction—feedback control quantity calculation—smiley expression presentation—threshold update—training data storage." The entire process is collaboratively completed by the EEG acquisition end, real-time communication end, signal processing end, feedback presentation end, and training management end. Each stage has clearly defined data input, processing rules, and output results, and does not rely on uninterpretable black-box judgments.
[0019] Before training begins, the operator activates the EEG acquisition device, EEG acquisition software, and neurofeedback control program. The preferred EEG acquisition device is the Neuvo EEG meter, but other EEG amplifiers capable of outputting real-time multi-channel EEG data can also be used. The preferred EEG cap is a multi-channel cap conforming to the international 10-20 system, such as the 64-channel Quik-Cap electrode cap. The preferred acquisition software is Curry8 EEG acquisition software. The real-time feedback program is preferably written and run on the MATLAB platform, but Python, C++, or other software platforms capable of real-time data reception, filtering, feature extraction, and visual feedback control can also be used. The neurofeedback system in the PDF uses the Neuvo EEG meter, Curry8 acquisition software, and MATLAB GUI as components of the real-time neurofeedback platform.
[0020] After donning the EEG cap, the operator focuses on checking the contact quality of the C3 and CP3 electrode points, while also checking the reference electrode, ground electrode, and the horizontal and vertical electrooculography (EOG) channels. The C3 and CP3 points serve as the primary feedback signal sources for this device, reflecting changes in neural activity related to bodily awareness and respiratory endosensory modulation. To ensure signal quality, the impedance of each electrode is preferably controlled below 10kΩ; the sampling rate is preferably set to 1000Hz, but can also be set to 500Hz or other sampling rates that meet real-time feedback requirements, depending on the device's performance.
[0021] After the EEG signals are acquired by the EEG cap, they are amplified by the EEG amplifier, converted from analog to digital, and then transmitted to the Curry8 acquisition software. The Curry8 terminal is responsible for the continuous reception of raw EEG data, channel labeling, sampling rate management, and real-time data stream output. Preferably, Curry8 is set to NetStreaming Server mode, outputting real-time EEG data as a server-side data stream; the neurofeedback control program acts as a client, establishing a connection with Curry8 via a TCP / IP port and receiving data. Section 3.3.2 of the PDF also explains that Curry8 can perform real-time data transmission by directly sending to MATLAB or communicating via the NetStreaming port, with NetStreaming suitable for TCP / IP communication between two computers.
[0022] To ensure synchronization during training, the acquisition unit sends a phase marker to the signal processing unit at the beginning of each training phase, including the resting baseline phase, breathing awareness practice phase, formal feedback training phase, and transfer training phase. These phase markers are saved simultaneously with the EEG data to facilitate subsequent confirmation of the training state corresponding to each segment of EEG signal.
[0023] In some embodiments of the present invention, a method for real-time data reception, parsing, and verification is disclosed, specifically including the following steps: After the neurofeedback control program starts, it first reads parameters such as the Curry8 server's IP address, port number, sampling rate, number of channels, and data packet length. Once a communication connection is established, the program continuously receives EEG data packets according to a preset time window. After each data packet enters the processing terminal, the system sequentially performs the following verifications: First, check if the data packet length is complete. If the data length is insufficient, the data packet will not be included in the feedback calculation. Second, check if the channel order is consistent with the system's preset channel table to ensure that the C3 and CP3 signals are not incorrectly mapped to other channels. Third, check if the sampling point timestamps are continuous. If there is significant packet loss or delay, the time window will be marked as invalid. Fourth, check if the signal amplitude exceeds the reasonable physiological range. If a sudden high-amplitude artifact occurs in the C3, CP3, or electrooculography channel, the time window will be processed for artifacts or excluded. If either channel of C3 or CP3 exhibits an absolute amplitude exceeding 150 μV, a peak-to-peak value exceeding 200 μV, an amplitude jump exceeding 50 μV between adjacent sampling points, or a peak-to-peak value below 0.5 μV for 100 consecutive ms within the event window from -200 ms before stimulation to 300 ms after stimulation, it is respectively identified as a high-amplitude artifact, an electrode jump, or a flat line signal, and the event is directly marked as invalid.
[0024] The verified data is written to a real-time buffer. The buffer is updated using a sliding time window method, for example, updating the feedback result every second, and reading the EEG data from the most recent few seconds for each calculation. This avoids fluctuations in a single sampling point directly affecting the feedback image, making changes in facial expressions more stable.
[0025] In some embodiments of the present invention, a real-time preprocessing method for the above-mentioned verified data is disclosed, including the following steps: Before entering real-time computation, the system preprocesses the EEG signals in the buffer. Preprocessing includes DC drift removal, bandpass filtering, power frequency notch filtering, rereference, and artifact control. Preferably, the system first removes DC drift from each channel, then performs 1-45Hz or 1-100Hz bandpass filtering, and sets a 50Hz notch filter based on the training environment to reduce AC interference. The system in the PDF also mentions using MATLAB tools for filter design and setting up bandpass filtering, notch filtering, and narrowband filtering steps during real-time processing.
[0026] The preferred rereference method is whole-brain average reference, but average mastoid reference can also be used. Subsequently, the system combines horizontal EEG, vertical EEG, high-frequency EEG activity, and optional motion sensors to identify EEG, EMG, and motion artifacts. The system categorizes artifacts into mild and severe artifacts: mild artifacts refer to artifact indicators reaching the correction trigger threshold but not yet reaching the direct exclusion threshold, and the target data window remains continuous; severe artifacts refer to any indicator reaching the direct exclusion threshold, or the residual signal failing the quality check after correction. Mild artifacts undergo PCA correction, while severe artifacts do not generate new feedback for their corresponding events, and the display retains the previous valid feedback state.
[0027] The preferred trigger threshold for correcting electrooculography (EOG) artifacts is an absolute amplitude of 50 μV in the horizontal or vertical EOG channel, and the preferred direct exclusion threshold is an absolute amplitude exceeding 100 μV or a peak-to-peak value exceeding 150 μV. Electromyography (EMG) artifacts are judged based on the root mean square amplitude of C3, CP3, and adjacent channels in the 30-45 Hz frequency band: a value reaching 2 times but not exceeding 3 times the median of the individual's resting baseline is considered mild EMG artifacts; a value exceeding 3 times the median baseline or exceeding 20 μV is considered severe EMG artifacts. For motion artifacts, without a motion sensor, a jump exceeding 50 μV between adjacent sampling points in any target channel or a peak-to-peak value exceeding 200 μV within the event window is used as the direct exclusion criterion; with a triaxial accelerometer, a change in the resultant acceleration relative to the resting value exceeding 0.5g is used as the direct exclusion criterion.
[0028] For mild artifacts, the system performs PCA within the most recent 2-5 s sliding data window, including C3, CP3, frontal EEG, and EEG channels. Principal components meeting either of the following criteria are marked as candidate artifact components: the absolute correlation coefficient between the component's time series and the horizontal or vertical EEG channel is not less than 0.70; or the proportion of the component's 30-45 Hz power to the total 1-45 Hz power is not less than 0.50, and its frontal or temporal electrode load is more than twice the median load of all channels. A maximum of two principal components are excluded per correction, and the cumulative explained variance of the excluded components must not exceed 30% of the total variance; if any of the above limits are exceeded, correction is discontinued, and the event is marked as invalid.
[0029] After PCA correction, residual quality checks are performed again. An event is considered valid only if the absolute amplitudes of C3 and CP3 do not exceed 100 μV, the peak-to-peak value of the event window does not exceed 150 μV, the absolute amplitude of the electrooculogram channel does not exceed 75 μV, and there are no adjacent sampling point jumps exceeding 50 μV; otherwise, the correction is considered a failure and treated as a serious artifact. The device can individually adjust the above correction trigger thresholds based on a quiet baseline of at least 30 seconds prior to training, using the baseline median and median absolute deviation, but the direct exclusion threshold should not exceed the aforementioned fixed upper limit, thus ensuring consistency in judgment among different users.
[0030] In some embodiments of the present invention, a method for extracting the C3 / CP3 target signal and calculating the 200-300 ms average amplitude of the preprocessed data is disclosed, including the following steps: After preprocessing, the system extracts two target channels, C3 and CP3, from whole-brain EEG. It's important to note that the preferred feedback metric for this device is not the theta, alpha, or beta frequency band energy of the C3 / CP3 channels, but rather the event-related average amplitude within a 200-300 ms time window following the appearance of a facial stimulus. This electrode region and time window are based on the applicant's previous research (Zhou H, et al. Biological Psychiatry, 2026): the applicant previously explored and repeatedly validated different brain-heart interaction metrics, electrode regions, and candidate time windows on multiple independent depression datasets, finding that the potential amplitude in the left central-parietal lobe region within 200-300 ms exhibited good inter-group discrimination and cross-dataset stability, with C3 and CP3 located within this stable region. Therefore, this device identifies the average amplitude of C3 / CP3 within 200-300 ms as the preferred feedback feature to improve the stability of real-time extraction and reduce the impact of occasional fluctuations from a single electrode. The electrodes and time windows mentioned above are preferred implementation parameters and are not absolute limitations. In practical applications, calibration can be performed on C3, CP3 and their adjacent central-apical leaf electrodes and within a candidate range of 200-350 ms, depending on the individual signal quality.
[0031] To further illustrate the correspondence between the C3 / CP3 target window signal and the feedback of a person's smile, in one embodiment, four exemplary target input levels were sequentially set, with the baseline mean μ0 = 2.40 μV and the baseline standard deviation σ0 = 0.80 μV as parameters, increasing by 0.20σ0, 0.45σ0, 0.70σ0, and 0.95σ0 relative to the baseline mean. The system processed the data according to the aforementioned target amplitude extraction, individualized standardization, time smoothing, threshold comparison, feedback control quantity calculation, and smile level mapping methods. The results are shown in Table 2. As the amplitude of the C3 / CP3 target window increases, Z_target, Z_s, instantaneous achievement rate R_i, average feedback control quantity S_raw, and average smile level all increase accordingly, indicating that the device can convert the directional change of the C3 / CP3 target window signal into progressively enhanced smile feedback. This embodiment is used to illustrate the device's signal processing and feedback mapping process and is not intended as proof of human training effects or clinical efficacy.
[0032] In each feedback event or feedback refresh cycle, when the image of a person's face appears, the process control unit writes a stimulus start marker, denoted as t0(k), to the signal processing unit, where k represents the k-th valid feedback event. The system extracts the signal from -200 ms to 0 ms before the stimulus appears as the local baseline for that event, and extracts the signal from 200 ms to 300 ms after the stimulus appears as the target calculation window. If a continuous presentation mode is used, each refresh point of the person's image is taken as t0(k); if a trial presentation mode is used, the appearance point of the person's image in each trial is taken as t0(k).
[0033] For the k-th valid feedback event, the system calculates the average amplitude of C3 and CP3 according to the following rules: A_C3(k) = mean[X_C3(t) - B_C3(k)], where t is located between t0(k) + 200 ms and t0(k) + 300 ms; A_CP3(k) = mean[X_CP3(t) - B_CP3(k)], where t is located between t0(k) + 200 ms and t0(k) + 300 ms. Where B_C3(k) = mean[X_C3(u)], where u is located between t0(k) - 200 ms and t0(k); B_CP3(k) = mean[X_CP3(u)], where u is located between t0(k) - 200 ms and t0(k).
[0034] The term "mean" above represents the arithmetic mean of the sampling points within the corresponding time window, preferably in microvolts.
[0035] The system averages the event-related average amplitudes of the two channels to obtain the target neural index for the current feedback event: F_target(k) = [A_C3(k) + A_CP3(k)] / 2. This F_target(k) is the direct data source for generating smile feedback by this device. The intensity of the smile is not determined by the operator's subjective judgment or by the patient's self-assessment, but is generated by standardization, threshold comparison, and smoothing mapping of the average amplitudes of C3 and CP3 within 200-300 ms after the appearance of the face. Since the 200-300 ms target window can only be calculated after the stimulus appears, in the real-time closed loop, the F_target(k) calculated for the k-th feedback event is preferably used to update the expression level of the (k+1)-th feedback event or the next frame; in implementations with sufficiently long refresh intervals, the expression can also be updated in subsequent display phases within the same trial. This design ensures that the feedback is generated by the collected neural activity, avoiding the involvement of future data in the current feedback.
[0036] Because different users have varying absolute EEG amplitudes, skin electrode contact states, and neural trainability, the system does not directly use the original F_target(k) as the feedback control variable. Instead, it first establishes an individualized baseline for the current training session. During the resting or neutral face baseline phase after training begins, the user quietly observes a neutral human face without engaging in active feedback training. The system collects N0 valid baseline events using the same event labeling and 200-300 ms target window calculation method as in formal training. N0 is preferably 30 to 60 events, but can also correspond to 30 seconds to 2 minutes of baseline data.
[0037] During the baseline phase, a set of F_base(j) is obtained, j=1,2,...,N0. The system calculates the baseline mean mu0=mean[F_base(j)] and the baseline standard deviation sigma0=std[F_base(j)]. If the number of valid baseline events is less than the preset number, or if sigma0 is too small and causes instability in standardization, the system prompts for re-collecting the baseline, or sets sigma0 to the preset lower limit sigma_min to avoid excessively small divisors.
[0038] In formal feedback training, the system converts the target index of each feedback event into a standardized neural index: Z_target(k) = [F_target(k) - mu0] / sigma0. Since the preferred training direction of this device is to enhance the average amplitude of C3 / CP3 within 200-300 ms, the larger Z_target(k) is, the closer the target neural activity generated by the user through breathing awareness regulation is to the training direction.
[0039] The initial threshold for the first round of training is determined by adding a multiple of the baseline mean and standard deviation. When expressed in terms of raw amplitude, the initial threshold theta_1 = mu0 + kappa sigma0; when expressed as a standardized metric, the initial threshold T_1 = kappa. In the prototype system, kappa is preferably set to 0.5, meaning that in the first round of training, F_target(k) is considered to have reached the target direction after reaching approximately 0.5 standard deviations above the baseline mean. If the subject's initial fluctuations are large or tolerance is low, kappa can be set to 0.3; if training is too easy, it can be set to 0.8 to 1.0. The above range is used for individualized calibration and does not change the training direction that enhances the average amplitude of 200-300 ms.
[0040] The system converts Z_target(k) into a feedback control variable S(k) between 0 and 1, and then converts S(k) into a smile level L(k). To avoid abrupt changes in expression due to noise from a single event, the system first smooths the Z_target of the most recent several valid events. Preferably, a weighted average of the most recent three valid events is used. Z_s(k) = 0.5 Z_target(k) + 0.3 Z_target(k-1)+0.2 Z_target(k-2).
[0041] When there are insufficient historical events available, the system uses the current event or the average of the two most recent events.
[0042] Let the threshold of the current training block be T_i, where i represents the i-th training block; let the smile variation width parameter be d, preferably 1.0. The system uses the following continuous mapping rule to generate the feedback control quantity: S_raw(k)=clip((Z_s(k)-(T_i-d)) / (2 d),0,1). Here, clip(x,0,1) represents 0 when x is less than 0, 1 when x is greater than 1, and x itself in other cases. This rule means: when Z_s(k) is lower than T_i-d, the feedback control is 0, and the expression is close to calm; when Z_s(k) equals T_i, the feedback control is approximately 0.5, and the expression is a moderate smile; when Z_s(k) is higher than T_i+d, the feedback control is 1, and the expression is the highest level smile.
[0043] The system then converts S_raw(k) into a smile level of 1 to 10: L(k) = 1 + round[9] S_raw(k)], and the result is limited to between 1 and 10. L=1 represents a calm or neutral expression, L=10 represents a very happy expression, and the larger the value of L, the stronger the upturn of the corners of the mouth, the smile in the eyes, and the friendliness of the face. In actual display, the system can directly call the pre-made character image of level L, or call the expression deformation algorithm to interpolate the neutral expression of the same character with the strongest smiling expression according to lambda=(L-1) / 9.
[0044] To further reduce screen jitter, the display can also perform display smoothing on S_raw(k): S_display(k) = 0.6 S_display(k-1)+0.4 S_raw(k).
[0045] The final presentation level is calculated from S_display(k). This smoothing only affects the continuity of visual presentation and does not change the original calculation rules for F_target(k), Z_target(k), and the pass rate.
[0046] In some embodiments of the present invention, the facial image materials preferably utilize a self-built standardized facial expression material library. In the prototype system, the material source is authorized photographed or edited images of student volunteers, with a male-to-female ratio of 1:1. In the preliminary experiments, the device selected one male and one female participant, with an age control of 28 years or older, or a young adult of a matching age. Alternatively, the same facial expression material from authorized standardized facial databases such as KDEF and NimStim can be used. To avoid additional social evaluation interference caused by identity switching, it is preferable to use the same person identity within a single training session or a single training block, only changing the intensity of that person's expression.
[0047] Each character has a 10-level expression image sequence. Level 1 is a calm or neutral expression, levels 2 through 10 are positive expressions with progressively stronger smiles, and level 10 is very happy. The 10 level images maintain consistency in terms of character identity, head angle, gaze direction, lighting, background, size, eye position, and facial contours, only changing facial features such as the degree of upturn of the corners of the mouth, the smile in the eyes, and the lift of the cheeks.
[0048] There are two methods for generating expression levels. The first is a pre-editing method, which involves creating 10 images of the same person with different smile intensities, and then having the system call the corresponding file based on L(k). The second is a continuous deformation method, which uses the level 1 calm expression and the level 10 very happy expression as endpoints, and performs image deformation or fusion according to lambda=(L(k)-1) / 9 to automatically generate the corresponding smile intensity. Both methods ensure that the feedback content is a positive social cue of the same person from calm to happy, with higher levels representing stronger social acceptance cues.
[0049] The above-mentioned face presentation method is adapted from the social feedback logic of the traditional social behavior prediction paradigm. However, this device does not allow users to passively accept the preset expression sequence. Instead, it connects the expression level with the average amplitude of C3 / CP3 within 200-300 ms after the appearance of the face, so that the smile of the person becomes the real-time neural feedback result.
[0050] The system takes each feedback event or feedback refresh window as the basic unit for quality judgment. An event is counted as a valid feedback event only when all the following conditions are met: the data packet length is consistent with the header record; both the C3 and CP3 channels exist and are mapped correctly; the stimulation onset marker t0(k) is identifiable; the data in the two time windows of -200 ms to 0 ms before stimulation and 200 ms to 300 ms after stimulation is continuous, and the number of missing sampling points does not exceed 5%; the absolute amplitude, peak-to-peak value, adjacent sampling point jump and flat line indicators of C3 and CP3 do not reach the direct exclusion threshold; the electrooculogram, electromyogram and motion artifacts do not reach the severe artifact threshold; mild artifacts pass the residual quality check after PCA correction; this event is not marked as invalid by the data verification or artifact processing module. If any one of the conditions is not met, the event is judged as invalid, and the display end maintains the previous valid feedback state.
[0051] For the i-th training block, the system first judges the validity of all planned feedback events in this block, and the events that pass all quality control conditions form a valid feedback event set V_i, and the total number of valid feedback events is recorded as K_valid=|V_i|. Immediate compliance markers are only assigned to valid feedback events belonging to set V_i: for the enhanced training direction, when k∈V_i and Z_s(k)>=T_i, I(k) is recorded as 1; when k∈V_i and Z_s(k)<T_i, I(k) is recorded as 0. Invalid events do not belong to set V_i, are not assigned I(k), and are not counted in the number of immediate compliance events, the total number of valid feedback events K_valid, or the numerator or denominator of the compliance rate. The compliance here does not mean that a single sampling point exceeds the threshold, but the result that the average amplitude of C3 / CP3 in the 200-300 ms target window exceeds the current training block threshold after baseline correction, dual-channel averaging, standardization and smoothing.
[0052] In the prototype system, the feedback screen can be refreshed once per second. In order to avoid user misunderstanding caused by accidental fluctuations, the display end is preferably provided with a stable compliance rule: the system will not upgrade the expression to a more stable high-level smile state until 2 consecutive valid feedback events both satisfy Z_s(k)>=T_i, or at least 2 of the latest 3 valid feedback events satisfy Z_s(k)>=T_i. This stable display rule is used to enhance the reliability of visual feedback; the compliance rate in the training report is still calculated based on valid feedback events. The above stable display rule only affects the visual presentation of the character's expression, and does not change the calculation methods of I(k), K_valid and R_i; invalid events do not participate in the counting of consecutive compliance or "at least 2 of the latest 3 valid feedback events are compliant".
[0053] The immediate compliance rate R_i of the i-th training block follows R_i=sum_(k∈V_i)[I(k)] / K_valid 100% calculation. Wherein, V_i is the set of valid feedback events of the i-th training block, K_valid=|V_i|, sum_(k∈V_i)[I(k)] is the number of immediate compliance events among the valid feedback events, and invalid events are not counted in the numerator or denominator of the compliance rate. When K_valid=0, R_i of this training block is not calculated; when the valid data ratio K_valid / K_total is lower than 70%, R_i of this block is not used to update the threshold of the next training block, the system maintains T_(i+1)=T_i, and prompts to check the electrode contact state, reduce artifacts, retrain or extend the rest period. Wherein, K_total is the total number of planned feedback events for this training block.
[0054] After each training block ends, the system updates the threshold of the next training block according to the following priority order. First, when K_valid=0 or the valid data ratio K_valid / K_total is lower than 70%, no matter what the value of R_i is, T_(i+1)=T_i is maintained. Second, on the premise that the valid data ratio is greater than or equal to 70%, if R_i>=75% and the artifact ratio is lower than 20%, it indicates that the current task is relatively easy, then T_(i+1)=min(T_i+0.1,T_max); if R_i<=30%, it indicates that the current task is relatively difficult, then T_(i+1)=max(T_i-0.1,T_min); if 30%<R_i<75%, or R_i>=75% but the artifact ratio is greater than or equal to 20%, T_(i+1)=T_i is maintained. Wherein, T_min is preferably 0.0, and T_max is preferably 2.0. The system records T_i, R_i, K_valid, K_total, valid data ratio, artifact ratio and update reason before and after each threshold update, so as to ensure that the equipment operation process is traceable and reviewable.
[0055] After one or more formal feedback blocks, the system can enter the transfer training phase. In the transfer training, the patient continues to adopt the breath awareness strategy, but the character smiley face feedback on the screen is weakened, delayed or removed. The system still continuously records the C3 / CP3 signal, and calculates whether the patient can still maintain the target-direction neuromodulation ability under the condition of no explicit feedback. This phase is not a necessary pre-assessment for the equipment treatment process, but a record of the maintenance of the modulation ability after the equipment operates.
[0056] After training, the system automatically saves the following data: patient ID, training date, training phase marker, raw EEG data, preprocessed C3 / CP3 data, average C3 / CP3 characteristics, standardized feedback indicators, feedback intensity per second, facial expression level, threshold change record, artifact ratio, effective training duration, and achievement rate. This data is used to generate single-session training reports and treatment trend reports, ensuring a complete data chain throughout the device's operation, rather than simply outputting a subjective efficacy conclusion.
[0057] In other embodiments of the present invention, when using the device for neurofeedback training in a single instance, the following procedure is preferably followed: 1. Equipment preparation stage: Wear an EEG cap and confirm that C3, CP3, reference, grounding and electrooculography channels are normal; establish a communication connection between the acquisition end and the processing end.
[0058] 2. Baseline Phase: The user quietly observes a neutral human face without active feedback training. The device collects baseline data for 30 seconds to 2 minutes, calculates the average amplitude of C3 / CP3 within a target window of 200-300 ms after the human face appears, obtaining mu0 and sigma0, and initializes the first-round threshold according to T_1=kappa, with kappa preferably 0.5. This baseline is only used for the current device calibration and is not equivalent to clinical efficacy evaluation.
[0059] 3. Breathing Awareness Practice Stage: The screen displays a neutral human face and breathing awareness prompts. Users practice focusing their attention on breathing and bodily sensations, becoming familiar with the relationship between "breathing awareness - changes in neurological indicators - changes in the human face's smile".
[0060] 4. Closed-loop feedback training phase: The device is optimized to refresh feedback once per second. The user continuously monitors their breathing; the system calculates the average amplitude of C3 / CP3 within 200-300 ms after each appearance of a human face, and maps the standardized index Z_target to a smile intensity level of 1 to 10. An enhanced smile indicates that the current neural feedback index is closer to the target state; a weakened smile indicates a deviation from the target state.
[0061] 5. Short rest periods: Rest periods are incorporated between training sets to reduce fatigue and motion artifacts. During rest periods, the device continues to monitor signal quality but does not update training achievement rates.
[0062] 6. Transfer training phase: In some training groups, the device can reduce the amplitude of facial expression changes, delay feedback, or display a fixed neutral expression, allowing users to continue breathing awareness under weak or no feedback conditions, in order to observe whether they can maintain the learned regulatory strategies.
[0063] 7. End Phase: The device generates a training report, listing the effective training duration, average feedback control amount, immediate pass rate, number of stable pass rates, artifact rate, average amplitude change curve of C3 / CP3 within the 200-300 ms target window, human expression level curve, and threshold update status.
[0064] In summary, the working principle of this device can be described as "breathing body awareness input—C3 / CP3 event-related average amplitude reading—positive social expression feedback—self-regulation learning." During training, the user is not passively viewing images, but actively experiencing inhalation, exhalation, and body movements during a breathing awareness task. This process influences EEG activity related to body awareness, attention allocation, somatic sensory processing, and emotion regulation. The device extracts the average amplitude within 200-300 ms after the appearance of a human face through the C3 and CP3 channels, and uses the average of these two amplitudes as a quantifiable indicator of the body awareness pathway.
[0065] Within each feedback event, the device first determines whether the EEG data is valid, then performs preprocessing, artifact correction, pre-stimulation baseline correction, and calculates the average amplitude of C3 / CP3 within a 200-300 ms target window. Subsequently, the device compares this feature with the current baseline and the current threshold to obtain the feedback control variable. This feedback control variable directly determines the degree of change in the person's facial expression on the screen, from calm to smiling.
[0066] A person's smile constitutes feedback content in the social assessment pathway. For patients with interpersonal sensitivity, whether a person smiles and whether the smile gradually intensifies has clear social acceptance significance. The device converts the neuromodulation changes generated by the user's breathing awareness into a person's smile, allowing them to practice "feeling their own bodily changes" and "receiving positive social cues" simultaneously within the same closed loop. After multiple rounds of training, users can gradually form a new connection: changes in bodily signals do not necessarily need to be immediately interpreted as social threats, but can appear together with more positive social cues in stable breathing awareness.
[0067] Unlike neurofeedback that only displays bar charts, this device provides feedback through facial smiles. Unlike typical face training, the facial expressions are not preset but are driven in real-time by the average amplitude of the C3 / CP3 within 200-300 ms after the face appears. Therefore, this device simultaneously possesses the real-time nature of neurofeedback, the operability of body awareness training, and the contextual significance of social assessment training.
[0068] In the initial testing of the prototype system, six patients with depression were included. Repetitive training was conducted three times a week for four consecutive weeks, for a total of 12 sessions. Each training session lasted approximately 36 minutes and included four phases: resting baseline, strategy practice, closed-loop feedback training, and transfer training. The closed-loop feedback training consisted of four training blocks, each with 10 feedback events, resulting in 40 feedback events per training session. Neurological indicators were evaluated before the first training session, after the first training session, and at the end of the fourth week; body awareness, acceptance prediction rate, and belief update rate were evaluated before the first training session and at the end of the fourth week.
[0069] As shown in Table 1, after a single training session, the changes in functional connectivity of aINS, mPFC, and aINS-mPFC were relatively small. After four weeks of repeated training, the functional activity of aINS and mPFC showed an upward trend, while the functional connectivity of aINS-mPFC showed a downward trend. Body awareness, acceptance prediction rate, and belief update rate all showed improvement trends. These results demonstrate that the prototype system can complete the prescribed training process and generate changes in neural and psychological behavioral indicators in the target direction, supporting its preliminary feasibility as a repetitive training type closed-loop neurofeedback device, but do not constitute a definitive clinical efficacy conclusion.
[0070] Table 1. Training parameters and index changes in the early stages of testing the dual-path real-time neurofeedback prototype system. Note: Data in the table are expressed as mean ± standard deviation. Neurological indicators are group averages obtained after uniform preprocessing and normalization. Body awareness scores range from 1 to 5, with higher scores indicating better body awareness. Acceptance prediction rate refers to the proportion of trials in which the individual predicts acceptance before receiving social feedback. Belief update rate refers to the proportion of trials in which the individual raises their expectations of subsequent acceptance after receiving positive acceptance feedback. Evaluation points are before the first training session, after the first training session, and at the end of the fourth week.
[0071] Table 2 Results of Offline Playback and Feedback Control of C3 / CP3 Target Window Signal Note: Baseline mean μ0 = 2.40 μV, baseline standard deviation σ0 = 0.80 μV; each target level represents the standard deviation multiple of the increase relative to the baseline mean.
[0072] In the description of this specification, references to terms such as "an embodiment," "example," "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0073] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the claimed invention.
Claims
1. A real-time neurofeedback device based on a dual pathway of body awareness and social assessment, characterized in that, It includes an EEG acquisition unit, a process control unit, a feature extraction unit, an individualized baseline standardization unit, a feedback control quantity generation unit, a human facial expression feedback presentation unit, and an adaptive threshold update unit; The EEG acquisition unit is used to acquire EEG signals containing at least the C3 channel and the CP3 channel; The process control unit is used to control the breathing awareness prompting stage and the human face feedback stage. In the breathing awareness prompting stage, breathing awareness prompting information is presented, and in the human face feedback stage, human face images are presented and the corresponding stimulus initiation marker t0(k) is written when the kth human face image appears. The feature extraction unit is used to calculate the C3 channel event-related average amplitude and CP3 channel event-related average amplitude corrected by the local baseline within 200 ms to 300 ms after the stimulus onset, based on the stimulus initiation marker t0(k), using the C3 channel signal and CP3 channel signal within -200 ms to 0 ms before the stimulus onset as local baselines, and to average the C3 channel event-related average amplitude and CP3 channel event-related average amplitude to obtain the target neural index of the k-th feedback event. The individualized baseline standardization unit is used to determine the baseline mean and baseline standard deviation based on the target neural index corresponding to the neutral human face baseline event, and to standardize the target neural index of the k-th feedback event based on the baseline mean and the baseline standard deviation to obtain the standardized neural index. The feedback control quantity generation unit is used to smooth the standardized neural index and generate a feedback control quantity based on the comparison result between the smoothed standardized neural index and the threshold of the current training block, and convert the feedback control quantity into a smile level. The facial expression feedback presentation unit is used to present a smile image of the corresponding level for the same person based on the smile level; The adaptive threshold update unit is used to update the threshold of the next training block based on the pass rate of valid feedback events and the proportion of valid data in the current training block.
2. The real-time neurofeedback device according to claim 1, characterized in that, It also includes a communication unit, a parsing and verification unit, and a preprocessing unit; The communication unit is used to transmit the EEG signal, along with the sampling rate, timestamp, and channel label, to the parsing and verification unit. The parsing and verification unit is used to verify the data packet length, channel order, sampling point timestamp, and signal amplitude, and writes the verified EEG signal into the sliding time window buffer. The preprocessing unit is used to perform DC offset removal, bandpass filtering, power frequency notch filtering, rereference, and artifact processing on the EEG signals in the buffer area.
3. The real-time neurofeedback device according to claim 1, characterized in that, The feature extraction unit calculates the target neural index F_target(k) for the k-th feedback event according to the following formula: Where t is located in the time interval from t0(k)+200 ms to t0(k)+300 ms, u is located in the time interval from t0(k)-200 ms to t0(k), X_C3 represents the C3 channel signal, X_CP3 represents the CP3 channel signal, and mean represents the arithmetic mean of the sampling points in the corresponding time interval.
4. The real-time neurofeedback device according to claim 3, characterized in that, The individualized baseline standardization unit is used to obtain the target neural index F_base(j) corresponding to 30 to 60 valid neutral human face baseline events. The baseline mean mu0 and the baseline standard deviation sigma0 are calculated according to mu0=mean[F_base(j)] and sigma0=std[F_base(j)], respectively. The standardized neural index Z_target(k) is calculated according to Z_target(k)=[F_target(k)-mu0] / sigma0, where std represents the calculated standard deviation. When the current training block is the first training block, its threshold T_1 = kappa, where kappa is between 0.3 and 1.
0.
5. The real-time neurofeedback device according to claim 4, characterized in that, The feedback control quantity generation unit calculates the smoothed standardized neural index Z_s(k) according to Z_s(k)=0.5Z_target(k)+0.3Z_target(k-1)+0.2Z_target(k-2), calculates the feedback control quantity S_raw(k) according to S_raw(k)=clip((Z_s(k)-(T_i-d)) / (2d),0,1), and calculates the feedback control quantity S_raw(k) according to L(k)=1+round[9] S_raw(k)] calculates the smile level L(k), where T_i is the threshold of the i-th training block, d is the smile change width parameter and d=1.0, clip indicates that the calculation result is restricted to between 0 and 1, and round indicates rounding.
6. The real-time neurofeedback device according to claim 1, characterized in that, Let L(k) be the smile level corresponding to the kth feedback event. The character expression feedback presentation unit stores a sequence of 10 smile images corresponding to the same character. The first level is a neutral expression, and the smile intensity increases progressively from the second to the tenth level. The head angle, gaze direction, lighting, background, image size, eye position, and facial contour of the character in each level of smile image remain consistent. Alternatively, the character expression feedback presentation unit uses the first level neutral expression image and the tenth level smile image of the same character as endpoints, and performs image deformation or fusion according to lambda=[L(k)-1] / 9 to generate the L(k) level smile image.
7. The real-time neurofeedback device according to claim 1, characterized in that, The effective feedback event simultaneously meets the following conditions: the EEG data packet is complete, both the C3 and CP3 channels are present, the stimulus initiation marker t0(k) is identifiable, the data is continuous from -200 ms to 0 ms before the stimulus and from 200 ms to 300 ms after the stimulus, and the EEG artifacts, EMG artifacts, and motor artifacts do not exceed the corresponding preset amplitude thresholds and are not marked as invalid by artifact processing; For feedback events that do not meet any of the conditions, the character expression feedback presentation unit maintains the previous feedback state, and the adaptive threshold update unit does not include the feedback event in the total number of valid feedback events.
8. The real-time neurofeedback device according to claim 7, characterized in that, The adaptive threshold update unit forms a valid feedback event set V_i from the feedback events that meet all quality control conditions within the i-th training block, and records the total number of valid feedback events as K_valid=|V_i|; an instant compliance flag is only assigned to the feedback events belonging to the valid feedback event set V_i, where I(k)=1 is recorded when Z_s(k)>=T_i, and I(k)=0 is recorded when Z_s(k)<T_i; invalid events are not assigned I(k), nor are they counted into K_valid; according to R_i=sum_(k∈V_i)[I(k)] / K_valid 100% calculates the compliance rate R_i of the i-th training block; When two consecutive valid feedback events are instant-achievement events, or at least two of the last three valid feedback events are instant-achievement events, the facial expression feedback presentation unit updates the presented smile image to the smile image corresponding to the smile level calculated based on the current feedback control quantity; otherwise, it maintains the previous feedback state. Invalid events are not included in the counting of consecutive achievement events or the last three valid feedback events. When K_valid=0, the pass rate R_i of the i-th training block is not calculated; when the effective data ratio K_valid / K_total is less than 70%, the adaptive threshold update unit keeps the threshold of the next training block unchanged, where K_total is the total number of planned feedback events in the i-th training block.
9. The real-time neurofeedback device according to claim 8, characterized in that, The adaptive threshold update unit determines the threshold T_(i+1) of the next training block according to the following rules: When R_i is greater than or equal to 75% and the proportion of artifacts is less than 20%, T_(i+1)=min(T_i+0.1,T_max); When R_i is less than or equal to 30% and the proportion of valid data is greater than or equal to 70%, T_(i+1)=max(T_i-0.1,T_min); When R_i is greater than 30% and less than 75%, or when R_i is greater than or equal to 75% but the proportion of artifacts is greater than or equal to 20%, T_(i+1)=T_i; The artifact ratio is the proportion of feedback events marked as invalid due to electrooculography (EOG), electromyography (EMG), or motion artifacts in the i-th training block to the total number of feedback events in that training block, with T_min=0.0 and T_max=2.
0.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it causes the processor to perform the following operations: Acquire EEG signals containing at least C3 and CP3 channels and stimulus initiation markers corresponding to human face images; based on the stimulus initiation markers, use the C3 channel signals from -200 ms to 0 ms before the stimulus as a local baseline, calculate the C3 channel event-related average amplitude and CP3 channel event-related average amplitude corrected for the local baseline from 200 ms to 300 ms after the stimulus, and average the event-related average amplitudes of the two channels to obtain the target neural index; The baseline mean and baseline standard deviation are determined based on the target neural indices corresponding to the baseline events of neutral human faces, and the target neural indices are then standardized and smoothed. Based on the comparison between the smoothed standardized neural index and the threshold of the current training block, a feedback control quantity is generated, which is then converted into a smile level, and the display device is controlled to present a smile image of the corresponding level for the same person. The threshold for the next training block is updated based on the pass rate of valid feedback events and the proportion of valid data within the current training block.
