Diffuse-type oxygen supply control method based on personnel sleep cycle
By combining a piezoelectric sensor array and an XGBoost model, the oxygen concentration in the sleep chamber can be monitored and adjusted in real time, solving the problem of oxygen supply in the sleep chamber not adapting to the sleep cycle in existing technologies and improving sleep quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHONGQING UNIV
- Filing Date
- 2026-01-07
- Publication Date
- 2026-05-08
AI Technical Summary
Existing sleep pods lack a real-time, accurate method for controlling oxygen supply based on the human sleep cycle, resulting in the inability to adjust oxygen supply according to different sleep stages, thus affecting sleep quality.
A piezoelectric sensor array is used to monitor physiological signals in real time, the XGBoost model is used to predict sleep cycles, and dynamic closed-loop control is achieved through the oxygen supply terminal to ensure that the oxygen concentration meets the needs of the current sleep stage.
It enables real-time and accurate monitoring of the human body's sleep state and scientific adjustment of oxygen supply, improving sleep quality throughout the night and avoiding the discomfort of traditional oxygen supply methods.
Smart Images

Figure CN121987441A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of health, specifically a diffuse oxygen supply control method based on a person's sleep cycle. Background Technology
[0002] Sleep is the most basic physiological behavior of the human body, and one-third of a person's life is spent sleeping. Good sleep helps relieve fatigue, promotes physical health, improves work and study efficiency, and reduces the risk of chronic diseases. Therefore, maintaining good sleep is extremely important for personal development. However, in today's fast-paced and high-pressure society, nearly 60% of people consider their sleep quality to be "unsatisfactory," experiencing various sleep problems or even sleep disorders. Insomnia, shallow sleep, and insufficient sleep have become a "modern disease" affecting the health of 300 million people. Oxygen supply has a significant impact on overall sleep quality, and adequate oxygen supply is key to ensuring smooth breathing during sleep. Insufficient oxygen content in the air may lead to sleep interruption, especially in cases of sleep-disordered breathing. Changes in oxygen levels also affect the sleep cycle, namely the light sleep zone, deep sleep zone, and REM sleep zone. Hypoxia (oxygen concentration in the air <18%) may reduce the proportion of deep sleep and REM sleep, these two sleep stages are important periods for body repair and memory storage, and a reduction in the proportion of deep sleep and REM sleep directly affects sleep quality.
[0003] Currently, many people hope to improve their sleep quality by sleeping in a small environmental chamber (sleep capsule). However, there is a lack of a real-time, non-contact oxygen supply control method based on the human sleep cycle for controlling the oxygen environment in sleep capsules. This method would allow for real-time and accurate assessment of the sleep state, followed by the adoption of more scientific and reasonable oxygen supply control measures to improve the overall sleep quality throughout the night.
[0004] However, existing sleep aid systems have the following drawbacks: 1) Most existing sleep monitoring devices use contact-based devices, such as wristbands and motion recorders, which generate assessment reports after sleep but cannot accurately assess the sleep state in real time. Furthermore, wearing these contact-based devices inevitably disturbs the sleep state, affecting sleep quality. 2) Sleep pods restrict the movement of sleepers, potentially impacting sleep. 3) Existing sleep pods do not consider the different oxygen requirements of individuals in different sleep stages when creating an indoor oxygen environment, and cannot adjust the oxygen supply according to the real-time sleep cycle, which can cause sleep discomfort. Summary of the Invention
[0005] The purpose of this invention is to provide a diffuse oxygen supply control method based on human sleep cycles, comprising the following steps:
[0006] Step 1) Arrange a piezoelectric sensor array under the mattress of the sleep chamber;
[0007] Step 2) Use a piezoelectric sensor array to monitor physiological signals of a person in a sleep state in real time, including body movement frequency, heart rate, respiratory rate, and body temperature;
[0008] Step 3) The data analysis terminal uses a sleep cycle prediction model to process the physiological signals of the person to obtain the sleep cycle in which the person is in; the sleep cycle includes deep sleep, REM sleep and non-target stage; if the sleep cycle is deep sleep or REM sleep, proceed to step 4); otherwise, return to step 2); the non-target stage refers to the sleep cycle other than deep sleep and REM sleep.
[0009] Step 4) The data analysis terminal generates an oxygen supply instruction based on the person's sleep cycle and sends it to the oxygen supply terminal; the oxygen supply instruction carries the target oxygen concentration;
[0010] Step 5) The oxygen supply terminal monitors the real-time oxygen concentration in the area where the person's face is located and determines whether the real-time oxygen concentration is greater than or equal to the target oxygen concentration. If so, no oxygen is supplied, and the process returns to Step 2. If not, the oxygen supply amount is calculated based on the oxygen supply instruction and the real-time oxygen concentration in the area where the person's face is located, and the process proceeds to Step 6.
[0011] Step 6) Based on the oxygen supply, oxygen is supplied through the oxygen supply terminal until the target oxygen concentration or sleep cycle change is reached, then return to step 2) to achieve dynamic closed-loop control.
[0012] Furthermore, the piezoelectric sensor array was prepared using a polyvinylidene fluoride thin film.
[0013] Furthermore, the sleep cycle prediction model adopts the XGBoost model; the sleep cycle prediction model is trained through a historical dataset; the historical dataset includes multiple sets of physiological signals and corresponding sleep cycles.
[0014] Furthermore, in step 4), the data analysis terminal stores oxygen supply instructions during deep sleep and oxygen supply instructions during rapid eye movement (REM) sleep.
[0015] The data analysis terminal calls the corresponding oxygen supply command based on the person's sleep cycle.
[0016] Furthermore, the oxygen supply terminal includes an oxygen monitoring module, an oxygen supply calculation module, and an oxygen release module;
[0017] The oxygen monitoring module is used to collect the oxygen concentration in the area where a person's face is located;
[0018] The oxygen supply calculation module calculates the oxygen supply amount based on the oxygen supply command and the oxygen concentration in the area where the person's face is located.
[0019] The oxygen release module calculates the oxygen supply based on the oxygen concentration and supplies oxygen to the sleep chamber.
[0020] Furthermore, the oxygen supply calculation module stores the relationship equation between oxygen supply amount, real-time oxygen concentration, and target oxygen concentration;
[0021] The oxygen supply calculation module calculates the oxygen supply based on the relationship equation between oxygen supply amount, real-time oxygen concentration, and target oxygen concentration.
[0022] The equation relating oxygen supply, real-time oxygen concentration, and target oxygen concentration is shown below:
[0023] (1)
[0024] In the formula, x is the oxygen supply; The target oxygen concentration; Real-time oxygen concentration; The fresh air supply volume.
[0025] Furthermore, the steps for constructing the equation relating oxygen supply, real-time oxygen concentration, and target oxygen concentration include:
[0026] S1) Construct the indoor oxygen balance equation, namely:
[0027] (2)
[0028] in, This refers to the air intake volume; Real-time oxygen concentration; For a certain infinitesimal time interval; This refers to the oxygen supply flow rate; This refers to the exhaust volume; The indoor oxygen concentration at a certain moment; Room volume; for The increase in room oxygen concentration over a time interval;
[0029] S2) Construct the air volume balance equation, namely:
[0030] (3)
[0031] In the formula, For fresh air volume, m 3 / s.
[0032] S3) Substituting the air volume balance equation into the indoor oxygen balance equation, we get:
[0033] (4)
[0034] S4) Transform equation (4) to obtain:
[0035] (5)
[0036] S5) is set during oxygen supply time Indoor oxygen concentration from Change to Update equation (5) to obtain:
[0037] (6)
[0038] In the formula, The initial indoor oxygen concentration; For the process Indoor oxygen concentration after a certain time.
[0039] S6) Integrating equation (6) yields:
[0040] (7)
[0041] S7) Transform equation (7) to obtain the indoor oxygen concentration at any given time. ,Right now:
[0042] (8)
[0043] S8) Reduce oxygen supply time As the time exponent approaches infinity, we construct the steady-state oxygen supply calculation equation, namely:
[0044] (9)
[0045] In the formula This represents the steady-state oxygen supply.
[0046] S9) Let the steady-state oxygen supply be the set target oxygen concentration, and then construct the relationship equation between oxygen supply, real-time oxygen concentration and target oxygen concentration.
[0047] Furthermore, the oxygen release module is a diffused oxygen supply device, including an oxygen generator, a pressure regulating valve, a flow meter, an electronic proportional valve, and a terminal gas guide component;
[0048] Among them, the oxygen generator is used to supply oxygen;
[0049] The pressure regulating valve is used to regulate the pressure at the outlet of the oxygen generator;
[0050] The electronic proportional valve controls the oxygen flow rate by adjusting the valve opening.
[0051] Flow meters are used to monitor the actual oxygen flow rate in pipelines;
[0052] Terminal gas guide components are used for diffused oxygen supply.
[0053] Furthermore, the distance between the diffused oxygen supply device and personnel ranges from 0.5 m to 1.5 m.
[0054] Furthermore, the diffused oxygen supply device is installed inside or outside the sleep chamber;
[0055] When a diffused oxygen supply device is installed inside the sleep chamber, the oxygen diffusion device is installed on the top or side of the sleep chamber.
[0056] The technical effectiveness of this invention is undeniable. It considers the impact of oxygen concentration, an environmental factor, on human sleep cycles. By using a diffused oxygen supply system to regulate and maintain the oxygen concentration within the chamber at an optimal range for human sleep, this method not only ensures uniform oxygen distribution but also effectively avoids the discomfort that may arise from traditional oxygen supply methods, thereby greatly improving sleep quality. Simultaneously, this invention introduces advanced non-contact sleep state monitoring technology. This technology utilizes advanced sensors and algorithms to monitor and evaluate human sleep states in a comprehensive and multi-dimensional manner in real time and accurately. The system can precisely identify each sleep cycle and adjust the oxygen concentration accordingly to ensure that the oxygen environment best suited to the individual's current sleep stage is provided.
[0057] This invention employs a sleep cycle monitoring module that can monitor physiological indicators such as body temperature, respiratory rate, heart rate, and sleep patterns during sleep in real time. Based on a well-trained XGBoost-based sleep cycle prediction model, it accurately determines the sleep state. Furthermore, based on the individual's sleep cycle, it implements a more scientific and rational oxygen supply strategy, improving the overall sleep quality throughout the night and providing a basis for regulating the oxygen environment within the cabin.
[0058] This invention uses BCG energy signal to design non-contact monitoring technology, establishes an intelligent model that correlates sleep physiological signals with each sleep cycle, monitors the sleep state of the human body in real time and accurately, and can generate an assessment report after sleep. Attached Figure Description
[0059] Figure 1 Flowchart of oxygen supply control method;
[0060] Figure 2 For oxygen supply system devices;
[0061] Figure 3 For oxygen supply logic diagram;
[0062] Figure 4 The system algorithm flow;
[0063] Figure 5 This is a graph showing the pressure of human sleeping postures at different frame rates.
[0064] Figure 6 This is a schematic diagram of a sleep pod;
[0065] Figure 7 Layout diagram of oxygen concentration sensors;
[0066] Figure 8 It is a diffused oxygen supply terminal device;
[0067] In the diagram: 1. Oxygen generator; 2. Pressure regulating valve; 4. Flow meter; 3. Electronic proportional valve; 5. Terminal gas guide component. Detailed Implementation
[0068] The present invention will be further described below with reference to embodiments, but it should not be construed that the scope of the present invention is limited to the following embodiments. Various substitutions and modifications made based on ordinary technical knowledge and common practices in the art without departing from the above-described technical concept of the present invention should be included within the scope of protection of the present invention.
[0069] Example 1:
[0070] See Figures 1 to 7 A diffuse oxygen supply control method based on human sleep cycles includes the following steps:
[0071] Step 1) Arrange a piezoelectric sensor array under the mattress of the sleep chamber;
[0072] Step 2) Use a piezoelectric sensor array to monitor physiological signals of a person in a sleep state in real time, including body movement frequency, heart rate, respiratory rate, and body temperature;
[0073] Step 3) The data analysis terminal uses a sleep cycle prediction model to process the physiological signals of the person to obtain the sleep cycle in which the person is in; the sleep cycle includes deep sleep, REM sleep and non-target stage; if the sleep cycle is deep sleep or REM sleep, proceed to step 4); otherwise, return to step 2); the non-target stage refers to the sleep cycle other than deep sleep and REM sleep.
[0074] Step 4) The data analysis terminal generates an oxygen supply instruction based on the person's sleep cycle and sends it to the oxygen supply terminal; the oxygen supply instruction carries the target oxygen concentration;
[0075] Step 5) The oxygen supply terminal monitors the real-time oxygen concentration in the area where the person's face is located and determines whether the real-time oxygen concentration is greater than or equal to the target oxygen concentration. If so, no oxygen is supplied, and the process returns to Step 2. If not, the oxygen supply amount is calculated based on the oxygen supply instruction and the real-time oxygen concentration in the area where the person's face is located, and the process proceeds to Step 6.
[0076] Step 6) Based on the oxygen supply, oxygen is supplied through the oxygen supply terminal until the target oxygen concentration or sleep cycle change is reached, then return to step 2) to achieve dynamic closed-loop control.
[0077] Example 2:
[0078] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as in Example 1, further wherein the piezoelectric sensor array is prepared using polyvinylidene fluoride film.
[0079] Example 3:
[0080] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of Embodiments 1-2, further wherein the sleep cycle prediction model adopts the XGBoost model; the sleep cycle prediction model is trained through historical datasets; the historical datasets include multiple sets of physiological signals and corresponding sleep cycles.
[0081] Example 4:
[0082] A diffuse oxygen supply control method based on human sleep cycle, with the same technical content as any one of embodiments 1-3, further, in step 4), the data analysis terminal stores oxygen supply instructions during deep sleep and oxygen supply instructions during rapid eye movement (REM) sleep.
[0083] The data analysis terminal calls the corresponding oxygen supply command based on the person's sleep cycle.
[0084] Example 5:
[0085] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of embodiments 1-4, further comprising an oxygen monitoring module, an oxygen supply calculation module, and an oxygen release module;
[0086] The oxygen monitoring module is used to collect the oxygen concentration in the area where a person's face is located;
[0087] The oxygen supply calculation module calculates the oxygen supply amount based on the oxygen supply command and the oxygen concentration in the area where the person's face is located.
[0088] The oxygen release module calculates the oxygen supply based on the oxygen concentration and supplies oxygen to the sleep chamber.
[0089] Example 6:
[0090] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of embodiments 1-5, further wherein the oxygen supply calculation module stores the relationship equation between oxygen supply amount, real-time oxygen concentration and target oxygen concentration.
[0091] The oxygen supply calculation module calculates the oxygen supply based on the relationship equation between oxygen supply amount, real-time oxygen concentration, and target oxygen concentration.
[0092] The equation relating oxygen supply, real-time oxygen concentration, and target oxygen concentration is shown below:
[0093] (1)
[0094] In the formula, x is the oxygen supply; The target oxygen concentration; Real-time oxygen concentration; The fresh air supply volume.
[0095] Example 7:
[0096] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of Examples 1-6, further comprising the following steps in constructing the equation relating oxygen supply volume, real-time oxygen concentration, and target oxygen concentration:
[0097] S1) Construct the indoor oxygen balance equation, namely:
[0098] (2)
[0099] in, This refers to the air intake volume; Real-time oxygen concentration; For a certain infinitesimal time interval; This refers to the oxygen supply flow rate; This refers to the exhaust volume; The indoor oxygen concentration at a certain moment; Room volume; for The increase in room oxygen concentration over a time interval;
[0100] S2) Construct the air volume balance equation, namely:
[0101] (3)
[0102] In the formula, For fresh air volume, m 3 / s.
[0103] S3) Substituting the air volume balance equation into the indoor oxygen balance equation, we get:
[0104] (4)
[0105] S4) Transform equation (4) to obtain:
[0106] (5)
[0107] S5) is set during oxygen supply time Indoor oxygen concentration from Change to Update equation (5) to obtain:
[0108] (6)
[0109] In the formula, The initial indoor oxygen concentration; For the process Indoor oxygen concentration after a certain time.
[0110] S6) Integrating equation (6) yields:
[0111] (7)
[0112] S7) Transform equation (7) to obtain the indoor oxygen concentration at any given time. ,Right now:
[0113] (8)
[0114] S8) Reduce oxygen supply time As the time exponent approaches infinity, we construct the steady-state oxygen supply calculation equation, namely:
[0115] (9)
[0116] In the formula This represents the steady-state oxygen supply.
[0117] S9) Let the steady-state oxygen supply be the set target oxygen concentration, and then construct the relationship equation between oxygen supply, real-time oxygen concentration and target oxygen concentration.
[0118] Example 8:
[0119] A diffuse oxygen supply control method based on human sleep cycle, with the same technical content as any one of embodiments 1-7. Further, the oxygen release module is a diffuse oxygen supply device, including an oxygen generator (1), a pressure regulating valve (2), a flow meter (4), an electronic proportional valve (3), and a terminal gas guide component (5).
[0120] Among them, the oxygen generator (1) is used to supply oxygen;
[0121] Pressure regulating valve (2) is used to regulate the pressure at the outlet of the oxygen generator;
[0122] The electronic proportional valve (3) controls the oxygen flow rate by adjusting the valve opening;
[0123] The flow meter (4) is used to monitor the actual oxygen flow rate in the pipeline;
[0124] The terminal gas guide component (5) is used for diffused oxygen supply.
[0125] Example 9:
[0126] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of Examples 1-8, further wherein the distance between the diffuse oxygen supply device and the human is in the range of 0.5 m to 1.5 m.
[0127] Example 10:
[0128] A diffuse oxygen supply control method based on human sleep cycles, with the same technical content as any one of embodiments 1-9, further wherein the diffuse oxygen supply device is installed inside or outside the sleep chamber.
[0129] When a diffused oxygen supply device is installed inside the sleep chamber, the oxygen diffusion device is installed on the top or side of the sleep chamber.
[0130] Example 11:
[0131] A diffuse oxygen supply control method based on a person's sleep cycle, with the same technical content as any one of embodiments 1-9, further comprising the following steps for calculating heart rate and respiratory rate: performing time-domain amplitude binarization processing on the acquired signal to identify the peak information of the BCG wave energy signal and the respiratory signal; determining the start and end states of a single cardiac cycle and respiratory cycle based on the JJ interval and peak information; and determining the heart rate and respiratory rate based on the start and end states.
[0132] Example 12:
[0133] A diffuse oxygen supply control method based on a person's sleep cycle, with the same technical content as any one of embodiments 1-9, further comprising the following steps for temperature measurement: a 5-channel temperature sensor is built into the mattress to monitor the body temperature data of the head, back, waist, thighs and calves; based on the monitored body temperature data, the average body temperature of the human body is calculated.
[0134] Example 13:
[0135] A method for controlling diffused oxygen supply based on human sleep cycles includes the following steps:
[0136] S1. A non-contact heart rate and respiratory signal monitoring device based on BCG energy signals is used to collect the user's sleep physiological signals, including body movement frequency, heart rate, respiratory rate, and body temperature. All of the above data are uploaded to the data analysis terminal.
[0137] The non-contact sleep monitoring system based on BCG energy signals achieves an accuracy of 95.6% and 96.0%, respectively. The body movement frequency of the person during sleep is collected by a polyvinylidene fluoride (PVDF) thin-film piezoelectric sensor array under the mattress, which serves as the BCG, body movement frequency, and body temperature acquisition device, and then uploaded to a cloud database.
[0138] The data analysis terminal, namely the sleep cycle prediction model, can predict a person's sleep cycle based on real-time collected physiological signals. The XGBoost prediction model is programmed using Python code and establishes a mapping model between different physiological signals and sleep cycles based on data obtained from field experiments. Based on this, it determines whether a person has entered deep sleep or REM sleep and issues oxygen supply commands to the oxygen supply terminal.
[0139] S2. The oxygen supply unit consists of an oxygen monitoring module, an oxygen supply calculation module, and an oxygen release module. The oxygen monitoring module collects the oxygen concentration near the person's face and transmits the monitoring results to the oxygen supply calculation module.
[0140] The oxygen monitoring device uses an electrochemical oxygen sensor and rationally arranges monitoring points according to the breathing area of a person during sleep to monitor oxygen concentration.
[0141] In addition to zeroing and calibration before leaving the factory to ensure quality control of oxygen monitoring, instruments with oxygen monitoring functions also need to undergo regular checks and verifications of the accuracy of oxygen concentration measurement in subsequent practical applications.
[0142] The oxygen supply calculation module can calculate the steady-state oxygen supply concentration by integrating the oxygen concentration at the sleep site. This concentration is a continuous oxygen supply concentration that can maintain the oxygen concentration at the expected value for a long time.
[0143] The specific formula is as follows:
[0144] When oxygen is supplied to a room, at any given minute time interval, the difference between the amount of oxygen received and the amount of oxygen discharged from the room should equal the total increase in oxygen in the room, satisfying the following oxygen balance equation:
[0145]
[0146] in For air intake volume, m 3 / s, when the oxygen supply concentration is less than 100% (volume fraction), the amount of air entrained by the oxygen supply terminal should be added; This refers to the oxygen concentration in the supplied air. Let s be an infinitesimal time interval; oxygen supply flow rate, m 3 / s; For exhaust volume, m 3 / s; The indoor oxygen concentration at a certain moment; For the room volume, m 3 ; for The increase in room oxygen concentration over a time interval.
[0147] Unlike the emission of small amounts of pollutants, the amount of oxygen affects the intake and exhaust airflow. Furthermore, the room's intake airflow equals the room's fresh airflow, as shown by the following airflow balance equation:
[0148]
[0149] In the formula, For fresh air volume, m 3 / s.
[0150] Substituting equation (2) into equation (1), we get:
[0151]
[0152] Transforming equation (3) yields:
[0153]
[0154] If during oxygen supply time Indoor oxygen concentration from Change to ,but
[0155]
[0156] In the formula The initial indoor oxygen concentration; For the process Indoor oxygen concentration after a certain time.
[0157] Integrating equation (5) yields:
[0158]
[0159] By transforming equation (6), the indoor oxygen concentration at any given time can be obtained.
[0160]
[0161] When oxygen supply time As the time exponent approaches infinity, the time exponent approaches infinitesimal, and the indoor oxygen concentration approaches stability, yielding the formula for calculating steady-state oxygen concentration:
[0162]
[0163] In the formula This represents the steady-state oxygen supply concentration.
[0164] In equation (8), the numerator is the sum of the oxygen content in the fresh air and the oxygen supply, and the denominator is the sum of the fresh air volume and the oxygen supply. Therefore, after the indoor oxygen concentration tends to a steady state, the indoor oxygen concentration is equal to the total amount of oxygen entering from the outside divided by the total amount of gas entering, while the initial indoor oxygen concentration... and room volume The impact on the final indoor oxygen concentration is negligible. (e.g., steady-state oxygen concentration) To achieve the target indoor oxygen concentration, the fresh air supply volume is: The required oxygen supply under steady state is:
[0165]
[0166] The oxygen release module calculates the required oxygen supply based on the oxygen supply calculation module, and then distributes the oxygen through diffusion at the end of the oxygen supply device.
[0167] The diffused oxygen supply device consists of an oxygen generator, a pressure regulating valve, a flow meter, an electronic proportional valve, and a terminal gas guide component (see reference). Figure 1 (device setup)
[0168] Among them, the oxygen generator can be supplied with oxygen by medical molecular sieve oxygen generator, medical oxygen cylinder, etc.
[0169] The pressure regulating valve is used to regulate the pressure at the outlet of the oxygen generator to prevent excessive pressure from damaging the pressure terminal.
[0170] The electronic proportional valve receives control signals and precisely controls the oxygen flow rate by adjusting the valve opening (0%-100%).
[0171] Flow meters are used to monitor the actual oxygen flow rate in pipelines;
[0172] The terminal device can be configured with suitable gas guiding components for diffused oxygen supply.
[0173] The diffused oxygen supply terminal device should be placed within a 0.5-1.5m area where people sleep to ensure that people can receive diffused oxygen immediately.
[0174] S3, the oxygen supply method is as follows: Figure 3 The logic is to supply oxygen.
[0175] Where y0 is the oxygen concentration (%) in the indoor space, y w The target oxygen supply concentration (%)
[0176] The dynamic oxygen supply control logic based on sleep stage and real-time oxygen concentration follows these steps:
[0177] Sleep stage determination: The "sleep cycle detection module" identifies whether the current stage is "deep sleep / REM sleep" or "non-target stage".
[0178] Oxygen concentration determination: If the patient is in deep sleep / REM sleep, the "oxygen monitoring module" compares the current oxygen concentration y0 with the target concentration y. w .
[0179] Oxygen supply decision: If y 0> y w (Oxygen concentration meets standard): Close the oxygen supply valve and do not supply additional oxygen; if y0≤y w( (Insufficient oxygen concentration): The "Oxygen Supply Calculation Module" calculates the required oxygen supply x and adjusts the valve opening to start supplying oxygen.
[0180] Real-time feedback and circulation: Continuous monitoring after oxygen supply; if "target sleep stage ends" or "oxygen concentration (y)..." 0> y w If the initial detection fails, the system returns to the initial detection stage, repeats the judgment process, and achieves dynamic closed-loop control.
[0181] S4. According to claim 3, the oxygen diffusion device of the sleep space can be installed inside or outside the sleep chamber.
[0182] The oxygen diffusion device of the sleep space is installed inside the sleep chamber, and can be installed from the top or the side.
[0183] Top mounting: The oxygen diffusion device is installed on the top of the sleep chamber to ensure that oxygen is evenly distributed throughout the entire chamber. Side mounting is used when the top of the sleep chamber is not suitable, or to allow for more flexible adjustment of the oxygen diffusion direction. When side mounting, it is necessary to ensure that the height of the device is appropriate so that oxygen can be fully diffused to all corners of the chamber.
[0184] When space inside the sleep pod is limited, an oxygen diffusion device can be installed on the external wall of the pod to deliver oxygen into the pod via pipes. This method requires ensuring the pipes are airtight and secure to prevent oxygen leakage or other safety hazards.
[0185] When installing externally, it is necessary to ensure the stability and safety of the device to prevent it from being interfered with or damaged by the external environment.
[0186] After the oxygen diffusion device is installed, the diffusion-type oxygen supply system needs to be tested. This includes checking parameters such as the equipment's operating status, oxygen concentration, and pressure stability. At the same time, it must be ensured that the equipment can start, stop, and adjust the oxygen concentration normally.
[0187] Pipelines and installations should be inspected and maintained regularly to ensure their proper functioning and safety.
[0188] S5. Oxygen monitoring: According to the provisions of claims 2 and 3, the oxygen diffusion device can issue instructions to change or maintain the oxygen supply flow rate based on the oxygen concentration in the chamber, control the oxygen concentration to change within a certain range, and adjust the most suitable oxygen concentration based on the sleep cycle of the personnel to achieve the best sleep quality.
[0189] Commands for valve opening in the oxygen supply system. When the target oxygen concentration in the chamber is 24% (the most suitable oxygen concentration for personnel entering deep sleep and REM sleep), the target oxygen concentration is reached within 0.5 hours. When personnel are asleep, if the oxygen concentration in the chamber is <24% and the oxygen supply time is 0 hours, the oxygen supply unit receives the command to start supplying oxygen and begins supplying oxygen at a steady-state rate. The oxygen concentration monitoring module monitors changes in the chamber oxygen concentration in real time. When the oxygen concentration is approximately 24%, the current valve opening is maintained until the personnel's deep sleep and REM sleep periods end. Once the personnel's deep sleep and REM sleep periods end, the valve opening is closed, and oxygen supply ceases.
[0190] When personnel are asleep, if the oxygen concentration inside the cabin is ≥24%, the system terminal issues a command to close the oxygen supply device valve. Since areas where the oxygen concentration remains consistently at 24% are rare in the natural environment, this only considers cases where the internal oxygen concentration is <24%.
[0191] Example 14:
[0192] The verification of a diffuse oxygen supply control method based on human sleep cycles is as follows:
[0193] In one embodiment of the present invention, the sleep pod measures 2.3m × 1.6m × 2m (L × W × H), V f =7.36m³, air change rate N=10 times / h, ventilation volume L=70m³ 3 / h.
[0194] 1) Subject Recruitment: Four college students (numbered 1-4) were recruited to participate in the dynamic oxygen supply experiment in the sleep chamber. Participant requirements included a BMI between 18.5 and 24, a Pittsburgh Sleep Questionnaire (PSQI) score ≤ 6, and the avoidance of alcohol, psychotropic medications, and strenuous exercise during the day. During the experiment, participants wore slippers (0.03clo), a T-shirt (0.09clo), light trousers (0.15clo), and underwear (0.03clo), with a total clothing thermal resistance of approximately 0.30clo. The experimental setting was inside a sleep chamber.
[0195] 2) Specific experimental steps: The experiment was divided into a blank night (no dynamic oxygen supply) and a control night (dynamic oxygen supply). The experiment lasted for a total of 9 hours, including 1 hour of preparation before sleep and 8 hours during sleep. During the preparation period (22:00-23:00), participants were outside the sleep pod to adapt to the current sleep environment and were required to fill out a sleep log and an environmental perception questionnaire to subjectively assess their current level of drowsiness and their perception of the environment. During sleep (23:00-7:00), participants were required to enter the pod to begin sleep, during which time all monitoring instruments in the sleep pod began to operate.
[0196] The following describes the arrangement of the monitoring instruments in the experiment:
[0197] 3) A non-contact heart rate and respiratory signal monitoring device based on BCG energy signal is used to collect the user's sleep physiological signals, including body movement frequency, heart rate, respiratory rate and body temperature.
[0198] According to one embodiment of the present invention, step S1 includes: using thin-film piezoelectric sensors, encapsulating two sets of sensors and embedding them inside the mattress to construct a dual-channel array structure and achieve independent operation. The signal acquisition system consists of an analog signal processing unit, an analog-to-digital conversion and noise reduction unit, a data transmission unit, and a power distribution network. This monitoring system uses the mattress-embedded PVDF piezoelectric sensor array to acquire raw body motion signals. The acquired signals first undergo preprocessing operations such as charge-to-voltage conversion and signal amplification in the analog signal processing unit; after the signal preprocessing is completed, it enters the analog-to-digital conversion and noise reduction unit for subsequent signal optimization; after processing, the signal is finally transmitted to the host computer device via serial communication mode through the data transmission unit.
[0199] The acquired signals are processed by time-domain amplitude binarization to identify the peak information of BCG wave energy signals and respiratory signals; by using the JJ interval and respiratory wave peak interval, the start and end states of a single cardiac cycle and respiratory cycle are determined, thereby completing the calculation of heart rate and respiratory rate.
[0200] Meanwhile, the mattress has five built-in temperature sensors that can monitor body temperature data from the head, back, waist, thighs, and calves, and calculate the average body temperature using a built-in "five-point method" algorithm. Built-in pressure sensors, through pressure-sensing units distributed on or inside the mattress, detect changes in body weight and pressure distribution. When the body turns over or moves, the pressure distribution changes and is displayed in a real-time dynamic graph; the sensors also convert these changes into electrical signals to record the frequency of body movements.
[0201] During data collection, all data is packaged into a single frame and sent to the central control unit via the UART protocol at a baud rate of 1000000bps. Heart rate, respiration, and body movement data are collected at a frequency of 100 Hz, while body temperature data is collected at a frequency of 1 Hz. Once all data collection is complete, the data packet is uploaded to the data analysis terminal.
[0202] (4) The data collected by the sleep monitoring device based on BCG energy signal non-contact heart rate and respiratory signal monitoring is uploaded to the data analysis terminal. Then, the system uses the sleep cycle module to determine the user's sleep cycle (deep sleep or REM sleep, etc.), and records the duration and proportion of each sleep cycle in a whole sleep cycle. Finally, the data is stored in the system terminal.
[0203] 5) The analysis end, based on the XGBoost model, uses extensive laboratory data to analyze the changes in physiological parameters such as body movement frequency, heart rate, respiratory rate, and body temperature monitored in real time via non-contact monitoring devices under different sleep stages. A response model of human physiological parameter changes and sleep stages is established to predict sleep stages. The model establishment process is as follows:
[0204] i) Data Preparation and Preprocessing: First, the collected raw physiological signals such as body movement, heart rate, and respiration were cleaned to remove severe noise and signal loss caused by personnel turning over or getting out of bed. Simultaneously, asynchronous data from different sensor channels were timestamped to ensure that the data samples at each time point contained all features. Sleep stages collected synchronously in the laboratory were used as the target variable for model training. From the preprocessed physiological signals, time-domain, frequency-domain, and nonlinear features characterizing sleep states were extracted according to a time window (5-minute sliding window). The processed feature dataset and its corresponding sleep stage labels were randomly divided into training, validation, and test sets in a ratio of 7:2:1 to ensure a balanced distribution of samples across different stages.
[0205] ii) Train the XGBoost model using the processed data and find the optimal parameters.
[0206] The XGBoost algorithm was chosen, and the basic task of the model was set as "multi-class classification". Using a validation set, key parameters of XGBoost were optimized through Bayesian optimization to prevent overfitting. The training set data was then fitted to the model, which iteratively built multiple decision trees to learn the complex mapping relationship from physiological parameter features to sleep stage labels.
[0207] iii) Model evaluation and validation
[0208] This invention employs four typical classification evaluation metrics, including: accuracy (representing the proportion of correct predictions made by the model overall), F1-score (more comprehensively reflecting the model's ability to identify each stage), and confusion matrix (visually displaying the model's classification performance at each sleep stage). Finally, a "hold-out method" is used to ensure the reliability of the evaluation results.
[0209] 6) Five oxygen sensors are used in the sleep space, evenly distributed in the breathing area of the head when the person is sleeping. Points 1-4 are located on the walls around the sleep chamber, and point 5 is located on the bottom of the sleep chamber (inside).
[0210] 7) The oxygen diffusion device in the sleeping space is side-mounted. The following are the installation steps for the oxygen diffusion device:
[0211] When installing the diffused oxygen supply system, a dry, well-ventilated location away from fire sources needs to be determined to ensure the safety of the equipment and the conditions for stable operation.
[0212] Conduct a comprehensive inspection of the equipment to ensure that all parts are intact and complete;
[0213] Secure the diffused oxygen supply device inside the sleep chamber using screws or other suitable fasteners to ensure its stability.
[0214] According to the specific requirements of the equipment, connect the air inlet pipe and the air outlet pipe, and ensure that all connections are tight and leak-free to ensure the efficient operation of the oxygen supply system;
[0215] After completing the steps described above, turn on the power to perform system debugging, check the equipment's operating status and key parameters such as oxygen concentration, and ensure that everything is normal.
[0216] The diffused oxygen supply terminal device adopts, for example... Figure 8 The terminal device shown diffuses oxygen.
[0217] 8) Control the dynamic supply of oxygen in the environment (diffuse oxygen supply based on people's sleep cycles)
[0218] Once the data analysis terminal issues an oxygen supply command, the sleep chamber uses an oxygen concentration sensor to monitor the oxygen concentration in real time, ensuring that the output oxygen concentration meets the needs of the person and equipment in the sleep space. A flow sensor monitors the oxygen flow rate in real time, ensuring that oxygen is supplied according to the set flow rate.
[0219] According to an embodiment of the present invention, step S2 includes: monitoring the indoor oxygen concentration and atmospheric pressure; when the oxygen content in the chamber accounts for less than 24% of the air, and the system detects that a person has entered a deep sleep or REM sleep stage, the system analysis terminal issues a command to increase the oxygen partial pressure of the diffused oxygen supply device, thereby increasing the oxygen content in the environment to 24% of the air and then keeping it constant, thus improving the sleep quality of the person in the sleep state in real time; when the system detects that a person has entered a light sleep stage, the system analysis terminal issues a command to shut down the diffused oxygen supply device in the chamber, thereby reducing the oxygen content in the environment and reducing the impact of prolonged hyperoxygenation on the human body; when the oxygen content in the chamber accounts for less than 24% of the air, and the system does not detect that a person has entered a deep sleep or REM sleep stage, the system analysis terminal does not issue any command;
[0220] Taking the actual working conditions of a subject (number 1) in a sleep chamber as an example, the sleep chamber dimensions are 2.3m × 1.6m × 2m (L × W × H), V f =7.36m³, air change rate N=10 times / h, ventilation volume L=70m³ 3 / h, the oxygen concentration in the sleep chamber during sleep, y1=20%, and the oxygen concentration in the supplied air, y0=20%, are measured by an oxygen concentration sensor. The target oxygen concentration in the chamber during deep sleep is y. w =24%, and the required steady-state oxygen supply calculated according to Equation 6 of claim 2 is x = 3.68m. 3 / h, calculated according to Formula 6 of claim 2, the oxygen concentration y2 in the chamber after 0.5h under this steady-state oxygen supply is 24.1%, which is close to the target oxygen concentration y in the chamber. w =24%, so the oxygen concentration in the cabin can be guaranteed to meet the requirements 0.5 hours after the start of oxygen supply. Then, the steady-state oxygen supply is maintained at a constant level until the personnel's deep sleep and REM sleep periods end, at which point the steady-state oxygen supply is stopped.
[0221] Final analysis of the results of this embodiment:
[0222] 1) Total sleep duration during the gap period: 7 hours and 12 minutes; total sleep duration during deep sleep and REM sleep: 2 hours and 17 minutes, accounting for 27% of total sleep duration.
[0223] 2) The individual's total sleep duration during the control period was 7 hours and 29 minutes; the total duration of deep sleep and REM sleep was 3 hours and 12 minutes, accounting for 40% of the total sleep duration.
[0224] 3) Compared to the blank period, the difference in the proportion of deep sleep and REM sleep during the control period was 13%, an increase of 48.15% in total sleep duration.
[0225] The improvement results for other participants are shown in the table below (only the total time of deep sleep and REM sleep is shown as a percentage of total sleep time):
[0226] Table 1. Improvement in Sleep Quality
[0227]
Claims
1. A method for controlling diffused oxygen supply based on human sleep cycles, characterized in that, Includes the following steps: Step 1) Arrange a piezoelectric sensor array under the mattress of the sleep chamber; Step 2) Use a piezoelectric sensor array to monitor physiological signals of a person in a sleep state in real time, including body movement frequency, heart rate, respiratory rate and body temperature; Step 3) The data analysis terminal uses a sleep cycle prediction model to process the physiological signals of the person to obtain the sleep cycle in which the person is in; the sleep cycle includes deep sleep, REM sleep and non-target stage; if the sleep cycle is deep sleep or REM sleep, proceed to step 4); otherwise, return to step 2); the non-target stage refers to the sleep cycle other than deep sleep and REM sleep. Step 4) The data analysis terminal generates an oxygen supply instruction based on the person's sleep cycle and sends it to the oxygen supply terminal; the oxygen supply instruction carries the target oxygen concentration; Step 5) The oxygen supply terminal monitors the real-time oxygen concentration in the area where the person's face is located and determines whether the real-time oxygen concentration is greater than or equal to the target oxygen concentration. If so, no oxygen is supplied, and the process returns to Step 2. If not, the oxygen supply amount is calculated based on the oxygen supply instruction and the real-time oxygen concentration in the area where the person's face is located, and the process proceeds to Step 6. Step 6) Based on the oxygen supply, oxygen is supplied through the oxygen supply terminal until the target oxygen concentration or sleep cycle change is reached, then return to step 2) to achieve dynamic closed-loop control.
2. The diffuse oxygen supply control method based on human sleep cycles according to claim 1, characterized in that, The piezoelectric sensor array was prepared using a polyvinylidene fluoride thin film.
3. The diffuse oxygen supply control method based on human sleep cycles according to claim 1, characterized in that, The sleep cycle prediction model uses the XGBoost model; the sleep cycle prediction model is trained using a historical dataset; the historical dataset includes multiple sets of physiological signals and corresponding sleep cycles.
4. The diffuse oxygen supply control method based on human sleep cycles according to claim 1, characterized in that, In step 4), the data analysis terminal stores oxygen supply instructions during deep sleep and oxygen supply instructions during rapid eye movement (REM) sleep. The data analysis terminal calls the corresponding oxygen supply command based on the person's sleep cycle.
5. The diffuse oxygen supply control method based on human sleep cycles according to claim 1, characterized in that, The oxygen supply terminal includes an oxygen monitoring module, an oxygen supply calculation module, and an oxygen release module; The oxygen monitoring module is used to collect the oxygen concentration in the area where a person's face is located; The oxygen supply calculation module calculates the oxygen supply amount based on the oxygen supply command and the oxygen concentration in the area where the person's face is located. The oxygen release module calculates the oxygen supply based on the oxygen concentration and supplies oxygen to the sleep chamber.
6. The diffuse oxygen supply control method based on human sleep cycles according to claim 1, characterized in that, The oxygen supply calculation module stores the relationship equation between oxygen supply amount, real-time oxygen concentration, and target oxygen concentration. The oxygen supply calculation module calculates the oxygen supply based on the relationship equation between oxygen supply amount, real-time oxygen concentration, and target oxygen concentration. The equation relating oxygen supply, real-time oxygen concentration, and target oxygen concentration is shown below: (1) In the formula, x is the oxygen supply; The target oxygen concentration; Real-time oxygen concentration; The fresh air supply volume.
7. The diffuse oxygen supply control method based on human sleep cycles according to claim 6, characterized in that, The steps for constructing the equation relating oxygen supply, real-time oxygen concentration, and target oxygen concentration include: S1) Construct the indoor oxygen balance equation, namely: (2) in, This refers to the air intake volume; Real-time oxygen concentration; For a certain infinitesimal time interval; This refers to the oxygen supply flow rate; This refers to the exhaust volume; The indoor oxygen concentration at a certain moment; Room volume; for The increase in room oxygen concentration over a time interval; S2) Construct the air volume balance equation, namely: (3) In the formula, For fresh air volume; S3) Substituting the air volume balance equation into the indoor oxygen balance equation, we get: (4) S4) Transform equation (4) to obtain: (5) S5) is set during oxygen supply time Indoor oxygen concentration from Change to Update equation (5) to obtain: (6) In the formula, The initial indoor oxygen concentration; For the process Indoor oxygen concentration after a certain time; S6) Integrating equation (6) yields: (7) S7) Transform equation (7) to obtain the indoor oxygen concentration at any given time. ,Right now: (8) S8) Reduce oxygen supply time As the time exponent approaches infinity, we construct the steady-state oxygen supply calculation equation, namely: (9) In the formula This represents the steady-state oxygen supply. S9) Let the steady-state oxygen supply be the set target oxygen concentration, and then construct the relationship equation between oxygen supply, real-time oxygen concentration and target oxygen concentration.
8. The diffuse oxygen supply control method based on human sleep cycles according to claim 5, characterized in that, The oxygen release module is a diffused oxygen supply device, including an oxygen generator (1), a pressure regulating valve (2), a flow meter (4), an electronic proportional valve (3), and a terminal gas guide component (5). Among them, the oxygen generator (1) is used to supply oxygen; Pressure regulating valve (2) is used to regulate the pressure at the outlet of the oxygen generator; The electronic proportional valve (3) controls the oxygen flow rate by adjusting the valve opening; The flow meter (4) is used to monitor the actual oxygen flow rate in the pipeline; The terminal gas guide component (5) is used for diffused oxygen supply.
9. A method for controlling diffused oxygen supply based on human sleep cycles according to claim 8, characterized in that, The distance between a diffused oxygen supply device and personnel should be between 0.5 m and 1.5 m.
10. A method for controlling diffuse oxygen supply based on human sleep cycles according to claim 8, characterized in that, The diffused oxygen supply device is installed inside or outside the sleep pod; When a diffused oxygen supply device is installed inside the sleep chamber, the oxygen diffusion device is installed on the top or side of the sleep chamber.