Real-time hrv biofeedback training system, method, device and program product based on wearable device

By using a wearable device-based real-time HRV biofeedback training system, a closed-loop gradient search strategy is employed to automatically search for resonant frequencies, solving the problems of long training time, reliance on manual labor and dedicated sensors in existing technologies, and enabling efficient and personalized HRV biofeedback training in everyday scenarios.

CN123166601APending Publication Date: 2026-11-27AFFILIATED HUSN HOSPITAL OF FUDAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611578983.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-13
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing HRV biofeedback training solutions are time-consuming, rely on manual intervention, are difficult to promote in daily scenarios, cannot search and lock individual resonant frequencies in a single real-time closed-loop training session, and rely on dedicated respiratory sensors, which increases the hardware threshold.

Method used

A real-time HRV biofeedback training system based on wearable devices is adopted. The wearable acquisition device collects pulse signals in real time. Combined with signal processing module, metronome module and HRV evaluation module, a closed-loop gradient search strategy is used to automatically search for resonant frequencies, reducing the dependence on dedicated respiratory sensors.

Benefits of technology

It achieves automatic locking of individual resonant frequencies in a single training session, lowers the hardware threshold, is suitable for everyday scenarios, requires no professional personnel to operate, and improves search efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123166601A_ABST
    Figure CN123166601A_ABST
Patent Text Reader

Abstract

The application provides a wearable device-based real-time HRV biofeedback training system, method, device and program product. The system comprises a wearable collection device, a signal processing module, a metronome module, an HRV evaluation module and a resonance frequency search module. The application can collect pulse signals of a user in real time through the wearable collection device, without the need for additional configuration of a dedicated breathing sensor, thereby reducing the hardware threshold and alleviating the burden on the user, and being suitable for daily use scenarios. In addition, the application adopts a closed-loop gradient search strategy with peak-to-valley amplitude as a feedback index, continuously evaluates and adjusts during the breathing guidance process of the user following the metronome module, without the need for multiple training data accumulation or human intervention, and can automatically search for an individual resonance frequency in a single training, thereby improving the search efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of biomedical signal processing and digital health technology, and in particular to a real-time HRV biofeedback training system, method, device and program product based on wearable devices. Background Technology

[0002] HRV biofeedback training is a non-pharmacological intervention that enhances autonomic nervous system regulation by modulating respiratory rhythm. It has been widely used in areas such as anxiety disorders, hypertension, chronic pain, and performance optimization. Its core mechanism lies in the fact that when an individual breathes at a resonance frequency (RF), respiratory sinus arrhythmia (RSA) resonates with the baroreflex, maximizing the amplitude of heart rhythm oscillations. At this point, the power of the low-frequency band (LF, 0.04-0.15 Hz) is concentratedly enhanced, and the homeostatic regulation capacity of the autonomic nervous system reaches its optimal level.

[0003] The following methods are currently used to detect the resonant frequency: (1) The test subject attempts multiple discrete breathing frequencies in increments of 0.5 bpm within a range of 4.5 to 6.5 breaths per minute (bpm). Each frequency is maintained for approximately 2 to 3 minutes, and the HRV index at each frequency is manually compared to determine the resonant frequency. The respiratory assessment takes approximately 10 to 15 minutes (5 frequencies, 2 to 3 minutes each). Adding the time for equipment preparation and professional interpretation, the entire process typically takes 20 to 30 minutes. Furthermore, existing research indicates that the resonant frequency changes in 66.7% of individuals between test and retest, meaning that the results of a single assessment are not valid in the long term. Due to the limited assessment time of this step-by-step assessment method, it is difficult to repeat the process before each training session.

[0004] (2) A fixed rate of change (e.g., 67.04 ms / breath) was used to continuously scan 78 respiratory cycles in the range of 4.25 to 6.75 bpm. The resonant frequency was quantified by locating the 1-minute interval where the maximum peak-to-trough variability was located, achieving full automation and higher precision. However, it is essentially still a scanning evaluation based on a preset track and cannot dynamically adjust the search direction according to the real-time HRV response.

[0005] (3) The resonant frequency is gradually approximated across multiple sessions using Journey Mode, but this method cannot lock the frequency in a single training session. Although some resonant respiratory rate detection apps can determine the resonant frequency in a single 12-minute assessment, they require a dedicated chest strap ECG sensor and a weighted assessment using the Shaffer six criteria.

[0006] (4) Use ultra-wideband (UWB) radar for non-contact heart rate detection, and continuously lower the respiratory rate based on the LF / TF ratio until the ratio stabilizes. This solution is not suitable for mobile scenarios, but this method is not suitable for mobile scenarios.

[0007] In summary, the existing technology has the following drawbacks: (1) Resonance frequency assessment is time-consuming and requires professional personnel to operate and interpret, making it difficult to promote in daily scenarios; (2) It is impossible to search for and lock individual resonant frequencies in a single real-time closed-loop training session; (3) It relies on a dedicated breathing sensor, which increases the hardware threshold and user burden.

