Method for reducing duration of filtering artifacts, filtering equipment and digital electroencephalograph

By classifying and baseline processing bioelectrical signals, calibrating stimulation nodes and performing local filtering, the problem of long duration of post-stimulation filtering artifacts is solved, and the authenticity assessment and diagnosis efficiency of EEG signals are improved.

CN118697364APending Publication Date: 2024-09-27NEURACLE TECH (BEIJING) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410741668.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the process of clinical diagnosis or treatment, filter artifacts caused by high-amplitude steps or impact noise generated by stimulation seriously affect the authenticity assessment of the EEG signal, and the duration of the artifacts varies, affecting the real-time feedback of the EEG signal. .

Method used

By classifying bioelectric signals into stimulus-irrelevant signals and stimulus-related signals based on classification standards, different baselines are selected for processing, stimulation nodes are calibrated, and only post-stimulation signal segments are filtered to reduce the duration of filtering artifacts.

Benefits of technology

It effectively reduces the duration of filtering artifacts, reduces the negative impact of baseline on bioelectrical signals, improves the authenticity assessment of EEG signals, and satisfies short-term EEG waveform feedback that needs to be observed such as cortical-cortical evoked potentials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118697364A
    Figure CN118697364A
Patent Text Reader

Abstract

The invention belongs to the technical field of bio-electricity signal processing, and particularly relates to a method for reducing filtering artifact duration, filtering equipment and a digital electroencephalograph. The method for reducing the duration of the filtering artifacts comprises the following steps: acquiring a classification result of a bio-electricity signal based on a classification standard, namely a stimulation-independent signal and a stimulation-related signal; selecting a baseline based on a classification result; processing the bioelectrical signal according to the baseline; and filtering the processed bio-electricity signal by using a filter, wherein the step of processing the bio-electricity signal according to the baseline comprises the following steps: selecting the baseline for the stimulation-independent signal to process the whole bio-electricity signal; and calibrating a stimulation node for the stimulation-related signal to select a baseline to process the stimulated bioelectrical signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of bioelectric signal processing, and in particular relates to a method for reducing the duration of filtering artifacts, a filtering device, and a digital electroencephalograph. Background Art

[0002] During clinical diagnosis or treatment, stimulation is generally applied to the patient's cortex and real-time feedback of EEG is observed to adjust the stimulation parameters. For example, using cortical-cortical evoked potentials to locate brain functional areas, using cortical electrical stimulation to locate epileptic foci, and using transcranial magnetic stimulation to treat mental illnesses, these stimuli will produce high-amplitude step or impact noise, that is, stimulation artifacts. Generally, when the collected EEG signals pass through the filter, these EEG signals containing stimulation artifacts will produce severe waveform distortion and filter artifacts, and depending on the state of the filter, these filter artifacts have different durations, and can last up to several seconds, while the brain's feedback signal to the stimulation lasts very short. These filter artifacts seriously affect the authenticity evaluation of the EEG signal. For example, cortical-cortical evoked potentials require observation of EEG waveforms within 1 second. Therefore, it is necessary to avoid or reduce the duration of the filter artifacts of the EEG signal after stimulation. Summary of the invention

[0003] The present invention provides a method for reducing the duration of filtering artifacts, a filtering device and a digital electroencephalograph, so as to reduce the duration of filtering artifacts of bioelectric signals after stimulation.

[0004] In order to solve the above technical problems, the present invention provides a method for reducing the duration of filtering artifacts, including: obtaining classification results of bioelectric signals based on classification criteria, namely, stimulus-independent signals and stimulus-related signals; selecting a baseline based on the classification results; processing the bioelectric signals according to the baseline; and filtering the bioelectric signals after filtering using a filter; wherein the processing of the bioelectric signals according to the baseline includes: selecting a baseline for stimulus-independent signals to process the entire bioelectric signal; and calibrating stimulation nodes for stimulus-related signals to select a baseline to process the bioelectric signal after stimulation.

