A Parkinson's disease detection system and device based on wrist tremor signal

Through a detection system based on wrist tremor signals, machine learning algorithms and multidimensional linear regression equations are used to solve the existing problem of low accuracy of Parkinson's diagnosis, achieve efficient identification and diagnosis of Parkinson's patients, and improve diagnostic efficiency and accuracy.

CN115500822BActive Publication Date: 2024-09-17HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211294802.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-21
Publication Date
2024-09-17
Estimated Expiration
2042-10-21

Smart Images

  • Figure CN115500822B
    Figure CN115500822B
Patent Text Reader

Abstract

A Parkinson's detection system and device based on wrist tremor signals. The present invention relates to a Parkinson's detection system and device based on wrist tremor signals. The purpose of the present invention is to solve the problem of low diagnostic accuracy of Parkinson's disease in existing methods. The system includes: a data acquisition module, a data division module, a data detection and correction module, a data preprocessing module, a feature data set acquisition module, a training set and test set acquisition module, a machine learning module, and a detection module; the data acquisition module is used to collect wrist tremor signals during onset and normal wrist signals during non-onset; the data division module is used to divide the wrist tremor signals during onset and normal wrist signals during non-onset collected by the data acquisition module; the data detection and correction module is used to perform real-time data detection on the divided data to correct missing values ​​and abnormal values. The present invention is used in the technical field of wrist tremor signal recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a Parkinson's disease detection system and device based on wrist tremor signals. The present invention relates to the technical field of wrist tremor signal recognition. Background Art

[0002] Parkinson's disease is a very common neurological disease. There are about 3 million patients in my country. The prevalence of Parkinson's disease in the elderly over 65 years old is about 1.7%-5%, ranking first in the world. It is the third largest killer of middle-aged and elderly people. Common symptoms of Parkinson's disease include resting tremor, muscle rigidity, abnormal gait and bradykinesia, but the early onset is relatively hidden. The diagnosis is mainly based on clinical manifestations and the effect of polyrotational levofloxacin treatment. There is a lack of biological indicators, which consumes a lot of energy and has low clinical diagnosis efficiency. Therefore, the robust and efficient identification of Parkinson's disease based on wrist tremor signals has great practical significance for the medical diagnosis and later treatment effect evaluation of Parkinson's patients. Summary of the invention

[0003] The purpose of the present invention is to solve the problem of low diagnostic accuracy of Parkinson's disease in existing methods, and to propose a Parkinson's disease detection system and device based on wrist tremor signals.

[0004] A Parkinson's disease detection system based on wrist tremor signals comprises:

[0005] Data collection module, data division module, data detection and correction module, data preprocessing module, feature data set acquisition module, training set and test set acquisition module, machine learning module, detection module;

[0006] The data acquisition module is used to collect wrist tremor signals when the disease occurs and normal wrist signals when the disease does not occur;

[0007] The data division module is used to divide the wrist tremor signal during the onset of disease and the normal wrist signal during the non-onset of disease collected by the data collection module;

[0008] The data detection and correction module is used to perform real-time data detection on the divided data to correct missing values ​​and abnormal values;

[0009] The data preprocessing module is used to filter the data after the missing values ​​and abnormal values ​​are corrected, and perform preprocessing operations on the synthetic acceleration data;

[0010] The feature data set acquisition module is used to perform feature extraction and feature dimension reduction on the preprocessed signal to obtain a feature data set;

[0011] The training set and test set acquisition module is used to divide the feature data set into a training set and a test set;

[0012] The machine learning module is used to obtain a training data model, perform machine learning training on the training set using a K-nearest neighbor algorithm and verify it using a test set, and finally obtain a trained training data model;

[0013] The detection module is used to input the wrist tremor signal to be tested into the trained training data model, and classify the wrist tremor signal to be tested. If it is a normal signal, the wrist tremor signal will continue to be collected; if it is an abnormal signal, a multidimensional linear regression equation will be constructed using frequency characteristics to evaluate the severity of Parkinson's disease.

[0014] A Parkinson's disease detection device based on a wrist tremor signal comprises a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement a Parkinson's disease detection device based on a wrist tremor signal.