[0008] It should be noted that the information disclosed in the background section above is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0009] To address the problems in the prior art, the purpose of this application is to provide a real-time HRV biofeedback training system, method, device, and program product based on wearable devices. It aims to solve the problems of long time consumption for resonance frequency assessment, reliance on manual intervention, and difficulty in promotion in daily scenarios in existing solutions; to solve the problem that existing solutions cannot search for and lock individual resonance frequencies in a single real-time closed-loop training session; and to solve the problem that existing solutions rely on dedicated respiratory sensors, resulting in high hardware barriers.

[0010] The first aspect of this application provides a real-time HRV biofeedback training system based on a wearable device, comprising: a wearable acquisition device for real-time acquisition of a user's pulse signal; a signal processing module for peak detection of the preprocessed user pulse signal, extraction of heart rate interval sequences, and removal of ectopic beats from the heart rate interval sequences to obtain an effective interval sequence; a metronome module for providing corresponding respiratory guidance signals based on input metronome parameters; an HRV evaluation module for performing peak-valley amplitude calculation on the effective interval sequence using a preset first sliding window; and a resonance frequency search module for performing resonance frequency search by adjusting the metronome parameters based on closed-loop gradient search rules and the peak-valley amplitude calculated by the HRV evaluation module, thereby determining the final resonance frequency.

[0011] In one embodiment of this application, preprocessing the user's pulse signal includes: performing bandpass filtering on the user's pulse signal; and removing ectopic beats from the heart rate interval sequence includes: removing abnormal interval values ​​and monotonic drift segments of a preset number of consecutive intervals from the heart rate interval sequence.

[0012] In one embodiment of this application, a preset first sliding window is used to perform peak-valley amplitude calculation on the effective interval sequence, including: obtaining the effective interval sequence within the current first sliding window and performing instantaneous heart rate conversion to obtain the instantaneous heart rate sequence of the current first sliding window; determining the maximum and minimum values ​​in the instantaneous heart rate sequence of the current first sliding window, and using the difference between the two as the peak-valley amplitude of the current first sliding window.

[0013] In one embodiment of this application, the metronome parameters include the breathing guidance frequency, and the closed-loop gradient search rule includes: if the peak-valley amplitude of the current first sliding window increases compared to the peak-valley amplitude of the previous first sliding window, then the breathing guidance frequency is adjusted along the current search direction by a preset step size; if the peak-valley amplitude of the current first sliding window decreases compared to the peak-valley amplitude of the previous first sliding window, and the peak-valley amplitudes of the M windows preceding the current first sliding window decrease relative to their respective immediate preceding windows, then the breathing guidance frequency is adjusted in the opposite direction of the current search direction by a preset step size; where M is a positive integer.

[0014] In one embodiment of this application, the specific method for determining the final resonance frequency includes: when the rate of change of the peak-valley amplitude of every two adjacent first sliding windows in the current first sliding window and the N first sliding windows before it is less than a preset threshold, the final breathing guidance frequency of the current first sliding window is determined as the resonance frequency; where N is a positive integer.

[0015] In one embodiment of this application, the HRV evaluation module is further configured to perform low-to-high frequency power ratio calculation on the effective interval sequence using a preset second sliding window after the resonance frequency has been determined.

[0016] In one embodiment of this application, the metronome parameters further include the inspiratory-expiratory ratio (IPR), and the system further includes an IPR adjustment module for adjusting the IPR according to an IPR adjustment rule and in conjunction with the low-frequency power calculated by the HRV evaluation module; wherein the IPR adjustment rule includes: if the low-frequency power of the current second sliding window is higher than a preset upper threshold, then the IPR is decreased; if the low-frequency power of the current second sliding window is lower than a preset lower threshold, then the IPR is increased.

[0017] A second aspect of this application also provides a real-time HRV biofeedback training method based on wearable devices, applied to a real-time HRV biofeedback training system based on wearable devices. The system includes a wearable acquisition device and a metronome module. The wearable acquisition device is used to acquire the user's pulse signal in real time, and the metronome module is used to provide corresponding breathing guidance signals according to input metronome parameters. The method includes: acquiring the acquired user pulse signal; performing peak detection on the preprocessed user pulse signal, extracting the heart rate interval sequence, and performing ectopic beat removal processing on the heart rate interval sequence to obtain an effective interval sequence; performing peak-valley amplitude calculation on the effective interval sequence using a preset first sliding window; and determining the final resonance frequency by adjusting the metronome parameters according to a closed-loop gradient search rule and in combination with the calculated peak-valley amplitude.

[0018] A third aspect of this application also provides a real-time HRV biofeedback training device based on a wearable device, comprising: processor; A memory in which executable instructions of the processor are stored; The processor is configured to execute the steps of the above-described real-time HRV biofeedback training method based on wearable devices by executing the executable instructions.

[0019] A fourth aspect of this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described real-time HRV biofeedback training method based on a wearable device.

