Smart home control system and smart home control method based on SSVEP
Through the SSVEP-based smart home control system, visual stimulation coding and EEG signal analysis technology, the frequency bandwidth limitation is broken through, and the automatic control of smart homes is achieved, which solves the problem that disabled people cannot use smart homes and improves the quality of life.
Patent Information
- Application Number
- CN202211079834.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-02
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-09-02
AI Technical Summary
The existing smart home system cannot help disabled people with physical defects, especially those with disabilities who can only perform eye movements, control smart homes, resulting in their quality of life being unable to improve.
Using the SSVEP-based smart home control system, visual stimulation codes of different flicker frequencies are generated through the visual stimulation module. The signal acquisition module collects EEG signals, analyzes the signals to generate control information, executes the module to control the components to be controlled, and combines the selection module and The sensor automatically turns on and off the stimulation unit group, breaking through the frequency bandwidth limit and reducing eye stimulation.
More functions are realized within limited bandwidth, and the components to be controlled are automatically controlled, reducing the cognitive load and eye fatigue of users, improving the quality of life of disabled people.
Smart Images

Figure CN115327945B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of brain-computer control technology, and specifically relates to a smart home control system and a smart home control method based on SSVEP. Background Art
[0002] With the development of social science and technology, smart home technology has gradually developed, providing people with a more convenient, comfortable and intelligent life. However, for people with physical disabilities, especially those who can only move their eyes, the existing smart home system cannot help them control the smart home and improve their quality of life. According to the World Report on Disability, there are currently more than one billion people in the world with some form of disability, accounting for 15% of the world's population. How to improve the quality of life of people with disabilities is an urgent problem to be solved. Summary of the invention
[0003] The purpose of this application is to provide a smart home control system and a smart home control method based on SSVEP to solve the technical problem in the prior art that the existing smart home system cannot help disabled people with physical defects, especially those who can only move their eyes, to control the smart home.
[0004] To achieve the above purpose, a technical solution adopted in this application is:
[0005] Provided is a smart home control system based on SSVEP, comprising:
[0006] A visual stimulation module, used for generating a first visual stimulation code to mark the element to be controlled;
[0007] A signal acquisition module, used for acquiring a first electroencephalogram signal generated by the user's encoding of the first visual stimulus;
[0008] An analysis module, used for collecting and analyzing the first EEG signal to generate first control information;
[0009] An execution module is used to control the to-be-controlled element based on the first control information.
[0010] In one or more embodiments, the visual stimulation module includes at least two stimulation unit groups, each of the stimulation unit groups includes a plurality of stimulation units, the plurality of stimulation units in the same stimulation unit group have different fixed flashing frequencies, and the smart home control system also includes a selection module, which is used to select and turn on at least one stimulation unit group at the same time.
[0011] In one or more embodiments, the several stimulation units of each stimulation unit group are arranged in the same space, and the selection module includes a sensor for being set at the entrance and exit of the space and a detection unit that can communicate with the sensor, and the detection unit is used to monitor the user's space entry and exit status through the sensor to turn on or off the stimulation unit group located in the corresponding space, and the detection unit is also used to send a status signal to the analysis module based on the user's space entry and exit status, and the analysis module is also used to control the current working state based on the status signal.
[0012] In one or more embodiments, the visual stimulation module is also used to generate a second visual stimulation code to mark different stimulation unit groups, the signal acquisition module is also used to collect a second EEG signal generated by the user in response to the second visual stimulation code, the analysis module is also used to collect and analyze the second EEG signal to generate second control information, the selection module is used to turn on or off the corresponding stimulation unit group based on the second control information, and the analysis module is also used to control the current working state based on the second EEG signal.
[0013] In one or more embodiments, the signal acquisition module is also used to collect a third EEG signal of the user, the analysis module is also used to collect and analyze the third EEG signal to generate third control information, and the selection module is also used to control the working state of the visual stimulation module based on the third control information, wherein the third EEG signal is generated based on the user's eye-opening duration and / or eye-closing duration stimulation.
[0014] In one or more embodiments, at least two stimulation units of each stimulation unit group are used to mark the same element to be controlled, and the execution module is further used to control at least two functions to be executed of the same element to be controlled based on the first control information.
[0015] To achieve the above purpose, another technical solution adopted by this application is:
[0016] A smart home control method is provided, comprising:
[0017] generating a first visual stimulus code to mark the element to be controlled;
[0018] Collecting a first electroencephalogram signal generated by the user encoding the first visual stimulus;
[0019] Collecting and analyzing the first EEG signal to generate first control information;
[0020] The to-be-controlled element is controlled based on the first control information.
[0021] In one or more embodiments, the first visual stimulus code is generated by at least two stimulus unit groups, each of the stimulus unit groups includes a plurality of stimulus units, and the plurality of stimulus units in the same stimulus unit group have different fixed flickering frequencies;
[0022] Before the step of generating a first visual stimulus code to mark the element to be controlled, the step further includes:
[0023] The stimulation unit group selected from the plurality of stimulation unit groups for marking the element to be controlled is in an on state.
[0024] In one or more embodiments, the plurality of stimulation units of each stimulation unit group are located in the same space;
[0025] The step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically comprises:
[0026] Collecting monitoring signals generated when a user enters or leaves the space;
[0027] The stimulation unit group located in the corresponding space is turned on or off based on the monitoring signal.
[0028] In one or more embodiments, the step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically includes:
[0029] generating a second visual stimulus code to mark different groups of the stimulus units;
[0030] collecting a second electroencephalogram signal generated by the user's encoding of the second visual stimulus;
[0031] collecting and analyzing the second EEG signal to generate second control information;
[0032] The corresponding stimulation unit group is turned on or off based on the second control information.
[0033] In one or more embodiments, synchronously with the step of collecting the first electroencephalogram signal generated by the user's encoding of the first visual stimulus, there are also:
[0034] Collecting a third EEG signal of the user, where the third EEG signal is generated based on the duration of the user's eyes being open and / or eyes being closed;
[0035] Collecting and analyzing the third EEG signal to generate third control information;
[0036] The working state of the stimulation unit group is controlled based on the third control information.
[0037] Different from the prior art, the beneficial effects of this application are:
[0038] The visual stimulation module of the smart home control system of the present application includes multiple stimulation unit groups, each stimulation unit group includes several stimulation units with different fixed flashing frequencies, and the fixed flashing frequencies between the stimulation unit groups can be repeated. It also includes a selection module, which can select a stimulation unit group for marking the element to be controlled from the multiple stimulation unit groups to be in an on state, thereby effectively breaking through the limitation of frequency bandwidth and realizing more functions within a limited bandwidth.
[0039] The smart home control method of the present application can automatically turn on the stimulation unit group corresponding to the controlled element that the user needs to control, effectively breaking through the bandwidth limitation and realizing more functions within the limited bandwidth; at the same time, it can also realize the closing and reopening operations of the stimulation unit group in the idle state, which helps to reduce the stimulation to the user's eyes. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a system block diagram of an implementation scheme of a smart home control system of SSVEP of the present application;
[0041] Figure 2 It is a flow chart of an implementation method of a smart home control method of the present application. DETAILED DESCRIPTION
[0042] The present application will be described in detail below in conjunction with the various embodiments shown in the accompanying drawings. However, these embodiments do not limit the present application, and any structural, methodological, or functional changes made by a person of ordinary skill in the art based on these embodiments are all within the scope of protection of the present application.
[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] Steady-State Visual Evoked Potential (SSVEP) refers to a continuous response related to the stimulation frequency produced by the visual cortex of the human brain when subjected to a visual stimulus of a fixed frequency.
[0045] Regarding the principle of SSVEP signals, the mainstream view is that the various neural networks distributed in the brain have their own inherent resonant frequencies. Under normal conditions, these neural networks are not synchronized with each other, and are also chaotic and irregular. At this time, the EEG signal is spontaneous EEG. When a constant frequency of external visual stimulation is applied, the neural network consistent with the stimulation frequency or harmonic frequency will resonate, causing the brain's potential activity to change significantly at the stimulation frequency or harmonic frequency, thereby generating SSVEP signals.
[0046] At present, there are many cases that combine SSVEP technology with augmented reality and virtual reality technology to achieve consciousness control. However, it is difficult to implement the control method of applying SSVEP technology to smart home control systems. The main reason is that SSVEP has high requirements for the fixed flashing frequency of the stimulation point, resulting in limited bandwidth of the frequency that can be used, and it is impossible to achieve full smart home control. In addition, the cognitive load on users is very high, which will cause high eye fatigue.
[0047] In order to solve the above problems, the applicant has developed a smart home control system based on SSVEP, please refer to Figure 1 , Figure 1 It is a system block diagram of an implementation scheme of the smart home control system of SSVEP of the present application.
[0048] The smart home control system includes a visual stimulation module 10 , a signal acquisition module 20 , an analysis module 30 and an execution module 40 .
[0049] Among them, the visual stimulation module 10 is used to generate a first visual stimulation code to mark the element to be controlled; the signal acquisition module 20 is used to collect the first EEG signal generated by the user in response to the first visual stimulation code; the analysis module 30 is used to collect and analyze the first EEG signal to generate first control information; the execution module 40 is used to control the element to be controlled based on the first control information.
[0050] Specifically, the visual stimulation module 10 includes a plurality of stimulation units, which flicker at a fixed flickering frequency and may be composed of colored LEDs or black and white flickering dots.
[0051] When the user looks at the stimulation unit that flashes at a fixed flashing frequency, based on the SSVEP principle, the user's brain will generate a continuous EEG response related to the fixed flashing frequency of the stimulation unit, namely, a first EEG signal.
[0052] The signal acquisition module 20 can collect the first EEG signal and send it to the analysis module 30. In one application scenario, the signal acquisition module 20 can use a dry electrode EEG acquisition system to obtain the first EEG signal by collecting EEG data from the occipital and top of the brain. In other application scenarios, an EEG helmet can also be used, which can achieve the effect of this embodiment.
[0053] The analysis module 30 may be an integrated circuit including a microcontroller (MCU). As is well known to those skilled in the art, a microcontroller may include a central processing unit (CPU), a read-only memory module (ROM), a random access memory module (RAM), a timing module, a digital-to-analog converter module (A / D converter), and a number of input / output ports. Of course, the analysis module 30 may also be an integrated circuit in other forms, such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).
[0054] The execution module 40 may be a control terminal capable of controlling all home appliances. The execution module 40 may receive the first control information generated by the analysis module 30 and control the corresponding home appliances based on the first control information through infrared, local area network, Bluetooth or other connection methods.
[0055] The visual stimulation module 10, the signal acquisition module 20, the analysis module 30, the execution module 40 and the smart home can be interconnected by accessing the same local area network, or can be interconnected and transmit information through Bluetooth or other means, all of which can achieve the effect of this embodiment.
[0056] In order to mark different elements to be controlled or functions to be executed of elements to be controlled, the fixed flashing frequencies of multiple stimulation units must be different, which results in the number of elements or functions that can be marked being limited by the frequency bandwidth, and too many stimulation units with different fixed flashing frequencies will increase the user's cognitive load and may cause eye fatigue.
[0057] Correspondingly, the visual stimulation module 10 includes at least two stimulation unit groups, each stimulation unit group includes a plurality of stimulation units with different fixed flashing frequencies, and the fixed flashing frequencies between the stimulation unit groups can be repeated. At the same time, in this embodiment, the smart home control system also includes a selection module 50, which is used to select a stimulation unit group for marking the element to be controlled from a plurality of stimulation unit groups to be in an on state.
[0058] It can be understood that the selection module 50 selects only the stimulation unit group corresponding to the element to be controlled that needs to be controlled currently from the multiple stimulation unit groups to turn on. At this time, the fixed flashing frequencies of all the stimulation units in the turned-on state are different, which can clearly mark different elements to be controlled or functions to be executed. Therefore, more functions can be realized within a limited bandwidth, effectively breaking through the bandwidth limitation.
[0059] In an application scenario, each stimulation unit group may correspond to a room, and several stimulation units of each stimulation unit group are located in the same room. The selection module 50 includes a sensor located at the door of the room and a detection unit communicating with the sensor.
[0060] The sensor may be a photoelectric sensor, an infrared sensor, etc., or an electronic tag reader. An electronic tag may be set on the user or on the signal acquisition module 20, and the effect of this embodiment can be achieved.
[0061] In an embodiment of the present application, the user needs to achieve automatic control of the element to be controlled by visual means. In this scenario, the user needs to be in the same space as the element to be controlled that he or she can currently control. Therefore, only the stimulation unit group in the space where the user is located can be turned on, while the stimulation unit groups in other spaces can be turned off.
[0062] When the user enters the room, the sensor can detect the signal and send it to the detection unit, and the detection unit can control the stimulation unit group in the room to turn on based on the signal; when the user leaves the room, the sensor can detect the signal and send it to the detection unit, and the detection unit can control the stimulation unit group in the room to turn off based on the signal.
[0063] The detection unit is further used to send a status signal to the analysis module 30 based on the signal detected by the sensor, and the analysis module 30 is further used to control the current working state based on the status signal.
[0064] In the working process of an exemplary selection module 50, when the sensor detects that the user enters room 1, the detection unit controls the stimulation unit group in room 1 to turn on, and the corresponding stimulation unit groups in other rooms are in the off state. At this time, the detection unit synchronously sends the information to the analysis module 30. When the user looks at the stimulation unit with a frequency of 15hz, the signal acquisition module 20 collects the first EEG signal and sends it to the analysis module 30. The analysis module 30 outputs the first control information to the execution module 40. The first control information may include data code 1 (room number) 15 (flash frequency). Based on the data code, the execution module 40 can control the corresponding element to be controlled or the function to be executed.
[0065] It can be understood that in other application scenarios, all stimulation unit groups can also be located in the same room, each stimulation unit group corresponds to an area, and sensors can be set at the entrance and exit of the area to sense the user entering or leaving the current area, which can achieve the effect of this embodiment.
[0066] In another embodiment, multiple stimulation unit groups may be mixed together and not divided according to space. For example, they may be divided according to function, such as audio-visual equipment as one stimulation unit group, cleaning equipment as one stimulation unit group, and so on.
[0067] The visual stimulation module 10 can be used to generate a second visual stimulation code to mark different stimulation unit groups.
[0068] Specifically, the visual stimulation module 10 can add stimulation control points corresponding to the stimulation unit groups one by one. The fixed flickering frequency of the stimulation control points should be different from the fixed flickering frequency of any stimulation unit.
[0069] The signal acquisition module 20 is also used to collect the second EEG signal generated by the user's encoding of the second visual stimulus; the analysis module 30 is also used to collect and analyze the second EEG signal to generate second control information; the selection module 50 is used to turn on or off the corresponding stimulation unit group based on the second control information; the analysis module 30 is also used to control the current working state based on the second EEG signal.
[0070] It is understandable that when the user needs to switch the stimulation unit group to be turned on, he can look at the corresponding stimulation control point. At this time, the signal acquisition module 20 can collect the second EEG signal generated by the user's second visual stimulation encoding of the stimulation control point. The analysis module 30 generates the second control information after analysis, and the selection module 50 can automatically switch the stimulation unit group to be turned on based on the second control information; synchronously, the analysis module 30 switches the current working state to the corresponding stimulation unit group.
[0071] Considering that the user may not need to control the element to be controlled for a long time, it is also desirable in this embodiment to realize automatic shutdown of the stimulation unit group when, for example, the user is in an idle state.
[0072] Specifically, in this embodiment, the signal acquisition module 20 is also used to collect the user's third EEG signal, which can be generated based on the user's eye closure duration stimulation, for example, a continuous third EEG signal generated when the user closes his eyes for 10 seconds.
[0073] The analysis module 30 is further used to collect and analyze the third EEG signal to generate third control information.
[0074] The selection module 50 is further configured to control the working state of the stimulation unit group based on the third control information.
[0075] It can be understood that when the user does not need to control home appliances, he can choose to close his eyes for 10 seconds. At this time, the user's third EEG signal is collected and analyzed by the analysis module 30 to generate third control information. The selection module 50 can automatically turn off the stimulation unit group based on the third control information; correspondingly, when the user needs to control home appliances, he can close his eyes again for 10 seconds, and the selection module 50 can automatically turn on the stimulation unit group.
[0076] In other embodiments, the third EEG signal may also be generated based on the user's eye-opening time stimulation, or may be generated by the user's coding for specific visual stimulation, both of which can achieve the effect of this embodiment.
[0077] This application also provides a smart home control method, see Figure 2 , Figure 2 It is a flow chart of an implementation method of a smart home control method of the present application.
[0078] The method includes:
[0079] S100, generating a first visual stimulation code to mark a to-be-controlled element.
[0080] The first visual stimulation code can be generated by multiple stimulation units. The stimulation units can flash at a fixed flashing frequency in the range of 10-30HZ. The stimulation units can be composed of color LEDs or black and white flashing dots.
[0081] In one application scenario, the fixed flashing frequencies of multiple stimulation units may be different and may correspond one-to-one to multiple components to be controlled, so that the components to be controlled can be marked by different fixed flashing frequencies; in other application scenarios, multiple stimulation units may also correspond to the same component to be controlled, so that different functions to be executed of the component to be controlled can be marked by different fixed flashing frequencies, such as heating, cooling, increasing wind speed, reducing wind speed, switching and other functions of air conditioning.
[0082] S200, collecting a first electroencephalogram signal generated by a user encoding a first visual stimulus.
[0083] When the user looks at the stimulation unit that flashes at a fixed flashing frequency, based on the SSVEP principle, the user's brain will generate a continuous EEG response related to the fixed flashing frequency of the stimulation unit, namely, a first EEG signal.
[0084] S300: Collect and analyze a first electroencephalogram signal to generate first control information.
[0085] It can be understood that since the first EEG signal is related to the fixed flashing frequency of the stimulation unit, information about the stimulation unit that the user is looking at can be obtained by analyzing the first EEG signal, and accordingly, information about the element to be controlled marked by the stimulation unit or the function to be executed of the element to be controlled can be obtained to generate the first control information.
[0086] S400: Control a component to be controlled based on first control information.
[0087] Based on the acquired first control information, automatic control of the controlled element can be achieved, thereby realizing conscious control of the smart home, which helps disabled people, especially those who can only move their eyes, to control the smart home and improve their quality of life.
[0088] In order to mark different elements to be controlled or functions to be executed of elements to be controlled, the fixed flashing frequencies of multiple stimulation units must be different. This results in the number of elements or functions that can be marked being limited by the frequency bandwidth, and too many stimulation units with different fixed flashing frequencies will increase the user's cognitive load and may cause eye fatigue.
[0089] Correspondingly, in one embodiment, the first visual stimulation code may be generated by at least two stimulation unit groups, each stimulation unit group includes a plurality of stimulation units with different fixed flickering frequencies, and the fixed flickering frequencies between the stimulation unit groups may be repeated. In order to ensure that the repeated fixed flickering frequencies can also mark different elements to be controlled or functions to be executed, the method further includes before step S100:
[0090] A stimulation unit group selected from a plurality of stimulation unit groups for marking the element to be controlled is in an on state.
[0091] It can be understood that by selecting only the stimulation unit group corresponding to the element to be controlled that is currently required to be controlled from multiple stimulation unit groups, the fixed flashing frequencies of all stimulation units in the turned-on state are different, which can clearly mark different elements to be controlled or functions to be executed. Therefore, unlimited functions can be realized within a limited bandwidth, effectively breaking through the bandwidth limitation.
[0092] In one embodiment, several stimulation units of each stimulation unit group may be located in the same space, ie the stimulation unit groups are divided according to space.
[0093] The step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically includes:
[0094] Collect monitoring signals generated when users enter or leave the space;
[0095] The stimulation unit group located in the corresponding space is turned on or off based on the monitoring signal.
[0096] In the implementation of the present application, the user needs to realize the automatic control of the element to be controlled by visual observation. In this scenario, the user needs to be in the same space as the element to be controlled that the user can currently control. Therefore, only the stimulation unit group in the space where the user is currently located can be turned on, while the stimulation unit groups in other spaces can be turned off.
[0097] When the user enters the space, a monitoring signal is generated, and the stimulation unit group in the corresponding space can be automatically turned on based on the monitoring signal; when the user leaves the space, a monitoring signal is also generated, and the stimulation unit group in the corresponding space can be automatically turned off based on the monitoring signal.
[0098] The monitoring signal can be generated by sensors arranged at the entrance and exit of the space. The sensors can be photoelectric sensors, infrared sensors, etc., or electronic tag readers. The corresponding electronic tags can be set on the users to achieve the effect of this embodiment.
[0099] In one application scenario, when the smart home system is applied to multiple rooms, the stimulation unit groups can be divided by room, and sensors can be set at the doors of the rooms; in other application scenarios, when the smart home system is applied to a single room, the stimulation unit groups can also be divided according to areas, and sensors can be set at the connections of the areas to sense the user entering or leaving the current area.
[0100] In another embodiment, the stimulation unit groups may not be divided according to space, but may be directly grouped, and a control system dedicated to controlling the activation of the stimulation unit groups may be provided.
[0101] The step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically includes:
[0102] generating a second visual stimulus code to label different groups of stimulus units;
[0103] collecting a second electroencephalogram signal generated by the user encoding the second visual stimulus;
[0104] collecting and analyzing a second electroencephalogram signal to generate second control information;
[0105] The corresponding stimulation unit group is turned on or off based on the second control information.
[0106] The second visual stimulation code can also be generated by a separate stimulation unit, and each second visual stimulation code corresponds to a stimulation unit group. When the user needs to switch the stimulation unit group in the on state, the user can look at the second visual stimulation code to generate a corresponding second EEG signal; by collecting and analyzing the second EEG signal, the stimulation unit group that the user wants to switch can be obtained, and the corresponding on or off operation can be performed.
[0107] It can be understood that in the present embodiment, the stimulation units adopt a two-level distribution, that is, one stimulation unit of the first level corresponds to a stimulation unit group of the second level, a stimulation unit group of the second level includes multiple stimulation units, and the fixed flashing frequency between the stimulation unit groups can be repeated, and one stimulation unit of the first level is used to turn on or off multiple stimulation units of the second level, thereby realizing the wireless function with limited bandwidth; in other embodiments, the stimulation units can also adopt a three-level distribution, a four-level distribution, etc. according to actual working conditions, which can achieve the effect of the present embodiment.
[0108] Considering that the user may not need to control the controlled element for a long time, it is also desirable in this embodiment to realize the automatic shutdown of the stimulation unit group when, for example, the user is in an idle state. Specifically:
[0109] Collecting the user's third EEG signal;
[0110] collecting and analyzing a third EEG signal to generate third control information;
[0111] The working state of the stimulation unit group is controlled based on the third control information.
[0112] Among them, in one application scenario, the third EEG signal can be generated based on the stimulation of the user's eye closure time, for example, a continuous third EEG signal generated when the user closes his eyes for 10 seconds; in other application scenarios, the third EEG signal can also be generated based on the user's eye opening time stimulation, or it can be generated by the user's encoding of specific visual stimulation, all of which can achieve the effect of this embodiment.
[0113] Based on the third EEG signal, third control information can be generated to turn the stimulation unit group on or off.
[0114] For example, the user can close his eyes for 10 seconds to turn off the stimulation unit group that is in the turned-on state; and close his eyes for 10 seconds again to turn on the stimulation unit group that is in the turned-off state, thereby achieving automatic turning off of the stimulation unit group in the idle state and avoiding eye stimulation to the user.
[0115] The above description of the present disclosure is provided to enable any person of ordinary skill in the art to implement or use the present disclosure. Various modifications to the present disclosure will be apparent to those of ordinary skill in the art, and the general principles corresponding to the present disclosure may be applied to other variations without departing from the scope of protection of the present disclosure. Therefore, the present disclosure is not limited to the examples and designs described herein, but is consistent with the widest range of principles and novel features disclosed herein.
Claims
1. A smart home control system based on SSVEP, characterized in that: include: A visual stimulation module, used for generating a first visual stimulation code to mark the element to be controlled; A signal acquisition module, used for acquiring a first electroencephalogram signal generated by the user's encoding of the first visual stimulus; An analysis module, used for collecting and analyzing the first EEG signal to generate first control information; an execution module, configured to control the element to be controlled based on the first control information; Wherein, the visual stimulation module includes at least two stimulation unit groups, each of the stimulation unit groups includes a plurality of stimulation units, and the plurality of stimulation units in the same stimulation unit group have different fixed flashing frequencies, and the smart home control system further includes a selection module, and the selection module is used to select and start at least one stimulation unit group at the same time; The several stimulation units of each stimulation unit group are used to be arranged in the same space, and the selection module includes a sensor for being set at the entrance and exit of the space and a detection unit that can communicate with the sensor. The detection unit is used to monitor the user's space entry and exit status through the sensor to turn on or off the stimulation unit group located in the corresponding space. The detection unit is also used to send a status signal to the analysis module based on the user's space entry and exit status, and the analysis module is also used to control the current working state based on the status signal.
2. The smart home control system according to claim 1, characterized in that: The visual stimulation module is also used to generate a second visual stimulation code to mark different stimulation unit groups, the signal acquisition module is also used to collect a second EEG signal generated by the user in response to the second visual stimulation code, the analysis module is also used to collect and analyze the second EEG signal to generate second control information, the selection module is used to turn on or off the corresponding stimulation unit group based on the second control information, and the analysis module is also used to control the current working state based on the second EEG signal.
3. The smart home control system according to claim 1, characterized in that: The signal acquisition module is also used to collect the user's third EEG signal, the analysis module is also used to collect and analyze the third EEG signal to generate third control information, and the selection module is also used to control the working state of the visual stimulation module based on the third control information, wherein the third EEG signal is generated based on the user's eye-opening duration and / or eye-closing duration stimulation.
4. The smart home control system according to claim 1, characterized in that: At least two stimulation units of each stimulation unit group are used to mark the same component to be controlled, and the execution module is further used to control at least two functions to be executed of the same component to be controlled based on the first control information.
5. A smart home control method, characterized in that: include: generating a first visual stimulus code to mark the element to be controlled; Collecting a first electroencephalogram signal generated by the user encoding the first visual stimulus; Collecting and analyzing the first EEG signal to generate first control information; controlling the to-be-controlled element based on the first control information; Wherein, the first visual stimulus code is generated by at least two stimulus unit groups, each of the stimulus unit groups includes a plurality of stimulus units, and the plurality of stimulus units in the same stimulus unit group have different fixed flickering frequencies; Before the step of generating a first visual stimulus code to mark the element to be controlled, the step further includes: A stimulation unit group selected from the plurality of stimulation unit groups for marking the element to be controlled is in an on state; The plurality of stimulation units of each stimulation unit group are located in the same space, and the step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically comprises: Collecting monitoring signals generated when a user enters or leaves the space; The stimulation unit group located in the corresponding space is turned on or off based on the monitoring signal.
6. The smart home control method according to claim 5, characterized in that: The step of selecting a stimulation unit group for marking the element to be controlled from the plurality of stimulation unit groups as being in an on state specifically comprises: generating a second visual stimulus code to mark different groups of the stimulus units; collecting a second electroencephalogram signal generated by the user's encoding of the second visual stimulus; collecting and analyzing the second EEG signal to generate second control information; The corresponding stimulation unit group is turned on or off based on the second control information.
7. The smart home control method according to claim 5, characterized in that: Synchronous with the step of collecting the first electroencephalogram signal generated by the user's encoding of the first visual stimulus is the following: Collecting a third EEG signal of the user, where the third EEG signal is generated based on the duration of the user's eyes being open and / or eyes being closed; Collecting and analyzing the third EEG signal to generate third control information; The working state of the stimulation unit group is controlled based on the third control information.
