CN111161509A - Brain wave triggered non-contact alarm device and alarm detection method thereof - Google Patents

Brain wave triggered non-contact alarm device and alarm detection method thereof Download PDF

Info

Publication number
CN111161509A
CN111161509A CN202010075274.2A CN202010075274A CN111161509A CN 111161509 A CN111161509 A CN 111161509A CN 202010075274 A CN202010075274 A CN 202010075274A CN 111161509 A CN111161509 A CN 111161509A
Authority
CN
China
Prior art keywords
alarm
brain wave
user
alarm signal
bluetooth module
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
CN202010075274.2A
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.)
Northwestern University
Original Assignee
Northwestern 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 Northwestern University filed Critical Northwestern University
Priority to CN202010075274.2A priority Critical patent/CN111161509A/en
Publication of CN111161509A publication Critical patent/CN111161509A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/04Alarms for ensuring the safety of persons responsive to non-activity, e.g. of elderly persons
    • G08B21/0438Sensor means for detecting
    • G08B21/0453Sensor means for detecting worn on the body to detect health condition by physiological monitoring, e.g. electrocardiogram, temperature, breathing
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems

Abstract

The invention provides a brain wave triggered non-contact alarm device and an alarm detection method thereof, which solve the technical problem of non-contact alarm. The sending unit is the user smart phone. The processing unit is interconnected with the head band and the user through a group of Bluetooth. The receiving and detecting unit naturally collects brain waves, the processing unit carries out calculation, and the mobile phone sends a distress short message to the outside. The method comprises the steps of wearing a headband to collect brain wave signals in real time; no alarm is given in a stable state; judging the sudden state by using a startle detection algorithm; judging and alarming in an emergency state; reset after the burst state alarm. The startle and blink algorithm is the core algorithm for solving the non-contact alarm problem. The invention is non-contact alarm, does not need manual intervention for natural alarm, has low false alarm rate, is portable and strong in concealment, and is suitable for personal safety defense alarm.

Description