[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.

[0021] The real-time HRV biofeedback training system, method, device, and program products based on wearable devices of this application have the following beneficial effects: This application can collect users' pulse signals in real time via wearable acquisition devices, eliminating the need for additional dedicated breathing sensors, thus lowering the hardware threshold and reducing the burden on users, making it suitable for everyday use. Furthermore, this application employs a closed-loop gradient search strategy using peak-valley amplitude as a feedback indicator. This strategy continuously evaluates and adjusts the signal as the user follows the breathing guidance of the metronome module, eliminating the need for multiple training data accumulations and manual intervention. It can automatically search for the individual resonant frequency in a single training session, improving search efficiency. Attached Figure Description

[0022] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings.

[0023] Figure 1 This is a schematic block diagram of a real-time HRV biofeedback training system based on a wearable device according to an embodiment of this application; Figure 2 This is a schematic diagram of an inspiratory-to-exhalation ratio adjustment module according to an embodiment of this application; Figure 3 This is a flowchart of a real-time HRV biofeedback training method based on a wearable device according to an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a real-time HRV biofeedback training device based on a wearable device according to an embodiment of this application; Figure 5 This is a schematic diagram of a computer program product according to an embodiment of this application. Detailed Implementation

[0024] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided to make this application more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0025] Furthermore, the accompanying drawings are merely illustrative of this application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices. Although the terms "first" or "second," etc., are used in this specification to denote certain features, these are only for indicating function and not as a limitation on the number or importance of specific features.

[0026] The flowchart shown in the attached diagram is merely an illustrative example and does not necessarily include all steps. For example, some steps may be broken down, while others may be combined or partially combined. Therefore, the actual execution order may change depending on the specific circumstances.

[0027] like Figure 1 As shown, this application provides a real-time HRV biofeedback training system 100 based on a wearable device, including: a wearable acquisition device 101, a signal processing module 102, a metronome module 103, an HRV evaluation module 104, and a resonance frequency search module 105.

[0028] The wearable device 100 includes a pulse signal sensor, which is a device used to detect the human pulse and convert it into an electrical signal. The wearable device 100 can be worn on the user's wrist or other body parts to collect the user's pulse signal in real time. The wearable device 100 is portable and can be worn on the body. It collects pulse signals through its built-in pulse signal sensor, eliminating the need for a dedicated breathing sensor. This not only saves on the purchase and deployment costs of dedicated hardware, lowering the hardware barrier, but also eliminates the hassle of users having to wear, operate, and maintain the device, reducing the user's burden and making it suitable for everyday scenarios.

[0029] The signal processing module 102 receives the user's pulse signal collected from the wearable device 101 and first preprocesses the user's pulse signal, including bandpass filtering, to remove baseline drift and high-frequency noise. Then, the signal processing module 102 performs peak detection on the preprocessed user's pulse signal and extracts the beat interval sequence as the heart rate interval sequence. Subsequently, the signal processing module 102 performs ectopic beat removal processing on the heart rate interval sequence to obtain the effective interval sequence.

[0030] The metronome module 103 generates corresponding breathing guidance signals based on the input metronome parameters, thereby guiding the user's breathing and helping the user adjust their breathing rhythm.

[0031] In one embodiment, the metronome parameters include the breathing guidance rate and the inspiratory-to-expiratory ratio (IPR). The breathing guidance rate typically refers to the number of complete respiratory cycles completed per unit of time, usually expressed as breaths per minute (bpm). A complete respiratory cycle consists of two phases: inspiration and expiration. The IPR typically refers to the ratio of the inspiratory time to the expiratory time within a respiratory cycle.

[0032] HRV evaluation module 104 uses a preset first sliding window to perform peak-valley amplitude calculation on the effective interval sequence to obtain the peak-valley amplitude of each first sliding window.

[0033] The resonance frequency search module 105, based on the closed-loop gradient search rule and combined with the peak-valley amplitude calculated by the HRV evaluation module 104, adjusts the metronome parameters (specifically, the breathing guidance frequency) to perform a resonance frequency search, thereby determining the final resonance frequency. During the search process, the breathing guidance frequency will change, and the breathing guidance signal generated by the metronome module 103 will also change accordingly. After determining the resonance frequency, the metronome module 103 will consistently generate the corresponding breathing guidance signal according to the determined resonance frequency.

[0034] This application employs a closed-loop gradient search strategy using peak-valley amplitude as the feedback indicator. It continuously evaluates and adjusts the individual resonant frequency during the user's breathing guidance guided by the metronome module 103, eliminating the need for multiple training data accumulations. This allows for automatic searching of the individual resonant frequency in a single training session, improving search efficiency compared to existing methods and achieving single-training locking. Furthermore, this application is applicable to everyday use scenarios, is fully automated, and requires no professional operation. Users can independently complete personalized HRV biofeedback training by wearing wearable data acquisition devices.

[0035] The system will be further described below: First, let's introduce the wearable data acquisition device and the metronome module: After the user wears the wearable data acquisition device, the device collects the user's pulse signal in real time. The metronome module can generate breathing guidance signals based on the input metronome parameters to guide the user's breathing.

[0036] In one embodiment, the types of pulse signal sensors include, but are not limited to, photoplethysmography (PPG) sensors, electrocardiogram (ECG) sensors, piezoelectric pulse sensors, remote photoplethysmography (rPPG) cameras, and finger clip photoplethysmography sensors.

[0037] It should be understood that a photoplethysmography (PPG) sensor is a physiological sensor that detects vascular pulsation based on changes in light absorption and acquires pulse-related PPG signals. An electrocardiogram (ECG) sensor is a bioelectric sensor device that acquires the surface potential difference generated by the electrical activity of the human myocardium to obtain ECG signals. A piezoelectric pulse sensor is a mechanical sensor that utilizes the property of piezoelectric materials to generate electrical signals under stress and deformation, sensing pulse pressure fluctuations and outputting pulse waveforms. A remote PPG camera is an image acquisition device that extracts PPG pulse signals in a non-contact manner by capturing pixel light intensity changes in video images of skin areas such as the face. A finger-clamp PPG sensor is a portable sensing component that uses a finger-clamp fixing structure to emit and receive probe light, acquiring fingertip PPG pulse signals.