[0005] Furthermore, the selection of a baseline based on the classification result includes: selecting a first baseline for a stimulus-independent signal; selecting a second baseline or a third baseline for a stimulus-related signal; wherein the first baseline is configured as an equal-length DC signal template generated with the first point at which the bioelectric signal enters the filter as the amplitude; the second baseline is configured as an online data template obtained by performing polynomial fitting on the online bioelectric signal; and the third baseline is configured as an offline data template obtained by performing polynomial fitting on the offline bioelectric signal.

[0006] Furthermore, the classification criteria include any one of channel type and baseline drift; when the classification criteria is channel type, the classification results include: marking the bioelectric signals of stimulation-unrelated channels as stimulation-independent signals, and marking the bioelectric signals of stimulation-related channels as stimulation-related signals; when the classification criteria is baseline drift, the classification results include: marking the bioelectric signals with baseline drift < baseline threshold as stimulation-independent signals, and marking the bioelectric signals with baseline drift ≥ baseline threshold as stimulation-related signals.

[0007] Furthermore, the selection of baseline processing of the bioelectric signal after stimulation includes: dividing the stimulation-related signal into a number of data segments according to the interval of the stimulation nodes, and marking each data segment as a pre-stimulation data segment, a mid-stimulation data segment, and a post-stimulation data segment; wherein the post-stimulation data segment is the bioelectric signal after stimulation.

[0008] Furthermore, the calibration of stimulation nodes includes: marking the data segment in which the difference does not exceed the stimulation threshold as the pre-stimulation data segment; marking the time point when the difference first exceeds the stimulation threshold in a positive or negative direction as the start of stimulation, and then when the difference positively exceeds the stimulation threshold and does not negatively exceed the stimulation threshold, the time point when it positively exceeds the stimulation threshold is marked as the end of stimulation, and the stimulation data segment between the start of stimulation and the end of stimulation is the during-stimulation data segment; marking the stimulation data segment within a set time after the end of stimulation as the post-stimulation data segment.

[0009] Furthermore, the bioelectric signal after filtering by the filter includes: for stimulation-related signals, updating the filter state after the filtering of the pre-stimulation data segment is completed and before the filtering of the during-stimulation data segment begins, so as to be used for filtering the post-stimulation data segment.

[0010] In a second aspect, the present invention provides a filtering device using the method.

[0011] In a third aspect, the present invention provides a digital electroencephalograph, comprising: a host on which a processor is disposed; a sensor connected to the host for collecting bioelectric signals; a stimulator connected to the host for releasing stimulation signals; a filter connected to the host for filtering the processed bioelectric signals; wherein the processor is provided with a data marking module for marking stimulation nodes on stimulation-related signals according to the release time of the stimulation signals.

[0012] In a fourth aspect, the present invention provides a digital electroencephalograph, comprising: a lower computer, used to collect bioelectric signals and release stimulation signals; a host computer, connected to the lower computer, and provided with an operation interface for selecting classification standards for bioelectric signals; a filter, connected to the host computer, and used to filter the processed bioelectric signals; wherein the host computer is provided with a data processing module, which is used to calibrate stimulation nodes on stimulation-related signals according to stimulation thresholds.

[0013] In a fifth aspect, the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the described method when executing the computer program.

[0014] In a sixth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the described method when executed by a processor.

[0015] The beneficial effect of the present invention is that the method of reducing the duration of filtering artifacts of the present invention classifies bioelectric signals into stimulation-independent signals and stimulation-related signals based on classification criteria, selects different baselines based on the classification results, and utilizes the difference between stimulation-independent signals and stimulation-related signals. For stimulation-independent signals, a baseline overall processing method is adopted, and for stimulation-related signals, the stimulation nodes are first calibrated, and then a local processing method is adopted to process only the bioelectric signals after stimulation, and then the processed bioelectric signals are filtered through a filter, which can not only reduce the negative impact of the baseline on the bioelectric signals, but also reduce the duration of filtering artifacts in the bioelectric signals after stimulation.

