CN115300873B - Data processing method for respiratory rehabilitation training - Google Patents

Data processing method for respiratory rehabilitation training Download PDF

Info

Publication number
CN115300873B
CN115300873B CN202211195246.XA CN202211195246A CN115300873B CN 115300873 B CN115300873 B CN 115300873B CN 202211195246 A CN202211195246 A CN 202211195246A CN 115300873 B CN115300873 B CN 115300873B
Authority
CN
China
Prior art keywords
height
training
curve
floating ball
impedance
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.)
Active
Application number
CN202211195246.XA
Other languages
Chinese (zh)
Other versions
CN115300873A (en
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.)
Jiangsu Nantong Dingshun Network Technology Co ltd
Original Assignee
Jiangsu Nantong Dingshun Network Technology Co ltd
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 Jiangsu Nantong Dingshun Network Technology Co ltd filed Critical Jiangsu Nantong Dingshun Network Technology Co ltd
Priority to CN202211195246.XA priority Critical patent/CN115300873B/en
Publication of CN115300873A publication Critical patent/CN115300873A/en
Application granted granted Critical
Publication of CN115300873B publication Critical patent/CN115300873B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B23/00Exercising apparatus specially adapted for particular parts of the body
    • A63B23/18Exercising apparatus specially adapted for particular parts of the body for improving respiratory function
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B24/00Electric or electronic controls for exercising apparatus of preceding groups; Controlling or monitoring of exercises, sportive games, training or athletic performances
    • A63B24/0087Electric or electronic controls for exercising apparatus of groups A63B21/00 - A63B23/00, e.g. controlling load

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Pulmonology (AREA)
  • Rehabilitation Tools (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention relates to the technical field of data processing, in particular to a data processing method for respiratory rehabilitation training, which comprises the steps of firstly obtaining the training effect during each respiratory training; then, a first fitting curve of the first floating ball in the current breathing training is obtained; selecting a similar curve of the first height curve in historical respiratory training; obtaining an adjustment coefficient of the second floating ball according to the matching degree between the first height curve and each similar curve and the corresponding effect difference; obtaining a second fitting curve based on the first fitting height, the actual height of the second floating ball and the adjusting coefficient; acquiring a second fitting height of a second floating ball, and acquiring the influence degree of unit impedance; and obtaining the impedance of the next breathing training based on the expected difference and the influence degree between the training effect and the expected effect of the current breathing training. The invention can transmit the impedance after the breathing training device is self-adaptively adjusted, so that the patient can achieve a stable training effect.

Description

Data processing method for respiratory rehabilitation training
Technical Field
The invention relates to the field of data processing, in particular to a data processing method for respiratory rehabilitation training.
Background
Patients need to do respiratory training before doing thoracic surgery, especially lung and esophagus surgery, to enhance respiratory muscle strength and tolerance; the inspiratory muscles of chronic obstructive pulmonary disease patients are particularly weak, and respiratory training is also needed to solve the problems of dyspnea and the like and improve the cardio-pulmonary function.
The breathing training device is frequently used in breathing training, impedance as important medical health data of a patient using the respirator has great influence on the training effect of the patient, if the impedance of the breathing training device is too small, the training purpose cannot be achieved, and the rehabilitation effect after the breathing training is carried out is possibly poor; if the impedance is too large, the patient can feel suffocated during the expiration process, and the respiratory muscles can be injured seriously. The existing breathing trainer has no technology for processing impedance data, so that the impedance of the breathing trainer is single; or corresponding impedance data are manually selected according to the specific conditions of patients, the impedance grade is adjusted, or fixed impedance is increased or decreased, so that the requirements of different patients cannot be met.
Disclosure of Invention
In order to solve the technical problem, the invention provides a data processing method for respiratory rehabilitation training, which adopts the following technical scheme:
one embodiment of the invention provides a data processing method for respiratory rehabilitation training, which comprises the following steps:
acquiring impedance corresponding to a breathing trainer when a patient uses the breathing trainer to perform breathing training and the height of each floating ball of the breathing trainer;
acquiring the training effect of each breathing training according to the height and the fluctuation duration of the floating last floating ball in a preset time period;
acquiring a first height curve formed by the actual height of the first floating ball during current breathing training, and performing curve fitting on the actual height of the first floating ball by using a first objective function to acquire a first fitting curve;
recording a historical first height curve of each historical respiration training, and selecting a similar curve of the first height curve from the historical first height curves; acquiring effect difference between the training effect of the current respiratory training and the training effect corresponding to the similar curves, and acquiring an adjustment coefficient of the second floating ball according to the matching degree between the first height curve and each similar curve and the corresponding effect difference;
substituting the time of the floating process of the second floating ball in the current respiratory training into the first fitting curve to obtain the first fitting height of the second floating ball, acquiring a second objective function based on the first fitting height, the actual height of the second floating ball and the adjustment coefficient, and performing curve fitting on the actual height of the second floating ball by using the second objective function to obtain a second fitting curve;
acquiring a second fitting height of the second floating ball based on a second fitting curve, and acquiring the influence degree of unit impedance according to the difference between the second fitting height and the actual height of the second floating ball and the impedance of the current respiratory training; acquiring an adjusting impedance based on an expected difference between a training effect and an expected effect of the current respiratory training and the influence degree, and adding the adjusting impedance and the current impedance to be used as an impedance of the next respiratory training;
and transmitting the obtained impedance of the next breathing training.
Preferably, the method for obtaining the training effect comprises the following steps:
and acquiring an instability coefficient and a fluctuation time length of the last floating ball in a preset time period, acquiring an instability degree in the respiratory training process according to the instability coefficient and the fluctuation time length, taking the average height in the fluctuation time length as a floating height, and taking the ratio of the floating height to the instability degree as a training effect.
Preferably, the step of obtaining the instability coefficient includes:
acquiring a height-time curve of the last floating ball in a preset time period, detecting wave crests and wave troughs of the height-time curve, acquiring an average value of height values corresponding to all the wave crests as a first average height, acquiring an average value of height values corresponding to all the wave troughs as a second average height, and taking a difference value of the first average height and the second average height as an unstable height;
acquiring first distribution differences of time corresponding to all wave crests and second distribution differences of time corresponding to all wave troughs, and taking the mean value of the first distribution differences and the second distribution differences as unstable time;
and taking the product of the unstable height and the unstable time as the unstable coefficient.
Preferably, the method for acquiring the fluctuation time length includes:
and projecting the main component direction of all the wave crest and trough coordinates, and taking the difference value of the time points corresponding to the wave crests or troughs on the two sides of the main component direction as the fluctuation duration.
Preferably, the method for obtaining the similar curve comprises the following steps:
and obtaining the matching degree between the first height curve and each historical first height curve, screening out a plurality of high matching degrees by carrying out secondary classification on all the matching degrees, and taking the historical first height curve corresponding to the high matching degree as a similar curve.
Preferably, the method for obtaining the adjustment coefficient of the second floating ball comprises the following steps:
and taking the matching degree as the weight of the corresponding effect difference, and carrying out weighted summation on all the effect differences to obtain the adjusting coefficient.
Preferably, the second objective function is obtained by:
and acquiring a first fitting height at each moment, adding an adjustment coefficient to the first fitting height to serve as an ideal actual height of the second floating ball at each moment, subtracting the ideal actual height from the fitting height to obtain a fitting error, and acquiring the square sum of the fitting errors corresponding to all the moments in the floating process of the second floating ball, namely the second objective function.
Preferably, the method for obtaining the adjusted impedance comprises:
and taking the sign of the expected difference as the sign of the adjusted impedance, taking the influence degree as a negative index of a preset value, and multiplying the result of the exponential function by the absolute value of the expected difference to obtain the size of the adjusted impedance.
The embodiment of the invention at least has the following beneficial effects:
1. the method comprises the steps of obtaining the height of each floating ball in a breathing training device during historical breathing training, obtaining the influence degree of unit impedance based on the height of the floating ball in the historical breathing training of a patient and a fitted height curve, and further obtaining and transmitting the impedance of the patient to be adjusted during next breathing training.
2. The adjustment coefficient of the second floating ball is obtained based on a first height curve of the actual height of the first floating ball in the current breathing training of the patient and a similar curve in historical data, then a second fitting curve of the second floating ball is fitted, the influence degree of unit impedance is obtained according to the difference of the actual height of the second fitting curve and the second floating ball and the impedance of the current breathing training, the influence of the impedance on the patient can be obtained based on the historical breathing training data of the patient, further, the impedance required by the patient in the next training can be obtained, and for each patient, the impedance reaching the best training effect can be obtained according to the self condition.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating steps of a data processing method for respiratory rehabilitation training according to an embodiment of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention for achieving the predetermined objects, the following detailed description of the data processing method for respiratory rehabilitation training, the specific implementation, structure, features and effects thereof according to the present invention will be made with reference to the accompanying drawings and preferred embodiments. In the following description, the different references to "one embodiment" or "another embodiment" do not necessarily refer to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The following describes a specific scheme of the data processing method for respiratory rehabilitation training, which is provided by the invention, in detail with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of a data processing method for respiratory rehabilitation training according to an embodiment of the present invention is shown, where the method includes the following steps:
and S001, acquiring the impedance corresponding to the breathing trainer when the patient uses the breathing trainer to perform breathing training and the height of each floating ball of the breathing trainer.
The method comprises the following specific steps:
placing ultrasonic sensors at the bottom of each ball channel for respiratory training of patientsWhen the device is used for respiratory training, the height value of each floating ball in the current channel, which is lifted up, is measured
Figure DEST_PATH_IMAGE001
Figure 238781DEST_PATH_IMAGE002
,…,
Figure DEST_PATH_IMAGE003
. Wherein n is the number of the current floating balls, 1,2, \8230, n is the first floating ball and the second floating ball, \8230whichare away from the air inlet respectively, and the sequence is up to the nth floating ball.
From
Figure 682532DEST_PATH_IMAGE004
The floating ball is lifted in sequence, and the second floating ball can rise only after the first floating ball is completely lifted, so that the height of the second floating ball is the actually measured height plus the maximum height of the first floating ball, the height of the third floating ball is the maximum height of the first floating ball plus the maximum height of the second floating ball plus the actually measured height, and so on. The breathing training device adopted in the embodiment of the invention is a common device with three floating balls.
The corresponding impedance is recorded during each breathing training, because multiple breathing training is needed as a sample, multiple breathing training is needed, the impedance of each breathing training can be different, and the corresponding impedance is recorded.
And step S002, obtaining the training effect of each breathing training according to the height and the fluctuation duration of the floating ball in the preset time period.
And acquiring an instability coefficient and a fluctuation time length of the last floating ball in a preset time period, acquiring an instability degree in the respiratory training process according to the instability coefficient and the fluctuation time length, taking the average height in the fluctuation time length as a floating height, and taking the ratio of the floating height to the instability degree as a training effect.
And selecting the height value of the last floating ball in the floating in a preset time period, constructing a height-time curve, and detecting the wave crest and the wave trough of the height-time curve through a peak value detection algorithm to obtain the coordinate point of the wave crest and the wave trough in the time period. And acquiring the total number of wave crests and wave troughs in the time period, if the total number of the wave crests and the wave troughs is more than 2, indicating that the height in the current time period fluctuates, and if the total number of the wave crests and the wave troughs is less than or equal to 2, determining that the height value in the current time period continuously rises.
As an example, the preset time period in the embodiment of the present invention is 0.5s.
Acquiring an average value of height values corresponding to all peaks as a first average height, acquiring an average value of height values corresponding to all troughs as a second average height, and taking a difference value between the first average height and the second average height as an unstable height C; acquiring first distribution differences of time corresponding to all wave crests and second distribution differences of time corresponding to all wave troughs, and taking the mean value of the first distribution differences and the second distribution differences as unstable time J; taking the product of the unstable height and the unstable time as the unstable coefficient
Figure DEST_PATH_IMAGE005
And projecting the main component direction of all the wave crest and trough coordinates, and taking the difference value of the time points corresponding to the wave crests or the wave troughs on the two sides of the main component direction as the fluctuation duration.
All the wave crest and trough coordinate values belonging to unstable time in different current time periods are obtained through obtaining, a PCA algorithm is utilized for the wave crest and trough coordinate values, corresponding principal component coordinates are obtained, all the wave crest and trough coordinate values belonging to unstable time are projected in a first principal component direction, the first principal component direction is the principal component direction with the largest characteristic value, after the projection is carried out in the first principal component direction, two points of all the wave crest and trough projection values at the most edge of the first principal component direction are obtained, the difference value T of the horizontal coordinates of the two points at the most edge is obtained, namely the fluctuation time length, and the duration of height instability is represented.
Is obtained withoutDegree of stability
Figure 242958DEST_PATH_IMAGE006
Figure 656621DEST_PATH_IMAGE008
Wherein e is a natural constant.
The greater the instability coefficient X is, the greater the up-and-down fluctuation and the left-and-right fluctuation of the height curve is, the more unstable the fluctuation is, the longer the fluctuation time length T is, the longer the fluctuation time length of the floating ball is,
Figure DEST_PATH_IMAGE009
the bigger the floating ball is, the more unstable the floating ball is, and the unstable breath is when the patient carries out the respiratory training, and the unstable degree K is just bigger.
Obtaining the height average value H in the fluctuation time length as the floating height, and calculating the training effect
Figure 179744DEST_PATH_IMAGE010
The smaller the training effect E is, the higher the floating height is, the more stable the floating ball is kept, the better the training effect of the patient is, and the impedance value may need to be increased; the lower the floating height, the more unstable the floating ball, and for the patient, the too high impedance of breathing training can not reach good training effect, and the impedance needs to be reduced.
And S003, acquiring a first height curve formed by the actual heights of the first floating ball during the current breathing training, and performing curve fitting on the actual height of the first floating ball by using a first objective function to acquire a first fitting curve.
The method comprises the following specific steps:
1. and acquiring a first height curve formed by the actual height of the first floating ball during the current respiratory training.
The impedance adjustment mode of the scheme is that the first floating ball does not perform impedance adjustment, and the impedance adjustment is performed when the second floating ball starts to float. Firstly, the actual height of the first floating ball is collected, the time is used as an abscissa, the actual height is used as an ordinate, and a first height curve is constructed.
2. And performing curve fitting on the actual height of the first floating ball by using a first objective function to obtain a first fitting curve.
Performing curve fitting on the actual height of the first floating ball by a least square method, wherein the first objective function is
Figure DEST_PATH_IMAGE011
Let us order
Figure 466500DEST_PATH_IMAGE012
Is minimized to obtain a first fitted curve
Figure DEST_PATH_IMAGE013
Wherein the content of the first and second substances,
Figure 842118DEST_PATH_IMAGE014
represents the fitting height of the first floating ball at the ith moment,
Figure DEST_PATH_IMAGE015
the actual height of the first floating ball at the ith moment is shown, and Ni shows the number of moments corresponding to the rising stage of the first floating ball.
By making a minimum
Figure 498621DEST_PATH_IMAGE012
Solved to obtain
Figure 377715DEST_PATH_IMAGE016
Solution set of
Figure 22323DEST_PATH_IMAGE014
Representing the fitting height of the first floating ball at each moment to form a first fitting curve
Figure 354078DEST_PATH_IMAGE013
Step S004, recording a historical first height curve of each historical respiration training, and selecting a similar curve of the first height curve from the historical first height curves; and acquiring the effect difference between the training effect of the current breathing training and the training effect corresponding to the similar curves, and acquiring the adjustment coefficient of the second floating ball according to the matching degree between the first height curve and each similar curve and the corresponding effect difference.
The method comprises the following specific steps:
1. and selecting a similar curve.
And obtaining the matching degree between the first height curve and each historical first height curve, screening out a plurality of high matching degrees by carrying out secondary classification on all the matching degrees, and taking the historical first height curve corresponding to the high matching degree as a similar curve.
And matching degree between the first height curve and each historical first height curve by using a similarity matching method. And setting K to be 2 through a K-means algorithm, and carrying out secondary classification to obtain a class with high matching degree, wherein the number of the matching degrees in the class with the high matching degree is M, and the historical first height curve corresponding to the high matching degree is used as a similarity curve. Matching degree of each similar curve
Figure DEST_PATH_IMAGE017
2. And obtaining the adjustment coefficient of the second floating ball.
And acquiring the effect difference between the training effect of the current respiratory training and the training effect corresponding to the similar curve, taking the matching degree as the weight of the corresponding effect difference, and performing weighted summation on all the effect differences to obtain an adjustment coefficient.
The specific calculation formula is as follows:
Figure DEST_PATH_IMAGE019
wherein r represents an adjustment coefficient,
Figure 781649DEST_PATH_IMAGE020
shows the matching degree corresponding to the mth similar curve,
Figure DEST_PATH_IMAGE021
indicating the training effect of the current breathing training,
Figure 951468DEST_PATH_IMAGE022
and (3) representing the training effect corresponding to the mth similar curve, wherein M represents the number of similar curves.
It should be noted that when
Figure DEST_PATH_IMAGE023
When in use, will
Figure 173502DEST_PATH_IMAGE024
The result of (c) is set to zero.
Figure 117187DEST_PATH_IMAGE024
The difference value between the training effect according to the current breathing training and the training effect corresponding to the similar curve is shown, the larger the difference value is, the more obvious the progress of the training effect is shown, at the moment, the impedance required by the patient is larger, and when the first fitting curve is used for data fitting of the second floating ball, the larger the adjustment is required, namely the larger the adjustment coefficient is.
Degree of matching
Figure 286131DEST_PATH_IMAGE020
When historical data are adopted for comparing the training effect difference, the similarity degree between the first height curve of the first floating ball at the current moment and the similar historical first height curve is also considered, and the greater the similarity degree is, the higher the accuracy of the effect difference between the corresponding historical first height curve and the current respiratory training is.
And S005, substituting the floating time of the second floating ball in the current respiratory training into the first fitting curve to obtain a first fitting height of the second floating ball, obtaining a second objective function based on the first fitting height, the actual height of the second floating ball and the adjustment coefficient, and performing curve fitting on the actual height of the second floating ball by using the second objective function to obtain a second fitting curve.
The method comprises the following specific steps:
1. a second objective function is obtained.
And obtaining a first fitting height at each moment, adding an adjustment coefficient to the first fitting height to serve as an ideal actual height of the second floating ball at each moment, subtracting the ideal actual height from the fitting height to obtain a fitting error, and obtaining the square sum of the fitting errors corresponding to all the moments in the floating process of the second floating ball, namely the second objective function.
Substituting each moment j in the floating process of the second floating ball into the first fitting curve during the current breathing training
Figure 264451DEST_PATH_IMAGE013
To obtain the first fitting height of the second floating ball
Figure DEST_PATH_IMAGE025
Then obtaining the fitting height
Figure 645271DEST_PATH_IMAGE026
A second objective function as an argument:
Figure 951619DEST_PATH_IMAGE028
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE029
representing a second objective function, N representing the total number of moments during the raising of the second float,
Figure 252150DEST_PATH_IMAGE026
the fitting height at the jth time instant is indicated,
Figure 960343DEST_PATH_IMAGE030
representing the first fitting height at time j.
The larger the value of the adjustment coefficient r is, the faster the floating ball rises, the shorter the time, the larger the real data slope and the steeper the data when the patient performs the respiratory training, which indicates that the rehabilitation training effect of the current patient is better, and at the moment, the curve fitting of the second floating ball is performedThen, the fitting result can be shifted to a higher slope, i.e. by pairing
Figure 852076DEST_PATH_IMAGE030
Adding the adjustment coefficient r because of
Figure 144255DEST_PATH_IMAGE029
When the solution is carried out, the solution is
Figure 779635DEST_PATH_IMAGE026
So that
Figure 76755DEST_PATH_IMAGE029
Minimum, so pass through
Figure 404969DEST_PATH_IMAGE030
Adding an adjustment coefficient r so that
Figure 420329DEST_PATH_IMAGE026
The larger the value of (c).
2. And acquiring a second fitted curve.
Solving the second objective function by using a simulated annealing method: taking the second objective function as the objective function of simulated annealing, and
Figure 124980DEST_PATH_IMAGE026
the initial value of the random disturbance is initialized randomly, then random disturbance is generated in each iteration process until the maximum iteration times is reached, and the random disturbance is obtained
Figure 542186DEST_PATH_IMAGE026
Value of (1), all
Figure 41300DEST_PATH_IMAGE026
Form a second fitted curve
Figure DEST_PATH_IMAGE031
Step S006, obtaining a second fitting height of the second floating ball based on the second fitting curve, and obtaining the influence degree of unit impedance according to the difference between the second fitting height and the actual height of the second floating ball and the impedance of the current respiratory training; and acquiring an adjusting impedance based on the expected difference and the influence degree between the training effect and the expected effect of the current respiratory training, and adding the adjusting impedance and the current impedance to obtain the impedance of the next respiratory training.
The method comprises the following specific steps:
1. the degree of influence of the unit impedance is obtained.
Substituting the second floating ball into a second fitting curve at each moment in the lifting process to obtain a corresponding second fitting height
Figure 248684DEST_PATH_IMAGE026
Obtaining the actual height of the second floating ball at the corresponding time
Figure 491447DEST_PATH_IMAGE032
Calculating the difference between the actual height and the second fitting height
Figure DEST_PATH_IMAGE033
Summing all the difference values corresponding to the second floating ball to obtain an influence degree value Y on data under the current impedance, and dividing the current impedance value by the Y to obtain the minimum impedance scale
Figure 294318DEST_PATH_IMAGE034
Value of degree of influence of
Figure DEST_PATH_IMAGE035
I.e. the degree of influence per unit impedance.
2. The impedance of the breathing trainer is adjusted.
And taking the sign of the expected difference as the sign of the adjusted impedance, taking the influence degree as a negative index of the preset value, and multiplying the result of the exponential function by the absolute value of the expected difference to obtain the magnitude of the adjusted impedance.
When using, for the stability of next respiratory training effect, need correspond the impedance value adjustment of breathing training ware, need increase impedance or reduce impedance when judging next respiratory training at first:
Figure DEST_PATH_IMAGE037
when the training effect of the respiratory training is larger than the expected effect, the impedance of the current respiratory training is too small, the desired training effect is not achieved, and the impedance needs to be increased; when the training effect of the respiratory training is smaller than the expected effect, the impedance of the current respiratory training is too large, so that the patient is possibly subjected to too large impedance, lung injury is possibly caused, and the impedance needs to be reduced; when the training effect of the respiratory training is equal to the expected effect, the impedance is appropriate, the optimal training effect can be achieved, and the impedance does not need to be adjusted.
The calculation formula for adjusting the impedance is as follows:
Figure DEST_PATH_IMAGE039
wherein, T represents the adjustment impedance,
Figure 213601DEST_PATH_IMAGE040
indicating that the positive and negative of the adjusted impedance,
Figure 328188DEST_PATH_IMAGE021
indicating the training effect of the current breathing training,
Figure DEST_PATH_IMAGE041
which is indicative of the desired effect or effects,
Figure 250007DEST_PATH_IMAGE042
the expected difference is shown to be,
Figure DEST_PATH_IMAGE043
an exponential function based on a natural constant e is represented,ato adjust the parameters.
Adjusting parametersaAdjusting according to actual scenes, and adjusting parameters in default in the embodiment of the inventionaThe value of (b) is 1.
As an example, the effect expected in the embodiment of the present invention is 2.4.
Degree of influence of unit impedance
Figure 172964DEST_PATH_IMAGE035
The larger the value of (A), the smaller the scale is adjusted under the current impedance
Figure 181590DEST_PATH_IMAGE034
In time, the more obvious the influence on the training effect of the respiratory training is, the smaller the required adjustment value is, so that negative correlation mapping is performed; meanwhile, the larger the expected difference is, the larger the impedance adjustment value is, and the adjusted impedance is obtained.
And after a value T to be adjusted of the impedance value is obtained, adding the value T and the current impedance value to obtain the impedance value during the next respiratory training, and finishing the adjustment of the impedance of the current respiratory training device.
And step S007, transmitting the obtained impedance of the next respiratory training.
The impedance transmitted is used as the impedance of the next breathing training, and the patient is made to perform breathing training with the impedance.
Further, after the breath training, the breath training is added to the sample to continue the next adjustment of the impedance.
In summary, in the embodiment of the present invention, the impedance corresponding to the respiration trainer when the patient uses the respiration trainer to perform the respiration training and the height of each floating ball of the respiration trainer are obtained; acquiring the training effect of each breathing training according to the height and the fluctuation duration of the floating last floating ball in a preset time period; acquiring a first height curve formed by the actual height of the first floating ball during current breathing training, and performing curve fitting on the actual height of the first floating ball by using a first objective function to acquire a first fitting curve; recording a historical first height curve of each historical respiration training, and selecting a similar curve of the first height curve from the historical first height curves; acquiring effect difference between the training effect of the current respiratory training and the training effect corresponding to the similar curves, and acquiring an adjustment coefficient of the second floating ball according to the matching degree between the first height curve and each similar curve and the corresponding effect difference; substituting the time of the floating process of the second floating ball in the current respiratory training into the first fitting curve to obtain the first fitting height of the second floating ball, acquiring a second objective function based on the first fitting height, the actual height of the second floating ball and the adjustment coefficient, and performing curve fitting on the actual height of the second floating ball by using the second objective function to obtain a second fitting curve; acquiring a second fitting height of the second floating ball based on a second fitting curve, and acquiring the influence degree of unit impedance according to the difference between the second fitting height and the actual height of the second floating ball and the impedance of the current respiratory training; acquiring an adjustment impedance based on an expected difference and an influence degree between a training effect and an expected effect of the current respiratory training, and adding the adjustment impedance and the current impedance to obtain an impedance of the next respiratory training; and transmitting the obtained impedance of the next breathing training. The embodiment of the invention can adaptively adjust the impedance of the breathing trainer so as to ensure that a patient achieves a stable training effect.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And that specific embodiments have been described above. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments.
The above-mentioned embodiments are merely illustrative of the technical solutions of the present application, and not restrictive, and any modifications, equivalents, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A data processing method for respiratory rehabilitation training, the method comprising the steps of:
acquiring impedance corresponding to a breathing trainer when a patient uses the breathing trainer to perform breathing training and the height of each floating ball of the breathing trainer;
acquiring the training effect of each breathing training according to the height and the fluctuation duration of the floating last floating ball in a preset time period;
acquiring a first height curve formed by the actual height of the first floating ball during current breathing training, and performing curve fitting on the actual height of the first floating ball by using a first objective function to acquire a first fitting curve;
recording a historical first height curve of each historical respiratory training, and selecting a similar curve of the first height curve from the historical first height curves; acquiring effect difference between the training effect of the current respiratory training and the training effect corresponding to the similar curves, and acquiring an adjustment coefficient of the second floating ball according to the matching degree between the first height curve and each similar curve and the corresponding effect difference;
substituting the time of the floating process of the second floating ball in the current respiratory training into the first fitting curve to obtain the first fitting height of the second floating ball, acquiring a second objective function based on the first fitting height, the actual height of the second floating ball and the adjustment coefficient, and performing curve fitting on the actual height of the second floating ball by using the second objective function to obtain a second fitting curve;
acquiring a second fitting height of the second floating ball based on a second fitting curve, and acquiring the influence degree of unit impedance according to the difference between the second fitting height and the actual height of the second floating ball and the impedance of the current respiratory training; acquiring an adjusting impedance based on an expected difference between a training effect and an expected effect of the current respiratory training and the influence degree, and adding the adjusting impedance and the current impedance to be used as an impedance of the next respiratory training;
transmitting the obtained impedance of the next respiratory training;
the method for acquiring the training effect comprises the following steps:
acquiring an instability coefficient and fluctuation time length of the last floating ball in the floating process within a preset time period, acquiring an instability degree in the respiratory training process according to the instability coefficient and the fluctuation time length, taking the average height in the fluctuation time length as a floating height, and taking the ratio of the floating height to the instability degree as a training effect;
the expected effect is a preset optimal value of the training effect;
the method for acquiring the influence degree comprises the following steps:
substituting the second floating ball into a second fitting curve at each moment in the lifting process to obtain a corresponding second fitting height, obtaining the actual height of the second floating ball at the corresponding moment, calculating the difference value between the actual height and the second fitting height, summing all the difference values corresponding to the second floating ball to obtain the influence degree value on data under the current impedance, and dividing the influence degree value by the current impedance value to obtain the influence degree value under the minimum impedance scale, namely the influence degree of the unit impedance.
2. The data processing method for respiratory rehabilitation training according to claim 1, wherein the step of obtaining the instability coefficient includes:
acquiring a height-time curve of the last floating ball in a preset time period, detecting wave crests and wave troughs of the height-time curve, acquiring an average value of height values corresponding to all the wave crests as a first average height, acquiring an average value of height values corresponding to all the wave troughs as a second average height, and taking a difference value of the first average height and the second average height as an unstable height;
acquiring first distribution differences of time corresponding to all wave crests and second distribution differences of time corresponding to all wave troughs, and taking the mean value of the first distribution differences and the second distribution differences as unstable time;
and taking the product of the unstable height and the unstable time as the unstable coefficient.
3. The data processing method for respiratory rehabilitation training according to claim 2, wherein the fluctuation duration is obtained by:
and projecting the main component direction of all the wave crest and trough coordinates, and taking the difference value of the time points corresponding to the wave crests or troughs on the two sides of the main component direction as the fluctuation duration.
4. The data processing method for respiratory rehabilitation training according to claim 1, wherein the method for obtaining the similarity curve comprises:
and obtaining the matching degree between the first height curve and each historical first height curve, screening out a plurality of high matching degrees by carrying out secondary classification on all the matching degrees, and taking the historical first height curve corresponding to the high matching degree as a similar curve.
5. The data processing method for respiratory rehabilitation training according to claim 1, wherein the method for obtaining the adjustment coefficient of the second floating ball comprises:
and taking the matching degree as the weight of the corresponding effect difference, and carrying out weighted summation on all the effect differences to obtain the adjusting coefficient.
6. The data processing method for respiratory rehabilitation training according to claim 1, wherein the second objective function is obtained by:
and acquiring a first fitting height at each moment, adding an adjustment coefficient to the first fitting height to serve as an ideal actual height of the second floating ball at each moment, subtracting the ideal actual height from the fitting height to obtain a fitting error, and acquiring the square sum of the fitting errors corresponding to all the moments in the floating process of the second floating ball, namely the second objective function.
7. The data processing method for respiratory rehabilitation training according to claim 1, wherein the method for obtaining the adjusted impedance comprises:
and taking the sign of the expected difference as the sign of the adjusted impedance, taking the influence degree as a negative index of a preset value, and multiplying the result of the exponential function by the absolute value of the expected difference to obtain the size of the adjusted impedance.
CN202211195246.XA 2022-09-29 2022-09-29 Data processing method for respiratory rehabilitation training Active CN115300873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211195246.XA CN115300873B (en) 2022-09-29 2022-09-29 Data processing method for respiratory rehabilitation training

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211195246.XA CN115300873B (en) 2022-09-29 2022-09-29 Data processing method for respiratory rehabilitation training

Publications (2)

Publication Number Publication Date
CN115300873A CN115300873A (en) 2022-11-08
CN115300873B true CN115300873B (en) 2022-12-30

Family

ID=83867579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211195246.XA Active CN115300873B (en) 2022-09-29 2022-09-29 Data processing method for respiratory rehabilitation training

Country Status (1)

Country Link
CN (1) CN115300873B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012024413A (en) * 2010-07-26 2012-02-09 Tanita Corp Ventilation characteristic determining apparatus
CN102355879A (en) * 2009-03-05 2012-02-15 皇家飞利浦电子股份有限公司 System, method and computer program product for indicating stimulation signals to user
CN113598728A (en) * 2021-08-31 2021-11-05 嘉兴温芯智能科技有限公司 Noise reduction method and monitoring method for physiological signal, monitoring device and wearable equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6623435B2 (en) * 2000-07-03 2003-09-23 Seiko Instruments Inc. Pulse wave detecting apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355879A (en) * 2009-03-05 2012-02-15 皇家飞利浦电子股份有限公司 System, method and computer program product for indicating stimulation signals to user
JP2012024413A (en) * 2010-07-26 2012-02-09 Tanita Corp Ventilation characteristic determining apparatus
CN113598728A (en) * 2021-08-31 2021-11-05 嘉兴温芯智能科技有限公司 Noise reduction method and monitoring method for physiological signal, monitoring device and wearable equipment

Also Published As

Publication number Publication date
CN115300873A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
JP5053083B2 (en) Method and apparatus for non-invasive prediction of positive end expiratory pressure (PEEPi) in a patient receiving ventilator support
AU2003268324B2 (en) Method and apparatus for predicting work of breathing
US8672858B2 (en) Method and apparatus for predicting work of breathing
US20030140925A1 (en) System for conditioning expiratory muscles for an improved respiratory system
Taylor Some properties of maximal and submaximal exercise with reference to physiological variation and the measurement of exercise tolerance
JP2021513443A (en) Systems and methods for determining patient responsiveness to alveolar recruitment procedures
CN102770070A (en) System and method for assessing real time pulmonary mechanics
WO2013126417A1 (en) Method and apparatus for predicting work of breathing
Fernandez et al. P0. 1/PIMax: an index for assessing respiratory capacity in acute respiratory failure
CN115300873B (en) Data processing method for respiratory rehabilitation training
CN104700697B (en) Simulation system of human respiratory tract
US11395938B2 (en) Respiratory training system
CN114733134B (en) Rehabilitation training system based on respiratory electromyographic signals
CN111228751B (en) Respiratory quantitative training method and device
US20030040407A1 (en) Incremental weight training system, apparatus, and methods
Peters Work of breathing and abnormal mechanics
Nam et al. Specially programmed respiratory muscle training for singers by using respiratory muscle training device (Ultrabreathe®)
De Troyer Mechanics of the chest wall during restrictive thoracic strapping
CN217939062U (en) Portable adjustable resistance's breathing training ware
Martin et al. Impact of respiratory mechanics model parameters on gas exchange efficiency
Shirodkar et al. Which of the two pranayamas, anulom vilom or bhastrika is better at improving maximal oxygen uptake in normal individuals
Gibson-Smith et al. Sport climbing
US20220047830A1 (en) Systems and methods for adaptive cough detection and adaptive mechanical insufflation-exsufflation (mi-e) therapy
CN116825351A (en) Method for evaluating health influence of different exercise modes based on EWM-TOPSIS
US20240149111A1 (en) Methods and systems for respiratory training and testing

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
GR01 Patent grant
GR01 Patent grant