[0015] The beneficial effects of the present invention are:

[0016] 1. Real-time monitoring of patients through efficient recognition algorithms facilitates timely identification of disease conditions and early warning.

[0017] 2. By recording relevant physiological indicators at the time of onset, it is convenient for doctors to diagnose patients and monitor the treatment effects.

[0018] 3. By analyzing the tremor signal at the time of the onset of the disease, it is convenient to accurately judge the severity of the patient's illness and thus determine the dosage of the medicine. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a flow chart of the Parkinson's disease detection method of the present invention;

[0020] Figure 2 Flowchart of optimizing the variational mode decomposition denoising method for the Firefly algorithm. DETAILED DESCRIPTION

[0021] Specific implementation method 1: In this implementation method, a Parkinson's disease detection system based on wrist tremor signal includes:

[0022] Data collection module, data division module, data detection and correction module, data preprocessing module, feature data set acquisition module, training set and test set acquisition module, machine learning module, detection module;

[0023] The data acquisition module is used to collect wrist tremor signals when the disease occurs and normal wrist signals when the disease does not occur;

[0024] The data division module is used to divide the wrist tremor signal during the onset of disease and the normal wrist signal during the non-onset of disease collected by the data collection module;

[0025] The data detection and correction module is used to perform real-time data detection on the divided data, and construct a related function based on the basic principles of the multiple filling method and Chebyshev inequality to correct missing values ​​and outliers;

[0026] The data preprocessing module is used to perform data preprocessing operations such as filtering and synthesizing acceleration on the data after the missing values ​​and outliers are corrected;

[0027] The feature data set acquisition module is used to perform feature extraction and feature dimension reduction on the preprocessed signal, determine the feature effect, and obtain the feature data set;

[0028] The training set and test set acquisition module is used to divide the feature data set into a training set and a test set to obtain training learning data in a unified format;

[0029] The machine learning module is used to obtain a training data model, perform machine learning training on the training set using a K-nearest neighbor algorithm and verify it using a test set, and finally obtain a trained training data model;

[0030] The detection module is used to input the wrist tremor signal to be tested into the trained training data model, and classify the wrist tremor signal to be tested. If it is a normal signal, the wrist tremor signal will continue to be collected; if it is an abnormal signal, a multidimensional linear regression equation will be constructed using frequency characteristics to evaluate the severity of Parkinson's disease.

[0031] Specific implementation method two: This implementation method is different from specific implementation method one in that the data acquisition module is used to collect wrist tremor signals when the disease occurs and normal wrist signals when the disease is not severe; the wrist tremor signals when the disease occurs and the normal wrist signals when the disease is not severe are both acquired by a three-axis acceleration sensor, and the wrist tremor signals when the disease occurs and the normal wrist signals when the disease is not severe acquired by the three-axis acceleration sensor are both three-axis acceleration signals.

[0032] The other steps and parameters are the same as those in the first embodiment.

[0033] Specific implementation method three: This implementation method is different from specific implementation method one or two in that the data division module is used to divide the wrist tremor signal during the onset of disease and the normal wrist signal during the non-onset of disease collected by the data collection module; the specific process is:

[0034] Calculate the time domain features of the wrist tremor signal collected during the onset of Parkinson's disease, including the peak value of the signal during the onset of Parkinson's disease, the number of zero crossings of the signal during the onset of Parkinson's disease, and other features;

[0035] Calculate the frequency domain features of the wrist tremor signal collected during the onset of Parkinson's disease, the frequency domain features include the main frequency of the signal during the onset of Parkinson's disease, the power spectrum density of the signal during the onset of Parkinson's disease, the energy spectrum density, the weighted power spectrum density obtained from the power spectrum density, and the maximum power spectrum obtained from the power spectrum density;

[0036] Simulating daily life, the normal wrist signal data collected by the data acquisition module before the disease occurs is divided into two states: motion state interference segments and static state stable segments, with the motion state interference segments and static state stable segments each accounting for 50%.

[0037] A tremor signal is collected when a person is ill, and a normal signal is collected when the person is not ill (including collecting a motion state signal when the person is moving when the person is not ill and collecting a static state signal when the person is still when the person is not ill).

