Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PROVIDING OUTSIDE STIMULUS TO AID IN SLEEP
Document Type and Number:
WIPO Patent Application WO/2023/009393
Kind Code:
A1
Abstract:
A sleep system can introduce outside stimulus such as simulated heartbeat and/or respiration to induce a response from the sleeper which can cause the sleeper's body to mimic or mate up with the delivered heartbeat and/or respiration sequence. Simulated heartbeat and/or respiration introduced to the person's sleeping environment can guide the person from an awake state to a sleeping state, help the person transition between sleep stages, help the person maintain one or more sleep stages for longer or shorter durations, and gently guide the person from an asleep state to an awake state. The simulated heartbeat and/or respiration can also improve the quality of sleep that the person experiences in a given sleep phase.

Inventors:
KARSCHNIK KODY LEE (US)
ROSE ERIC STEPHEN (US)
Application Number:
PCT/US2022/037996
Publication Date:
February 02, 2023
Filing Date:
July 22, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SLEEP NUMBER CORP (US)
International Classes:
A61M21/02; A61M16/00; A61M21/00
Domestic Patent References:
WO2020193842A12020-10-01
WO2020162750A12020-08-13
Foreign References:
US20160015315A12016-01-21
US20180099116A12018-04-12
US20200338303A12020-10-29
US20200315367A12020-10-08
US20100170043A12010-07-08
Attorney, Agent or Firm:
MARGULIS, Chloe Salome et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A system comprising: a bed having a mattress; one or more sensors configured to detect motion of a person positioned on the mattress; one or more transducers configured to impart an external stimulus into a sleeping environment of the person; one or more processors; memory storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: receiving signals from the one or more sensors; processing the received signals to determine a current sleep state of the person; in response to determining the current sleep state of the person, determining a rate for an external stimulus for transitioning the person from the current sleep state to a second sleep state; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the determined rate.

2. The system of claim 1, wherein the one or more transducers comprises a speaker and the external stimulus is audio of a simulated heartbeat played through the speaker, the simulated heartbeat having the determined rate.

3. The system as in any of the preceding claims, wherein the external stimulus is a simulated respiration at the determined rate.

4. The system as in any of the preceding claims, wherein the rate is a first rate and the external stimulus is a first external stimulus, the operations further including: determining a second rate for a second external stimulus for transitioning the person from the current sleep state to a second sleep state, the second rate being different from the first rate, wherein the second rate is determined based on the current sleep state of the person.

5. The system as in any of the preceding claims, wherein the first external stimulus is a simulated heartbeat and the second external stimulus is a simulated respiration.

6. The system as in any of the preceding claims, wherein the rate is a first rate, the operations further including: receiving additional signals from the one or more sensors; processing the received additional signals to determine an updated sleep state of the person; in response to determining the updated sleep state of the person, determining a second rate for the external stimulus for transitioning the person from the updated sleep state to a third sleep state, the second rate being different from the first rate; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate.

7. The system as in any of the preceding claims, wherein controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed in response to determining that the updated sleep state is the second sleep state.

8. The system as in any of the preceding claims, wherein controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed in response to determining that the updated sleep state is different from the second sleep state and different from the previously determined current sleep state.

9. The system as in any of the preceding claims, wherein the third sleep state is an awake sleep state and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed at a time that is determined based on a specified awake time for the person.

10. The system as in any of the preceding claims, the operations further including: receiving user input indicating a sleep state that the person desires to improve; and determining a rate for an external stimulus for transitioning the person from the current sleep statee sleep state that the person desires to improve.

11. A method comprising: receiving, by a controller, signals from one or more sensors configured to detect motion of a person positioned on a sleep surface; processing, by the controller, the received signals to determine a current sleep state of the person; in response to determining the current sleep state of the person, determining a rate for an external stimulus for transitioning the person from the current sleep state to a second sleep state; and controlling, by the controller, one or more transducers to provide the external stimulus to a sleeping environment of the person at the determined rate.

12. The method of claim 11, wherein the one or more transducers comprises a speaker and the external stimulus is audio of a simulated heartbeat played through the speaker, the simulated heartbeat having the determined rate.

13. The method as in one of claims 11-12, wherein the external stimulus is a simulated respiration at the determined rate.

14. The method as in one of claims 11-13, wherein the rate is a first rate and the external stimulus is a first external stimulus, the method further comprising: determining a second rate for a second external stimulus for transitioning the person from the current sleep state to a second sleep state, the second rate being different from the first rate, wherein the second rate is determined based on the current sleep state of the person.

15. The method as in one of claims 11-14, wherein the first external stimulus is a simulated heartbeat and the second external stimulus is a simulated respiration.

16. The method as in one of claims 11-15, wherein the rate is a first rate, the method further comprising: receiving, by the controller, additional signals from the one or more sensors; processing the received additional signals to determine an updated sleep state of the person; in response to determining the updated sleep state of the person, determining a second rate for the external stimulus for transitioning the person from the updated sleep state to a third sleep state, the second rate being different from the first rate; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate.

17. The method as in one of claims 11-16, wherein controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed in response to determining that the updated sleep state is the second sleep state.

18. The method as in one of claims 11-17, wherein controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed in response to determining that the updated sleep state is different from the second sleep state and different from the previously determined current sleep state.

19. The method as in one of claims 11-18, wherein the third sleep state is an awake sleep state and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed at a time that is determined based on a specified awake time for the person.

20. A non-transitory computer readable medium storing instructions that, when executed by one or more processors, cause the processors to perform operations comprising: receiving, by a controller, signals from one or more sensors configured to detect motion of a person positioned on a sleep surface; processing, by the controller, the received signals to determine a current sleep state of the person; in response to determining the current sleep state of the person, determining a rate for an external stimulus for transitioning the person from the current sleep state to a second sleep state; controlling, by the controller, one or more transducers to provide the external stimulus to a sleeping environment of the person at the determined rate; receiving, by the controller, additional signals from the one or more sensors; processing the received additional signals to determine an updated sleep state of the person.

21. The computer readable medium of claim 20, wherein the one or more transducers comprises a speaker and the external stimulus is audio of a simulated heartbeat played through the speaker, the simulated heartbeat having the determined rate.

Description:
PROVIDING OUTSIDE STIMULUS TO AID IN SLEEP

CROSS-REFERENCE TO RELATED APPLICATIONS [0001] This application claims priority to U.S. Provisional Application Serial No. 63/226,325, filed on July 28, 2021, the disclosure of which is incorporated by reference in its entirety. TECHNICAL FIELD

[0002] The present document relates to automation of a consumer device such as an airbed.

BACKGROUND

[0003] In general, a bed is a piece of furniture used as a location to sleep or relax. Many modem beds include a soft mattress on a bed frame. The mattress may include springs, foam material, and/or an air chamber to support the weight of one or more occupants. When a person is sleeping (on a bed, for example), the person will generally progress through various sleep stages. Normal sleep is categorized into a number of stages. These stages include non-rapid eye movement (NREM) and rapid eye movement (REM) sleep stages. NREM sleep is further divided into progressively deeper stages of sleep: stage N1 (NREM 1), stage N2 (NREM 2), and stage N3 (NREM 3). NREM stage N1 is considered the lightest sleep stage with N3 being the deepest NREM sleep stage. A Normal sleep progression for an adult will typically begin as a transition from being awake to N1 sleep, followed by N2 sleep and then N3 sleep, although sometimes a person may transition directly from N 1 sleep to N3 sleep. REM sleep typically follows NREM sleep. A typical adult will generally cycle through NREM stages and the REM stage several times during a normal 8-hour sleep session. SUMMARY

[0004] In general, in some aspects, various aspects of a sleep system may include a bed having a mattress; one or more sensors configured to detect motion of a person positioned on the mattress; one or more transducers configured to impart an external stimulus into a sleeping environment of the person; one or more processors; memory storing instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including: receiving signals from the one or more sensors; processing the received signals to determine a current sleep state of the person; in response to determining the current sleep state of the person, determining a rate for an external stimulus for transitioning the person from the current sleep state to a second sleep state; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the determined rate.

[0005] In some aspects, the one or more transducers can include a speaker and the external stimulus can be audio of a simulated heartbeat played through the speaker, the simulated heartbeat having the determined rate. In some aspects, the external stimulus can be a simulated respiration at the determined rate. In some aspects, the rate can be a first rate and the external stimulus can be a first external stimulus.

In some aspects, the operations can further include determining a second rate for a second external stimulus for transitioning the person from the current sleep state to a second sleep state, the second rate being different from the first rate, wherein the second rate is determined based on the current sleep state of the person. In some aspects, the first external stimulus can be a simulated heartbeat and the second external stimulus can be a simulated respiration.

[0006] In some aspects, the rate can be a first rate and the operations can further include: receiving additional signals from the one or more sensors; processing the received additional signals to determine an updated sleep state of the person; in response to determining the updated sleep state of the person, determining a second rate for the external stimulus for transitioning the person from the updated sleep state to a third sleep state, the second rate being different from the first rate; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate. In some aspects, controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate can be performed in response to determining that the updated sleep state is the second sleep state. In some aspects, controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate can be performed in response to determining that the updated sleep state is different from the second sleep state and different from the previously determined current sleep state. In some aspects the third sleep state can be an awake sleep state and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed at a time that is determined based on a specified awake time for the person. In some aspects, the operations further can include: receiving user input indicating a sleep state that the person desires to improve, and determining a rate for an external stimulus for transitioning the person from the current sleep state to the sleep state that the person desires to improve. [0007] In some aspects, a method of operating a sleep system can include: receiving, by a controller, signals from one or more sensors configured to detect motion of a person positioned on a sleep surface; processing, by the controller, the received signals to determine a current sleep state of the person; in response to determining the current sleep state of the person, determining a rate for an external stimulus for transitioning the person from the current sleep state to a second sleep state; and controlling, by the controller, one or more transducers to provide the external stimulus to a sleeping environment of the person at the determined rate.

[0008] In some aspects, the one or more transducers can include a speaker and the external stimulus can be audio of a simulated heartbeat played through the speaker, the simulated heartbeat having the determined rate. In some aspects, the external stimulus can be a simulated respiration at the determined rate.

[0009] In some aspects, the rate can be a first rate and the external stimulus can be a first external stimulus. In some aspects, the method can further include determining a second rate for a second external stimulus for transitioning the person from the current sleep state to a second sleep state, the second rate being different from the first rate, wherein the second rate is determined based on the current sleep state of the person. In some aspects, the first external stimulus can be a simulated heartbeat and the second external stimulus is a simulated respiration.

[0010] In some aspects, the rate can be a first rate. In some aspects, the method can further include receiving, by the controller, additional signals from the one or more sensors; processing the received additional signals to determine an updated sleep state of the person; in response to determining the updated sleep state of the person, determining a second rate for the external stimulus for transitioning the person from the updated sleep state to a third sleep state, the second rate being different from the first rate; and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate. In some aspects, controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate can be performed in response to determining that the updated sleep state is the second sleep state. In some aspects, controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate can be performed in response to determining that the updated sleep state is different from the second sleep state and different from the previously determined current sleep state. In some aspects, third sleep state can be an awake sleep state and controlling the one or more transducers to provide the external stimulus to the sleeping environment of the person at the second rate is performed at a time that is determined based on a specified awake time for the person.

[0011] In some aspects, a non-transitory computer readable medium storing instructions that, when executed by one or more processors, can cause the processors to perform the above described methods.

[0012] Implementations can include any, all, or none of the following features.

[0013] A sleep system can introduce outside stimulus such as simulated heartbeat and/or respiration to induce a response from the sleeper which can cause the sleeper’s body to mimic or mate up with the delivered heartbeat and/or respiration sequence. Simulated heartbeat and/or respiration introduced to the person’s sleeping environment can guide the person from an awake state to a sleeping state, help the person transition between sleep stages, help the person maintain one or more sleep stages for longer or shorter durations, and gently guide the person from an asleep state to an awake state. The simulated heartbeat and or respiration can also improve the quality of sleep that the person experiences in a given sleep phase. In some implementations, the system can cause the person’s biometrics to adjust without mimicking or matching up with the simulated heartbeat and/or respiration. Such adjustment to the person’s biometrics (such as change in heartbeat and or respiration rate of the person) can guide the person to sleep or guide the person between sleep states without the biometrics of the person mimicking or matching up with the simulated heartbeat and/or respiration.

[0014] Outside stimulus (such as artificial heartbeat or respiration) to help improve sleep quality can provide numerous benefits to users. Such outside stimulus can improve sleep onset and quality, help a person transition between sleep stages, achieve deep sleep more quickly, and sustain deep and/or restful sleep for longer periods. Outside stimulus such as artificial heartbeat or respiration can help users sleep longer, achieve improved rest during sleep sessions (including short sleep sessions), and help users fall asleep faster. Outside stimulus such as artificial heartbeat or respiration can also guide users into an awake state from a sleep state, thereby improving the wake up experience to gradually wake the user rather than abruptly waking the user. Thus, such outside stimulus promotes quality and healthy sleep as well as healthy waking mechanisms.

