CN105302088A - Smart home system and control method based on brain-computer interface and Zigbee - Google Patents

Smart home system and control method based on brain-computer interface and Zigbee Download PDF

Info

Publication number
CN105302088A
CN105302088A CN201410342708.5A CN201410342708A CN105302088A CN 105302088 A CN105302088 A CN 105302088A CN 201410342708 A CN201410342708 A CN 201410342708A CN 105302088 A CN105302088 A CN 105302088A
Authority
CN
China
Prior art keywords
module
eeg
brain
smart home
zigbee
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
CN201410342708.5A
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.)
Tianjin University of Technology
Original Assignee
Tianjin University of Technology
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 Tianjin University of Technology filed Critical Tianjin University of Technology
Priority to CN201410342708.5A priority Critical patent/CN105302088A/en
Publication of CN105302088A publication Critical patent/CN105302088A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

本发明基于脑-机接口与Zigbee的智能家居系统及控制方法,系统有依次串联连接的脑电采集模块、脑电信号处理模块、显示模块、智能家居控制器及家居设备,以及通过视觉刺激来使大脑产生脑电信号的视觉刺激器模块,显示模块也通过视觉向受试者反馈采集到的信号,同时显示所触发的家用电器指令。方法有:设置视觉刺激器的频率,使12个LED发光块以不同的频率稳定闪烁;人眼注视闪烁模块由脑电采集模块采集人脑的稳态视觉诱发电位信号。采集到脑电信号经过模数转换后进入脑电信号处理模块,信号经过带通滤波和功率谱估计算法处理后,由串口将指令发送到智能家居控制器。控制器由无线将指令发送到指定的家居设备。本发明不需要语言和肢体动作作为信息传递媒介,提供了一种利用脑电控制外界家居环境和设备的方法。

The present invention is based on the brain-computer interface and Zigbee smart home system and control method. The system has an EEG acquisition module, an EEG signal processing module, a display module, a smart home controller, and home equipment connected in series in sequence, and through visual stimulation. The visual stimulator module enables the brain to generate EEG signals, and the display module also visually feeds back the collected signals to the subjects, and at the same time displays the triggered household appliance instructions. The methods include: setting the frequency of the visual stimulator so that the 12 LED light-emitting blocks flicker steadily at different frequencies; the human eye fixation flicker module collects the steady-state visual evoked potential signal of the human brain by the EEG acquisition module. The collected EEG signal enters the EEG signal processing module after analog-to-digital conversion. After the signal is processed by band-pass filtering and power spectrum estimation algorithm, the command is sent to the smart home controller by the serial port. The controller sends instructions wirelessly to designated home devices. The invention does not need language and body movements as information transmission media, and provides a method for controlling the external home environment and equipment by using brain electricity.

Description

基于脑-机接口与Zigbee的智能家居系统及控制方法Smart home system and control method based on brain-computer interface and Zigbee

技术领域technical field

本发明涉及一种基于脑-机接口与Zigbee的智能家居系统及控制方法。特别是涉及一种仅通过脑电信号控制家智能家居的方法,为肢体障碍的残疾人提供了一种与外界交流的方法。The invention relates to a smart home system and a control method based on a brain-computer interface and Zigbee. In particular, it involves a method of controlling a smart home only through EEG signals, providing a way for disabled people with physical disabilities to communicate with the outside world.

背景技术Background technique

近几年,脑-机接口已经由实验室阶段逐渐面向应用,特别是在控制领域里作为一项新的技术正在被广泛的开发,如利用脑电信号控制太空机器人、智能轮椅等。因其不需要肢体动作仅依靠生物电信号就可达成对指定设备的控制被广泛引入到许多特殊环境作业的领域,带来了巨大的便携,也为许多应用领域的难题提出了新的解决技术方案。In recent years, the brain-computer interface has been gradually applied from the laboratory stage, especially in the field of control as a new technology is being widely developed, such as the use of EEG signals to control space robots, intelligent wheelchairs, etc. Because it does not require body movements and only relies on bioelectrical signals to achieve control of designated equipment, it has been widely introduced into the fields of many special environmental operations, bringing huge portability, and also proposed new solutions to problems in many application fields. Program.

基于脑-机接口与Zigbee的智能家居系统及控制方法是利用视觉刺激器诱发人脑产生特定的脑电信号实现人对外界家居环境的控制与交流的方法。它仅仅依靠人的视觉和脑电信号作为传输媒介,实现人脑对外界设备的控制和交流。这种方法对残疾人的康复生活起到了很大的帮助,减少了医护人员和家属的护理工作量,帮助肢体残疾人独立的生活,提高他们的生活质量和给予他们享受生活的权利。The smart home system and control method based on the brain-computer interface and Zigbee is a method of using a visual stimulator to induce the human brain to generate specific EEG signals to realize the control and communication of people with the external home environment. It only relies on human vision and EEG signals as the transmission medium to realize the control and communication of the human brain with external devices. This method has greatly helped the rehabilitation life of the disabled, reduced the nursing workload of medical staff and family members, helped the physically disabled to live independently, improved their quality of life and gave them the right to enjoy life.