Brain wave triggered non-contact alarm device and alarm detection method thereof
The technical field is as follows:
the invention belongs to the technical field of intelligent electronics, in particular to a technology applied to the aspect of personal safety protection alarm, mainly relates to non-contact alarm, and particularly relates to a brain wave triggered non-contact alarm device and an alarm detection method thereof, which are used for personal safety defense alarm.
Background art:
at present, portable alarm devices on the market can be divided into four categories: the starting modes of the contact type objects, the induction type objects, the mobile phone App and the intelligent alarm are mostly active triggering, and the mobile phone App and the intelligent alarm are limited by various conditions in emergency, so that the mobile phone App and the intelligent alarm cannot perform set functions due to the fact that active intervention cannot be performed. The object alarm is similar to a wolf-proof alarm, and the product is a small help-calling sound, is mostly made into a small hanging ornament, can send buzzing sound up to 120 decibels by contacting a switch under dangerous conditions, and cannot provide positioning information and the function of emergency help-seeking alarm. The induction type object adopts a passive infrared detector, and the human body close to the induction type object is detected through infrared induction so as to trigger an alarm. The intelligent products such as the intelligent defense alarm afraid of can start the GPS positioning function and the recording function by pressing the switch by the user and collect the position information and the voice information. After the alarm operation is confirmed through feedback, the sound recording and the position information are sent to the mobile phone through the Bluetooth module, and then the information is edited and sent to the storage contact through the mobile phone APP. And if the feedback cancels the alarm operation, stopping the operation. The mobile phone App and other products are more modern than objects, and can trigger an alarm by shaking the mobile phone, plugging an earphone jack and the like, and position and send information to emergency contacts or public security departments.
In the patent design of patent design "portable intelligent security initiative alarm" with patent number CN206991514U, a portable alarm is disclosed, including the casing, the PCB board, bee calling organ, power and bolt, be provided with a socket on its PCB board, it is corresponding, be provided with a jack on the casing, above-mentioned bolt passes the setting of jack pluggable formula on the socket, under the bolt state of extracting, bee calling organ and LED alarm lamp open, bee calling organ sends the high decibel alarm sound, the incessant scintillation of LED alarm lamp and then scares away the suspect who has illegal intention. Under the bolt inserted state, buzzer and LED alarm lamp close.
A non-contact apnea alarm device is designed in a text of 'development of a non-contact apnea alarm device' published in China medical equipment 2015,30(05):18-20 in Hu, Li, Sichuan, Qifugui, Kishuaijie, Zhanghua, Wangjianqi and Lu, a biological radar sensor is mainly adopted to carry out non-contact detection on respiration signals, the signals are preprocessed through a hardware circuit, and finally the preprocessed signals are accessed into a single chip microcomputer to carry out comprehensive apnea judgment and alarm. The wireless communication module is not arranged in the system, so that the alarm signal cannot be transmitted remotely in a wireless mode, the system is not suitable for remote wireless monitoring, and the system cannot ask for help from the outside in time under emergency. In addition, the device cannot eliminate the interference generated by movement, and the use state of the user is limited to a resting state and cannot be used in an active state.
The main stream warning product in the market is mainly article class alarm, because the mode of triggering is initiative trigger, is difficult for the operation of reporting to the police under the limited condition of personal freedom, and because alarm trigger devices such as pull ring drop easily in daily activity, there is not reason such as feedback link in the warning link, and the misstatement rate is higher, in addition because do not form the system that links to each other with the internet, the mode of reporting to the police is single, can't in time acquire external help in remote region, easily delays the opportunity of reporting to the police.
In order to protect the safety of individuals in an emergency, an alarm device which does not need manual intervention and is not easy to be discovered is needed.
The invention content is as follows:
aiming at the defects, defects and requirements of the prior art, the invention provides a portable brain wave-triggered non-contact alarm device which does not need manual contact and has low misjudgment rate and an alarm detection method thereof.
The invention relates to a brain wave triggered non-contact alarm device, which is sequentially provided with an alarm signal receiving and detecting unit, an alarm signal processing unit and an alarm signal sending unit according to an alarm signal transmission flow; the device is referred to as a receiving and detecting unit, a processing unit and an alarm unit; the brain wave-triggered non-contact alarm device is characterized in that physical equipment of the brain wave-triggered non-contact alarm device is divided into an alarm headband, an alarm signal processing unit and an alarm signal sending unit; the alarm signal receiving and detecting unit comprises a TGAM brain wave processing module, a micro main control board, a vibration module, a Bluetooth module and a bioelectricity collecting electrode, wherein the bioelectricity collecting electrode comprises an ear clip type potential sensor and a forehead potential sensor, and is completely installed and fixed in an alarm head band; the alarm head band is designed into a double-layer head band with an interlayer, all components of the alarm signal receiving and detecting unit are arranged in the interlayer of the head band, and an ear clip type potential sensor is led out from the left side of the head band; the forehead potential sensor acquires a bioelectricity signal, the TGAM brain wave processing module converts the bioelectricity signal into brain wave data, the brain wave data comprises a wave generation value and an electroencephalogram power value, and the blink value can be obtained by calculating the wave generation value; the TGAM brain wave processing module transmits brain wave data of a user to the alarm signal processing unit through the Bluetooth module, and the brain wave data is processed by the alarm signal processing unit and then fed back to the Bluetooth module to send vibration instruction information to the micro main control board to control the vibration module to vibrate; the alarm signal processing unit comprises a main control board, a GPS positioning module, a GPS signal receiving antenna and at least two Bluetooth modules, wherein the two Bluetooth modules are respectively called a first Bluetooth module and a second Bluetooth module, a brain wave operation processing circuit is formed by taking the main control board as a core, and the two Bluetooth modules are all arranged in a square box; the Bluetooth module in the alarm signal receiving and detecting unit and the first Bluetooth module in the alarm signal processing unit are set to be in a pairing state; a second Bluetooth module in the alarm signal processing unit is set to be in an unpaired state and can be paired with any smart phone; the alarm signal processing unit receives brain wave signals from the alarm signal receiving and detecting unit through the first Bluetooth module, returns vibration instruction information to the alarm signal receiving and detecting unit through the same Bluetooth module, and simultaneously transmits alarm instruction information generated by operation of the main control board to the alarm signal sending unit through the second Bluetooth module to alarm, wherein the alarm signal sending unit is a smart phone, and Bluetooth inherent to the smart phone is paired and connected with the second Bluetooth module in the alarm signal processing unit to receive the alarm instruction information from the alarm signal processing unit; a specific application program is installed on the smart phone of the user, the specific application program also needs to be installed on the specific smart phone specified by the user, and the application program comprises the current position information, the current time and the distress short message of the user; a user needs to appoint a specific smart phone number for receiving alarm information in advance to alarm; it is sufficient for people to be alert.
The invention also relates to an alarm detection method of a brain wave-triggered non-contact alarm device, which is used on the brain wave-triggered non-contact alarm device and is characterized by comprising the following steps:
(1) wearing an alarm headband to collect brain wave signals in real time: the user correctly wears the alarm head band and the alarm head band is in a normal working state, in the working state, the user is required to place the contact end of the sensor at the middle position of the forehead, the tightness of the head band is adjusted to be proper, shelters such as hair are removed, complete contact is achieved, meanwhile, the contact end of an ear clip is required to be in complete contact with the skin at the ear lobe, and when a Signal value of a data stream Signal in the TGAM brain wave processing module is 0, the user is confirmed to be correctly worn and the alarm head band is in a normal working state. The user installs a specific application on his handset and a specific smartphone specified.
(2) The device has no alarm signal in a steady state: if no emergency happens, the current brain wave of the user does not trigger the alarm process. The whole system can not trigger any operation, the intelligent mobile phone software can not send alarm information, and the alarm signal receiving and detecting unit monitors brain waves of the user in real time.
(3) And (3) in the burst state, performing abnormity judgment by using a European distance startle detection algorithm: when a special condition occurs to a user, the brain wave data can generate a burst signal, the burst bioelectric signal is converted into brain wave data through the TGAM brain wave processing module, the brain wave data is sent to a first Bluetooth module and a main control board in the alarm signal processing unit through a Bluetooth module in the alarm signal receiving and detecting unit, the main control board calculates through a frightening detection algorithm based on Euclidean distance, and performing brain wave data verification to monitor whether the user is currently in a dangerous state, and if receiving the brain wave data converted from the burst bioelectric signal, and when the alarm is in a dangerous state, the main control board generates vibration instruction information, the vibration instruction information is sent to the micro main control board in the alarm signal receiving and detecting unit through the first Bluetooth module in the alarm signal receiving and detecting unit, and after the vibration instruction information is received, the micro main control board activates the vibration module to remind a user that the user is in a preparation alarm stage at present.
(4) Judging whether to alarm in an emergency state: the main control board runs a double-down sampling blink detection algorithm on brain wave data received from the first Bluetooth module to calculate the current blink frequency of the user, and whether alarming is necessary or not is judged by the blink frequency. If the current blink frequency of the user reaches a set threshold value, the main control board sends an alarm signal to an alarm signal sending unit, namely the smart phone, through the second Bluetooth module in the processing unit, and meanwhile, sends a vibration signal to the micro main control board in the receiving and detecting unit through the first Bluetooth module again, so that the micro main control board activates the vibration module to remind the user that the alarm signal is sent. If the blink frequency of the user does not reach the set threshold value, the main control board in the processing unit judges that the detection is false, and a subsequent alarm program cannot be operated. If the user is in a dangerous state but does not receive the vibration prompt, the user can directly activate the alarm program by blinking rapidly.
(5) Device alarm flow under the emergency state: and when the main control board in the processing unit judges that the current state needs to be alarmed, the main control board sends alarm instruction information to the user smart phone through the second Bluetooth module. After receiving the alarm instruction information based on the inherent Bluetooth of the smart phone, the smart phone automatically sends a distress short message containing the current position and time of the user to a specific smart phone number appointed by the user in advance through a specific smart phone application program.
(6) Resetting process after alarm completion: after a complete alarm process is completed, if a user needs to enter a specific smart phone application to manually cancel the current alarm state, the specific smart phone application will stop sharing the position information, and the whole alarm device is reset.
The invention provides a brain wave-triggered non-contact alarm device and an alarm detection method thereof, which aim to enable people to alarm directly without complicated actions and manual operations in emergency.
Compared with the prior art, the invention has the advantages that:
the alarm is carried out according to the burst signal without manual contact: in most criminal cases of personal and property safety of victims, the victims are suddenly restricted from being free to operate the triggering alarm device by hand or other limb. There is a need for an alarm device that does not require manual intervention to send alarm information to the outside world. The device does not need to be triggered manually, and can directly alarm through the blinking frequency of eyes, so that the success rate of alarming is greatly improved.
The false alarm rate is low: according to the European-distance-based startle detection algorithm, whether a user is in a dangerous condition or not is judged, the algorithm can detect brain wave data of most people in an emergency condition after verification, then the current blink frequency of the user is rapidly calculated based on a double-downsampling blink detection algorithm, the user can send alarm information to the outside only by a blink program, and the situation that the emergency condition is detected efficiently and the false alarm phenomenon is prevented at the same time is ensured to the maximum extent by the active and passive combination of an alarm process.
The method is portable: the device comprises one head band type device and one data processing module, the total weight does not exceed 500g, and the weight is equivalent to the weight of less than one bottle of water. When the portable head band type mobile phone is used daily, only the head band type equipment is needed to be worn and the data processing module is needed to be carried with the head band type mobile phone. Compared with other brain wave processing equipment, the portable brain wave processing equipment is easy to carry, greatly optimized in volume and weight and basically the same as portable electronic equipment such as a mobile phone and a sports bracelet in portability.
The concealment is strong: the existing alarm devices on the market have obvious appearance designs, are obviously distinguished from daily carried articles or clothes, and are easy to be perceived by criminal suspectors, so that the alarm devices are damaged or isolated when crimes are implemented. The appearance of the device is a headband, and many women can select various bandeams to match when going out, so that the appearance of the device more conforms to the daily wearing habit, is not easy to be found by criminal suspects, and can help users to transmit help information to the outside in time.
Description of the drawings:
FIG. 1 is a simplified block diagram of the overall architecture of the present invention;
FIG. 2 is a block diagram showing the construction of an alarm signal receiving and detecting unit according to the present invention;
FIG. 3 is a block diagram showing the constitution of an alarm signal processing unit of the present invention;
FIG. 4 is a 3D perspective view of embodiment 5 of the present invention, in which the alarm headband is on the left side and the alarm signal processing unit is on the right side;
FIG. 5 is a simulated view of the alarm headband wear of the present invention;
FIG. 6 is a flow chart of an alarm method of the present invention;
FIG. 7 is a waveform of the single blink raw data received by the warning headband in accordance with the present invention;
FIG. 8 is a diagram of variance fluctuation after a double downsampling blink detection algorithm for a user during a single blink in accordance with the present invention;
FIG. 9 is a diagram of the raw data waveform of the present invention when the user blinks quickly;
FIG. 10 is a diagram of variance fluctuation after a double downsampling blink detection algorithm for a user during a fast blink according to the present invention;
FIG. 11 is a scatter diagram of gamma brain wave values detected by the present invention when a subject is frightened;
fig. 12 is a scatter diagram of the gamma brain wave values detected by the present invention without being frightened.
Detailed Description
The invention is described in detail below with reference to the following figures and examples:
example 1
In the prior art, a self-defense warning device needs to manually trigger a warning process, but in most cases of hurting personal and property safety, a victim is limited from personal freedom basically and cannot manually activate the warning device, so that the warning information cannot be transmitted to the outside, and the victim is very helpless. The accident that a driver of a dripping and hitting vehicle infringes passengers in 2018 stimulates the inspiration of the inventor of the invention, and various assumptions and schemes are proposed, so that a set of brain wave triggered non-contact alarm device and method are gradually formed after repeated experimental deduction and improvement.
The invention relates to a brain wave triggered non-contact alarm device, which is sequentially provided with an alarm signal receiving and detecting unit, an alarm signal processing unit and an alarm signal sending unit according to an alarm signal transmission flow. Referred to as receiving and detecting unit, processing unit and alarm unit. Referring to fig. 1, the brain wave-triggered non-contact alarm device entity equipment is divided into an alarm headband, an alarm signal processing unit and an alarm signal transmitting unit. The alarm signal receiving and detecting unit comprises a TGAM brain wave processing module, a micro main control board, a vibration module, a Bluetooth module and a bioelectricity collecting electrode, wherein the bioelectricity collecting electrode comprises an ear clip type potential sensor and a forehead potential sensor, and is completely installed and fixed in an alarm head band; the alarm head band is designed into a double-layer head band with an interlayer, all components of the alarm signal receiving and detecting unit are arranged in the interlayer of the head band, and an ear clip type potential sensor is led out from the left side of the head band. The forehead potential sensor collects a bioelectricity signal of a user and transmits the bioelectricity signal into the TGAM brain wave processing module, the TGAM brain wave processing module converts the bioelectricity signal into brain wave data, the brain wave data comprises a raw wave value, namely a raw data value, and an EEG Power value, namely an EEG Power value, and the blink value of the user can be obtained through calculation of the raw data value. The TGAM brain wave processing module transmits brain wave data of a user to the alarm signal processing unit through the Bluetooth module, and the brain wave data is processed by the alarm signal processing unit and then fed back to the Bluetooth module to send vibration instruction information to the micro main control board to control the vibration module to vibrate. The alarm signal processing unit comprises a main control board, a GPS positioning module, a GPS signal receiving antenna and at least two Bluetooth modules, wherein the two Bluetooth modules are respectively called a first Bluetooth module and a second Bluetooth module, and if more Bluetooth modules exist, the names of the Bluetooth modules are arranged in sequence. The brain wave operation processing circuit is formed by taking the main control board as a core, and all components of the processing unit are all installed in the square box. The Bluetooth module in the alarm signal receiving and detecting unit and the first Bluetooth module in the alarm signal processing unit are set to be in a pairing state, a user does not need to manually connect again, the two modules automatically transmit data after connection is completed, and after the whole device is powered on, the Bluetooth module in the receiving and detecting unit and the first Bluetooth module in the processing unit are automatically connected. The second Bluetooth module in the alarm signal processing unit is set to be in an unpaired state in the alarm device, but when the alarm device is used, a user should be paired with a specific smart phone specified by the user, and after the pairing, the second Bluetooth module can send alarm instruction information to the specific smart phone in an emergency. The alarm signal processing unit receives brain wave signals from the receiving and detecting unit through the first Bluetooth module, returns vibration instruction information to the receiving and detecting unit through the same Bluetooth module, meanwhile, the second Bluetooth module transmits alarm instruction information generated by operation of the main control board to the sending unit, the sending unit gives an alarm to a specific smart phone, all components of the processing unit exist in the opaque white square box, and all the components are conveniently carried in the square box and are not easy to scatter. The alarm signal sending unit is a smart phone, and the smart phone is fast and convenient to send the short message. The Bluetooth inherent on the smart phone is matched and connected with the second Bluetooth module in the processing unit, and the alarm instruction information from the processing unit is received. The intelligent mobile phone comprises a processing unit, a GPS module and a specific application program, wherein the processing unit is used for processing the current position information of the user, the specific application program is installed on the intelligent mobile phone of the user, the specific application program also needs to be installed on the specific intelligent mobile phone appointed by the user, the application program comprises the current position information, the current time and the distress short message of the user, the position information is contained in alarm instruction information, and the current position information of the user is collected by the GPS module in the processing unit. The user needs to specify a specific smart phone number for receiving alarm information in advance, for example, smart phone numbers of relatives, friends and the like, to alarm. It is sufficient for people to be alert.
Compared with the existing manually activated alarm device, the manually activated alarm device does not need to be manually activated, and has the advantages of portability, strong concealment and the like. The alarm system is added with a new device which can alarm successfully under the condition that the invader does not find.
In most criminal cases of harming the personal and property safety of victims, the victims are suddenly restricted from freedom, and cannot operate and trigger the alarm device by hands or other limbs, so that the outside cannot know that the victims are in danger generally, and even if the victims call for help aloud, the effect is very little in many cases. The invention provides a technical scheme for alarming according to the eye current and the burst signal without manual contact, and can directly send alarm information to the outside through the blinking frequency of eyes, thereby greatly improving the success rate of alarming.
The device comprises one head band type device and one data processing module, the total weight does not exceed 500g, and the weight is equivalent to the weight of less than one bottle of water. When the portable head band type mobile phone is used daily, only the head band type equipment is needed to be worn and the data processing module is needed to be carried with the head band type mobile phone. Compared with other brain wave processing equipment, the portable brain wave processing equipment is easy to carry, small in size, portable to carry and basically the same as portable electronic equipment such as a mobile phone and a sports bracelet in portability.
The existing alarm devices on the market have obvious appearance designs, are obviously distinguished from daily carried articles or clothes, and are easy to be perceived by criminal suspectors, so that the alarm devices are damaged or isolated when crimes are implemented. The appearance of the device is a headband, and many women can select various styles of headband to match when going out, so the appearance of the device is more in line with daily wearing habits, is not easy to be found by criminal suspects, and can help users to transmit help information to the outside in time.
Example 2
The overall structure of the brain wave triggered non-contact alarm device is the same as that of embodiment 1, and referring to fig. 2, the core device of the alarm signal receiving and detecting unit in the invention is a TGAM brain wave processing module, a bioelectric signal collected by a forehead potential sensor is firstly transmitted to the TGAM brain wave processing module, the bioelectric signal is converted into brain wave data in the TGAM brain wave processing module, and the brain wave data is transmitted to a bluetooth module. Brain wave data are automatically sent to a first Bluetooth module of the alarm signal processing unit by the Bluetooth module, the first Bluetooth module transmits the brain wave data to a main control board of the alarm signal processing unit, the main control board runs a startle detection algorithm and a double-down sampling blink detection algorithm based on Euclidean distance on the received brain wave data, the main control board generates vibration instruction information and feeds the vibration instruction information back to the Bluetooth module of the alarm signal receiving and detecting unit through the first Bluetooth module, the movement instruction information is transmitted to the miniature main control board, and the miniature main control board can control the vibration module to vibrate according to the movement instruction information. The TGAM brain wave processing module acquires electric signals of human brain through a sensor, and carries out denoising, amplification and A/D conversion pretreatment through the TGAM brain wave processing module to output original wave data and an electroencephalogram characteristic value; the bioelectricity collecting electrode comprises a forehead sensor and an ear clip type potential sensor, and collects brain wave bioelectricity signals of the user by taking the potential at the ear lobe as a reference potential.
The method comprises the steps of receiving a bioelectricity signal at the earlobe of a user and transmitting the bioelectricity signal to a TGAM brain wave processing module along a lead, outputting brain wave data of the user by the TGAM brain wave processing module and transmitting the brain wave data to an alarm signal processing unit through a Bluetooth module, receiving instruction information from the alarm signal processing unit at the same Bluetooth module in an alarm signal receiving and detecting unit to control the vibration module to enable, and enabling the vibration module to vibrate and feed back to remind the user.
In other words, referring to fig. 2, in the invention, the bioelectric signals at the earlobe of the user are collected and transmitted to the TGAM brain wave processing module along the lead, and the TGAM brain wave processing module outputs the electroencephalogram data of the user and transmits the electroencephalogram data of the user to the alarm signal processing unit through the bluetooth module. And the same Bluetooth module in the alarm signal receiving and detecting unit receives instruction information from the alarm signal processing unit to control the vibration module to enable, so that the vibration module vibrates to remind a user.
The method comprises the steps of extracting blink frequency and current emotion state of a user by receiving and analyzing brain waves of the user, and sending alarm sound through a mobile phone buzzer or sending distress short messages to a specific smart phone number through a mobile phone APP if the blink frequency of the user exceeds a threshold value or the emotion of the user is in a frightened state and the blink frequency of the user exceeds the threshold value.
The whole alarming process does not need manual intervention, and only needs to control whether to send the alarming signal or not through blinking. Particularly, in emergency, a user can send alarm information to the outside through the equipment without any obvious limb operation, so that the information is transmitted to the outside, and the safety of the user is ensured to the maximum extent in emergency. And the whole alarming process is very quick, and the alarming information is sent to the outside before the alarming intention of the user is found. Reducing the risk of the user being perceived by the criminal suspect.
Example 3
The overall structure of the brain wave-triggered non-contact alarm device is the same as that of the embodiment 1-2, and the alarm signal processing unit of the invention is an alarm signal processing unit which receives and processes brain wave signals and sends alarm instruction signals to the alarm signal sending unit.
In this example, the alarm signal processing unit comprises an Arduino Mega2560 main control board, a GPS positioning module, a GPS signal receiving antenna, an HC-05 Bluetooth module and an HC-08 Bluetooth module. The GPS positioning module, the HC-05 Bluetooth module and the HC-08 Bluetooth module are respectively connected with the Arduino Mega2560 main control board through leads, and the GPS signal receiving antenna is connected with the GPS positioning module through leads. Wherein the GPS positioning module, the HC-05 Bluetooth module and the HC-08 Bluetooth module respectively occupy a group of serial ports of the ArduinoMega2560 main control board. The HC-05 Bluetooth module is used for receiving electroencephalogram data sent by the alarm head band and sending vibration instruction information to the alarm head band, and the HC-08 Bluetooth module is used for sending alarm instruction information to the smart phone and receiving reset information sent by the smart phone.
The alarm signal processing unit of the invention takes a main control board as a core. The transmitting end of the first Bluetooth module is correspondingly connected with the receiving end of the third serial port of the main control board, and the receiving end of the first Bluetooth module is correspondingly connected with the transmitting end of the third serial port. The transmitting end of the second Bluetooth module is correspondingly connected with the receiving end of the second serial port of the main control board, and the receiving end of the second Bluetooth module is correspondingly connected with the transmitting end of the second serial port. The sending end of the GPS module is correspondingly connected with the receiving end of the first serial port of the main control board, and the receiving end of the GPS module is correspondingly connected with the sending end of the first serial port to jointly form a brain wave operation processing circuit taking the main control board as a core.
Compared with the common intelligent electronic products in the market, the device has the advantages of low power consumption, strong cruising ability and low cost, and various functions can realize automatic operation without manual debugging. The alarm detection method is optimized according to the calculation power and the storage space of the existing equipment, and the alarm detection can be carried out under the condition of low calculation power. If the GPS signal disappears, the GPS coordinate closest to the signal vanishing point is recorded and the loss connection time is sent, so that the accuracy of the alarm and help information is ensured to the maximum extent.
Example 4
The overall structure of the brain wave-triggered non-contact alarm device is the same as that of the embodiment 1-3, an alarm signal and sending unit in the invention is a user smart phone, the existing user smart phone is provided with an App and a buzzer, an emergency contact person contact way needs to be stored in the App at the smart phone end in advance, the emergency contact person is an appointed specific smart phone, when the user is in danger, the user position information can be sent to the emergency contact person in a short message mode, meanwhile, the App end can set whether the buzzer of the user smart phone gives an alarm or not, and three working modes are set according to the use requirements of the user.
(1) Working mode-warning working mode
The intelligent mobile phone buzzer is used for carrying out sound warning, so that attention of other people can be attracted at the highest speed, and rescue can be obtained in time; and the device can play a role in frightening criminal suspects and can manufacture instant escape spaces.
(2) Working mode two short message alarm mode
The method comprises the steps that a notification function in the APP and a mobile phone short message are used for sending distress information to a preset emergency contact person, the distress information comprises a GPS coordinate of the distress person, distress signal sending time and a distress name, the distress person detailed information is provided to the maximum extent, and the distress person is helped in time.
(3) Working mode three-double alarm mode
Meanwhile, the intelligent mobile phone buzzer is used for sound alarm and short message alarm, so that the help of nearby people can be obtained, emergency contacts can be informed of emergency, and the life safety of rescuers is dually guaranteed.
The emergency alarm method based on the mobile phone APP has strong operability, and is convenient for subsequent updating and upgrading of products.
Example 5
The present invention is also a method for detecting an alarm of a brain wave-triggered non-contact alarm device, which is used in the above-mentioned brain wave-triggered non-contact alarm device, and the overall configuration of the brain wave-triggered non-contact alarm device is the same as that of embodiments 1 to 4, referring to fig. 6, including the steps of:
(1) wearing an alarm headband to collect brain wave signals in real time: the user correctly wears the alarm head band, and the alarm head band is in a normal working state, namely in a working state in the alarm signal receiving and detecting unit, the user is required to place the contact end of the sensor at the center of the forehead, adjust the tightness of the head band to be proper, remove shelters such as hair and the like, and complete contact is achieved, and meanwhile, the contact end of the ear clip is required to be in complete contact with the skin at the ear lobe, and a wearing simulation wearing diagram is shown in fig. 5 and is a simulation diagram produced in the experimental process. When the Signal value of the data stream Signal in the TGAM brain wave processing module is 0, the fact that the user wears the headband correctly is confirmed, and the warning headband is in a normal working state. The user installs a specific application on his handset and a specific smartphone specified.
(2) The device has no alarm signal in a steady state: if no emergency happens, the current brain wave of the user does not trigger the alarm process. The whole system can not trigger any operation, the intelligent mobile phone software can not send alarm information, and the alarm signal receiving and detecting unit monitors brain waves of the user in real time.
(3) And (3) in the burst state, performing abnormity judgment by using a European distance startle detection algorithm: when a special condition occurs to the user, the brain wave data generates a burst signal, and the burst signal is equivalent to the brain wave signal in a stationary state and can be regarded as an abnormal point. The burst signal is collected by the sensor and is called as a burst bioelectric signal. The burst bioelectric signal is transmitted to a TGAM brain wave processing module, the TGAM brain wave processing module converts the burst bioelectric signal into brain wave data, the brain wave data is transmitted to a first Bluetooth module in an alarm signal processing unit through a Bluetooth module in the alarm signal receiving and detecting unit and the master control board in the alarm signal processing unit, if the master control board in the alarm signal processing unit calculates through a frightening detection algorithm based on Euclidean distance and verifies the brain wave data, whether a user is in a dangerous state at present is monitored, if the brain wave data converted from the burst bioelectric signal is received, the master control board is in the dangerous state and generates vibration instruction information, and the vibration instruction information is transmitted to a micro-control board in the alarm signal receiving and detecting unit through the first Bluetooth module in the alarm signal receiving and detecting unit, after receiving the vibration instruction information, the micro main control board activates the vibration module to remind the user that the user is in the preparation alarm stage.
(4) Judging whether to alarm in an emergency state: after that, the main control board in the processing unit runs a double-down sampling blink detection algorithm on the brain wave data received from the first Bluetooth module to calculate the current blink frequency of the user, and judges whether an alarm is necessary or not by using the blink frequency. If the current blink frequency of the user reaches a set threshold value, the main control board in the processing unit sends an alarm signal to the alarm signal sending unit, namely the smart phone, through the second Bluetooth module in the processing unit, and meanwhile sends a vibration signal to the micro main control board in the receiving and detecting unit through the first Bluetooth module again, so that the micro main control board activates the vibration module to remind the user that the alarm signal is sent. If the blink frequency of the user does not reach the set threshold value, the main control board in the processing unit judges that the detection is false, and a subsequent alarm program cannot be operated. If the user is in a dangerous state but does not receive the vibration to remind the alarm signal processing unit that the user is not in a dangerous state at present, the user can directly activate the alarm program by blinking rapidly, and the processing flow of the alarm program is the same as above.
(5) Device alarm flow under the emergency state: and when the main control board in the processing unit judges that the current state needs to be alarmed, the main control board sends alarm instruction information to the user smart phone through the second Bluetooth module. After the smart phone receives the alarm instruction information based on the inherent Bluetooth of the smart phone, a specific smart phone application program automatically sends a distress message containing the current position and time of the user to a specific smart phone number appointed by the user in advance, and the specific smart phone application simultaneously sends an application message prompt to the specific smart phone appointed by the user and continuously shares the position information.
(6) Resetting process after alarm completion: after a complete alarm process is completed, if a user needs to enter a specific smart phone application to manually cancel the current alarm state, the specific smart phone application stops sharing the position information, the whole alarm device is reset again, and the invention restarts to execute the step 2 when an alarm is needed.
The invention can ensure that all emergency situations can be detected to the maximum extent and prevent false alarm through the double insurance of passive judgment of the frightening detection algorithm based on the European distance and active decision of the blinking operation of the user.
In most criminal cases of personal and property safety of victims, the victims are suddenly restricted from being free to operate the triggering alarm device by hand or other limb. There is a need for an alarm device that does not require manual intervention to send alarm information to the outside world. The device does not need to be triggered manually, and can directly alarm through the blinking frequency of eyes, so that the success rate of alarming is greatly improved.
Example 6
The brain wave-triggered non-contact alarm device and the alarm detection method thereof are the same as those in embodiments 1 to 5, the european distance-based startle detection algorithm in step 3 of the alarm detection method is used for detecting whether the user is currently in a startle state, and the specific algorithm flow is as follows:
3.1 extracting the fixed wave band electroencephalogram data: collecting brain wave data from alarm signal receiving and detecting unit, and extracting intermediate frequency gamma value (intermediate frequency gamma (41-49.75Hz)) and low frequency gamma valueThe gamma value (low frequency gamma (31-39.75Hz)) is considered as a two-dimensional point set A1
3.2 judging abnormal points: set of computation points A1The Euclidean distance between two corresponding points is stored as a one-dimensional matrix X1For a one-dimensional matrix X1Sorting in descending order, and regarding the data of the first 3% of the sequence in X1 as an abnormal point.
3.3 startle state judgment: storing the two-dimensional point serial number of the abnormal point as a one-dimensional matrix X2And combining the one-dimensional matrix X2The two-dimensional point sequence number in the first quadrant is regarded as that the user is in a frightening state at present.
3.4 startle detection feedback: and then receiving the blink frequency from the double downsampling blink algorithm, if the blink frequency is higher than a threshold value, confirming that the user is in a startle state, and storing the current threshold value as a reference value. If the blinking frequency is lower than the threshold value, the user is not in a frightened state, and the current maximum Euclidean distance value, namely the one-dimensional matrix X, is stored1Is the reference value. When the algorithm is carried out again, if the calculated threshold is higher than the reference value, the current threshold is taken as the actual threshold; and if the calculated threshold value is lower than or equal to the reference value, taking the reference value as the actual threshold value.
Example 7
The brain wave-triggered non-contact alarm device and the alarm detection method thereof are the same as those in embodiments 1 to 6, and the double down-sampling blink detection method described in step 4 in the alarm detection method is used for detecting the blink frequency of a user in unit time, where the unit time is defined as 3 seconds, and the specific algorithm flow is as follows:
4.1 first downsampling: collecting brain wave data from an alarm signal receiving and detecting unit, extracting a raw data value from the brain wave data, and performing first downsampling on the raw data value, namely a raw data matrix X1To find its peak value matrix Y1The peak is defined as: if the current lower index is n, if the slope of the positions n-1 to n is a positive value and the slope of the positions n to n +1 is a negative value, the value X of the current position n is defined1nIs a peak.
4.2 second downsampling: at the peak value matrix Y1Wherein the peak value matrix Y is continuously obtained according to the method defined above2I.e. the second down-sampling.
4.3 sliding window variance: for Y2Variance is calculated by sliding window method, i.e. at Y2Taking 4 as the window size, calculating the variance of every 4 data, and storing the final value as a one-dimensional matrix X2
4.4 blink determination and calculation of blink frequency: finding X2Peak matrix Y in (1)3And establishing rules if the peak value Y is3nHigher than 1 x 104And the distance between the front peak value and the current peak value is more than or equal to 3 data points, the peak value Y is determined to be generated3nThe user blinks at that time. By counting the peak matrix Y in a unit time3And the length can calculate the blinking frequency and the blinking frequency of the user in unit time.
According to the method, whether the user is in a dangerous condition or not is judged based on the European distance startle detection algorithm, the algorithm can detect brain wave data of most people in an emergency condition after verification, then the current blink frequency of the user is rapidly calculated based on the double-downsampling blink detection algorithm, the user can send alarm information to the outside only by a blink program, and the situation that the emergency condition is detected efficiently and false alarm is prevented is guaranteed to the maximum extent by the active and passive combination of an alarm process.
The following describes the connection and operation of the apparatus of the present invention in detail, and further describes the present invention:
example 8
The brain wave-triggered non-contact alarm device and the alarm detection method thereof are the same as those of embodiments 1 to 7.
The alarm head band, namely the alarm signal receiving and detecting unit, is provided with a micro main control board, a Bluetooth module, a vibration module, a power supply module and the like.
The miniature main control board can be selected from: arduino NANO, STM32F1, STM32F4, STM32F7, raspberry group Zero etc. alarm signal receiving and detecting element in this example chooses Arduino NANO as miniature main control board because this miniature main control board low power dissipation, small, easily programming.
The bluetooth module can be selected for use: HC-05, HC-08, HC-02, HC-06, etc. In this embodiment, the HC-05 bluetooth module is selected, because the bluetooth module has a high transmission rate, the characteristic of large data transmission amount in this embodiment can be satisfied.
The power supply module can be selected according to voltage and size: CR2032 button cell, CR2025 button cell, LR44 button cell, etc., in this case, the CR2032 button cell and its corresponding battery box are selected according to actual conditions.
In the embodiment, the vibration module can be selected at will, and can be selected as long as the characteristics of small size, high vibration frequency, low power consumption and the like are met.
Generally, the device comprises one head band type equipment piece and one data processing module piece, the total weight does not exceed 500g, and the weight is equivalent to the weight of less than one bottle of water. When the portable head band type mobile phone is used daily, only the head band type equipment is needed to be worn and the data processing module is needed to be carried with the head band type mobile phone. After the switch is turned on, the Bluetooth can be automatically connected without other manual operations. Compared with other brain wave processing equipment, the invention is easier to carry and convenient to operate; compared with other self-defense alarm devices, the self-defense alarm device has the advantages of high accuracy, wide application range, more timely and effective alarm mode, closer appearance to life, high concealment and capability of invisibly protecting the life safety of a user.
The following description of specific connections and debugging is made:
the pins of the HC-05 Bluetooth module 1 are connected into pins of an Arduino NANO micro main control board TX1, and the pins of the module 2 are connected into a T jack of a TGAM module. The 12 pins of the module are connected into the 3.3V pins of the Arduino NANO micro main control board, and the 13 pins are connected into the 3.3V pins of the micro main control board and the GND pins on the opposite side. Other pins of the module are suspended and not connected.
The bioelectricity collecting electrode is connected with the TGAM brain wave processing module, and in the embodiment, the bioelectricity collecting electrode comprises an ear clip type potential sensor and a forehead potential sensor.
The "+" pin of the vibration module is connected to the 3.3V pin of the Arduino NANO micro main control board, and the "-" pin is connected to the 3.3V pin and the GND pin on the opposite side. The S pin is connected with a pin D3 of the micro main control board.
The bluetooth module is set to "slave mode" baud rate of 57600.
After the power is switched on, the PWR red LED lamp of the micro main control board is on for a long time, which indicates that the main control board is powered on successfully, the HC-05 Bluetooth module is provided with a blue LED and flickers quickly after being powered on, which indicates that the module is in a normal working state, if the HC-05 Bluetooth module on the portable device is also in an open state, the flickering frequency change of the blue LED of the module needs to be waited, and if the flickering mode of the blue LED of the module is changed into two flashing and one stopping, the module is successfully connected with the HC-05 Bluetooth module of the alarm head band.
The portable device, namely the alarm signal processing unit, is provided with a main control board, a GPS module, a GPS antenna, an HC-05 Bluetooth module, an HC-08 Bluetooth module, a lithium battery and the like.
The main control board can be selected from: arduino Mega2560, STM32F104, STM32F107, STM32F407, raspberry group 3B +, etc., and Arduino Mega2560 is selected as the main control board for the alarm signal processing unit in this example, because this main control board power consumption is low, small, have the multi-channel input/output interface, be convenient for with the multi-device connection and easily program.
The first and second bluetooth modules are selectable: HC-05, HC-08, HC-02, HC-06, HC-42, etc. In this example, the HC-05 Bluetooth module is selected as the first Bluetooth module because the first Bluetooth module is compatible with the Bluetooth module in the alarm headband. In this example, the second bluetooth module is selected from the HC-08 bluetooth module, because the second bluetooth module needs to be compatible with electronic devices such as a smart phone, it is easy to pair and connect.
The GPS module can be selected from: ATGM336H-5N-31, NEO-7N, NEO-6M, GY-NEO6MV2, etc., in this example, the ATGM336H-5N-31GPS module is selected as the GPS module, because the module has low power consumption, accurate positioning and compatibility with a plurality of navigation systems in the world.
The GPS antenna and the lithium battery can be selected or customized according to actual conditions, and an IPX dual-mode antenna and a 6V900mAh lithium battery are selected in the embodiment.
The following description of specific connections and debugging is made:
a1 pin of an HC-05 Bluetooth module in the alarm signal processing unit is connected into a 15 jack of an Arduino Mega2560 main control board, and a2 pin of the module is connected into a 14 jack of the Arduino Mega2560 main control board. The pins of the module 12 are connected into a 3.3V jack of an Arduino Mega2560 main control board, and the pins 13 are connected into a GND jack on the right side of the 3.3V jack of the Arduino Mega2560 main control board. Other pins of the module are suspended and not connected.
The 1 pin of the HC-08 Bluetooth module is connected into a 17 jack of an Arduino Mega2560 main control board, and the 2 pin of the module is connected into a 16 jack of the Arduino Mega2560 main control board. The pins of the module 12 are connected into a 3.3V jack of an Arduino Mega2560 main control board, and the pins 13 are connected into a GND jack on the right side of the 3.3V jack of the Arduino Mega2560 main control board. Other pins of the module are suspended and not connected.
The GPS antenna is connected with an ATGM336H-5N-31GPS module IPX port through a signal shielding line.
The ATGM336H-5N-31GPS module VCC pin is connected to the 5V jack of the Arduino Mega2560 main control board, the module GND pin is connected to the GND pin on the left side of the 13 pin of the Arduino Mega2560 main control board, the module TX pin is connected to the 19 jack of the Arduino Mega2560 main control board, and the module RX pin is connected to the 18 pin of the Arduino Mega2560 main control board. The module PPS pin is suspended and not connected.
The positive pole of the 6V900mAh lithium battery is connected with the jack of the main control panel Vin of Arduino Mega2560, and the negative pole of the lithium battery is connected with the GND jack on the left side of the jack of the main control panel Vin of Arduino Mega 2560.
Setting the HC-05 Bluetooth module to be in a 'host mode' with a Baud rate of 57600; the HC-08 bluetooth module is set to "slave mode" baud rate of 9600. The ATGM336H-5N-31GPS module may use its default settings.
Wherein the normal connection of bluetooth is shown as: after the power is switched on, the yellow LED lamp of the GPS module flickers to indicate that the positioning is successful and sends positioning information to the Arduino Mega2560 main control board. When the blue LED flashing mode of the HC-05 Bluetooth module is changed into two flashing modes and one flashing mode is stopped, the module is successfully connected with the Bluetooth module of the alarm head band. The HC-08 module blue LED will become a normally on state, indicating that the smart phone has been successfully connected with the HC-08 Bluetooth module. After the installation is completed, the alarm signal receiving and detecting unit and the alarm signal processing unit are in a 3D perspective view, and fig. 4 is a 3D perspective view of the embodiment, wherein the left side is an alarm headband, and the right side is the alarm signal processing unit.
After confirming that the system works normally, the following description of the whole working process is carried out:
the user wears the warning headband, and the correct wearing mode is as follows: the metal electrode in front of the headband is fixed in the center of the forehead of a user, the magnetic pole is guaranteed to be in maximum area contact with the skin, and the left ear clip of the headband is clamped at the left earlobe. The TGAM will read the user's electroencephalogram data in real time after the headband is properly worn, and the TGAM data can be parsed and stored in the Arduino Mega2560 master control board by TGAM communication code in the Arduino Mega2560 master control board. This is the normal state of the device.
When the Arduino Mega2560 main control board calculates that the user is in an abnormal state currently through a frightening detection algorithm based on the Euclidean distance, the Arduino NANO activates the vibration module to remind the user to operate. If the user carries out the operation of blinking fast to Arduino Mega2560 main control panel calculates out user's frequency of blinking through two down-sampling blink detection algorithm and is higher than set threshold value, then calls to get into this device alarm state this moment, and Arduino Mega2560 main control panel will send the instruction for cell-phone APP through the bluetooth, lets it utilize APP to send distress message for urgent contact, and select activation cell-phone bee calling organ or not activate cell-phone bee calling organ according to the setting. After sending alarm information, Arduino NANO will activate the vibration module and give the user the warning feedback, and the user manually gets into cell-phone APP cancellation alarm state afterwards, and this device resumes normal state.
If the Arduino Mega2560 main control board does not measure that the user is in an abnormal state at present but the user performs a quick blink operation through a frightening detection algorithm based on the euclidean distance, and the Arduino Mega2560 main control board measures that the blink frequency of the user is higher than a set threshold through a double-down-sampling blink detection algorithm, the device also enters an alarm state. After the alarm operation is completed, the user manually enters the mobile phone APP to cancel the alarm state and recover to the normal state.
If the Arduino Mega2560 main control board calculates that the user is in an abnormal state currently through the startle detection algorithm based on the euclidean distance, but the user does not perform the rapid blink operation and the Arduino Mega2560 main control board calculates that the blink frequency of the user is not higher than the set threshold value through the double-downsampling blink detection algorithm, the device is called to enter the calibration state, the Arduino Mega2560 main control board records the maximum value of the euclidean distance in the startle detection algorithm based on the euclidean distance currently as a reference value, the minimum threshold value of the startle detection algorithm based on the euclidean distance is updated to be the reference value, and then the normal state of the device is recovered.
The TGAM brain wave processing module transmits data in a serial data stream mode, 513 data packets are transmitted every second, the transmitted data packets comprise a large data packet and a small data packet, one small data packet comprises a rawdata value, and one large data packet comprises a signal intensity value, a concentration value, a relaxation value and 8 EEG Power values; the 8 EEGPower values are output in the following order: delta (0.5-2.75Hz), theta (3.5-6.75Hz), low frequency alpha (7.5-9.25Hz), high frequency alpha (10-11.75 Hz), low frequency beta (13-16.75Hz), high frequency beta (18-29.75 Hz), low frequency gamma (31-39.75Hz), and medium frequency gamma (41-49.75 Hz); under normal circumstances, the TGAM electroencephalogram processing module will transmit all the data back in the form of one-second transmission; and the data packet is transmitted to a main control board in the alarm signal processing unit through onboard Bluetooth for further processing.
The accuracy of the invention is explained by experiments and data below:
example 9
The brain wave-triggered non-contact alarm device and the alarm detection method thereof are the same as those of embodiments 1 to 8.
Experiment 1: blink detection
Experimental setup: 5 adult males and females with normal blink function are used as experimental bodies, and electroencephalogram data of normal blink, quick blink and no blink in unit time (3 seconds) are collected under a resting state.
The experimental results are as follows: see fig. 7, 8, 9 and 10.
Fig. 7 is a waveform diagram of the raw data during single blink, the horizontal axis is time, the vertical axis is the raw data value, the raw data value information is extracted from the alarm signal processing unit, and fig. 7 shows that a narrow pulse is generated at 3000ms, and the sudden change of the raw data value caused by blink activity is collected at 3000ms in the test process.
FIG. 8 is a diagram of variance fluctuation after a double down-sampling blink detection algorithm in a single blink, wherein the horizontal axis is time and the vertical axis is variance value, and the diagram is the diagram of variance fluctuation after the signal acquired from the alarm signal processing unit and the double down-sampling blink detection algorithm. In fig. 8, the solid dots are detected blinking dots, the broken lines are threshold values, and the algorithm calculates that blinking is performed once in the time zone.
Fig. 9 is a waveform diagram of the raw data during fast blinks of the present invention, in which the horizontal axis represents time and the vertical axis represents the raw data value, and is the raw data value information extracted from the alarm signal processing unit of the present invention, and it can be seen in fig. 9 that the raw data value fluctuates strongly 10 times in total within the time period due to ten blinks.
Fig. 10 is a diagram of variance fluctuation after a double downsampling blink detection algorithm for a fast blink according to the present invention. In fig. 10, solid dots indicate detected blinking dots, and dotted lines indicate threshold values. As can be seen from the figure, 10 strong fluctuations are detected in total after the algorithm calculation, which indicates a total of 10 blinks within the time period.
Experiments show that under the condition of multiple groups of experiments, the double-down sampling blink detection method has universality, 125 blink value points are correctly detected in 136 data points, the detection accuracy is 91.91%, and the double-down sampling blink detection method has engineering practical value.
Example 10
The brain wave-triggered non-contact alarm device and the alarm detection method thereof are the same as those of embodiments 1 to 8.
Experiment 2: startle detection
Experimental setup: 40 adults with normal brain functions are used as experimental subjects to play a computer game named as scare maze, wherein a player is required to control cursor movement by using a mouse but is not allowed to touch a specified wall edge, in a third stage, the game requires the player to pass through a tiny gap, the player needs to concentrate attention for passing, but when the player passes the third stage, the game automatically jumps out of a scare picture, and the player is scared by different degrees. According to the experiment, electroencephalogram data of an experimental body are recorded when the experimental body plays games, and through appearance observation, when the experimental body shows a frightened state, the current electroencephalogram data value is marked and recorded as an abnormal electroencephalogram data value.
The experimental results are as follows:
fig. 11 is a scatter diagram of gamma brain wave values when the patient is frightened.
The solid circles in FIG. 11 represent detected outliers, corresponding to the labeled values.
Fig. 12 is a scatter diagram of gamma brain wave values without being frightened.
Table 1 shows abnormal point detection tables obtained by analyzing 40 subjects using the startle detection algorithm based on the euclidean distance.
TABLE 1
Figure BDA0002378336040000161
Figure BDA0002378336040000171
In table 1, there were 13 subjects among 40 subjects who were not or not significantly frightened, and 27 subjects who were frightened. In all data verification, 18 experimental data accurately judge the mark points or accurately find that no mark points exist; judging that a plurality of abnormal values exist in 16 experimental data, but marking points exist in the abnormal values; there were 6 experimental data with errors. The overall accuracy was 75%.
Alarm device all has comparatively obvious appearance design on the existing market, if draw formula alarm, is designed into an ellipsoid type alarm main part and is furnished with a pull ring usually, wears to take etc. with daily hand-carried article or clothes and has more obvious differentiation, very easily is perceived by the criminal suspect to destroy alarm device or keep apart when implementing the crime. All unit components of the receiving and detecting unit are arranged in the head band, the appearance of the receiving and detecting unit is the head band, and a plurality of women can select various head bands to match when going out. More importantly, the natural brain waves of the human body are directly collected through the electrodes, and the alarm information is naturally transmitted to the outside through the interconnection of the Bluetooth of the intelligent mobile phone and the Bluetooth of the intelligent mobile phone without manual intervention, so that the alarm action amplitude is reduced to the minimum, and the concealment is strong. In addition, the invention also has the advantage of accuracy. According to the invention, whether a user is in a dangerous condition is judged by adopting a frightening detection algorithm based on the European distance, through verification, the brain wave data of most people in an emergency can be detected, then the current blink frequency of the user is rapidly calculated based on a double-downsampling blink detection algorithm, the user can send alarm information to the outside only by a blink program, and the situation that the emergency is detected efficiently and the false alarm phenomenon is prevented by the active and passive combination of an alarm process is ensured to the maximum extent.
In short, the brain wave triggered non-contact alarm device and the alarm detection method thereof provided by the invention solve the technical problem of non-contact alarm, belong to the technical field of intelligent electronics, and particularly relate to a technology applied to the aspect of personal safety protection alarm. The sending unit is the user's smart phone. The processing unit is interconnected with the head band through a group of Bluetooth, and the processing unit is interconnected with the smart phone of the user through a group of Bluetooth. The receiving and detecting unit has the main function of collecting brain waves, the processing unit has the main function of processing and comparing brain wave data of a user, and the sending unit has the main function of sending a distress short message to the outside. The method comprises the steps of wearing an alarm headband to collect brain wave signals in real time; the device has no alarm signal in a steady state; in the burst state, the European distance startle detection algorithm is used for carrying out abnormity judgment; judging whether to alarm in an emergency state; the device alarm process in the burst state; and (5) resetting after the alarm is finished. The startle algorithm and the blink algorithm are core algorithms for solving the non-contact alarm problem. The invention is a non-contact alarm, has the advantages of low false alarm rate, portability, strong concealment and the like, can alarm without manual intervention, and is suitable for personal safety defense alarm.

