I've been doing this for ages. I finally just started setting an alarm on my smartwatch and ran through a bunch of time trials to see what works.
I can nap somewhere comfy as long as I follow these rules:
If I just can't keep my eyes open or I have a food coma, 15m
If I know I'm sleep deprived, and all I have is lunchtime 45m
If I have a little more time to spare and i'm just dragging, 90m
I've tried 5m increments on either side of those numbers and found I could just wake up at 15,45 and 90 with no problem. At 30m or 60m, I appear to cancel the alarm but fall back asleep.
But I need to pass out right away. If it's going to take me 10m to get to sleep, I need to adjust for that.