A couple things to know:
The brain cycles through the various stages of sleep, on average 90 minutes long (it varies from person to person, could be closer to 75 or 105 minutes).
If you wake up in the middle of the cycle, when you're in DEEP sleep, you'll feel very tired and be tired for a long time after.
I find with a long nap past 30 minutes, it's just more common for people to end up waking up in the middle of their sleep cycle. NASA did a sleep study that found out that 24-25 minutes of actual sleep was the sweet spot for taking a nap.
So basically you could set an alarm for your estimated time to fall asleep + 25 minutes.
Or you could do a "coffee nap", you drink a cup of coffee and then immediately go to sleep. It takes about 30 minutes for the caffeine to hit your bloodstream. That way you'll wake up naturally.