A kind of intelligent domestic system for gradually freezing disease patient
Technical field
The present invention relates to biomedical rehabilitative engineering technology field, particularly a kind of intelligent domestic system for gradually freezing disease patient.
Background technology
Amyotrophic lateral sclerosis (amyotrophiclateralsclerosis, ALS), is commonly called as gradually freezing disease, is caused by the interior motor neuron degeneration controlling skeletal muscle of central nervous system.From ill, patient body can slowly cannot move, just as gradually being freezed, so the normal behaviour that can have a strong impact on patient is movable.Although gradually freeze disease to cause in China and pay close attention to widely, its treatment means is still unsound, and daily nursing effect is also very limited.Gradually freeze in the nursing of disease patient, medical personnel and families of patients are difficult to accomplish real-time monitoring to patient, to provide nursing intervention timely and effectively.Patient is obstructed due to its action and language, is also difficult to when required relate to nursing staff in time, so patients ' life quality also receives very large impact.
Therefore, if the method and apparatus of linking up in time can be provided for gradually freezing disease patient, so all will be significant for their treatment and daily nursing.Not only contributing to the expression to gradually freezing disease patient self-demand and impression, medical personnel or family members also can be helped the nursing of patient.And the monitoring tool that we generally use at present, also language and limb action is only confined to the exchange and conmmunication of gradually freezing disease patient, now widely used calling device is also need limbs to operate, be unfavorable for that gradually freezing disease patient uses, especially disease patient is gradually frozen for severe, motion and language critical constraints, this monitoring control device is concerning cannot satisfy the demands them at all.Therefore, can accurately express patient's independent desire in the urgent need to one, and not rely on the intelligent controlling device of any language and limbs operation.Gradually freezing disease patient only needs by relying on function of nervous system or body small movements just can start and control device, do not relate to other limbs or language manipulation, such could facilitate exist motion and aphasis gradually freeze disease patient use, nursing staff also can be helped the nursing of patient.Meanwhile, current patient care control system is all that the identification of single-mode controls substantially, can only realize the simple functions such as call alerts.And gradually freeze the omnibearing nursing of disease needs of patients, so the Multimode Intelligent home control device that can realize several functions is highly significant for their life.
Summary of the invention
In order to solve above-mentioned existing problem, the object of the present invention is to provide a kind of intelligent domestic system for gradually freezing disease patient, what have an obstacle for action and language gradually freezes disease patient, devise a kind of intelligent domestic system, when gradually freezing disease patient whenever necessary, only need to start and control this intelligence system by independently blinking and focusing one's attention on, realize the switching between various modes controlling functions and selection, thus idea control can be realized, and language or action are not required, multinomial facility can be provided for daily nursing work, reduce medical personnel and gradually freeze the burden of disease patient.
In order to reach above object, technical scheme of the present invention is:
For the intelligent domestic system gradually freezing disease patient, comprise eeg signal acquisition unit, transmission unit, PC processing unit and select control unit; Eeg signal acquisition unit gather EEG signals and amplify, digitized, be then wirelessly transmitted to PC processing unit by transmission unit in the mode of Bluetooth communication, first PC processing unit carries out pretreatment after receiving signal, more pretreated data are passed through eSense
tMalgorithm gains attention force signal and signal of blinking, finally these two signals is generated control signals, then by bluetooth, control signal is sent to home control end and completes control.
Described eeg signal acquisition unit comprises TGAM chip, blue-tooth device, shielding line, electrode and battery, the EEG signal electrode tip of TGAM chip, REF reference electrode end, GND earth terminal, EEG shielding end is connected with the corresponding ports adopting EEG signals electrode with reference to shielding end respectively with REF, wherein REF reference electrode end is the benchmark of signal, the signal that EEG signal electrode tip collects removes the reference signal that REF reference electrode end collects just can obtain actual EEG signals, GND earth terminal is to ensure that circuit voltage has identical level reference, EEG shielding end and REF are to carry out guard shield to the signal gathered with reference to shielding end, reduce external interference impact, in addition, TGAM chip carries blue-tooth device, be connected with bluetooth with GND earth terminal by supply voltage VCC end, TX outfan, identical supply voltage and ground connection make bluetooth and TGAM mainboard only need a kind of power supply, and the connection of TX outfan simultaneously makes the signal collected directly can be transferred to bluetooth.
Described EEG signal electrode tip and REF reference electrode end adopt dry electrode to extract signal.
Described transmission unit is transmitted by the mode wireless blue tooth of serial communication by the signal input part of the signal of eeg signal acquisition unit and PC processing unit.
Described PC processing unit, first carries out pretreatment, filter out noise to the original EEG signals gathered, more pretreated data is passed through eSense
tMalgorithm carries out pattern discrimination, separates the eSense reading the current user mental status
tMparameter, the force signal parameter that gains attention and signal of blinking parameter.
Described selection control unit, the attention extracted and eigenvalue of blinking are carried out selection as input cooperation control, to blink as starting and stairstep signal, attention is as selection signal, and this process is made a visual interface, objective interface reflects the state that controlled Smart Home is current and selectable control catalogue, be sent to selecting the signal controlled and need controlled receiving terminal, receiving terminal completes control after receiving, the transmission of control signal and reception have been come by bluetooth, load onto bluetooth respectively at computer transmitting terminal and home control end and mate, just control end is made to receive the operation signal of computer transmission by bluetooth, thus the control completed home equipment.
The present invention adopts TGAM chip to gather EEG signals, then through eSense
tMalgorithm process gains attention power and signal of blinking, on this basis generating run signal realize multinomial basic control function through Bluetooth transmission.The acp chip that this device adopts is low-power chip, and integrated level is high, and cost is low, and volume is little; Transmitting procedure is all completed by wireless blue tooth, is easy to mobile, easy to use; Also for patient provides visual selection control inerface, facilitate patient to check and operate.The present invention be have action and an aphasis gradually freeze the intelligent home control device that disease patient provides a kind of hommization, there is important experimentation value.
The advantage of this research is:
1. the sense of independence that the present invention pays attention to gradually to freeze disease patient controls, by gather EEG signals and carry out analyzing and processing obtain patient attention and nictation information, then control whole device in conjunction with these two eigenvalues.
2. the brain electricity that the present invention gradually freezes disease patient by collection controls, and to action and language not requirement, applicable these two aspects has the patient of obstacle, and a needs is by focusing one's attention on and independently blink just energy practical function, very convenient patient's use.
3. the present invention uses TGAM and auxiliary circuit thereof to gather EEG signals, and this chip integration is high, and cost is low, device structure is simplified, the cost of package unit is dropped to minimum, its price, within the scope of the consumption ability to bear of most of patient, has larger use market.
4. the eSense of the extraction attention signal of the present invention's employing
tMalgorithm has obtained extensively accreditation and has used, relative maturity, easy to use, can obtain attention numerical value more accurately.
5. Signal transmissions of the present invention is all by Bluetooth wireless transmission, does not use electric lines of force, is easy to use and move.Can clear the jumps in effective range and connect, there is no special communication visual angle and direction requirement, facilitate patient to use.
6. the present invention devises the visual selection control inerface of hommization, shows feedback, facilitate when the state controlled and fructufy patient to check and operate.
7. the present invention can realize Multimode Intelligent control, can help gradually to freeze disease patient and realize various control function, solve multiple basic living problems of patient, for patient and nursing staff provide great convenience.
Accompanying drawing explanation
Fig. 1 is hardware effort schematic flow sheet of the present invention.
Fig. 2 is TGAM module hardware connection diagram of the present invention.
Fig. 3 is system control process figure of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, invention is described in detail.
As shown in Figure 1, a kind of intelligent domestic system for gradually freezing disease patient, comprises eeg signal acquisition unit, transmission unit, PC processing unit and selects control unit; Eeg signal acquisition unit gather EEG signals and amplify, digitized, be then wirelessly transmitted to PC processing unit by transmission unit in the mode of Bluetooth communication, first PC processing unit carries out pretreatment after receiving signal, more pretreated data are passed through eSense
tMalgorithmic model differentiates and to gain attention force signal and signal of blinking, finally these two signals is generated control signals, then by bluetooth, control signal is sent to home control end and completes control.
With reference to Fig. 2, described eeg signal acquisition unit comprises TGAM chip, blue-tooth device, shielding line, electrode and battery, the EEG signal electrode tip of TGAM chip, REF reference electrode end, GND earth terminal, EEG shielding end is connected with the corresponding ports adopting EEG signals electrode with reference to shielding end respectively with REF, wherein REF reference electrode end is the benchmark of signal, the signal that EEG signal electrode tip collects removes the reference signal that REF reference electrode end collects just can obtain actual EEG signals, GND earth terminal is to ensure that circuit voltage has identical level reference, EEG shielding end and REF are to carry out guard shield to the signal gathered with reference to shielding end, reduce external interference impact, in addition, TGAM chip carries blue-tooth device, be connected with bluetooth with GND earth terminal by supply voltage VCC end, TX outfan, identical supply voltage and ground connection make bluetooth and TGAM mainboard only need a kind of power supply, and the connection of TX outfan simultaneously makes the signal collected directly can be transferred to bluetooth.The power supply of whole module is extremely connected with bluetooth by positive and negative.Whole collecting unit overall power consumption is low, capacity of resisting disturbance is strong, volume is little, the life-span is long, the Long-term clinical that these features are all applicable to gradually freezing disease patient uses, extracting eigenvalue by gathering EEG signals, using the sense of independence of patient as control signal, realizing idea and controlling.
Described TGAM chip module, it is integrated with collection, the function such as amplification and A/D conversion of EEG signals.Integrated level is high, easy to use.
Described EEG signal electrode tip and REF reference electrode end adopt dry electrode to extract signal, and sample rate is 512Hz, and hardware filtering is 3Hz-100Hz, and working voltage is 2.97-3.63V.Wherein electrode comprises a dry electrode (being attached to forehead), two reference electrodes (being clipped in left and right ear mastoid process respectively to go out), 3V power supply.It is simple and convenient that dry electrode extracts signal, do not need conductive paste, and TGAM volume is little, is applicable to gradually freezing disease patient clinical and uses.
Described transmission unit is transmitted by the mode wireless blue tooth of serial communication by the signal input part of the signal of eeg signal acquisition unit and PC processing unit.TGAM chip and computer all carry blue-tooth device, no longer need additional blue-tooth device, signal sends in serial communication mode, and frequency is 512Hz, and baud rate is 57600, send the 8 bit data bags comprising packet data head, flag bit, data bit, check bit each time, transmission of wireless signals eliminates electric lines of force, reduces 50Hz Hz noise, and package unit is succinctly facilitated, also can connect through barrier simultaneously, and be convenient to mobile.
Described PC processing unit, first carries out pretreatment, filter out noise to the original EEG signals gathered, and for subsequent treatment provides convenient, more pretreated data is passed through eSense
tMalgorithm carries out pattern discrimination, separates the eSense reading the current user mental status
tMparameter, the force signal parameter that gains attention and signal of blinking parameter, computational methods are simple, follow-uply just in conjunction with attention signal parameter and signal of blinking state modulator and can regulate controlled system.
Described eSense
tMthe EEG signals attention that algorithm extracts and eigenvalue of blinking, attention feature reflects the current visual cognitive ability degree of user, and nictation, eigenvalue reflected the current number of winks of user and frequency.Signal of blinking mainly identifies according to the electromyographic signal mixed in brain electricity, and attention signal then passes through eSense
tMthe eSense that algorithm generates
tMparameter judges.
Described pattern discrimination, computer, from the data received, passes through eSense
tMalgorithm gains attention power numerical value, by comparing attention numerical value and threshold value and determine whether send operation signal.For signal of blinking, equally also eSense can be passed through
tMalgorithm identifies.When people blinks, forehead myoelectric potential there will be significant change, by detecting this change and identifiable design signal of blinking.
Described attention signal and signal of blinking pass through eSense
tMalgorithm extracts specific as follows: first, eSense
tMparameter carrys out the attention level of indicating user with the numerical value between 1 to 100.Numerical value means at 1-20 and is in " low value district ", illustrates that attention is very low.Numerical value then represents eSense now between 20-40
tMparameter level is in " lower value district ".The attention force value that numerical value represents this moment between 40 and 60 mediates scope.Numerical value represents that between 60-80 attention force value is this moment in " high value district ", that is a little more than normal level.Numerical value represents and is in " Spring layer " between 80-100, and it represents that your attention reaches very high level, is namely in the state be absorbed in very much.Given this, we 60 are set to threshold value, and that is, if in use detect, attention numerical value exceedes threshold value 60, is namely judged to be effective attention signal (attention is in collected state).This algorithm can also carry out the EEG signals gathered identifying nictation simultaneously.During nictation, the change of forehead myoelectric potential can cause occurring in initial data a larger crest and trough, when there is trough and crest once with static EEG value deviation more than 1/128 within blink successively, i.e. and identifiable design signal of blinking.
With reference to Fig. 3, described selection control unit, the attention extracted and eigenvalue of blinking are carried out selection as input cooperation control, to blink as starting and stairstep signal, attention is as selection signal, and this process is made a visual interface, objective interface reflects the state that controlled Smart Home is current and selectable control catalogue, be sent to selecting the signal controlled and need controlled receiving terminal, receiving terminal completes control after receiving, the transmission of control signal and reception have been come by bluetooth, load onto bluetooth respectively at computer transmitting terminal and home control end and mate, just control end is made to receive the operation signal of computer transmission by bluetooth, thus the control completed home equipment.The host port of Smart Home mainly comprises 29LV800CBTI-70 two kinds of chips that BC417 and MXIC company that CSR company produces produces and auxiliary circuit thereof, by the broadcaster of port controlling and 10 seconds timers.Wireless transmission is simple, is easy to mobile, and the low volume of control port cost is little, is suitable for gradually freezing disease patient clinical and uses.
The visual interface of described selection control unit is the interface of the human adopting C language to write.In the design, using nictation of obtaining after EEG Processing and attention eigenvalue as input, to blink as starting and stairstep signal, using attention as selection signal, if there are three nictation (exceeding the average frequency of normal person's nictation) by detecting after EEG Processing in two seconds, namely be judged to be that gradually freezing disease patient has demand, now control system starts, acquiescence enters first and controls option, and then carry out stepping by nictation, nictation and stepping one detected once, skip to next control option, be set to endless-walk, if namely step to when last controls option and still stairstep signal detected, first can be skipped to again and control option.When stepping to the option of needs, patient only need focus one's attention on, if detect, attention numerical value is more than 60 (threshold value of setting), i.e. this option selected, and after selecting, control system is closed automatically, until started by nictation more next time.Selecting and control in this process is that computer is realized to control port transmit operation signal by bluetooth transmitters in USB interface.Just can complete the simple control to home equipments such as air-conditioning, TV, curtain by such system, also can realize autonomous calling and warning function.
Operation principle of the present invention: with reference to Fig. 1, Fig. 3, when patient has demand, first start this control appliance nictation by continuously, TGAM chip starts Real-time Collection and processes EEG signals, is then sent to PC processing unit, passes through eSense
tMalgorithm calculates attention signal and signal of blinking, patient only needs by carrying out stepping selection nictation, focusing one's attention on after determining option, it is selected to carry out confirmation, and produce effective control signal through visual selection control unit, then to Smart Home host port transmit operation signal, after port accepts to operation signal, Smart Home completes corresponding operation.