Claims (7)

1. A brain wave triggered non-contact alarm device is sequentially provided with an alarm signal receiving and detecting unit, an alarm signal processing unit and an alarm signal sending unit according to an alarm signal transmission flow; the device is referred to as a receiving and detecting unit, a processing unit and an alarm unit; the brain wave-triggered non-contact alarm device is characterized in that physical equipment of the brain wave-triggered non-contact alarm device is divided into an alarm headband, an alarm signal processing unit and an alarm signal sending unit; the alarm signal receiving and detecting unit comprises a TGAM brain wave processing module, a micro main control board, a vibration module, a Bluetooth module and a bioelectricity collecting electrode, wherein the bioelectricity collecting electrode comprises an ear clip type potential sensor and a forehead potential sensor, and is completely installed and fixed in an alarm head band; the alarm head band is designed into a double-layer head band with an interlayer, all components of the alarm signal receiving and detecting unit are arranged in the interlayer of the head band, and an ear clip type potential sensor is led out from the left side of the head band; the forehead potential sensor acquires a bioelectricity signal, the TGAM brain wave processing module converts the bioelectricity signal into brain wave data, the brain wave data comprises a wave generation value and a brain wave power value, and the blink value can be obtained by calculating the wave generation value; the TGAM brain wave processing module transmits brain wave data of a user to the alarm signal processing unit through the Bluetooth module, and the brain wave data is processed by the alarm signal processing unit and then fed back to the Bluetooth module to send vibration instruction information to the micro main control board to control the vibration module to vibrate; the alarm signal processing unit comprises a main control board, a GPS positioning module, a GPS signal receiving antenna and at least two Bluetooth modules, wherein the two Bluetooth modules are respectively called a first Bluetooth module and a second Bluetooth module, a brain wave operation processing circuit is formed by taking the main control board as a core, and the two Bluetooth modules are all arranged in a square box; the Bluetooth module in the alarm signal receiving and detecting unit and the first Bluetooth module in the alarm signal processing unit are set to be in a pairing state; a second Bluetooth module in the alarm signal processing unit is set to be in an unpaired state and can be paired with any smart phone; the alarm signal processing unit receives brain wave signals from the alarm signal receiving and detecting unit through the first Bluetooth module, returns vibration instruction information to the alarm signal receiving and detecting unit through the same Bluetooth module, and simultaneously transmits alarm instruction information generated by operation of the main control board to the alarm signal sending unit through the second Bluetooth module for alarming, wherein the alarm signal sending unit is a smart phone, and Bluetooth inherent to the smart phone is paired and connected with the second Bluetooth module in the alarm signal processing unit to receive the alarm instruction information from the alarm signal processing unit; a specific application program is installed on the smart phone of the user, the specific application program also needs to be installed on the specific smart phone specified by the user, and the application program comprises the current position information, the current time and the distress short message of the user; a user needs to appoint a specific smart phone number for receiving alarm information in advance to alarm; it is sufficient for people to be alert.
2. The brain wave-triggered non-contact alarm device according to claim 1, wherein, the core device of the alarm signal receiving and detecting unit is a TGAM brain wave processing module, the bioelectrical signal collected by the forehead potential sensor is firstly transmitted to the TGAM brain wave processing module, the bioelectrical signal is converted into brain wave data in the TGAM brain wave processing module, the brain wave data is transmitted to the Bluetooth module, the brain wave data is sent to a first Bluetooth module of the alarm signal processing unit by the Bluetooth module, the first Bluetooth module transmits the brain wave data to a main control board of the alarm signal processing unit, the main control board runs the received brain wave data on a frightening detection algorithm based on the Euclidean distance and a double-down sampling blink detection algorithm, generates an instruction signal and feeds the instruction signal back to the Bluetooth module of the alarm signal receiving and detecting unit through the first Bluetooth module.
3. The brain wave-triggered contactless alarm device according to claim 1, wherein the alarm signal processing unit is a portable processing unit that receives and processes the brain wave signal and transmits an alarm instruction signal to the alarm signal transmitting unit;
a transmitting end of the first Bluetooth module is correspondingly connected with a receiving end of a third serial port of the main control board, and the receiving end of the first Bluetooth module is correspondingly connected with the transmitting end of the third serial port; a transmitting end of the second Bluetooth module is correspondingly connected with a receiving end of a second serial port of the main control board, and the receiving end of the second Bluetooth module is correspondingly connected with the transmitting end of the second serial port; the sending end of the GPS module is correspondingly connected with the receiving end of the first serial port of the main control board, and the receiving end of the GPS module is correspondingly connected with the sending end of the first serial port to jointly form a brain wave operation processing circuit taking the main control board as a core.
4. The brain wave-triggered non-contact alarm device according to claim 1, wherein the alarm signal sending unit is a smart phone of a user, the smart phone is provided with an App and a buzzer, and three working modes are set according to the use requirements of the user;
(1) working mode-warning working mode
The buzzer of the smart phone is used for carrying out sound warning, so that the effect of frightening is achieved;
(2) working mode two short message alarm mode
Alarming to the outside in a short message mode and concealing the alarm;
(3) working mode three-double alarm mode
Meanwhile, a buzzer of the smart phone is used for sound alarm and short message alarm.
5. An alarm detection method of a brain wave-triggered non-contact alarm device, which is used on the brain wave-triggered non-contact alarm device, is characterized by comprising the following steps:
(1) wearing an alarm headband to collect brain wave signals in real time: the method comprises the following steps that a user correctly wears an alarm head band, the alarm head band is in a normal working state, in the working state, the user is required to place a sensor contact end at the middle position of a forehead, the tightness of the head band is adjusted to be proper, shelters such as hairs are removed, complete contact is achieved, meanwhile, the ear clip contact end is required to be in complete contact with the skin at the ear lobe, and when a data stream Signal value in a TGAM brain wave processing module is 0, the user is confirmed to be correctly worn and the alarm head band is in a normal working state; a user installs a specific application program on the mobile phone and a specific specified smart phone;
(2) the device has no alarm signal in a steady state: if no emergency happens, the current brain wave of the user does not trigger an alarm process; the whole system cannot trigger any operation, the smart phone software cannot send alarm information, and the alarm signal receiving and detecting unit monitors brain waves of the user in real time;
(3) and (3) in the burst state, performing abnormity judgment by using a European distance startle detection algorithm: when a special condition occurs to a user, the brain wave data can generate a burst signal, the burst bioelectric signal is converted into brain wave data through the TGAM brain wave processing module, the brain wave data is sent to a first Bluetooth module and a main control board in the alarm signal processing unit through a Bluetooth module in the alarm signal receiving and detecting unit, the main control board calculates through a frightening detection algorithm based on Euclidean distance, and performing brain wave data verification to monitor whether the user is currently in a dangerous state, and if receiving the brain wave data converted from the burst bioelectric signal, the master control board generates vibration instruction information when the alarm device is in a dangerous state, the vibration instruction information is sent to a micro master control board in the alarm signal receiving and detecting unit through a first Bluetooth module in the alarm signal receiving and detecting unit, and the micro master control board activates a vibration module to remind a user that the user is in a preparation alarm stage after receiving the vibration instruction information;
(4) judging whether to alarm in an emergency state: the main control board runs a double-down sampling blink detection algorithm on brain wave data received from the first Bluetooth module to calculate the current blink frequency of the user, and judges whether an alarm is necessary or not by using the blink frequency; if the current blink frequency of the user reaches a set threshold value, the main control board sends an alarm signal to an alarm signal sending unit, namely the smart phone, through a second Bluetooth module in the processing unit, and simultaneously sends a vibration signal to a micro main control board in the receiving and detecting unit through a first Bluetooth module again, so that the micro main control board activates a vibration module to remind the user that the alarm signal is sent; if the blink frequency of the user does not reach the set threshold value, the main control board in the processing unit judges that the detection is false, and a subsequent alarm program cannot be operated; if the user is in a dangerous state and does not receive the vibration prompt, the user can directly activate the alarm program by blinking rapidly, and the processing flow of the alarm program is the same as the above;
(5) device alarm flow under the emergency state: when the main control board in the processing unit judges that the current state needs to be alarmed, the main control board sends alarm instruction information to the user smart phone through the second Bluetooth module; after receiving the alarm instruction information based on the inherent Bluetooth of the smart phone, the smart phone automatically sends a distress message containing the current position and time of the user to a specific smart phone number appointed by the user in advance through a specific smart phone application program;
(6) resetting process after alarm completion: after a complete alarm process is completed, if a user needs to enter a specific smart phone application to manually cancel the current alarm state, the specific smart phone application will stop sharing the position information, and the whole alarm device is reset.
6. The method as claimed in claim 5, wherein the european distance-based startle detection algorithm in step 3 is used to detect whether the user is currently in a startle state, and the specific algorithm flow is as follows:
3.1 extracting the fixed wave band electroencephalogram data: collecting brain wave data from an alarm signal receiving and detecting unit, extracting a Middle gamma value and a Low gamma value from the brain wave data, and regarding the values as a two-dimensional point set A1;
3.2 judging abnormal points: calculating Euclidean distance between two corresponding points in a point set A1, storing the Euclidean distance as a one-dimensional matrix X1, performing descending order sorting on the one-dimensional matrix X1, and regarding data of the first 3% of a sequence in X1 as abnormal points;
3.3 startle state judgment: storing the two-dimensional point serial numbers of the abnormal points into a one-dimensional matrix X2, and regarding the two-dimensional point serial numbers existing in the first quadrant in the one-dimensional matrix X2 as that the user is in a frightened state at present;
3.4 startle detection feedback: then receiving the blink frequency from the double-downsampling blink algorithm, if the blink frequency is higher than a threshold value, confirming that the user is in a startle state, and storing the current threshold value as a reference value; if the blinking frequency is lower than the threshold value, confirming that the user is not in a frightened state, and storing the maximum value of the current Euclidean distance, namely the maximum value of the one-dimensional matrix X1 as a reference value; when the algorithm is carried out again, if the calculated threshold is higher than the reference value, the current threshold is taken as the actual threshold; and if the calculated threshold value is lower than or equal to the reference value, taking the reference value as the actual threshold value.
7. The method for detecting an alert of a brain wave-triggered contactless alert device according to claim 5, wherein the double down-sampling blink detection method in step 4 is used to detect the blink frequency of the user in a unit time, where the unit time is defined as 3 seconds, and the specific algorithm flow is as follows:
4.1 first downsampling: collecting brain wave data from an alarm signal receiving and detecting unit, extracting a raw data value from the brain wave data, and performing first downsampling on the raw data value, namely obtaining a peak matrix Y1 from a raw data matrix X1, wherein the peak is defined as: setting the current lower index as n, if the slope of the positions n-1 to n is a positive value and the slope of the positions n to n +1 is a negative value, defining the value X1n of the current position n as a peak value;
4.2 second downsampling: continuing to obtain the peak matrix Y2 in the peak matrix Y1 according to the method defined above, namely, performing second down-sampling;
4.3 sliding window variance: the variance of Y2 is calculated by adopting a sliding window method, namely 4 is taken as the window size in Y2, the variance of every 4 data is calculated, and the final value is stored as a one-dimensional matrix X2;
4.4 blink determination and calculation of blink frequency: searching a peak matrix Y3 in X2, establishing a rule, and if the peak value Y3n is higher than 1X 10^4 and the distance between the front peak value and the current peak value is more than or equal to 3 data points, determining that the user blinks when the peak value Y3n is generated; by counting the length of the peak matrix Y3 in unit time, the number of blinks and the frequency of blinks of the user in unit time can be calculated.
CN202010075274.2A 2020-01-22 2020-01-22 Brain wave triggered non-contact alarm device and alarm detection method thereof Pending CN111161509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010075274.2A CN111161509A (en) 2020-01-22 2020-01-22 Brain wave triggered non-contact alarm device and alarm detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010075274.2A CN111161509A (en) 2020-01-22 2020-01-22 Brain wave triggered non-contact alarm device and alarm detection method thereof