[0015] Other benefits that can be achieved by introducing an artificial heartbeat or respiration to a person’s sleeping environment include reduction of potentially life threatening responses to being abruptly awoken. Heart attacks often happen early in the morning due to the high stress of a rapid wake- up. The quick spike in heart rate can be detrimental. Introduction of an artificial heartbeat or respiration to a person’s sleeping environment can slowly ease the person’s heart to a faster rate either prior to an alarm going off, or to replace the alarm altogether. Such a method of waking a sleeping person can put a lot more ease on the body in comparison to an abrupt awakening by, for example, an alarm. [0016] Heart rate variability (HRV) is also a key indicator of how someone is sleeping. People with high stress levels during sleep often have very low heart rate HRV. An artificial heartbeat may be used to help reduce the high frequency and repetitive heartbeat associated with HRV and alleviate the resultant stress levels. Furthermore, if a sleeper is not getting enough (or doesn't have enough time based on time to bed and wake up time) to get sufficient time in each sleep phase, introduction of outside stimulus, such as artificial heartbeat or respiration, can help transition the sleeper into a different sleep phase based on the stimuli that it delivers.

[0017] Other features, aspects and potential advantages will be apparent from the accompanying description and figures.

DESCRIPTION OF DRAWINGS [0018] FIG. 1 shows an example air bed system.

[0019] FIG. 2 is a block diagram of an example of various components of an air bed system.

[0020] FIG. 3 shows an example environment including a bed in communication with devices located in and around a home.

[0021] FIGs. 4A and 4B are block diagrams of example data processing systems that can be associated with a bed.

[0022] FIGs. 5 and 6 are block diagrams of examples of motherboards that can be used in a data processing system that can be associated with a bed. [0023] FIG. 7 is a block diagram of an example of a daughterboard that can be used in a data processing system that can be associated with a bed.

[0024] FIG. 8 is a block diagram of an example of a motherboard with no daughterboard that can be used in a data processing system that can be associated with a bed. [0025] FIG. 9 is a block diagram of an example of a sensory array that can be used in a data processing system that can be associated with a bed.

[0026] FIG. 10 is a block diagram of an example of a control array that can be used in a data processing system that can be associated with a bed

[0027] FIG. 11 is a block diagram of an example of a computing device that can be used in a data processing system that can be associated with a bed.

[0028] FIGs. 12-16 are block diagrams of example cloud services that can be used in a data processing system that can be associated with a bed.

[0029] FIG. 17 is a block diagram of an example of using a data processing system that can be associated with a bed to automate peripherals around the bed. [0030] FIG. 18 is a schematic diagram that shows an example of a computing device and a mobile computing device.

[0031] FIG. 19 shows a modified version of the example air bed system of

FIG. 1.

[0032] FIG. 20 shows an alternate version of the example air bed system of FIG. 19.

[0033] FIG. 21 is a swimlane diagram of an example process for introducing a stimulus to a sleep environment.

[0034] Like reference symbols in the various drawings indicate like elements.

DETAILED DESCRIPTION [0035] A person will generally cycle through several sleep stages when sleeping, including nonrapid eye movement (NREM) and rapid eye movement (REM) stages. The NREM stages include progressively deeper sleep stages of Nl, N2, and N3. A person’s sleep stages can be tracked by measuring one or more biometric parameters of the person, including heart rate, respiration rate, blood pressure, and movement of the person. For example, the mean heart-rate values drop from wakefulness to light sleep (Nl) and further to deep sleep (N3). During REM sleep heart rate typically increases again showing a high variability, which may exceed the variability observed during quiet wakefulness. Such biometric parameters (heart rate, respiration rate, etc.) may be measured using one or more sensors, which can include body worn sensors and/or non-body worn sensors. For example, pressure fluctuations of a person positioned on a sleep surface of a bed can be measured via one or more sensor mats placed on or below a mattress, pressure sensors incorporated within an air chamber within or positioned above or below the mattress, body-worn sensors, or through other sensors. Such pressure fluctuations can be analyzed to detect heart rate, respiration rate, and other biometric parameters for the person. These biometric parameters may then be analyzed to determine the sleep stage of the person. Such analysis may include comparing measured heart rate and/or respiration rate to historical heart rate and/or respiration rate information for the person to determine a current sleep stage for the person.

[0036] When a person falls asleep near a second person (such as two people sleeping next to each other on a bed or on adjacent mattresses), the heart rate and respiration rate of one or both persons can adjust such that the heart rates and respiration rates of the persons synchronize. Such synchronization of respiration and or heart rate can cause a synchronization of sleep stages between the two people. The synchronization is not always total. For example, heart rate, respiration rate, and/or sleep stages of the two people sleeping adjacent to each other may become more closely aligned without completely synchronizing.

[0037] Outside stimulus can be introduced to a person’s sleeping environment to simulate the effect of having a second person sleeping near or adjacent to the person. For example, an artificial heartbeat and/or artificial respiration can be introduced to the person’s sleeping environment to simulate the effect of a second person sleeping near the person. Such outside stimulus can be introduced by, for example, pressure transducers that cause inflation and deflation of one or more fluid chambers positioned under the person. As another example, a low frequency speaker, such as a subwoofer, can be used to simulate a heartbeat and or respiration. One or more mechanical motors can also be used to move portions of the sleep surface on which the person is positioned or to move other components of the person’s sleep environment to simulate a heartbeat and/or respiration. This artificial heartbeat or respiration can induce a response from the sleeper which can cause the sleeper’s body to mimic or mate up with the delivered heartbeat and/or respiration sequence.

[0038] Such outside stimulus to simulate a heartbeat and or respiration of a second person can cause the heartbeat and/or respiration rate of the person sleeping on the bed to adjust to partially or fully synchronize with the rate of the simulated heartbeat and/or respiration. The simulated heart rate and/or respiration rate can be adjusted to guide the person through various sleep states to help the person to transition through various sleep stages and obtain more restful sleep. For example, the simulated heart rate and/or respiration rate can be lowered to help the person transition from N1 sleep to N2 sleep. The simulated heart rate and or respiration rate can be used to help a person transition through several sleep cycles during a typical 8-hour sleep period. The simulated heart rate and or respiration rate can also be used to more quickly transition the person to deep sleep (e.g., N3) and/or REM sleep stages, for example, when the person only has a limited period in which they can sleep (e.g., two hours). Such guided sleep stage transitioning using outside stimulus to simulate a heartbeat and/or respiration can help the person achieve more restful sleep, even in situations in which the person cannot obtain a full eight hours of sleep. [0039] In some implementations, the outside stimulus is adjusted in response to sensed biometric parameters of the person, including the person’s heart rate and/or respiration rate. For example, a sleep system can detect a heart rate of the person and analyze the detected heart rate to determine the sleep stage of the person. The sleep system can provide outside stimulus to simulate a heartbeat and or respiration of a second person sleeping in the vicinity of the person on the bed. The sleep system can set the rate for the simulated heartbeat and or respiration to help keep the person in a current sleep state for a specified period of time. After the specified period of time, the sleep system can then adjust the simulated heart rate and or respiration rate to help the person transition to a next sleep stage (e.g., transition from N1 to N2 sleep stages) as the person’s heart rate and/or respiration rate synchronize with the simulated heart rate and/or respiration rate. The simulated heart rate and or respiration rate can also be used to help transition the person from a sleeping state to an awake state. The sleep system can also adjust the simulated heart rate and/or respiration rate over time based on collected heart rate, respiration rate, and or sleep state information for the person to adjust the simulated heart rate and or respiration rate to rates that are more effective at helping the person transition between sleep stages. In some situations, different simulated heart rates and/or respiration rates can be provided to two persons sleeping adjacent to each other on a bed or on adjacent sleep surfaces to individually help each person transition between sleep states.

[0040] Outside stimulus such as simulated heartbeat and/or respiration promotes quality and healthy sleep as well as healthy waking mechanisms. For example, heart attacks often happen early in the morning due to the high stress of a rapid wake-up. The quick spike in heart rate can be detrimental.

Introduction of an artificial heartbeat and/or respiration to a person’s sleeping environment can slowly ease the person’s heart to a faster rate either prior to an alarm going off, or to replace the alarm altogether. Such a method of waking a sleeping person can put a lot more ease on the body in comparison to an abrupt awakening by, for example, an alarm. [0041] Heart rate variability (HRV) is also a key indicator of how someone is sleeping. People with high stress levels during sleep often have very low heart rate HRV. An artificial heartbeat may be used to help reduce the high frequency and repetitive heartbeat associated with HRV and alleviate the resultant stress levels. Furthermore, if a sleeper is not getting enough (or doesn't have enough time based on time to bed and wake up time) to get sufficient time in each sleep phase, introduction of outside stimulus, such as artificial heartbeat or respiration, can help transition the sleeper into a different sleep phase based on the stimuli that it delivers.

[0042] Example Airbed Hardware

[0043] FIG. 1 shows an example airbed system 100 that includes abed 112. The bed 112 includes at least one air chamber 114 surrounded by a resilient border 116 and encapsulated by bed ticking 118. The resilient border 116 can comprise any suitable material, such as foam.

[0044] As illustrated in FIG 1, the bed 112 can be a two chamber design having first and second fluid chambers, such as a first air chamber 114 A and a second air chamber 114B. In alternative embodiments, the bed 112 can include chambers for use with fluids other than air that are suitable for the application. In some embodiments, such as single beds or kids’ beds, the bed 112 can include a single air chamber 114A or 114B or multiple air chambers 114A and 114B. First and second air chambers 114A and 114B can be in fluid communication with a pump 120. The pump 120 can be in electrical communication with a remote control 122 via control box 124. The control box 124 can include a wired or wireless communications interface for communicating with one or more devices, including the remote control 122. The control box 124 can be configured to operate the pump 120 to cause increases and decreases in the fluid pressure of the first and second air chambers 114 A and 114B based upon commands input by a user using the remote control 122. In some implementations, the control box 124 is integrated into a housing of the pump 120.

[0045] The remote control 122 can include a display 126, an output selecting mechanism 128, a pressure increase button 129, and a pressure decrease button 130. The output selecting mechanism 128 can allow the user to switch air flow generated by the pump 120 between the first and second air chambers 114A and 114B, thus enabling control of multiple air chambers with a single remote control 122 and a single pump 120. For example, the output selecting mechanism 128 can be a physical control (e.g., switch or button) or an input control displayed on display 126. Alternatively, separate remote control units can be provided for each air chamber and can each include the ability to control multiple air chambers. Pressure increase and decrease buttons 129 and 130 can allow a user to increase or decrease the pressure, respectively, in the air chamber selected with the output selecting mechanism 128. Adjusting the pressure within the selected air chamber can cause a corresponding adjustment to the firmness of the respective air chamber. In some embodiments, the remote control 122 can be omitted or modified as appropriate for an application. For example, in some embodiments the bed 112 can be controlled by a computer, tablet, smart phone, or other device in wired or wireless communication with the bed 112.

[0046] FIG. 2 is a block diagram of an example of various components of an air bed system. For example, these components can be used in the example air bed system 100. As shown in FIG 2, the control box 124 can include a power supply 134, a processor 136, a memory 137, a switching mechanism 138, and an analog to digital (A/D) converter 140. The switching mechanism 138 can be, for example, a relay or a solid state switch. In some implementations, the switching mechanism 138 can be located in the pump 120 rather than the control box 124.

[0047] The pump 120 and the remote control 122 are in two-way communication with the control box 124. The pump 120 includes a motor 142, a pump manifold 143, a relief valve 144, a first control valve 145A, a second control valve 145B, and a pressure transducer 146. The pump 120 is fluidly connected with the first air chamber 114A and the second air chamber 114B via a first tube 148A and a second tube 148B, respectively. The first and second control valves 145 A and 145B can be controlled by switching mechanism 138, and are operable to regulate the flow of fluid between the pump 120 and first and second air chambers 114Aand 114B, respectively.

[0048] In some implementations, the pump 120 and the control box 124 can be provided and packaged as a single unit. In some alternative implementations, the pump 120 and the control box 124 can be provided as physically separate units. In some implementations, the control box 124, the pump 120, or both are integrated within or otherwise contained within a bed frame or bed support structure that supports the bed 112. In some implementations, the control box 124, the pump 120, or both are located outside of a bed frame or bed support structure (as shown in the example in FIG 1).

[0049] The example air bed system 100 depicted in FIG. 2 includes the two air chambers 114 A and 114B and the single pump 120. However, other implementations can include an air bed system having two or more air chambers and one or more pumps incorporated into the air bed system to control the air chambers. For example, a separate pump can be associated with each air chamber of the air bed system or a pump can be associated with multiple chambers of the air bed system. Separate pumps can allow each air chamber to be inflated or deflated independently and simultaneously. Furthermore, additional pressure transducers can also be incorporated into the air bed system such that, for example, a separate pressure transducer can be associated with each air chamber.

[0050] In use, the processor 136 can, for example, send a decrease pressure command to one of air chambers 114A or 114B, and the switching mechanism 138 can be used to convert the low voltage command signals sent by the processor 136 to higher operating voltages sufficient to operate the relief valve 144 of the pump 120 and open the control valve 145 A or 145B. Opening the relief valve 144 can allow air to escape from the air chamber 114A or 114B through the respective air tube 148A or 148B. During deflation, the pressure transducer 146 can send pressure readings to the processor 136 via the A/D converter 140. The A/D converter 140 can receive analog information from pressure transducer 146 and can convert the analog information to digital information useable by the processor 136. The processor 136 can send the digital signal to the remote control 122 to update the display 126 in order to convey the pressure information to the user.

[0051] As another example, the processor 136 can send an increase pressure command. The pump motor 142 can be energized in response to the increase pressure command and send air to the designated one of the air chambers 114Aor 114B through the air tube 148Aor 148B via electronically operating the corresponding valve 145A or 145B. While air is being delivered to the designated air chamber 114 A or 114B in order to increase the firmness of the chamber, the pressure transducer 146 can sense pressure within the pump manifold 143. Again, the pressure transducer 146 can send pressure readings to the processor 136 via the A/D converter 140. The processor 136 can use the information received from the A/D converter 140 to determine the difference between the actual pressure in air chamber 114A or 114B and the desired pressure. The processor 136 can send the digital signal to the remote control 122 to update display 126 in order to convey the pressure information to the user.

[0052] Generally speaking, during an inflation or deflation process, the pressure sensed within the pump manifold 143 can provide an approximation of the pressure within the respective air chamber that is in fluid communication with the pump manifold 143. An example method of obtaining a pump manifold pressure reading that is substantially equivalent to the actual pressure within an air chamber includes turning off pump 120, allowing the pressure within the air chamber 114A or 114B and the pump manifold 143 to equalize, and then sensing the pressure within the pump manifold 143 with the pressure transducer 146. Thus, providing a sufficient amount of time to allow the pressures within the pump manifold 143 and chamber 114 A or 114B to equalize can result in pressure readings that are accurate approximations of the actual pressure within air chamber 114A or 114B. In some implementations, the pressure of the air chambers 114 A and/or 114B can be continuously monitored using multiple pressure sensors (not shown). [0053] In some implementations, information collected by the pressure transducer 146 can be analyzed to determine various states of a person lying on the bed 112. For example, the processor 136 can use information collected by the pressure transducer 146 to determine a heart rate or a respiration rate for a person lying in the bed 112. For example, a user can be lying on a side of the bed 112 that includes the chamber 114 A. The pressure transducer 146 can monitor fluctuations in pressure of the chamber 114 A and this information can be used to determine the user’s heart rate and/or respiration rate. As another example, additional processing can be performed using the collected data to determine a sleep state of the person (e.g., awake, light sleep, deep sleep). For example, the processor 136 can determine when a person falls asleep and, while asleep, the various sleep states of the person. [0054] Additional information associated with a user of the air bed system 100 that can be determined using information collected by the pressure transducer 146 includes motion of the user, presence of the user on a surface of the bed 112, weight of the user, heart arrhythmia of the user, and apnea. Taking user presence detection for example, the pressure transducer 146 can be used to detect the user’s presence on the bed 112, e.g., via a gross pressure change determination and/or via one or more of a respiration rate signal, heart rate signal, and or other biometric signals. For example, a simple pressure detection process can identify an increase in pressure as an indication that the user is present on the bed 112. As another example, the processor 136 can determine that the user is present on the bed 112 if the detected pressure increases above a specified threshold (so as to indicate that a person or other object above a certain weight is positioned on the bed 112). As yet another example, the processor 136 can identify an increase in pressure in combination with detected slight, rhythmic fluctuations in pressure as corresponding to the user being present on the bed 112. The presence of rhythmic fluctuations can be identified as being caused by respiration or heart rhythm (or both) of the user. The detection of respiration or a heartbeat can distinguish between the user being present on the bed and another object (e.g., a suit case) being placed upon the bed.

[0055] In some implementations, fluctuations in pressure can be measured at the pump 120. For example, one or more pressure sensors can be located within one or more internal cavities of the pump 120 to detect fluctuations in pressure within the pump 120. The fluctuations in pressure detected at the pump 120 can indicate fluctuations in pressure in one or both of the chambers 114 A and 114B. One or more sensors located at the pump 120 can be in fluid communication with the one or both of the chambers 114A and 114B, and the sensors can be operative to determine pressure within the chambers 114Aand 114B. The control box 124 can be configured to determine at least one vital sign (e.g., heart rate, respiratory rate) based on the pressure within the chamber 114 A or the chamber 114B.

[0056] In some implementations, the control box 124 can analyze a pressure signal detected by one or more pressure sensors to determine a heart rate, respiration rate, and or other vital signs of a user lying or sitting on the chamber 114 A or the chamber 114B. More specifically, when a user ties on the bed 112 positioned over the chamber 114A, each of the user's heart beats, breaths, and other movements can create a force on the bed 112 that is transmitted to the chamber 114 A. As a result of the force input to the chamber 114A from the user's movement, a wave can propagate through the chamber 114A and into the pump 120. A pressure sensor located at the pump 120 can detect the wave, and thus the pressure signal output by the sensor can indicate a heart rate, respiratory rate, or other information regarding the user.

[0057] With regard to sleep state, air bed system 100 can determine a user’s sleep state by using various biometric signals such as heart rate, respiration, and/or movement of the user. While the user is sleeping, the processor 136 can receive one or more of the user’s biometric signals (e.g., heart rate, respiration, and motion) and determine the user’s present sleep state based on the received biometric signals. In some implementations, signals indicating fluctuations in pressure in one or both of the chambers 114 A and 114B can be amplified and/or filtered to allow for more precise detection of heart rate and respiratory rate.

[0058] The control box 124 can perform a pattern recognition algorithm or other calculation based on the amplified and filtered pressure signal to determine the user's heart rate and respiratory rate.

For example, the algorithm or calculation can be based on assumptions that a heart rate portion of the signal has a frequency in the range of 0.5-4.0 Hz and that a respiration rate portion of the signal a has a frequency in the range of less than 1 Hz. The control box 124 can also be configured to determine other characteristics of a user based on the received pressure signal, such as blood pressure, tossing and turning movements, rolling movements, limb movements, weight, the presence or lack of presence of a user, and/or the identity of the user. Techniques for monitoring a user’s sleep using heart rate information, respiration rate information, and other user information are disclosed in U.S. Patent Application Publication No. 20100170043 to Steven J. Young et al, titled “APPARATUS FOR MONITORING VITAL SIGNS,” the entire contents of which is incorporated herein by reference.

[0059] For example, the pressure transducer 146 can be used to monitor the air pressure in the chambers 114 A and 114B of the bed 112. If the user on the bed 112 is not moving, the air pressure changes in the air chamber 114 A or 114B can be relatively minimal, and can be attributable to respiration and/or heartbeat. When the user on the bed 112 is moving, however, the air pressure in the mattress can fluctuate by a much larger amount. Thus, the pressure signals generated by the pressure transducer 146 and received by the processor 136 can be filtered and indicated as corresponding to motion, heartbeat, or respiration. [0060] In some implementations, rather than performing the data analysis in the control box 124 with the processor 136, a digital signal processor (DSP) can be provided to analyze the data collected by the pressure transducer 146. Alternatively, the data collected by the pressure transducer 146 could be sent to a cloud-based computing system for remote analysis.

[0061] In some implementations, the example air bed system 100 further includes a temperature controller configured to increase, decrease, or maintain the temperature of a bed, for example for the comfort of the user. For example, a pad can be placed on top of or be part of the bed 112, or can be placed on top of or be part of one or both of the chambers 114A and 114B. Air can be pushed through the pad and vented to cool off a user of the bed. Conversely, the pad can include a heating element that can be used to keep the user warm. In some implementations, the temperature controller can receive temperature readings from the pad. In some implementations, separate pads are used for the different sides of the bed 112 (e.g., corresponding to the locations of the chambers 114 A and 114B) to provide for differing temperature control for the different sides of the bed.

[0062] In some implementations, the user of the air bed system 100 can use an input device, such as the remote control 122, to input a desired temperature for the surface of the bed 112 (or for a portion of the surface of the bed 112). The desired temperature can be encapsulated in a command data structure that includes the desired temperature as well as identifies the temperature controller as the desired component to be controlled. The command data structure can then be transmitted via Bluetooth or another suitable communication protocol to the processor 136. In various examples, the command data structure is encrypted before being transmitted. The temperature controller can then configure its elements to increase or decrease the temperature of the pad depending on the temperature input into remote control 122 by the user.

[0063] In some implementations, data can be transmitted from a component back to the processor 136 or to one or more display devices, such as the display 126. For example, the current temperature as determined by a sensor element of temperature controller, the pressure of the bed, the current position of the foundation or other information can be transmitted to control box 124. The control box 124 can then transmit the received information to remote control 122 where it can be displayed to the user (e.g., on the display 126). [0064] In some implementations, the example air bed system 100 further includes an adjustable foundation and an articulation controller configured to adjust the position of a bed (e.g., the bed 112) by adjusting the adjustable foundation that supports the bed. For example, the articulation controller can adjust the bed 112 from a flat position to a position in which a head portion of a mattress of the bed is inclined upward (e.g., to facilitate a user sitting up in bed and/or watching television). In some implementations, the bed 112 includes multiple separately articulable sections. For example, portions of the bed corresponding to the locations of the chambers 114 A and 114B can be articulated independently from each other, to allow one person positioned on the bed 112 surface to rest in a first position (e.g., a flat position) while a second person rests in a second position (e.g., an reclining position with the head raised at an angle from the waist). In some implementations, separate positions can be set for two different beds (e.g., two twin beds placed next to each other). The foundation of the bed 112 can include more than one zone that can be independently adjusted. The articulation controller can also be configured to provide different levels of massage to one or more users on the bed 112.

[0065] Example of a Bed in a Bedroom Environment

[0066] FIG. 3 shows an example environment 300 including a bed 302 in communication with devices located in and around a home. In the example shown, the bed 302 includes pump 304 for controlling air pressure within two air chambers 306a and 306b (as described above with respect to the air chambers 114A-114B). The pump 304 additionally includes circuitry for controlling inflation and deflation functionality performed by the pump 304. The circuitry is further programmed to detect fluctuations in air pressure of the air chambers 306a-b and used the detected fluctuations in air pressure to identify bed presence of a user 308, sleep state of the user 308, movement of the user 308, and biometric signals of the user 308 such as heart rate and respiration rate. In the example shown, the pump 304 is located within a support structure of the bed 302 and the control circuitry 334 for controlling the pump 304 is integrated with the pump 304. In some implementations, the control circuitry 334 is physically separate from the pump 304 and is in wireless or wired communication with the pump 304. In some implementations, the pump 304 and/or control circuitry 334 are located outside of the bed 302. In some implementations, various control functions can be performed by systems located in different physical locations. For example, circuitry for controlling actions of the pump 304 can be located within a pump casing of the pump 304 while control circuitry 334 for performing other functions associated with the bed 302 can be located in another portion of the bed 302, or external to the bed 302. As another example, control circuitry 334 located within the pump 304 can communicate with control circuitry 334 at a remote location through a LAN or WAN (e.g., the internet). As yet another example, the control circuitry 334 can be included in the control box 124 ofFIGs. 1 and 2.

[0067] In some implementations, one or more devices other than, or in addition to, the pump 304 and control circuitry 334 can be utilized to identify user bed presence, sleep state, movement, and biometric signals. For example, the bed 302 can include a second pump in addition to the pump 304, with each of the two pumps connected to a respective one of the air chambers 306a-b. For example, the pump 304 can be in fluid communication with the air chamber 306b to control inflation and deflation of the air chamber 306b as well as detect user signals for a user located over the air chamber 306b such as bed presence, sleep state, movement, and biometric signals while the second pump is in fluid communication with the air chamber 306a to control inflation and deflation of the air chamber 306a as well as detect user signals for a user located over the air chamber 306a.

[0068] As another example, the bed 302 can include one or more pressure sensitive pads or surface portions that are operable to detect movement, including user presence, user motion, respiration, and heart rate. For example, a first pressure sensitive pad can be incorporated into a surface of the bed 302 over a left portion of the bed 302, where a first user would normally be located during sleep, and a second pressure sensitive pad can be incorporated into the surface of the bed 302 over a right portion of the bed 302, where a second user would normally be located during sleep. The movement detected by the one or more pressure sensitive pads or surface portions can be used by control circuitry 334 to identify user sleep state, bed presence, or biometric signals.

[0069] In some implementations, information detected by the bed (e.g., motion information) is processed by control circuitry 334 (e.g., control circuitry 334 integrated with the pump 304) and provided to one or more user devices such as a user device 310 for presentation to the user 308 or to other users. In the example depicted in FIG. 3, the user device 310 is a tablet device; however, in some implementations, the user device 310 can be a personal computer, a smart phone, a smart television (e.g., a television 312), or other user device capable of wired or wireless communication with the control circuitry 334. The user device 310 can be in communication with control circuitry 334 of the bed 302 through a network or through direct point-to-point communication. For example, the control circuitry 334 can be connected to a LAN (e.g., through a Wi-Fi router) and communicate with the user device 310 through the LAN. As another example, the control circuitry 334 and the user device 310 can both connect to the Internet and communicate through the Internet. For example, the control circuitry 334 can connect to the Internet through a WiFi router and the user device 310 can connect to the Internet through communication with a cellular communication system. As another example, the control circuitry 334 can communicate directly with the user device 310 through a wireless communication protocol such as Bluetooth. As yet another example, the control circuitry 334 can communicate with the user device 310 through a wireless communication protocol such as ZigBee, Z-Wave, infrared, or another wireless communication protocol suitable for the application. As another example, the control circuitry 334 can communicate with the user device 310 through a wired connection such as, for example, a USB connector, serial/RS232, or another wired connection suitable for the application.

[0070] The user device 310 can display a variety of information and statistics related to sleep, or user 308’s interaction with the bed 302. For example, a user interface displayed by the user device 310 can present information including amount of sleep for the user 308 over a period of time (e.g., a single evening, a week, a month, etc.) amount of deep sleep, ratio of deep sleep to restless sleep, time lapse between the user 308 getting into bed and the user 308 falling asleep, total amount of time spent in the bed 302 for a given period of time, heart rate for the user 308 over a period of time, respiration rate for the user 308 over a period of time, or other information related to user interaction with the bed 302 by the user 308 or one or more other users of the bed 302. In some implementations, information for multiple users can be presented on the user device 310, for example information for a first user positioned over the air chamber 306a can be presented along with information for a second user positioned over the air chamber 306b. In some implementations, the information presented on the user device 310 can vary according to the age of the user 308. For example, the information presented on the user device 310 can evolve with the age of the user 308 such that different information is presented on the user device 310 as the user 308 ages as a child or an adult. [0071] The user device 310 can also be used as an interface for the control circuitry 334 of the bed 302 to allow the user 308 to enter information. The information entered by the user 308 can be used by the control circuitry 334 to provide better information to the user or to various control signals for controlling functions of the bed 302 or other devices. For example, the user can enter information such as weight, height, and age and the control circuitry 334 can use this information to provide the user 308 with a comparison of the user’s tracked sleep information to sleep information of other people having similar weights, heights, and/or ages as the user 308. As another example, the user 308 can use the user device 310 as an interface for controlling air pressure of the air chambers 306a and 306b, for controlling various recline or incline positions of the bed 302, for controlling temperature of one or more surface temperature control devices of the bed 302, or for allowing the control circuitry 334 to generate control signals for other devices (as described in greater detail below).

[0072] In some implementations, control circuitry 334 of the bed 302 (e.g., control circuitry 334 integrated into the pump 304) can communicate with other first, second, or third party devices or systems in addition to or instead of the user device 310. For example, the control circuitry 334 can communicate with the television 312, a lighting system 314, a thermostat 316, a security system 318, or other house [0073] hold devices such as an oven 322, a coffee maker 324, a lamp 326, and a nightlight 328.

Other examples of devices and/or systems that the control circuitry 334 can communicate with include a system for controlling window blinds 330, one or more devices for detecting or controlling the states of one or more doors 332 (such as detecting if a door is open, detecting if a door is locked, or automatically locking a door), and a system for controlling a garage door 320 (e.g., control circuitry 334 integrated with a garage door opener for identifying an open or closed state of the garage door 320 and for causing the garage door opener to open or close the garage door 320). Communications between the control circuitry 334 of the bed 302 and other devices can occur through a network (e.g., a LAN or the Internet) or as point- to-point communication (e.g., using Bluetooth, radio communication, or a wired connection). In some implementations, control circuitry 334 of different beds 302 can communicate with different sets of devices. For example, a kid bed may not communicate with and/or control the same devices as an adult bed. In some embodiments, the bed 302 can evolve with the age of the user such that the control circuitry 334 of the bed 302 communicates with different devices as a function of age of the user. [0074] The control circuitry 334 can receive information and inputs from other devices/systems and use the received information and inputs to control actions of the bed 302 or other devices. For example, the control circuitry 334 can receive information from the thermostat 316 indicating a current environmental temperature for a house or room in which the bed 302 is located. The control circuitry 334 can use the received information (along with other information) to determine if a temperature of all or a portion of the surface of the bed 302 should be raised or lowered. The control circuitry 334 can then cause a heating or cooling mechanism of the bed 302 to raise or lower the temperature of the surface of the bed 302. For example, the user 308 can indicate a desired sleeping temperature of 74 degrees while a second user of the bed 302 indicates a desired sleeping temperature of 72 degrees. The thermostat 316 can indicate to the control circuitry 334 that the current temperature of the bedroom is 72 degrees. The control circuitry 334 can identity that the user 308 has indicated a desired sleeping temperature of 74 degrees, and send control signals to a heating pad located on the user 308’s side of the bed to raise the temperature of the portion of the surface of the bed 302 where the user 308 is located to raise the temperature of the user 308’s sleeping surface to the desired temperature.

[0075] The control circuitry 334 can also generate control signals controlling other devices and propagate the control signals to the other devices. In some implementations, the control signals are generated based on information collected by the control circuitry 334, including information related to user interaction with the bed 302 by the user 308 and/or one or more other users. In some implementations, information collected from one or more other devices other than the bed 302 are used when generating the control signals. For example, information relating to environmental occurrences (e.g., environmental temperature, environmental noise level, and environmental light level), time of day, time of year, day of the week, or other information can be used when generating control signals for various devices in communication with the control circuitry 334 of the bed 302. For example, information on the time of day can be combined with information relating to movement and bed presence of the user 308 to generate control signals for the lighting system 314. In some implementations, rather than or in addition to providing control signals for one or more other devices, the control circuitry 334 can provide collected information (e.g., information related to user movement, bed presence, sleep state, or biometric signals for the user 308) to one or more other devices to allow the one or more other devices to utilize the collected information when generating control signals. For example, control circuitry 334 of the bed 302 can provide information relating to user interactions with the bed 302 by the user 308 to a central controller (not shown) that can use the provided information to generate control signals for various devices, including the bed 302. [0076] Still referring to FIG. 3, the control circuitry 334 of the bed 302 can generate control signals for controlling actions of other devices, and transmit the control signals to the other devices in response to information collected by the control circuitry 334, including bed presence of the user 308, sleep state of the user 308, and other factors. For example, control circuitry 334 integrated with the pump 304 can detect a feature of a mattress of the bed 302, such as an increase in pressure in the air chamber 306b, and use this detected increase in air pressure to determine that the user 308 is present on the bed 302. In some implementations, the control circuitry 334 can identify a heart rate or respiratory rate for the user 308 to identify that the increase in pressure is due to a person sitting, laying, or otherwise resting on the bed 302 rather than an inanimate object (such as a suitcase) having been placed on the bed 302. In some implementations, the information indicating user bed presence is combined with other information to identify a current or future likely state for the user 308. For example, a detected user bed presence at 11 :00am can indicate that the user is sitting on the bed (e.g., to tie her shoes, or to read a book) and does not intend to go to sleep, while a detected user bed presence at 10:00pm can indicate that the user 308 is in bed for the evening and is intending to fall asleep soon. As another example, if the control circuitry 334 detects that the user 308 has left the bed 302 at 6:30am (e.g., indicating that the user 308 has woken up for the day), and then later detects user bed presence of the user 308 at 7:30am, the control circuitry 334 can use this information that the newly detected user bed presence is likely temporary (e.g., while the user 308 ties her shoes before heading to work) rather than an indication that the user 308 is intending to stay on the bed 302 for an extended period.

[0077] In some implementations, the control circuitry 334 is able to use collected information

(including information related to user interaction with the bed 302 by the user 308, as well as environmental information, time information, and input received from the user) to identify use patterns for the user 308. For example, the control circuitry 334 can use information indicating bed presence and sleep states for the user 308 collected over a period of time to identify a sleep pattern for the user. For example, the control circuitry 334 can identify that the user 308 generally goes to bed between 9:30pm and 10:00pm, generally falls asleep between 10:00pm and 11:00pm, and generally wakes up between 6:30am and 6:45am based on information indicating user presence and biometrics for the user 308 collected over a week. The control circuitry 334 can use identified patterns for a user to better process and identity user interactions with the bed 302 by the user 308.

[0078] For example, given the above example user bed presence, sleep, and wake patterns for the user 308, if the user 308 is detected as being on the bed at 3:00pm, the control circuitry 334 can determine that the user’s presence on the bed is only temporary, and use this determination to generate different control signals than would be generated if the control circuitry 334 determined that the user 308 was in bed for the evening. As another example, if the control circuitry 334 detects that the user 308 has gotten out of bed at 3 :00am, the control circuitry 334 can use identified patterns for the user 308 to determine that the user has only gotten up temporarily (for example, to use the rest room, or get a glass of water) and is not up for the day. By contrast, if the control circuitry 334 identifies that the user 308 has gotten out of the bed 302 at 6:40am, the control circuitry 334 can determine that the user is up for the day and generate a different set of control signals than those that would be generated if it were determined that the user 308 were only getting out of bed temporarily (as would be the case when the user 308 gets out of the bed 302 at 3 :00am). For other users 308, getting out of the bed 302 at 3 :00am can be the normal wake- up time, which the control circuitry 334 can learn and respond to accordingly.

[0079] As described above, the control circuitry 334 for the bed 302 can generate control signals for control functions of various other devices. The control signals can be generated, at least in part, based on detected interactions by the user 308 with the bed 302, as well as other information including time, date, temperature, etc. For example, the control circuitry 334 can communicate with the television 312, receive information from the television 312, and generate control signals for controlling functions of the television 312. For example, the control circuitry 334 can receive an indication from the television 312 that the television 312 is currently on. If the television 312 is located in a different room from the bed 302, the control circuitry 334 can generate a control signal to turn the television 312 off upon making a determination that the user 308 has gone to bed for the evening. For example, if bed presence of the user 308 on the bed 302 is detected during a particular time range (e.g., between 8:00pm and 7:00am) and persists for longer than a threshold period of time (e.g., 10 minutes) the control circuitry 334 can use this information to determine that the user 308 is in bed for the evening. If the television 312 is on (as indicated by communications received by the control circuitry 334 of the bed 302 from the television 312) the control circuitry 334 can generate a control signal to turn the television 312 off. The control signals can then be transmitted to the television (e.g., through a directed communication link between the television 312 and the control circuitry 334 or through a network). As another example, rather than turning off the television 312 in response to detection of user bed presence, the control circuitry 334 can generate a control signal that causes the volume of the television 312 to be lowered by a pre-specified amount.

[0080] As another example, upon detecting that the user 308 has left the bed 302 during a specified time range (e.g., between 6:00am and 8:00am) the control circuitry 334 can generate control signals to cause the television 312 to turn on and tune to a pre-specified channel (e.g., the user 308 has indicated a preference for watching the morning news upon getting out of bed in the morning). The control circuitry 334 can generate the control signal and transmit the signal to the television 312 to cause the television 312 to turn on and tune to the desired station (which could be stored at the control circuitry 334, the television 312, or another location). As another example, upon detecting that the user 308 has gotten up for the day, the control circuitry 334 can generate and transmit control signals to cause the television 312 to turn on and begin playing a previously recorded program from a digital video recorder (DVR) in communication with the television 312.

[0081] As another example, if the television 312 is in the same room as the bed 302, the control circuitry 334 does not cause the television 312 to turn off in response to detection of user bed presence. Rather, the control circuitry 334 can generate and transmit control signals to cause the television 312 to turn off in response to determining that the user 308 is asleep. For example, the control circuitry 334 can monitor biometric signals of the user 308 (e.g., motion, heart rate, respiration rate) to determine that the user 308 has fallen asleep. Upon detecting that the user 308 is sleeping, the control circuitry 334 generates and transmits a control signal to turn the television 312 off. As another example, the control circuitry 334 can generate the control signal to turn off the television 312 after a threshold period of time after the user 308 has fallen asleep (e.g., 10 minutes after the user has fallen asleep). As another example, the control circuitry 334 generates control signals to lower the volume of the television 312 after determining that the user 308 is asleep. As yet another example, the control circuitry 334 generates and transmits a control signal to cause the television to gradually lower in volume over a period of time and then turn off in response to determining that the user 308 is asleep.

[0082] In some implementations, the control circuitry 334 can similarly interact with other media devices, such as computers, tablets, smart phones, stereo systems, etc. For example, upon detecting that the user 308 is asleep, the control circuitry 334 can generate and transmit a control signal to the user device 310 to cause the user device 310 to turn off, or turn down the volume on a video or audio fde being played by the user device 310.

[0083] The control circuitry 334 can additionally communicate with the lighting system 314, receive information from the lighting system 314, and generate control signals for controlling functions of the lighting system 314. For example, upon detecting user bed presence on the bed 302 during a certain time frame (e.g., between 8:00pm and 7:00am) that lasts for longer than a threshold period of time (e.g., 10 minutes) the control circuitry 334 of the bed 302 can determine that the user 308 is in bed for the evening. In response to this determination, the control circuitry 334 can generate control signals to cause lights in one or more rooms other than the room in which the bed 302 is located to switch off. The control signals can then be transmitted to the lighting system 314 and executed by the lighting system 314 to cause the lights in the indicated rooms to shut off. For example, the control circuitry 334 can generate and transmit control signals to turn off lights in all common rooms, but not in other bedrooms. As another example, the control signals generated by the control circuitry 334 can indicate that lights in all rooms other than the room in which the bed 302 is located are to be turned off, while one or more lights located outside of the house containing the bed 302 are to be turned on, in response to determining that the user 308 is in bed for the evening. Additionally, the control circuitry 334 can generate and transmit control signals to cause the nightlight 328 to turn on in response to determining user 308 bed presence or whether the user 308 is asleep. As another example, the control circuitry 334 can generate first control signals for turning off a first set of lights (e.g., lights in common rooms) in response to detecting user bed presence, and second control signals for turning off a second set of lights (e.g., lights in the room in which the bed 302 is located) in response to detecting that the user 308 is asleep.

[0084] In some implementations, in response to determining that the user 308 is in bed for the evening, the control circuitry 334 of the bed 302 can generate control signals to cause the lighting system 314 to implement a sunset lighting scheme in the room in which the bed 302 is located. A sunset lighting scheme can include, for example, dimming the lights (either gradually over hme, or all at once) in combination with changing the color of the light in the bedroom environment, such as adding an amber hue to the lighting in the bedroom. The sunset lighting scheme can help to put the user 308 to sleep when the control circuitry 334 has determined that the user 308 is in bed for the evening.

[0085] The control circuitry 334 can also be configured to implement a sunrise lighhng scheme when the user 308 wakes up in the morning. The control circuitry 334 can determine that the user 308 is awake for the day, for example, by detecting that the user 308 has gotten off of the bed 302 (i.e., is no longer present on the bed 302) during a specified time frame (e.g., between 6:00am and 8:00am). As another example, the control circuitry 334 can monitor movement, heart rate, respiratory rate, or other biometric signals of the user 308 to determine that the user 308 is awake even though the user 308 has not gotten out of bed. If the control circuitry 334 detects that the user is awake during a specified time frame, the control circuitry 334 can determine that the user 308 is awake for the day. The specified time frame can be, for example, based on previously recorded user bed presence information collected over a period of time (e.g., two weeks) that indicates that the user 308 usually wakes up for the day between 6:30am and 7:30am. In response to the control circuitry 334 determining that the user 308 is awake, the control circuitry 334 can generate control signals to cause the lighting system 314 to implement the sunrise lighting scheme in the bedroom in which the bed 302 is located. The sunrise lighting scheme can include, for example, turning on lights (e.g., the lamp 326, or other lights in the bedroom). The sunrise lighting scheme can further include gradually increasing the level of light in the room where the bed 302 is located (or in one or more other rooms). The sunrise lighting scheme can also include only turning on lights of specified colors. For example, the sunrise lighting scheme can include lighting the bedroom with blue light to gently assist the user 308 in waking up and becoming active.

[0086] In some implementations, the control circuitry 334 can generate different control signals for controlling actions of one or more components, such as the lighting system 314, depending on a time of day that user interactions with the bed 302 are detected. For example, the control circuitry 334 can use historical user interaction information for interactions between the user 308 and the bed 302 to determine that the user 308 usually falls asleep between 10:00pm and 11:00pm and usually wakes up between 6:30am and 7:30am on weekdays. The control circuitry 334 can use this information to generate a first set of control signals for controlling the lighting system 314 if the user 308 is detected as getting out of bed at 3 :00am and to generate a second set of control signals for controlling the lighting system 314 if the user 308 is detected as getting out of bed after 6:30am. For example, if the user 308 gets out of bed prior to 6:30am, the control circuitry 334 can turn on lights that guide the user 308’s route to a restroom. As another example, if the user 308 gets out of bed prior to 6:30am, the control circuitry 334 can turn on lights that guide the user 308’s route to the kitchen (which can include, for example, turning on the nightlight 328, turning on under bed lighting, or turning on the lamp 326).

[0087] As another example, if the user 308 gets out of bed after 6:30am, the control circuitry 334 can generate control signals to cause the lighting system 314 to initiate a sunrise lighting scheme, or to turn on one or more lights in the bedroom and/or other rooms. In some implementations, if the user 308 is detected as getting out of bed prior to a specified morning rise time for the user 308, the control circuitry 334 causes the lighting system 314 to turn on lights that are dimmer than lights that are turned on by the lighting system 314 if the user 308 is detected as getting out of bed after the specified morning rise time. Causing the lighting system 314 to only turn on dim lights when the user 308 gets out of bed during the night (i.e., prior to normal rise time for the user 308) can prevent other occupants of the house from being woken by the lights while still allowing the user 308 to see in order to reach the restroom, kitchen, or another destination within the house.

[0088] The historical user interaction information for interactions between the user 308 and the bed 302 can be used to identity user sleep and awake time frames. For example, user bed presence times and sleep times can be determined for a set period of time (e.g., two weeks, a month, etc.). The control circuitry 334 can then identify a typical time range or time frame in which the user 308 goes to bed, a typical time frame for when the user 308 falls asleep, and a typical time frame for when the user 308 wakes up (and in some cases, different time frames for when the user 308 wakes up and when the user 308 actually gets out of bed). In some implementations, buffer time can be added to these time frames. For example, if the user is identified as typically going to bed between 10:00pm and 10:30pm, a buffer of a half hour in each direction can be added to the time frame such that any detection of the user getting onto the bed between 9:30pm and 11 :00pm is interpreted as the user 308 going to bed for the evening. As another example, detection of bed presence of the user 308 starting from a half hour before the earliest typical time that the user 308 goes to bed extending until the typical wake up time (e.g., 6:30 am) for the user can be interpreted as the user going to bed for the evening. For example, if the user typically goes to bed between 10:00pm and 10:30pm, if the user’s bed presence is sensed at 12:30am one night, that can be interpreted as the user getting into bed for the evening even though this is outside of the user’s typical time frame for going to bed because it has occurred prior to the user’s normal wake up time. In some implementations, different time frames are identified for different times of the year (e.g., earlier bed time during winter vs. summer) or at different times of the week (e.g., user wakes up earlier on weekdays than on weekends). [0089] The control circuitry 334 can distinguish between the user 308 going to bed for an extended period (such as for the night) as opposed to being present on the bed 302 for a shorter period (such as for a nap) by sensing duration of presence of the user 308. In some examples, the control circuitry 334 can distinguish between the user 308 going to bed for an extended period (such as for the night) as opposed to going to bed for a shorter period (such as for a nap) by sensing duration of sleep of the user 308. For example, the control circuitry 334 can set a time threshold whereby if the user 308 is sensed on the bed 302 for longer than the threshold, the user 308 is considered to have gone to bed for the night. In some examples, the threshold can be about 2 hours, whereby if the user 308 is sensed on the bed 302 for greater than 2 hours, the control circuitry 334 registers that as an extended sleep event. In other examples, the threshold can be greater than or less than two hours.

[0090] The control circuitry 334 can detect repeated extended sleep events to determine a typical bed time range of the user 308 automatically, without requiring the user 308 to enter a bed time range. This can allow the control circuitry 334 to accurately estimate when the user 308 is likely to go to bed for an extended sleep event, regardless of whether the user 308 typically goes to bed using a traditional sleep schedule or a non-traditional sleep schedule. The control circuitry 334 can then use knowledge of the bed time range of the user 308 to control one or more components (including components of the bed 302 and/or non-bed peripherals) differently based on sensing bed presence during the bed time range or outside of the bed time range.

[0091] In some examples, the control circuitry 334 can automatically determine the bed time range of the user 308 without requiring user inputs. In some examples, the control circuitry 334 can determine the bed time range of the user 308 automatically and in combination with user inputs. In some examples, the control circuitry 334 can set the bed time range directly according to user inputs. In some examples, the control circuity 334 can associate different bed times with different days of the week. In each of these examples, the control circuitry 334 can control one or more components (such as the lighting system 314, the thermostat 316, the security system 318, the oven 322, the coffee maker 324, the lamp 326, and the nightlight 328), as a function of sensed bed presence and the bed time range.

[0092] The control circuitry 334 can additionally communicate with the thermostat 316, receive information from the thermostat 316, and generate control signals for controlling functions of the thermostat 316. For example, the user 308 can indicate user preferences for different temperatures at different times, depending on the sleep state or bed presence of the user 308. For example, the user 308 may prefer an environmental temperature of 72 degrees when out of bed, 70 degrees when in bed but awake, and 68 degrees when sleeping. The control circuitry 334 of the bed 302 can detect bed presence of the user 308 in the evening and determine that the user 308 is in bed for the night. In response to this determination, the control circuitry 334 can generate control signals to cause the thermostat to change the temperature to 70 degrees. The control circuitry 334 can then transmit the control signals to the thermostat 316. Upon detecting that the user 308 is in bed during the bed time range or asleep, the control circuitry 334 can generate and transmit control signals to cause the thermostat 316 to change the temperature to 68. The next morning, upon determining that the user is awake for the day (e.g., the user 308 gets out of bed after 6:30am) the control circuitry 334 can generate and transmit control circuitry 334 to cause the thermostat to change the temperature to 72 degrees.

[0093] In some implementations, the control circuitry 334 can similarly generate control signals to cause one or more heating or cooling elements on the surface of the bed 302 to change temperature at various times, either in response to user interaction with the bed 302 or at various pre-programmed times. For example, the control circuitry 334 can activate a heating element to raise the temperature of one side of the surface of the bed 302 to 73 degrees when it is detected that the user 308 has fallen asleep. As another example, upon determining that the user 308 is up for the day, the control circuitry 334 can turn off a heating or cooling element. As yet another example, the user 308 can pre-program various times at which the temperature at the surface of the bed should be raised or lowered. For example, the user can program the bed 302 to raise the surface temperature to 76 degrees at 10:00pm, and lower the surface temperature to 68 degrees at 11:30pm.

[0094] In some implementations, in response to detecting user bed presence of the user 308 and/or that the user 308 is asleep, the control circuitry 334 can cause the thermostat 316 to change the temperature in different rooms to different values. For example, in response to determining that the user 308 is in bed for the evening, the control circuitry 334 can generate and transmit control signals to cause the thermostat 316 to set the temperature in one or more bedrooms of the house to 72 degrees and set the temperature in other rooms to 67 degrees.

[0095] The control circuitry 334 can also receive temperature information from the thermostat

316 and use this temperature information to control functions of the bed 302 or other devices. For example, as discussed above, the control circuitry 334 can adjust temperatures of heating elements included in the bed 302 in response to temperature information received from the thermostat 316.

[0096] In some implementations, the control circuitry 334 can generate and transmit control signals for controlling other temperature control systems. For example, in response to determining that the user 308 is awake for the day, the control circuitry 334 can generate and transmit control signals for causing floor heating elements to activate. For example, the control circuitry 334 can cause a floor heating system for a master bedroom to turn on in response to determining that the user 308 is awake for the day.

[0097] The control circuitry 334 can additionally communicate with the security system 318, receive information from the security system 318, and generate control signals for controlling functions of the security system 318. For example, in response to detecting that the user 308 in is bed for the evening, the control circuitry 334 can generate control signals to cause the security system to engage or disengage security functions. The control circuitry 334 can then transmit the control signals to the security system 318 to cause the security system 318 to engage. As another example, the control circuitry 334 can generate and transmit control signals to cause the security system 318 to disable in response to determining that the user 308 is awake for the day (e.g., user 308 is no longer present on the bed 302 after 6:00am). In some implementations, the control circuitry 334 can generate and transmit a first set of control signals to cause the security system 318 to engage a first set of security features in response to detecting user bed presence of the user 308, and can generate and transmit a second set of control signals to cause the security system 318 to engage a second set of security features in response to detecting that the user 308 has fallen asleep. [0098] In some implementations, the control circuitry 334 can receive alerts from the security system 318 (and/or a cloud service associated with the security system 318) and indicate the alert to the user 308. For example, the control circuitry 334 can detect that the user 308 is in bed for the evening and in response, generate and transmit control signals to cause the security system 318 to engage or disengage. The security system can then detect a security breach (e.g., someone has opened the door 332 without entering the security code, or someone has opened a window when the security system 318 is engaged).

The security system 318 can communicate the security breach to the control circuitry 334 of the bed 302.

In response to receiving the communication from the security system 318, the control circuitry 334 can generate control signals to alert the user 308 to the security breach. For example, the control circuitry 334 can cause the bed 302 to vibrate. As another example, the control circuitry 334 can cause portions of the bed 302 to articulate (e.g., cause the head section to raise or lower) in order to wake the user 308 and alert the user to the security breach. As another example, the control circuitry 334 can generate and transmit control signals to cause the lamp 326 to flash on and off at regular intervals to alert the user 308 to the security breach. As another example, the control circuitry 334 can alert the user 308 of one bed 302 regarding a security breach in a bedroom of another bed, such as an open window in a kid’s bedroom. As another example, the control circuitry 334 can send an alert to a garage door controller (e.g., to close and lock the door). As another example, the control circuitry 334 can send an alert for the security to be disengaged.

[0099] The control circuitry 334 can additionally generate and transmit control signals for controlling the garage door 320 and receive information indicating a state of the garage door 320 (i.e., open or closed). For example, in response to determining that the user 308 is in bed for the evening, the control circuitry 334 can generate and transmit a request to a garage door opener or another device capable of sensing if the garage door 320 is open. The control circuitry 334 can request information on the current state of the garage door 320. If the control circuitry 334 receives a response (e.g., from the garage door opener) indicating that the garage door 320 is open, the control circuitry 334 can either notify the user 308 that the garage door is open, or generate a control signal to cause the garage door opener to close the garage door 320. For example, the control circuitry 334 can send a message to the user device 310 indicating that the garage door is open. As another example, the control circuitry 334 can cause the bed 302 to vibrate. As yet another example, the control circuitry 334 can generate and transmit a control signal to cause the lighting system 314 to cause one or more lights in the bedroom to flash to alert the user 308 to check the user device 310 for an alert (in this example, an alert regarding the garage door 320 being open). Alternatively, or additionally, the control circuitry 334 can generate and transmit control signals to cause the garage door opener to close the garage door 320 in response to identifying that the user 308 is in bed for the evening and that the garage door 320 is open. In some implementations, control signals can vary depend on the age of the user 308.

[00100] The control circuitry 334 can similarly send and receive communications for controlling or receiving state information associated with the door 332 or the oven 322. For example, upon detecting that the user 308 is in bed for the evening, the control circuitry 334 can generate and transmit a request to a device or system for detecting a state of the door 332. Information returned in response to the request can indicate various states for the door 332 such as open, closed but unlocked, or closed and locked. If the door 332 is open or closed but unlocked, the control circuitry 334 can alert the user 308 to the state of the door, such as in a manner described above with reference to the garage door 320. Alternatively, or in addition to alerting the user 308, the control circuitry 334 can generate and transmit control signals to cause the door 332 to lock, or to close and lock. If the door 332 is closed and locked, the control circuitry 334 can determine that no further action is needed.

[00101] Similarly, upon detecting that the user 308 is in bed for the evening, the control circuitry

334 can generate and transmit a request to the oven 322 to request a state of the oven 322 (e.g., on or off).

If the oven 322 is on, the control circuitry 334 can alert the user 308 and/or generate and transmit control signals to cause the oven 322 to turn off. If the oven is already off, the control circuitry 334 can determine that no further action is necessary. In some implementations, different alerts can be generated for different events. For example, the control circuitry 334 can cause the lamp 326 (or one or more other lights, via the lighting system 314) to flash in a first pattern if the security system 318 has detected a breach, flash in a second pattern if garage door 320 is on, flash in a third pattern if the door 332 is open, flash in a fourth pattern if the oven 322 is on, and flash in a fifth pattern if another bed has detected that a user of that bed has gotten up (e.g., that a child of the user 308 has gotten out of bed in the middle of the night as sensed by a sensor in the bed 302 of the child). Other examples of alerts that can be processed by the control circuitry 334 of the bed 302 and communicated to the user include a smoke detector detecting smoke (and communicating this detection of smoke to the control circuitry 334), a carbon monoxide tester detecting carbon monoxide, a heater malfunctioning, or an alert from any other device capable of communicating with the control circuitry 334 and detecting an occurrence that should be brought to the user 308’s attention.

[00102] The control circuitry 334 can also communicate with a system or device for controlling a state of the window blinds 330. For example, in response to determining that the user 308 is in bed for the evening, the control circuitry 334 can generate and transmit control signals to cause the window blinds 330 to close. As another example, in response to determining that the user 308 is up for the day (e.g., user has gotten out of bed after 6:30am) the control circuitry 334 can generate and transmit control signals to cause the window blinds 330 to open. By contrast, if the user 308 gets out of bed prior to a normal rise time for the user 308, the control circuitry 334 can determine that the user 308 is not awake for the day and does not generate control signals for causing the window blinds 330 to open. As yet another example, the control circuitry 334 can generate and transmit control signals that cause a first set of blinds to close in response to detecting user bed presence of the user 308 and a second set of blinds to close in response to detecting that the user 308 is asleep.

[00103] The control circuitry 334 can generate and transmit control signals for controlling functions of other household devices in response to detecting user interactions with the bed 302. For example, in response to determining that the user 308 is awake for the day, the control circuitry 334 can generate and transmit control signals to the coffee maker 324 to cause the coffee maker 324 to begin brewing coffee. As another example, the control circuitry 334 can generate and transmit control signals to the oven 322 to cause the oven to begin preheating (for users that like fresh baked bread in the morning).

As another example, the control circuitry 334 can use information indicating that the user 308 is awake for the day along with information indicating that the time of year is currently winter and/or that the outside temperature is below a threshold value to generate and transmit control signals to cause a car engine block heater to turn on. [00104] As another example, the control circuitry 334 can generate and transmit control signals to cause one or more devices to enter a sleep mode in response to detecting user bed presence of the user 308, or in response to detecting that the user 308 is asleep. For example, the control circuitry 334 can generate control signals to cause a mobile phone of the user 308 to switch into sleep mode. The control circuitry 334 can then transmit the control signals to the mobile phone. Later, upon determining that the user 308 is up for the day, the control circuitry 334 can generate and transmit control signals to cause the mobile phone to switch out of sleep mode.

[00105] In some implementations, the control circuitry 334 can communicate with one or more noise control devices. For example, upon determining that the user 308 is in bed for the evening, or that the user 308 is asleep, the control circuitry 334 can generate and transmit control signals to cause one or more noise cancelation devices to activate. The noise cancelation devices can, for example, be included as part of the bed 302 or located in the bedroom with the bed 302. As another example, upon determining that the user 308 is in bed for the evening or that the user 308 is asleep, the control circuitry 334 can generate and transmit control signals to turn the volume on, off, up, or down, for one or more sound generating devices, such as a stereo system radio, computer, tablet, etc.

[00106] Additionally, functions of the bed 302 are controlled by the control circuitry 334 in response to user interactions with the bed 302. For example, the bed 302 can include an adjustable foundation and an articulation controller configured to adjust the position of one or more portions of the bed 302 by adjusting the adjustable foundation that supports the bed. For example, the articulation controller can adjust the bed 302 from a flat position to a position in which a head portion of a mattress of the bed 302 is inclined upward (e.g., to facilitate a user sitting up in bed and/or watching television). In some implementations, the bed 302 includes multiple separately articulable sections. For example, portions of the bed corresponding to the locations of the air chambers 306a and 306b can be articulated independently from each other, to allow one person positioned on the bed 302 surface to rest in a first position (e.g., a flat position) while a second person rests in a second position (e.g., a reclining position with the head raised at an angle from the waist). In some implementations, separate positions can be set for two different beds (e.g., two twin beds placed next to each other). The foundation of the bed 302 can include more than one zone that can be independently adjusted. The articulation controller can also be configured to provide different levels of massage to one or more users on the bed 302 or to cause the bed to vibrate to communicate alerts to the user 308 as described above.

[00107] The control circuitry 334 can adjust positions (e.g., incline and decline positions for the user 308 and/or an additional user of the bed 302) in response to user interactions with the bed 302. For example, the control circuitry 334 can cause the articulation controller to adjust the bed 302 to a first recline position for the user 308 in response to sensing user bed presence for the user 308. The control circuitry 334 can cause the articulation controller to adjust the bed 302 to a second recline position (e.g., a less reclined, or flat position) in response to determining that the user 308 is asleep. As another example, the control circuitry 334 can receive a communication from the television 312 indicating that the user 308 has turned off the television 312, and in response the control circuitry 334 can cause the articulation controller to adjust the position of the bed 302 to a preferred user sleeping position (e.g., due to the user turning off the television 312 while the user 308 is in bed indicating that the user 308 wishes to go to sleep). [00108] In some implementations, the control circuitry 334 can control the articulation controller so as to wake up one user of the bed 302 without waking another user of the bed 302. For example, the user 308 and a second user of the bed 302 can each set distinct wakeup times (e.g., 6:30am and 7:15am respectively). When the wakeup time for the user 308 is reached, the control circuitry 334 can cause the articulation controller to vibrate or change the position of only a side of the bed on which the user 308 is located to wake the user 308 without disturbing the second user. When the wakeup time for the second user is reached, the control circuitry 334 can cause the articulation controller to vibrate or change the position of only the side of the bed on which the second user is located. Alternatively, when the second wakeup time occurs, the control circuitry 334 can utilize other methods (such as audio alarms, or turning on the lights) to wake the second user since the user 308 is already awake and therefore will not be disturbed when the control circuitry 334 attempts to wake the second user.

[00109] Still referring to FIG. 3, the control circuitry 334 for the bed 302 can utilize information for interactions with the bed 302 by multiple users to generate control signals for controlling functions of various other devices. For example, the control circuitry 334 can wait to generate control signals for, for example, engaging the security system 318, or instructing the lighting system 314 to turn off lights in various rooms until both the user 308 and a second user are detected as being present on the bed 302. As another example, the control circuitry 334 can generate a first set of control signals to cause the lighting system 314 to turn off a first set of lights upon detecting bed presence of the user 308 and generate a second set of control signals for turning off a second set of lights in response to detecting bed presence of a second user. As another example, the control circuitry 334 can wait until it has been determined that both the user 308 and a second user are awake for the day before generating control signals to open the window blinds 330. As yet another example, in response to determining that the user 308 has left the bed and is awake for the day, but that a second user is still sleeping, the control circuitry 334 can generate and transmit a first set of control signals to cause the coffee maker 324 to begin brewing coffee, to cause the security system 318 to deactivate, to turn on the lamp 326, to turn off the nightlight 328, to cause the thermostat 316 to raise the temperature in one or more rooms to 72 degrees, and to open blinds (e.g., the window blinds 330) in rooms other than the bedroom in which the bed 302 is located. Later, in response to detecting that the second user is no longer present on the bed (or that the second user is awake) the control circuitry 334 can generate and transmit a second set of control signals to, for example, cause the lighting system 314 to turn on one or more lights in the bedroom, to cause window blinds in the bedroom to open, and to turn on the television 312 to a pre-specified channel.

[00110] Examples of Data Processing Systems Associated with a Bed

[00111] Described here are examples of systems and components that can be used for data processing tasks that are, for example, associated with a bed. In some cases, multiple examples of a particular component or group of components are presented. Some of these examples are redundant and/or mutually exclusive alternatives. Connections between components are shown as examples to illustrate possible network configurations for allowing communication between components. Different formats of connections can be used as technically needed or desired. The connections generally indicate a logical connection that can be created with any technologically feasible format. For example, a network on a motherboard can be created with a printed circuit board, wireless data connections, and or other types of network connections. Some logical connections are not shown for clarity. For example, connections with power supplies and or computer readable memory may not be shown for clarities sake, as many or all elements of a particular component may need to be connected to the power supplies and/or computer readable memory. [00112] FIG. 4A is a block diagram of an example of a data processing system 400 that can be associated with a bed system, including those described above with respect to FIGS. 1-3. This system 400 includes a pump motherboard 402 and a pump daughterboard 404. The system 400 includes a sensor array 406 that can include one or more sensors configured to sense physical phenomenon of the environment and/or bed, and to report such sensing back to the pump motherboard 402 for, for example, analysis. The system 400 also includes a controller array 408 that can include one or more controllers configured to control logic-controlled devices of the bed and/or environment. The pump motherboard 400 can be in communication with one or more computing devices 414 and one or more cloud services 410 over local networks, the Internet 412, or otherwise as is technically appropriate. Each of these components will be described in more detail, some with multiple example configurations, below.

[00113] In this example, a pump motherboard 402 and a pump daughterboard 404 are communicably coupled. They can be conceptually described as a center or hub of the system 400, with the other components conceptually described as spokes of the system 400. In some configurations, this can mean that each of the spoke components communicates primarily or exclusively with the pump motherboard 402. For example, a sensor of the sensor array may not be configured to, or may not be able to, communicate directly with a corresponding controller. Instead, each spoke component can communicate with the motherboard 402. The sensor of the sensor array 406 can report a sensor reading to the motherboard 402, and the motherboard 402 can determine that, in response, a controller of the controller array 408 should adjust some parameters of a logic controlled device or otherwise modify a state of one or more peripheral devices. In one case, if the temperature of the bed is determined to be too hot, the pump motherboard 402 can determine that a temperature controller should cool the bed.

[00114] One advantage of a hub-and-spoke network configuration, sometimes also referred to as a star-shaped network, is a reduction in network traffic compared to, for example, a mesh network with dynamic routing. If a particular sensor generates a large, continuous stream of traffic, that traffic may only be transmitted over one spoke of the network to the motherboard 402. The motherboard 402 can, for example, marshal that data and condense it to a smaller data format for retransmission for storage in a cloud service 410. Additionally or alternatively, the motherboard 402 can generate a single, small, command message to be sent down a different spoke of the network in response to the large stream. For example, if the large stream of data is a pressure reading that is transmitted from the sensor array 406 a few times a second, the motherboard 402 can respond with a single command message to the controller array to increase the pressure in an air chamber. In this case, the single command message can be orders of magnitude smaller than the stream of pressure readings.

[00115] As another advantage, a hub-and-spoke network configuration can allow for an extensible network that can accommodate components being added, removed, failing, etc. This can allow, for example, more, fewer, or different sensors in the sensor array 406, controllers in the controller array 408, computing devices 414, and/or cloud services 410. For example, if a particular sensor fails or is deprecated by a newer version of the sensor, the system 400 can be configured such that only the motherboard 402 needs to be updated about the replacement sensor. This can allow, for example, product differentiation where the same motherboard 402 can support an entry level product with fewer sensors and controllers, a higher value product with more sensors and controllers, and customer personalization where a customer can add their own selected components to the system 400.

[00116] Additionally, a line of air bed products can use the system 400 with different components.

In an application in which every air bed in the product line includes both a central logic unit and a pump, the motherboard 402 (and optionally the daughterboard 404) can be designed to fit within a single, universal housing. Then, for each upgrade of the product in the product line, additional sensors, controllers, cloud services, etc., can be added. Design, manufacturing, and testing time can be reduced by designing all products in a product line from this base, compared to a product line in which each product has a bespoke logic control system.

[00117] Each of the components discussed above can be realized in a wide variety of technologies and configurations. Below, some examples of each component will be further discussed. In some alternatives, two or more of the components of the system 400 can be realized in a single alternative component; some components can be realized in multiple, separate components; and or some functionality can be provided by different components.

[00118] FIG. 4B is a block diagram showing some communication paths of the data processing system 400. As previously described, the motherboard 402 and the pump daughterboard 404 may act as a hub for peripheral devices and cloud services of the system 400. In cases in which the pump daughterboard 404 communicates with cloud services or other components, communications from the pump daughterboard 404 may be routed through the pump motherboard 402. This may allow, for example, the bed to have only a single connection with the internet 412. The computing device 414 may also have a connection to the internet 412, possibly through the same gateway used by the bed and/or possibly through a different gateway (e.g., a cell service provider).

[00119] Previously, a number of cloud services 410 were described. As shown in FIG 4B, some cloud services, such as cloud services 410d and 410e, may be configured such that the pump motherboard 402 can communicate with the cloud service directly - that is the motherboard 402 may communicate with a cloud service 410 without having to use another cloud service 410 as an intermediary. Additionally or alternatively, some cloud services 410, for example cloud service 410f, may only be reachable by the pump motherboard 402 through an intermediary cloud service, for example cloud service 410e. While not shown here, some cloud services 410 may be reachable either directly or indirectly by the pump motherboard 402. [00120] Additionally, some or all of the cloud services 410 may be configured to communicate with other cloud services. This communication may include the transfer of data and/or remote function calls according to any technologically appropriate format. For example, one cloud service 410 may request a copy for another cloud service’s 410 data, for example, for purposes of backup, coordination, migration, or for performance of calculations or data mining. In another example, many cloud services 410 may contain data that is indexed according to specific users tracked by the user account cloud 410c and or the bed data cloud 410a. These cloud services 410 may communicate with the user account cloud 410c and/or the bed data cloud 410a when accessing data specific to a particular user or bed.

[00121] FIG. 5 is a block diagram of an example of a motherboard 402 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, compared to other examples described below, this motherboard 402 consists of relatively fewer parts and can be limited to provide a relatively limited feature set.

[00122] The motherboard includes a power supply 500, a processor 502, and computer memory

512. In general, the power supply includes hardware used to receive electrical power from an outside source and supply it to components of the motherboard 402. The power supply can include, for example, a battery pack and/or wall outlet adapter, an AC to DC converter, a DC to AC converter, a power conditioner, a capacitor bank, and/or one or more interfaces for providing power in the current type, voltage, etc., needed by other components of the motherboard 402.

[00123] The processor 502 is generally a device for receiving input, performing logical determinations, and providing output. The processor 502 can be a central processing unit, a microprocessor, general purpose logic circuity, application-specific integrated circuity, a combination of these, and or other hardware for performing the functionality needed.

[00124] The memory 512 is generally one or more devices for storing data. The memory 512 can include long term stable data storage (e.g., on a hard disk), short term unstable (e.g., on Random Access Memory) or any other technologically appropriate configuration.

[00125] The motherboard 402 includes a pump controller 504 and a pump motor 506. The pump controller 504 can receive commands from the processor 502 and, in response, control the function of the pump motor 506. For example, the pump controller 504 can receive, from the processor 502, a command to increase the pressure of an air chamber by 0.3 pounds per square inch (PSI). The pump controller 504, in response, engages a valve so that the pump motor 506 is configured to pump air into the selected air chamber, and can engage the pump motor 506 for a length of time that corresponds to 0.3 PSI or until a sensor indicates that pressure has been increased by 0.3 PSI. In an alternative configuration, the message can specify that the chamber should be inflated to a target PSI, and the pump controller 504 can engage the pump motor 506 until the target PSI is reached.

[00126] A valve solenoid 508 can control which air chamber a pump is connected to. In some cases, the solenoid 508 can be controlled by the processor 502 directly. In some cases, the solenoid 508 can be controlled by the pump controller 504.

[00127] A remote interface 510 of the motherboard 402 can allow the motherboard 402 to communicate with other components of a data processing system. For example, the motherboard 402 can be able to communicate with one or more daughterboards, with peripheral sensors, and or with peripheral controllers through the remote interface 510. The remote interface 510 can provide any technologically appropriate communication interface, including but not limited to multiple communication interfaces such as WiFi, Bluetooth, and copper wired networks. [00128] FIG. 6 is a block diagram of an example of a motherboard 402 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. Compared to the motherboard 402 described with reference to FIG 5, the motherboard in FIG.

6 can contain more components and provide more functionality in some applications. [00129] In addition to the power supply 500, processor 502, pump controller 504, pump motor

506, and valve solenoid 508, this motherboard 402 is shown with a valve controller 600, a pressure sensor 602, a universal serial bus (USB) stack 604, a WiFi radio 606, a Bluetooth Low Energy (BLE) radio 608, a ZigBee radio 610, a Bluetooth radio 612 and a computer memory 512.

[00130] Similar to the way that the pump controller 504 converts commands from the processor 502 into control signals for the pump motor 506, the valve controller 600 can convert commands from the processor 502 into control signals for the valve solenoid 508. In one example, the processor 502 can issue a command to the valve controller 600 to connect the pump to a particular air chamber out of the group of air chambers in an air bed. The valve controller 600 can control the position of the valve solenoid 508 so that the pump is connected to the indicated air chamber. [00131] The pressure sensor 602 can read pressure readings from one or more air chambers of the air bed. The pressure sensor 602 can also preform digital sensor conditioning.

[00132] The motherboard 402 can include a suite of network interfaces, including but not limited to those shown here. These network interfaces can allow the motherboard to communicate over a wired or wireless network with any number of devices, including but not limited to peripheral sensors, peripheral controllers, computing devices, and devices and services connected to the Internet 412.

[00133] FIG. 7 is a block diagram of an example of a daughterboard 404 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In some configurations, one or more daughterboards 404 can be connected to the motherboard 402. Some daughterboards 404 can be designed to offload particular and/or compartmentalized tasks from the motherboard 402. This can be advantageous, for example, if the particular tasks are computationally intensive, proprietary, or subject to future revisions. For example, the daughterboard 404 can be used to calculate a particular sleep data metric. This metric can be computationally intensive, and calculating the sleep metric on the daughterboard 404 can free up the resources of the motherboard 402 while the metric is being calculated. Additionally and/or alternatively, the sleep metric can be subject to future revisions. To update the system 400 with the new sleep metric, it is possible that only the daughterboard 404 that calculates that metric need be replaced. In this case, the same motherboard 402 and other components can be used, saving the need to perform unit testing of additional components instead of just the daughterboard 404.

[00134] The daughterboard 404 is shown with a power supply 700, a processor 702, computer readable memory 704, a pressure sensor 706, and a WiFi radio 708. The processor can use the pressure sensor 706 to gather information about the pressure of the air chamber or chambers of an air bed. From this data, the processor 702 can perform an algorithm to calculate a sleep metric. In some examples, the sleep metric can be calculated from only the pressure of air chambers. In other examples, the sleep metric can be calculated from one or more other sensors. In an example in which different data is needed, the processor 702 can receive that data from an appropriate sensor or sensors. These sensors can be internal to the daughterboard 404, accessible via the WiFi radio 708, or otherwise in communication with the processor 702. Once the sleep metric is calculated, the processor 702 can report that sleep metric to, for example, the motherboard 402.

[00135] FIG. 8 is a block diagram of an example of a motherboard 800 with no daughterboard that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the motherboard 800 can perform most, all, or more of the features described with reference to the motherboard 402 in FIG. 6 and the daughterboard 404 in FIG. 7. [00136] FIG. 9 is a block diagram of an example of a sensory array 406 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In general, the sensor array 406 is a conceptual grouping of some or all the peripheral sensors that communicate with the motherboard 402 but are not native to the motherboard 402.

[00137] The peripheral sensors of the sensor array 406 can communicate with the motherboard 402 through one or more of the network interfaces of the motherboard, including but not limited to the USB stack 1112, a WiFi radio 606, a Bluetooth Low Energy (BLE) radio 608, a ZigBee radio 610, and a Bluetooth radio 612, as is appropriate for the configuration of the particular sensor. For example, a sensor that outputs a reading over a USB cable can communicate through the USB stack 1112. [00138] Some of the peripheral sensors 900 of the sensor array 406 can be bed mounted 900.

These sensors can be, for example, embedded into the structure of a bed and sold with the bed, or later affixed to the structure of the bed. Other peripheral sensors 902 and 904 can be in communication with the motherboard 402, but optionally not mounted to the bed. In some cases, some or all of the bed mounted sensors 900 and/or peripheral sensors 902 and 904 can share networking hardware, including a conduit that contains wires from each sensor, a multi-wire cable or plug that, when affixed to the motherboard 402, connect all of the associated sensors with the motherboard 402. In some embodiments, one, some, or all of sensors 902, 904, 906, 908, and 910 can sense one or more features of a mattress, such as pressure, temperature, light, sound, and/or one or more other features of the mattress. In some embodiments, one, some, or all of sensors 902, 904, 906, 908, and 910 can sense one or more features external to the mattress. In some embodiments, pressure sensor 902 can sense pressure of the mattress while some or all of sensors 902, 904, 906, 908, and 910 can sense one or more features of the mattress and/or external to the mattress. [00139] FIG. 10 is a block diagram of an example of a controller array 408 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In general, the controller array 408 is a conceptual grouping of some or all peripheral controllers that communicate with the motherboard 402 but are not native to the motherboard 402.

[00140] The peripheral controllers of the controller array 408 can communicate with the motherboard 402 through one or more of the network interfaces of the motherboard, including but not limited to the USB stack 1112, a WiFi radio 1114, a Bluetooth Low Energy (BLE) radio 1116, a ZigBee radio 610, and a Bluetooth radio 612, as is appropriate for the configuration of the particular sensor. For example, a controller that receives a command over a USB cable can communicate through the USB stack 1112

[00141] Some of the controllers of the controller array 408 can be bed mounted 1000, including but not limited to a temperature controller 1006, a light controller 1008, and/or a speaker controller 1010. These controllers can be, for example, embedded into the structure of a bed and sold with the bed, or later affixed to the structure of the bed. Other peripheral controllers 1002 and 1004 can be in communication with the motherboard 402, but optionally not mounted to the bed. In some cases, some or all of the bed mounted controllers 1000 and or peripheral controllers 1002 and 1004 can share networking hardware, including a conduit that contains wires for each controller, a multi-wire cable or plug that, when affixed to the motherboard 402, connects all of the associated controllers with the motherboard 402.

[00142] FIG. 11 is a block diagram of an example of a computing device 414 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. The computing device 414 can include, for example, computing devices used by a user of a bed. Example computing devices 414 include, but are not limited to, mobile computing devices (e.g., mobile phones, tablet computers, laptops) and desktop computers.

[00143] The computing device 414 includes a power supply 1100, a processor 1102, and computer readable memory 1104. User input and output can be transmitted by, for example, speakers 1106, a touchscreen 1108, or other not shown components such as a pointing device or keyboard. The computing device 414 can run one or more applications 1110. These applications can include, for example, application to allow the user to interact with the system 400. These applications can allow a user to view information about the bed (e.g., sensor readings, sleep metrics), or configure the behavior of the system 400 (e.g., set a desired firmness to the bed, set desired behavior for peripheral devices). In some cases, the computing device 414 can be used in addition to, or to replace, the remote control 122 described previously.

[00144] FIG. 12 is a block diagram of an example bed data cloud service 410a that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the bed data cloud service 410a is configured to collect sensor data and sleep data from a particular bed, and to match the sensor and sleep data with one or more users that use the bed when the sensor and sleep data was generated.

[00145] The bed data cloud service 410a is shown with a network interface 1200, a communication manager 1202, server hardware 1204, and server system software 1206. In addition, the bed data cloud service 410a is shown with a user identification module 1208, a device management 1210 module, a sensor data module 1212, and an advanced sleep data module 1214. [00146] The network interface 1200 generally includes hardware and low level software used to allow one or more hardware devices to communicate over networks. For example the network interface 1200 can include network cards, routers, modems, and other hardware needed to allow the components of the bed data cloud service 410a to communicate with each other and other destinations over, for example, the Internet 412. The communication manger 1202 generally comprises hardware and software that operate above the network interface 1200. This includes software to initiate, maintain, and tear down network communications used by the bed data cloud service 410a. This includes, for example, TCP/IP, SSL or TLS, Torrent, and other communication sessions over local or wide area networks. The communication manger 1202 can also provide load balancing and other services to other elements of the bed data cloud service

410a.

[00147] The server hardware 1204 generally includes the physical processing devices used to instantiate and maintain bed data cloud service 410a. This hardware includes, but is not limited to processors (e.g., central processing units, ASICs, graphical processers), and computer readable memory (e.g., random access memory, stable hard disks, tape backup). One or more servers can be configured into clusters, multi-computer, or datacenters that can be geographically separate or connected.

[00148] The server system software 1206 generally includes software that runs on the server hardware 1204 to provide operating environments to applications and services. The server system software 1206 can include operating systems running on real servers, virtual machines instantiated on real servers to create many virtual servers, server level operations such as data migration, redundancy, and backup.

[00149] The user identification 1208 can include, or reference, data related to users of beds with associated data processing systems. For example, the users can include customers, owners, or other users registered with the bed data cloud service 410a or another service. Each user can have, for example, a unique identifier, user credentials, contact information, billing information, demographic information, or any other technologically appropriate information.

[00150] The device manager 1210 can include, or reference, data related to beds or other products associated with data processing systems. For example, the beds can include products sold or registered with a system associated with the bed data cloud service 410a. Each bed can have, for example, a unique identifier, model and or serial number, sales information, geographic information, delivery information, a listing of associated sensors and control peripherals, etc. Additionally, an index or indexes stored by the bed data cloud service 410a can identify users that are associated with beds. For example, this index can record sales of a bed to a user, users that sleep in a bed, etc. [00151] The sensor data 1212 can record raw or condensed sensor data recorded by beds with associated data processing systems. For example, a bed’s data processing system can have a temperature sensor, pressure sensor, and light sensor. Readings from these sensors, either in raw form or in a format generated from the raw data (e.g. sleep metrics) of the sensors, can be communicated by the bed’s data processing system to the bed data cloud service 410a for storage in the sensor data 1212. Additionally, an index or indexes stored by the bed data cloud service 410a can identify users and/or beds that are associated with the sensor data 1212.

[00152] The bed data cloud service 410a can use any of its available data to generate advanced sleep data 1214. In general, the advanced sleep data 1214 includes sleep metrics and other data generated from sensor readings. Some of these calculations can be performed in the bed data cloud service 410a instead of locally on the bed’s data processing system, for example, because the calculations are computationally complex or require a large amount of memory space or processor power that is not available on the bed’s data processing system. This can help allow a bed system to operate with a relatively simple controller and still be part of a system that performs relatively complex tasks and computations. [00153] FIG. 13 is a block diagram of an example sleep data cloud service 410b that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the sleep data cloud service 410b is configured to record data related to users’ sleep experience.

[00154] The sleep data cloud service 410b is shown with a network interface 1300, a communication manager 1302, server hardware 1304, and server system software 1306. In addition, the sleep data cloud service 410b is shown with a user identification module 1308, a pressure sensor manager 1310, a pressure based sleep data module 1312, a raw pressure sensor data module 1314, and a nonpressure sleep data module 1316.

[00155] The pressure sensor manager 1310 can include, or reference, data related to the configuration and operation of pressure sensors in beds. For example, this data can include an identifier of the types of sensors in a particular bed, their settings and calibration data, etc.

[00156] The pressure based sleep data 1312 can use raw pressure sensor data 1314 to calculate sleep metrics specifically tied to pressure sensor data. For example, user presence, movements, weight change, heart rate, and breathing rate can all be determined from raw pressure sensor data 1314. Additionally, an index or indexes stored by the sleep data cloud service 410b can identify users that are associated with pressure sensors, raw pressure sensor data, and/or pressure based sleep data.

[00157] The non-pressure sleep data 1316 can use other sources of data to calculate sleep metrics.

For example, user entered preferences, light sensor readings, and sound sensor readings can all be used to track sleep data. Additionally, an index or indexes stored by the sleep data cloud service 410b can identify users that are associated with other sensors and or non-pressure sleep data 1316.

[00158] FIG. 14 is a block diagram of an example user account cloud service 410c that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the user account cloud service 410c is configured to record a list of users and to identify other data related to those users.

[00159] The user account cloud service 410c is shown with a network interface 1400, a communication manager 1402, server hardware 1404, and server system software 1406. In addition, the user account cloud service 410c is shown with a user identification module 1408, a purchase history module 1410, an engagement module 1412, and an application usage history module 1414.

[00160] The user identification module 1408 can include, or reference, data related to users of beds with associated data processing systems. For example, the users can include customers, owners, or other users registered with the user account cloud service 410a or another service. Each user can have, for example, a unique identifier, and user credentials, demographic information, or any other technologically appropriate information.

[00161] The purchase history module 1410 can include, or reference, data related to purchases by users. For example, the purchase data can include a sale’s contact information, billing information, and salesperson information. Additionally, an index or indexes stored by the user account cloud service 410c can identify users that are associated with a purchase.

[00162] The engagement 1412 can track user interactions with the manufacturer, vendor, and/or manager of the bed and or cloud services. This engagement data can include communications (e.g., emails, service calls), data from sales (e.g., sales receipts, configuration logs), and social network interactions. [00163] The usage history module 1414 can contain data about user interactions with one or more applications and/or remote controls of a bed. For example, a monitoring and configuration application can be distributed to run on, for example, computing devices 412. This application can log and report user interactions for storage in the application usage history module 1414. Additionally, an index or indexes stored by the user account cloud service 410c can identity users that are associated with each log entry. [00164] FIG. 15 is a block diagram of an example point of sale cloud service 1500 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the point of sale cloud service 1500 is configured to record data related to users’ purchases.

[00165] The point of sale cloud service 1500 is shown with a network interface 1502, a communication manager 1504, server hardware 1506, and server system software 1508. In addition, the point of sale cloud service 1500 is shown with a user identification module 1510, a purchase history module 1512, and a setup module 1514.

[00166] The purchase history module 1512 can include, or reference, data related to purchases made by users identified in the user identification module 1510. The purchase information can include, for example, data of a sale, price, and location of sale, delivery address, and configuration options selected by the users at the time of sale. These configuration options can include selections made by the user about how they wish their newly purchased beds to be setup and can include, for example, expected sleep schedule, a listing of peripheral sensors and controllers that they have or will install, etc.

[00167] The bed setup module 1514 can include, or reference, data related to installations of beds that users’ purchase. The bed setup data can include, for example, the date and address to which a bed is delivered, the person that accepts delivery, the configuration that is applied to the bed upon delivery, the name or names of the person or people who will sleep on the bed, which side of the bed each person will use, etc.

[00168] Data recorded in the point of sale cloud service 1500 can be referenced by a user’s bed system at later dates to control functionality of the bed system and/or to send control signals to peripheral components according to data recorded in the point of sale cloud service 1500. This can allow a salesperson to collect information from the user at the point of sale that later facilitates automation of the bed system. In some examples, some or all aspects of the bed system can be automated with little or no user-entered data required after the point of sale. In other examples, data recorded in the point of sale cloud service 1500 can be used in connection with a variety of additional data gathered from user-entered data. [00169] FIG. 16 is a block diagram of an example environment cloud service 1600 that can be used in a data processing system that can be associated with a bed system, including those described above with respect to FIGS. 1-3. In this example, the environment cloud service 1600 is configured to record data related to users’ home environment.

[00170] The environment cloud service 1600 is shown with a network interface 1602, a communication manager 1604, server hardware 1606, and server system software 1608. In addition, the environment cloud service 1600 is shown with a user identification module 1610, an environmental sensor module 1612, and an environmental factors module 1614.

[00171] The environmental sensors module 1612 can include a listing of sensors that users’ in the user identification module 1610 have installed in their bed. These sensors include any sensors that can detect environmental variables - light sensors, noise sensors, vibration sensors, thermostats, etc. Additionally, the environmental sensors module 1612 can store historical readings or reports from those sensors.

[00172] The environmental factors module 1614 can include reports generated based on data in the environmental sensors module 1612. For example, for a user with a light sensor with data in the environment sensors module 1612, the environmental factors module 1614 can hold a report indicating the frequency and duration of instances of increased lighting when the user is asleep.

[00173] In the examples discussed here, each cloud service 410 is shown with some of the same components. In various configurations, these same components can be partially or wholly shared between services, or they can be separate. In some configurations, each service can have separate copies of some or all of the components that are the same or different in some ways. Additionally, these components are only supplied as illustrative examples. In other examples each cloud service can have different number, types, and styles of components that are technically possible.

[00174] FIG. 17 is a block diagram of an example of using a data processing system that can be associated with a bed (such as a bed of the bed systems described herein) to automate peripherals around the bed. Shown here is a behavior analysis module 1700 that runs on the pump motherboard 402. For example, the behavior analysis module 1700 can be one or more software components stored on the computer memory 512 and executed by the processor 502. In general, the behavior analysis module 1700 can collect data from a wide variety of sources (e.g., sensors, non-sensor local sources, cloud data services) and use a behavioral algorithm 1702 to generate one or more actions to be taken (e.g., commands to send to peripheral controllers, data to send to cloud services). This can be useful, for example, in tracking user behavior and automating devices in communication with the user’s bed.

[00175] The behavior analysis module 1700 can collect data from any technologically appropriate source, for example, to gather data about features of a bed, the bed’s environment, and/or the bed’s users. Some such sources include any of the sensors of the sensor array 406. For example, this data can provide the behavior analysis module 1700 with information about the current state of the environment around the bed. For example, the behavior analysis module 1700 can access readings from the pressure sensor 902 to determine the pressure of an air chamber in the bed. From this reading, and potentially other data, user presence in the bed can be determined. In another example, the behavior analysis module can access a light sensor 908 to detect the amount of light in the bed’s environment.

[00176] Similarly, the behavior analysis module 1700 can access data from cloud services. For example, the behavior analysis module 1700 can access the bed cloud service 410a to access historical sensor data 1212 and or advanced sleep data 1214. Other cloud services 410, including those not previously described can be accessed by the behavior analysis module 1700. For example, the behavior analysis module 1700 can access a weather reporting service, a 3 rd party data provider (e.g., traffic and news data, emergency broadcast data, user travel data), and/or a clock and calendar service.

[00177] Similarly, the behavior analysis module 1700 can access data from non-sensor sources

1704 . For example, the behavior analysis module 1700 can access a local clock and calendar service (e.g., a component of the motherboard 402 or of the processor 502).

[00178] The behavior analysis module 1700 can aggregate and prepare this data for use by one or more behavioral algorithms 1702. The behavioral algorithms 1702 can be used to learn a user’s behavior and/or to perform some action based on the state of the accessed data and or the predicted user behavior.

For example, the behavior algorithm 1702 can use available data (e.g., pressure sensor, non-sensor data, clock and calendar data) to create a model of when a user goes to bed every night. Later, the same or a different behavioral algorithm 1702 can be used to determine if an increase in air chamber pressure is likely to indicate a user going to bed and, if so, send some data to a third-party cloud service 410 and/or engage a device such as a pump controller 504, foundation actuators 1706, temperature controller 1008, under-bed lighting 1010, a peripheral controller 1002, or a peripheral controller 1004, to name a few.

[00179] In the example shown, the behavioral analysis module 1700 and the behavioral algorithm

1702 are shown as components of the motherboard 402. However, other configurations are possible. For example, the same or a similar behavioral analysis module and or behavior algorithm can be run in one or more cloud services, and the resulting output can be sent to the motherboard 402, a controller in the controller array 408, or to any other technologically appropriate recipient.

[00180] FIG. 18 shows an example of a computing device 1800 and an example of a mobile computing device that can be used to implement the techniques described here. The computing device 1800 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The mobile computing device is intended to represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart-phones, and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and or claimed in this document.

[00181] The computing device 1800 includes a processor 1802, a memory 1804, a storage device

1806, a high-speed interface 1808 connecting to the memory 1804 and multiple high-speed expansion ports 1810, and a low-speed interface 1812 connecting to a low-speed expansion port 1814 and the storage device 1806. Each of the processor 1802, the memory 1804, the storage device 1806, the high-speed interface 1808, the high-speed expansion ports 1810, and the low-speed interface 1812, are interconnected using various busses, and can be mounted on a common motherboard or in other manners as appropriate. The processor 1802 can process instructions for execution within the computing device 1800, including instructions stored in the memory 1804 or on the storage device 1806 to display graphical information for a GUI on an external input/output device, such as a display 1816 coupled to the high-speed interface 1808.

In other implementations, multiple processors and/or multiple buses can be used, as appropriate, along with multiple memories and types of memory. Also, multiple computing devices can be connected, with each device providing portions of the necessary operations (e.g., as a server bank, a group of blade servers, or a multi-processor system).

[00182] The memory 1804 stores information within the computing device 1800. In some implementations, the memory 1804 is a volatile memory unit or units. In some implementations, the memory 1804 is a non-volatile memory unit or units. The memory 1804 can also be another form of computer-readable medium, such as a magnetic or optical disk.

[00183] The storage device 1806 is capable of providing mass storage for the computing device

1800. In some implementations, the storage device 1806 can be or contain a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid state memory device, or an array of devices, including devices in a storage area network or other configurations. A computer program product can be tangibly embodied in an information carrier. The computer program product can also contain instructions that, when executed, perform one or more methods, such as those described above. The computer program product can also be tangibly embodied in a computer- or machine-readable medium, such as the memory 1804, the storage device 1806, or memory on the processor 1802.

[00184] The high-speed interface 1808 manages bandwidth-intensive operations for the computing device 1800, while the low-speed interface 1812 manages lower bandwidth-intensive operations. Such allocation of functions is exemplary only. In some implementations, the high-speed interface 1808 is coupled to the memory 1804, the display 1816 (e.g., through a graphics processor or accelerator), and to the high-speed expansion ports 1810, which can accept various expansion cards (not shown). In the implementation, the low-speed interface 1812 is coupled to the storage device 1806 and the low-speed expansion port 1814. The low-speed expansion port 1814, which can include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet) can be coupled to one or more input/output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, e.g., through a network adapter.

[00185] The computing device 1800 can be implemented in a number of different forms, as shown in the figure. For example, it can be implemented as a standard server 1820, or multiple times in a group of such servers. In addition, it can be implemented in a personal computer such as a laptop computer 1822. It can also be implemented as part of a rack server system 1824. Alternatively, components from the computing device 1800 can be combined with other components in a mobile device (not shown), such as a mobile computing device 1850. Each of such devices can contain one or more of the computing device 1800 and the mobile computing device 1850, and an entire system can be made up of multiple computing devices communicating with each other.

[00186] The mobile computing device 1850 includes a processor 1852, a memory 1864, an input/output device such as a display 1854, a communication interface 1866, and a transceiver 1868, among other components. The mobile computing device 1850 can also be provided with a storage device, such as a micro-drive or other device, to provide additional storage. Each of the processor 1852, the memory 1864, the display 1854, the communication interface 1866, and the transceiver 1868, are interconnected using various buses, and several of the components can be mounted on a common motherboard or in other manners as appropriate.

[00187] The processor 1852 can execute instructions within the mobile computing device 1850, including instructions stored in the memory 1864. The processor 1852 can be implemented as a chipset of chips that include separate and multiple analog and digital processors. The processor 1852 can provide, for example, for coordination of the other components of the mobile computing device 1850, such as control of user interfaces, applications run by the mobile computing device 1850, and wireless communication by the mobile computing device 1850.

[00188] The processor 1852 can communicate with a user through a control interface 1858 and a display interface 1856 coupled to the display 1854. The display 1854 can be, for example, a TFT (Thin- Film-Transistor Liquid Crystal Display) display or an OLED (Organic Light Emitting Diode) display, or other appropriate display technology. The display interface 1856 can comprise appropriate circuitry for driving the display 1854 to present graphical and other information to a user. The control interface 1858 can receive commands from a user and convert them for submission to the processor 1852. In addition, an external interface 1862 can provide communication with the processor 1852, so as to enable near area communication of the mobile computing device 1850 with other devices. The external interface 1862 can provide, for example, for wired communication in some implementations, or for wireless communication in other implementations, and multiple interfaces can also be used.

[00189] The memory 1864 stores information within the mobile computing device 1850. The memory 1864 can be implemented as one or more of a computer-readable medium or media, a volatile memory unit or units, or a non-volatile memory unit or units. An expansion memory 1874 can also be provided and connected to the mobile computing device 1850 through an expansion interface 1872, which can include, for example, a SIMM (Single In Line Memory Module) card interface. The expansion memory 1874 can provide extra storage space for the mobile computing device 1850, or can also store applications or other information for the mobile computing device 1850. Specifically, the expansion memory 1874 can include instructions to carry out or supplement the processes described above, and can include secure information also. Thus, for example, the expansion memory 1874 can be provide as a security module for the mobile computing device 1850, and can be programmed with instructions that permit secure use of the mobile computing device 1850. In addition, secure applications can be provided via the SIMM cards, along with additional information, such as placing identifying information on the SIMM card in a non-hackable manner.

[00190] The memory can include, for example, flash memory and/or NVRAM memory (nonvolatile random access memory), as discussed below. In some implementations, a computer program product is tangibly embodied in an information carrier. The computer program product contains instructions that, when executed, perform one or more methods, such as those described above. The computer program product can be a computer- or machine-readable medium, such as the memory 1864, the expansion memory 1874, or memory on the processor 1852. In some implementations, the computer program product can be received in a propagated signal, for example, over the transceiver 1868 or the external interface 1862.

[00191] The mobile computing device 1850 can communicate wirelessly through the communication interface 1866, which can include digital signal processing circuitry where necessary. The communication interface 1866 can provide for communications under various modes or protocols, such as GSM voice calls (Global System for Mobile communications), SMS (Short Message Service), EMS (Enhanced Messaging Service), or MMS messaging (Multimedia Messaging Service), CDMA (code division multiple access), TDMA (time division multiple access), PDC (Personal Digital Cellular), WCDMA (Wideband Code Division Multiple Access), CDMA2000, or GPRS (General Packet Radio Service), among others. Such communication can occur, for example, through the transceiver 1868 using a radio-frequency. In addition, short-range communication can occur, such as using a Bluetooth, WiFi, or other such transceiver (not shown). In addition, a GPS (Global Positioning System) receiver module 1870 can provide additional navigation- and location-related wireless data to the mobile computing device 1850, which can be used as appropriate by applications running on the mobile computing device 1850.

[00192] The mobile computing device 1850 can also communicate audibly using an audio codec

1860, which can receive spoken information from a user and convert it to usable digital information. The audio codec 1860 can likewise generate audible sound for a user, such as through a speaker, e.g., in a handset of the mobile computing device 1850. Such sound can include sound from voice telephone calls, can include recorded sound (e.g., voice messages, music fries, etc.) and can also include sound generated by applications operating on the mobile computing device 1850.

[00193] The mobile computing device 1850 can be implemented in a number of different forms, as shown in the figure. For example, it can be implemented as a cellular telephone 1880. It can also be implemented as part of a smart-phone 1882, personal digital assistant, or other similar mobile device. [00194] Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[00195] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms machine-readable medium and computer-readable medium refer to any computer program product, apparatus and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term machine-readable signal refers to any signal used to provide machine instructions and or data to a programmable processor.

[00196] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[00197] The systems and techniques described here can be implemented in a computing system that includes a backend component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a frontend component (e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.

[00198] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client- server relationship to each other.

[00199] FIG. 19 shows a modified version of the example air bed system of

FIG. 1 that is configured to provide outside stimulus to a person 111 positioned on the bed 112. Abed system 101 as depicted in FIG 19 has substantially the same components and operates in substantially the same manner as the air bed system 100 described with respect to FIG 1. One modification from the air bed system 100 is that bed system 101 includes abed 113 having a single air chamber 114 rather than first and second air chambers 114 A and 114B of bed 112 as described with respect to the air bed system 100 of FIG 1. Other than having a single air chamber 114, the bed 113 functions in substantially the same manner as the bed 112 of FIG. 1 and therefore descriptions of the functions of the bed 112 of FIG 1 (and bed 302 of FIG. 3) are equally applicable to the bed 113 of FIG. 19.

[00200] Components of the bed system 101 having the same reference numerals as those components described with respect to FIGs. 1 and 2 have the same functions in the bed system 101 as they do with respect to the air bed system 100. This includes the pump 120, the remote control 122, the control box 124, and the air chamber 114. As previously described, the remote control 122 can communicate with the control box 124 through wired or wireless communications and the remote control can be a dedicated controller for the bed system 101 or can be a computer, tablet, smart phone, or other device in wired or wireless communication with the control box 124.

[00201] Although depicted and described as an air bed system, the functions for detecting biometric parameters for the person 111 and for introducing outside stimulus to the sleep environment of the person 111 described below are generally equally applicable to non-airbed sleep systems, such as standard beds that use non-air mattresses and adjustable (articulable) beds.

[00202] The bed system 101 includes a transducer 115 for introducing outside stimulus to the sleep environment of the person 111. The transducer 115 is in wired or wireless communication with the control box 124 for receiving control signals for introducing and adjusting outside stimulus to the sleep environment. Although depicted as a single transducer in FIG. 19, the transducer 115 can be implemented as multiple transducers of the same type or multiple transducers of different types in other implementations. Furthermore, although shown and described as being controlled by control box 124 with respect to FIG. 19, the transducer 115 can be controlled by a separate control unit, such as an additional motherboard, a daughterboard, the remote control 122, or a different computing device. In some implementations, the transducer 115 is incorporated with control circuitry into a single housing. The transducer 115 can be affixed to a portion of the bed 113, positioned under the bed 113, positioned near the bed 113, or positioned between other components of the bed 113.

[00203] The transducer 115 can take many forms. For example, the transducer 115 can be implemented as one or more low frequency speakers, such as subwoofers. As another example, the transducer 115 can be implemented as one or more fluid hoses through which fluid is pumped at regular intervals to simulate a heartbeat and/or respiration. In some implementations, the transducer 115 can be implemented as one or more mechanical motors configured to move portions of the sleep surface on which the person is positioned or to move other components of the person’s sleep environment to simulate a heartbeat and/or respiration. For example, the transducer 115 can be implemented using one or more articulation motors for articulating (raising and lowering) portions of the sleep surface of the bed 113 as described with respect to FIG. 3. As another example, the transducer 115 can be implemented as one or more motors for imparting vibration to the sleep surface of the bed 113.

[00204] In some implementations, the pump 120 can function as the transducer 115. For example, the pump 120 can slightly inflate and deflate the air chamber 114 to simulate respiration and or a heartbeat. In some implementations, the transducer 115 can be implemented as an additional pump that inflates and deflates a secondary air chamber/pad to simulate respiration and/or a heartbeat. In some implementations, the transducer 115 can be implemented as an additional pump that inflates and deflates a water, other liquid, or gel filled chamber/pad to simulate respiration and or a heartbeat. In some implementations, the transducer 115 is implemented as a combination of any of the above described transducers.

[00205] Turning to the example in which the transducer 115 is implemented as a speaker, the speaker can be mounted to a frame of the bed 113, positioned under the air chamber 114 (or under a mattress of the bed 113 in a non-air bed implementation), affixed to a different part of the bed 113, or positioned near the person Ill’s head. As another example, the speaker can be positioned within the pump 120 or affixed to the pump 120. In some implementations, the transducer 115 is implemented as one or more low frequency subwoofer speakers. In such an implementation, the person 111 can both hear components of the simulated heartbeat and/or respiration produced by the speaker and also feel low frequency signals produced by the speaker.

[00206] In some implementations, the speaker is driven by the control box 124. For example, the control box 124 can have an audio output that provides an audio signal to the speaker. In some implementations, the transducer 115 is implemented as a combination of a signal generator, an amplifier, and a speaker. For example, the signal generator can receive instructions from the control box 124 to simulate a heartbeat and/or respiration. The signal generator can generate an audio signal which is conveyed to the amplifier. The amplifier amplifies the audio signal and provides the amplified audio signal to the speaker. In some implementations, the signal generator, amplifier, and speaker are combined into a single housing. The signal generator and amplifier can be powered by a separate power supply or by a power supply that is used to power the control box 124, the pump 120, or both. As mentioned above, in some implementations, the signal generator is controlled by a computing device other than the control box 124. For example, the signal generator can be in wireless communication with a smartphone, such as the remote control 122 implemented as a smart phone

[00207] The audio that is delivered by the speaker to simulate a heartbeat and/or respiration can take numerous different forms. For example, the control box 124 can access internal or external memory storing audio files, such as wav or mp3 files, that can include audio of a real or simulated heartbeat, real or simulated respiration, or a combination of real or simulated heartbeat and respiration. The memory can store multiple audio files with each audio file having different rates for the simulated heartbeat and/or respiration, different intensities of simulated heartbeat and/or respiration, or different volumes of simulated heartbeat and/or respiration. For example, the control box 124 can select an audio file having an appropriate heart rate and respiration rate for transitioning the person 111 from a first sleep state to a second sleep state (e.g., from N2 to N3 sleep) and play the selected audio file through the speaker. In some scenarios, the system may also replicate the person’s unique heart beat (e.g., as measured and recorded using the bed sensor(s)) and branch off from that starting point with adjustments to the simulated heartbeat and/or respiration. The person 111 will be able to both hear and feel the simulated heartbeat and respiration by both hearing the audio and feeling low frequency signals produced by the speaker. In some implementations, a first speaker is used to simulate heartbeat while a second speaker is used to simulate respiration. In such cases, separate audio files for each simulated external stimulus would be used. In some implementations the speaker is used to simulate the heartbeat or respiration while a different type of transducer is used to simulate the other (or additional) external stimulus. For example, a speaker playing an audio file can be used to simulate a heartbeat while gentle inflation and deflation of the air chamber 114 is used to simulate respiration. In some implementations, the simulated heartbeat and or respiration may be sensed by the person 11 as a subliminal sensation that is not physically felt but that is still able to impact the body function of the person.

[00208] In some implementations, in place of or in addition to using stored audio fdes to simulate heartbeat and/or respiration, the control box 124 can generate audio signals to play through the speaker to simulate heartbeat and or respiration. For example, the control box 124 can include a signal generator that generates sounds to simulate heartbeat and/or respiration by combining a wave with a noise. For example, a white noise combined with a sinusoidal wave, a square wave, or a triangle wave can be used to simulate heartbeat and/or respiration. Types of waves that can be used to generate the simulated heartbeat and/or respiration include sine waves, square waves, triangle waves, sawtooth waves, or trapezoidal waves. Types of generated noise that can be combined with one or more waves to generate the simulated heartbeat and/or respiration include white noise, pink noise, brown noise, plucked sounds (e.g., plucked string instruments), or TPDF (triangular probability distribution function) noise. In some implementations, recorded audio is combined with one or more waves to produce the simulated heartbeat and/or respiration. Such recorded audio can include rainfall sounds, crackling fire, running water, or the like.

[00209] In some implementations, the sleep system allows the person (e.g., using the remote control 122) to select preferred sounds for use as the simulated heartbeat and/or respiration. For example, the user can select specific audio files, select to use real, recorded heartbeat and respiration sounds for the simulated heartbeat and or respiration, use pre-recorded simulated sounds, or use sounds generated by the control box 124 as described above. The system may allow the user to select from among specific sounds/noises and wave forms that can be combined to produce the simulated heartbeat and/or respiration as described above. The user can also adjust intensity settings (e.g., volume) for the simulated heartbeat and/or respiration or adjust rates for the simulated heartbeat and/or respiration using a user interface. The user can also adjust the amplitudes of waves used to generate the simulated heartbeat and or respiration. [00210] As previously mentioned, in some implementations, the transducer 115 can be implemented as one or more fluid hoses through which fluid is pumped at regular intervals to simulate a heartbeat and/or respiration. For example, one or more hoses can be used to simulate a heartbeat while a different set of one or more hoses can be used to simulate respiration. Water or another fluid is pumped through the hoses at regular intervals and at varying intensity to simulate heartbeat and/or respiration. The rate at which the fluid is pumped through the one or more hoses is adjusted to help transition the person 111 between sleep states. In some implementations, the intensity/force with which the fluid is pumped through the hoses is adjusted to better simulate a heartbeat and/or respiration.

[00211] In some implementations, the transducer 115 can be implemented as one or more mechanical motors configured to move portions of the sleep surface on which the person 111 is positioned or to move other components of the person's sleep environment to simulate a heartbeat and or respiration. For example, the transducer 115 can be implemented using one or more articulation motors for articulating (raising and lowering) portions of the sleep surface of the bed 113 as described with respect to FIG. 3. One or more portions of the sleep surface can be articulated art regular intervals so simulate heartbeat and/or respiration. For example, a gentle and subtle lowering and raising of an upper body portion of the sleep surface can simulate respiration of a co-sleeping person. As another example, a slight adjustment of the bed at a regular interval can simulate a heartbeat.

[00212] As another example, the transducer 115 can be implemented as one or more motors for imparting vibration to the sleep surface of the bed 113. Slight vibration of the sleep surface at regular intervals can be used to simulate heartbeat and/or respiration. As another example, one or more motors can shift all or a portion of the sleep surface horizontally to simulate heartbeat and/or respiration.

[00213] In some implementations, the pump 120 can function as the transducer 115. For example, the pump 120 can slightly inflate and deflate the air chamber 114 to simulate respiration and or a heartbeat. Long gentle periods of inflation and deflation can simulate respiration of a co-sleeping person, for example, while a different transducer type is used to simulate a heartbeat. As another example, quick, subtle inflation and deflation of the air chamber 114 can be used to simulate a heartbeat. In some implementations, the transducer 115 can be implemented as an additional pump that inflates and deflates a secondary air chamber/pad to simulate respiration and/or a heartbeat. In some implementations, the transducer 115 can be implemented as an additional pump that inflates and deflates a water, other liquid, or gel filled chamber/pad to simulate respiration and/or a heartbeat. In some implementations, the transducer 115 is implemented as a combination of any of the above described transducers.

[00214] In some implementations, the bed system 101 includes multiple transducers for producing simulated heartbeat and or respiration as described above and the user can select one or more types of transducers that are used to produce the simulated heartbeat and/or respiration. For example, the user can select to have audio played through one or more speakers to simulate a heartbeat and/or respiration. The user can later switch this preference to have the system use inflation deflation of the air chamber 114 to simulate respiration while using fluid pumped through hoses to create the simulated heartbeat.

[00215] The bed system 101 of FIG. 19 can track sleep parameters for the person 111 including bed presence, sleep state of the person 111, movement of the person 111, and biometric signals of the person 111 as previously described, such as with respect to FIG. 3. Biometric signals can include the person’s heart rate and respiration rate. For example, sensors located within the air chamber 114, the pump 120, or both can sense fluctuations of pressure within the air chamber 114. The fluctuations in pressure can then be processed (e.g., by control box 124) to determine the heart rate and respiration rate for the person 111. In another example, as previously described, the bed 113 can include one or more pressure sensitive pads or surface portions that are operable to detect movement, including user presence, user motion, respiration, and heart rate.

[00216] In some implementations, when detecting sleep parameters for the user, such as heart rate and respiration rate, the control box 124 will filter out signals caused by a simulated heartbeat and/or respiration provided by the transducer 115. For example, the control box 124 is aware of the rates of the simulated heartbeat and or respiration generated by the transducer 115 and can therefore filter the simulated heartbeat and/or respiration detected by sensors to separate out the simulated heartbeat and or respiration from the actual heartbeat and or respiration of the person 111. Filtering of this noise created by the simulated heartbeat and or respiration allows the control box 124 to more accurately determine the actual hear rate and respiration rate of the person 111.

[00217] In some implementations, in addition to or in place of filtering out signals caused by a simulated heartbeat and or respiration provided by the transducer 115, other techniques can be used to ensure that the simulated heartbeat and/or respiration does not interfere with detection of sleep parameters for the user (or measures can be taken to reduce, without eliminating, the interference of the simulated heartbeat and/or respiration on detection of sleep parameters for the user). For example, the system can stop collecting sleep parameters of the user (or the user’s sleeping environment) for periods of time during which a simulated heartbeat and/or respiration (or other stimulus) is being introduced to the sleep environment.

[00218] The controller 124 (or another computing device in communication with the controller

124 and/or transducer 115) can use the detected heart rate and respiration rate for the person 111 to determine a sleep state for the person. In some implementations, the bed system 101 does not begin detecting heart rate and respiration rate of the person 111 until user presence in the bed is detected. In some implementations, the sleep state of the person can be determined as awake or asleep. In some implementations, various asleep states can be determined based on the measured heart rate and or respiration rate. For example, the control box 124 can determine if the person 111 is in a non-rapid eye movement (NREM) or rapid eye movement (REM) sleep stage. The control box 124 can also use the determined heart rate and/or respiration rate to identity which stage of NREM sleep the person 111 is in (Nl, N2, or N3). In a preferred embodiment, the control box 124 uses the determined heart rate and/or respiration rate of the person 111 to determine if the user is awake, in stage Nl sleep, stage N2 sleep, stage N3 sleep, or REM sleep. In some implementations, other factors are measured and used to determine a sleep state of the person, such as temperature, movement, position, eye movement, etc.

[00219] The control box 124 can then provide a simulated heartbeat and or respiration using one or more transducers 115 (as described above) to help the person 111 either transition to a different sleep state or maintain the current sleep state for a period of time. The control box 124 can do so by determining rates for the simulated heartbeat and simulated respiration for transitioning the person 111 to a different sleep state or to help the person maintain the current sleep state. For example, if the person 111 is detected as being in bed but awake, the control box 124 simulates a heartbeat and respiration having rates that are slower than the current heart rate and respiration rate of the person 111 to help transition the person 111 to N 1 sleep. As previously described, the person Ill’s body will interpret the simulated heartbeat and respiration as the heartbeat and respiration of a co-sleeping person which will cause the heart rate and respiration rate person 111 to gradually synchronize (either partially or fully) with the simulated heart and respiration rates.

[00220] Continuing with this example, the control box 124 continues to monitor the heart rate and respiration rate of the person 111 and regularly determines the sleep state of the person 111 (e.g., every second). Once it is detected that the person 111 has reached N1 sleep, the control box 124 continues to provide the simulated heartbeat and respiration to help the person 111 maintain the N1 sleep stage. This can last, for example, for one to five minutes. The control box 124 can then reduce the rate of the simulated heartbeat and respiration (either gradually, e.g., over the course of 30 seconds or a minute, or abruptly) to help the person 111 transition to N2 sleep. Once it is detected that the person 111 has reached N2 sleep, the control box 124 continues to provide the simulated heartbeat and respiration to help the person 111 maintain the N2 sleep stage for an ideal length of time. For example, the control box 124 can maintain the heart rate and respiration rate for stage N2 sleep for 25 minutes for an initial sleep cycle and progressively longer periods for subsequent sleep cycles (e.g., 25 to 45 minutes). The control box 124 continues to monitor the heart rate and respiration rate of the person 111 to determine if the person 111 is remaining in the N2 stage or has transitioned to a new sleep stage. The simulated heart rate and respiration rate are adjusted by the control box 124 if it is detected that the person 111 has transitioned to a different sleep stage.

[00221] After the stage N2 sleep has been maintained for a specified time period, the control box

124 can then reduce the rate of the simulated heartbeat and respiration (either gradually, e.g., over the course of 30 seconds or a minute, or abruptly) to help the person 111 transition to N3 sleep. Once it is detected that the person 111 has reached N3 sleep, the control box 124 continues to provide the simulated heartbeat and respiration to help the person 111 maintain the N3 sleep stage for an ideal length of time.

This can be, for example, 20-45 minutes. The control box 124 continues to monitor the heart rate and respiration rate of the person 111 to determine if the person 111 is remaining in the N3 stage or has transitioned to a new sleep stage. The simulated heart rate and respiration rate are adjusted by the control box 124 if it is detected that the person 111 has transitioned to a different sleep stage.

[00222] After the stage N3 sleep has been maintained for a specified time period, the control box

124 can then adjust the rate of the simulated heartbeat and respiration (either gradually, e.g., over the course of 30 seconds or a minute, or abruptly) to help the person 111 transition to REM sleep. Once it is detected that the person 111 has reached REM sleep, the control box 124 continues to provide the simulated heartbeat and respiration to help the person 111 maintain the REM sleep stage for an ideal length of time. This can be, for example, 10 minutes for a first sleep cycle and up to an hour for later sleep cycles within a particular sleep session. After REM sleep has been maintained for a specified time period, the control box 124 can then adjust the rate of the simulated heartbeat and respiration (either gradually, e.g., over the course of 30 seconds or a minute, or abruptly) to help the person 111 transition to stage N1 or stage N2 sleep to begin a new sleep cycle. In some implementations, the control box 124 will adjust the simulated heartbeat and respiration rates such that each sleep cycle lasts approximately 90 minutes. If it is detected that the person 111 has transitioned to a sleep state outside of the normal cycle (e.g., from N2 back to N1 or from REM to awake), the control box 124 adjusts the simulated heartbeat and respiration rates to help the person 111 to transition back into a traditional sleep cycle.

[00223] In some situations, for example, when the person 111 does not have time to have a full eight hour sleep session, the control box 124 can adjust the simulated heartbeat and respiration rates to more quickly transition the person 111 to the most restful sleep states (N3 and/or REM sleep) and/or maintain the most restful sleep states for longer periods. For example, the control box 124 can adjust the simulated heartbeat and respiration rates as described above to transition the person 111 from N1 to N2 sleep after only a brief period (e.g., one minute) and then transition from stage N2 to stage N3 after a shortened period of, for example, 10 to 15 minutes. The control box 124 can then either maintain a normal length N3 stage or shorten the N3 stage to help the person 111 more quickly achieve REM sleep. In some implementations, the control box 124 will control the simulated heartbeat and respiration rates to help the person 111 remain in stage N3 sleep and or REM sleep for longer than normal when the user has a limited amount of time to sleep. In some implementations, the user enters a duration for a shortened sleep session (or an end/awake time for the shortened sleep session) and the control box 124 will control the duration of each period for the simulated heartbeat and respiration rates based on the amount of time for the shortened sleep session. In some implementations, the user can specify durations for specific sleep periods for a regular or shortened sleep session.

[00224] In some implementations, the simulated heartbeat and or respiration are only provided at certain times of day. For example, user bed presence detected at 10:00am can be interpreted as a person sitting or resting on the bed (for example, while reading or watching TV), while detected user bed presence between the hours of 9:00pm and 8:00am indicates that the user is intending to sleep and therefore detected user bed presence will cause the control box 124 to begin simulating heartbeat and or respiration if user bed presence is detected during those time periods. Therefore, the control box 124 is configured to only simulate heartbeat and/or respiration when user bed presence is detected within a specified time period. In some implementations, the user sets the specified time period. The user can also be permitted to override the set time period to cause the bed system 101 to simulate heartbeat and/or respiration outside of the time period, such as when the user is taking a nap.

[00225] The control box 124 can also adjust the intensity of the simulated heartbeat and/or respiration. This can include adjusting the volume of audio used to simulate the heartbeat and/or respiration, adjusting the speed or degree of movements used to simulate heartbeat and/or respiration, or adjusting the amount or speed of pressure changes within the air chamber 114 used to simulate heartbeat and/or respiration. For example, the control box 124 can adjust the intensity of the heartbeat and or respiration over time to determine a most effective intensity for best helping the person 111 transition between sleep stages without waking the person 111. The control box 124 can adjust the intensity over time to determine intensities for the simulated heartbeat and or respiration that work best for the particular person 111. Similarly, in situations in which the simulated heartbeat and/or respiration are generated using a wave, the amplitude of the wave can be adjusted over time in a similar fashion to allow the control box 124 to determine wave amplitudes for the simulated heartbeat and/or respiration that work best for the particular person 111.

[00226] The control box 124 can similarly adjust the simulated heartbeat and respiration rates for each sleep stage over time to identity rates that best help the specific person 111 transition to each sleep stage. The control box 124 can track which simulated heartbeat and respiration rates achieve the most efficient sleep stage transitions for the person 111 by trying different variations in the simulated heartbeat and respiration rates until an ideal heartbeat rate and respiration rate for each sleep stage for the person 111 is identified. The ideal simulated heartbeat and respiration rates can be identified as those that help the person 111 most quickly transition to each sleep stage, or rates that help the person 111 transition to a particular sleep stage the most frequently. In other words, simulated heartbeat and respiration rates that help the person 111 transition to a particular sleep stage successfully the greatest percentage of the time can be identified as ideal simulated heartbeat and respiration rates for that sleep stage for the person 111 by the control box 124. [00227] In some implementations, the control box 124 can track and record biometric information

(including heart rate and respiration rate) for the person 111, movement of the person 111, and other sleep parameters over time (e.g., a period of days, weeks, or months). The control box 124 can analyze the collected sleep parameters to better determine when the person 111 is in a particular sleep state. For example, the control box 124 can monitor the person’s heart rate and respiration rate over the course of several sleep sessions to identify heart rate and respiration rate ranges that are indicative of each sleep state for the person 111. The control box 124 can also monitor biometric information, movement, and other sleep parameters to determine the effectiveness of the provided simulated heartbeat and respiration rates on guiding the person 111 between sleep states and through sleep cycles. For example, detected user movement can be indicative of the user being awake or in an N1 sleep stage. The control box 124 can use this information collected over time to adjust the simulated heartbeat and respiration rates to better guide the person 111 between sleep states and through sleep cycles.

[00228] In some implementations, the control box 124 can use simulated heartbeat and respiration rates to wake the person 111. For example, the person 111 can use the remote control 122 (e.g., the user’s smart phone) to set a wakeup time. The wakeup time can be set to be the same for every day, every weekday, or a one-time wakeup time. Prior to the set wake up time for the person 111, the control box 124 can slowly increase the rates of the simulated heartbeat and respiration to gently wake the person up rather than abruptly wake the person. The ideal awake heart and respiration rates can be determined based on historically detected and recorded heart rate and/or respiration rate information collected for the person 111. In addition to increasing the simulated heartbeat and respiration rates to gently wake the person 111, the control box 124 (or another computing device in communication with the control box 124) can adjust other aspects of the person’s sleep environment to gently wake the person. For example, the control box 124 can gradually adjust the lights in the room from off to a fully or partially on state. The control box 124 can also provide audio (e.g., in addition to audio for providing the simulated heartbeat and respiration rates) that can gradually increase in volume to gently wake the person. As another example, the control box 124 can adjust the temperature of the person’s sleep environment. Such additional external stimuli can be provided in conjunction with the change to the simulated heartbeat and respiration rates to gently wake the person by the specified wakeup time. [00229] FIG. 20 shows an alternate version of the example bed system of

FIG. 19 in which the bed 112 is configured to support two persons and provide individual outside stimulus to each person. Abed system 103 as depicted in FIG 19 has substantially the same components and operates in substantially the same manner as the air bed system 100 described with respect to FIG. 1. This includes having two air chambers 114 A and 114B which are inflated and deflated by pump 120 in the same manner as described with respect to FIG. 1. Components of the bed system 103 having the same reference numerals as those components described with respect to FIGs. 1 and 2 have the same functions in the bed system 103 as they do with respect to the air bed system 100. Components of the bed system 103 having the same reference numerals as those components described with respect to FIG. 19 have the same functions in the bed system 103 as they do with respect to the bed system 101. The main distinction between the bed system 103 of FIG. 20 and the bed system 101 of FIG. 19 is that the bed system 102 has two air chambers 114A and 114B for supporting to occupants and includes separate transducers 115a and 115b for providing external stimuli, including simulated heartbeat and respiration, separately for each of the two bed occupants. While the bed system 103 is described as being an air bed having air chambers 114A and 114B, the descriptions of providing different simulated heartbeat and/or respiration rates for two different bed occupants is equally applicable to non-airbeds, such as standard mattresses or adjustable beds without air chambers.

[00230] The transducers 115a and 115b operate in the same manner as the transducer 115 described with respect to FIG. 19, including that the transducers 115a and 115b can each be implemented as one or more transducers, including multiple transducers of different types and multiple transducers of the same type. The description of such transducers and how they operate to provide external stimuli, including simulated heartbeat and respiration rates will not be repeated here.

[00231] The control box 124 can control each of the transducers 115a and 115b to provide different simulated heartbeat and respiration rates to each of the two bed occupants to guide each occupant to transition between sleep states and through multiple sleep cycles as described above with respect to FIG. 19. As described above, simulated heartbeat and respiration rates can be adjusted to be particular to each specific person. The simulated heartbeat and respiration rates are also based on a current detected sleep state of each person. The control box 124 therefore provides different simulated heartbeat and respiration rates for each of the two occupants of the bed 112 based on measured biometric and other sleep parameters for each person, detected sleep states for each person, and preferences for each person, including preferences entered by each user using a user interface, such as one provided by the remote control 122. [00232] In some implementations, the control box 124 will operate only one of the transducers 115a and 115b based on detected bed occupancy of the sides of the bed 112. For example, if the control box 124 determines that a occupant is in the bed, positioned on the sleep surface over air chamber 114Abut that there is no occupant in the bed over air chamber 114B, the control box 124 can control transducer 115a to provide simulated a heartbeat and respiration for the occupant on the left side of the bed but will not provide a simulated heartbeat and respiration for the right side of the bed using the transducer 115b unless and until a person is detected as being on the sleep surface positioned above the air chamber 114B.

[00233] The bed system 103 can allow each user to specify that different types of transducers are used to provide the simulated heartbeat and/or respiration. For example, a first user can elect to have a speaker driven by the control box 124 to provide the simulated heartbeat and or respiration for that person’s side of the bed while a second user elects to have inflation and deflation of the air chamber 114B provide the simulated heartbeat and or respiration for their side of the bed. This information can be provided using a user interface of the remote control 122.

[00234] The bed system 103 can also reduce or eliminate cross talk between the two sides of the bed 112 to prevent an occupant on the first side of the bed from having their heartbeat and/or respiration synchronize with the simulated heartbeat and/or respiration intended for the other occupant, or from synchronizing with the heartbeat and/or respiration of the other occupant. For example, chamber and/or foam separation between the two sides could be implemented to reduce or eliminate cross talk. Use of dampening materials as a barrier could also be beneficially employed to reduce or eliminate cross talk.

Such reduction or elimination of cross talk will allow the first occupant’s heartbeat and or respiration to more efficiently synchronize with the simulated heartbeat and/or respiration generated by the system that is intended for the first occupant.

[00235] FIG. 21 is a swimlane diagram of an example process 2100 for introducing a stimulus to a sleep environment. For clarity, the process 2100 is being described with reference to components of the bed system 100 depicted in FIGs. 19 and 20. In the example depicted, a sensors 2102 for sensing sleep parameters (including biometric parameters) of a person, a controller 2104 (such as the control box 124 of FIGs. 1, 19, and 20) and a transducer 2106 (such as the transducer 115, transducer 115a, or transducer 115b of FIG. s 19 and 20) perform the example process. However, other system or systems can be used to perform the same or a similar process.

[00236] The process 2100 can begin, for example, with sensors 2102 sensing motion on a sleep surface (2108). The motion can be detected by one or more sensors in the manners described above. The controller 2104 analyzes the sensed motion to determine that a user is positioned on the sleep surface (2110). The sensors 2102 sense additional motion on the sleep surface (2112). In response to determining user occupancy of the bed, the controller 2114 analyzes the additional motion sensed by the sensors 2102 to determine a sleep state of the user (2114). Based on the determined sleep state of the user, the controller 2104 generates a simulated heartbeat and respiration to guide the user to a subsequent sleep state (2116). The controller 2104 controls the transducer 2106 to provide the simulated heartbeat and respiration to the user. The sensors 2102 sense additional motion on the sleep surface (2120). The controller 2104 analyzes the additional sensed motion to determine a new sleep state for the user (2122). Based on the determined sleep state of the user, the controller 2104 may adjust the rates of the simulated heartbeat and respiration to transition the user to a different sleep state.

[00237] In some implementations, the controller 2104 can request information from the user about what sleep state or phase of sleep the user desires to improve. The controller 2104 can present a notification, message, and/or alert at a user device of the user, such as a mobile device (e.g., smartphone, mobile phone, wearable device, laptop, tablet), asking the user what sleep state they would like to focus on and/or how they would like to optimize their sleep. The user can select, for example, to target REM,

NREM, or one or more other sleep states. The user can also provide other types of input indicating how the user wants to optimize their sleep, as described below. The controller 210 can then generate a simulated heartbeat and respiration (2116) to guide the user to improve the user-selected sleep state.

[00238] As an illustrative example, the user can provide input to the controller 2104 indicating that the next day the user has a big exam. Using this information, the controller 2104 can generate a simulated heartbeat and or respiration (2116) that can guide the user to a sleep state that focuses on cognitive repair. That generated heartbeat and/or respiration can then be executed during the user’s sleep session to optimize the user’s sleep for their upcoming performance on the exam. As another example, the user can provide input to the controller 2104 indicating that the next day (or any other amount of time) the user will be running a marathon. Accordingly, the controller 2104 can generate a simulated heartbeat and/or respiration (2116) that can guide the user to a sleep state that focuses on physical repair. The generated heartbeat and/or respiration can then be executed during the user’s sleep session to optimize the user’s sleep for their upcoming marathon performance. The user may also provide one or more other types of input to the controller 2104 to personalize sleep optimization for the user.