[0038] In a preferred embodiment, the pulse signal sensor is a reflective green PPG sensor built into a smartwatch or smart bracelet. The smartwatch or smart bracelet equipped with the reflective green PPG sensor can achieve long-term, uninterrupted pulse signal acquisition under normal daily wear. Furthermore, this method requires no electrode attachment or clamping, and does not rely on external devices, resulting in minimal wearing burden and continuous monitoring during various daily activities. In addition, the reflective green PPG module is compact, facilitating integrated packaging into the watch case, balancing device integration and ease of use.

[0039] In one embodiment, when the metronome module is activated, it first generates a corresponding breathing guidance signal according to a preset initial breathing guidance frequency (e.g., 6.0 bpm) and a preset inspiratory-to-expiratory ratio (e.g., 4:6) to guide the user to breathe according to the current breathing guidance frequency and inspiratory-to-expiratory ratio.

[0040] In one embodiment, the metronome module includes one or more types of guiding units, each of which can be activated independently or used in any combination to adapt to diverse application scenarios (such as automatically switching vibration modes in noisy environments or using a light flashing mode for hearing-impaired users). All activated guiding units generate corresponding breathing guidance signals based on the same breathing guidance frequency and inspiratory-to-expiratory ratio. The breathing guidance frequency can be directly estimated from the breathing guidance signal frequency, eliminating the need for additional chest straps, breathing sensors, or complex EDR algorithms, significantly reducing hardware requirements and user burden.

[0041] The types of guiding units include: auditory guiding units, visual guiding units, vibration guiding units, and light flickering guiding units.

[0042] The auditory guidance unit is configured to generate a perceptible breathing guidance sound signal based on the input breathing guidance frequency and inhalation-exhalation ratio, thereby guiding the user to adjust their breathing according to the sound signal. For example, the auditory guidance unit can output prompts with different beats to guide the user to adjust their breathing, or it can output audio signals with different tones to guide the user to adjust their breathing.

[0043] The visual guidance unit is configured to generate a visual breathing guidance signal for the user to view based on the input breathing guidance frequency and inspiratory-to-expiratory ratio, thereby guiding the user to adjust their breathing according to the visual signal. For example, the visual guidance unit may display an animated breathing waveform on the screen to guide the user to adjust their breathing, or it may guide the user to adjust their breathing rhythm by displaying an inspiratory / expiratory indicator ring.

[0044] The vibration guidance unit is configured to generate a breath guidance vibration signal that can be perceived by the user based on the input breath guidance frequency and inspiratory-to-expiratory ratio. When the user perceives the vibration, an inhalation or exhalation action is executed accordingly to achieve breath regulation. For example, the vibration guidance unit uses a linear vibration motor to output intermittent vibration.

[0045] The light-flickering guidance unit is configured to generate a breath guidance light signal that can be observed by the user based on the input breath guidance frequency and inspiratory-to-expiratory ratio, so as to guide the user to adjust their breathing according to the light signal. For example, the light-flickering guidance unit uses a screen or LED indicator lights to guide the user to adjust their breathing by alternately lighting up and turning off.

[0046] The remaining modules are further described below: After the wearable data acquisition device collects the user's pulse signal, it sends the signal to the signal processing module. Upon receiving the pulse signal, the signal processing module first performs preprocessing. Preprocessing includes bandpass filtering to remove baseline drift and high-frequency noise from the pulse signal. It should be understood that baseline drift refers to low-frequency interference that causes the signal baseline to fluctuate slowly over time, typically manifesting as a shift in the overall zero point or average level of the signal; high-frequency noise refers to rapid, chaotic fluctuations with frequencies significantly higher than the useful signal components, typically appearing as fine spikes superimposed on the signal.

[0047] In one specific embodiment, the user's pulse signal is bandpass filtered from 0.5 Hz to 5 Hz to retain the effective pulse signal within the 0.5 Hz to 5 Hz frequency band.

[0048] Furthermore, peak detection is performed on the preprocessed user pulse signal to identify the peak position of each pulse wave, and the pulse peak value and its corresponding time point are recorded. The time difference between two adjacent pulse peak values ​​is calculated, i.e., the beat interval value. The obtained multiple beat interval values ​​are sorted in chronological order to generate a beat interval sequence, and this beat interval sequence is used as the heart rate interval sequence.

[0049] Then, ectopic beat processing is performed on the heart rate interval sequence to obtain the valid interval sequence. Specifically, the mean of multiple beat interval values ​​in the heart rate interval sequence is calculated, and abnormal intervals are determined accordingly. Beat interval values ​​falling into these abnormal intervals are identified as abnormal interval values ​​and removed from the heart rate interval sequence. Simultaneously, monotonically drifting segments of a predetermined number of consecutive intervals are also removed from the heart rate interval sequence. A monotonically drifting segment of a predetermined number of consecutive intervals refers to a predetermined number (which can be set according to requirements) of beat interval values ​​that are either monotonically increasing or monotonically decreasing.