Publications (1)

Publication Number Publication Date
CN111161509A true CN111161509A (en) 2020-05-15

Family

ID=70565062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010075274.2A Pending CN111161509A (en) 2020-01-22 2020-01-22 Brain wave triggered non-contact alarm device and alarm detection method thereof

Country Status (1)

Country Link
CN (1) CN111161509A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111743538A (en) * 2020-07-06 2020-10-09 江苏集萃脑机融合智能技术研究所有限公司 Brain-computer interface alarm method and system
CN111856958A (en) * 2020-07-27 2020-10-30 西北大学 Intelligent household control system, control method, computer equipment and storage medium
CN114327048A (en) * 2021-12-07 2022-04-12 重庆邮电大学 Mechanical arm control method and system based on electroencephalogram signals and electro-oculogram signals
CN114327048B (en) * 2021-12-07 2024-04-19 山东华数信息技术股份有限公司 Mechanical arm control method and system based on electroencephalogram signals and electrooculogram signals

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111743538A (en) * 2020-07-06 2020-10-09 江苏集萃脑机融合智能技术研究所有限公司 Brain-computer interface alarm method and system
CN111856958A (en) * 2020-07-27 2020-10-30 西北大学 Intelligent household control system, control method, computer equipment and storage medium
CN114327048A (en) * 2021-12-07 2022-04-12 重庆邮电大学 Mechanical arm control method and system based on electroencephalogram signals and electro-oculogram signals
CN114327048B (en) * 2021-12-07 2024-04-19 山东华数信息技术股份有限公司 Mechanical arm control method and system based on electroencephalogram signals and electrooculogram signals

