Take a look at this https://en.wikipedia.org/wiki/Segmented_sleep