稳态视觉诱发电位作为人机交互系统的常用输入信号具有高信息传输率、较短训练时间和特征易于提取等优点,且仅需要位于枕叶皮层位置少数几个电极的信号就可提取。基于脑机接口的智能家居技术,是在传统的智能家居基础上,把脑-机接口技术引入其中,为助残和娱乐方便生活提出一种全新的解决途径。Steady-state visual evoked potentials, as a common input signal for human-computer interaction systems, have the advantages of high information transmission rate, short training time and easy feature extraction, and only need the signals of a few electrodes located in the occipital cortex to extract. The smart home technology based on the brain-computer interface is based on the traditional smart home, and the brain-computer interface technology is introduced into it, and a brand-new solution is proposed for the convenience of life for the disabled and entertainment.

发明内容Contents of the invention

本发明所要解决的技术问题是,提供一种脑电控制智能家居系统的方法,达到无需肢体动作仅利用稳态视觉诱发电位控制智能家居的系统。The technical problem to be solved by the present invention is to provide a method for controlling a smart home system by brain electricity, so as to achieve a system that only uses steady-state visual evoked potentials to control a smart home system without physical movements.

本发明所采用的技术方案是,基于脑-机接口与Zigbee的智能家居系统及控制方法,包括有依次串联连接的信号采集模块、脑电处理模块、显示模块、无线传感器网络组成的智能家居控制器和家居设备,以及通过视觉刺激来使大脑产生脑电信号的视觉刺激器模块,所述的显示模块也通过视觉向受试者反馈所采集到的脑电信号。The technical scheme adopted in the present invention is, based on the brain-computer interface and Zigbee smart home system and control method, including a smart home control system consisting of a signal acquisition module, an EEG processing module, a display module, and a wireless sensor network connected in series. Devices and household equipment, and a visual stimulator module that causes the brain to generate EEG signals through visual stimulation, and the display module also visually feeds back the collected EEG signals to the subject.

所述的信号采集模块包括有与人脑部连接的头皮电极和两个耳电极,以及前置放大器、工频陷波电路、滤波电路、后置放大器和A\D转换模块。所述的信号采集模块的输出端连接脑电处理模块输入端。The signal acquisition module includes a scalp electrode connected to the human brain, two ear electrodes, a preamplifier, a power frequency notch circuit, a filter circuit, a postamplifier and an A\D conversion module. The output end of the signal acquisition module is connected to the input end of the EEG processing module.

所述的脑电处理模块搭建在LabVIEW软件上,包括如下步骤:Described EEG processing module is set up on LabVIEW software, comprises the steps:

i)从信号采集模块采集数据,并进行存储;i) collect data from the signal acquisition module and store it;

ii)判断采样时间是否大于设定的时间,不是,继续进行数据存储;ii) Judging whether the sampling time is greater than the set time, if not, continue to store data;

iii)判断采样时间大于设定的时间,读取数据;iii) Judging that the sampling time is greater than the set time, and reading the data;

iv)处理存放的数据,使用通带范围为10-20Hz、阻带衰减为60dB、通带波纹1dB的带通滤波器进行滤波去噪;iv) Process the stored data, use a bandpass filter with a passband range of 10-20Hz, a stopband attenuation of 60dB, and a passband ripple of 1dB for filtering and denoising;

v)将滤波后的数据用功率谱估计进行特征提取。计算采集到的脑电信号的功率谱,提取出最大功率对应的频率值作为特征值,利用模板匹配的方法转将其换成控制信号;v) Perform feature extraction on the filtered data using power spectrum estimation. Calculate the power spectrum of the collected EEG signal, extract the frequency value corresponding to the maximum power as the feature value, and use the method of template matching to convert it into a control signal;

vi)根据处理结果找出人脑所发出的指令,并显示在显示模块上;vi) Find out the instructions issued by the human brain according to the processing results, and display them on the display module;

Vii)利用串口通信将模板匹配后的控制信号发送给智能家居控制器;Vii) send the control signal after the template matching to the smart home controller by serial port communication;

所述的模板匹配法是若为13Hz的脑电信号处理完后输出开灯指令,若为13.5Hz的脑电信号处理完后输出关灯指令,依次类推,每0.5Hz为一个单位间隔,从13Hz-18.5Hz分别代表指令:台灯开、台灯关、电扇开、电扇关、收音机开、收音机调频、电视开、电视关、电视音量加、电视音量减、电视换台加、电视换台减。The template matching method is to output the light-on instruction after the 13Hz EEG signal is processed, and output the light-off instruction after the 13.5Hz EEG signal is processed, and so on, every 0.5Hz is a unit interval, from 13Hz-18.5Hz respectively represent commands: lamp on, lamp off, fan on, fan off, radio on, radio FM, TV on, TV off, TV volume up, TV volume down, TV channel up, TV channel down.