[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0019] Figure 1 is an execution flow chart of the method of the present invention;

[0020] Figure 2 It is a schematic diagram of the lower computer calibration stimulation node;

[0021] Figure 3 This is a schematic diagram of the host computer automatically calibrating the stimulation start position;

[0022] Figure 4 It is a schematic diagram of the upper computer automatically calibrating the stimulation end position;

[0023] Figure 5 It is a diagram of the filtering effect of the stimulus-irrelevant signal after the first baseline processing;

[0024] Figure 6 It is a diagram showing the filtering effect of the stimulus-related signal after the second baseline processing;

[0025] Figure 7 It is a diagram showing the filtering effect of the stimulus-related signal after the third baseline processing;

[0026] Figure 8 This is the filtering effect of the stimulus-related signal without baseline processing; DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] Example 1

[0029] For the collected bioelectric signals, the data segment before stimulation has basically no artifacts and can generally meet the use requirements without additional processing. The data segment during stimulation has a strong electrical stimulation signal, which greatly pollutes the authenticity of the signal. Therefore, less attention is paid to this data segment, and the processing computational cost is very high. Therefore, when using the data, it is generally chosen to skip the data segment during stimulation. The data segment after stimulation is a monotonous recovery artifact, and it is also the signal source that can best feedback the stimulation effect, and it is also of great concern. Therefore, it is necessary to process it to meet the use requirements. In practice, the existing data processing methods

[0030] In view of this, see Figure 1-Figure 8, this embodiment 1 provides a method for reducing the duration of filtering artifacts, specifically including: selecting classification criteria, such as but not limited to channel type and baseline drift, to classify bioelectric signals into stimulation-independent signals and stimulation-dependent signals; selecting different baselines for stimulation-independent signals and stimulation-dependent signals respectively; processing bioelectric signals according to the baselines, for example, for stimulation-independent signals, using the baseline to process the entire bioelectric signal as a whole or in segments, and for stimulation-dependent signals, first calibrating the stimulation nodes, and then marking each data segment as a pre-stimulation data segment, a mid-stimulation data segment, and a post-stimulation data segment, and then using the selected baseline to process only the post-stimulation data segment; and filtering the processed bioelectric signal using a filter.

[0031] Optionally, processing the bioelectric signal according to the baseline includes: subtracting the corresponding baseline from the amplitude of the bioelectric signal to remove the baseline portion of the bioelectric signal.

[0032] Further, the baseline includes: a first baseline, a second baseline, and a third baseline; wherein the first baseline is configured as an equal-length DC signal template generated by taking the first point at which the bioelectric signal enters the filter as the amplitude (see Figure 5 ); The second baseline is configured as an online data template obtained by performing polynomial fitting on the online bioelectric signal (see Figure 6 ); the third baseline is configured as an offline data template obtained by polynomial fitting based on the offline bioelectric signal (see Figure 7 ). For stimulus-independent signals, the first baseline is selected; for stimulus-related signals, the second baseline or the third baseline is selected and only the post-stimulation data segment is processed. Specifically, since there is no stimulus recovery artifact in the non-stimulation channel, its baseline can basically be considered as a constant value. For example, the first point can be used as an approximation of the constant value. Since there is a stimulus recovery artifact in the stimulation channel, and it is a monotonically changing low-frequency signal, the amplitude of the artifact can be reduced or the duration of the artifact can be shortened by removing the baseline portion of the signal. However, since the second baseline is based on the polynomial fitting of the online signal, the accurate value of the baseline can be obtained. Although the signal fluctuates very little after removing the post-baseline, the amount of calculation is large, which is more supportive of the processing accuracy of the device. The third baseline can be considered as a deformation of the second baseline. When performing online processing, the baseline mean obtained by directly subtracting an offline data may have some errors, but the amount of calculation is small, which is more supportive of the processing speed of the device.

[0033] Furthermore, according to the different information contained in the collected bioelectric signals, different classification standards can be adaptively selected in practical applications to simplify the classification calculation of bioelectric signals and improve the classification accuracy of bioelectric signals. According to different classification standards, the classification results are also different, and then different baselines are selected to process the bioelectric signals before they are filtered through the filter to reduce the duration of filtering artifacts. Generally, the classification standards include but are not limited to any one of the channel type and baseline drift. Of course, other classification standards can also be used to separate stimulation-independent signals and stimulation-related signals.

[0034] As a first optional implementation of the classification criteria.

[0035] When the classification standard is the channel type, the classification result includes: marking the bioelectric signal of the stimulation-unrelated channel as a stimulation-unrelated signal, and marking the bioelectric signal of the stimulation-related channel as a stimulation-related signal. In general, when the lower computer processes the EEG signal, the acquisition and stimulation process is controlled by the processor. Therefore, the channel type can be judged by whether the electrode channel of the bioelectric signal or the electrode channel near it is stimulated. The channel type can be set together when the stimulation channel is set before stimulation. In this way, the collected bioelectric signal automatically carries the information of the channel type and automatically matches the corresponding baseline. In particular, when the stimulation and acquisition use the same electrode channel or the electrode that can realize the stimulation and acquisition at the same point, the collected bioelectric signal just corresponds to the position of the stimulation feedback signal, which is very suitable for classification by channel type and selection of the corresponding baseline. Of course, the channel type can also be judged by calculating whether the bioelectric signal has been stimulated by a calculation model. In this case, stimulation-unrelated channels and stimulation-related channels are not connected in the physical sense. For example, stimulation-unrelated channels can be broadly understood as non-stimulation channels, bioelectric signals that are far away from stimulation channels and are basically unaffected by stimulation. Stimulation-related channels can be broadly understood as stimulation channels and their related or nearby bioelectric signals.

[0036] A second optional implementation as a classification criterion.

[0037] Generally, when the lower computer does not mark the channel type of the bioelectric signal, since the bioelectric signal does not contain the information of the channel type, the baseline drift of the bioelectric signal can also be selected as the classification standard. Its essence is still to determine whether the bioelectric signal is related to the stimulus. Generally, the baseline threshold can be determined according to the baseline drift of the offline EEG signal of the stimulation channel, that is, the baseline drift of the bioelectric signal of the stimulation channel must be greater than or equal to the baseline threshold. Specifically, the bioelectric signal with a baseline drift < the baseline threshold is marked as a stimulus-independent signal, and the bioelectric signal with a baseline drift ≥ the baseline threshold is marked as a stimulus-related signal. Since the calculation time window for the online display of the signal is very short, it takes a large amount of calculation and calculation time to realize the fitting of the real-time online baseline. Therefore, according to actual needs, the second baseline obtained by online fitting can be selected for data with high requirements for filtering artifacts; for data with low requirements for filtering artifacts, the offline post-stimulation data segment can be fitted to obtain the baseline, and these baselines are averaged to obtain the third baseline, shortening the time window to make the display smoother and reducing the amount of real-time calculation.

[0038] Furthermore, the selection of baseline processing of the bioelectric signal after stimulation includes: dividing the stimulation-related signal into several data segments according to the interval of the stimulation nodes, and marking each data segment as a pre-stimulation data segment, a stimulation data segment, and a post-stimulation data segment; wherein the post-stimulation data segment is the bioelectric signal after stimulation. Since the stimulation signal is released at intervals and the duration is very short each time, when dividing the stimulation-related signal into several data segments, it can be divided from the interval between two adjacent stimulation nodes, so that each segment of data contains a complete pre-stimulation data segment, a stimulation data segment, and a post-stimulation data segment, which is convenient for observing the real-time feedback of the bioelectric signal caused by the stimulation. At the same time, in this case, since the real-time EEG feedback signal generated by the stimulation is very different from the normal EEG signal, in order to avoid the influence of the baseline processing on the pre-stimulation data segment and the stimulation data segment, only the post-stimulation data segment is processed, so the calibration accuracy of the stimulation node has a great influence on reducing the duration of the filtering artifact. Therefore, for different usage scenarios, different calibration methods of the stimulation node can be selected.

