Sleep assisting method and system for detecting sleep quality based on microwave radar
Finding vital sign detection areas through microwave radar rotation and translation has solved the problems of missing data and low signal-to-noise ratio in the prior art, improving the accuracy of sleep quality judgment and the working efficiency of sleep assistive equipment.
Patent Information
- Application Number
- CN202411374300.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-14
AI Technical Summary
In the prior art, microwave radars cannot automatically find vital signs of the human body, resulting in missing data, low signal-to-noise ratio, and blurred data, affecting the accuracy of sleep quality judgment.
Through microwave radar rotation and translation, we look for vital sign detection areas, use vital sign calculations at multiple locations in the area with micromovement state to determine the optimal scanning area, and control the working direction and time of sleep assistive devices to improve detection accuracy.
It improves the accuracy of microwave radar for breathing waveform detection, accurately adjusts the scanning range, ensures that the sleep assisting equipment works at the right time and direction, and enhances the accuracy of sleep quality judgment.
Smart Images

Figure CN119302637A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sleep assistance methods, and in particular to a sleep assistance method and system based on microwave radar for detecting sleep quality. Background Art
[0002] Microwave radar can collect echo data of the inspected personnel, and then extract the micro-movement changes of the human body from the echo data, so as to calculate the vital signs of the human body, such as breathing, heartbeat, etc. The microwave radar detects the vital signs of the human body, so as to judge the human body's sleep status and sleep quality, and then add auxiliary equipment such as white noise and aromatherapy to help users accelerate sleep and improve sleep quality.
[0003] The microwave radar used for vital sign detection is fixedly set at a certain position in the room, such as the head of the bed, the wall, etc. Since the vital signs of the human body are tiny changes in human movement, for example, the heartbeat corresponds to the tiny shaking of the human chest, the position of the human body in the radar scanning area is unknown, and the movement generated by the vital signs is very weak. Not all areas within the radar scanning range can extract micro-motion signals. Before performing vital sign detection, the orientation and direction of the microwave radar need to be manually adjusted to make the human body in an area with better signals within the radar scanning range. Only then can the subsequent vital sign detection algorithm capture the vital sign data from the echo data. In the prior art, it is impossible to realize that the microwave radar automatically finds the part of the human body that can feedback vital signs. Only the tiny movement changes in the relatively rough micro-motion range detected by the microwave radar can be used as the source of vital sign judgment data. There may be problems such as missing data, low data signal-to-noise ratio, and fuzzy data, which may cause false alarms of sleep quality and other conditions, affecting the work of sleep aids.
[0004] In view of the above problems existing in the prior art, the purpose of the present invention is to design a sleep assistance method and system based on microwave radar to detect sleep quality. Summary of the invention
[0005] In view of the problems existing in the above-mentioned prior art, the present invention provides a sleep assistance method and system based on microwave radar to detect sleep quality, which can effectively solve at least one problem existing in the above-mentioned prior art.
[0006] The technical solution of the present invention is:
[0007] A sleep assistance method based on microwave radar to detect sleep quality, comprising the following steps:
[0008] S1, uses microwave radar to transmit and receive radar signals to find the position of the human body;
[0009] S2, controlling the microwave radar to rotate and / or translate to find a vital sign detection area;
[0010] S3, receiving the radar signal returned by the vital sign detection area, and extracting the vital sign from the radar signal;
[0011] S4, controlling the working time of the sleep assisting device according to the sleep quality, and controlling the working direction of the sleep assisting device according to the human body position.
[0012] Further, step S2 includes:
[0013] S21, determining whether the human body is in a micro-motion state, and if so, rotating and / or translating the microwave radar to an area facing the micro-motion state;
[0014] S22, calculating vital signs at multiple locations within the region of the micro-motion state;
[0015] S23, if the vital signs at multiple positions are similar, the area in the micro-motion state is determined to be a vital sign detection area; if the vital signs at multiple positions are different, the scanning range of the microwave radar is rotated and / or translated and the process returns to step S21.
[0016] Further, step S22 includes:
[0017] The region in the micro-motion state is divided into a plurality of sub-regions at equal intervals, and the vital signs of the plurality of sub-regions are calculated.
[0018] Further, dividing the region in the micro-motion state into a plurality of sub-regions at equal intervals, and calculating the vital signs of the plurality of sub-regions comprises:
[0019] The radar signal in the area of the micro-motion state is equally divided and the phases are calculated respectively;
[0020] Multiple phases are calculated through a vital sign algorithm to obtain multiple vital signs.
[0021] Further, if the vital signs of multiple positions are different, the scanning range of the microwave radar is rotated and / or translated according to the vital signs of multiple sub-areas and the process returns to step S21.
[0022] Further, rotating and / or translating the microwave radar according to the vital signs of the plurality of sub-areas comprises:
[0023] Calculate the mean of vital signs of multiple sub-areas;
[0024] The microwave radar is rotated and / or translated toward the sub-region where the vital sign is close to the vital sign mean value.
[0025] Furthermore, the sleep aid device includes one or more of a white noise generator and an aromatherapy generator.
[0026] Furthermore, in step S1, after finding the position of the human body, the following steps are performed: recognizing the sleeping posture of the human body to obtain the position of the human head and the orientation of the face;
[0027] In step S4, controlling the operation of the sleep aid device according to the sleep quality includes:
[0028] Controlling the white noise generator to rotate or translate toward the position of the human head and start generating white noise; and / or,
[0029] If the face is facing the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face away from the top of the human head and start to generate aromatherapy. If the face is facing away from the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face the top of the human head and start to generate aromatherapy.
[0030] Furthermore, the vital signs include heartbeat and breathing. In step S4, the sleep quality of the human body is evaluated according to the number of apnea, the stability of changes in heart rate and breathing frequency, and the body movement value.
[0031] Furthermore, the number of turning over is calculated according to the body movement value, and the time of falling asleep, the number of turning over, the time of getting up, and the abnormal heart rate are output.
[0032] Further, including S5, controlling the volume of the white noise generator according to the sleep quality, the worse the sleep quality, the louder the volume; and / or controlling the dosage of the aromatherapy generator according to the sleep quality, the worse the sleep quality, the larger the dosage;
[0033] S6, selecting white noise music generated by the white noise generator according to the sleep quality, and / or selecting an aromatherapy formula of the aromatherapy generator according to the sleep quality.
[0034] A sleep assistance system based on microwave radar for detecting sleep quality is further provided, comprising: a base, on which a millimeter wave radar and a sleep assistance device are rotatably arranged. When the sleep assistance system is in operation, the sleep assistance method based on microwave radar for detecting sleep quality is executed.
[0035] Therefore, the present invention provides the following effects and / or advantages:
[0036] The microwave radar of the present application can rotate. The microwave radar searches for the breathing detection area, thereby controlling the microwave radar to rotate and / or translate the center of its scanning area toward the breathing detection area. The center of the scanning area has the best signal-to-noise ratio and the best response to breathing and heartbeat signs, thereby improving the detection accuracy of the microwave radar in detecting breathing waveforms. These vital signs are used to judge the sleep quality, thereby controlling the rotation of the sleep aid device to make it work at the appropriate time and direction.
[0037] The present application can control the rotation and / or translation of the microwave radar to find the breathing detection area, so that the microwave radar used for breathing can be placed in multiple locations indoors, and there is no need to manually adjust the scanning area of the microwave radar before use. The microwave radar can find the breathing detection area and perform vital signs detection by itself.
[0038] The present application calculates the breathing waveform at multiple positions within the area of the micro-motion state, and through the breathing conditions at multiple positions, it is possible to determine whether the scanning center of the microwave radar is facing the part of the human body that reacts to breathing. This can be used to accurately adjust the scanning range of the microwave radar, thereby improving the accuracy of breathing detection.
[0039] The present application uses microwave radar to identify a person's sleeping posture, head position, facial orientation, etc., so as to control a white noise generator to rotate toward the person's head, so that the white noise is more concentrated on the person's head. At the same time, the aromatherapy generator is controlled to rotate toward or away from the person's face, so that the aromatherapy is transmitted to the person's face more gently.
[0040] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description and the drawings.
[0041] It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a flow chart provided for an embodiment of the present invention.
[0043] Figure 2 A schematic diagram of the structure provided for an embodiment of the present invention.
[0044] Figure 3 Schematic diagram for finding the human body position for microwave radar.
[0045] Figure 4Schematic diagram of finding the micromotion area for microwave radar, where the shaded area represents the micromotion area.
[0046] Figure 5 This is a schematic diagram showing that the center of the scanning area of the microwave radar is located at the center of the micro-motion area after rotation.
[0047] Figure 6 It is a schematic diagram of dividing the micro-motion state area into 2*2 square areas when measuring heart rate.
[0048] Figure 7 This is a schematic diagram of dividing the micro-motion state area into four square areas arranged from top to bottom when measuring the respiratory frequency.
[0049] Figure 8 A schematic diagram of adjusting the scanning area of a microwave radar according to breathing frequency.
[0050] Fig. 9 This is the result of controlling the rotation or translation of the white noise generator.
[0051] Fig.10 This is a result of controlling the aromatherapy generator to rotate or translate away from the position of the human head.
[0052] Fig.11 The result is that the aromatherapy generator is controlled to rotate or translate toward the position of the human head.
[0053] Fig.12 Schematic diagram of the calculation method of breathing and heart rate. DETAILED DESCRIPTION
[0054] In order to facilitate understanding by those skilled in the art, the present invention is now described in further detail by way of examples:
[0055] refer to Figure 1-2 , a sleep assistance method based on microwave radar to detect sleep quality, comprising the following steps:
[0056] S1, uses microwave radar to transmit and receive radar signals to find the position of the human body;
[0057] In this embodiment, a radar signal is transmitted by a microwave radar and a radar signal returned by a human body in the room is received. The microwave radar can be placed in the room, for example, on a bedside table, a wall, a wardrobe, etc., without limitation. The microwave radar can scan multiple positions in the room. At this time, the position of the radar or the position of the human body is unknown. The method of searching for a human body by a microwave radar is an existing technology. For example, when the human body is in a sitting or lying state, the human body does not walk or make large body movements, and the preliminary position of the human body is obtained according to the characteristics of the echo data on the microwave radar in this state.
[0058] In this step, the microwave radar can rotate or translate to search for a human body in the room.
[0059] This step is as follows Figure 3 shown.
[0060] S2, controlling the microwave radar to rotate and / or translate to find a vital sign detection area;
[0061] In step S1, the microwave radar finds the position of the human body, and it is necessary to further find the vital sign detection area. This step can be based on the situation that the human body is in a resting state such as sitting or lying down, the human body does not move in a large range, the human body's breathing will produce a small ups and downs, the human body's heartbeat will produce a small shake, etc., and according to the performance of this situation in the radar echo data, the vital sign detection area can be found.
[0062] Because the signal-to-noise ratio of each area within the scanning range of the microwave radar is different, and the position of the human body is unknown before step S1, if the microwave radar does not look for the vital signs detection area but directly extracts vital signs through the microwave radar data returned by the human body's breathing or heartbeat, its data will be affected by external interference and different radar signal-to-noise ratios, and the calculated vital signs data will have problems such as insufficient accuracy. Therefore, this step searches for the vital signs detection area.
[0063] S3, receiving the radar signal returned by the vital sign detection area, and extracting the vital sign from the radar signal.
[0064] In step S2, the human vital sign detection area is found. At this time, only the radar signal of the vital sign detection area is extracted to calculate the vital sign, which can greatly improve the accuracy of the vital sign calculation result. The method of vital sign detection can refer to the existing application with publication number CN118452869A and the name of the method, device, equipment and medium for monitoring vital signs based on millimeter wave radar.
[0065] Alternatively, first construct the ADC data collected by each frame of microwave radar within a period of time as a matrix to be processed, and use the covariance matrix decomposition method to remove the clutter that is significantly different from the useful signal; then use the wavelet denoising method to remove the non-stationary noise, so as to reconstruct the original ADC data. Then, by referring to Fig.12 The provided computational process implements vital signs analysis.
[0066] Further, in step S1, searching for the human body position includes:
[0067] Identify the human body and obtain its position through point cloud data.
[0068] In this step, the microwave radar is used to collect ADC data, perform one-dimensional FFT calculation, two-dimensional FFT calculation, select the target position, and then map the horizontal angle and pitch angle between the human body and the microwave radar and the target to the direct coordinate system, so that the human body can be identified, and the microwave radar is rotated or translated through the horizontal angle and pitch angle between the human body and the microwave radar, so that the human body is located in the middle of the microwave radar scanning area.
[0069] When the human body is in a resting state, the point cloud data corresponding to the reflected radar signal is relatively small. By utilizing the amount of point cloud data in this state, it can be determined that there is a human body at that position when the point cloud data is less than a preset point cloud data amount threshold.
[0070] S4, evaluating the sleep quality according to the vital signs, controlling the working time of the sleep assistance device according to the sleep quality, and controlling the working direction of the sleep assistance device according to the human body position.
[0071] In this step, the evaluation of sleep quality based on the vital signs can be a direct adoption of existing technologies, such as the existing application with publication number CN109464128A and titled Sleep Quality Detection Method, Device and Computer-readable Storage Medium, which determines the number of apnea events that last longer than a preset duration threshold; and determines the corresponding sleep quality based on the determined number of apnea events. Or, such as the existing application with publication number CN112754443A and titled Sleep Quality Detection Method, System, Readable Storage Medium and Mattress, which uses the heart rate information and respiratory rate information of the user when on the preset mattress; calculates the effective sleep duration of the user in the preset time period based on the number of bed leavings and the corresponding bed leaving time each time and the movement information; and calculates the sleep quality score of the user in the preset time period based on the effective sleep duration and the number of bed leavings.
[0072] And, one of the core features of this step is to control the operation of the sleep aid device according to the sleep quality. The sleep aid device controls the working angle, working time, etc. of the sleep aid device according to the sleep quality, so that the sleep aid device can better act on the human body. For example, when the sleep quality is poor, the sleep aid device is controlled to start working.
[0073] Further, step S2 includes:
[0074] S21, determining whether the human body is in a micro-motion state, and if so, rotating and / or translating the microwave radar to an area facing the micro-motion state;
[0075] In this step, the radar signal can be calculated by the micro-motion algorithm to determine whether the human body is in a micro-motion state. The parts of the human body that are in a micro-motion state are generally the chest and abdomen, etc. This area is used to identify the best area for vital sign detection. The micro-motion algorithm can be used to extract the parts of the micro-motion state, such as Figure 4 As shown, in step S1, the microwave radar finds the position of the human body. At this time, the microwave radar can be rotated or translated to face the human body. In this step, by extracting the micro-motion area, the microwave radar can be rotated or translated to face the center of the scanning area toward the chest, abdomen and other parts of the human body, as shown in FIG. Figure 5 shown.
[0076] Since the accuracy of the micro-motion algorithm is average, in this step, when the microwave radar rotates or translates toward the micro-motion area, the chest or abdomen of the human body may not be in the optimal scanning area of the microwave radar.
[0077] S22, calculating vital signs at multiple locations within the region of the micro-motion state;
[0078] In this step, the heartbeat is used as an example to illustrate that the human chest cavity produces a slight tremor under the action of the heartbeat, thereby producing an area in a micro-motion state.
[0079] Theoretically, the frequencies corresponding to the tiny vibrations generated by the human heartbeat at various locations on the chest should be the same. Correspondingly, the heartbeat data calculated from the radar signal reflected back by the tiny vibrations generated by the heartbeat should be the same at multiple locations within the micro-motion state area. Vital signs are calculated at multiple locations within the micro-motion state area obtained in step S21, so as to be used in subsequent steps to determine whether the best signal-to-noise ratio scanning area of the microwave radar is directly corresponding to the human chest.
[0080] S23, if the vital signs at multiple positions are similar, the area in the micro-motion state is determined to be a vital sign detection area; if the vital signs at multiple positions are different, the scanning range of the microwave radar is rotated and / or translated and the process returns to step S21.
[0081] If the vital signs calculated at multiple locations are the same or similar, it means that the best detection area of the microwave radar is right for the micro-movement of vital signs such as the chest or abdomen of the human body. The best detection area of the microwave radar can be considered to be the center of the radar detection area.
[0082] Due to different sleeping postures of the human body, the radar signal of the micro-motion area captured by the microwave radar may be too weak, interfered, or have calculation errors, or the micro-motion signal may be too weak to be captured when it is transmitted from the center of the chest or abdomen to the edge of the human body, resulting in different vital signs calculated at multiple locations. Therefore, this step needs to be performed.
[0083] Preferably, for the heart rate in the vital signs, since the heart is located near the center of the chest cavity, the region of the micro-motion state can be divided into N*N squares, for example, into a 2*2 field-shaped structure, such as Figure 6 As shown, heartbeat detection is performed in each square area in the area. If the heart is located in the exact center of N*N squares, the micro-movements generated by the heartbeat in each square area will be captured by the microwave radar and the heart rate will be calculated to be very close.
[0084] At the same time, when measuring the heart rate, since the chest cavity where the heart is located is located above the human body, in order to facilitate capturing the heart rate, in this step, the area of the micro-motion state close to the human head can first be divided into N*N squares and then the vital signs can be calculated.
[0085] Preferably, for the respiratory rate in the vital signs, since the abdomen of the human body will float up and down during breathing, at this time, the area of the micro-motion state can be divided into N rectangles arranged up and down, for example, 4 rectangles are divided, such as Figure 7 As shown, in this area, the breathing frequency is detected in each rectangular area. If the center of the abdomen is located at the center of N rectangles, the micro-movements generated by the ups and downs of the abdomen in each rectangular area are captured by the microwave radar and the breathing frequency is calculated to be very close.
[0086] At the same time, when measuring the respiratory rate, since the abdomen is located in the middle of the human body, in order to facilitate capturing the respiratory rate, in this step, the area of the micro-motion state close to the human legs can be first divided into N rectangles and then the vital signs can be calculated.
[0087] The legs or head of the human body can be identified using existing technologies.
[0088] Therefore, through this step, it is found whether the center of the scanning range of the microwave radar is located at the center of the human body part from which the vital signs data can be extracted. At this time, the radar data obtained by the microwave radar can correctly reflect the vital signs of the human body. If the vital signs of multiple positions are different, the microwave radar can be rotated or moved to make the scanning area of the microwave radar translate or rotate, thereby changing the center point of the scanning area of the microwave radar.
[0089] Furthermore, before step S21, execute:
[0090] S20, record and update the radar signal in real time, and enter step S21 when the number of point clouds of the radar signal is less than the preset number threshold, and use the human body position when the number of point clouds of the radar signal is less than the preset number threshold as the micro-motion position.
[0091] In this embodiment, if the human body is stationary, the number of point clouds of the radar signal will become very small. By presetting a quantity threshold, it can be determined that the human body is in a stationary state when the number is reduced to below the preset quantity threshold.
[0092] Further, step S22 includes:
[0093] The region in the micro-motion state is divided into a plurality of sub-regions at equal intervals, and the vital signs of the plurality of sub-regions are calculated.
[0094] Further, dividing the region in the micro-motion state into a plurality of sub-regions at equal intervals, and calculating the vital signs of the plurality of sub-regions comprises:
[0095] The radar signal in the area of the micro-motion state is equally divided and the phases are calculated respectively;
[0096] Multiple phases are calculated through a vital sign algorithm to obtain multiple vital signs.
[0097] In this step, you can refer to Figure 7 Or 8, thereby dividing the area of the micro-motion state into equal intervals.
[0098] Specifically, the phase data of the micro-motion area can be extracted first, and the phase data can be phase unwrapped to generate unwrapped data; then the unwrapped data can be preprocessed, and the preprocessed unwrapped data can be subjected to FFT operation to generate heart rate data and track the heart rate data. For details, reference can be made to the existing application entitled "Method, device, equipment and medium for monitoring vital signs based on millimeter wave radar" with publication number CN118452869A.
[0099] Further, if the vital signs of multiple positions are different, the scanning range of the microwave radar is rotated and / or translated according to the vital signs of multiple sub-areas and the process returns to step S21.
[0100] Further, rotating and / or translating the microwave radar according to the vital signs of the plurality of sub-areas comprises:
[0101] Calculate the mean of vital signs of multiple sub-areas;
[0102] The microwave radar is rotated and / or translated toward the sub-region where the vital sign is close to the vital sign mean value.
[0103] In this step, if Figure 8As shown, assuming that the respiratory rates from multiple positions on the abdomen calculated in the above steps are 15, 20, 21, and 20 (times / minute), respectively, the calculated average is 19, and the sub-areas with respiratory rates of 20, 21, and 20 are areas where vital signs are close to the mean of the vital signs. At this time, the scanning range of the microwave radar needs to be adjusted downward.
[0104] Furthermore, the following steps are performed to determine whether the vital signs at multiple locations are similar:
[0105] The standard deviation of the vital signs at the multiple locations is calculated. If the standard deviation is less than a preset standard deviation threshold, the vital signs at the multiple locations are similar.
[0106] Furthermore, the sleep aid device includes one or more of a white noise generator and an aromatherapy generator.
[0107] Furthermore, in step S1, after finding the position of the human body, the following steps are performed: recognizing the sleeping posture of the human body to obtain the position of the human head and the orientation of the face;
[0108] In step S4, controlling the operation of the sleep aid device according to the sleep quality includes:
[0109] Controlling the white noise generator to rotate or translate toward the position of the human head and start generating white noise; and / or,
[0110] If the face is facing the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face away from the top of the human head and start to generate aromatherapy. If the face is facing away from the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face the top of the human head and start to generate aromatherapy.
[0111] The results of controlling the rotation or translation of the white noise generator can be referred to Fig. 9 The persistence and predictability of white noise can help people fall asleep faster and stay asleep longer. In this step, the position of the human head and the orientation of the face can be obtained to emit white noise toward the human head, so that the white noise is concentrated on the position of the human head and prevents the white noise from spreading to other positions in the space, thereby reducing the energy of the white noise.
[0112] The result of controlling the aromatherapy generator to rotate or translate away from the position of the human head can be referred to Fig.10 The result of controlling the aromatherapy generator to rotate or translate toward the human head position can be referred to Fig.11This step can identify the direction of the human head, thereby controlling the rotation of the aromatherapy generator so that the aromatherapy mist generated by the aromatherapy generator is not directly directed toward the human face, preventing the aromatherapy from spreading too close to the human face and making people feel pungent, and ultimately allowing the aromatherapy to spread more gently to the human body.
[0113] Furthermore, the vital signs include heartbeat and breathing. In step S4, the sleep quality of the human body is evaluated according to the number of apnea, the stability of changes in heart rate and breathing frequency, and the body movement value.
[0114] Specifically, this step can calculate the Lyapunov index of the respiratory waveform. If the Lyapunov index of the respiratory waveform is abnormal, proceed to the next step;
[0115] The number of times the respiratory waveform deviates from the respiratory baseline and the number of times the respiratory waveform has a respiratory count of 0 are counted; if the sum of the number of times the respiratory waveform deviates from the respiratory baseline and the number of times the respiratory waveform has a respiratory count of 0 is greater than a preset number threshold, it is determined that the respiratory waveform contains a respiratory feature corresponding to sleep apnea.
[0116] The sleep quality of a person is identified through the occurrence of sleep apnea. The more sleep apnea occurs, the worse the sleep quality.
[0117] Alternatively, the sleep quality can be judged by analyzing the stability of changes in heart rate and respiratory frequency, for example, by calculating the Lyapunov index of respiratory waveform or heart rate changes. The Lyapunov index is used to represent the numerical characteristics of the average exponential divergence rate of adjacent trajectories in phase space. If the Lyapunov index of the heart rate or respiratory waveform is abnormal, it can be considered that the respiratory waveform is abnormal. If the Lyapunov index is greater than 0, it means that the adjacent trajectories of the heart rate or respiratory waveform will diverge over time, indicating that the system exhibits chaotic behavior. On the contrary, if the Lyapunov index is less than 0, the heart rate or respiratory waveform will tend to be stable and insensitive to the initial state of the heart rate or respiratory waveform, that is, the mapping is insensitive to the initial value; when the index is equal to 0, the heart rate or respiratory waveform is in a stable state. Therefore, by calculating and analyzing the Lyapunov index, it is possible to intuitively judge whether the heart rate or respiratory waveform is in a chaotic state. When the human body is in a chaotic state, the sleep quality is poor.
[0118] Or calculate the sleep quality of the human body through body movement values.
[0119] In this embodiment, the body motion value can be used to find the maximum value in the distance index range of 1-40 after performing 2DFFT on the radar signal, and stored in the body motion array of 10 frames of historical data. The body motion array is summed. If the sum of the body motion array is greater than 200, it is determined that the human body's sleep quality is poor.
[0120] Furthermore, the number of turning over is calculated according to the body movement value, and the time of falling asleep, the number of turning over, the time of getting up, and the abnormal heart rate are output.
[0121] In this embodiment, if the sum of the body movement array is greater than 600, it can be determined that the person has turned over. The time to get up can be determined by the disappearance of micro-movements after the sum of the body movement array is greater than 600. The abnormal heart rate can be the number of times or duration of unstable heart rate.
[0122] Further, it includes S5, controlling the volume of the white noise generator according to the sleep quality, the worse the sleep quality, the louder the volume; and / or controlling the dosage of the aromatherapy generator according to the sleep quality, the worse the sleep quality, the louder the dosage.
[0123] In this embodiment, the sleep quality can be obtained through the above calculation. When the sleep quality is worse, the dosage of the aromatherapy generator can be increased, and the volume of the white noise can be increased, so that the human body can obtain a more comfortable sleeping environment. White noise can play the role of "shielding noise", which can weaken the harsh sounds around the environment, thereby creating a good sleeping environment. Aromatherapy can help people get a pleasant mood. And, after the user falls asleep, the white noise or aromatherapy can be gradually turned off. The user can be judged to fall asleep when the user's heart rate or breathing rate decreases and stabilizes.
[0124] S6, selecting white noise music generated by the white noise generator according to the sleep quality, and / or selecting an aromatherapy formula of the aromatherapy generator according to the sleep quality.
[0125] In this embodiment, the white noise music can be one or more of the sounds of rain, wind, waves, insects, instrumental music, etc. When the sleep quality is poor, the sound of rain, wind, waves, etc. can be played to help the user fall asleep. When the sleep quality is good, the sound of the instrumental music can be played to help the user relax.
[0126] In this embodiment, the aromatherapy can be in the form of a solvent, which is released by ultrasonic atomization or heating volatilization. The aromatherapy formula can be one or more of lavender essential oil, ylang-ylang essential oil, sweet orange essential oil, bergamot essential oil, frankincense essential oil, rose essential oil, etc. When the sleep quality is poor, one or more of lavender essential oil, ylang-ylang essential oil, and sweet orange essential oil can be selected to help the user fall asleep. When the sleep quality is good, one or more of bergamot essential oil, frankincense essential oil, and rose essential oil can be selected to help the user relax.
[0127] Further provide a sleep assistance system based on microwave radar to detect sleep quality, reference Figure 2, comprising: a base, on which a millimeter wave radar 1 is rotatably arranged, and a sleep aid device, wherein when the sleep aid system is in operation, the sleep aid method based on microwave radar detection of sleep quality is executed. The sleep aid device comprises a white noise generator 2 and an aromatherapy generator 3.
[0128] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0129] The present invention is described with reference to flowcharts and / or block diagrams of methods, systems (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0131] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms should not be understood as necessarily referring to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
Claims
1. A sleep assistance method based on microwave radar to detect sleep quality, characterized in that: The following steps are involved: S1, uses microwave radar to transmit and receive radar signals to find the position of the human body; S2, controlling the microwave radar to rotate and / or translate to find a vital sign detection area; S3, receiving the radar signal returned by the vital sign detection area, and extracting the vital sign from the radar signal; S4, evaluating the sleep quality according to the vital signs, controlling the working time of the sleep assistance device according to the sleep quality, and controlling the working direction of the sleep assistance device according to the human body position.
2. The sleep assistance method based on microwave radar detection of sleep quality according to claim 1, characterized in that: Step S2 includes: S21, determining whether the human body is in a micro-motion state, and if so, rotating and / or translating the microwave radar to an area facing the micro-motion state; S22, calculating vital signs at multiple locations within the region of the micro-motion state; S23, if the vital signs at multiple positions are similar, the area in the micro-motion state is determined to be a vital sign detection area; if the vital signs at multiple positions are different, the scanning range of the microwave radar is rotated and / or translated and the process returns to step S21.
3. The sleep assistance method based on microwave radar detection of sleep quality according to claim 2, characterized in that: Step S22 includes: The region in the micro-motion state is divided into a plurality of sub-regions at equal intervals, and the vital signs of the plurality of sub-regions are calculated.
4. The sleep assistance method based on microwave radar detection of sleep quality according to claim 3, characterized in that: Dividing the micro-motion state region into a plurality of sub-regions at equal intervals, and calculating the vital signs of the plurality of sub-regions comprises: The radar signal in the area of the micro-motion state is equally divided and the phases are calculated respectively; Multiple phases are calculated through a vital sign algorithm to obtain multiple vital signs.
5. The sleep assistance method based on microwave radar detection of sleep quality according to claim 4, characterized in that: If the vital signs at multiple locations are different, the scanning range of the microwave radar is rotated and / or translated according to the vital signs of the multiple sub-areas and the process returns to step S21; Rotating and / or translating the microwave radar according to the vital signs of the plurality of sub-areas comprises: Calculate the mean of vital signs of multiple sub-areas; The microwave radar is rotated and / or translated toward the sub-region where the vital sign is close to the vital sign mean value.
6. The sleep assistance method based on microwave radar detection of sleep quality according to claim 1, characterized in that: The sleep aid device includes one or more of a white noise generator and an aromatherapy generator, and the white noise generator and the aromatherapy generator are rotatable respectively; In step S1, after finding the position of the human body, the following steps are performed: recognizing the sleeping posture of the human body to obtain the position of the human head and the orientation of the face; In step S4, controlling the operation of the sleep aid device according to the sleep quality includes: Controlling the white noise generator to rotate or translate toward the position of the human head and start generating white noise; and / or, If the face is facing the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face away from the top of the human head and start to generate aromatherapy. If the face is facing away from the aromatherapy generator, the aromatherapy generator is controlled to rotate or translate so as to face the top of the human head and start to generate aromatherapy.
7. The sleep assistance method based on microwave radar detection of sleep quality according to claim 6, characterized in that: The vital signs include heartbeat and breathing. In step S4, the sleep quality of the human body is evaluated according to the number of apnea, the stability of changes in heart rate and breathing frequency, and the body movement value.
8. The sleep assistance method based on microwave radar detection of sleep quality according to claim 7, characterized in that: The number of turning over is calculated according to the body movement value, and the time of falling asleep, the number of turning over, the time of getting up, and the abnormal heart rate are output.
9. The sleep assistance method based on microwave radar detection of sleep quality according to claim 7, characterized in that: include: S5, controlling the volume of the white noise generator according to the sleep quality, the worse the sleep quality, the louder the volume; and / or, controlling the dosage of the aromatherapy generator according to the sleep quality, the worse the sleep quality, the greater the dosage; S6, selecting white noise music generated by the white noise generator according to the sleep quality, and / or selecting an aromatherapy formula of the aromatherapy generator according to the sleep quality.
10. A sleep assistance system based on microwave radar to detect sleep quality, characterized in that: include: A base, on which a millimeter-wave radar and a sleep aid device are rotatably arranged. When the sleep aid system is in operation, a sleep aid method based on microwave radar for detecting sleep quality according to any one of claims 1 to 9 is executed.
Citation Information
Patent Citations
Sleep quality detecting method and device and computer readable storage medium
CN109464128A
Sleep quality detection method and system, readable storage medium and mattress
CN112754443A
Millimeter wave radar-based vital sign monitoring method, apparatus and device, and medium
CN118452869A