所述的视觉刺激器包括显示12种不同频率的12组频率显示模块,每一个显示模块均通过三级管(Q1-Q12)驱动LED发光模块(D1-D12)实现。12个不同的LED发光快所显示的频率分别代表:台灯开、台灯关、电扇开、电扇关、收音机开、收音机调台(加减)、电视开、电视关、电视频道加、电视频道减、电视音量加、电视音量减。The visual stimulator includes 12 groups of frequency display modules displaying 12 different frequencies, and each display module is realized by driving an LED light emitting module (D1-D12) through a triode (Q1-Q12). The frequencies displayed by the 12 different LED lights respectively represent: desk lamp on, desk lamp off, electric fan on, electric fan off, radio on, radio tuning (addition and subtraction), TV on, TV off, TV channel plus, TV channel minus , TV volume up, TV volume down.

基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,包括如下阶段:The smart home system and control method based on the brain-computer interface and Zigbee are characterized in that, including the following stages:

一)设置视觉刺激器的频率,使12个不同的LED发光块以各自频率稳定闪烁;1) Set the frequency of the visual stimulator so that 12 different LED light-emitting blocks flash steadily at their respective frequencies;

二)将一个头皮电极放置在人后脑的枕区,两个耳电极放置在左右耳部,并使人的视觉平行对视着12个频率不同的LED发光快,通过头皮电极采集到的脑电信号并对采集到的脑电信号放大和A\D转换后送入脑电处理模块进行处理;2) Place a scalp electrode on the occipital region of the back of the human brain, place two ear electrodes on the left and right ears, and make people's vision parallel to 12 LEDs with different frequencies that emit light quickly, and the EEG collected by the scalp electrodes The collected EEG signal is amplified and A\D converted and then sent to the EEG processing module for processing;

三)通过显示模块显示人脑触发的智能家居系统的指令;3) displaying the instructions of the smart home system triggered by the human brain through the display module;

所述的智能家居控制器负责与脑电处理模块通信,将处理出的脑电指令发送给家居设备。The smart home controller is responsible for communicating with the EEG processing module, and sending the processed EEG instructions to the household equipment.

所述的家居设备由Zigbee无线网络组成,包括台灯模块、电扇模块、收音机模块、电视模块。The household equipment is composed of Zigbee wireless network, including a desk lamp module, an electric fan module, a radio module, and a TV module.

本发明基于脑-机接口与Zigbee的智能家居系统及控制方法,为智能家居控制带来一种新的方法,具有广泛的实用性和适用性。本发明可以帮助具有运动障碍的残疾人士和有特殊需求的人群,特别是需要监护的残疾人实现日常独立生活。对于视觉正常的普通人在行动不便的情况下,本发明也可以提供一种有效的与外界交流的途径。The present invention is based on a brain-computer interface and a Zigbee smart home system and control method, which brings a new method for smart home control and has wide practicability and applicability. The invention can help disabled people with movement disorders and people with special needs, especially disabled people who need monitoring to realize their daily independent life. For ordinary people with normal vision who have limited mobility, the present invention can also provide an effective way to communicate with the outside world.

附图说明Description of drawings

图1是本发明的整体框图Fig. 1 is an overall block diagram of the present invention

图2是本发明信号采集模块原理框图Fig. 2 is a functional block diagram of the signal acquisition module of the present invention

图3是本发明显示模块指令按钮图Fig. 3 is the instruction button diagram of the display module of the present invention

图4是本发明家居设备原理框图Fig. 4 is a functional block diagram of household equipment of the present invention

图5是本发明的整体控制流程图Fig. 5 is the overall control flowchart of the present invention

其中:in:

1:信号采集模块2:脑电处理装置1: Signal acquisition module 2: EEG processing device

3:显示模块4:视觉刺激器3: Display Module 4: Visual Stimulator

5:智能家居控制器6:家居设备5: Smart Home Controller 6: Home Appliances

11:前置放大器12:工频陷波电路11: Preamplifier 12: Power frequency notch circuit

13:滤波电路14:后置放大器13: filter circuit 14: post amplifier

61:台灯62:电扇61: desk lamp 62: electric fan

63:收音机64:电视63: Radio 64: Television

具体实施方式detailed description

下面结合附图和实验对本发明基于脑-机接口与Zigbee的智能家居系统及控制方法做出详细说明。The smart home system and control method based on the brain-computer interface and Zigbee of the present invention will be described in detail below in conjunction with the drawings and experiments.

本发明基于脑-机接口与Zigbee的智能家居系统及控制方法是利用闪光视觉刺激人眼产生的稳态视觉诱发电位现象结合Zigbee物联网智能家居技术,设计了一套利用脑电控制家用电器的系统。本发明利用氯化银电极仅采集受试者后脑枕区O1位置的信号,并结合两个耳部参考电极就实现了对人脑信号的提取。The smart home system and control method based on the brain-computer interface and Zigbee in the present invention use the steady-state visual evoked potential phenomenon generated by the flash visual stimulation of the human eye and combine the Zigbee Internet of Things smart home technology to design a set of brain-electricity-controlled household appliances. system. The present invention uses the silver chloride electrode to only collect the signal at the O1 position of the occipital area of the subject's brain, and combines two ear reference electrodes to realize the extraction of the human brain signal.

