Electroencephalogram signal acquisition system, method and equipment and storage medium
By integrating analog and digital units into one chip in the EEG signal acquisition system, the analog-to-digital conversion unit and control unit into another chip, and using multi-channel parallel processing and continuous polling method, the system in the existing technology is solved The complexity and poor signal quality achieves convenient signal acquisition and processing, reduces power consumption and improves signal quality.
Patent Information
- Application Number
- CN202411318242.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-06
AI Technical Summary
The existing EEG signal acquisition system is composed of multiple discrete components with a single function, resulting in complex systems and weak signals being easily affected by the environment, resulting in poor signal quality and lack of solutions for functions to be integrated on a single chip.
The analog unit and digital unit of the processing module are integrated in the first chip, and the analog-to-digital conversion unit and control unit are integrated in the second chip. Through multi-channel parallel processing and integrated channel working mode, the noise is calibrated by continuous polling method to realize Convenient collection and processing of signals.
It simplifies system design, reduces system complexity, improves signal quality, reduces power consumption, and ensures the safety and reliability of data transmission.
Smart Images

Figure CN119074014A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and in particular to an electroencephalogram signal acquisition system, method, device and storage medium. Background Art
[0002] With the cross-disciplinary and integrated research in bioinformatics, medical electronics and other disciplines, bio-diagnostic technology that integrates the detection, location and treatment of brain diseases has flourished. Recording intracranial EEG neural signals and improving acquisition accuracy are crucial to the development of medical clinics.
[0003] In related technologies, traditional EEG signal acquisition systems mainly include functions such as signal amplification, filtering, analog-to-digital conversion, signal processing and transmission, and are often built using multiple discrete components with single functions, which makes the overall scale of the system complex and large. In addition, weak EEG signals are easily affected by the complex surrounding environment, which may result in the final collected signal having poor quality and being difficult to decode.
[0004] Based on the above analysis of the development status of this technical field, the existing technology lacks a solution for integrating multiple functions on a single chip. Summary of the invention
[0005] The purpose of the present invention is to provide an electroencephalogram (EEG) signal acquisition system, method, device and storage medium, aiming to solve the above-mentioned problems in the prior art.
[0006] According to a first aspect of an embodiment of the present invention, there is provided an electroencephalogram signal acquisition system, comprising:
[0007] A processing module, used for collecting raw EEG signals through an analog unit, processing the raw EEG signals into analog signals, and controlling the execution of the processing mode through a digital unit, wherein the analog unit and the digital unit are integrated in a first chip;
[0008] A control module, used for receiving an analog signal through an analog-to-digital conversion unit and converting the analog signal into an output signal, and setting a processing mode in the processing module through a control unit, wherein the analog-to-digital conversion unit and the control unit are integrated in a second chip;
[0009] The transmission module is used to receive the output signal through the transmission unit and visualize the output signal on the graphical interface through the display unit.
[0010] According to a second aspect of an embodiment of the present invention, there is provided a method for collecting electroencephalogram signals, comprising:
[0011] Setting a processing mode in the processing module by means of a control unit;
[0012] The analog unit collects the original EEG signal and processes the original EEG signal into an analog signal, and the digital unit controls the execution of the processing mode, wherein the analog unit and the digital unit are integrated in the first chip;
[0013] The analog signal is received through the analog-to-digital conversion unit, and the analog signal is converted into an output signal; wherein the analog-to-digital conversion unit and the control unit are integrated in the second chip;
[0014] The output signal is received by the transmission unit and visualized on a graphical interface by the display unit.
[0015] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the electroencephalogram signal acquisition method provided in the second aspect of the present disclosure are implemented.
[0016] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which a program for implementing information transmission is stored, and when the program is executed by a processor, the steps of the EEG signal acquisition method provided in the second aspect of the present disclosure are implemented.
[0017] The technical solution provided by the embodiment of the present invention includes the following beneficial effects: the analog unit and the digital unit of the processing module are integrated into the first chip, the analog-to-digital conversion unit and the control unit are integrated into the second chip, and multiple functions are integrated into a single chip to simplify the system design and make signal acquisition more convenient.
[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0020] Figure 1 is a schematic diagram of an electroencephalogram signal acquisition system according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of a collection system framework of an embodiment of the present invention;
[0022] Figure 3 is a schematic diagram of a collection workflow of an embodiment of the present invention;
[0023] Figure 4 is a flow chart of the method for collecting EEG signals according to an embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the following will be combined with the drawings in one or more embodiments of this specification to clearly and completely describe the technical solutions in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0026] System Example
[0027] According to an embodiment of the present invention, a system for collecting electroencephalogram signals is provided. Figure 1 Schematic diagram of an EEG signal acquisition system according to an embodiment of the present invention. Figure 1 As shown, the EEG signal acquisition system according to an embodiment of the present invention specifically includes:
[0028] The processing module 10 is used to collect the original EEG signal through the analog unit, process the original EEG signal into an analog signal, and control the execution of the processing mode through the digital unit, wherein the analog unit and the digital unit are integrated in the first chip, and is specifically used for:
[0029] The simulation unit is specifically used for:
[0030] The original EEG signal is collected as the signal to be processed by a multi-channel acquisition method, or the signal is stimulated by a stimulation circuit, and the stimulated EEG signal is used as the signal to be processed. Signal stimulation refers to one or more current stimulations to the original EEG signal to stimulate a specific response. The parameters such as the frequency, duration, and internal phase delay between pulses in the stimulation waveform are all adjustable. Whether the unstimulated original EEG signal or the stimulated EEG signal is selected as the signal to be processed depends on the actual needs and goals.
[0031] Preferably, the stimulation circuit of the embodiment of the present invention also adopts a multi-channel parallel processing mode, using 16 separate channels for stimulation, and the number of channels needs to be restored to the original number after the stimulation is completed; in the embodiment of the present invention, the number of original channels is 128 channels, and each channel is responsible for recording signals from a specific area of the brain;
[0032] The signals to be processed are grouped by the channel selection circuit, and the channel selection circuit performs group selection on the 128 channels collected, and divides the 128 channels into 8 groups, with 16 channels in each group;
[0033] The signals to be processed in each group are amplified in parallel by the amplifier circuit in turn, and filtered by the filter circuit to obtain analog signals;
[0034] The signal to be processed is amplified in turn by the amplifier circuit, and filtered by the filter circuit to obtain an analog signal; the amplifier circuit is mainly composed of an amplifier and a driver, and realizes a 60-6000 times amplification function, and the filter circuit is mainly composed of a high-pass filter and a low-pass filter, and realizes a band-pass filtering function.
[0035] The digital unit is specifically used for:
[0036] Control the processing mode of processing the original EEG signal into an analog signal, that is, in the channel working mode, realize the specific processing function, that is, specifically control the execution of the register control circuit and the channel working mode;
[0037] Among them, the register control circuit is used to control the registers corresponding to signal amplification, filtering processing, signal stimulation and channel configuration. The registers can complete the corresponding functions. The registers corresponding to the channel configuration store basic configuration information including the number of channels; the channel working mode represents the polling method between channels, and the channel working mode can also be stored by the polling-related registers;
[0038] The digital unit reads and writes registers through a standard 4-wire 16-bit SPI interface. Preferably, the channel operating mode can be modified according to actual conditions. The digital unit also includes a channel operating mode switching circuit;
[0039] The channel working modes include:
[0040] An integrated method is used to collect or process signals, wherein the integrated method uses a continuous polling method, and uses a single polling method at preset time window intervals to calibrate the noise generated by each channel of the continuous polling method. This is because some noise may be introduced in continuous polling. Noise usually refers to interference or unnecessary overhead caused to system resources due to frequent polling operations. The acquisition effect of each channel can be recalibrated by regularly using a single polling. That is to say, in each of the 8 parallel groups, an integrated method is used to collect or process signals;
[0041] The digital unit output 16 channels are cascaded with the control module 12 to transmit the analog signal to the control module 12;
[0042] In an embodiment of the present invention, the first chip is a self-developed multi-channel brain-computer interface chip.
[0043] The control module 12 is used to receive the analog signal through the analog-to-digital conversion unit and convert the analog signal into an output signal, and to set the processing mode in the processing module 10 through the control unit, wherein the analog-to-digital conversion unit and the control unit are integrated in the second chip, and is specifically used for:
[0044] The control module 12 also has 16 channels for receiving analog signals;
[0045] The analog-to-digital conversion unit specifically includes: a digital-to-analog converter ADC, which has a resolution of 12 bits, a number of channels of 16, a maximum sampling rate of 6.25MSPS, and an input voltage range of 0-3V;
[0046] The control unit is used to control the workflow of the entire system, including system initialization, configuration of the first chip and the second chip, and signal processing and data transmission related configurations. Therefore, when the system starts running, the control unit starts running before the processing module 10. The control unit is used to set the processing mode, and the processing module 10 is responsible for execution.
[0047] In the embodiment of the present invention, the second chip is a signal processing chip independently developed.
[0048] The transmission module 14 is used to receive the output signal through the transmission unit and visualize the output signal on the graphical interface through the display unit, and is specifically used to:
[0049] The transmission module 14 is specifically used for: using a transmission chip to build a transmission path, the 16 input channels of the transmission unit are respectively connected to the 16 output channels in the control module 12, receiving the output signal through the USB interface, and transmitting it to the corresponding display unit of the host computer.
[0050] The display unit is specifically used to draw a waveform diagram of the output signal by using a drawing tool. In the embodiment of the present invention, the drawing tool includes but is not limited to: Matplotlib, MATLAB, etc., so as to facilitate real-time analysis.
[0051] The above technical solutions of the embodiments of the present invention are illustrated with reference to the following drawings.
[0052] Figure 2 Schematic diagram of the acquisition system framework of an embodiment of the present invention, such as Figure 2 As shown, the technical route of the main body of the present invention is demonstrated, which is mainly divided into a processing module, a control module and a transmission module. The processing module includes an analog unit and a digital unit, the control module includes an analog-to-digital conversion unit and a control unit, and the transmission module includes a transmission unit and a display unit.
[0053] Figure 3 Schematic diagram of the collection workflow of an embodiment of the present invention. Figure 3As shown, the steps of initializing and applying the EEG signal acquisition system are demonstrated. Since the control module is usually started before the processing module, the second chip, that is, the relevant configuration in the signal processing chip, including the digital-to-analog conversion unit and other communication or storage configurations, is initialized first, and then the first chip, that is, the relevant configuration of the multi-channel brain-computer interface chip is initialized. Each related memory is configured according to the processing method set by the control unit, and the signal stimulation is performed on the filtered signals of each channel group in parallel through the stimulation circuit. Signal processing is performed in an integrated manner in each channel group, and finally the data transmission is displayed on the host computer through USB.
[0054] To sum up, in response to the existing problems, the EEG signal acquisition system invented this time integrates the analog unit and the digital unit of the processing module into the first chip, integrates the analog-to-digital conversion unit and the control unit into the second chip, and integrates multiple functions on a single chip to simplify the system design and make signal acquisition more convenient; it can choose to obtain the unstimulated original EEG signal or the stimulated EEG signal as the signal to be processed according to the actual situation, which can adapt to specific application scenarios; multi-channel parallel processing is adopted in signal processing, and an integrated channel working mode is adopted in each group to collect or process the signal, and the continuous polling method is used to work, and the single polling method is used to calibrate the noise generated by each channel of the continuous polling method at a preset time window interval to eliminate some noise that may be introduced in the continuous polling; the overall system complexity is reduced, the power consumption generated during use is low, the data transmission is safe and reliable, and it is easy to promote and use.
[0055] Method Embodiment
[0056] According to an embodiment of the present invention, a method for collecting electroencephalogram signals is provided. Figure 4 is a flow chart of the method for collecting EEG signals according to an embodiment of the present invention. Figure 4 As shown, the method for collecting EEG signals according to an embodiment of the present invention specifically includes:
[0057] In step S410, a processing mode in a processing module is set by a control unit;
[0058] In step S420, the original EEG signal is collected by the analog unit, and the original EEG signal is processed into an analog signal, and the execution of the processing mode is controlled by the digital unit, wherein the analog unit and the digital unit are integrated in the first chip, specifically including:
[0059] The original EEG signal is collected by multi-channel acquisition as the signal to be processed, or the signal is stimulated by a stimulation circuit and the stimulated EEG signal is used as the signal to be processed;
[0060] The signals to be processed are grouped by a channel selection circuit;
[0061] The signals to be processed in each group are amplified in parallel by the amplifier circuit in turn, and filtered by the filter circuit to obtain analog signals.
[0062] The execution of the register control circuit and the channel working mode is controlled by the digital unit, wherein the register control circuit is used to control the registers corresponding to the signal amplification, filtering processing, signal stimulation and channel configuration, and the channel working mode represents the polling method between channels;
[0063] The channel working modes include:
[0064] An integrated method is used to collect or process signals, wherein the integrated method uses a continuous polling method and uses a single polling method at preset time window intervals to calibrate noise generated by each channel of the continuous polling method.
[0065] In step S430, an analog signal is received through an analog-to-digital conversion unit, and the analog signal is converted into an output signal; wherein the analog-to-digital conversion unit and the control unit are integrated in the second chip, specifically including:
[0066] The analog-to-digital conversion unit specifically includes: a digital-to-analog converter ADC.
[0067] In step S440, the output signal is received by the transmission unit, and the output signal is visualized on the graphical interface by the display unit, which specifically includes:
[0068] Based on the transmission unit, the output signal is received through the USB interface.
[0069] Based on the display unit, a waveform diagram of the output signal is drawn by a drawing tool.
[0070] To sum up, in response to the existing problems, the EEG signal acquisition method invented this time integrates the analog unit and the digital unit of the processing module into the first chip, integrates the analog-to-digital conversion unit and the control unit into the second chip, and integrates multiple functions on a single chip to simplify the system design and make signal acquisition more convenient; the original EEG signal or the stimulated EEG signal can be selected as the signal to be processed according to the actual situation, which can adapt to specific application scenarios; a multi-channel parallel processing method is adopted in signal processing, and an integrated channel working mode is adopted in each group to collect or process the signal, and the continuous polling method is used to work, and the single polling method is used to calibrate the noise generated by each channel of the continuous polling method at a preset time window interval to eliminate some noise that may be introduced in the continuous polling; the overall system complexity is reduced, the power consumption generated during use is low, the data transmission is safe and reliable, and it is easy to promote and use.
[0071] Electronic device embodiment
[0072] Figure 5Schematic diagram of an electronic device according to an embodiment of the present invention. The electronic device 500 may include at least one processor 510 and a memory 520. The processor 510 may execute instructions stored in the memory 520. The processor 510 is connected to the memory 520 through a data bus. In addition to the memory 520, the processor 510 may also be connected to an input device 530, an output device 540, and a communication device 550 through a data bus.
[0073] The processor 510 may be any conventional processor, such as a commercially available CPU. The processor may also include a graphics processor (Graphic Process Unit, GPU), a field programmable gate array (Field Programmable Gate Array, FPGA), a system on chip (System on Chip, SOC), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or a combination thereof.
[0074] The memory 520 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0075] In the embodiment of the present disclosure, executable instructions are stored in the memory 520, and the processor 510 can read the executable instructions from the memory 520 and execute the instructions to implement all or part of the steps of any of the EEG signal acquisition methods in the above exemplary embodiments.
[0076] Computer Readable Storage Medium Embodiments
[0077] In addition to the above-mentioned methods and devices, the exemplary embodiments of the present disclosure may also be a computer program product or a computer-readable storage medium storing the computer program product. The computer product includes computer program instructions, which can be executed by a processor to implement all or part of the steps described in any of the EEG signal acquisition methods in the above-mentioned exemplary embodiments.
[0078] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages such as Java, C++, etc., and also conventional procedural programming languages such as "C" language or similar programming languages and scripting languages (e.g., Python). The program code may be executed entirely on the user computing device, partially on the user computing device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0079] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of readable storage media include: a static random access memory (SRAM) with one or more wires electrically connected, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk, or any suitable combination of the above.
[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electroencephalogram signal acquisition system, characterized in that: include: a processing module, configured to collect raw EEG signals through an analog unit, process the raw EEG signals into analog signals, and control the execution of a processing mode through a digital unit, wherein the analog unit and the digital unit are integrated in a first chip; a control module, configured to receive the analog signal through an analog-to-digital conversion unit, convert the analog signal into an output signal, and set a processing mode in the processing module through a control unit, wherein the analog-to-digital conversion unit and the control unit are integrated in a second chip; The transmission module is configured to receive the output signal through the transmission unit and visualize the output signal on a graphical interface through the display unit.
2. The system according to claim 1, wherein: The simulation unit is specifically used for: The original EEG signal is collected as the signal to be processed by a multi-channel acquisition method, or the signal is stimulated by a stimulation circuit and the stimulated EEG signal is used as the signal to be processed; grouping the signals to be processed by a channel selection circuit; The signals to be processed in each group are amplified in parallel by the amplifier circuit in turn, and filtered by the filter circuit to obtain the analog signal.
3. The system according to claim 1, wherein: The digital unit is specifically used for: Control the execution of the register control circuit and channel working mode, wherein the register control circuit is used to control the registers corresponding to signal amplification, filtering processing, signal stimulation and channel configuration, and the channel working mode represents the polling method between channels.
4. The system according to claim 3, characterized in that The channel working modes specifically include: An integrated approach is used to collect or process signals, wherein the integrated approach operates using a continuous polling method, and a single polling method is used at preset time window intervals to calibrate the noise generated by each channel of the continuous polling method.
5. The system according to claim 1, wherein: The analog-to-digital conversion unit specifically includes: a digital-to-analog converter ADC.
6. The system according to claim 1, wherein: The transmission unit is specifically configured to receive the output signal via a USB interface.
7. The system according to claim 1, wherein: The display unit is specifically configured to draw a waveform diagram of the output signal using a drawing tool.
8. A method for collecting EEG signals, characterized in that: The EEG signal acquisition system according to any one of claims 1 to 7, comprising: Setting a processing mode in the processing module via the control unit; Acquiring raw EEG signals through an analog unit, processing the raw EEG signals into analog signals, and controlling execution of a processing mode through a digital unit, wherein the analog unit and the digital unit are integrated in a first chip; receiving the analog signal through an analog-to-digital conversion unit and converting the analog signal into an output signal; wherein the analog-to-digital conversion unit and the control unit are integrated in a second chip; The output signal is received by a transmission unit, and the output signal is visualized on a graphic interface by a display unit.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, the steps of the method for collecting electroencephalogram signals as claimed in claim 8 are implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores an information transmission implementation program, and when the program is executed by the processor, the steps of the EEG signal acquisition method as claimed in claim 8 are implemented.
