[go: up one dir, main page]

CN110464344A - The method for collecting the device of eeg signal acquisition and music and its playing music - Google Patents

The method for collecting the device of eeg signal acquisition and music and its playing music Download PDF

Info

Publication number
CN110464344A
CN110464344A CN201910758988.0A CN201910758988A CN110464344A CN 110464344 A CN110464344 A CN 110464344A CN 201910758988 A CN201910758988 A CN 201910758988A CN 110464344 A CN110464344 A CN 110464344A
Authority
CN
China
Prior art keywords
audio
music
module
eeg signal
host computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910758988.0A
Other languages
Chinese (zh)
Inventor
胡斌
赵庆林
彭宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lanzhou University
Original Assignee
Lanzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lanzhou University filed Critical Lanzhou University
Priority to CN201910758988.0A priority Critical patent/CN110464344A/en
Publication of CN110464344A publication Critical patent/CN110464344A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state
    • A61B5/165Evaluating the state of mind, e.g. depression, anxiety
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
    • A61M2021/0027Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Psychiatry (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Psychology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Pathology (AREA)
  • Surgery (AREA)
  • Biophysics (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Educational Technology (AREA)
  • Hospice & Palliative Care (AREA)
  • Social Psychology (AREA)
  • Developmental Disabilities (AREA)
  • Child & Adolescent Psychology (AREA)
  • Acoustics & Sound (AREA)
  • Anesthesiology (AREA)
  • Hematology (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

本申请适用于脑电波处理领域,提供了一种集脑电信号采集和音乐播放的装置及其播放音乐的方法。所述装置包括控制模块和分别与控制模块电连接的脑电信号采集模块、无线传输模块、音频解码模块、提示模块和存储模块;脑电信号采集模块包括用于放置于人体前额叶的两个或三个作用电极、放置于人体其中一乳突位置的用于电位参考的第一参考电极和分别与作用电极和第一参考电极电连接的模拟信号采集前端电路模块。本申请可在一定程度上提高对被试用户的情绪判断的准确度。用户可在家中、办公室等非医疗机构自行使用本申请的装置进行脑电信号的采集,并结合自己近期的不适症状和消极情绪选择相对应的音乐自行进行播放欣赏。

The present application is applicable to the field of brain wave processing, and provides a device for collecting brain electrical signals and playing music and a method for playing music. The device includes a control module and an EEG signal acquisition module, a wireless transmission module, an audio decoding module, a prompt module and a storage module that are electrically connected to the control module respectively; Or three active electrodes, a first reference electrode placed at one of the mastoid positions of the human body for potential reference, and an analog signal acquisition front-end circuit module electrically connected to the active electrode and the first reference electrode respectively. The present application can improve the accuracy of the emotion judgment of the tested user to a certain extent. Users can use the device of the present application to collect EEG signals at home, offices and other non-medical institutions, and select corresponding music to play and enjoy by themselves in combination with their recent discomfort symptoms and negative emotions.

Description

集脑电信号采集和音乐播放的装置及其播放音乐的方法Device for collecting brain electrical signals and playing music and method for playing music

技术领域technical field

本申请属于脑电波处理领域,尤其涉及一种集脑电信号采集和音乐播放的装置及其播放音乐的方法。The present application belongs to the field of brain wave processing, and in particular relates to a device for collecting brain electrical signals and playing music and a method for playing music.

背景技术Background technique

脑电信号是一种特殊而又极其复杂的生物电信号,其内部包含了丰富的生理信息和病理信息,是大脑研究、生理研究、临床脑部疾病研究的重要手段。脑电波自被记录以来,其采集方式也随着技术的进步发生着变化。由于用于临床的传统脑电信号采集设备存在着体积大、搬运困难、电极帽使用繁琐、成本高昂、被试不可移动等问题,便携式脑电采集设备逐渐兴起。EEG signal is a special and extremely complex bioelectrical signal, which contains abundant physiological and pathological information, and is an important means of brain research, physiological research, and clinical brain disease research. Since brain waves were recorded, the way they were collected has also changed with the advancement of technology. Due to the problems of traditional EEG signal acquisition equipment used in clinics, such as large size, difficult handling, cumbersome use of electrode caps, high cost, and immovability of subjects, portable EEG acquisition equipment has gradually emerged.

目前市面上涌现的消费级便携式脑电采集设备普遍存在以下问题:At present, the consumer-grade portable EEG acquisition devices emerging on the market generally have the following problems:

大多便携式脑电采集设备在采集脑电信号时,采用单通道单极导联的设计。用单通道单极导联方法采集脑电信号时,接触头皮或额前皮肤的电极为作用电极,放置在耳垂的电极为参考电极,通过记录作用电极与参考电极的电位差来获得脑电位变化的绝对值。这种方法得到的脑波掺杂少,波形幅度较高且稳定,但由于采集通道为单通道,无法同时得到不同脑区位置的完整波形,缺少对不同脑区波形基本特征的对比和相互联系,从而降低了对用户情绪或认知判断的准确性。Most portable EEG acquisition equipment adopts the design of single-channel unipolar lead when collecting EEG signals. When the EEG signal is collected by the single-channel unipolar lead method, the electrode touching the scalp or forehead skin is the active electrode, and the electrode placed on the earlobe is the reference electrode, and the brain potential changes are obtained by recording the potential difference between the active electrode and the reference electrode. the absolute value of . The brainwave obtained by this method has less doping, and the waveform amplitude is high and stable. However, because the acquisition channel is a single channel, the complete waveform of different brain regions cannot be obtained at the same time, and there is a lack of comparison and interconnection of the basic characteristics of the waveforms in different brain regions. , thereby reducing the accuracy of user emotional or cognitive judgments.

音乐本质上是具有一定频率的声波振动。人们在听到适宜的音乐时,人体内固有的振动频率,如心率、呼吸、脉搏等会与音乐产生物理上的共振,且音乐能改变人体丘脑内自主神经系统对刺激的反应,因此音乐刺激可以诱发情绪也可以调节和改善情绪。随着这一认知的普及,20世纪中叶在欧美创建了一门交叉性应用学科——音乐疗法。其涉及学科广泛,集音乐、医学和心理学等多种学科和实践为一体,是应用性较强的心理疗法之一。音乐疗法强调情绪决定认知,多应用于保健和身心疾病的治疗。其主要通过音乐的感染力,来平缓患者的负面情绪,转移注意力,改善其语言能力、记忆力,增加社交性,以此改变患者的心理状态,消除患者的消极情绪,让患者能树立一个积极健康的生活态度。Music is essentially sound waves vibrating with a certain frequency. When people listen to suitable music, the inherent vibration frequencies of the human body, such as heart rate, respiration, pulse, etc., will physically resonate with the music, and music can change the response of the autonomic nervous system in the human thalamus to stimulation, so music stimulates It can induce emotions as well as regulate and improve emotions. With the popularization of this cognition, in the middle of the 20th century, an interdisciplinary applied discipline, music therapy, was created in Europe and the United States. It involves a wide range of disciplines and integrates various disciplines and practices such as music, medicine, and psychology. It is one of the psychotherapies with strong application. Music therapy emphasizes that emotions determine cognition, and is mostly used in the treatment of health care and physical and mental diseases. It mainly uses the appeal of music to calm the negative emotions of patients, divert their attention, improve their language ability, memory, and increase sociality, so as to change the patient's psychological state, eliminate the patient's negative emotions, and allow the patient to establish a positive attitude. healthy lifestyle.

目前,音乐疗法多是建立在诊断的基础上,音乐治疗师根据受助者的检查报告来为受助者设计和提供用于治疗的功能音乐,受助者需按照使用说明在生活中自行播放功能音乐,且需定时与音乐治疗师联系,接受指导或者调整音乐。但现有与音乐疗法相关的软件和与情绪监测有关的硬件多为分离状态,受助者需在音乐治疗师或相关医疗机构里通过专业仪器检测或量表分析得到自己的情绪反馈,但大多受助者需在生活中进行长时间的音乐治疗,无法长期或在睡眠前留在音乐治疗师身边。一次治疗后,受助者也无法及时得到自己现处情绪的反馈,进而判断治疗的进程以及效果,需在下次去有关诊疗机构才能知道相关治疗反馈。这种情况的出现也使音乐治疗师治疗方案的更新有一定滞后性。At present, music therapy is mostly based on diagnosis. Music therapists design and provide functional music for treatment according to the examination report of the recipient. The recipient needs to play it in their own life according to the instructions. Functional music, and regular contact with a music therapist for instruction or music adjustment. However, the existing software related to music therapy and hardware related to emotion monitoring are mostly in a separate state. The recipients need to obtain their own emotional feedback through professional instrument testing or scale analysis in music therapists or related medical institutions. The recipient needs to be in music therapy for a long time in their lives and cannot stay with the music therapist for a long time or before sleep. After a treatment, recipients cannot get timely feedback on their current emotions, so as to judge the progress and effect of treatment. They need to go to the relevant medical institution next time to know the relevant treatment feedback. The emergence of this situation also caused a certain lag in the update of the music therapist's treatment plan.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种集脑电信号采集和音乐播放的装置及其采集脑电信号的方法和播放音乐的方法,旨在解决现有与音乐疗法相关的软件和与情绪监测有关的硬件多为分离状态,使音乐治疗师治疗方案的更新有一定滞后性;以及,便携式脑电采集设备在采集脑电信号时,采用单通道单极导联降低了对用户情绪或认知判断的准确性的问题。The purpose of this application is to provide a device for collecting EEG signals and playing music, and a method for collecting EEG signals and a method for playing music, aiming to solve the existing software related to music therapy and hardware related to emotion monitoring. Most of them are in a separated state, which makes the update of the music therapist’s treatment plan with a certain lag; and when the portable EEG acquisition device collects EEG signals, the single-channel unipolar lead is used, which reduces the accuracy of the user’s emotional or cognitive judgment. sexual issues.

第一方面,本申请提供了一种集脑电信号采集和音乐播放的装置,所述装置包括控制模块和分别与控制模块电连接的脑电信号采集模块、无线传输模块、音频解码模块、提示模块和存储模块;所述装置还包括与无线传输模块无线连接的无线耳机和/或与控制模块电连接的用于连接有线耳机的音频输出接口;脑电信号采集模块包括用于放置于人体前额叶的两个或三个作用电极、放置于人体其中一乳突位置的用于电位参考的第一参考电极和分别与作用电极和第一参考电极电连接的模拟信号采集前端电路模块,模拟信号采集前端电路模块与控制模块电连接;In the first aspect, the present application provides a device for collecting EEG signals and playing music. The device includes a control module, an EEG signal acquisition module, a wireless transmission module, an audio decoding module, a prompt, and a control module that are electrically connected to the control module. module and storage module; the device also includes a wireless earphone wirelessly connected to the wireless transmission module and/or an audio output interface electrically connected to the control module for connecting a wired earphone; the EEG signal acquisition module includes a device for placing on the forehead of the human body Two or three active electrodes of the lobe, a first reference electrode for potential reference placed at one of the mastoid positions of the human body, and an analog signal acquisition front-end circuit module electrically connected to the active electrode and the first reference electrode respectively, the analog signal The acquisition front-end circuit module is electrically connected with the control module;

控制模块用于控制脑电信号采集模块采集脑电信号,并通过无线传输模块传输给上位机,以由上位机根据脑电信号确定负面情绪的预测结果,并确定与预测结果相对应类型的音乐,并通过无线传输模块接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,然后控制音频解码模块播放与预测结果相对应类型的音乐。The control module is used to control the EEG signal acquisition module to collect the EEG signal and transmit it to the host computer through the wireless transmission module, so that the host computer can determine the prediction result of negative emotions according to the EEG signal, and determine the type of music corresponding to the prediction result. , and receive music or music-related information of the type corresponding to the prediction result sent by the host computer through the wireless transmission module, and then control the audio decoding module to play the music of the type corresponding to the prediction result.

第二方面,本申请提供了一种如第一方面所述的集脑电信号采集和音乐播放的装置采集脑电信号的方法,所述方法包括:In a second aspect, the present application provides a method for collecting EEG signals by a device for collecting EEG signals and playing music as described in the first aspect, the method comprising:

S101、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内的第一EEG信号,并发送至上位机供存储和分析处理;S101. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within a first preset time, and sends it to the host computer for storage and analytical processing;

S102、间隔第二预设时间后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间用来区别每一段音频的开始和结束;S102. After a second preset time interval, the device plays at least one segment of neutral audio, at least one segment of negative audio, and at least one segment of positive audio, respectively, and a third preset time interval between the two audio segments is used to distinguish the audio frequency of each segment. start and end;

S103、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果。S103, in the process of playing the audio, the device collects the second EEG signal of the user under the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and after the calculation of the prediction model, output the prediction results of negative emotions in real time.

第三方面,本申请提供了一种如第一方面所述的集脑电信号采集和音乐播放的装置播放音乐的方法,所述方法包括:In a third aspect, the present application provides a method for playing music by a device for collecting EEG signals and for playing music as described in the first aspect, the method comprising:

S201、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内的第一EEG信号,并发送至上位机供存储和分析处理;S201. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within the first preset time, and sends it to the host computer for storage and analytical processing;

S202、间隔第二预设时间后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间用来区别每一段音频的开始和结束;S202. After a second preset time interval, the device plays at least one segment of neutral audio, at least one segment of negative audio and at least one segment of positive audio, respectively, and the third preset time interval between the two audio segments is used to distinguish the audio frequency of each segment. start and end;

S203、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果;S203, in the process of playing the audio, the device collects the second EEG signal of the user in the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and output the prediction results of negative emotions in real time after the calculation of the prediction model;

S204、所述装置接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,并播放与预测结果相对应类型的音乐,所述与预测结果相对应类型的音乐或音乐相关信息是由上位机根据负面情绪的预测结果确定的,或者是结合负面情绪的预测结果和用户选择的不适症状来确定的。S204. The device receives music or music-related information of the type corresponding to the prediction result sent by the host computer, and plays the music of the type corresponding to the prediction result, and the music or music-related information of the type corresponding to the prediction result is generated by The host computer determines according to the prediction result of negative emotion, or determines by combining the prediction result of negative emotion and the discomfort symptoms selected by the user.

在本申请中,由于集脑电信号采集和音乐播放的装置包括分别与控制模块电连接的脑电信号采集模块、无线传输模块和音频解码模块,脑电信号采集模块包括用于放置于人体前额叶的两个或三个作用电极和放置于人体其中一乳突位置的用于电位参考的第一参考电极,因此,本申请的集脑电信号采集和音乐播放的装置可以得到与情感认知相关的两个或三个前额叶脑电信号采集点的完整脑电波形,通过对多个波形基本特征和对其相互联系的分析,可在一定程度上提高对被试用户的情绪判断的准确度。In this application, since the device for collecting EEG signals and playing music includes an EEG signal collection module, a wireless transmission module and an audio decoding module that are electrically connected to the control module, the EEG signal collection module includes an EEG signal collection module for placing on the forehead of the human body. The two or three active electrodes of the lobe and the first reference electrode for potential reference placed at one of the mastoid positions of the human body, therefore, the device for collecting EEG signals and playing music can be related to emotional cognition. The complete EEG waveforms of two or three prefrontal EEG signal acquisition points related to the prefrontal lobe can improve the accuracy of the user's emotional judgment to a certain extent by analyzing the basic characteristics of multiple waveforms and their interconnections. Spend.

另外,由于控制模块控制脑电信号采集模块采集脑电信号,并通过无线传输模块传输给上位机,以由上位机根据脑电信号确定负面情绪的预测结果,并确定与预测结果相对应类型的音乐,并通过无线传输模块接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,然后控制音频解码模块播放与预测结果相对应类型的音乐。因此通过本申请的集脑电信号采集和音乐播放的装置,用户可在家中、办公室等非医疗机构自行使用本申请的集脑电信号采集和音乐播放的装置进行脑电信号的采集,并结合自己近期的不适症状和消极情绪选择相对应的音乐自行进行播放欣赏,适宜的音乐可以干预他们的认知行为和心理健康,改善和保持他们的认知和情绪,减轻焦虑、抑郁状态,保持记忆力,增加积极情绪和自我表达,从而达到舒缓身心,缓解负面情绪的作用。In addition, because the control module controls the EEG signal acquisition module to collect the EEG signal, and transmits it to the host computer through the wireless transmission module, so that the host computer can determine the prediction result of negative emotions according to the EEG signal, and determine the type corresponding to the prediction result. music, and receive music or music-related information of the type corresponding to the prediction result sent by the host computer through the wireless transmission module, and then control the audio decoding module to play the music of the type corresponding to the prediction result. Therefore, with the device for collecting EEG signals and playing music, users can use the device for collecting EEG signals and playing music to collect EEG signals by themselves in non-medical institutions such as homes and offices. Play and enjoy music corresponding to their recent discomfort symptoms and negative emotions. Appropriate music can interfere with their cognitive behavior and mental health, improve and maintain their cognition and emotions, reduce anxiety and depression, and maintain memory. , to increase positive emotions and self-expression, so as to soothe the body and mind and relieve negative emotions.

附图说明Description of drawings

图1是本申请实施例一提供的集脑电信号采集和音乐播放的装置的结构框图。FIG. 1 is a structural block diagram of an apparatus for collecting EEG signals and playing music provided by Embodiment 1 of the present application.

图2是被试用户在静息状态下,采用本申请实施例一提供的集脑电信号采集和音乐播放的装置采集到的脑电波形示意图。FIG. 2 is a schematic diagram of an EEG waveform collected by the tested user in a resting state using the device for collecting EEG signals and playing music provided by the first embodiment of the present application.

图3是被试用户在音乐刺激状态下,采用本申请实施例一提供的集脑电信号采集和音乐播放的装置采集到的脑电波形示意图。FIG. 3 is a schematic diagram of an EEG waveform collected by the tested user using the device for collecting EEG signals and playing music provided by the first embodiment of the present application in a state of music stimulation.

图4是提示负面情绪百分比的界面。Figure 4 is an interface that prompts the percentage of negative emotions.

图5是本申请实施例二提供的集脑电信号采集和音乐播放的装置采集脑电信号的方法的流程图。FIG. 5 is a flowchart of a method for collecting EEG signals provided by the apparatus for collecting EEG signals and playing music provided in Embodiment 2 of the present application.

图6是本申请实施例三提供的集脑电信号采集和音乐播放的装置播放音乐的方法的流程图。FIG. 6 is a flowchart of a method for playing music by an apparatus for collecting EEG signals and playing music provided by Embodiment 3 of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions and beneficial effects of the present application clearer, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions described in the present application, the following specific embodiments are used for description.

实施例一:Example 1:

请参阅图1,本申请实施例一提供的集脑电信号采集和音乐播放的装置包括:控制模块11和分别与控制模块11电连接的脑电信号采集模块12、无线传输模块13、音频解码模块14、提示模块15和存储模块16;集脑电信号采集和音乐播放的装置还包括与无线传输模块13无线连接的无线耳机17和/或与控制模块11电连接的用于连接有线耳机的音频输出接口18;脑电信号采集模块12包括用于放置于人体前额叶的两个或三个作用电极121、放置于人体其中一乳突位置的用于电位参考的第一参考电极122和分别与作用电极121和第一参考电极122电连接的模拟信号采集前端电路模块123,模拟信号采集前端电路模块123与控制模块11电连接;存储模块16用于存储音乐和采集到的脑电信号数据;控制模块11用于控制脑电信号采集模块12采集脑电信号,并通过无线传输模块13传输给上位机,以由上位机根据脑电信号确定负面情绪的预测结果,并确定与预测结果相对应类型的音乐,并通过无线传输模块13接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,然后控制音频解码模块14播放与预测结果相对应类型的音乐。Referring to FIG. 1 , the apparatus for collecting EEG signals and playing music provided in the first embodiment of the present application includes: a control module 11 , an EEG signal collection module 12 electrically connected to the control module 11 , a wireless transmission module 13 , and an audio decoding module Module 14, prompt module 15 and storage module 16; the device for collecting EEG signals and playing music also includes a wireless earphone 17 wirelessly connected to the wireless transmission module 13 and/or a wired earphone electrically connected to the control module 11. Audio output interface 18; EEG signal acquisition module 12 includes two or three action electrodes 121 for placing on the frontal lobe of the human body, a first reference electrode 122 for potential reference placed on one of the mastoid positions of the human body, and An analog signal acquisition front-end circuit module 123 electrically connected to the active electrode 121 and the first reference electrode 122, the analog signal acquisition front-end circuit module 123 is electrically connected to the control module 11; the storage module 16 is used for storing music and collected EEG signal data The control module 11 is used to control the EEG signal acquisition module 12 to collect the EEG signal, and transmit it to the host computer through the wireless transmission module 13, so that the host computer determines the prediction result of negative emotions according to the EEG signal, and determines the prediction result. music of the corresponding type, and receive the music or music-related information of the type corresponding to the prediction result sent by the host computer through the wireless transmission module 13, and then control the audio decoding module 14 to play the music of the type corresponding to the prediction result.

在本申请实施例一中,集脑电信号采集和音乐播放的装置还可以包括放置于人体另一乳突位置的用于去除共模干扰的第二参考电极,第二参考电极与模拟信号采集前端电路模块123电连接。In the first embodiment of the present application, the device for collecting EEG signals and playing music may further include a second reference electrode placed at another mastoid position of the human body for removing common mode interference. The second reference electrode is connected to the analog signal collecting The front-end circuit module 123 is electrically connected.

集脑电信号采集和音乐播放的装置还可以包括与模拟信号采集前端电路模块123电连接的ESD防护电路。ESD防护电路可在有静电放电时保护电路中的元器件,避免对硬件电路造成突发性损伤和潜在性损伤,延长设备的使用寿命。The apparatus for collecting EEG signals and playing music may further include an ESD protection circuit electrically connected to the front-end circuit module 123 for collecting analog signals. The ESD protection circuit can protect the components in the circuit when there is electrostatic discharge, avoid sudden and potential damage to the hardware circuit, and prolong the service life of the equipment.

集脑电信号采集和音乐播放的装置还可以包括与控制模块11电连接的传输接口,例如、Type-C接口、USB接口等,可以接U盘,方便用户直接从集脑电信号采集和音乐播放的装置中对数据进行存入、转出等操作。The device for collecting EEG signals and playing music may also include a transmission interface that is electrically connected to the control module 11, such as a Type-C interface, a USB interface, etc., which can be connected to a U disk, so that users can directly collect and play music from the EEG signals. Data is stored in, transferred out, etc. in the playback device.

集脑电信号采集和音乐播放的装置还可以包括与控制模块11电连接的姿态检测模块(例如三维电子陀螺仪等)和震动马达,姿态检测模块用于检测人体头部姿态并配合震动马达实现矫正佩戴错误的功能,当姿态检测模块检测到的角度发生较大偏差时,就意味着用户没有佩戴正确,从而控制模块11控制震动马达发出轻微振动提示。The device for collecting brain electrical signals and playing music may also include an attitude detection module (such as a three-dimensional electronic gyroscope, etc.) and a vibration motor electrically connected to the control module 11. The attitude detection module is used to detect the posture of the human head and cooperate with the vibration motor to realize For the function of correcting wearing errors, when the angle detected by the attitude detection module deviates greatly, it means that the user is not wearing it correctly, so the control module 11 controls the vibration motor to send out a slight vibration prompt.

集脑电信号采集和音乐播放的装置还可以包括与控制模块11电连接的开机按键和关机按键。The device for collecting EEG signals and playing music may further include a power-on button and a power-off button electrically connected to the control module 11 .

无线耳机可以是蓝牙耳机,例如无线蓝牙骨传导耳机等。无线蓝牙骨传导耳机可与无线传输模块13进行蓝牙连接,用户可在耳机不入耳的情况下享受音乐,减少耳膜损伤,更加安全健康,使音乐治疗过程更加舒适化、人性化。The wireless earphone may be a Bluetooth earphone, such as a wireless Bluetooth bone conduction earphone and the like. The wireless bluetooth bone conduction earphone can be connected with the wireless transmission module 13 via bluetooth, so that the user can enjoy music without the earphone in the ear, reduce eardrum damage, be safer and healthier, and make the music therapy process more comfortable and humanized.

提示模块15可以是指示灯,例如三色状态指示灯。用户按下开机键后,设备开机,设备亮起绿色指示灯;设备配对成功数据进行传输时,指示灯变为蓝色并以3s为周期闪动;按下关机键后,设备关机,指示灯灭。The prompting module 15 may be an indicator light, such as a three-color status indicator light. After the user presses the power button, the device is turned on, and the device lights up with a green indicator light; when the device is successfully paired and data is transmitted, the indicator light turns blue and flashes in a cycle of 3s; after pressing the power button, the device shuts down and the indicator light extinguish.

在本申请实施例一中,两个作用电极121具体放置于前额叶的FP1、FP2、FPZ中的任意两个位置,三个作用电极121分别放置于前额叶的FP1、FP2和FPZ位置。In the first embodiment of the present application, the two active electrodes 121 are placed at any two positions of FP1, FP2, and FPZ of the prefrontal lobe, and the three active electrodes 121 are respectively placed at the positions of FP1, FP2, and FPZ of the prefrontal lobe.

存储模块16可以是SD卡等。当用户在没有配套的手机APP或PC机软件的情况下,可以将存储模块取出,通过读卡器将所需数据导出到PC上,用户也可通过PC对存储模块执行清除或下载等操作。The storage module 16 may be an SD card or the like. When the user does not have the supporting mobile APP or PC software, he can take out the storage module and export the required data to the PC through the card reader. The user can also perform operations such as clearing or downloading the storage module through the PC.

模拟信号采集前端电路模块123具体可以采用集成式多路信号采集前端芯片,集成式多路信号采集前端芯片中集成了差分放大器、滤波器、ADC驱动器、高位ADC和右腿驱动电路,且具有体积小,稳定性好的优点,满足便携小型的设计要求。The analog signal acquisition front-end circuit module 123 can specifically use an integrated multi-channel signal acquisition front-end chip. The integrated multi-channel signal acquisition front-end chip integrates a differential amplifier, a filter, an ADC driver, a high-level ADC and a right leg drive circuit, and has a volume The advantages of small size and good stability meet the design requirements of portable and small size.

无线传输模块13可以是蓝牙模块、WIFI模块、Zigbee模块等。本申请实施例一提供的集脑电信号采集和音乐播放的装置可通过无线传输模块13和上位机(例如手机、PC机、平板电脑等)进行数据通信。The wireless transmission module 13 may be a Bluetooth module, a WIFI module, a Zigbee module, or the like. The device for collecting EEG signals and playing music provided in the first embodiment of the present application can perform data communication with a host computer (eg, a mobile phone, a PC, a tablet computer, etc.) through the wireless transmission module 13 .

本申请实施例一提供的集脑电信号采集和音乐播放的装置的具体工作流程如下:The specific workflow of the device for collecting EEG signals and playing music provided by the first embodiment of the present application is as follows:

用户根据自己的头围大小,将集脑电信号采集和音乐播放的装置戴到头上,确保额前的三个作用电极都接触到额前皮肤,第一参考电极和第二参考电极紧贴在两个乳突位置。按下开机键后,指示灯亮起并检测用户是否正确戴好集脑电信号采集和音乐播放的装置,若水平方向有较大角度倾斜,可由姿态检测模块检测到角度发生较大偏差,从而控制模块控制震动马达发出轻微振动提示,此时用户可进行调整直到震动停止。用户将上位机与装置通过蓝牙成功连接后,通过提示正确使用上位机,由集脑电信号采集和音乐播放的装置完成脑电信号采集。脑电信号采集过程中,三个作用电极、第一参考电极和第二参考电极采集到的EEG信号会经由模拟信号采集前端电路模块进行滤波、放大和AD转换等处理,得到的脑电数字信号通过串口传输到控制模块,数据传输过程中指示灯会以一定周期闪烁,方便用户得知装置所处状态。脑电数字信号经过控制模块后会通过蓝牙传输到上位机上。上位机会对EEG信号进行数字滤波等降噪预处理后进行保存。然后由后台提取降噪后信号中的有用特征,之后数据会被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果,例如负面情绪所占百分比。集脑电信号采集和音乐播放的装置的存储模块中存储了很多有益于用户放松心情、缓解不良症状、建立积极心态的音乐。用户查看负面情绪的预测结果后可通过上位机中提供的常见病症以及消极情绪判断自己的症状,若负面情绪所占百分比较大,则证明被试正处于焦虑、烦躁、抑郁等负面情绪状态下,可由用户自主选择播放相对应类型的音乐,当然也可以由上位机自动根据负面情绪的预测结果判断用户的症状,然后自动播放相对应类型的音乐。用户可将无线耳机与集脑电信号采集和音乐播放的装置进行无线连接,并通过操作上位机的功能按钮来控制音乐播放,以达到放松心情,减轻焦虑、抑郁状态的目的。集脑电信号采集和音乐播放的装置完成使用后,按下关机键,指示灯灭,同时与上位机断开连接。According to the size of his head, the user wears the device for collecting EEG signals and playing music on his head, and ensures that the three active electrodes on the forehead are in contact with the skin on the front of the forehead, and the first reference electrode and the second reference electrode are close to Two mastoid locations. After pressing the power button, the indicator lights up and detects whether the user is wearing the device that collects EEG signals and music playback correctly. The module controls the vibration motor to send out a slight vibration prompt, and the user can adjust it until the vibration stops. After the user successfully connects the host computer and the device through Bluetooth, the device that collects EEG signals and music playback completes the EEG signal acquisition by prompting the correct use of the host computer. In the process of EEG signal acquisition, the EEG signals collected by the three active electrodes, the first reference electrode and the second reference electrode will be filtered, amplified and AD converted through the analog signal acquisition front-end circuit module, and the obtained EEG digital signal It is transmitted to the control module through the serial port. During the data transmission process, the indicator light will flash at a certain period, which is convenient for the user to know the state of the device. After the EEG digital signal passes through the control module, it will be transmitted to the host computer through Bluetooth. The host computer performs digital filtering and other noise reduction preprocessing on the EEG signal and saves it. Then the useful features in the denoised signal are extracted from the background, and then the data will be input into the prediction model for predicting negative emotions. After the calculation of the prediction model, the prediction results of negative emotions, such as the percentage of negative emotions, are output in real time. The storage module of the device for collecting EEG signals and playing music stores a lot of music that is beneficial for the user to relax, relieve bad symptoms, and establish a positive attitude. After viewing the predicted results of negative emotions, users can judge their own symptoms through the common symptoms and negative emotions provided in the host computer. If the percentage of negative emotions is large, it proves that the subjects are in a state of anxiety, irritability, depression and other negative emotions. , the user can choose to play the corresponding type of music, of course, the host computer can automatically judge the user's symptoms according to the negative emotion prediction result, and then automatically play the corresponding type of music. The user can wirelessly connect the wireless headset with the device that collects EEG signals and music playback, and controls the music playback by operating the function buttons of the upper computer, so as to relax the mind and relieve anxiety and depression. After the device for collecting EEG signals and playing music is completed, press the power-off button, the indicator light will be off, and the connection with the host computer will be disconnected at the same time.

本申请提供的集脑电信号采集和音乐播放的装置相较于医院所使用的传统脑电设备来说,成本低、操作简单、用户体验好,且能够较好地保证采集到的脑电信号质量。且能与音乐疗法的结合,能有效缓解患者的抑郁、焦虑情绪,达到消除心理障碍、恢复或增进身心健康的目的。用户在上位机显示界面中可看到被试用户在静息状态下的脑电波形如图2所示,在音乐刺激状态下的脑电波性如图3所示。Compared with the traditional EEG equipment used in hospitals, the device for collecting EEG signals and playing music provided by the present application has the advantages of low cost, simple operation, good user experience, and can better ensure the collected EEG signals. quality. And can be combined with music therapy, can effectively relieve the patient's depression, anxiety, to eliminate psychological barriers, restore or improve physical and mental health purposes. The user can see the EEG waveform of the tested user in the resting state on the display interface of the host computer, as shown in Figure 2, and the EEG in the state of music stimulation as shown in Figure 3.

图2中第一通道为FP1位置采集到的脑电图,在其右方是信号的功率谱图,第二通道显示的是FPZ位置的信号,第三通道为FP2位置。从图2中可以看出采集到的信号大部分幅值为10uV左右,频率集中在10~30HZ。在额部和颞部最为明显的β波,振幅为5~20uV,频率为18~30HZ,与采集到的信号对后可知,在正常工作时能够采集到质量较好的脑电信号。In Figure 2, the first channel is the EEG collected at the FP1 position, the power spectrum of the signal is on the right, the second channel shows the signal at the FPZ position, and the third channel is the FP2 position. It can be seen from Figure 2 that most of the collected signals have an amplitude of about 10uV, and the frequency is concentrated in 10-30HZ. The most obvious beta waves in the frontal and temporal regions have an amplitude of 5-20uV and a frequency of 18-30HZ. After matching with the collected signals, it can be seen that the EEG signals of better quality can be collected during normal work.

通过分析被试用户在静息状态下和受相关音乐刺激的脑电信号,可判断被试的情绪状态,给出其负面情绪百分比,用以参考。图4为给出负面情绪百分比的软件界面。By analyzing the EEG signals of the tested users in the resting state and stimulated by relevant music, the emotional state of the tested users can be judged, and the percentage of negative emotions can be given for reference. Figure 4 shows the software interface giving the negative sentiment percentage.

实施例二:Embodiment 2:

正常人类会因自身所处情绪的不同,其EEG信号中不同波段的成分占比会产生差异。相关研究表明,人在心情平和时α波成分较多,在情绪激动或思维活跃时β波成分较多,在心情极度低落悲伤时θ波成分较多。Normal humans will have different proportions of components in different bands in their EEG signals due to their different emotions. Relevant studies have shown that people have more alpha wave components when they are in a calm mood, more β wave components when they are emotionally excited or active thinking, and more θ wave components when they are extremely depressed and sad.

请参阅图5,本申请实施例二提供了一种集脑电信号采集和音乐播放的装置采集脑电信号的方法,所述方法包括以下步骤:Referring to FIG. 5 , the second embodiment of the present application provides a method for collecting EEG signals by a device integrating EEG signal collection and music playback, and the method includes the following steps:

S101、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内(例如90s、100s等)的第一EEG信号,并发送至上位机供存储和分析处理;S101. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within a first preset time (for example, 90s, 100s, etc.), And sent to the host computer for storage and analysis;

S102、间隔第二预设时间(例如0s、10s、20s等)后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间(例如6s、10s等)用来区别每一段音频的开始和结束;S102. After a second preset time interval (eg, 0s, 10s, 20s, etc.), the device plays at least one segment of neutral audio, at least one segment of negative audio, and at least one segment of positive audio, respectively, and the two audio segments are separated by a third preset time interval. Set time (such as 6s, 10s, etc.) to distinguish the start and end of each audio segment;

S103、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果,例如负面情绪所占百分比。S103, in the process of playing the audio, the device collects the second EEG signal of the user under the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and after the calculation of the prediction model, output the prediction results of negative emotions in real time, such as the percentage of negative emotions.

在本申请实施例二中,所述正性音频是对人的情绪有正向刺激的音频;所述负性音频是让对人的情绪有负向刺激的音频(例如装修声,电锯声);所述中性音频是对人的刺激效果微弱的音频。In the second embodiment of the present application, the positive audio is audio that positively stimulates people's emotions; the negative audio is audio that negatively stimulates people's emotions (for example, decoration sound, chainsaw sound ); the neutral audio is audio with weak stimulation effect on people.

S103之后,所述方法还可以包括以下步骤:After S103, the method may further include the following steps:

上位机将负面情绪的预测结果、第一EEG信号和第二EEG信号上传至服务器。医师可通过登录服务器对不同患者的个人信息和测试记录进行管理和查询,同时也可查看用户的脑电信号波形,从而方便二次科学研究。医师不必等到患者进行二次就诊时才能获知患者后续的心理状态以及音乐治疗的效果。The upper computer uploads the negative emotion prediction result, the first EEG signal and the second EEG signal to the server. Physicians can manage and query the personal information and test records of different patients by logging in to the server, and can also view the user's EEG waveform, which is convenient for secondary scientific research. Physicians do not have to wait for the second visit of the patient to know the patient's subsequent psychological state and the effect of music therapy.

实施例三:Embodiment three:

请参阅图6,本申请实施例三提供了一种集脑电信号采集和音乐播放的装置播放音乐的方法,所述方法包括以下步骤:Referring to FIG. 6 , the third embodiment of the present application provides a method for playing music by a device integrating EEG signal acquisition and music playback. The method includes the following steps:

S201、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内的(例如90s、100s等)的第一EEG信号,并发送至上位机供存储和分析处理;S201. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within a first preset time (for example, 90s, 100s, etc.) , and sent to the host computer for storage and analysis;

S202、间隔第二预设时间(例如0s、10s、20s等)后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间(例如6s、10s等)用来区别每一段音频的开始和结束;S202. After a second preset time interval (eg, 0s, 10s, 20s, etc.), the device plays at least one segment of neutral audio, at least one segment of negative audio, and at least one segment of positive audio, respectively, and the two segments of audio are separated by a third preset time. Set time (such as 6s, 10s, etc.) to distinguish the start and end of each audio segment;

S203、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果,例如负面情绪所占百分比;S203, in the process of playing the audio, the device collects the second EEG signal of the user in the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and after the calculation of the prediction model, output the prediction results of negative emotions in real time, such as the percentage of negative emotions;

S204、所述装置接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,并播放与预测结果相对应类型的音乐,所述与预测结果相对应类型的音乐或音乐相关信息是由上位机根据负面情绪的预测结果确定的,也可以是结合负面情绪的预测结果和用户选择的不适症状来确定的。S204. The device receives music or music-related information of the type corresponding to the prediction result sent by the host computer, and plays the music of the type corresponding to the prediction result, and the music or music-related information of the type corresponding to the prediction result is generated by The upper computer determines according to the prediction result of negative emotion, or it can be determined by combining the prediction result of negative emotion and the discomfort symptoms selected by the user.

其中,与预测结果相对应类型的音乐可以是具有五行特征的音乐。Wherein, the type of music corresponding to the prediction result may be music with five-element characteristics.

例如用户若出现失眠、心慌、胸闷等症状,有胸痛、烦躁等表征时,与预测结果相对应类型的音乐是养心音乐;养心音乐具有表征五行中火的徵音和水的羽音的成分,可补水使心火不至于过旺,补火使水气不至于过凉,用户可在睡前聆听能帮助心脏正常运转;For example, if the user has symptoms such as insomnia, palpitation, chest tightness, etc., as well as chest pain, irritability, etc., the music of the type corresponding to the predicted result is the music for nourishing the heart; the music for nourishing the heart has the components of the sound of fire in the five elements and the feather sound of water , it can replenish water so that the heart fire will not be too strong, and the fire will not be too cold, and users can listen to it before going to bed to help the heart function normally;

用户若出现口苦、痛经、舌边部溃疡、眼部干涩、容易受惊等外在表征,情绪上有易怒、抑郁等表现,与预测结果相对应类型的音乐是养肝音乐,可在夜晚阴气较重的时间段播放;养肝音乐中属金的商音元素可以克制人体内过多的木气,属水的羽音元素又可以很好的滋养木气,使之柔软、顺畅;If the user has external symptoms such as bitter mouth, dysmenorrhea, ulcers on the edge of the tongue, dry eyes, and easily frightened, emotional irritability, depression, etc., the type of music corresponding to the predicted result is liver-nourishing music, which can be used at night. Play during heavy yin qi period; in liver nourishing music, the metal shang sound element can restrain the excessive wood qi in the human body, and the water feather sound element can well nourish the wood qi, making it soft and smooth;

用户若出现腹胀、面黄、疲乏、口唇溃疡等脾胃不适的症状,或有暴饮暴食、五味过重、思虑过多等不良习惯,与预测结果相对应类型的音乐是养脾音乐,可在进餐时播放养脾音乐;养脾音乐的节奏都较为欢快、活泼,其内含频率急促的徵音和宫音能够很好的刺激我们的脾胃,加快对食物的消化和吸收;If the user has symptoms of spleen and stomach discomfort such as abdominal distension, yellow face, fatigue, lip ulcer, or has bad habits such as overeating, excessive taste, excessive thinking, etc., the type of music corresponding to the predicted result is spleen nourishing music, which can be found in Play music for nourishing the spleen during meals; the rhythm of the music for nourishing the spleen is more cheerful and lively, and it contains rapid frequency signs and sounds that can stimulate our spleen and stomach and speed up the digestion and absorption of food;

用户若出现咽部溃疡疼痛、咳嗽、鼻塞、气喘等表现,或有吸烟、呼吸道疾病等现象时,与预测结果相对应类型的音乐是养肺曲目,可在下午体内肺气最重的时段播放养肺曲目;养肺曲目的曲调较为高昂,其中属土的宫音可助长肺气,属火的徵音可平衡肺气,长时间治疗可梳理肺气,缓解症状;If the user has symptoms such as throat ulcer pain, cough, nasal congestion, asthma, or smoking, respiratory disease, etc., the music of the type corresponding to the predicted result is a lung-raising track, which can be played in the afternoon when the lungs are the heaviest in the body. Nourishing the lungs; the tunes of the works for nourishing the lungs are relatively high. Among them, the palace sounds that belong to earth can promote lung qi, and the signs that belong to fire can balance lung qi. Long-term treatment can sort out lung qi and relieve symptoms;

用户若经常有熬夜、喝酒、喝浓茶、过度劳累的行为,与预测结果相对应类型的音乐是养肾曲目,可在上午太阳逐渐高升的时段播放养肾曲目;养肾曲目中角、徵、宫、商、羽五音搭配适宜,曲调舒缓安静,五行互生的能量能随音乐输送到肾中,使聆听者神清气爽,心情放松。If the user often stays up late, drinks alcohol, drinks strong tea, or is overworked, the type of music corresponding to the predicted result is the song for nourishing the kidney, and the song for nourishing the kidney can be played in the morning when the sun gradually rises; The five tones of Gong, Shang and Yu are well matched, the tune is soothing and quiet, and the energy of the five elements can be transported to the kidneys along with the music, making the listener feel refreshed and relaxed.

在本申请中,由于集脑电信号采集和音乐播放的装置包括分别与控制模块电连接的脑电信号采集模块、无线传输模块和音频解码模块,脑电信号采集模块包括用于放置于人体前额叶的两个或三个作用电极和放置于人体其中一乳突位置的用于电位参考的第一参考电极。因此,本申请的集脑电信号采集和音乐播放的装置可以得到与情感认知相关的两个或三个前额叶脑电信号采集点的完整脑电波形,通过对多个波形基本特征和对其相互联系的分析,可在一定程度上提高对被试用户的情绪判断的准确度。In this application, since the device for collecting EEG signals and playing music includes an EEG signal collection module, a wireless transmission module and an audio decoding module that are electrically connected to the control module, the EEG signal collection module includes an EEG signal collection module for placing on the forehead of the human body. Two or three active electrodes of the lobe and a first reference electrode for potential reference placed at one of the mastoid positions of the human body. Therefore, the device for collecting EEG signals and playing music according to the present application can obtain the complete EEG waveforms of two or three prefrontal EEG signal collection points related to emotional cognition. The analysis of their interconnectedness can improve the accuracy of the user's emotional judgment to a certain extent.

另外,由于控制模块控制脑电信号采集模块采集脑电信号,并通过无线传输模块传输给上位机,以由上位机根据脑电信号确定负面情绪的预测结果,并确定与预测结果相对应类型的音乐,并通过无线传输模块接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,然后控制音频解码模块播放与预测结果相对应类型的音乐。因此通过本申请的集脑电信号采集和音乐播放的装置,用户。In addition, because the control module controls the EEG signal acquisition module to collect the EEG signal, and transmits it to the host computer through the wireless transmission module, so that the host computer can determine the prediction result of negative emotions according to the EEG signal, and determine the type corresponding to the prediction result. music, and receive music or music-related information of the type corresponding to the prediction result sent by the host computer through the wireless transmission module, and then control the audio decoding module to play the music of the type corresponding to the prediction result. Therefore, through the device for collecting EEG signals and playing music of the present application, the user.

本领域可在家中、办公室等非医疗机构自行使用本申请的集脑电信号采集和音乐播放的装置进行脑电信号的采集,并结合自己近期的不适症状和消极情绪选择相对应的音乐自行进行播放欣赏,适宜的音乐可以干预他们的认知行为和心理健康,改善和保持他们的认知和情绪,减轻焦虑、抑郁状态,保持记忆力,增加积极情绪和自我表达,从而达到舒缓身心,缓解负面情绪的作用普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。Non-medical institutions in the art can use the device for collecting EEG signals and playing music to collect EEG signals by themselves at home, offices and other non-medical institutions, and select corresponding music based on their recent discomfort symptoms and negative emotions. Play and enjoy, appropriate music can interfere with their cognitive behavior and mental health, improve and maintain their cognition and mood, reduce anxiety and depression, maintain memory, increase positive emotions and self-expression, so as to soothe the body and mind and alleviate negative The role of emotions. Those of ordinary skill can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include : Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or CD, etc.

以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (10)

1.一种集脑电信号采集和音乐播放的装置,其特征在于:所述装置包括控制模块和分别与控制模块电连接的脑电信号采集模块、无线传输模块、音频解码模块、提示模块和存储模块;所述装置还包括与无线传输模块无线连接的无线耳机和/或与控制模块电连接的用于连接有线耳机的音频输出接口;脑电信号采集模块包括用于放置于人体前额叶的两个或三个作用电极、放置于人体其中一乳突位置的用于电位参考的第一参考电极和分别与作用电极和第一参考电极电连接的模拟信号采集前端电路模块,模拟信号采集前端电路模块与控制模块电连接;1. a device that collects EEG signal collection and music playback, it is characterized in that: described device comprises control module and EEG signal collection module, wireless transmission module, audio decoding module, prompt module and respectively electrically connected with control module. a storage module; the device further includes a wireless earphone wirelessly connected to the wireless transmission module and/or an audio output interface electrically connected to the control module for connecting a wired earphone; the EEG signal acquisition module includes a Two or three active electrodes, a first reference electrode placed at one of the mastoid positions of the human body for potential reference, and an analog signal acquisition front-end circuit module electrically connected to the active electrode and the first reference electrode respectively, the analog signal acquisition front end The circuit module is electrically connected with the control module; 控制模块用于控制脑电信号采集模块采集脑电信号,并通过无线传输模块传输给上位机,以由上位机根据脑电信号确定负面情绪的预测结果,并确定与预测结果相对应类型的音乐,并通过无线传输模块接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,然后控制音频解码模块播放与预测结果相对应类型的音乐。The control module is used to control the EEG signal acquisition module to collect the EEG signal and transmit it to the host computer through the wireless transmission module, so that the host computer can determine the prediction result of negative emotions according to the EEG signal, and determine the type of music corresponding to the prediction result. , and receive music or music-related information of the type corresponding to the prediction result sent by the host computer through the wireless transmission module, and then control the audio decoding module to play the music of the type corresponding to the prediction result. 2.如权利要求1所述的装置,其特征在于,所述装置还包括放置于人体另一乳突位置的用于去除共模干扰的第二参考电极,第二参考电极与模拟信号采集前端电路模块电连接。2. The device according to claim 1, wherein the device further comprises a second reference electrode placed at another mastoid position of the human body for removing common mode interference, the second reference electrode and the analog signal acquisition front end The circuit modules are electrically connected. 3.如权利要求1所述的装置,其特征在于,所述装置还包括与模拟信号采集前端电路模块电连接的ESD防护电路。3 . The device of claim 1 , wherein the device further comprises an ESD protection circuit electrically connected to the analog signal acquisition front-end circuit module. 4 . 4.如权利要求1所述的装置,其特征在于,所述装置还包括与控制模块电连接的传输接口、开机按键和关机按键;4. The device according to claim 1, wherein the device further comprises a transmission interface, a power-on button and a power-off button electrically connected with the control module; 模拟信号采集前端电路模块具体采用集成式多路信号采集前端芯片。The analog signal acquisition front-end circuit module specifically adopts an integrated multi-channel signal acquisition front-end chip. 5.如权利要求1所述的装置,其特征在于,所述装置还包括与控制模块电连接的姿态检测模块和震动马达。5 . The device of claim 1 , wherein the device further comprises an attitude detection module and a vibration motor electrically connected with the control module. 6 . 6.如权利要求1所述的装置,其特征在于,两个作用电极具体放置于前额叶的FP1、FP2、FPZ中的任意两个位置,三个作用电极分别放置于前额叶的FP1、FP2和FPZ位置。6 . The device according to claim 1 , wherein the two active electrodes are placed at any two positions of FP1 , FP2 and FPZ of the prefrontal lobe, and the three active electrodes are placed on FP1 and FP2 of the prefrontal lobe respectively. 7 . and FPZ location. 7.一种如权利要求1至6任一项所述的集脑电信号采集和音乐播放的装置采集脑电信号的方法,其特征在于,所述方法包括:7. A method for collecting EEG signals according to any one of claims 1 to 6, wherein the method comprises: S101、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内的第一EEG信号,并发送至上位机供存储和分析处理;S101. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within a first preset time, and sends it to the host computer for storage and analytical processing; S102、间隔第二预设时间后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间用来区别每一段音频的开始和结束;S102. After a second preset time interval, the device plays at least one segment of neutral audio, at least one segment of negative audio, and at least one segment of positive audio, respectively, and a third preset time interval between the two audio segments is used to distinguish the audio frequency of each segment. start and end; S103、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果。S103, in the process of playing the audio, the device collects the second EEG signal of the user under the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and after the calculation of the prediction model, output the prediction results of negative emotions in real time. 8.如权利要求7所述的方法,其特征在于,所述正性音频是对人的情绪有正向刺激的音频,所述负性音频是对人的情绪有负向刺激的音频,所述中性音频是对人的刺激效果微弱的音频;8. The method of claim 7, wherein the positive audio is audio that positively stimulates human emotions, the negative audio is audio that has negative stimulation to human emotions, and The neutral audio is the audio with weak stimulation effect on people; S103之后,所述方法还包括:After S103, the method further includes: 上位机将负面情绪的预测结果、第一EEG信号和第二EEG信号上传至服务器。The upper computer uploads the negative emotion prediction result, the first EEG signal and the second EEG signal to the server. 9.一种如权利要求1至6任一项所述的集脑电信号采集和音乐播放的装置播放音乐的方法,其特征在于,所述方法包括:9. A method for playing music according to any one of claims 1 to 6, wherein the method comprises: S201、集脑电信号采集和音乐播放的装置与上位机连接后,用户在静息状态下,所述装置采集用户在第一预设时间内的第一EEG信号,并发送至上位机供存储和分析处理;S201. After the device for collecting EEG signals and playing music is connected to the host computer, and the user is in a resting state, the device collects the first EEG signal of the user within the first preset time, and sends it to the host computer for storage and analytical processing; S202、间隔第二预设时间后,所述装置分别播放至少一段中性音频、至少一段负性音频和至少一段正性音频,前后两段音频间隔第三预设时间用来区别每一段音频的开始和结束;S202. After a second preset time interval, the device plays at least one segment of neutral audio, at least one segment of negative audio and at least one segment of positive audio, respectively, and the third preset time interval between the two audio segments is used to distinguish the audio frequency of each segment. start and end; S203、在播放音频的过程中,所述装置采集用户在音频刺激状态下的第二EEG信号,并发送至上位机供存储和分析处理,上位机根据音频的播放顺序以及播放时间标记第二EEG信号中每一段音频所对应的起始时间和结束时间,上位机对第一EEG信号和第二EEG信号进行降噪处理,并提取与情绪有关的EEG信号特征,与情绪有关的EEG信号特征被输入用于预测负面情绪的预测模型,经过预测模型的计算,实时输出负面情绪的预测结果;S203, in the process of playing the audio, the device collects the second EEG signal of the user in the audio stimulation state, and sends it to the host computer for storage and analysis processing, and the host computer marks the second EEG according to the playback sequence of the audio and the playback time. The start time and end time corresponding to each audio segment in the signal, the host computer performs noise reduction processing on the first EEG signal and the second EEG signal, and extracts the EEG signal features related to emotions, and the EEG signal features related to emotions are extracted. Input the prediction model for predicting negative emotions, and output the prediction results of negative emotions in real time after the calculation of the prediction model; S204、所述装置接收上位机发送的与预测结果相对应类型的音乐或音乐相关信息,并播放与预测结果相对应类型的音乐,所述与预测结果相对应类型的音乐或音乐相关信息是由上位机根据负面情绪的预测结果确定的,或者是结合负面情绪的预测结果和用户选择的不适症状来确定的。S204. The device receives music or music-related information of the type corresponding to the prediction result sent by the host computer, and plays the music of the type corresponding to the prediction result, and the music or music-related information of the type corresponding to the prediction result is generated by The host computer determines according to the prediction result of negative emotion, or determines by combining the prediction result of negative emotion and the discomfort symptoms selected by the user. 10.如权利要求9所述的方法,其特征在于,所述与预测结果相对应类型的音乐是具有五行特征的音乐。10. The method of claim 9, wherein the type of music corresponding to the prediction result is music with five-element characteristics.
CN201910758988.0A 2019-08-16 2019-08-16 The method for collecting the device of eeg signal acquisition and music and its playing music Pending CN110464344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910758988.0A CN110464344A (en) 2019-08-16 2019-08-16 The method for collecting the device of eeg signal acquisition and music and its playing music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910758988.0A CN110464344A (en) 2019-08-16 2019-08-16 The method for collecting the device of eeg signal acquisition and music and its playing music

Publications (1)

Publication Number Publication Date
CN110464344A true CN110464344A (en) 2019-11-19

Family

ID=68510207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910758988.0A Pending CN110464344A (en) 2019-08-16 2019-08-16 The method for collecting the device of eeg signal acquisition and music and its playing music

Country Status (1)

Country Link
CN (1) CN110464344A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111068159A (en) * 2019-12-27 2020-04-28 兰州大学 Music feedback depression mood adjusting system based on electroencephalogram signals
CN111345784A (en) * 2020-05-09 2020-06-30 中国人民解放军海军特色医学中心 Wearable protective equipment based on individual intelligent bone conduction auditory feedback technology
CN112168473A (en) * 2020-10-30 2021-01-05 广州市中崎商业机器股份有限公司 Electronic cooling instrument with music playing function and control method thereof
CN112604123A (en) * 2020-12-16 2021-04-06 中山职业技术学院 Monitoring system of music therapy
CN114081490A (en) * 2021-11-02 2022-02-25 北京理工大学 A system and method for mental state monitoring and treatment based on closed-loop feedback
CN114469141A (en) * 2020-10-28 2022-05-13 香港大学 System and method for decoding chord information from brain activity
CN117503567A (en) * 2023-12-15 2024-02-06 湖南康立人医疗设备有限公司 Spinal pulse therapy instrument control system and method based on artificial intelligence

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446533A (en) * 2010-10-15 2012-05-09 盛乐信息技术(上海)有限公司 Music player
JP2016052430A (en) * 2014-09-03 2016-04-14 株式会社明治 Apparatus and method for detection of brain neural network state
CN106267514A (en) * 2016-10-19 2017-01-04 上海大学 Feeling control system based on brain electricity feedback
CN106933348A (en) * 2017-01-24 2017-07-07 武汉黑金科技有限公司 A kind of brain electric nerve feedback interventions system and method based on virtual reality
CN108629313A (en) * 2018-05-04 2018-10-09 河北省科学院应用数学研究所 Emotion adjustment method, device, system and computer storage media
CN108958486A (en) * 2018-07-06 2018-12-07 重庆邮电大学 Mood brain machine interface system based on recognition of face brain electricity N170 ingredient
CN109350051A (en) * 2018-11-28 2019-02-19 华南理工大学 Head wearable device for mental state assessment and adjustment and its working method
CN109692392A (en) * 2019-01-30 2019-04-30 华东交通大学 A kind of musical therapy method and system based on cloud platform

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446533A (en) * 2010-10-15 2012-05-09 盛乐信息技术(上海)有限公司 Music player
JP2016052430A (en) * 2014-09-03 2016-04-14 株式会社明治 Apparatus and method for detection of brain neural network state
CN106267514A (en) * 2016-10-19 2017-01-04 上海大学 Feeling control system based on brain electricity feedback
CN106933348A (en) * 2017-01-24 2017-07-07 武汉黑金科技有限公司 A kind of brain electric nerve feedback interventions system and method based on virtual reality
CN108629313A (en) * 2018-05-04 2018-10-09 河北省科学院应用数学研究所 Emotion adjustment method, device, system and computer storage media
CN108958486A (en) * 2018-07-06 2018-12-07 重庆邮电大学 Mood brain machine interface system based on recognition of face brain electricity N170 ingredient
CN109350051A (en) * 2018-11-28 2019-02-19 华南理工大学 Head wearable device for mental state assessment and adjustment and its working method
CN109692392A (en) * 2019-01-30 2019-04-30 华东交通大学 A kind of musical therapy method and system based on cloud platform

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111068159A (en) * 2019-12-27 2020-04-28 兰州大学 Music feedback depression mood adjusting system based on electroencephalogram signals
CN111345784A (en) * 2020-05-09 2020-06-30 中国人民解放军海军特色医学中心 Wearable protective equipment based on individual intelligent bone conduction auditory feedback technology
CN114469141A (en) * 2020-10-28 2022-05-13 香港大学 System and method for decoding chord information from brain activity
CN112168473A (en) * 2020-10-30 2021-01-05 广州市中崎商业机器股份有限公司 Electronic cooling instrument with music playing function and control method thereof
CN112604123A (en) * 2020-12-16 2021-04-06 中山职业技术学院 Monitoring system of music therapy
CN114081490A (en) * 2021-11-02 2022-02-25 北京理工大学 A system and method for mental state monitoring and treatment based on closed-loop feedback
CN114081490B (en) * 2021-11-02 2024-08-30 北京理工大学 System and method for mental state monitoring and treatment based on closed loop feedback
CN117503567A (en) * 2023-12-15 2024-02-06 湖南康立人医疗设备有限公司 Spinal pulse therapy instrument control system and method based on artificial intelligence

Similar Documents

Publication Publication Date Title
CN110464344A (en) The method for collecting the device of eeg signal acquisition and music and its playing music
CN102715902A (en) Emotion monitoring method for special people
CN110947076B (en) An intelligent brainwave music wearable device that can adjust mental state
CN102000378A (en) Body and mind health care system with musical and color light physical factors based on three networks and internet of things
CN101934111A (en) Music chromatic light physical factor physical and mental health system based on computer
KR102114373B1 (en) System and method for inducing sleep based on auditory stimulation
CN106377252A (en) Biologic information feedback system based on virtual reality
CN101467875A (en) Ear-wearing type physiological feedback device
CN102179001A (en) Sleep therapy apparatus based on electroencephalogram biofeedback and control method thereof
CN103656833B (en) A kind of Wearable brain electricity attention instrument for training
US12042296B2 (en) Human-computer interactive device and method
CN107644661A (en) Device and method for outputting binaural frequency difference music
CN109009103A (en) The detection of the biofeedback type disturbance of consciousness and wake-up system
CN110957030A (en) Sleep quality monitoring and interaction system
CN209107350U (en) The detection of the biofeedback type disturbance of consciousness and wake-up system
CN110623664A (en) A control system and method for receiving and processing brainwave signals
CN209107319U (en) A kind of intelligent health monitoring instrument for the round-the-clock monitoring of chronic disease
CN103690161B (en) Wearable electroencephalogram sleeping quality evaluator
WO2012031568A1 (en) Physical and mental health care system and method thereof
CN202036685U (en) Physical and mental healthcare system adopting physical factors such as music, color and light based on three networks and Internet of Things
CN103690179B (en) A wearable EEG relaxation training device
CN110491498A (en) A method for receiving and processing brainwave signal data
Lee et al. A music recommendation system for depression therapy based on EEG
CN204543208U (en) A kind of inflating medical march chair
TWI815564B (en) Sleep-assistance system and sleep-assistance method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191119