如图1所示,本发明基于脑-机接口与Zigbee的智能家居系统及控制方法,包括有依次串联连接的信号采集模块(1)、脑电处理模块(2)、显示模块(3)、视觉刺激器模块(4)、智能家居控制器(5)和家居设备(6)。其中所述的信号采集模块(1)主要负责从氯化银电极采集人脑的生物电信号,并进行模数转换,完成生物脑电信号到数字信号的转换。所述的脑电信号处理模块(2)主要处理从信号采集模块(1)收到的数字脑电信号,经过处理识别出特征值并转化为控制命令控制下位机家居设备(6)。所述的显示模块(3)通过视觉向受试者反馈采集到的信号和触发的家电指令。As shown in Figure 1, the smart home system and control method based on the brain-computer interface and Zigbee of the present invention include a signal acquisition module (1), an EEG processing module (2), a display module (3), Visual stimulator module (4), smart home controller (5) and home equipment (6). The signal acquisition module (1) is mainly responsible for collecting the bioelectrical signals of the human brain from the silver chloride electrode, and performing analog-to-digital conversion to complete the conversion from the bioelectrical electroencephalogram signals to digital signals. The EEG signal processing module (2) mainly processes the digital EEG signals received from the signal acquisition module (1), recognizes characteristic values after processing, and converts them into control commands to control the lower computer household equipment (6). The display module (3) visually feeds back the collected signals and triggered home appliance instructions to the subject.

如图2所示,所述的信号采集模块(1)包括前置放大器(11)、工频陷波电路(12)、滤波电路(13)、后置放大器(14)和A\D转换模块(15)。脑电信号进入信号采集模块后依次通过各个模块。输出端由一根USB数据线连接脑电信号处理模块(2)的信号输入端。As shown in Figure 2, described signal acquisition module (1) comprises preamplifier (11), industrial frequency notch circuit (12), filter circuit (13), postamplifier (14) and A\D conversion module (15). After the EEG signal enters the signal acquisition module, it passes through each module in turn. The output end is connected to the signal input end of the EEG signal processing module (2) by a USB data cable.

所述的视觉刺激器(4)包括显示12个不同频率的12组LED发光模块,根据稳态视觉诱发电位的产生机理,频率分别在13Hz-18.5Hz之间以每0.5Hz为单位间隔分布,分别代表指令:台灯开、台灯关、电扇开、电扇关、收音机开、收音机调频、电视开、电视关、电视音量加、电视音量减、电视换台加、电视换台减。其中,发光模块采用白色LED灯。三极管采用S8050芯片。为了避免相邻LED之间的干扰,将发光块封装成边长为2厘米的正方形,相邻发光块的之间的距离是2厘米。受试者通过注视12个频率不同的LED发光快中的一个频率显示模块来选择相应的控制命令。The visual stimulator (4) includes 12 groups of LED light-emitting modules displaying 12 different frequencies. According to the generation mechanism of steady-state visual evoked potentials, the frequencies are respectively distributed between 13Hz-18.5Hz at intervals of 0.5Hz. Represent commands respectively: desk lamp on, desk lamp off, electric fan on, electric fan off, radio on, radio FM, TV on, TV off, TV volume up, TV volume down, TV channel plus, TV channel minus. Wherein, the light-emitting module adopts white LED lights. The triode adopts S8050 chip. In order to avoid interference between adjacent LEDs, the light-emitting blocks are packaged into a square with a side length of 2 cm, and the distance between adjacent light-emitting blocks is 2 cm. The subjects selected the corresponding control command by looking at one of the 12 LED lights with different frequencies.

本发明基于脑-机接口与Zigbee的智能家居系统及控制方法,包括如下阶段:The present invention is based on brain-machine interface and Zigbee smart home system and control method, including the following stages:

一)设计刺激器的频率,使12个白色LED发光模块以每0.5Hz间隔为单位从13Hz-18.5Hz以不同的频率稳定闪烁。1) Design the frequency of the stimulator so that the 12 white LED light-emitting modules flash steadily at different frequencies from 13Hz to 18.5Hz at intervals of 0.5Hz.

二)使人的视觉平行对视12个不同的发光刺激模块。通过头皮电极采集脑电信号并对采集到的脑电信号进行放大和A/D转换后送入脑电处理模块(2)进行脑电处理;2) Make people's vision look at 12 different luminescent stimulation modules in parallel. Collecting EEG signals through scalp electrodes, amplifying and A/D converting the collected EEG signals, and sending them to the EEG processing module (2) for EEG processing;

三)如图3所示,通过显示模块(3)显示人脑触发的智能家居系统的指令;3) As shown in Figure 3, the instructions of the smart home system triggered by the human brain are displayed through the display module (3);

如图5所示,所述的脑电信号的处理(2)包括如下阶段:As shown in Figure 5, the processing (2) of described EEG signal comprises the following stages:

i)从信号采集模块采集数据,并进行存储;i) collect data from the signal acquisition module and store it;

