Sleep Shift Scheduling Tool

Sleep loss and fatigue may lead to reduced performance and an increased risk to safety during many activities, including spaceflight. Your challenge is to develop an operational sleep shift scheduling tool that provides autonomous customization of a schedule for sleep, exercise, and nutrition to manage fatigue.

SleepUs

Summary

During a manned mission, astronauts sometimes rely on sleeping pills to help them sleep in the absence of a doctor in the crew. In other words, when an astronaut has a serious problem, they don’t always get the right treatment quickly. We considered this as a big problem. That’s why we developed a scheduling app,“SleepUs”, that uses artificial intelligence to help astronauts adjust their daily schedules for good sleep without drugs. Personalized scheduling, with data-driven habits important for a good sleep, improves the quality of astronauts’ work during the day. Also, it gathers daily schedule data, including snacks, and sleep satisfaction data, and analyzes what habits are necessary.

How We Addressed This Challenge

In manned space flight, doctors are not always in the crew members. In this situation, most of the astronauts depend on drugs when they sleep. This means that when a serious problem occurs to an astronaut, it is not always possible to take appropriate treatment quickly. We felt this is a critical issue. Therefore, we developed a schedule application that astronauts can use to adjust their daily schedule for good sleep without drugs with artificial Intelligence (AI) 

We call the application “SleepUs”. It has three different functions. The first is to collect data on astronauts' activity and sleep quality log, and analyze what factors are important to improve sleep quality in space. Secondly, the schedule registered by the user is checked and based on the results of the analysis above, a new schedule for obtaining good sleep is proposed. Third, it provides support for users to follow a schedule and to sleep and wake up with good quality. For example, it has a pop-up appointment function at a specified time, a function that plays videos of bonfires, which is known to help people fall asleep well, and the sound of the earth's nature, which is known to help people wake up easily. Good sleep is ensured by having this app at all times. Optionally, we also got an idea using a body pillow which equips some functions for a good sleep. For example, heat up and cool down system, 1/f fluctuation vibration, and lighting system.




How We Developed This Project

We've reached the article which shows us that 75% of astronauts in the ISS take sleeping pills and their average sleep time is less than six hours. We felt a serious problem with this fact. Astronauts living on the ISS are also exposed to harsh conditions such as short daily cycles, closed environments, and overcrowded schedules, and the ISS can be defined as the ultimate in a stressful society.  Applications which enable us to operate smart home appliances with smartphones, inspired us to create a new standard of sleep habits in the ISS.We also have an idea that improves sleep quality by using a body pillow which can automatically change the sleep environment. Thus we tried to approach the problem physically and linguistically. We used Python/x-spreadsheet(https://github.com/myliang/x-spreadsheet) to construct our system. We've chosen a project which requires us to use some data of the living in the ISS, so that it was hard to collect. We used sleep data collected via the Sleep Cycle iOS app for development. Using much more data, we may afford to discover some structural defects of the ISS by revealing a relevance between the flow line of astronauts and sleep efficiency.




How We Used Space Agency Data in This Project

We used sleep data collected via the Sleep Cycle iOS app. The data was collected between 2014-2018 (https://www.kaggle.com/danagerous/sleep-data?fbclid=IwAR3g80OFm9CTsCI3ygd91fBQtRa_OXmq7SST1mXwg9w3Ui8tRwJi6O8HEf8).In future sleep data collection, NASA will collect light, deep, rapid eye movement, and wake.

So, we use the data above instead of future data ( https://2020.spaceappschallenge.org/challenges/sustain/sleep-shift-scheduling-tool/details).


Project Demo

Demonstrate Video:

https://drive.google.com/file/d/1jsgiQ20v4-a0NwRudh9nAYMhlgZBvHPn/view

This App solves the scheduling problem for sleep, meal, and tasks. Using this app, astronauts will get better sleep. ※Our app is incomplete, so the demo video has differences from how to use it.

How to use

  1. Set your schedule SLEEP, MEAL, or some TASKS on the Setting page.

                  ex. You change the schedule when an urgent event occurred.

  1. Push “Analyze” button.
  2. AI will fix the schedule appropriately.
  3. You confirm the change and maybe change some schedule.
  4. Push “Set the schedule” button.
  5. Open Top page. Routine program for sleep will start when the time is coming.




Data & Resources
  • Sleep Data
  • https://2020.spaceappschallenge.org/challenges/sustain/sleep-shift-scheduling-tool/details
  • Future Data
  • light, deep, rapid eye movement, and wake



Tags
#sleep #relax #astronaut #schedule #application #qualityoflife
Judging
This project was submitted for consideration during the Space Apps Judging process.