[0038] The other steps and parameters are the same as those in the first or second embodiment.

[0039] Specific implementation method 4: This implementation method is different from the specific implementation methods 1 to 3 in that the data detection and correction module is used to perform real-time data detection on the divided data, and constructs a related function based on the basic principles of the multiple filling method and Chebyshev inequality to correct missing values ​​and outliers;

[0040] The specific process is:

[0041] Step 301, call the df.isnull function in the pandas library in Python to find the missing value NAN in the divided data, where the missing value NAN is the i-th data in the divided data, select the data before and after the missing value, that is, the i-1th and i+1th data, divide the interval composed of the i-1th to i+1th data into m parts, generate m data, use Bayesian estimation to obtain the probability corresponding to each data for the generated m data, and take the maximum value of the m probability values ​​as the estimated value of the missing value NAN;

[0042] Step 302: Detect the outliers contained in the divided data by the 3σ detection method, remove the outliers, and correct the outliers according to step 301;

[0043] The 3σ detection method is:

[0044] p(|XE(X)|≥ε)≤D(X) / ε 2 ≈0.11

[0045] Where: ε is the length of the interval near the mean, ε = 3σ, σ is the standard deviation, D(X) is the standard deviation, D(X) = σ is the standard deviation, X is the sample value, E(X) is the mean of the sample, and p() is the probability of an outlier occurring;

[0046] When E(X)-ε≤X≤E(X)+ε, X is a normal value;

[0047] When X>E(X)+ε or X<E(X)-ε, X is an outlier.

[0048] The other steps and parameters are the same as those in the first or second embodiment.

[0049] Specific implementation method 5: This implementation method is different from the specific implementation methods 1 to 4 in that the data preprocessing module is used to perform data preprocessing operations such as filtering and synthesizing acceleration on the data after the missing values ​​and abnormal values ​​are corrected; the specific process is:

[0050] Step 401, performing FA-VMD-WTD denoising on the data after correction of abnormal values ​​and missing values ​​to obtain denoised signal data;

[0051] The FA-VMD-WTD method is a variational mode decomposition denoising combined with wavelet hard thresholding after being optimized by the firefly optimization algorithm;

[0052] The FA is a firefly algorithm, which determines the important parameter decomposition layer K value and penalty factor α value for VMD through FA. The optimal parameter K value and α value are obtained based on the signal-to-noise ratio and root mean square error.

[0053] The VMD is variational mode decomposition, which can be divided into two aspects: constructing a variational problem and solving a variational problem. The optimal solution is iteratively searched to determine the component center frequency and bandwidth of each component, which can reduce the non-stationarity of complex time series.

[0054] The WTD is wavelet hard threshold denoising; wavelet hard threshold denoising is a type of wavelet threshold denoising. Wavelet threshold denoising is to transform the original signal through wavelet, and then select a suitable threshold. It can be considered that the wavelet coefficients greater than the threshold are retained, and the wavelet coefficients less than the threshold are set to zero to achieve the purpose of denoising;

[0055] According to the Parkinson's disease detection method proposed by the present invention, the FA-VMD-WTD method in step 401 is a denoising method of variational mode decomposition denoising combined with wavelet hard threshold processing after being optimized by the firefly optimization algorithm. The optimization process is as follows: Figure 2 shown.

[0056] Step 402: synthesize acceleration on the denoised signal data (independent of step 401):

[0057]

[0058] Among them: A x, A y , A z They are the acceleration signals after denoising on the x, y, and z axes respectively.

[0059] The other steps and parameters are the same as those in Specific Embodiments 1 to 4.

[0060] Specific implementation method 6: This implementation method is different from any one of specific implementation methods 1 to 5 in that in step 401, the data after correction of abnormal values ​​and missing values ​​is subjected to FA-VMD-WTD method denoising to obtain denoised signal data;

[0061] The FA-VMD-WTD method is a variational mode decomposition denoising combined with wavelet hard thresholding after being optimized by the firefly optimization algorithm;

[0062] The FA is the firefly algorithm; the VMD is the variational mode decomposition; the WTD is the wavelet hard threshold denoising;

[0063] The specific process is:

[0064] Step 4011, solving the optimal variational mode decomposition method parameters K and α based on the firefly algorithm FA; the specific process is:

[0065] S1. According to the key parameters required for variational mode decomposition, set the value range of K and α in the variational mode decomposition VMD algorithm;

[0066] K is the number of modes of the decomposition target, and α is the quadratic penalty factor;

[0067] Said 3≤K≤20;

[0068] The 500≤α≤2500;

[0069] S2, initialize the basic parameters of the firefly algorithm FA, which are the problem dimension, population size, maximum attraction β0, light absorption coefficient (0.0001), step factor (0.97), number of iterations, and the value range of K and α;

[0070] K is the number of modes of the decomposition target, and α is the quadratic penalty factor;

[0071] Said 3≤K≤20;

[0072] The 500≤α≤2500;

[0073] S3, randomly initialize the K value and α value of the i-th firefly as the initial position in the space, i = 1, 2, ..., 25;

[0074] S4. Different fireflies have different K values ​​and α values. The fitness function of the i-th firefly is calculated as the fluorescein value l of the i-th firefly at time t. i (t), as the maximum fluorescence brightness I0 of the i-th firefly;

[0075] S5. Calculate the relative brightness I of the i-th firefly in the group r and attraction β, determine the maximum I r value, move the i-th firefly towards the maximum I r (Determines the direction of firefly movement) value;

[0076]

[0077]

[0078] The r represents the distance between two fireflies, γ represents the light intensity absorption coefficient, I0 represents the maximum fluorescence brightness, I r represents the relative brightness of the firefly, β represents the attractiveness, β0 represents the maximum attractiveness, and its value is 1.

[0079] S6, based on β and I in S5 r (Each firefly has moved to a new position) Update the spatial position of the i-th firefly, that is, the new K value and α value, the formula is:

[0080]

[0081] The X i (t+1) represents the updated spatial position of the i-th firefly, X i (t) represents the spatial position of the i-th firefly, X j (t) represents the spatial position of the jth firefly, represents the step size factor, rand represents a random factor that follows a uniform distribution on [0, 1];

[0082] Based on the new K value and α value, S4 is re-executed to obtain the maximum fluorescence brightness;

[0083] Randomly move to the position of the firefly with stronger fluorescence brightness (the best position), recalculate the brightness of the firefly according to the updated position of the firefly, and the brightness of the firefly will be enhanced after the update;

[0084] S7. Determine whether the set maximum number of iterations has been reached. If so, output the optimal firefly brightness and position, that is, the optimal K value and α value (output the optimal firefly luminous intensity); if not, re-execute S4-S6 based on the new K value and α value until the maximum number of iterations is reached, and output the optimal firefly position, that is, the optimal K value and α value.

[0085] Preferably, in the process of optimizing the variational mode decomposition denoising method by the firefly algorithm in step 401, the signal-to-noise ratio is used as a fitness function to solve the optimal parameter K value and α value in the variational mode decomposition:

[0086]

[0087] Where: n is the signal length, f(t i ) is a noisy signal, is the signal after noise reduction, f is the fitness function;

[0088] Step 4012: Perform variational modal decomposition on the collected wrist tremor signal data using the K value and the α value obtained in step 4011, and determine the dominant signal component, the interference signal component, and the noise signal component; the specific process is as follows:

[0089] Import the variational mode decomposition module vmdpy in pyson, import the K value and α value obtained by the FA algorithm and the collected wrist tremor signal into the variational mode decomposition module to obtain K decomposed signals;

[0090] Calculate the correlation between each decomposed signal and the collected wrist tremor signal (original signal), and take the component with a correlation of 0.5-1.0 as the dominant signal component, the component with a correlation of 0.2-0.5 as the interference signal component, and the component with a correlation of 0-0.2 as the noise signal component;

[0091] Step 4013: perform wavelet denoising on the dominant signal component, interference signal component, and noise signal component determined in step 4012; the specific process is as follows:

[0092] For the noise signal component, it is directly discarded;

[0093] For the dominant signal component, it is directly retained;

[0094] For the interference signal component, wavelet hard threshold denoising is used;

[0095] Step 4014: directly synthesize the components after the wavelet denoising process in step 4013 to obtain denoised signal data.

