Circadian rhythm sleep disorders occur when the circadian rhythm is disrupted or is not functioning properly . They usually affect other bodily functions as well , and not just sleep . Circadian rhythm sleep disorders are a family of sleep disorders affecting , among other things , the timing of sleep .