[0039] As a first optional implementation method for calibrating the stimulation nodes.

[0040] Generally, when the processor of the lower computer can control the stimulation, collection, and filtering functions, there is no need for the upper computer to issue stimulation instructions. Since there is no time synchronization problem caused by instruction execution, the stimulation node can be marked on the collected bioelectric signal manually or by machine according to the time when the stimulation signal is released on the lower computer, and then the pre-stimulation data segment, the stimulation data segment, and the post-stimulation data segment can be determined according to the start time and end time of the stimulation node. Figure 2As described, for example, the lower computer divides the real-time data into segments every 40 ms, and filters each segment separately; the filter state used for filtering the next segment of data is obtained by filtering the previous segment of data; the lower computer marks the corresponding trigger at the stimulation start position A and the stimulation end position B, and the EEG signal within a period of time after B, that is, the filtering artifact mark C, to calibrate the stimulation node; the upper computer updates the filtered data and the marked trigger on the screen every 40 ms.

[0041] As a second optional implementation for calibrating the stimulation nodes.

[0042] When the upper computer issues a stimulation command to control the lower computer or the lower computer needs to transmit data to the upper computer, there must be a time synchronization problem between the time when the upper computer issues the stimulation command, the time when the lower computer releases the stimulation, and the time corresponding to the collected bioelectric signal. Due to many factors such as device hardware, network environment, and data collection volume, the calibration of the stimulation node based on the time of stimulation signal release is bound to be inaccurate. Therefore, the upper computer needs to determine the stimulation node by calculating whether the difference of the data segment exceeds the stimulation threshold to achieve rapid detection of strong pulses or strong steps, such as Figure 3 , Figure 4 The EEG differential values ​​at the beginning and end of stimulation are shown respectively. The EEG differential values ​​at the time of strong noise correspond to the changes in the stimulation state. Specifically, the data segment where the differential does not exceed the stimulation threshold is marked as the pre-stimulation data segment; the time point when the differential first exceeds the stimulation threshold in a positive or negative direction is marked as the stimulation start, that is, the stimulation start is automatically identified (such as Figure 3 ); when the difference exceeds the stimulation threshold in the positive direction and does not exceed the stimulation threshold in the negative direction, the time point when the difference exceeds the stimulation threshold in the positive direction is marked as the end of stimulation, that is, the end of stimulation is automatically identified (such as Figure 4 The stimulation data segment between the start of stimulation and the end of stimulation is the stimulation data segment; the stimulation data segment within a set time after the end of stimulation is marked as the post-stimulation data segment.

[0043] Optionally, the stimulation threshold and the set time are set according to the requirements of observing the bioelectric signal waveform. For example, when the bioelectric signal is used for cortical-cortical evoked potential to locate brain functional areas, the stimulation threshold is, for example but not limited to, 10000 μV / ms, and the set time is set to 0-1000 ms.

[0044] Further, see Figure 5-Figure 8, the bioelectric signal after filtering by the filter includes: for stimulation-related signals, the filter state is updated after the filtering of the pre-stimulation data segment is completed and before the filtering of the mid-stimulation data segment begins, so as to be used for filtering the post-stimulation data segment. For stimulation-irrelevant signals, the filter state is updated after the filtering of the upper data segment is completed and before the filtering of the lower data segment begins. Optionally, the filter state is configured as the filtering results of the first N points in the segment of data, where N is the order. Specifically, the initial state of the filter: for example, a second-order filter, the filtering results of the first two points are needed to calculate the filtering results of each point. However, there is no data before the first data point, so the filtering results of the first two points cannot be obtained. The third point requires the results of the first two points, but because of the missing data, the filtering results of the third point cannot be calculated. Therefore, it is necessary to assume the filtering results of the first two data points. For example, assume that the filtering result of x(1) is equal to the original value, that is, x ′ (1) = x(1), x ′ (2) = x(2), so the filtering result of the third point can be calculated. The filtering results of the first few points are the initial state of the filter. After filtering each data segment, the filtering result of the last data point is updated to the filter state to prepare for filtering the next segment of data. Optionally, the filter is, for example, but not limited to, a second-order Butterworth or high-pass filter.

[0045] Taking the EEG signal passing through a high-pass filter and updating the filter state as an example, the following multiple sets of comparative experiments illustrate that the method of this case can avoid or suppress the duration of the filtering artifact. Due to space limitations, only some experimental results are listed.

[0046] Experimental Group 1: Verifying the Advantages of Stimulus-Irrelevant Signal Baseline Processing

[0047] See Figure 5 The "filtered signal" in the legend is the result of filtering using the first baseline, that is, the stimulus-independent signal enters the filter after being processed by the first baseline, and its filtering artifact lasts for about 100ms. The "initial signal" in the legend is the result of direct filtering, that is, the same stimulus-independent signal enters the filter without baseline processing, and is displayed as a fluctuating signal, and its filtering artifact lasts for about 500ms.

[0048] Contrast and combination Figure 5 From the two curves, we can get: the first baseline can suppress the filtering artifacts of the non-stimulation channel. After using the first baseline filtering, the amplitude oscillation will be reduced a lot, but a certain amplitude of oscillation will still remain.

[0049] Experimental Group 2: Verification of the Advantages of Baseline Processing of Stimulus-Related Signals

[0050] See Figure 6 , the stimulus-related signal is processed by the second baseline and then filtered by the filter. Figure 6The oscillation time of the signal is highlighted, but the oscillation amplitude suppression is no longer highlighted. The duration of the filtering artifact is about 400ms.

[0051] See Figure 8 The stimulus-related signal enters the filter without baseline processing, and its filtering artifact lasts longer than 1500ms.

[0052] contrast Figure 6 and Figure 8 , we can get: the second baseline can suppress the filtering artifacts of the stimulation channel.

[0053] Experimental group 3: verify the advantages of selecting the second baseline or the third baseline processing for stimulus-related signals;

[0054] Figure 7 The same stimulus-related signal is processed by the third baseline and then enters the filter, and the duration of the filtering artifact is about 600ms.

[0055] The EEG data of 2s after stimulation were intercepted and the baseline was calculated, which was repeated 500 times. The calculation time of removing the second baseline from the original data was 0.636s, and the calculation time of removing the third baseline was 0.003s.

[0056] contrast Figure 6 and Figure 7 , we can get: the third baseline can suppress filtering artifacts, the suppression effect is weaker than the second baseline, and the calculation amount is less than the second baseline.

[0057] Example 2

[0058] Based on the embodiment 1, the embodiment 2 provides a filtering device using the method. The processor on the filtering device is used to execute the program of the method.

[0059] Example 3

[0060] Based on Example 1, this Example 3 provides a digital electroencephalograph, including: a host on which a processor is disposed; a sensor connected to the host and used to collect bioelectric signals; a stimulator connected to the host and used to release stimulation signals; a filter connected to the host and used to filter the processed bioelectric signals; wherein a data marking module is disposed on the processor, which is implemented by executing a program through the processor, and is used to mark stimulation nodes on stimulation-related signals according to the release time of the stimulation signals.

[0061] Example 4

[0062] Based on Example 1, this Example 4 provides a digital electroencephalograph, including: a lower computer, used to collect bioelectric signals and release stimulation signals; a host computer, connected to the lower computer, which is provided with an operation interface for selecting the classification standard of the bioelectric signals; a filter, connected to the host computer, for filtering the processed bioelectric signals; wherein the host computer is provided with a data processing module, which is implemented by executing a program through a processor, and is used to calibrate the stimulation nodes on the stimulation-related signals according to the stimulation threshold.

[0063] Example 5

[0064] On the basis of Example 1, this Example 5 provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method when executing the computer program.

[0065] Example 6

[0066] Based on Example 1, this Example 6 provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described are implemented.

[0067] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0068] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0069] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0070] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A method for reducing the duration of filtering artifacts, characterized in that: include: Obtaining classification results of bioelectric signals based on classification criteria, i.e., stimulation-independent signals and stimulation-dependent signals; Select a baseline based on the classification results; Processing bioelectric signals according to a baseline; as well as Utilize a filter to filter the processed bioelectric signal; in Processing the bioelectric signal according to the baseline includes: For stimulus-irrelevant signals, a baseline is selected to process the entire bioelectric signal; The stimulation nodes are calibrated for stimulation-related signals to select the bioelectric signals after the baseline processing stimulation.