[0096] The other steps and parameters are the same as those in Specific Implementation Methods 1 to 5.

[0097] Specific implementation method 7: This implementation method is different from any one of specific implementation methods 1 to 6 in that the feature data set acquisition module is used to perform feature extraction and feature dimension reduction on the signal after noise removal by the FA-VMD-WTD method, determine the feature effect, and obtain the feature data set; the specific process is:

[0098] Extract features (such as time domain features and frequency domain features) of the signal after noise removal by the FA-VMD-WTD method;

[0099] The signal has more than ten frequency domain features. Redundant features will affect the efficiency and accuracy of the algorithm. The principal component analysis algorithm is the most widely used data dimensionality reduction algorithm. The principal component analysis algorithm is used to calculate the importance of the extracted features, and the principal component analysis method is used to screen the importance of the features. The TSNE visualization is used to achieve feature dimensionality reduction for the features whose importance has been calculated to obtain a feature data set.

[0100] The other steps and parameters are the same as those in Specific Embodiments 1 to 6.

[0101] Specific implementation eight: This implementation is different from specific implementations one to seven in that the detection module is used to input the wrist tremor signal to be detected into a trained training data model, classify the wrist tremor signal to be detected, and if it is a normal signal, continue to collect the wrist tremor signal; if it is an abnormal signal, use the frequency characteristics to construct a multidimensional linear regression equation to evaluate the degree of Parkinson's disease; the specific process is:

[0102] Select weighted power spectrum density, main frequency, maximum power spectrum, and peak value to construct a four-dimensional linear regression equation, the expression is:

[0103] Rank=a1×PSD Mean +a2×F0+a3×PSD Max +a4×Peak+b

[0104] Among them, Rank is the score, a1, a2, a3, a4, b are the coefficients of the four-dimensional linear regression equation, PSD Mean is the weighted power spectral density, F0 is the main frequency, PSD Max is the maximum value of the power spectrum, and Peak is the peak value.

[0105] The severity of Parkinson's disease diagnosis is quantified using the Rank score, and the higher the score, the more severe the Parkinson's symptoms.

[0106] The other steps and parameters are the same as those in Specific Embodiments 1 to 7.

[0107] Specific embodiment 9: This embodiment is different from any one of specific embodiments 1 to 8 in that a Parkinson's disease detection system based on wrist tremor signals further includes a medication dosage determination module, which is used to determine medication dosage. The medication dosage calculation method is:

[0108] The severity of wrist tremor was divided into five levels: none, mild, small amplitude, medium amplitude, and large amplitude;

[0109] Rank values ​​are 0, 1, 2, 3, 4;

[0110] 0 corresponds to none in the wrist tremor severity range;

[0111] 1 corresponds to mild severity of wrist tremor;

[0112] 2 corresponds to a low amplitude in the wrist tremor severity scale;

[0113] 3 corresponds to moderate amplitude in the severity of wrist tremor;

[0114] 4 corresponds to a high amplitude in the wrist tremor severity scale;

[0115] Determine the dosage based on different Rank values ​​and the time of tremor onset:

[0116]

[0117]

[0118] MT(t+1)=MT(t)+AT-OT×ω

[0119] Where Do sin gN(t) represents the dosage of the tth medication when the disease is not present. It indicates the dosage of the i′th drug, which is only related to the score. The higher the score, The larger the α i′ Indicates the type of medication, which is the medicine that needs to be taken for different conditions;

[0120] Where Do sin gY(t) represents the dosage of the tth medication at the onset of disease, It indicates the dosage of the i-th drug, which is only related to the score. The higher the score, The larger the β i″ Types of medications: medicines that need to be taken for different conditions;

[0121] MT(t+1) represents the time of taking the medicine for the t+1th time, MT(t) represents the time of taking the medicine for the tth time, AT represents the interval between taking the medicine, OT represents the time of onset, ω represents the effect of onset on the time of taking the medicine, ω=1 when the disease occurs, and ω=0 when the disease does not occur.

[0122] Edit the above formula into a function in Python and set different parameters α, β, ω for different conditions.

[0123] The other steps and parameters are the same as those in Specific Embodiments 1 to 8.

