There are a few tricks I use... but I don't recommend the experience (It can be... uncomfortable {there is a reason you don't remember the point you loose consciousness}).
I don't know if these are universally applicable tricks either. But focusing on a point (visualizing it as actively as you can) seems to be important to staying awake through the process of falling asleep...