[0050] It should be understood that the abnormal range can be set according to actual needs. For example, a range exceeding the mean by plus or minus 30% can be considered an abnormal range.

[0051] The HRV assessment module performs peak-valley amplitude calculations on the effective interval sequence using a preset first sliding window while the user breathes in sync with a metronome. Specifically, the HRV assessment module first acquires the effective interval sequence within the current first sliding window. Since each beat interval value in the effective interval sequence is associated with a corresponding timestamp (the end or start time of each interval), the module filters beat interval values ​​whose timestamps fall within that time interval from the effective interval sequence based on the time interval of the current first sliding window, thus obtaining the effective interval sequence within the current first sliding window.

[0052] In one embodiment, the duration of the first sliding window must cover at least two complete respiratory cycles at the current respiratory guidance frequency (approximately 17-24 seconds within a typical 5.0-7.0 bpm search range).

[0053] Furthermore, the HRV assessment module converts each beat interval value in the effective interval sequence within the current first sliding window into the corresponding instantaneous heart rate according to the formula instantaneous heart rate = 60 ÷ beat interval value, thereby obtaining the instantaneous heart rate sequence of the current first sliding window.

[0054] Determine the maximum and minimum values ​​in the instantaneous heart rate sequence of the current first sliding window, and use the difference between the maximum and minimum values ​​in the instantaneous heart rate sequence of the current first sliding window as the peak-valley amplitude of the current first sliding window.

[0055] Furthermore, the peak-valley amplitude of the current first sliding window is compared with the peak-valley amplitude of the previous first sliding window. Based on the comparison result, the breathing guidance frequency is adjusted according to the closed-loop gradient search rule. Specifically, the closed-loop gradient search rule includes: If the peak-valley amplitude of the current first sliding window is greater than that of the previous first sliding window, the breathing guidance frequency is adjusted along the current search direction according to the preset step size.

[0056] If the peak-valley amplitude of the current first sliding window is less than the peak-valley amplitude of the previous first sliding window, then adjust the breathing guidance frequency in the opposite direction of the current search direction according to the preset step size. If the peak-valley amplitude of the current first sliding window is equal to the peak-valley amplitude of the previous first sliding window, no adjustment is made.

[0057] Thus, a gradient search closed loop is formed with the optimization objective of maximizing peak and valley amplitude.

[0058] This application can also introduce a hysteresis protection mechanism to avoid frequent reversals of the search direction due to instantaneous physiological fluctuations, ensuring stable convergence and making the resonant frequency search more robust. Specifically, if the peak-valley amplitude of the current first sliding window is less than that of the previous first sliding window, and the peak-valley amplitudes of the M windows preceding the current first sliding window are all less than their respective adjacent preceding windows, then the breathing guidance frequency is adjusted in the opposite direction of the current search direction according to a preset step size; where M is a positive integer, M≥1.

[0059] It should be understood that the current search direction refers to the increasing or decreasing trend of the last adjustment of the respiratory guidance frequency, reflecting the recent trend of changes in the respiratory guidance frequency. For example, the first... i The breathing guidance frequency was increased within the first sliding window. For the first... i The first sliding window is currently searching in the forward direction. When the first...i The peak-valley amplitude of the first sliding window is greater than that of the second sliding window. i When the peak-valley amplitude of the first sliding window is determined, the breathing guidance frequency continues to increase with a preset step size. i The peak-valley amplitude of the first sliding window is smaller than that of the second sliding window. i When the peak-valley amplitude of the first sliding window is -1, the breathing guidance frequency continues to decrease with a preset step size.

[0060] No. i The breathing guidance frequency is reduced within the first sliding window. For the first... i The first sliding window is currently searching in the reverse direction. When the first... i The peak-valley amplitude of the first sliding window is greater than that of the second sliding window. i When the peak-to-trough amplitude of the first sliding window is determined, the breathing guidance frequency continues to decrease with a preset step size. i The peak-valley amplitude of the first sliding window is smaller than that of the second sliding window. i When the peak-to-trough amplitude of the first sliding window is reached, the breathing guidance frequency continues to increase with a preset step size. It should be noted that... i It is a positive integer.

[0061] The adjusted breathing guidance frequency is input to the metronome module, which then generates a corresponding breathing guidance signal based on the adjusted frequency. In one specific embodiment, the step size is located in the range of 0.2 to 0.3 bpm.

[0062] When the rate of change of the peak-valley amplitude between any two adjacent first sliding windows is less than a preset threshold in the current first sliding window and the N first sliding windows prior to it, the final breathing guidance frequency of the current first sliding window is determined as the resonance frequency. Specifically, the first... j The first sliding window is the current first sliding window. In the... j The first sliding window may have adjusted the breathing guidance rate, or it may have remained unchanged. Therefore, the second sliding window... j The final breathing guidance frequency in the first sliding window could be either an adjusted frequency or an unadjusted frequency. j When the rate of change of the peak-valley amplitude of any two adjacent first sliding windows is less than a preset threshold in the first sliding window and the N first sliding windows before it, the first sliding window will be... j The final breathing guidance frequency for the first sliding window was determined to be the resonant frequency. It should be noted that... j It is a positive integer.

[0063] In one embodiment, N is a positive integer, generally greater than or equal to 2, preferably N=3.

[0064] In one embodiment, the first j The first sliding window and the firstj -1 The rate of change of the peak-valley amplitude of the first sliding window is equal to the first j The first sliding window and the first j -1 The difference between the peak and valley amplitudes of the first sliding window divided by the first j -1 is the peak-valley amplitude of the first sliding window. The preset threshold is 2%~5%, preferably 3%.

[0065] After determining the resonance frequency, the metronome module generates a corresponding breathing guidance signal based on that resonance frequency to continuously guide the user to complete subsequent training.

[0066] This application uses peak-valley amplitude instead of LF power as the objective function for resonant frequency search, so as to dynamically adjust the breathing guidance frequency according to the direction of amplitude change during the search process. This application overcomes the inertia of regarding the frequency domain index (LF power) as the only reliable indicator. In addition, under the constraint of metronome-guided breathing, the 30-second short window calculation result of peak-valley amplitude is sufficient to reflect the changing trend of RSA amplitude; while LF power requires an analysis window of more than 2 minutes for each data point, and if used for gradient search, the overall search will far exceed the feasible time of a single training session.

[0067] After determining the resonance frequency, the HRV evaluation module can also use a preset second sliding window to calculate the low-to-high frequency power ratio of the effective interval sequence.

[0068] Specifically, the HRV assessment module first obtains the valid interval sequence within the current second sliding window. Since each pulse interval value in the valid interval sequence is bound to a corresponding timestamp (the end or start time of each interval), the module filters pulse interval values ​​whose timestamps fall within that time interval from the valid interval sequence based on the time interval of the current second sliding window, thus obtaining the valid interval sequence within the current second sliding window.

[0069] Subsequently, a Lomb-Scargle periodogram or Fast Fourier Transform (FFT) is performed on the effective interval sequence within the current second sliding window. The low-frequency power of the current second sliding window is obtained by integrating over the 0.04–0.15 Hz frequency band, and the high-frequency power is obtained by integrating over the 0.15–0.4 Hz frequency band. It should be understood that the Lomb-Scargle periodogram is a statistical tool used to analyze periodic signals in non-uniformly sampled time series.

[0070] The ratio of low-frequency power to high-frequency power in the current second sliding window is the low-to-high frequency power ratio (LF / HF ratio) of the current second sliding window.

[0071] like Figure 2As shown, the real-time HRV biofeedback training system based on wearable devices also includes an IPR ratio adjustment module 106, which can adjust the IPR ratio according to the IPR ratio adjustment rules and in combination with the low-frequency power calculated by the HRV assessment module 104.

[0072] Specifically, if the low-frequency power of the current second sliding window is higher than the preset upper threshold, the exhalation phase time is extended, i.e., the inspiratory-to-expiratory ratio is reduced; if the low-frequency power of the current second sliding window is lower than the preset lower threshold, the exhalation phase time is shortened, i.e., the respiratory ratio is increased.

[0073] In one embodiment, the inhalation-exhalation ratio adjustment module can also adjust the inhalation-exhalation ratio according to user input to adapt to different training goals and individual differences in autonomic nervous system responses.

[0074] In one embodiment, after each adjustment, a preset evaluation interval (not less than 4 minutes) is waited before entering the next second sliding window to allow the autonomic nervous system to respond.

[0075] In one embodiment, the inhalation-to-exhalation ratio is adjusted to a range of 3:7 to 5:5.

[0076] In one embodiment, the wearable data acquisition device also includes an accelerometer to synchronously acquire motion signals. The motion signal output by the accelerometer includes X / Y / Z three-axis acceleration. A preset third sliding window is used to acquire the three-axis acceleration at all times within the current third sliding window. The three-axis acceleration at each time moment within the current third sliding window is calculated, the resultant acceleration at each time moment is calculated, and then the standard deviation of the resultant acceleration at all times within the current third sliding window is calculated to obtain the sliding standard deviation of the current third sliding window. When the sliding standard deviation of the current third sliding window exceeds a preset first threshold, motion artifacts are eliminated from the pulse signal using a least mean square (LMS) adaptive filter, with the acceleration signal as a reference input. When the sliding standard deviation of the current third sliding window exceeds a preset second threshold, the resonant frequency search is paused and a prompt is issued through the metronome module, automatically resuming after the motion intensity decreases.

[0077] In one embodiment, the HRV assessment module can also calculate the root mean square of the difference between adjacent intervals.

[0078] In one embodiment, the real-time HRV biofeedback training system based on wearable devices further includes a storage module for storing the user's pulse signal, the calculated low-to-high frequency power ratio, the calculated peak-to-valley amplitude, and the determined resonant frequency.

[0079] In one embodiment, the wearable device-based real-time HRV biofeedback training system may be located on the following device: Smartwatches or smart bracelets (with built-in PPG sensors, accelerometers, vibration motors, screens / LEDs, speakers, or Bluetooth communication modules). Smartphone (connected to wearable devices via Bluetooth or captured using the front-facing camera rPPG). Chest-strap ECG sensor (for display on mobile phone / tablet); Clip-on PPG sensor (for use with mobile phone / tablet display).