[0124] Specific embodiment 10: This embodiment is a Parkinson's detection device based on wrist tremor signals, the device includes a processor and a memory. It should be understood that including any device including a processor and a memory described in the present invention, the device may also include other units and modules that perform display, interaction, processing, control, etc. and other functions through signals or instructions;

[0125] The memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the Parkinson's disease detection system based on wrist tremor signals.

[0126] Simulation experiment

[0127] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0128] The coefficients of the regression equation were solved according to the Unified Parkinson's Rating Scale score and the four frequency features. For the obtained four-dimensional linear regression equation for predicting Parkinson's tremor score, if the predicted score is a negative number, the value is 0 (normal state).

[0129] Table 1 Detailed list of original feature sets

[0130]

[0131]

[0132] This embodiment proposes a Parkinson's detection system and device based on wrist tremor signals, obtains a relevant fast and effective machine learning training library and a four-dimensional linear regression equation for evaluation, which can be applied to the underlying chip to quickly distinguish and ensure a certain accuracy.

[0133] A Parkinson's detection system based on wrist tremor signals can be used on mobile phones, PCs, reminder devices in rehabilitation hospitals, and so on.

[0134] Those skilled in the art can understand that the accompanying drawings are only schematic diagrams of an embodiment, and the modules or processes in the accompanying drawings are not necessarily required to implement the present invention.

[0135] The present invention may also have many other embodiments. Without departing from the spirit and essence of the present invention, those skilled in the art may make various corresponding changes and modifications based on the present invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the present invention.

Claims

