CN114027832A - Sleep quality detection method and device and ring - Google Patents

Sleep quality detection method and device and ring Download PDF

Info

Publication number
CN114027832A
CN114027832A CN202111329062.3A CN202111329062A CN114027832A CN 114027832 A CN114027832 A CN 114027832A CN 202111329062 A CN202111329062 A CN 202111329062A CN 114027832 A CN114027832 A CN 114027832A
Authority
CN
China
Prior art keywords
module
sleep
detection module
sleep quality
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111329062.3A
Other languages
Chinese (zh)
Inventor
师立兵
侯天雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longfen Technology Shenzhen Co ltd
Original Assignee
Longfen Technology Shenzhen Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Longfen Technology Shenzhen Co ltd filed Critical Longfen Technology Shenzhen Co ltd
Priority to CN202111329062.3A priority Critical patent/CN114027832A/en
Publication of CN114027832A publication Critical patent/CN114027832A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • A61B5/14551Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • A61B5/1118Determining activity level
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14542Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring blood gases
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4812Detecting sleep stages or cycles
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4815Sleep quality
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6813Specially adapted to be attached to a specific body part
    • A61B5/6825Hand
    • A61B5/6826Finger
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes
    • G01K13/20Clinical contact thermometers for use with humans or animals

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Optics & Photonics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Physiology (AREA)
  • Dentistry (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses a sleep quality detection method, a sleep quality detection device and a ring, and relates to the technical field of sleep quality detection. The invention comprises the following steps: the finger ring is worn on the finger of a user in advance, and the monitoring device is placed in a bedroom; the ring collects the characteristic parameters and the turnover times of the user during sleeping; the monitoring equipment collects environmental data in a bedroom; acquiring a coping strategy according to the sleep characteristic parameters and the data corresponding to the environment data in the bedroom, and controlling the corresponding intelligent household appliances to adjust the environment in the bedroom; and calculating the sleep quality evaluation standard of the user and giving a detection quality report. According to the invention, the blood oxygen detection module and the turnover detection module are arranged in the ring, so that the sleep state and the body blood oxygen condition of the user in the sleep process are monitored, the intelligent household appliance is regulated and controlled according to indoor environment data collected by monitoring equipment in a bedroom, and a sleep quality report is generated, so that the sleep quality of the user can be conveniently and accurately judged, and the sleep quality detection accuracy is improved.

Description

Sleep quality detection method and device and ring
Technical Field
The invention belongs to the technical field of sleep quality monitoring, and particularly relates to a sleep quality detection method, a sleep quality detection device and a ring.
Background
Sleep is becoming more and more important in modern social life as a basic physiological requirement essential to humans. Good sleep quality is more significant to people, and learning and work can be done only under the guarantee of high-quality sleep. In addition, the quality of sleep is closely related to the physical health of a person, and the health of a person is affected by poor sleep quality and lack of sleep. If the sleep quality is poor, it becomes very irritable initially, and it is full of repulsive feeling to all the outside people and things. As the sleep condition further worsens, it leads to depressed mood, and even more, may cause other serious adverse consequences. Insomnia is a serious concern that seriously threatens the health of people because the insomnia easily causes endocrine dyscrasia, influences memory and even influences the nervous system to cause cardiovascular diseases, so that the probability of suffering diseases such as hypertension, apoplexy, diabetes and the like is obviously increased. According to related researches, with the acceleration of life rhythm of people, insomnia is a common disease at present, and the normal work and life of people are seriously influenced.
At present, a sleep detector in the prior art can only simply inform a user of sleep duration, and does not quantitatively evaluate sleep quality; meanwhile, improvement suggestions are not made in a targeted manner; and thus cannot substantially improve the sleep condition. In addition to this, environmental factors are also an important factor affecting sleep quality.
Disclosure of Invention
The invention aims to provide a sleep quality detection method, a sleep quality detection device and a ring, wherein a sensor is arranged in the ring to monitor the sleep state of a user, indoor environment data is collected by a monitoring device in a bedroom, and the indoor environment is adjusted according to the sleep quality of the user, so that the problems that the existing sleep quality of the user is poor and the sleep quality is not improved are solved.
In order to solve the technical problems, the invention is realized by the following technical scheme:
the invention relates to a sleep quality detection method, which comprises the following steps:
step S1: the finger ring is worn on the finger of a user in advance, and the monitoring device is placed in a bedroom;
step S2: the ring collects the characteristic parameters and the turnover times of the user during sleeping;
step S3: the monitoring equipment collects environmental data in a bedroom;
step S4: analyzing the sleep characteristic parameters of the user and identifying the types of the characteristic parameters carried in the sleep characteristic parameters of the user;
step S5: acquiring an evaluation standard corresponding to each characteristic parameter in the user sleep characteristic parameters according to the corresponding relation between the sleep characteristic parameters and the sleep quality;
step S6: acquiring a coping strategy according to the sleep characteristic parameters and the data corresponding to the environment data in the bedroom, and controlling the corresponding intelligent household appliances to adjust the environment in the bedroom;
step S7: and calculating the sleep quality evaluation standard of the user and giving a detection quality report.
As a preferable technical solution, in the step S3, the number of turns is acquired and determined by a six-axis acceleration gyroscope installed in the finger ring, and the specific acquisition and determination steps are as follows:
step S31: the six-axis acceleration gyroscope is used for acquiring three axial accelerations which are a transverse rolling shaft, a yaw shaft and a pitch shaft when a user sleeps;
step S32: defining variable AR、AY、APRespectively representing the average acceleration values of three axes of roll, yaw and pitch, and defining a variable D representing AR、AY、APThe formula is as follows:
Dt+1=(ARt+1-ARt)2+(AYt+1-AYt)2+(APt+1-APt)2
in the formula, Dt+1Representing a difference in posture, in units of G2T represents time, the unit is min, the posture difference is calculated through the average acceleration change of each axial direction of two adjacent time points, and the posture difference is reflected in the average acceleration change of each axial direction in front and back 1 minute;
step S33: taking the posture difference value larger than the set threshold value as a judgment condition for effective turnover in the sleeping process;
step S34: and (4) carrying out attitude calculation by combining the acceleration and angular velocity original data values of the three axes, and calculating the corresponding angle values of the three axes.
As a preferable technical solution, in step S34, the calculation method of the roll axis, yaw axis and pitch axis angles is as follows:
step J1: definition of
Figure BDA0003348233120000031
Theta and psi respectively represent rotation angles of z, y and z axes, and a roll angle, a yaw angle and a pitch angle are represented by Euler angles;
step J2: constructing a quaternion by the rotation axis and the angle of rotation around the rotation axis;
step J3: carrying out formula conversion from quaternion to Euler angle, wherein the formula is as follows:
Figure BDA0003348233120000032
step J4: the Euler angles corresponding to the human body postures are obtained through conversion and are respectively a roll angle, a yaw angle and a pitch angle, and the formula is as follows:
Figure BDA0003348233120000033
step J5: comparing the angle change of each shaft angle with a threshold value to obtain:
Figure BDA0003348233120000041
in the formula, BRt+1And BRtRespectively representing the roll angle at the time t +1 and the roll angle at the time t; b isYt+1And BYtRespectively representing the yaw angle at the time t +1 and the time t; b isPt+1And BPtRespectively representing the pitch angles at the t +1 moment and the t moment; t is1、T2、T3Respectively indicating roll angle and yawThresholds for angle and pitch angle changes;
step J6: two or more conditions of step J5 are met, a valid roll-over of the recording occurs.
As a preferable technical solution, in the step J6, the time interval between two adjacent flips is compared with a threshold value, and whether the user belongs to deep sleep or shallow sleep in the current time period is obtained; when the time interval between two adjacent turns is smaller than a threshold value, shallow sleep is judged, and when the time interval is larger than or equal to the threshold value, deep sleep is judged, wherein the specific formula is as follows:
Figure BDA0003348233120000042
in the formula, RTiRepresenting the corresponding point in time at which the ith flip occurred; t denotes a threshold size.
The invention relates to a sleep quality detection device, which comprises a ring, a monitoring device and an intelligent household appliance,
the ring is worn on a finger of a user; a body temperature detection module, a blood oxygen detection module, a turnover detection module, a Bluetooth wireless communication module and a DA14580 core control module are arranged in the ring; the Bluetooth wireless communication module is respectively connected with the body temperature detection module, the blood oxygen detection module and the turnover detection module;
the monitoring equipment is placed in a bedroom; the monitoring equipment is internally provided with a noise detection module, a gas detection module, a room temperature detection module, a light intensity detection module, a temperature and humidity detection module, a control module, a Bluetooth wireless communication module, a communication module and a human-computer interaction module; the control module is respectively connected with the noise detection module, the gas detection module, the room temperature detection module, the light intensity detection module, the temperature and humidity detection module, the Bluetooth wireless communication module, the communication module and the human-computer interaction module;
the human-computer interaction module is used for displaying the sleep quality evaluation and improving the scheme.
As a preferred technical solution, the blood oxygen detection module includes a photoelectric blood oxygen sensor access circuit, an integrated analog AFE4404 signal acquisition circuit, and an MCU main control circuit; the integrated analog AFE4404 signal acquisition circuit comprises an I-V converter, a control module, an LED driving module, an LED current control digital-to-analog converter and a serial peripheral interface; the I-V converter is connected with the control module through the filter amplifier and the ADC in sequence; the LED driving module is connected with the control module through the LED current control digital-to-analog converter and the time schedule controller in sequence; the output end of the time schedule controller is respectively connected with the filter amplifier, the ADC converter and the LED current control digital-to-analog converter; the control module is bidirectionally connected with the serial peripheral interface; the integrated analog AFE4404 signal acquisition circuit is connected with the MCU main control circuit through a serial peripheral interface;
the photoelectric blood oxygen sensor access circuit comprises red light, infrared light and a photosensitive diode; the red light and the infrared light are connected with the LED driving module; the photosensitive diode is connected with the I-V converter.
As a preferred technical solution, the integrated analog AFE4404 signal acquisition circuit includes an LED transmission channel and a PD reception channel; the LED transmission channel is used for driving the light emitting diode to alternately emit light under the frequency of the driving current; the PD receiving channel is used for performing I-V conversion, photoelectric signal correction, circuit high-frequency noise filtering and AD conversion.
As a preferred technical scheme, the ring further comprises a calendar clock module and a FLASH memory module; the overturning detection module is a six-axis acceleration gyroscope MPU605 and is used for overturning detection of a user; the FLASH storage module is W25X20CL in model number and is used for storing data and programs; the clock module is a PCF8563 chip; the DA14580 core control module controls an MPU6050 acceleration gyroscope to perform turnover detection, stores acquired data into a W25X2OCL, and controls a PCF8563 to set and synchronize clocks; when data synchronization is needed, the DA14580 reads data from FLASH and sends the data to the indoor placing part through the Bluetooth wireless communication module embedded in the DA 14580.
The invention discloses a ring for a sleep quality detection method, which comprises a ring main body (1), wherein the ring main body (1) is of a tubular structure; a groove (101) is formed in the inner wall of the ring main body (1); the groove (101) extends along the axial direction of the ring main body (1) and penetrates through two end faces of the ring main body (1); a body temperature detection module (102) is placed in the groove (101); the inner walls of the finger ring main bodies (1) at the two sides of the groove (101) are provided with accommodating grooves (2); the two accommodating grooves (2) are oppositely arranged; a blood oxygen detection module (201) and a turnover detection module (202) are respectively arranged in the two containing grooves (2); transparent silica gel is filled in the two accommodating grooves (2);
the ring main body (1) is provided with a wiring terminal (3); an electric connecting wire connected with the blood oxygen detection module (201) and the turnover detection module (202) is arranged in the terminal (3).
As a preferable technical scheme, the circumferential extension of the groove (101) of the finger ring main body (1) is arc-shaped, the finger ring main body (1) is of a circular tubular structure, the groove (101) is concentrically arranged with the outer wall of the finger ring main body (1) in the circumferential direction, and the central angle of the groove (101) is 30-180 degrees.
The invention has the following beneficial effects:
according to the invention, the blood oxygen detection module and the turnover detection module are arranged in the ring, so that the sleeping state and the body blood oxygen condition of the user in the sleeping process are monitored, meanwhile, indoor environment data are collected by the monitoring equipment in the bedroom to regulate and control the intelligent household appliances in the bedroom, the user is ensured to be in the optimal sleeping environment, the sleeping quality report is generated, the sleeping quality of the user is conveniently and accurately judged, and the sleeping quality detection accuracy is improved.
Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a method for sleep quality detection according to the present invention;
FIG. 2 is a schematic structural diagram of a sleep quality detection apparatus according to the present invention;
fig. 3 is a schematic structural diagram of a sleep quality detection ring according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention is a sleep quality detection method, including the following steps:
step S1: the finger ring is worn on the finger of a user in advance, and the monitoring device is placed in a bedroom;
step S2: the ring collects the characteristic parameters and the turnover times of the user during sleeping;
step S3: the monitoring equipment collects environmental data in a bedroom;
step S4: analyzing the sleep characteristic parameters of the user and identifying the types of the characteristic parameters carried in the sleep characteristic parameters of the user;
step S5: acquiring an evaluation standard corresponding to each characteristic parameter in the user sleep characteristic parameters according to the corresponding relation between the sleep characteristic parameters and the sleep quality;
step S6: acquiring a coping strategy according to the sleep characteristic parameters and the data corresponding to the environment data in the bedroom, and controlling the corresponding intelligent household appliances to adjust the environment in the bedroom;
step S7: and calculating the sleep quality evaluation standard of the user and giving a detection quality report.
In step S3, the number of turns is acquired and determined by a six-axis acceleration gyroscope installed in the finger ring, and the specific acquisition and determination steps are as follows:
step S31: the six-axis acceleration gyroscope is used for acquiring three axial accelerations which are a transverse rolling shaft, a yaw shaft and a pitch shaft when a user sleeps;
step S32: defining variable AR、AY、APRespectively representing the average acceleration values of three axes of roll, yaw and pitch, and defining a variable D representing AR、AY、APThe formula is as follows:
Dt+1=(ARt+1-ARt)2+(AYt+1-AYt)2+(APt+1-APt)2
in the formula, Dt+1Representing a difference in posture, in units of G2T represents time, the unit is min, the posture difference is calculated through the average acceleration change of each axial direction of two adjacent time points, and the posture difference is reflected in the average acceleration change of each axial direction in front and back 1 minute;
step S33: taking the posture difference value larger than the set threshold value as a judgment condition for effective turnover in the sleeping process;
step S34: and (4) carrying out attitude calculation by combining the acceleration and angular velocity original data values of the three axes, and calculating the corresponding angle values of the three axes.
In step S34, the calculation method of the roll axis, yaw axis, and pitch axis angles is as follows:
step J1: definition of
Figure BDA0003348233120000081
Theta and psi respectively represent rotation angles of z, y and z axes, and a roll angle, a yaw angle and a pitch angle are represented by Euler angles;
step J2: constructing a quaternion by the rotation axis and the angle of rotation around the rotation axis;
step J3: carrying out formula conversion from quaternion to Euler angle, wherein the formula is as follows:
Figure BDA0003348233120000091
step J4: the Euler angles corresponding to the human body postures are obtained through conversion and are respectively a roll angle, a yaw angle and a pitch angle, and the formula is as follows:
Figure BDA0003348233120000092
step J5: comparing the angle change of each shaft angle with a threshold value to obtain:
Figure BDA0003348233120000093
in the formula, BRt+1And BRtRespectively representing the roll angle at the time t +1 and the roll angle at the time t; b isYt+1And BYtRespectively representing the yaw angle at the time t +1 and the time t; b isPt+1And BPtRespectively representing the pitch angles at the t +1 moment and the t moment; t is1、T2、T3Respectively representing the threshold values of roll angle, yaw angle and pitch angle changes;
step J6: two or more conditions of step J5 are met, a valid roll-over of the recording occurs.
Step J6, comparing the time interval between two adjacent turns with a threshold value to obtain whether the user belongs to deep sleep or shallow sleep in the current time period; when the time interval between two adjacent turns is smaller than a threshold value, shallow sleep is judged, and when the time interval is larger than or equal to the threshold value, deep sleep is judged, wherein the specific formula is as follows:
Figure BDA0003348233120000094
in the formula, RTiRepresenting the corresponding point in time at which the ith flip occurred; t represents the size of the threshold, and the detection is most accurate when T is 20min after multiple experiments.
Referring to fig. 2, the present invention is a sleep quality detection apparatus, which comprises a ring, a monitoring device and an intelligent appliance,
the ring is worn on the finger of the user; a body temperature detection module, a blood oxygen detection module, a turnover detection module, a Bluetooth wireless communication module and a DA14580 core control module are arranged in the ring; the Bluetooth wireless communication module is respectively connected with the body temperature detection module, the blood oxygen detection module and the turnover detection module;
the monitoring equipment is placed in a bedroom; the monitoring equipment is internally provided with a noise detection module, a gas detection module, a room temperature detection module, a light intensity detection module, a temperature and humidity detection module, a control module, a Bluetooth wireless communication module, a communication module and a human-computer interaction module; the control module is respectively connected with the noise detection module, the gas detection module, the room temperature detection module, the light intensity detection module, the temperature and humidity detection module, the Bluetooth wireless communication module, the communication module and the human-computer interaction module;
and the human-computer interaction module is used for displaying the sleep quality evaluation and improving the scheme.
The blood oxygen detection module comprises a photoelectric blood oxygen sensor access circuit, an integrated analog AFE4404 signal acquisition circuit and an MCU main control circuit; the integrated analog AFE4404 signal acquisition circuit comprises an I-V converter, a control module, an LED drive module, an LED current control digital-to-analog converter and a serial peripheral interface; the I-V converter is connected with the control module through the filter amplifier and the ADC in sequence; the LED driving module is connected with the control module through the LED current control digital-to-analog converter and the time schedule controller in sequence; the output end of the time schedule controller is respectively connected with the filter amplifier, the ADC converter and the LED current control digital-to-analog converter; the control module is bidirectionally connected with the serial peripheral interface; the integrated analog AFE4404 signal acquisition circuit is connected with the MCU main control circuit through a serial peripheral interface;
the photoelectric blood oxygen sensor access circuit comprises red light, infrared light and a photosensitive diode; the red light and the infrared light are connected with the LED driving module; the photodiode is connected to the I-V converter.
The integrated analog AFE4404 signal acquisition circuit comprises an LED transmission channel and a PD receiving channel; the LED transmission channel is used for driving the light emitting diode to alternately emit light under the frequency of the driving current; the PD receiving channel is used for I-V conversion, photoelectric signal correction, circuit high-frequency noise filtering and AD conversion.
The ring also comprises a calendar clock module and a FLASH storage module; the overturning detection module is a six-axis acceleration gyroscope MPU605 and is used for carrying out overturning detection on the user; the model of the FLASH storage module is W25X20CL, and the FLASH storage module is used for storing data and programs; the clock module is a PCF8563 chip; the DA14580 core control module controls the MPU6050 acceleration gyroscope to perform turnover detection, stores the acquired data into the W25X2OCL, and controls the PCF8563 to set and synchronize clocks; when data synchronization is needed, the DA14580 reads data from FLASH and sends the data to the indoor placing part through the Bluetooth wireless communication module embedded in the DA 14580.
Referring to fig. 3, the ring for sleep quality detection according to the present invention includes a ring body 1, wherein the ring body 1 has a tubular structure; the inner wall of the ring main body 1 is provided with a groove 101; the groove 101 extends along the axial direction of the ring main body 1 and penetrates through two end faces of the ring main body 1; a body temperature detection module 102 is arranged in the groove 101; the inner wall of the ring main body 1 at the two sides of the groove 101 is provided with a containing groove 2; the two accommodating grooves 2 are oppositely arranged; the two accommodating grooves 2 are internally provided with a blood oxygen detection module 201 and an overturning detection module 202 respectively; transparent silica gel is filled in the two accommodating grooves 2;
the ring body 1 is provided with a wiring terminal 3; the terminal 3 is internally provided with an electric connection wire connected with the blood oxygen detection module 201 and the turnover detection module 202.
The circumferential extension of the groove 101 of the finger ring main body 1 is arc-shaped, the finger ring main body 1 is of a circular tubular structure, the groove 101 is concentrically arranged with the outer wall of the finger ring main body 1 in the circumferential direction, and the central angle of the groove 101 is 30-180 degrees.
It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing associated hardware, and the corresponding program may be stored in a computer-readable storage medium.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims (10)

1. A sleep quality detection method is characterized by comprising the following steps:
step S1: the finger ring is worn on the finger of a user in advance, and the monitoring device is placed in a bedroom;
step S2: the ring collects the characteristic parameters and the turnover times of the user during sleeping;
step S3: the monitoring equipment collects environmental data in a bedroom;
step S4: analyzing the sleep characteristic parameters of the user and identifying the types of the characteristic parameters carried in the sleep characteristic parameters of the user;
step S5: acquiring an evaluation standard corresponding to each characteristic parameter in the user sleep characteristic parameters according to the corresponding relation between the sleep characteristic parameters and the sleep quality;
step S6: acquiring a coping strategy according to the sleep characteristic parameters and the data corresponding to the environment data in the bedroom, and controlling the corresponding intelligent household appliances to adjust the environment in the bedroom;
step S7: and calculating the sleep quality evaluation standard of the user and giving a detection quality report.
2. The sleep quality detection method according to claim 1, wherein in the step S3, the number of turns is collected and determined by a six-axis acceleration gyroscope installed in the finger ring, and the specific collection and determination steps are as follows:
step S31: the six-axis acceleration gyroscope is used for acquiring three axial accelerations which are a transverse rolling shaft, a yaw shaft and a pitch shaft when a user sleeps;
step S32: defining variable AR、AY、APRespectively representing the average acceleration values of three axes of roll, yaw and pitch, and defining a variable D representing AR、AY、APThe formula is as follows:
Dt+1=(ARt+1-ARt)2+(AYt+1-AYt)2+(APt+1-APt)2
in the formula, Dt+1Representing a difference in posture, in units of G2T represents time, the unit is min, the posture difference is calculated through the average acceleration change of each axial direction of two adjacent time points, and the posture difference is reflected in the average acceleration change of each axial direction in front and back 1 minute;
step S33: taking the posture difference value larger than the set threshold value as a judgment condition for effective turnover in the sleeping process;
step S34: and (4) carrying out attitude calculation by combining the acceleration and angular velocity original data values of the three axes, and calculating the corresponding angle values of the three axes.
3. The sleep quality detection method according to claim 2, wherein in the step S34, the calculation method of the roll axis, yaw axis and pitch axis angles is as follows:
step J1: definition of
Figure FDA0003348233110000024
Theta and psi respectively represent rotation angles of z, y and z axes, and a roll angle, a yaw angle and a pitch angle are represented by Euler angles;
step J2: constructing a quaternion by the rotation axis and the angle of rotation around the rotation axis;
step J3: carrying out formula conversion from quaternion to Euler angle, wherein the formula is as follows:
Figure FDA0003348233110000021
step J4: the Euler angles corresponding to the human body postures are obtained through conversion and are respectively a roll angle, a yaw angle and a pitch angle, and the formula is as follows:
Figure FDA0003348233110000022
step J5: comparing the angle change of each shaft angle with a threshold value to obtain:
Figure FDA0003348233110000023
in the formula, BRt+1And BRtRespectively representing the roll angle at the time t +1 and the roll angle at the time t; b isYt+1And BYtRespectively representing the yaw angle at the time t +1 and the time t; b isPt+1And BPtRespectively representing the pitch angles at the t +1 moment and the t moment; t is1、T2、T3Respectively representing the threshold values of roll angle, yaw angle and pitch angle changes;
step J6: two or more conditions of step J5 are met, a valid roll-over of the recording occurs.
4. The sleep quality detection method according to claim 3, wherein in the step J6, whether the user belongs to deep sleep or light sleep in the current time period is obtained according to the comparison between the time interval between two adjacent turns and the threshold; when the time interval between two adjacent turns is smaller than a threshold value, shallow sleep is judged, and when the time interval is larger than or equal to the threshold value, deep sleep is judged, wherein the specific formula is as follows:
Figure FDA0003348233110000031
in the formula, RTiRepresenting the corresponding point in time at which the ith flip occurred; t denotes a threshold size.
5. The utility model provides a sleep quality detection device, includes ring, supervisory equipment and intelligent household electrical appliances, its characterized in that:
the ring is worn on a finger of a user; a body temperature detection module, a blood oxygen detection module, a turnover detection module, a Bluetooth wireless communication module and a DA14580 core control module are arranged in the ring; the Bluetooth wireless communication module is respectively connected with the body temperature detection module, the blood oxygen detection module and the turnover detection module;
the monitoring equipment is placed in a bedroom; the monitoring equipment is internally provided with a noise detection module, a gas detection module, a room temperature detection module, a light intensity detection module, a temperature and humidity detection module, a control module, a Bluetooth wireless communication module, a communication module and a human-computer interaction module; the control module is respectively connected with the noise detection module, the gas detection module, the room temperature detection module, the light intensity detection module, the temperature and humidity detection module, the Bluetooth wireless communication module, the communication module and the human-computer interaction module;
the human-computer interaction module is used for displaying the sleep quality evaluation and improving the scheme.
6. The sleep quality detection device according to claim 5, wherein the blood oxygen detection module comprises a photoelectric blood oxygen sensor access circuit, an integrated analog AFE4404 signal acquisition circuit and an MCU main control circuit; the integrated analog AFE4404 signal acquisition circuit comprises an I-V converter, a control module, an LED driving module, an LED current control digital-to-analog converter and a serial peripheral interface; the I-V converter is connected with the control module through the filter amplifier and the ADC in sequence; the LED driving module is connected with the control module through the LED current control digital-to-analog converter and the time schedule controller in sequence; the output end of the time schedule controller is respectively connected with the filter amplifier, the ADC converter and the LED current control digital-to-analog converter; the control module is bidirectionally connected with the serial peripheral interface; the integrated analog AFE4404 signal acquisition circuit is connected with the MCU main control circuit through a serial peripheral interface;
the photoelectric blood oxygen sensor access circuit comprises red light, infrared light and a photosensitive diode; the red light and the infrared light are connected with the LED driving module; the photosensitive diode is connected with the I-V converter.
7. The sleep quality detection apparatus according to claim 6, wherein the integrated analog AFE4404 signal acquisition circuit comprises an LED transmission channel and a PD reception channel; the LED transmission channel is used for driving the light emitting diode to alternately emit light under the frequency of the driving current; the PD receiving channel is used for performing I-V conversion, photoelectric signal correction, circuit high-frequency noise filtering and AD conversion.
8. The sleep quality detection apparatus of claim 5, wherein the ring further comprises a calendar clock module and a FLASH storage module; the overturning detection module is a six-axis acceleration gyroscope MPU605 and is used for overturning detection of a user; the FLASH storage module is W25X20CL in model number and is used for storing data and programs; the clock module is a PCF8563 chip; the DA14580 core control module controls an MPU6050 acceleration gyroscope to perform turnover detection, stores acquired data into a W25X2OCL, and controls a PCF8563 to set and synchronize clocks; when data synchronization is needed, the DA14580 reads data from FLASH and sends the data to the indoor placing part through the Bluetooth wireless communication module embedded in the DA 14580.
9. A sleep quality detection ring comprises a ring main body (1), and is characterized in that the ring main body (1) is of a tubular structure; a groove (101) is formed in the inner wall of the ring main body (1); the groove (101) extends along the axial direction of the ring main body (1) and penetrates through two end faces of the ring main body (1); a body temperature detection module (102) is placed in the groove (101); the inner walls of the finger ring main bodies (1) at the two sides of the groove (101) are provided with accommodating grooves (2); the two accommodating grooves (2) are oppositely arranged; a blood oxygen detection module (201) and a turnover detection module (202) are respectively arranged in the two containing grooves (2); transparent silica gel is filled in the two accommodating grooves (2);
the ring main body (1) is provided with a wiring terminal (3); an electric connecting wire connected with the blood oxygen detection module (201) and the turnover detection module (202) is arranged in the terminal (3).
10. The sleep quality detection finger ring according to claim 9, wherein the circumferential extension of the groove (101) and the finger ring main body (1) is in a circular arc shape, the finger ring main body (1) is in a circular tubular structure, the groove (101) is concentrically arranged with the outer wall of the finger ring main body (1) in the circumferential direction, and the central angle of the groove (101) is 30-180 degrees.
CN202111329062.3A 2021-11-10 2021-11-10 Sleep quality detection method and device and ring Pending CN114027832A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111329062.3A CN114027832A (en) 2021-11-10 2021-11-10 Sleep quality detection method and device and ring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111329062.3A CN114027832A (en) 2021-11-10 2021-11-10 Sleep quality detection method and device and ring

Publications (1)

Publication Number Publication Date
CN114027832A true CN114027832A (en) 2022-02-11

Family

ID=80143886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111329062.3A Pending CN114027832A (en) 2021-11-10 2021-11-10 Sleep quality detection method and device and ring

Country Status (1)

Country Link
CN (1) CN114027832A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206648684U (en) * 2017-03-08 2017-11-17 哈尔滨理工大学 Intelligent sleep quality detecting system
CN110251095A (en) * 2019-05-14 2019-09-20 周常安 Finger-worn type electro-physiologic device and system
CN113181501A (en) * 2021-03-18 2021-07-30 广东信尚安物联科技有限公司 Internet of things health monitoring method with intelligent mattress as center

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206648684U (en) * 2017-03-08 2017-11-17 哈尔滨理工大学 Intelligent sleep quality detecting system
CN110251095A (en) * 2019-05-14 2019-09-20 周常安 Finger-worn type electro-physiologic device and system
CN113181501A (en) * 2021-03-18 2021-07-30 广东信尚安物联科技有限公司 Internet of things health monitoring method with intelligent mattress as center

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
梁超: "智能睡眠质量检测系统", 《中国优秀硕士学位论文全文数据库 (信息科技辑)》, pages 1 - 49 *
王昭荣 等: "肝储备功能检测仪无线探头系统", 《电子设计工程》, vol. 26, no. 22, pages 174 - 180 *

Similar Documents

Publication Publication Date Title
CN106510663B (en) A kind of Sleep-Monitoring method based on Internet of Things
US5507716A (en) Equipment and methods used to induce lucid dreams in sleeping persons
JP4023429B2 (en) Portable biological information monitor device
CN107875496A (en) A kind of intelligent sleep management eye-shade device and its control method
CN109405224B (en) Control method and device of air conditioner, storage medium and air conditioner
KR20140058441A (en) System and method for determining sleep and sleep stages of a person
WO2007082462A1 (en) Method and apparatus for remote mobile monitoring electronic physiological data based on wan
CN106175668B (en) A kind of monitor device simulated based on software and drive sound-light alarm
WO2004093676A1 (en) Apparatus and method for monitoring heart rate variability
CN111631697A (en) Intelligent sleep and fatigue state information monitoring control system and method and monitor
CN106214121A (en) Sleep reminding method and device and wearable device
CN1811851A (en) Method for realizing sleep learning and apparatus
CN111657855B (en) Sleep evaluation and sleep awakening method and device and electronic equipment
JP2005128976A (en) Equipment controller, equipment control system and equipment control method
US10847010B2 (en) Method, mobile device and system for optimizing wake-up alarm for two or more persons
CN114027832A (en) Sleep quality detection method and device and ring
CN106730232A (en) A kind of intelligent awakening method and system
CN105854147A (en) Intelligent home environment regulation system and method
CN107358785A (en) A kind of bus driver fatigue detection device
US20230298761A1 (en) Subjective input data for a wearable device
CN116048250A (en) Sleep management method and device based on wearable equipment
JP2017099528A (en) Biological information management system
CN106308771A (en) An electrocardiogram monitoring system
CN210472585U (en) Automatic control system for household sauna room
US20230210468A1 (en) Techniques for using data collected by wearable devices to control other devices

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination