Saturday, December 26, 2020

HRV Logger for iOS - review of real time DFA a1 metrics

Over the past several months both a perspective review and validation study have been published detailing the usage of the HRV index DFA a1 as a potential means of defining the aerobic threshold for zone 1 training purposes.  Ideally, a real time look at this index would be quite helpful.  Since it is dimensionless and already "calibrated" to exercise effort, it should be able to inform the athlete about their current intensity load.  The iPhone/iPad app, HRV logger was recently upgraded to take advantage of this scenario.  The following post is an introductory look at how HRV Logger stacks up to Kubios in terms of DFA a1 during an exercise ramp.  In a previous post we looked at a comparison of the python based algorithm used in HRV Logger to that of Kubios and they were very close.  However, the question is how well the app will do when presented with the usual artifacts seen with moderate exercise as well as usability issues.  

Test setup and settings:  After a 20 minute warmup, a cycling ramp was done (Zwift controlled) from 130 to 230 watts (5w/min).  The app settings were a 20% artifact threshold and 2 minute measurement windows.  A Polar H10 chest belt was used with concurrent recording to a Garmin watch.



Results:

Before going over the results, a look at artifact correction effects should be done.  HRV Logger does correct for artifact.  This entails finding aberrant beats based on timing errors, then inserting a beat based on an educated guess (most commonly simple linear interpolation).   That usually works well especially for as missed beat, but not so well for APCs (since they may not flag as an error given the close timing to "normal").  Below is my ramp, first with "threshold correction" then with the newer "auto" correction (premium version only).

 


Notice the yellowed area (caused by 1 APC on each section), there is a dramatic drop that is not present in the "auto" corrected mode:

 

If your tracing does not contain beats such as this, there won't be an issue with "threshold" type corrections.  However, if it does - be aware of this issue.

Lets' now look at my ramp comparing Kubios (extracted from Polar H10 to Garmin .fit then processed with Kubios auto correction method) vs HRV Logger (Polar H10 to ipad mini running HRV Logger):

The green line is heart rate, showing the rise during the ramp. Blue is Kubios output (2 min windows but recalculation every 5 sec) and red is HRV Logger (2 min windows without overlapping recalculation).  For the most part, the agreement seems quite good.  The output of HRV Logger has timing markers but not matching HR per measurement window so I matched up as well as I could, but it could be off several seconds.

 

Getting back to the comparison, look at the circle I placed around the comment - (possible artifact).  That corresponds to the drop in DFA a1 seen with the Kubios threshold correction (which is why I went to trouble of explaining this).  

Why is that drop important to note?  If one were using this as a monitor of intensity during an exercise session, certain degrees and types of artifact can alter the DFA a1 value substantially.  Therefore if values suddenly don't make sense, consider the above possibility.

How well does HRV logger correct for missed beat artifact?  Actually very well!  Below is a Kubios tracing of the "cleaned" RR values from HRV Logger (using HRV Logger correction) alongside the raw Garmin data (using Kubios auto correction).  This was done over 2 hours including a ramp and some HIT intervals.  Unfortunately, I used the wrong window setting (30s instead of 2 min) so the DFA a1 values are not valid and not shown.


What this tells us is that the HRV Logger is able to handle moderate artifacts as well as the Kubios threshold method.  At very high artifact levels (seen at high HR), or during an APC activity the Kubios "auto" method may be better (but only available in the costly premium version).

HRVT difference

The heart rate variability threshold (aerobic threshold surrogate) calculation between the Kubios data and HRV Logger were very close:

Here we are graphing DFA a1 over time.  Since we know the cycling power over time, the point at which DFA a1 crosses .75 can be back calculated and converted into watts.  Although it would have been nice to have more points to play with, the Logger is within just several watts to that of Kubios.

 

Conclusions:

  • HRV Logger for iOS devices is a powerful and generally accurate means of measuring DFA a1 in real time or in a retrospective manner.
  • Artifact correction is similar to the "threshold" method of Kubios.  However, both methods are prone to error with even 1 or 2 atrial premature beats.  When doing a session, be mindful of a sudden drop of DFA a1 then a rise at the same exercise intensity.
  • Price point?  A steal!  Kubios premium is about 400$ initially then 80$ a year.  Sure, you could use the free version but still not get real time DFA a1 on a mobile device.

Wish list:

  • Separation of measurement window choice (should be 2 min) with "grid interval" (rolling recalculation time).  I know the app can handle a recalculation every 30 seconds since I used that already (but that time is too short for measurement accuracy).  Finer granularity in ramp or constant power sessions is helpful for aerobic threshold determination and was our method of choice in the validation study.  In fact, I think we were the first to use this technique. 
  • Real time and historic graphing of HR and DFA a1.  Since many users will be runners, knowing heart rate "breakpoints" would be helpful. Having the DFA a1 and HR side by side on the same graph and .CSV would facilitate that.  This is not as needed using a bike on a trainer doing constant power intervals.
  • Indication of degree of artifact per measurement window.  High artifact associated data should be suspect even with correction.
  • Perhaps some UI changes to account for usage either riding on a bike or running.  Note should be made that the DFA a1 concept was added on to an app that is mainly used at rest.  Hopefully the developer will consider a spinoff app aimed as a real time DFA a1 display with appropriate additional metrics for both threshold concepts and training intensity monitoring.