1. A Parkinson's disease detection system based on wrist tremor signals, characterized in that: The system comprises: Data collection module, data division module, data detection and correction module, data preprocessing module, feature data set acquisition module, training set and test set acquisition module, machine learning module, detection module; The data acquisition module is used to collect wrist tremor signals when the disease occurs and normal wrist signals when the disease does not occur; The data division module is used to divide the wrist tremor signal during the onset of disease and the normal wrist signal during the non-onset of disease collected by the data collection module; The data detection and correction module is used to perform real-time data detection on the divided data to correct missing values ​​and abnormal values; The data preprocessing module is used to filter the data after the missing values ​​and abnormal values ​​are corrected, and perform preprocessing operations on the synthetic acceleration data; The feature data set acquisition module is used to perform feature extraction and feature dimension reduction on the preprocessed signal to obtain a feature data set; The training set and test set acquisition module is used to divide the feature data set into a training set and a test set; The machine learning module is used to obtain a training data model, perform machine learning training on the training set using a K-nearest neighbor algorithm and verify it using a test set, and finally obtain a trained training data model; The detection module is used to input the wrist tremor signal to be detected into the trained training data model, classify the wrist tremor signal to be detected, and if it is a normal signal, continue to collect the wrist tremor signal; if it is an abnormal signal, use the frequency characteristics to construct a multidimensional linear regression equation to evaluate the degree of Parkinson's disease; The data acquisition module is used to collect wrist tremor signals when the disease occurs and normal wrist signals when the disease does not occur; the wrist tremor signals when the disease occurs and the normal wrist signals when the disease does not occur are both acquired by a three-axis acceleration sensor, and the wrist tremor signals when the disease occurs and the normal wrist signals when the disease does not occur acquired by the three-axis acceleration sensor are both three-axis acceleration signals; The data division module is used to divide the wrist tremor signal during the onset of disease and the normal wrist signal during the non-onset of disease collected by the data collection module; the specific process is: Calculate the time domain features of the wrist tremor signal collected during the onset of Parkinson's disease, including the peak value of the signal during the onset of Parkinson's disease and the number of zero crossings of the signal during the onset of Parkinson's disease; Calculate the frequency domain features of the wrist tremor signal collected during the onset of Parkinson's disease, the frequency domain features include the main frequency of the signal during the onset of Parkinson's disease, the power spectrum density of the signal during the onset of Parkinson's disease, the energy spectrum density, the weighted power spectrum density obtained from the power spectrum density, and the maximum power spectrum obtained from the power spectrum density; The normal wrist signal data collected by the data acquisition module when the disease is not severe is divided into two states: motion state interference segments and static state stable segments, with the motion state interference segments and static state stable segments accounting for 50% each; The data detection and correction module is used to perform real-time data detection on the divided data, and construct a related function based on the basic principles of the multiple filling method and Chebyshev inequality to correct missing values ​​and outliers; The specific process is: Step 301, call the df.isnull function in the pandas library in Python to find the missing value NAN in the divided data, where the missing value NAN is the i-th data in the divided data, select the data before and after the missing value, that is, the i-1th and i+1th data, divide the interval composed of the i-1th to i+1th data into m parts, generate m data, use Bayesian estimation to obtain the probability corresponding to each data for the generated m data, and take the maximum value of the m probability values ​​as the estimated value of the missing value NAN; Step 302: Detect the outliers contained in the divided data by the 3σ detection method, remove the outliers, and correct the outliers according to step 301; The 3σ detection method is: p(X-E(X)|≥ε)≤D(X) / ε 2 ≈0.11 Where: ε is the length of the interval near the mean, ε = 3σ, σ is the standard deviation, D(X) is the standard deviation, D(X) = σ is the standard deviation, X is the sample value, E(X) is the mean of the sample, and p(XE(X)|≥ε) is the probability of an outlier occurring; When E(X)-ε≤X≤E(X)+ε, X is a normal value; When X>E(X)+ε or X<E(X)-ε, X is an outlier; The data preprocessing module is used to filter the data after the missing values ​​and outliers are corrected, and perform preprocessing operations on the synthetic acceleration data; the specific process is: Step 401, performing FA-VMD-WTD denoising on the data after correction of abnormal values ​​and missing values ​​to obtain denoised signal data; The FA-VMD-WTD method is a variational mode decomposition denoising combined with wavelet hard thresholding after being optimized by the firefly optimization algorithm; The FA is a firefly algorithm; The VMD is variational mode decomposition; The WTD is wavelet hard threshold denoising; Step 402: synthesize acceleration on the denoised signal data: Among them: A x , A y , A z They are the acceleration signals after denoising of x, y and z axes respectively; In step 401, the data after correction of abnormal values ​​and missing values ​​are subjected to FA-VMD-WTD method denoising to obtain denoised signal data; The FA-VMD-WTD method is a variational mode decomposition denoising combined with wavelet hard thresholding after being optimized by the firefly optimization algorithm; The FA is the firefly algorithm; the VMD is the variational mode decomposition; the WTD is the wavelet hard threshold denoising; The specific process is: Step 4011, solving the optimal variational mode decomposition method parameters K and α based on the firefly algorithm FA; the specific process is: S1. Set the value range of K and α in the variational mode decomposition VMD algorithm; K is the number of modes of the decomposition target, and α is the quadratic penalty factor; Said 3≤K≤20; The 500≤α≤2500; S2, initialize the basic parameters of the firefly algorithm FA, which are the problem dimension, population size, maximum attraction β0, light absorption coefficient, step factor, number of iterations, and the value range of K and α; K is the number of modes of the decomposition target, and α is the quadratic penalty factor; Said 3≤K≤20; The 500≤α≤2500; S3, randomly initialize the K value and α value of the i-th firefly as the initial position in the space, i = 1, 2, ..., 25; S4. Calculate the fitness function of the i-th firefly as the fluorescein value l of the i-th firefly at time t i (t), as the maximum fluorescence brightness I0 of the i-th firefly; S5. Calculate the relative brightness I of the i-th firefly in the group r and attraction β, determine the maximum I r value, move the i-th firefly to the maximum I r The value moves in the direction of movement; The r represents the distance between two fireflies, γ represents the light intensity absorption coefficient, I0 represents the maximum fluorescence brightness, I r represents the relative brightness of fireflies, β represents the attractiveness, and β0 represents the maximum attractiveness; S6, based on β and I in S5 r Update the spatial position of the i-th firefly, that is, the new K value and α value, the formula is: The X i (t+1) represents the updated spatial position of the i-th firefly, X i (t) represents the spatial position of the i-th firefly, X j (t) represents the spatial position of the jth firefly, represents the step size factor, rand represents a random factor that follows a uniform distribution on [0, 1]; Based on the new K value and α value, S4 is re-executed to obtain the maximum fluorescence brightness; S7, determine whether the set maximum number of iterations has been reached, if so, output the optimal firefly brightness and firefly position, that is, the optimal K value and α value (output the optimal firefly luminous intensity); if not, re-execute S4-S6 based on the new K value and α value until the maximum number of iterations is reached, and output the optimal firefly position, that is, the optimal K value and α value; Step 4012: Perform variational modal decomposition on the collected wrist tremor signal data using the K value and the α value obtained in step 4011, and determine the dominant signal component, the interference signal component, and the noise signal component; the specific process is as follows: Import the variational mode decomposition module vmdpy in pyson, import the K value and α value obtained by the FA algorithm and the collected wrist tremor signal into the variational mode decomposition module to obtain K decomposed signals; Calculate the correlation between each decomposed signal and the collected wrist tremor signal, and take the component with a correlation of 0.5-1.0 as the dominant signal component, the component with a correlation of 0.2-0.5 as the interference signal component, and the component with a correlation of 0-0.2 as the noise signal component; Step 4013: perform wavelet denoising on the dominant signal component, interference signal component, and noise signal component determined in step 4012; the specific process is as follows: For the noise signal component, it is directly discarded; For the dominant signal component, it is directly retained; For the interference signal component, wavelet hard threshold denoising is used; Step 4014, directly synthesize the components after the wavelet denoising process in step 4013 to obtain denoised signal data; The feature data set acquisition module is used to extract features and reduce the feature dimension of the signal after the noise is removed by the FA-VMD-WTD method to obtain a feature data set; the specific process is: Feature extraction is performed on the signal after noise removal by FA-VMD-WTD method; The principal component analysis algorithm is used to calculate the importance of the extracted features, and the principal component analysis method is used to screen the importance of the features. The TSNE visualization is used to reduce the dimension of the features whose importance has been calculated to obtain the feature data set. The detection module is used to input the wrist tremor signal to be tested into the trained training data model, classify the wrist tremor signal to be tested, and if it is a normal signal, continue to collect the wrist tremor signal; if it is an abnormal signal, use the frequency characteristics to construct a multidimensional linear regression equation to evaluate the degree of Parkinson's disease; the specific process is: Select weighted power spectrum density, main frequency, maximum power spectrum, and peak value to construct a four-dimensional linear regression equation, the expression is: Rank=a1×PSD Mean +a2×F0+a3×PSD Max +a4×Peak+b Among them, Rank is the score, a1, a2, a3, a4, b are the coefficients of the four-dimensional linear regression equation, PSD Mean is the weighted power spectral density, F0 is the main frequency, PSD Max is the maximum value of the power spectrum, Peak is the peak value; The system also includes a dosage determination module, which is used to determine the dosage. The dosage calculation method is: The severity of wrist tremor was divided into five levels: none, mild, small amplitude, medium amplitude, and large amplitude; Rank values ​​are 0, 1, 2, 3, 4; 0 corresponds to none in the wrist tremor severity range; 1 corresponds to mild severity of wrist tremor; 2 corresponds to a low amplitude in the wrist tremor severity scale; 3 corresponds to moderate amplitude in the severity of wrist tremor; 4 corresponds to a large amplitude in the wrist tremor severity scale; Determine the dosage based on different Rank values ​​and the time of tremor onset: MT(t+1)=MT(t)+AT-OT×ω Where DosingN(t) represents the dosage of the tth medication when the disease is not present. represents the dosage of the i′th drug, α i′ Indicates the type of medication; Where DosingY(t) represents the dosage of the tth medication at the onset of the disease. Indicates the dosage of the i-th drug; β i″ For the type of medication; MT(t+1) represents the time of taking the medicine for the t+1th time, MT(t) represents the time of taking the medicine for the tth time, AT represents the interval between taking the medicine, OT represents the time of onset, ω represents the effect of onset on the time of taking the medicine, ω=1 when the disease occurs, and ω=0 when the disease does not occur.

2. A Parkinson's disease detection device based on wrist tremor signals, characterized in that: The device comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the Parkinson's detection system based on wrist tremor signal as claimed in claim 1.