ii)判断采样时间是否大于设定的时间,不是,继续进行数据存储;ii) Judging whether the sampling time is greater than the set time, if not, continue to store data;

iii)判断采样时间大于设定的时间,读取数据;iii) Judging that the sampling time is greater than the set time, and reading the data;

iv)处理存放的数据,使用通带范围为10-20Hz、阻带衰减为60dB、通带波纹1dB的带通滤波器进行滤波去噪;iv) Process the stored data, use a bandpass filter with a passband range of 10-20Hz, a stopband attenuation of 60dB, and a passband ripple of 1dB for filtering and denoising;

v)将滤波后的数据用功率谱估计进行特征提取。计算采集到的脑电信号的功率谱,提取出最大功率对应的频率值作为特征值,利用模板匹配的方法将其换成控制信号。所述的计算特征提取的功率谱估计算法是通过如下公式进行计算:v) Perform feature extraction on the filtered data using power spectrum estimation. Calculate the power spectrum of the collected EEG signal, extract the frequency value corresponding to the maximum power as the feature value, and replace it with the control signal by using the method of template matching. The power spectrum estimation algorithm of the described calculation feature extraction is calculated by the following formula:

sthe s (( kk )) == 11 NN || FFTFFT [[ xx (( nno )) ]] || 22

把信号x(n)的N个观测数据视为能量有限的序列,直接计算x(n)的离散傅立叶变换x(k),然后再取其幅值的平方,并除以N,作为序列x(n)真实功率谱的估计。所述的模板匹配法是若为13Hz的脑电信号处理完后输出开灯指令,若为13.5Hz的脑电信号处理完后输出关灯指令,依次类推,每0.5Hz为一个单位间隔;Treat the N observation data of the signal x(n) as a sequence with limited energy, directly calculate the discrete Fourier transform x(k) of x(n), then take the square of its amplitude, and divide it by N, as the sequence x (n) Estimation of the true power spectrum. In the template matching method, if the EEG signal of 13 Hz is processed, the light-on command is output, and if the EEG signal of 13.5 Hz is processed, the light-off command is output, and so on, and every 0.5 Hz is a unit interval;

vi)根据处理结果找出人脑所发出的指令,并显示在显示模块(3)上;vi) Find out the instructions issued by the human brain according to the processing results, and display them on the display module (3);

Vii)利用串口通信将模板匹配后的控制信号发送给智能家居控制器(5);Vii) Utilize serial port communication to send the control signal after template matching to the smart home controller (5);

本发明所述的脑电处理模块均在上位机LabVIEW软件上搭建。稳态视觉诱发电位采集和处理的程序、脑电信号实时处理和实验结果反馈为一体。在完成脑电波采集时,可以完成脑电采集通道,采样频率及时间的设置。在本系统中标准设置为每2S钟进行一次脑电信号的实时处理。脑电显示区域可以同步实时显示脑电指令。如图4所示,特征提取出的脑电信号在模板匹配后由串口通信将指令传递给智能家居控制器(5),之后利用Zigbee无线网络传递给各个家居设备(6)。台灯(61)、电扇(62)由Zigbee模块控制继电器实现,收音机(63)由Zigbee模块控制实现,电视机(64)由Zigbee模块控制红外模块实现。The EEG processing modules described in the present invention are all built on the upper computer LabVIEW software. The program of steady-state visual evoked potential acquisition and processing, real-time processing of EEG signals and feedback of experimental results are integrated. When the EEG acquisition is completed, the EEG acquisition channel, sampling frequency and time settings can be completed. In this system, the standard setting is to conduct real-time processing of EEG signals every 2S. The EEG display area can simultaneously display EEG commands in real time. As shown in Figure 4, after template matching, the EEG signal extracted by the feature is transmitted to the smart home controller (5) by serial port communication, and then transmitted to each home device (6) by using the Zigbee wireless network. Desk lamp (61), electric fan (62) are realized by Zigbee module control relay, radio (63) is realized by Zigbee module control, TV (64) is realized by Zigbee module control infrared module.

通过实验验证,经过受试训练本发明基于脑-机接口与Zigbee的智能家居系统及控制方法正确率高达100%,受试者发送单条指令的时间平均5s以内,最远传输控制距离可达50米左右,且受试者经过训练全部都能在规定时间内完成全套设备的触发开关动作,实现了无需肢体动作仅用脑电信号实时控制家用电器的目的。本发明表明了基于脑-机接口的智能家居系统控制方法的可行性和实用性,实时性和识别率良好,准确判断人的意图,具有较好的使用价值。Through experimental verification, the correct rate of the smart home system and control method based on the brain-computer interface and Zigbee of the present invention is as high as 100% after the test and training. The average time for the subjects to send a single command is within 5 seconds, and the farthest transmission control distance can reach 50 After training, all the subjects were able to complete the trigger switch action of the complete set of equipment within the specified time, realizing the purpose of real-time control of household appliances by using only EEG signals without physical movements. The invention shows the feasibility and practicability of the intelligent home system control method based on the brain-computer interface, has good real-time performance and recognition rate, can accurately judge people's intentions, and has good use value.

