Motion energy consumption monitoring method and device based on multi-parameter fusion, equipment and medium
By monitoring three-directional acceleration and respiration data, combined with the support vector machine model, the problem of low accuracy and high cost of sports energy consumption measurement in the existing technology is solved, and low-cost, real-time and accurate sports energy consumption monitoring and identification effects are achieved.
Patent Information
- Application Number
- CN202410820250.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-11
AI Technical Summary
Existing exercise energy consumption measurement methods such as indirect calorimetry and pedometer methods have problems such as low accuracy, high cost, strong invasiveness, inability to reflect exercise energy consumption in real time, and the inability to accurately detect exercise intensity and mode.
Using a method based on multi-parameter fusion, by monitoring three-directional acceleration data and respiration data, combined with a support vector machine classification model, the exercise status is determined and the maximum oxygen uptake per minute is calculated to evaluate the exercise level.
It realizes low-cost, easy-to-wear, accurate energy consumption calculation and real-time feedback sports energy consumption monitoring, improves detection accuracy and identification, and the device is small in size and meets the needs of real-time data processing.
Smart Images

Figure CN118749956A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sports energy consumption monitoring, and in particular to a sports energy consumption monitoring method, device, equipment and medium based on multi-parameter fusion. Background Art
[0002] The two core issues of health management are to solve the problems of reasonable diet and scientific exercise, and scientific exercise is nothing more than the formulation of fitness programs and exercise monitoring. The determination of human exercise energy consumption is the key point involving these two core issues. If the energy consumption of human exercise cannot be quantitatively and accurately monitored, it will be difficult for reasonable diet and scientific exercise to reach the stage of effective implementation.
[0003] At present, common methods used in research to detect human motion energy consumption include indirect calorimetry, pedometer estimation, etc.; among them, indirect calorimetry is the most accurate method of human energy detection, but it has high requirements on the equipment use environment and cost, and it does not reflect the human body's motion energy consumption in real time. It needs to be worn on the face all the time, which is highly invasive to people.
[0004] The pedometer method can reflect the number of exercises but cannot reflect the intensity and method of exercise. Moreover, it is limited to one-dimensional space and can only detect movement in one direction, so the measurement accuracy is poor.
[0005] In view of the defects of current sports energy consumption measurement, the present invention provides a sports energy consumption monitoring method based on multi-parameter fusion, which is a sports energy consumption monitoring method with low cost, easy to wear, accurate energy consumption calculation and real-time feedback function. Summary of the invention
[0006] In order to achieve the above-mentioned purpose and other advantages of the present invention, the first purpose of the present invention is to provide a method for monitoring sports energy consumption based on multi-parameter fusion, comprising the following steps:
[0007] Monitoring acceleration data during motion, wherein the acceleration data includes acceleration data in three directions;
[0008] Monitor breathing data during exercise;
[0009] Processing the monitored respiratory data to obtain a respiratory waveform, calculating the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyzing the respiratory waveform, recording the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtaining the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculating the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculating the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0010] Determine the motion state through the acceleration data in three directions;
[0011] The exercise level is determined by combining the exercise status with the calculated maximum oxygen uptake per minute.
[0012] Further, determining the motion state by monitoring the acceleration data in three directions includes the following steps:
[0013] Preprocess the acceleration data in three directions;
[0014] Extract features from acceleration data;
[0015] The extracted time domain features and frequency domain features are input into the classification model to identify the corresponding motion state.
[0016] Furthermore, the construction of the classification model includes the following steps:
[0017] Acquire acceleration data in different motion states; wherein the motion states include walking, running, and mountain climbing;
[0018] Preprocess the acceleration data under different motion states;
[0019] Extract the features of the acceleration data according to the characteristics of the motion state, and select the extracted features;
[0020] Create training sample sets and test sample sets using the selected feature values;
[0021] The support vector machine classification model is trained and tested by using the training sample set and the test sample set to obtain an optimal model.
[0022] Furthermore, preprocessing the acceleration data includes filtering the acceleration data using a filtering algorithm and performing windowing on the acceleration data.
[0023] Furthermore, the filtering process of the acceleration data by using the filtering algorithm includes updating the filtering parameters by increasing the threshold, defining a new output value as a weighted sum of the current sampling value and the previous output value to obtain the current output value;
[0024] The windowing process for the acceleration data includes processing the acceleration data by using two adjacent sliding windows with an overlap of 50%.
[0025] Further, extracting features of the acceleration data includes extracting features of the acceleration data from the time domain and the frequency domain respectively, wherein the features include the mean of acceleration in three directions, the mean of synthetic acceleration, the variance of acceleration in three directions, the maximum value of acceleration in three directions, the minimum value of acceleration in three directions, the correlation between accelerations in three directions, the peak-to-valley values of acceleration in three directions, the peak-to-valley values of synthetic acceleration, the variance of synthetic acceleration, and the energy value of the acceleration signal in the frequency domain;
[0026] The selecting the extracted features includes selecting the extracted features using a feature selection algorithm based on information gain.
[0027] Further, determining the exercise level by combining the exercise state with the calculated maximum oxygen uptake per minute includes obtaining the exercise level by looking up a table according to the exercise state and the calculated maximum oxygen uptake per minute;
[0028] The construction of the lookup table comprises the following steps:
[0029] Obtain breathing data under different motion states;
[0030] Processing the monitored respiratory data to obtain a respiratory waveform, calculating the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyzing the respiratory waveform, recording the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtaining the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculating the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculating the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0031] The maximum oxygen uptake per minute is marked according to the preset exercise level; wherein the exercise level includes amateur, excellent, and professional;
[0032] Statistical analysis of the distribution of exercise status and maximum oxygen uptake per minute in the exercise level space;
[0033] The correspondence between the exercise state, the maximum oxygen uptake per minute and the exercise level is stored as a lookup table.
[0034] The second object of the present invention is to provide an electronic device, comprising: a memory on which program code is stored; a processor, which is connected to the memory and when the program code is executed by the processor, implements a sports energy consumption monitoring method based on multi-parameter fusion.
[0035] The third object of the present invention is to provide a computer-readable storage medium having program instructions stored thereon, which, when executed, implement a method for monitoring sports energy consumption based on multi-parameter fusion.
[0036] The fourth object of the present invention is to provide a sports energy consumption monitoring device based on multi-parameter fusion, and to implement a sports energy consumption monitoring method based on multi-parameter fusion, including a physiological signal parameter monitoring module and an information processing module; wherein,
[0037] The physiological signal parameter monitoring module includes a motion information monitoring module and a respiratory signal detection module;
[0038] The motion information monitoring module includes an acceleration sensor, and the acceleration sensor is used to monitor acceleration data in motion, and the acceleration data includes acceleration data in three directions;
[0039] The respiratory signal detection module is used to monitor the respiratory data during exercise, process the monitored respiratory data to obtain a respiratory waveform, calculate the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyze the respiratory waveform, record the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtain the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculate the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculate the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0040] The information processing module is used to determine the motion state through the monitored acceleration data in three directions, and to determine the exercise level through the motion state combined with the calculated maximum oxygen uptake per minute.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The present invention provides an exercise energy consumption monitoring method, device, equipment and medium based on multi-parameter fusion. During exercise, an acceleration sensor is used to monitor acceleration data, and a respiratory signal monitoring sensor is used to monitor respiratory data. The exercise state is determined by the acceleration data, and the maximum oxygen uptake per minute is calculated by the respiratory data. The exercise state and the maximum oxygen uptake per minute are combined to determine the exercise level. The method has good recognition of human body movements, and the detection accuracy is improved compared with the single application of an acceleration sensor and a respiratory signal monitoring sensor. There is also good feedback on the monitoring results. The device is small in size and experiments can be carried out without complicated operations. The sensor cost is low and meets the real-time requirements of energy consumption data processing. It is low in cost, easy to wear, accurate in energy consumption calculation and has a real-time feedback function.
[0043] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention and implement it according to the contents of the specification, the following is a detailed description of the preferred embodiments of the present invention in conjunction with the accompanying drawings. The specific implementation of the present invention is given in detail by the following embodiments and their accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0045] Figure 1 This is a flow chart of the method for monitoring sports energy consumption based on multi-parameter fusion in Example 1;
[0046] Figure 2 This is a flow chart of determining the motion state by monitoring acceleration data in three directions in Example 1;
[0047] Figure 3 This is a flow chart for constructing the classification model of Example 1;
[0048] Figure 4 is a flow chart for constructing a lookup table in Example 1;
[0049] Figure 5 is a schematic diagram of an electronic device of Example 2;
[0050] Figure 6 This is a schematic diagram of a storage medium in Example 3;
[0051] Figure 7 This is a schematic diagram of a sports energy consumption monitoring device based on multi-parameter fusion in Example 4. DETAILED DESCRIPTION
[0052] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form a new embodiment.
[0053] Example 1
[0054] Sports energy consumption monitoring method based on multi-parameter fusion, such as Figure 1 As shown, the following steps are included:
[0055] S1. Monitor the acceleration data during movement. The acceleration data includes acceleration data in three directions. In this embodiment, the acceleration sensor is placed on the chest or wrist to monitor the acceleration data in all directions.
[0056] S2, monitor breathing data during exercise;
[0057] S3. Process the monitored respiratory data to obtain a respiratory waveform, calculate the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyze the respiratory waveform, record the absorption of oxygen from the trough to the peak in the respiratory waveform, and release of carbon dioxide from the peak to the trough, obtain the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculate the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculate the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0058] In this embodiment, the respiratory signal monitoring module includes a respiratory signal monitoring sensor and a preprocessing circuit thereof. The respiratory signal monitoring sensor adopts a piezoelectric film sensor. The respiratory signal monitoring sensor and the preprocessing circuit are placed together on the chest. The respiratory signal monitoring sensor monitors the respiratory data during exercise. The preprocessing circuit processes the monitored respiratory data to obtain a respiratory waveform, which is recorded as f(x). Then, the respiratory frequency P is obtained according to the peak-to-peak value of the respiratory waveform. The respiratory waveform itself is analyzed, and the waveform from trough to peak is recorded as absorbed oxygen, and from peak to trough is recorded as released carbon dioxide. The amount of absorbed oxygen and exhaled carbon dioxide is obtained, and the trough and peak of the waveform are recorded as T respectively. 谷1、 T 谷2、 T 谷3、 …;T 峰1、 T 峰2、 T 峰3、 …,but According to V 吸1 、V 呼1 The oxygen consumption is ΔV1, ΔV1 = V 吸1 -V 呼1 , and then calculate the maximum oxygen uptake per minute based on the number of breaths per minute n is the respiratory rate per minute.
[0059] S4, through the acceleration data in three directions monitored Determine the state of motion; Figure 2 As shown, the specific steps include:
[0060] S41, acceleration data in three directions Preprocessing is performed; specifically comprising the following steps:
[0061] A filtering algorithm is used to filter the acceleration data. Since the acceleration signal is presented in the form of a data stream in the time domain, feature engineering cannot be performed directly, so the acceleration data needs to be windowed.
[0062] In order to adapt to the real-time nature of the signal, this embodiment updates the filter parameters by increasing the threshold, and defines the new output value as the weighted sum of the current sampling value and the previous output value to obtain the current output value;
[0063] In order to avoid the window being too large, which may cause motion recognition delays, and may also cause a window to contain different types of motions, causing training errors; and the window being too small, which may cause a window to not contain a complete motion, resulting in the loss of motion information, thus affecting the recognition results. This embodiment uses two adjacent sliding windows with a 50% overlap to process acceleration data.
[0064] S42, extracting features of acceleration data; specifically, extracting features of acceleration data from the time domain and frequency domain, the features include acceleration in three directions The mean and synthetic acceleration Mean, acceleration in three directions Variance, acceleration in three directions Maximum value, acceleration in three directions Minimum value, acceleration in three directions Pairwise correlation, acceleration in three directions Peak-to-valley value, synthetic acceleration Peak-to-valley value, synthetic acceleration Variance and energy value of acceleration signal in frequency domain; wherein, the energy value of acceleration signal in frequency domain is the square of Fourier transform of original signal. Wavelet analysis technology can be applied to extract the features of signal in each frequency band. The multi-scale spatial energy distribution feature extraction method based on wavelet transform is to perform frequency band analysis on signal and then use the energy of each frequency band obtained by calculation as feature vector.
[0065] S43, inputting the extracted time domain features and frequency domain features into a classification model to identify the corresponding motion state.
[0066] like Figure 3 As shown, the construction of the classification model includes the following steps:
[0067] S401, acquiring acceleration data in different motion states; wherein the motion states include walking, running, mountain climbing, etc.;
[0068] S402, preprocessing the acceleration data under different motion states; specifically comprising the following steps:
[0069] A filtering algorithm is used to filter the acceleration data. Since the acceleration signal is presented in the form of a data stream in the time domain, feature engineering cannot be performed directly, so the acceleration data needs to be windowed.
[0070] In order to adapt to the real-time nature of the signal, this embodiment updates the filter parameters by increasing the threshold, and defines the new output value as the weighted sum of the current sampling value and the previous output value to obtain the current output value;
[0071] In order to avoid the window being too large, which may cause motion recognition delays, and may also cause a window to contain different types of motions, causing training errors; and the window being too small, which may cause a window to not contain a complete motion, resulting in the loss of motion information, thus affecting the recognition results. This embodiment uses two adjacent sliding windows with a 50% overlap to process acceleration data.
[0072] S403, extracting features of the acceleration data according to the characteristics of the motion state, and selecting the extracted features; specifically, extracting features of the acceleration data from the time domain and the frequency domain, the features include acceleration in three directions The mean and synthetic acceleration Mean, acceleration in three directions Variance, acceleration in three directions Maximum value, acceleration in three directions Minimum value, acceleration in three directions Pairwise correlation, acceleration in three directions Peak-to-valley value, synthetic acceleration Peak-to-valley value, synthetic acceleration Variance and energy value of acceleration signal in frequency domain; wherein, the energy value of acceleration signal in frequency domain is the square of Fourier transform of original signal. Wavelet analysis technology can be applied to extract the features of signal in each frequency band. The multi-scale spatial energy distribution feature extraction method based on wavelet transform is to perform frequency band analysis on signal and then use the energy of each frequency band obtained by calculation as feature vector.
[0073] In order to remove features that are irrelevant to the current learning task, so as to reduce the learning burden and the learning difficulty, this embodiment selects the extracted features based on the feature selection algorithm (ID3 algorithm) based on information gain. The ID3 algorithm is a decision tree algorithm that selects features based on information gain. The concept of information gain is proposed in information theory, which represents the amount of information provided by an event under the premise that an event is known to have occurred. The ID3 algorithm selects split features by calculating the information gain of each feature.
[0074] S404, creating a training sample set and a test sample set using the selected feature values;
[0075] S405, training and testing the support vector machine classification model through the training sample set and the test sample set to obtain the optimal model. Among them, the support vector machine classification model can process high-dimensional data, has strong generalization ability, is suitable for small sample data, can handle nonlinear problems, and has good robustness and interpretability.
[0076] S5. Determine the exercise level by combining the exercise state with the calculated maximum oxygen uptake per minute. Specifically, the exercise level is obtained by looking up a table according to the exercise state and the calculated maximum oxygen uptake per minute;
[0077] like Figure 4 As shown, the construction of the lookup table includes the following steps:
[0078] S51, obtaining breathing data under different motion states;
[0079] S52, processing the monitored respiratory data to obtain a respiratory waveform, calculating the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyzing the respiratory waveform, recording the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtaining the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculating the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculating the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0080] S53. The maximum oxygen uptake per minute is marked according to the preset sports level; wherein the sports level includes amateur, excellent, and professional; for example, the maximum oxygen uptake per minute of the professional level corresponding to running is a1, the maximum oxygen uptake per minute of the excellent level is b1, and the maximum oxygen uptake per minute of the professional level is c1; the maximum oxygen uptake per minute of the professional level corresponding to mountaineering is a2, the maximum oxygen uptake per minute of the excellent level is b2, and the maximum oxygen uptake per minute of the professional level is c2, etc.
[0081] S54. Statistically calculate the distribution of the exercise state and the maximum oxygen uptake per minute in the exercise level space; for example, this can be achieved through methods such as indirect parameter fitting or direct fitting.
[0082] S55. Store the correspondence between the exercise state, the maximum oxygen uptake per minute and the exercise level as a lookup table.
[0083] The present invention provides an exercise energy consumption monitoring method based on multi-parameter fusion. During exercise, an acceleration sensor is used to monitor acceleration data, a respiratory signal monitoring sensor is used to monitor respiratory data, the exercise state is determined by the acceleration data, the maximum oxygen uptake per minute is calculated by the respiratory data, and the exercise state and the maximum oxygen uptake per minute are combined to determine the exercise level. The method has good recognition of human body movements, and the detection accuracy is improved compared with the single application of an acceleration sensor and a respiratory signal monitoring sensor, and there is good feedback on the monitoring results. The device is small in size, and experiments can be carried out without complicated operations. The sensor cost is low, and the real-time requirements of energy consumption data processing are met. The method is low in cost, easy to wear, accurate in energy consumption calculation, and has a real-time feedback function.
[0084] Example 2
[0085] An electronic device, such as Figure 5 As shown, it includes: a memory on which program codes are stored; a processor connected to the memory, and when the program codes are executed by the processor, a sports energy consumption monitoring method based on multi-parameter fusion is implemented. For a detailed description of the method, reference can be made to the corresponding description in the above method embodiment, which will not be repeated here.
[0086] Example 3
[0087] A computer readable storage medium such as Figure 6 As shown, program instructions are stored thereon, and when the program instructions are executed, a sports energy consumption monitoring method based on multi-parameter fusion is implemented. For a detailed description of the method, reference may be made to the corresponding description in the above method embodiment, and no further description is given here.
[0088] Example 4
[0089] Sports energy consumption monitoring device based on multi-parameter fusion, such as Figure 7 As shown, a method for monitoring sports energy consumption based on multi-parameter fusion is implemented. For a detailed description of the method, reference can be made to the corresponding description in the above method embodiment, which will not be repeated here. The system includes a physiological signal parameter monitoring module and an information processing module; wherein,
[0090] The physiological signal parameter monitoring module includes a motion information monitoring module and a respiratory signal detection module;
[0091] The motion information monitoring module includes an acceleration sensor, which is used to monitor the acceleration data in motion. The acceleration data includes acceleration data in three directions. In this embodiment, the acceleration sensor is placed on the chest or wrist to monitor the acceleration data in all directions.
[0092]
[0093] The respiratory signal detection module is used to monitor the respiratory data during exercise, process the monitored respiratory data to obtain the respiratory waveform, calculate the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyze the respiratory waveform, record the absorption of oxygen from the trough to the peak in the respiratory waveform, and release carbon dioxide from the peak to the trough, obtain the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculate the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculate the maximum oxygen uptake per minute in combination with the respiratory frequency;
[0094] In this embodiment, the respiratory signal monitoring module includes a respiratory signal monitoring sensor and a preprocessing circuit thereof. The respiratory signal monitoring sensor adopts a piezoelectric film sensor. The respiratory signal monitoring sensor and the preprocessing circuit are placed together on the chest. The respiratory signal monitoring sensor monitors the respiratory data during exercise. The preprocessing circuit processes the monitored respiratory data to obtain a respiratory waveform, which is recorded as f(x). Then, the respiratory frequency P is obtained according to the peak-to-peak value of the respiratory waveform. The respiratory waveform itself is analyzed, and the waveform from trough to peak is recorded as absorbed oxygen, and from peak to trough is recorded as released carbon dioxide. The amount of absorbed oxygen and exhaled carbon dioxide is obtained, and the trough and peak of the waveform are recorded as T respectively. 谷1、 T 谷2、 T 谷3、 …;T 峰1、 T峰2、 T 峰3、 …,but According to V 吸1 、V 呼1 The oxygen consumption is ΔV1, ΔV1 = V 吸1 -V 呼1 , and then calculate the maximum oxygen uptake per minute based on the number of breaths per minute n is the respiratory rate per minute.
[0095] The information processing module is used to determine the state of motion through the acceleration data in three directions monitored, and to determine the level of motion through the state of motion combined with the calculated maximum oxygen uptake per minute. Specifically, it includes:
[0096] Acceleration data in three directions Preprocessing is performed; specifically, the acceleration data is filtered using a filtering algorithm; since the acceleration signal is presented in the form of a data stream in the time domain, feature engineering cannot be performed directly, so the acceleration data needs to be windowed.
[0097] In order to adapt to the real-time nature of the signal, this embodiment updates the filter parameters by increasing the threshold, and defines the new output value as the weighted sum of the current sampling value and the previous output value to obtain the current output value;
[0098] In order to avoid the window being too large, which may cause motion recognition delays, and may also cause a window to contain different types of motions, causing training errors; and the window being too small, which may cause a window to not contain a complete motion, resulting in the loss of motion information, thus affecting the recognition results. This embodiment uses two adjacent sliding windows with a 50% overlap to process acceleration data.
[0099] Extract the features of acceleration data; specifically, extract the features of acceleration data from the time domain and frequency domain respectively, the features include acceleration in three directions The mean and synthetic acceleration Mean, acceleration in three directions Variance, acceleration in three directions Maximum value, acceleration in three directions Minimum value, acceleration in three directions Pairwise correlation, acceleration in three directions Peak-to-valley value, synthetic acceleration Peak-to-valley value, synthetic acceleration Variance and energy value of acceleration signal in frequency domain; wherein, the energy value of acceleration signal in frequency domain is the square of Fourier transform of original signal. Wavelet analysis technology can be applied to extract the features of signal in each frequency band. The multi-scale spatial energy distribution feature extraction method based on wavelet transform is to perform frequency band analysis on signal and then use the energy of each frequency band obtained by calculation as feature vector.
[0100] The extracted time domain features and frequency domain features are input into the classification model to identify the corresponding motion state.
[0101] The construction of the classification model includes: obtaining acceleration data under different motion states; the motion states include walking, running, mountain climbing, etc.;
[0102] Preprocess the acceleration data under different motion states; specifically include the following steps:
[0103] A filtering algorithm is used to filter the acceleration data. Since the acceleration signal is presented in the form of a data stream in the time domain, feature engineering cannot be performed directly, so the acceleration data needs to be windowed.
[0104] In order to adapt to the real-time nature of the signal, this embodiment updates the filter parameters by increasing the threshold, and defines the new output value as the weighted sum of the current sampling value and the previous output value to obtain the current output value;
[0105] In order to avoid the window being too large, which may cause motion recognition delays, and may also cause a window to contain different types of motions, causing training errors; and the window being too small, which may cause a window to not contain a complete motion, resulting in the loss of motion information, thus affecting the recognition results. This embodiment uses two adjacent sliding windows with a 50% overlap to process acceleration data.
[0106] Extract the features of acceleration data according to the characteristics of the motion state, and select the extracted features; specifically, extract the features of acceleration data from the time domain and frequency domain respectively, and the features include acceleration in three directions The mean and synthetic acceleration Mean, acceleration in three directions Variance, acceleration in three directions Maximum value, acceleration in three directions Minimum value, acceleration in three directions Pairwise correlation, acceleration in three directions Peak-to-valley value, synthetic acceleration Peak-to-valley value, synthetic acceleration Variance and energy value of acceleration signal in frequency domain; wherein, the energy value of acceleration signal in frequency domain is the square of Fourier transform of original signal. Wavelet analysis technology can be applied to extract the features of signal in each frequency band. The multi-scale spatial energy distribution feature extraction method based on wavelet transform is to perform frequency band analysis on signal and then use the energy of each frequency band obtained by calculation as feature vector.
[0107] In order to remove features that are irrelevant to the current learning task, so as to reduce the learning burden and the learning difficulty, this embodiment selects the extracted features based on the feature selection algorithm (ID3 algorithm) based on information gain. The ID3 algorithm is a decision tree algorithm that selects features based on information gain. The concept of information gain is proposed in information theory, which represents the amount of information provided by an event under the premise that an event is known to have occurred. The ID3 algorithm selects split features by calculating the information gain of each feature.
[0108] Create training sample sets and test sample sets using the selected feature values;
[0109] The support vector machine classification model is trained and tested through the training sample set and the test sample set to obtain the optimal model. Among them, the support vector machine classification model can process high-dimensional data, has strong generalization ability, is suitable for small sample data, can handle nonlinear problems, and has good robustness and interpretability.
[0110] The exercise level is obtained by looking up the table based on the exercise state and the calculated maximum oxygen uptake per minute;
[0111] The construction of the lookup table includes: obtaining breathing data under different motion states;
[0112] The monitored respiratory data is processed to obtain a respiratory waveform, and the respiratory frequency is calculated based on the peak-to-peak value of the respiratory waveform. The respiratory waveform is analyzed, and the transition from the trough to the peak of the respiratory waveform is recorded as oxygen absorption, and the transition from the peak to the trough is recorded as carbon dioxide release. The amount of oxygen absorbed and the amount of carbon dioxide exhaled are obtained, and the oxygen consumption is calculated based on the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and the maximum oxygen uptake per minute is calculated in combination with the respiratory frequency;
[0113] The maximum oxygen uptake per minute is marked according to the preset sports level; wherein the sports levels include amateur, excellent, and professional; for example, the maximum oxygen uptake per minute of the professional level corresponding to running is a1, the maximum oxygen uptake per minute of the excellent level is b1, and the maximum oxygen uptake per minute of the professional level is c1; the maximum oxygen uptake per minute of the professional level corresponding to mountaineering is a2, the maximum oxygen uptake per minute of the excellent level is b2, and the maximum oxygen uptake per minute of the professional level is c2, etc.
[0114] Statistically analyzing the distribution of exercise states and maximum oxygen uptake per minute in the exercise level space; for example, this can be achieved through indirect parameter fitting or direct fitting.
[0115] The correspondence between the exercise state, the maximum oxygen uptake per minute and the exercise level is stored as a lookup table.
[0116] The present invention provides an exercise energy consumption monitoring device based on multi-parameter fusion. During exercise, an acceleration sensor is used to monitor acceleration data, and a respiratory signal monitoring sensor is used to monitor respiratory data. The exercise state is determined by the acceleration data, and the maximum oxygen uptake per minute is calculated by the respiratory data. The exercise state and the maximum oxygen uptake per minute are combined to determine the exercise level. The device has good recognition of human body movements, and the detection accuracy is improved compared with the single application of an acceleration sensor and a respiratory signal monitoring sensor. In addition, the device has good feedback on the monitoring results. The device is small in size, and experiments can be carried out without complicated operations. The sensor cost is low, and the real-time requirements of energy consumption data processing are met. The device is low in cost, easy to wear, accurate in energy consumption calculation, and has a real-time feedback function.
[0117] For a detailed description of the system, please refer to the corresponding description in the above method embodiment, which will not be repeated here.
[0118] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0119] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0120] The above are only embodiments of this specification and are not intended to limit one or more embodiments of this specification. For those skilled in the art, one or more embodiments of this specification may have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of this specification shall be included in the scope of the claims of one or more embodiments of this specification.
Claims
1. A method for monitoring sports energy consumption based on multi-parameter fusion, characterized in that: The following steps are involved: Monitoring acceleration data during motion, wherein the acceleration data includes acceleration data in three directions; Monitor breathing data during exercise; Processing the monitored respiratory data to obtain a respiratory waveform, calculating the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyzing the respiratory waveform, recording the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtaining the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculating the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculating the maximum oxygen uptake per minute in combination with the respiratory frequency; Determine the motion state through the acceleration data in three directions; The exercise level is determined by combining the exercise status with the calculated maximum oxygen uptake per minute.
2. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 1, characterized in that: Determining the motion state by monitoring the acceleration data in three directions comprises the following steps: Preprocess the acceleration data in three directions; Extract features from acceleration data; The extracted time domain features and frequency domain features are input into the classification model to identify the corresponding motion state.
3. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 2, characterized in that: The construction of the classification model includes the following steps: Acquire acceleration data in different motion states; wherein the motion states include walking, running, and mountain climbing; Preprocess the acceleration data under different motion states; Extract the features of the acceleration data according to the characteristics of the motion state, and select the extracted features; Create training sample sets and test sample sets using the selected feature values; The support vector machine classification model is trained and tested by using the training sample set and the test sample set to obtain an optimal model.
4. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 2 or 3, characterized in that: Preprocessing the acceleration data includes filtering the acceleration data using a filtering algorithm and performing windowing on the acceleration data.
5. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 4, characterized in that: The filtering process of the acceleration data by using the filtering algorithm includes updating the filtering parameters by increasing the threshold value, defining a new output value as a weighted value of the current sampling value and the previous output value to obtain the current output value; The windowing process for the acceleration data includes processing the acceleration data by using two adjacent sliding windows with an overlap of 50%.
6. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 3, characterized in that: Extracting features of acceleration data includes extracting features of acceleration data from the time domain and the frequency domain respectively, wherein the features include the mean of acceleration in three directions, the mean of synthetic acceleration, the variance of acceleration in three directions, the maximum value of acceleration in three directions, the minimum value of acceleration in three directions, the correlation between accelerations in three directions, the peak-to-valley values of acceleration in three directions, the peak-to-valley values of synthetic acceleration, the variance of synthetic acceleration, and the energy value of acceleration signal in the frequency domain; The selecting the extracted features includes selecting the extracted features using a feature selection algorithm based on information gain.
7. The method for monitoring sports energy consumption based on multi-parameter fusion according to claim 1, characterized in that: Determining the exercise level by combining the exercise state with the calculated maximum oxygen uptake per minute includes obtaining the exercise level by looking up a table according to the exercise state and the calculated maximum oxygen uptake per minute; The construction of the lookup table comprises the following steps: Obtain breathing data under different motion states; Processing the monitored respiratory data to obtain a respiratory waveform, calculating the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyzing the respiratory waveform, recording the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtaining the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculating the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculating the maximum oxygen uptake per minute in combination with the respiratory frequency; The maximum oxygen uptake per minute is marked according to the preset exercise level; wherein the exercise level includes amateur, excellent, and professional; Statistical analysis of the distribution of exercise status and maximum oxygen uptake per minute in the exercise level space; The correspondence between the exercise state, the maximum oxygen uptake per minute and the exercise level is stored as a lookup table.
8. An electronic device, characterized in that: include: A memory having program code stored therein; A processor is connected to the memory, and when the program code is executed by the processor, the method according to any one of claims 1 to 7 is implemented.
9. A computer-readable storage medium, characterized in that: Program instructions are stored thereon, and when the program instructions are executed, the method according to any one of claims 1 to 7 is implemented.
10. A sports energy consumption monitoring device based on multi-parameter fusion, implementing the method according to any one of claims 1 to 7, characterized in that: It includes a physiological signal parameter monitoring module and an information processing module; wherein, The physiological signal parameter monitoring module includes a motion information monitoring module and a respiratory signal detection module; The motion information monitoring module includes an acceleration sensor, and the acceleration sensor is used to monitor acceleration data in motion, and the acceleration data includes acceleration data in three directions; The respiratory signal detection module is used to monitor the respiratory data during exercise, process the monitored respiratory data to obtain a respiratory waveform, calculate the respiratory frequency according to the peak-to-peak value of the respiratory waveform, analyze the respiratory waveform, record the absorption of oxygen from the trough to the peak in the respiratory waveform, and the release of carbon dioxide from the peak to the trough, obtain the amount of oxygen absorbed and the amount of carbon dioxide exhaled, calculate the oxygen consumption according to the amount of oxygen absorbed and the amount of carbon dioxide exhaled, and calculate the maximum oxygen uptake per minute in combination with the respiratory frequency; The information processing module is used to determine the motion state through the monitored acceleration data in three directions, and to determine the exercise level through the motion state combined with the calculated maximum oxygen uptake per minute.