[0080] The wearable device-based real-time HRV biofeedback training system of this application can be applied to the following scenarios: mental health (assisted rehabilitation training for anxiety and depression), cardiovascular health management (non-drug-assisted intervention for patients with hypertension), chronic pain management (fibromyalgia, migraine, etc.), sleep improvement (pre-sleep training to help users switch from sympathetic to parasympathetic dominance), sports training and recovery (pre-competition psychological adjustment and post-competition recovery for athletes), and corporate health management (daily stress reduction and mental health maintenance for high-pressure professionals).

[0081] like Figure 3 As shown, this application also provides a real-time HRV biofeedback training method based on wearable devices, applied to a real-time HRV biofeedback training system based on wearable devices. The system includes a wearable acquisition device and a metronome module. The wearable acquisition device is used to acquire the user's pulse signal in real time, and the metronome module is used to provide corresponding breathing guidance signals according to the input metronome parameters. The method includes: Step S301: Acquire the collected user pulse signal.

[0082] Step S302: Perform peak detection on the preprocessed user pulse signal, extract the heart rate interval sequence, and perform ectopic beat removal processing on the heart rate interval sequence to obtain the effective interval sequence.

[0083] Step S303: Perform peak-valley amplitude calculation on the effective interval sequence using a preset first sliding window.

[0084] Step S304: Based on the closed-loop gradient search rule and combined with the calculated peak and valley amplitudes, the metronome parameters are adjusted to search for the resonance frequency, thereby determining the final resonance frequency.

[0085] In the real-time HRV biofeedback training method based on wearable devices in this embodiment, the sequence number of each step is only to distinguish each step, and is not a limitation on the specific execution order of each step. The execution order between the above steps can be adjusted and changed as needed.

[0086] In addition, in the real-time HRV biofeedback training method based on wearable devices in this application, each step can be implemented using the specific implementation method of the real-time HRV biofeedback training system based on wearable devices as described above, and the technical effects of the real-time HRV biofeedback training system based on wearable devices can be obtained, which will not be elaborated here.

[0087] This application embodiment also provides a real-time HRV biofeedback training device based on a wearable device, including a processor; a memory storing executable instructions of the processor; wherein the processor is configured to execute the steps of the real-time HRV biofeedback training method based on the wearable device by executing the executable instructions.

[0088] Those skilled in the art will understand that various aspects of this application can be implemented as systems, methods, or computer program products. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "platform."

[0089] The following reference Figure 4 To describe an electronic device 600 according to this embodiment of the present application. Figure 4 The electronic device 600 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0090] like Figure 4 As shown, the electronic device 600 is presented in the form of a general-purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different system components (including storage unit 620 and processing unit 610), a display unit 640, etc.

[0091] The storage unit stores program code that can be executed by the processing unit 610, causing the processing unit 610 to perform the steps described in the above section of this specification regarding the real-time HRV biofeedback training method based on a wearable device, according to various exemplary embodiments of this application. For example, the processing unit 610 can perform actions such as... Figure 3 The steps are shown in the figure.

[0092] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache 6202, and may further include a read-only memory unit (ROM) 6203.

[0093] The storage unit 620 may also include a program / utility 6204 having a set (at least one) program module 6205, such program module 6205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each or some combination of these examples may include an implementation of a network environment.

[0094] Bus 630 can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of the various bus structures.

[0095] Electronic device 600 can also communicate with one or more external devices 700 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 600, and / or with any device that enables electronic device 600 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 650. Furthermore, electronic device 600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 660. Network adapter 660 can communicate with other modules of electronic device 600 via bus 630. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0096] In the wearable device-based real-time HRV biofeedback training device, when the program in the memory is executed by the processor, it implements the steps of the wearable device-based real-time HRV biofeedback training method. Therefore, the device can also obtain the technical effects of the wearable device-based real-time HRV biofeedback training method.

[0097] like Figure 5 As shown, an exemplary embodiment of this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the above-described real-time HRV biofeedback training method based on a wearable device.

[0098] In one embodiment, the computer program product can be a tangible product containing a computer program, such as a computer-readable storage medium storing the computer program. The readable storage medium can be a storage medium based on electrical, magnetic, optical, electromagnetic, infrared, or other signals, including but not limited to: random access memory (RAM), read-only memory (ROM), magnetic tape, floppy disk, flash memory, hard disk drive (HDD), solid-state drive (SSD), etc. Exemplarily, the computer program product can be implemented as a non-volatile storage medium storing a computer program, such as read-only memory, NAND flash memory, etc.

[0099] In one implementation, the computer program product can be an intangible product containing a computer program. For example, the computer program product can be implemented as a virtual digital product, such as an executable file, installation package, or other digital file storing the computer program.

[0100] Computer program code can be written in one or more programming languages. Examples of programming languages ​​include C, Java, C++, and Python. Program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, such as a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via an internet connection provided by a mobile network operator).

[0101] Computer programs can be carried or transmitted via signals such as electricity, magnetism, light, electromagnetic fields, and infrared radiation. Electronic devices can convert the signals carrying computer programs into digital signals, thereby running the computer programs. When a computer program runs on an electronic device, its code is used to cause the electronic device to execute (more specifically, the processor of the electronic device to execute) the method steps of various exemplary embodiments of this application, such as the steps of the above-described real-time HRV biofeedback training method based on wearable devices.