Claims (8)

1.基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,包括有依次串联连接的信号采集模块(1)、脑电处理模块(2)、显示模块(3)、智能家居控制器(5)、家居设备(6),以及通过视觉刺激来使大脑产生脑电信号的视觉刺激器模块(4),所述的显示模块(3)通过视觉向受试者反馈所采集到的信号和指令。 1. A smart home system and control method based on brain-computer interface and Zigbee, characterized in that it includes a signal acquisition module (1), an EEG processing module (2), a display module (3), and a smart home A controller (5), household equipment (6), and a visual stimulator module (4) that causes the brain to generate EEG signals through visual stimulation, and the display module (3) provides visual feedback to the subjects collected signals and instructions. 2.根据权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的信号采集模块(1)包括前置放大器(11)、工频陷波电路(12)、滤波电路(13)、后置放大器(14)和A\D转换模块(15)。经处理后的脑电信号由一根USB数据线进入脑电处理模块(2)。 2. The smart home system and control method based on brain-computer interface and Zigbee according to claim 1, characterized in that, the signal acquisition module (1) includes a preamplifier (11), a power frequency notch circuit (12), filter circuit (13), post amplifier (14) and A\D conversion module (15). The processed EEG signal enters the EEG processing module (2) through a USB data cable. 3.根据权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的脑电处理模块(2)搭建在LabVIEW软件上,包括如下步骤: 3. smart home system and control method based on brain-computer interface and Zigbee according to claim 1, it is characterized in that, described EEG processing module (2) is built on LabVIEW software, comprises the steps: i)从信号采集模块采集数据,并进行存储; i) collect data from the signal acquisition module and store it; ii)判断采样时间是否大于设定的时间,不是,继续进行数据存储; ii) Judging whether the sampling time is greater than the set time, if not, continue to store data; iii)判断采样时间大于设定的时间,读取数据; iii) Judging that the sampling time is greater than the set time, and reading the data; iv)处理存放的数据,使用通带范围为10-20Hz、阻带衰减为60dB、通带波纹1dB的带通滤波器进行滤波去噪; iv) Process the stored data, use a bandpass filter with a passband range of 10-20Hz, a stopband attenuation of 60dB, and a passband ripple of 1dB for filtering and denoising; v)将滤波后的数据用功率谱估计进行特征提取。计算采集到的脑电信号的功率谱,提取出最大功率对应的频率值作为特征值,利用模板匹配的方法转将其换成控制信号; v) Perform feature extraction on the filtered data using power spectrum estimation. Calculate the power spectrum of the collected EEG signal, extract the frequency value corresponding to the maximum power as the feature value, and use the method of template matching to convert it into a control signal; vi)根据处理结果找出人脑所发出的指令,并显示在显示模块(3)上; vi) Find out the instructions issued by the human brain according to the processing results, and display them on the display module (3); Vii)利用串口通信将模板匹配后的控制信号发送给智能家居控制器(5)。 Vii) Send the control signal after the template matching to the smart home controller (5) by serial port communication. 4.根据权利要求3所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的模板匹配法是若为13Hz的脑电信号处理完后输出开灯指令,若为13.5Hz的脑电信号处理完后输出关灯指令,依次类推,每0.5Hz为一个单位间隔,从13Hz-18.5Hz分别代表指令:台灯开、台灯关、电扇开、电扇关、收音机开、收音机调频、电视开、电视关、电视音量加、电视音量减、电视换台加、电视换台减。 4. The smart home system and control method based on the brain-computer interface and Zigbee according to claim 3, wherein the template matching method is to output the light-on instruction after the 13Hz EEG signal is processed, If the 13.5Hz EEG signal is processed, the light-off command is output, and so on, every 0.5Hz is a unit interval, and the commands from 13Hz-18.5Hz are: desk lamp on, desk lamp off, electric fan on, electric fan off, radio on , Radio FM, TV on, TV off, TV volume up, TV volume down, TV channel plus, TV channel minus. 5.根据权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的视觉刺激器(4)包括显示12种不同频率的12组频率显示模块,每一个显示模块均通过三级管(Q1-Q12)驱动LED发光模块(D1-D12)实现。所述的12个不同的LED发光块所显示的频率分别代表:台灯开、台灯关、电扇开、电扇关、收音机开、收音机调频、电视开、电视关、电视音量加、电视音量减、电视换台加、电视换台减。 5. The smart home system and control method based on brain-computer interface and Zigbee according to claim 1, wherein said visual stimulator (4) includes 12 groups of frequency display modules showing 12 different frequencies, Each display module is realized by driving an LED light emitting module (D1-D12) through a triode (Q1-Q12). The frequencies displayed by the 12 different LED light-emitting blocks respectively represent: desk lamp on, desk lamp off, electric fan on, electric fan off, radio on, radio FM, TV on, TV off, TV volume up, TV volume down, TV Channel change plus, TV channel minus. 6.一种用于权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,包括如下阶段: 6. A smart home system and control method based on brain-computer interface and Zigbee for claim 1, characterized in that, comprising the following stages: 一)设置视觉刺激器的频率,使12个不同的LED发光块以各自频率稳定闪烁; 1) Set the frequency of the visual stimulator so that 12 different LED light-emitting blocks flash steadily at their respective frequencies; 二)将一个头皮电极放置在人后脑的枕区,两个耳电极放置在左右耳部,并使人的视觉平行对视着12个频率不同的LED发光快,通过头皮电极采集到的脑电信号并对采集到的脑电信号放大和A\D转换后送入脑电处理模块(2)进行脑电处理; 2) Place a scalp electrode on the occipital region of the back of the human brain, place two ear electrodes on the left and right ears, and make people's vision parallel to 12 LEDs with different frequencies that emit light quickly, and the EEG collected by the scalp electrodes The signal is sent to the EEG processing module (2) for EEG processing after amplifying and A/D converting the collected EEG signals; 三)通过显示模块(3)显示人脑触发的智能家居系统的指令,并由智能家居控制器(5)将指令发送到家居设备(4)。 3) The display module (3) displays the instructions of the smart home system triggered by the human brain, and the smart home controller (5) sends the instructions to the home equipment (4). 7.根据权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的智能家居控制器(5)负责与脑电处理模块(2)通信,将处理出的脑电指令由Zigbee无线模块发送给家居设备(6)。 7. the smart home system and control method based on brain-computer interface and Zigbee according to claim 1, is characterized in that, described smart home controller (5) is in charge of communicating with EEG processing module (2), will The processed EEG instructions are sent to the household equipment (6) by the Zigbee wireless module. 8.根据权利要求1所述的基于脑-机接口与Zigbee的智能家居系统及控制方法,其特征在于,所述的家居设备(6)由Zigbee无线网络组成,包括台灯模块(61)、电扇模块(62)、收音机模块(63)、电视模块(64)。 8. The smart home system and control method based on the brain-computer interface and Zigbee according to claim 1, wherein the home equipment (6) is composed of a Zigbee wireless network, including a desk lamp module (61), an electric fan module (62), radio module (63), television module (64).
CN201410342708.5A 2014-07-15 2014-07-15 Smart home system and control method based on brain-computer interface and Zigbee Pending CN105302088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410342708.5A CN105302088A (en) 2014-07-15 2014-07-15 Smart home system and control method based on brain-computer interface and Zigbee

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410342708.5A CN105302088A (en) 2014-07-15 2014-07-15 Smart home system and control method based on brain-computer interface and Zigbee