2. The method according to claim 1, characterized in that The selecting of the baseline based on the classification result includes: For stimulus-independent signals, the first baseline is selected; For the stimulus-related signal, a second baseline or a third baseline is selected; The first baseline is configured as an equal-length DC signal template generated with the first point at which the bioelectric signal enters the filter as the amplitude; The second baseline is configured as an online data template obtained by performing polynomial fitting on the online bioelectric signal; The third baseline is configured as an offline data template obtained by performing polynomial fitting based on the offline bioelectric signal.

3. The method according to claim 2, characterized in that The classification standard includes any one of channel type and baseline drift; When the classification standard is the channel type, the classification result includes: marking the bioelectric signal of the stimulation-unrelated channel as a stimulation-independent signal, and marking the bioelectric signal of the stimulation-related channel as a stimulation-related signal; When the classification criterion is baseline drift, the classification result includes: The bioelectric signals with baseline drift < baseline threshold were marked as stimulation-independent signals, and the bioelectric signals with baseline drift ≥ baseline threshold were marked as stimulation-related signals.

4. The method according to claim 1, characterized in that: The method of selecting a baseline to process the stimulated bioelectric signal comprises: The stimulation-related signal is divided into a plurality of data segments according to the interval of the stimulation nodes, and each data segment is marked as a pre-stimulation data segment, a mid-stimulation data segment, and a post-stimulation data segment; A post-stimulation data segment is selected for baseline processing, namely, the bioelectric signal after the stimulation.