[0102] When the computer program is executed by the processor, it implements the steps of the above-described real-time HRV biofeedback training method based on wearable devices. Therefore, the computer program product can also obtain the technical effects of the above-described real-time HRV biofeedback training method based on wearable devices.

[0103] The above description, in conjunction with specific preferred embodiments, provides a further detailed explanation of this application and should not be construed as limiting the specific implementation of this application to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of this application, and all such modifications or substitutions should be considered within the scope of protection of this application.

Claims

1. A real-time HRV biofeedback training system based on wearable devices, characterized in that, include: Wearable data acquisition devices are used to collect users' pulse signals in real time. The signal processing module is used to perform peak detection on the preprocessed user pulse signal, extract the heart rate interval sequence, and perform ectopic beat removal processing on the heart rate interval sequence to obtain an effective interval sequence. The metronome module is used to provide corresponding breathing guidance signals based on the input metronome parameters; The HRV evaluation module is used to perform peak-valley amplitude calculation on the effective interval sequence using a preset first sliding window. The resonance frequency search module is used to determine the final resonance frequency by adjusting the metronome parameters based on the closed-loop gradient search rule and the peak-valley amplitude calculated by the HRV evaluation module.

2. The real-time HRV biofeedback training system based on wearable devices according to claim 1, characterized in that, Preprocessing the user's pulse signal includes: bandpass filtering the user's pulse signal; removing ectopic beats from the heart rate interval sequence includes: removing abnormal interval values ​​and monotonic drift segments of a preset number of consecutive intervals from the heart rate interval sequence.

3. The real-time HRV biofeedback training system based on wearable devices according to claim 1, characterized in that, The effective interval sequence is subjected to peak-valley amplitude calculation using a preset first sliding window, including: Obtain the valid interval sequence within the current first sliding window and perform instantaneous heart rate conversion to obtain the instantaneous heart rate sequence of the current first sliding window; Determine the maximum and minimum values ​​in the instantaneous heart rate sequence of the current first sliding window, and use the difference between the two as the peak-valley amplitude of the current first sliding window.

4. The real-time HRV biofeedback training system based on wearable devices according to claim 3, characterized in that, The metronome parameters include the breathing guidance frequency, and the closed-loop gradient search rule includes: If the peak-valley amplitude of the current first sliding window increases compared to the peak-valley amplitude of the previous first sliding window, the breathing guidance frequency is adjusted along the current search direction according to the preset step size. If the peak-valley amplitude of the current first sliding window decreases compared to the peak-valley amplitude of the previous first sliding window, and the peak-valley amplitudes of the M windows preceding the current first sliding window decrease relative to their respective immediate preceding windows, then the breathing guidance frequency is adjusted in the opposite direction of the current search direction according to a preset step size; where M is a positive integer.

5. The real-time HRV biofeedback training system based on wearable devices according to claim 1, characterized in that, The specific methods for determining the final resonant frequency include: When the rate of change of the peak-valley amplitude of any two adjacent first sliding windows is less than a preset threshold in the current first sliding window and the N first sliding windows before it, the final breathing guidance frequency of the current first sliding window is determined as the resonance frequency; where N is a positive integer.

6. The real-time HRV biofeedback training system based on wearable devices according to claim 1, characterized in that, The HRV evaluation module is also used to perform low-to-high frequency power ratio calculation on the effective interval sequence using a preset second sliding window after the resonance frequency is determined.

7. The real-time HRV biofeedback training system based on wearable devices according to claim 6, characterized in that, The metronome parameters also include the inspiratory-to-expiratory ratio (IPR). The system also includes an IPR adjustment module, which adjusts the IPR according to the IPR adjustment rules and in conjunction with the low-to-high frequency power calculated by the HRV evaluation module. The inhalation-exhalation ratio adjustment rule includes: If the low-frequency power of the current second sliding window is higher than the preset upper threshold, then the inspiratory-to-exhalation ratio is reduced. If the low-frequency power of the current second sliding window is lower than the preset lower threshold, then the inspiratory-to-exhalation ratio is increased.

8. A real-time HRV biofeedback training method based on wearable devices, characterized in that, A real-time HRV biofeedback training system based on wearable devices is provided. The system includes a wearable acquisition device and a metronome module. The wearable acquisition device is used to acquire the user's pulse signal in real time, and the metronome module is used to provide corresponding breathing guidance signals based on input metronome parameters. The method includes: Acquire the user's pulse signal; Peak detection is performed on the preprocessed user pulse signal to extract the heart rate interval sequence, and the heart rate interval sequence is processed to remove ectopic beats to obtain the effective interval sequence; Peak-valley amplitude calculations are performed on the effective interval sequence using a preset first sliding window; Based on the closed-loop gradient search rule and combined with the calculated peak and valley amplitudes, the metronome parameters are adjusted to search for the resonance frequency, thereby determining the final resonance frequency.

9. A real-time HRV biofeedback training device based on a wearable device, characterized in that, include: processor; A memory in which executable instructions of the processor are stored; The processor is configured to perform the steps of the real-time HRV biofeedback training method based on a wearable device as described in claim 8 by executing the executable instructions.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the real-time HRV biofeedback training method based on wearable devices as described in claim 8.