Publications (1)

Publication Number Publication Date
CN105302088A true CN105302088A (en) 2016-02-03

Family

ID=55199475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410342708.5A Pending CN105302088A (en) 2014-07-15 2014-07-15 Smart home system and control method based on brain-computer interface and Zigbee

Country Status (1)

Country Link
CN (1) CN105302088A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200400A (en) * 2016-08-18 2016-12-07 南昌大学 A kind of house control system based on brain electricity APP
CN106476281A (en) * 2016-09-14 2017-03-08 西安科技大学 Based on blink identification and vision induced 3D printer control method
CN107168134A (en) * 2017-06-27 2017-09-15 福州大学 The household electric appliance control method of brain eye combination drive
CN107483992A (en) * 2017-07-11 2017-12-15 昆明理工大学 A smart TV remote control method based on SSVEP and motion imagery
CN108089451A (en) * 2017-01-11 2018-05-29 浙江师范大学 A kind of intelligent sleep environmental control system based on real-time neuroelectricity signal processing
CN109164912A (en) * 2018-07-19 2019-01-08 中国矿业大学 Indoor light self-checking device based on brain-computer interface
CN110275621A (en) * 2019-06-26 2019-09-24 陕西科技大学 A platform for assisting the handicapped based on OMG signal control
CN111240462A (en) * 2018-11-29 2020-06-05 天津职业技术师范大学 Mixed reality-based brain-computer interface platform and its control method
CN111596572A (en) * 2020-05-29 2020-08-28 黄淮学院 A smart home simulation experiment system suitable for brain control
CN115296953A (en) * 2022-09-29 2022-11-04 深圳市瑞亿科技电子有限公司 Intelligent household equipment control system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201275369Y (en) * 2008-10-13 2009-07-22 邓海洲 Study and remembering aid with same-frequency stimulation
US20100292751A1 (en) * 2009-05-12 2010-11-18 National Chiao Tung University Parameter adjustment device and method thereof
CN102799274A (en) * 2012-07-17 2012-11-28 华南理工大学 Method of asynchronous brain switch based on steady state visual evoked potentials
CN103190903A (en) * 2013-01-24 2013-07-10 上海帝仪科技有限公司 EEG signal amplifier and method for amplifying EEG signal
JP5451013B2 (en) * 2007-09-06 2014-03-26 英次 麻野井 Apparatus, method, computer program, respiratory assistance device, respiratory assistance device for patients with chronic heart disease, sleep introduction device, massage device, testing device used for evaluating sleep quality

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5451013B2 (en) * 2007-09-06 2014-03-26 英次 麻野井 Apparatus, method, computer program, respiratory assistance device, respiratory assistance device for patients with chronic heart disease, sleep introduction device, massage device, testing device used for evaluating sleep quality
CN201275369Y (en) * 2008-10-13 2009-07-22 邓海洲 Study and remembering aid with same-frequency stimulation
US20100292751A1 (en) * 2009-05-12 2010-11-18 National Chiao Tung University Parameter adjustment device and method thereof
CN102799274A (en) * 2012-07-17 2012-11-28 华南理工大学 Method of asynchronous brain switch based on steady state visual evoked potentials
CN103190903A (en) * 2013-01-24 2013-07-10 上海帝仪科技有限公司 EEG signal amplifier and method for amplifying EEG signal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
赵丽等: "基于稳态视觉诱发电位的手机拨号系统研究", 《中国生物医学工程学报》 *
邹鹤良: "脑-机接口家电集成控制系统的研究与设计", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106200400A (en) * 2016-08-18 2016-12-07 南昌大学 A kind of house control system based on brain electricity APP
CN106476281A (en) * 2016-09-14 2017-03-08 西安科技大学 Based on blink identification and vision induced 3D printer control method
CN106476281B (en) * 2016-09-14 2018-07-10 西安科技大学 Based on blink identification and vision induced 3D printer control method
CN108089451A (en) * 2017-01-11 2018-05-29 浙江师范大学 A kind of intelligent sleep environmental control system based on real-time neuroelectricity signal processing
CN107168134A (en) * 2017-06-27 2017-09-15 福州大学 The household electric appliance control method of brain eye combination drive
CN107483992A (en) * 2017-07-11 2017-12-15 昆明理工大学 A smart TV remote control method based on SSVEP and motion imagery
CN109164912A (en) * 2018-07-19 2019-01-08 中国矿业大学 Indoor light self-checking device based on brain-computer interface
CN111240462A (en) * 2018-11-29 2020-06-05 天津职业技术师范大学 Mixed reality-based brain-computer interface platform and its control method
CN110275621A (en) * 2019-06-26 2019-09-24 陕西科技大学 A platform for assisting the handicapped based on OMG signal control
CN111596572A (en) * 2020-05-29 2020-08-28 黄淮学院 A smart home simulation experiment system suitable for brain control
CN115296953A (en) * 2022-09-29 2022-11-04 深圳市瑞亿科技电子有限公司 Intelligent household equipment control system and method
CN115296953B (en) * 2022-09-29 2023-01-03 深圳市瑞亿科技电子有限公司 Intelligent household equipment control system and method