5. The method according to claim 4, characterized in that The calibration stimulation node comprises: Marking the data segment whose difference does not exceed the stimulation threshold as the pre-stimulation data segment; The time point when the difference first exceeds the stimulation threshold in a positive or negative direction is marked as the stimulation start, and when the difference then exceeds the stimulation threshold in a positive direction but does not exceed the stimulation threshold in a negative direction, the time point when the difference exceeds the stimulation threshold in a positive direction is marked as the stimulation end, and the stimulation data segment between the stimulation start and the stimulation end is the stimulation data segment; The stimulation data segment within a set time after the stimulation ends is marked as the post-stimulation data segment.

6. The method according to claim 5, characterized in that The bioelectric signal after filtering by the filter comprises: For stimulation-related signals, the filter state is updated after the filtering of the pre-stimulation data segment is completed and before the filtering of the during-stimulation data segment begins, so as to be used for filtering the post-stimulation data segment.

7. A filtering device using the method according to claim 1.

8. A digital electroencephalograph, characterized in that: include: A host computer having a processor disposed thereon; A sensor, connected to the host, for collecting bioelectric signals; A stimulator, connected to the host, for releasing stimulation signals; A filter is connected to the host and is used to filter the processed bioelectric signal; The processor is provided with a data marking module for marking stimulation nodes on stimulation-related signals according to the release time of the stimulation signals.

9. A digital electroencephalograph, characterized in that: include: The lower computer is used to collect bioelectric signals and release stimulation signals; The upper computer is connected to the lower computer and is provided with an operation interface for selecting a classification standard of the bioelectric signal; The filter is connected to the host computer and is used to filter the processed bioelectric signal; The host computer is provided with a data processing module for calibrating stimulation nodes on stimulation-related signals according to stimulation thresholds.

10. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.

Citation Information

Cited By

  • Method and unit for removing artifacts from stimulus-induced signals

    CN119033390A