Real time Aerobic thresholds and polarized training with HRV Logger  

Active Recovery with HRV Logger 

DFA a1 and exercise intensity FAQ 

8 comments:

  1. Yeah, definitely want that HR alongside DFA a1.

    I saw a lot of variability in DFA a1 while trying to hold HR constant around my expected aerobic threshold. Any thoughts on a protocol for trying to get a good HR@AT measurement (stationary bike in my case)? I probably didn't do my warm-up long enough...

    ReplyDelete
  2. When riding a stationary bike, I would recommend you try for constant power rather than HR. There is HR drift and normal human variation, so attempting a stable HR is generally not viable. If you have a power meter, great, if not just use a constant cadence and gear ratio. Start in an easy gear, then every 5-6 min, bump up one gear in difficulty. If you are using Marco's Logger, start your intervals at an even time and change intensity every 6 minutes. His app reports DFA a1 every 2 minutes, so stay away from odd digit times. Throw out the first 2 minute value, then average the last 2 (minute 4 and 6). Try to pass .75 (downward) with the next notch in intensity to verify that you actually have exceeded the AT. Warm up for 15-20 minutes at easy pace, otherwise your HR will not represent your usual ride. Good luck!

    ReplyDelete
  3. Hi Bruce. Listened to your Endurance Innovation Podcast, really exciting so have downloaded the Logger and will test on bike trainer shortly. Recently done Lactate testing which gave LT1 @ 260W so thinking of warming up, starting at 200W and increase 10W every 6mins. Would this be appropriate? Also in the Logger Settings should I use the 2min computation window and 20% or Workout mode for RR Corrections? Thanks in advance! Steve

    ReplyDelete
  4. If you already have a good feel for your LT1, I would try 20w below, at the LT1 and then 20w above (after a warmup without any high intensity). So for you, 240, 260, 280w should suffice. If you see that after the first interval (240w) you are already suppressed (.5 or less), try a lower set of figures. The idea is to make this as easy and pleasant as possible, so 20 minutes or less is ideal. Let me know how you do. Yes, 2 minute computation window and use the "workout mode".

    ReplyDelete
    Replies
    1. Hi Bruce. Did the test this morning. Started at 240W and increased 15W every 6min to 285W. Received the following results for 270W (1.17, 0.98, 0.77) and 285W (1.04, 0.88, 0.76). As DFA a1 was trending down for minutes 4 & 6 wondering if should extend the stage for a longer period e.g. 10min? About 1hr later held 295-300W for 6min and crossed 0.75 (0.73, 0.65) so overall results line up pretty closely with Lab testing, taking into account KICKR Trainer reads about 3-4% higher Power than bike I did lab testing on.

      Delete
  5. Great job! Yes, it looks like your threshold is about 280w. I agree that an extra 2 or even 4 minutes may be helpful. Missed beat artifact can falsely raise the index, so if there are excessive artifacts you may not see the drop.

    ReplyDelete
  6. So, I have been doing off-season MAF-style (aerobic base) training since late-November to try to address overtrained syndrome (especially slow exercise recovery, and evening exercise severely impacting sleep). My MAF HRmax per the MAF guidelines (age-based and -10 for overtrained) was 116. I was seeing some MAF progress (higher output for constant HR) this way but not a significant change in recovery ability. Since early January, I decided to try DFAa1 tracking to see if I could progress faster. Conservatively, I made sure I didn't dip below 1.0 consistently (there are occasional transients that go lower however). My HR has gotten up to about 130 this way but generally stays in the mid 120s. I believe this technique is working well and provides a more dynamic and analytic way to dial in aerobic base building. I played my recreational sport recently that usually takes my HR well into red zone, but instead mostly kept out of this zone. And I recovered much faster than usual--the first time ever I think my Oura ring morning greeting has been "you were active yesterday and you've recovered well!" I'm very pleased with this result as I hope, after another month or so, to be able to ramp up to more frequent play without going back into an overtrained syndrome. I know a lot of people who do my sport way more than me--I suspect there's a lot of overtrained folks out there.
    BTW I really appreciate this blog and Marco's efforts in this area!

    ReplyDelete
  7. I'm glad our work has been of benefit to you. One comment about "one size fits all" approaches like MAF - these types of calculations may have some statistical power with an average metric in a large population, but may be very different than your own personal value. The advantage of alpha 1 (or lactate if you did it) is the agreement to a real physiologic measure. You may be able to use alpha 1 thresholds over time to track your progress as well.

    ReplyDelete