Similar Documents

Publication Publication Date Title
CN105302088A (en) Smart home system and control method based on brain-computer interface and Zigbee
CN101576772B (en) Brain-computer interface system based on virtual instrument steady-state visual evoked potentials and control method thereof
Güneysu et al. An SSVEP based BCI to control a humanoid robot by using portable EEG device
CN101477405B (en) Steady state visually evoked brain-computer interface method based on two frequency stimuli in the left and right visual fields
CN103699226B (en) A kind of three mode serial brain-computer interface methods based on Multi-information acquisition
CN105022488A (en) Wireless BCI (Brain Computer Interface) input system based on SSVEP (Steady-State Visual Evoked Potentials) brain electric potential
CN101897640A (en) A new type of intelligent wheelchair system based on motor imagery EEG control
CN103793058A (en) Method and device for classifying active brain-computer interaction system motor imagery tasks
CN104914994A (en) Aircraft control system and fight control method based on steady-state visual evoked potential
CN101590648A (en) Service Robot System Based on Brain-Computer Interface
CN102968072A (en) Electro-oculogram control system and method based on correction/training
CN110403740B (en) Control system based on brain waves
CN204480175U (en) A kind of view-based access control model brings out the intelligent electrical appliance control device of brain-computer interface
CN107145239A (en) A kind of intelligence system and its control method that sensor is read based on brain
CN105446158A (en) Intelligent household electric appliance control nursing device and method based on multi-mode brain-computer interface
CN107802262A (en) A kind of brain is electrically coupled the device that VR is used for the more dynamic attention deficit therapeutic intervention of children
CN102654793B (en) Electrocerebral-drive high-reliability control system based on dual-mode check mechanism
CN105962935A (en) Brain electrical nerve feedback training system and method for improving motor learning function
CN104182048A (en) Brain-computer interface based telephone system and call method thereof
CN106109164A (en) Rehabilitation system and the control method of rehabilitation system
CN111571619A (en) Life assisting system and method based on SSVEP brain-controlled mechanical arm grabbing
CN103294192A (en) LED lamp switch control device and control method thereof based on motor imagery
CN105929937A (en) Mobile phone music playing system based on steady-state visual evoked potential (SSVEP)
CN105066359B (en) A kind of Air Conditioner Remote method based on brain electric control
CN105962933A (en) Internet-based dual-channel electroencephalogram (EEG) signal acquisition equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Tianjin University of Technology and Education

Document name: Notification of Decision on Request for Restoration of Right

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160203