Similar Documents

Publication Publication Date Title
US10582289B2 (en) Enhanced biometric control systems for detection of emergency events system and method
US20180228405A1 (en) Fall prediction system including an accessory and method of using same
US20150130613A1 (en) Selectively available information storage and communications system
CN105023392A (en) Intelligent bracelet with life alarm function and system thereof
CN205050303U (en) Human paralysis of intelligence is monitoring devices
EP3946050A1 (en) Monitoring system and method of using same
CN110162182B (en) Electroencephalogram control module device and method for controlling controlled equipment by electroencephalogram control module device
CN205988284U (en) A kind of rhythm of the heart monitoring device
CN111161509A (en) Brain wave triggered non-contact alarm device and alarm detection method thereof
CN105852840A (en) Heart rhythm monitoring device
CN107818659A (en) A kind of intelligent distress system and calling method
KR20180006692A (en) Terminal, wearable device, and method for monitoring emotional stability of user
US20170280222A1 (en) Real-Time Multivariable Biometric Analysis and Display System and Method
CN109330574A (en) A kind of intelligent guarding system based on Internet of Things
KR101754576B1 (en) Biological signal analysis system and method
US20230210464A1 (en) Ear-wearable system and method for detecting heat stress, heat stroke and related conditions
CN211181014U (en) Brain wave triggered non-contact alarm device
CN211381321U (en) Portable heart rate monitoring feedback system
CN107212855A (en) Intelligence nurse bracelet and intelligent safeguard system
WO2018108096A1 (en) Smart helmet having physiological detection function, and physiological detection method
IT201600094345A1 (en) Monitoring system of the physical conditions of at least one user and Method for monitoring the physical conditions of a user
WO2022094089A1 (en) Ear-wearable devices for detecting, monitoring, or preventing head injuries
CN208014134U (en) A kind of intelligence distress system
CN207149037U (en) A kind of Intelligent worn device with warning device
CN220651402U (en) Multifunctional wearable device for preventing accidental injury

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