Intelligent pain automatic analysis system
Technical Field
The invention relates to an automatic pain analysis system, in particular to an intelligent automatic pain analysis system, and belongs to the field of intelligent medical systems.
Background
The existing medicine adopts mice for experiments, so that the research of drug application to pain is carried out. However, research results from animal to human are often not linear concepts. Therefore, how to directly collect pain data of a human body is the most accurate to study the stimulation condition of a clinical test of a drug. Thus, analysis of the data base of pain signals in combination with models is required to obtain accurate drug assessments.
On the other hand, the acquisition data for the life outside the hospital is also extremely important. The volunteer can thus perform a large-scale test without be temporarily released from one's regular work, thereby improving the efficiency of the test. Therefore, how to adopt a flexible and convenient acquisition device is also a key of the technology.
Finally, since pain is a subjective perception of a person, it can be described in terms of language, the mechanism behind which is abnormality of physiological parameters, and thus can be described as parameter abnormality-pain description, whereas parameter abnormality is caused by factors such as medication administration, and thus pain can be described as a process of medication-parameter-pain description over time, essentially regarded as a process of natural language generation. Thus, if attention mechanisms are considered, a description of the level of pain may be automatically analyzed in real time instead of a person.
Disclosure of Invention
Based on the problems in the prior art, the invention has the following technical points that the first device for acquiring heart rate, blood pressure and finger and foot pressure data is considered, and the second device adopts an attention mechanism intelligent model based on the time interval of heterogeneous signals to analyze pain data so as to train the level of pain according to the time occurrence relation among four heterogeneous signals of hands, wrists, feet and skin electricity.
Based on the above consideration, the present invention provides an intelligent pain automatic analysis system, comprising three wearable devices of hand, wrist and foot, which are respectively used for data acquisition of hand touch pressure, heart rate and blood pressure, foot touch pressure time-varying function, a finger EDA skin electric signal measuring device, which is used for connecting with the wrist wearable device to acquire hand skin electric signals, and a remote server, wherein,
The signals generated by the hand wearable device and the foot wearable device are transmitted to the wrist wearable device in a wireless mode, the wrist wearable device is connected with the finger skin electric signal measured by the skin electric signal measuring device, the finger skin electric signal measured by the finger skin electric signal measuring device is transmitted to the remote server, and the remote server predicts the pain level by utilizing a pre-trained intelligent model based on heterogeneous signal time domain attention mechanisms.
Optionally, the hand wearable device includes a plurality of hand touch pressure sensors that set up on the flexible substrate to and the first integrated circuit that connects all hand touch pressure sensors that sets up on the flexible substrate, the foot wearable device includes flexible podotheca, flexible podotheca includes the base pad that is provided with a plurality of foot touch pressure sensors and is provided with the second integrated circuit that is connected with all foot touch pressure sensors, the wrist wearable device includes host computer and the wrist strap of being connected with the host computer, EDA skin electric signal measurement device includes a plurality of skin electric acquisition pieces, through signal line with the interface connection that can dismantle electric connection on the host computer, wherein, first integrated circuit and second integrated circuit all include data processor, and data wireless transmitter for with the host computer communication or directly to remote server carries out data transmission.
The intelligent model pre-training method based on the heterogeneous signal time domain attention mechanism comprises the following steps:
s1, constructing a foot touch pressure, a hand touch pressure, SCL (skin electric signal level) and heart rate time change function, and acquiring all wave crests of the SCL;
S2 for each SCL wave crest, dividing the time span of the wave crest into n time elements ,,。。。,Constructing a long-short range memory model by taking each time element as a unitWill beCorrespondence of infinitesimalDetected heart rateInput the first cell, input the next cell through the intermediate transport layer, and thenDetected heart rate corresponding to the infinitesimalInputting the second unit, inputting the next unit via the intermediate transmission layer, and so on to obtainA plurality of output values input into the firstIn the function, a plurality of outputs are obtainedForming an output matrixSimultaneously measuring blood pressure in each time element,,。。。,The matrix formedAnd the output matrixPerforming matrix multiplication to obtain attention valueWhereinA heart rate matrix formed for the heart rates of the n time bins;
s3 for each SCL peak, the same is followed by the step of S2 based on the same n time bins ,,。。。,Establishing a hand touch pressure short range memory modelAlso using a secondThe function obtains multiple outputs to form a matrixMatrix formed by foot contact pressureMatrix multiplication to form motion values,The matrix is touched by hands;
s4 calculating pain class Repeating steps S2-S3 to obtain pain levels of all SCL wave crests, thereby completing the construction of the model, whenThe pain level cannot be judged in exercise, otherwiseFor the purpose of mood swings,For a slight pain, the pain, for example,For moderate pain, the pain is not limited to,The pain of the patient is extremely high,A perceived pain threshold for somatosensory evaluation of all volunteers;
S5, recruiting volunteers, wearing three wearable devices, namely a hand, a wrist and a foot, carrying out medicine intake by using an EDA skin electric signal measuring device, and collecting data by a remote server for training a model according to the steps of S2-S4.
It will be appreciated that by introducing training of hand-foot contact pressure, the resulting exercise value excludes the skin-electricity fluctuations due to exercise, mood, etc., and filters out the relatively pure contributions belonging to pain.
Optionally, the hand wearable device is not attached to the palm face by hydrogel, and the wrist wearable device is a smart watch.
Advantageous effects
The data monitoring of heart rate, blood pressure, hand-foot touch pressure and skin electricity is realized through the sensing of hands, feet and wrists and the intelligent device, and the data monitoring is transmitted to a remote server to perform the automatic analysis of pain level based on the intelligent model of the attention mechanism of the heterogeneous attention signal time domain. So that the human body detection of pain can be used for the research of adverse clinical reaction of medicines without be temporarily released from one's regular work at the hospital.
Drawings
Figure 1 is a schematic diagram of the components of a wearable intelligent pain automatic analysis system according to an embodiment of the present invention,
Figure 2 is a graph of foot pressure, hand pressure, SCL, heart rate signal as a function of time,
FIG. 3 is a logic diagram of a pre-training method algorithm for an intelligent model based on a heterogeneous signal time domain attention mechanism.
Detailed Description
Fig. 1 shows a wearable intelligent pain automatic analysis system, which comprises a flexible substrate with hydrogel attached to the palm surface, a smart watch with a main body with a touch screen, wrist bands connected to two sides of the main body, a foot sleeve, a finger EDA skin electric signal measuring device, a remote server, and a remote server, wherein the data acquisition is respectively used for acquiring hand touch pressure, heart rate and blood pressure, and foot touch pressure time-varying functions (shown in fig. 2).
In fig. 1, a flexible substrate with hydrogel attached to the palm surface is provided with a right thumb, an index finger and a middle finger, and two hand touch pressure sensors a of the palm center, the group comprises a base pad and a top surface, the base pad is provided with a heel one and a foot front end one, the foot touch pressure sensor B of the thumb one, each hand touch pressure sensor a and each foot touch pressure sensor are respectively connected with a first integrated circuit of the heel and a second integrated circuit arranged on the top surface through flexible wires, and the two integrated circuits are respectively provided with a data processing and wireless transmitter for processing and transmitting acquired hand touch pressure data and foot touch pressure data to a remote server.
The finger EDA skin electric signal measuring device is provided with three skin electric acquisition sheets which are arranged on the thumb, the index finger and the palm surface of the left hand and are connected with an interface which is detachably and electrically connected with the host through signal wires, and the host uploads skin electric signals to a remote server. The remote server uses a pre-trained intelligent model of the attention mechanism based on the time intervals of the xenogenic signals to input the received data to predict pain levels.
Fig. 2 shows a plot of foot pressure, hand pressure, SCL, heart rate signal as a function of time, including two phases after taking the subject. For convenience, the time period from the taking of the medicine to the pain is cut off for convenience of explanation. In the figure, after pain is generated, the heart rate starts to accelerate, which is shown by the shortened period, and three corresponding obvious main peaks (indicated by downward arrows) appear on the SCL. The hand-touch function graph shows a plurality of peaks generated by disassembling the package when taking medicine and a stable pressure signal after holding the cup.
The pressure reduction caused by the lifting of the legs when the two legs leave the ground due to pain is generated on the foot touch pressure function chart, which indicates that the experimenter generates body movement due to the pain. However, as the wave peaks of the hand touch and the foot touch are less, the factors of physical exercise can be eliminated. Therefore, from the whole analysis of the heterogeneous signals, the intelligent automatic analysis and perception of the pain sense is realized, and the analysis is needed to be carried out aiming at the attention mechanism of each signal.
The intelligent model pre-training method based on the heterogeneous signal time domain attention mechanism comprises the following steps:
S1, constructing a foot touch, hand touch, SCL skin electric signal level and heart rate time change function, and acquiring all wave crests of the SCL (for example, figure 2);
S2 for each SCL wave crest, dividing the time span of the wave crest into n time elements ,,。。。,Constructing a long-short range memory model by taking each time element as a unitWill beCorrespondence of infinitesimalDetected heart rateInput the first cell, input the next cell through the intermediate transport layer, and thenDetected heart rate corresponding to the infinitesimalInputting the second unit, inputting the next unit via the intermediate transmission layer, and so on to obtainA plurality of output values input into the firstIn the function, a plurality of outputs are obtainedForming an output matrixSimultaneously measuring blood pressure in each time element,,。。。,The matrix formedAnd the output matrixPerforming matrix multiplication to obtain attention valueWhereinA heart rate matrix formed for the heart rates of the n time bins;
s3 for each SCL peak, the same is followed by the step of S2 based on the same n time bins ,,。。。,Establishing a hand touch pressure short range memory modelAlso using a secondThe function results in a plurality of outputsForming a matrixMatrix formed by foot contact pressureMatrix multiplication to form motion values,The matrix is touched by hands;
s4 calculating pain class Repeating steps S2-S3 to obtain pain levels of all SCL wave crests, thereby completing the construction of the model, whenThe pain level cannot be judged in exercise, otherwiseFor the purpose of mood swings,For a slight pain, the pain, for example,For moderate pain, the pain is not limited to,The pain of the patient is extremely high,A perceived pain threshold for somatosensory evaluation of all volunteers;
S5, recruiting volunteers, wearing three wearable devices, namely a hand, a wrist and a foot, carrying out medicine intake by using an EDA skin electric signal measuring device, and collecting data by a remote server for training a model according to the steps of S2-S4.