Sleep Smarter a Device That Can Track and Improve the Quality of Sleep Members: Ashley Resuta, Daniyal Iqbal, Ethan Dell, Kyle Ki December 8, 2019 Sleep Smarter 1
Total Page:16
File Type:pdf, Size:1020Kb
Sleep Smarter A device that can track and improve the quality of sleep Members: Ashley Resuta, Daniyal Iqbal, Ethan Dell, Kyle Ki December 8, 2019 Sleep Smarter 1 I. Overview 3 Needs Statement 3 Objective Statement 3 Description 3 Marketing Diagram 4 II. Requirements Specification 4 Marketing Requirements 4 Engineering Specifications 4 III. Concept Selection 7 Existing Systems 7 Concepts Considered 9 IV. Design 12 Overall System 12 Subsystems 13 Heartbeat Detection 13 Circuits and Assemblies 14 Sleep Stage Prediction 16 Snore Mitigation 18 Application 20 Engineering Standards 22 Multidisciplinary Aspects 22 Background 22 Outsider Contributors 23 V. Constraints and Considerations 23 Extensibility 23 Manufacturability 23 Reliability 23 Environmental 23 Health and Safety 24 Intellectual Property 24 Privacy 24 Others 24 VI. Bill of Materials 25 VII. Testing Strategy 26 Acceptance Tests 26 Integration Tests 32 Unit Tests 35 Sleep Smarter 2 VIII. Risks 36 Overall Risks 37 Heartbeat Detection 37 Sleep Stage Detection 38 Quiet Air Inflation 39 Snoring Mitigation 41 IX. Management Plan 42 X. Perspective 45 Sleep Smarter 3 I. Overview Needs Statement According to enthealth.org, “nearly half of adults snore, and over 25% are habitual snorers.” Although snoring is considered just a small annoyance, it can drastically impact a person's sleep quality. The National Sleep Foundation also reports that 45% of Americans admit to poor sleep affecting their daily life in the past week. In addition to a lack of quality sleep, another problem that persists is loud alarms that jolt a person out of sleep and are not optimized to the person’s REM cycles. Environmental factors such as noise and lighting can also reduce the quality of a person's sleep. A system is needed to track the quality of sleep as well as make necessary adjustments to the sleeping environment to reduce snoring and improve sleep quality. The system must also gently wake the user according to his/her individual REM cycle. Objective Statement The objective of this design is to create a device that will go inside of a pillow and will keep track of key sleeping metrics as well as noise to make adjustments to the person's environment. This design will interact with the user through an app which will contain all of his/her sleeping data and allow him/her to analyze the data in order to make necessary sleeping changes. The app will allow the user to set alarms and have the device optimize wake times according to the user’s REM cycle. The device will also be able to detect snoring and will adjust the pillow to reduce the user’s snoring to improve sleep quality. Description The device will consist of an inflatable air chamber, a large programmable chip, and a few sensors. The device will connect directly to a wall outlet, so there will be no batteries within the device. The case for the device will most likely be 3-D printed and will protect the programmable chip while exposing the sensors. The sensors will be used to track the user’s heartbeat, noise, and movement. The programmable chip will use the data from those sensors to perform sleep analysis. It will contain a microphone and control the alarms to wake the user at an optimal time. It will also send the sensor data and the user’s sleep stage data to the user’s phone. The programmable chip will also use the microphone data to detect snoring and will control the snore mitigation component. The snore mitigation component will gently adjust the user’s head by deflating or inflating the air chamber. Sleep Smarter 4 In addition to the device, an application will allow the user to set alarms and view his/her sleep data. The application will also contain a graph of the sleep stages of the user throughout the night. Marketing Diagram Figure 1: Overall System Component Diagram II. Requirements Specification Marketing Requirements 1. The device is easy to use and install. 2. The device is non-intrusive and allows the user to sleep comfortably. 3. The device adjusts the user’s pillow to reduce snoring when snoring is detected. 4. The device is compatible with smart home technology for light adjustment. 5. The application allows visualization and analysis of sleep data. 6. The application allows for setting alarms that can wake up the user based on the optimal REM cycle. Engineering Specifications Table 1. Engineering Specifications Marketing Engineering Requirements Justification Sleep Smarter 5 Requirements 1 A. The device average setup time is no The average setup time more than 30 minutes. should be short, but should account for users encountering issues. 1 B. The device should be easy to set up, The product should be and after 2 consecutive uses, the user intuitive to use. should no longer feel the need to consult instructions. 5, 6 C. The device should be able to detect user The deep sleep or REM sleep sleep stages. The device should be able to stage indicates good quality detect light sleep, deep sleep, REM sleep, sleep so they are necessary wakefulness, and restlessness. to track for sleep quality. 5 D. The application should display sleep The user can analyze data data and analysis in graphical format. visually through graphs and find patterns in his/her quality of sleep. 2 E. The device should not have sharp edges The device should be that can cause the user pain. comfortable to sleep on. 5 F. The application should have an interface The user needs an interface for setting alarms. The device will trigger an for communicating time to the alarm at or before the specified time device. depending on the user’s optimal sleep cycle. 3 G. The device should detect snoring within The device’s snore detection 5 minutes from when snoring started. should attempt to verify “snoring” is not movement before beginning to adjust the pillow. 3 H. When snoring is detected, the device The device should attempt to should adjust the pillow to reduce snoring stop or reduce snoring so that every minute until snoring stops or after 15 the user can sleep better. attempts. 3 I. The device should alleviate snoring and The device should be quiet so not make more than 45 dB of noise. it does not wake up the user Sleep Smarter 6 when alleviating snoring. 6 J. The device should be able to measure The application needs to the user’s heartbeat accurately (on average provide heartbeat data and +/- 5 bpm tolerance). needs heartbeat data to do REM analysis. 3 K. The device’s air chamber should allow If the airflow is too weak, for strong enough airflow to adjust the adjustments may not happen user’s head in his/her sleep. at all, but if it is too strong then adjustments may occur very suddenly and wake the user. 4 M. The device must be compatible with a Z- The device turning on lights in Wave smart light, and be able to turn on a sync with the alarm changes light when waking the user up. the sleep environment to wake the user. Sleep Smarter 7 III. Concept Selection Existing Systems There are a variety of systems that already exist to track the quality of sleep, and there are some that can even make adjustments to the environment to improve the quality of sleep. The most basic system that exists is a mobile application that needs to be turned on before going to sleep. The phone is placed on the side of the bed, and the app keeps track of noise and movement throughout the night to measure the quality of sleep. The app can wake the user at an optimal time based on the user’s REM cycle. Although the app is cheap or even free, the information that it can collect and the accuracy of the data are very limited. Some other systems that exist are wristbands or smartwatches. These are often multipurpose and can be used for fitness tracking as well as viewing notifications from a phone. They are able to track sleep pretty well but can be too expensive because of the variety of non- sleep related features they offer. There are other wearables such as Oura which is a ring that can also track sleep. Although it is very accurate and works well, it is also very expensive due to its small size. Other systems that are designed solely for sleep also exist such as mattress pads and smart mattresses. Both of these systems are able to track the user’s sleep fairly accurately with the exception of the heartbeat. They are able to track body movements, adjust the firmness of the mattress, or adjust the temperature. Newer smart mattresses are even able to lift the upper half of the bed during the night to alleviate snoring. Although these systems work well, they also are very expensive. Almost all of the systems discussed so far, except for the smart mattress, are solely for tracking sleep quality. One strength of the smart mattress is that it is able to detect and improve the user’s sleep. Another system called Nora exists solely to detect and alleviate snoring. It is placed under the user’s pillow and can raise the pillow up a little in order to alleviate mild snoring. Another system that has this feature and can track the user’s sleep is the smart pillow, Zeeq. Zeeq has features to track sleep, alleviate snoring, and even wake the user at an optimal time. Zeeq is the least intrusive system discussed here because the entire system is part of the pillow.