Motion monitoring method and system based on intelligent glasses

By combining ambient light intensity sensors, distance sensors, and accelerometers with attitude calculations, the shortcomings of existing smart glasses motion monitoring functions have been addressed, enabling more accurate and comprehensive motion monitoring and health management.

CN121880733APending Publication Date: 2026-04-17RUIAN DAWAN POLAROID MATERIAL TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
RUIAN DAWAN POLAROID MATERIAL TECH CO LTD
Filing Date
2024-02-01
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing smart glasses' motion monitoring functions are limited to simple motion data tracking, and are inadequate in terms of data accuracy, comfort, and environmental adaptability.

Method used

By collecting blue and white light intensity information through an ambient light intensity sensor, detecting the relative distance between the user and surrounding objects through a distance sensor, and collecting head motion data through an accelerometer, the system combines posture calculation and ambient light intensity to determine indoor and outdoor scenes, statistically analyzes effective motion values ​​and posture frequencies, and provides exercise suggestions and health reminders.

Benefits of technology

It achieves more accurate and comprehensive motion monitoring, can analyze environmental conditions, provide personalized exercise suggestions and health management, and improves the accuracy and comfort of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121880733A_ABST
    Figure CN121880733A_ABST
Patent Text Reader

Abstract

The invention relates to a motion monitoring method based on intelligent glasses, and the method comprises the following steps: S1, data collection: collecting the light intensity information of blue light and white light in an environment through an environment light intensity sensor, collecting the relative distance between a user and a surrounding object through a distance sensor, and collecting the head motion data information of the user through an accelerometer; s2, indoor and outdoor scenes are judged, the indoor white light illuminance is set to be 300-500 lux, the outdoor white light illuminance is set to be 1000-2000 lux, when the numerical value of the distance sensor is larger than 40 cm, the white light value is larger than 500 lux, and the blue light value is larger than 1800 lux, it is judged that the scene is outdoor, and the rest scenes are judged to be indoor; s3, head posture judgment and posture calculation are carried out to determine the head posture of a user, and the posture angle is calculated through an accelerometer; S4, indoor and outdoor effective movement judgment is carried out, when indoor or outdoor movement is judged, timing begins to count the indoor and outdoor duration, and whether the user is static or not and the posture is judged; S5, data statistics is carried out; and S6, data storage is carried out. And S7, reminding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart glasses, and more specifically to a motion monitoring method and system based on smart glasses. Background Technology

[0002] Modern smart glasses integrate sensor, display, and communication technologies, providing functions such as basic motion tracking and information display. Meanwhile, motion monitoring mainly relies on wearable devices (such as smartwatches or wristbands) to track user activities through accelerometers, heart rate monitoring, etc. However, these technologies are usually limited to simple motion data tracking, such as steps and running distance, and are insufficient in terms of data accuracy, comfort, and environmental adaptability.

[0003] Chinese utility model patent CN204719348U discloses a smart glasses with motion detection function. It includes a frame (1), a right temple (2), a left temple (3), a fixed head (4), a penetrating display (5), a nose pad (6), and a six-axis sensor (7). The six-axis sensor (7) is located in the middle of the frame (1). The right temple (2) is equipped with a lithium battery and a main control circuit board. An electrooculography sensor is connected to the main control circuit board. It realizes the function of interaction based on human body movement posture. However, its motion detection is only to enable the viewer to dynamically view images in different fields of vision by turning their head. It is not the conventional sense of movement state or movement venue (whether it is indoors or outdoors). It is necessary to improve this. Summary of the Invention

[0004] The technical problem to be solved by the present invention is to address the shortcomings of the prior art by providing a motion monitoring method and system based on smart glasses. To achieve the above objective, the present invention provides the following technical solution: A motion monitoring method based on smart glasses, characterized by comprising the following steps:

[0005] S1: Data collection: Collects information on the intensity of blue and white light in the environment through an ambient light intensity sensor, collects the relative distance between the user and surrounding objects through a distance sensor, and collects the user's head movement data through an accelerometer;

[0006] S2: For indoor and outdoor scene judgment, the indoor white light illuminance is set to 300-500 lux, and the outdoor white light illuminance is set to 1000-2000 lux. When the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is judged as outdoor. Otherwise, it is judged as indoor.

[0007] S3: Head pose judgment. The pose is solved to determine the user's head sh pose. The pose angles are solved through the accelerometer. When there is no change in the accelerometer value or the change value is within 5%, it is determined to be in a stationary state. The ranges of Roll and pitch are 0 to 180°, which are the pitch angle and tilt angle respectively. When 80 < roll < 98 and 80 < pitch < 98, it is determined to be a general pose; when (80 <= roll < 98) & (pitch < 98), it is determined to be a head-down and downward pose; when (roll < 80)

[0008] & (80 <= pitch < 98) is determined to be a left-tilt pose; when (roll > 80) & (80 <= pitch < 98) is determined to be a right-tilt pose;[[ID=X]]

[0009] S4: Indoor and outdoor effective movement judgment. When it is determined to be indoor or outdoor, the timing starts to count the duration of indoor and outdoor. Then, it is determined whether it is stationary and the pose, and the statistics are respectively: the total indoor duration Ti, the indoor movement duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor movement duration t2, and the outdoor stationary duration. The indoor effective movement value and the outdoor effective movement value can be obtained. The larger the effective movement value, the more effective movement there is within the time period and the higher the proportion. The formula for the effective movement value is as follows:

[0010] Indoor effective movement value: Outdoor effective movement value: S5: Data statistics. The number of times of each pose is counted according to different poses to form the statistics of the number of times of each pose. Then, the number of times of the pose / the total number of poses is used to form the pose frequency record;

[0011] S6: Data storage. All the collected data is stored, including movement data and environmental data; S7: Reminder. According to the analysis results, sports suggestions and health reminders are provided to the user;

[0012] Using the above technical solution, an ambient light intensity sensor collects ambient light intensity information (including blue and white light), reading the intensity of blue and white light respectively. A distance sensor detects the relative distance between the user and surrounding objects. An accelerometer collects the user's head motion data to determine the user's posture and motion state. When the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors. Posture calculation determines the user's head posture, and the accelerometer calculates the roll and pitch angles. When the accelerometer value does not change or the change is within 5%, it is determined to be a stationary state. The range of roll and pitch is 0 to 180°. Based on the known sensor values, these are recorded and stored to obtain the indoor motion time t1, outdoor motion time t2, total indoor time Ti, and total outdoor time To over a period of time. The effective indoor and outdoor motion values ​​can then be obtained. The larger the effective motion value, the more effective motion occurs within the time period, and the higher its proportion. The formula for the effective motion value is as follows:

[0013] Indoor effective exercise value

[0014] Outdoor effective exercise value

[0015] An ambient light intensity sensor collects ambient light intensity information (including blue and white light). To read the intensity of blue and white light separately, the sensor includes elements sensitive to specific wavelengths of blue light (380 to 495 nm) and elements sensitive to white light (a wide wavelength range, including all colors in the visible spectrum). When ambient light shines on the sensor, different wavelengths of light are absorbed by corresponding photoelectric elements. These elements generate electrical signals based on the intensity of the received light. A distance sensor detects the relative distance between the user and surrounding objects; an accelerometer collects data on the user's head movements. Data is used to determine the user's posture and motion state, and then transmitted to the software layer. Posture calculation determines the user's head posture, and attitude angles are calculated using accelerometers. This is based on the components of gravitational acceleration measured by the accelerometers along the three spatial axes (X, Y, and Z). In static or uniform linear motion, the accelerometer primarily senses the Earth's gravitational acceleration. Tilt angle calculation: Roll angle (Roll): This is the rotation angle around the X-axis, which can be calculated using the acceleration components along the Y and Z axes. Generally, the atan2 function is used to calculate the roll angle, with the formula Roll = atan2. 2 (Y,Z), Pitch angle: This is the rotation angle around the Y-axis, which can be calculated by combining the acceleration components on the X-axis and Z-axis. The calculation formula is:

[0016] Pitch = atan2 (-X, Squrt(Y * Y + Z * Z))

[0017] Calculate the distance between the user and the object, evaluate possible movement obstacles. According to the usage scenario, we set the effective measurement range to be 0 - 200 cm. Ambient light intensity data processing module: Analyze the ambient light intensity information, including the LUX values of blue light and white light. Indoor / outdoor judgment: To ensure the accuracy of the algorithm, the indoor white light illumination should be between 300 - 500 lux, and the outdoor illumination should be between 1000 - 2000 lux. When within the effective time of the algorithm (set between 8:00 and 18:00), if the distance sensor value is greater than 40 cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors.

[0018] Movement state determination: When there is no change in the accelerometer value or the change value is within 5%, it is determined to be in a stationary state. The ranges of Roll and pitch are 0 - 180°, which are the pitch angle and tilt angle respectively. Among them, roughly divided, when 80 < roll < 98 and 80 < pitch < 98, it is determined to be in a general posture; when (80 <= roll < 98) & (pitch < 98), it is determined to be in a head-down and downward posture; when (roll < 80) & (80 <= pitch < 98), it is determined to be in a left-tilted posture; when (roll > 80) & (80 <= pitch < 98), it is determined to be in a right-tilted posture. Movement statistics: When it is determined to be indoors or outdoors, the timing starts to count the duration of indoor and outdoor. Then, determine whether it is stationary and the posture, and count respectively: the total indoor duration Ti, the indoor movement duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor movement duration t2, and the outdoor stationary duration. The indoor effective movement value and the outdoor effective movement value can be obtained. The larger the effective movement value, the more effective movement there is within the time and the higher the proportion. The formula for the effective movement value is as follows.

[0019] Indoor effective movement value:

[0020] Outdoor effective movement value:

[0021] The system further counts the frequency of different postures, creating a frequency record for each posture. The frequency of each posture is then divided by the total number of postures to generate a posture frequency record. Based on the analysis results, the system provides users with exercise suggestions and health reminders. The duration of outdoor activities varies depending on age, season, and daily schedule, but it is generally recommended to be no less than 2 to 3 hours. Daily exercise habits are summarized, and a daily report is generated based on the data. If less than 2 hours are completed each day, a reminder will be sent at 18:00 indicating insufficient daily outdoor exercise time. If the proportion of ordinary postures is less than 30%, a reminder will be sent indicating the need for posture adjustment, and the most frequently occurring postures will be listed and presented. This invention's smart glasses system not only monitors outdoor exercise status but also analyzes environmental conditions, thereby providing more accurate and comprehensive exercise monitoring and health management suggestions.

[0022] A smart glasses motion monitoring system includes a sensor hardware layer and a software layer. The sensor hardware layer includes an ambient light sensor, a distance sensor, and an accelerometer. The software layer includes a time module, an attitude processing module, a distance processing module, a light intensity processing module, a memory module, an alert module, and an outdoor algorithm module. The time module, attitude processing module, distance processing module, light intensity processing module, and memory module transmit data to the outdoor algorithm module for processing, and then the outdoor algorithm module outputs data to the alert module to provide exercise suggestions and health reminders.

[0023] Using the above technical solution, an ambient light intensity sensor collects ambient light intensity information (including blue light and white light), reads the intensity of blue light and white light respectively, and uses a distance sensor to detect the relative distance between the user and surrounding objects; an accelerometer collects the user's head motion data to determine the user's posture and motion state. When the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors.

[0024] Time module: Set the effective time to between 8:00 and 18:00, and the outdoor algorithm module will be activated during this time period;

[0025] Attitude processing module: Attitude calculation determines the user's head posture, calculates attitude angles using accelerometers, and measures the components of gravitational acceleration along the three spatial axes (X, Y, Z) as measured by the accelerometers. In static or uniform linear motion, the accelerometers primarily sense the Earth's gravitational acceleration. Tilt angle calculation: Roll angle (Roll): This is the rotation angle around the X-axis, calculated using the acceleration components along the Y and Z axes. The atan2 function is typically used to calculate the roll angle, with the formula Roll = atan2. 2(Y, Z), Pitch (Pitch angle): It is the rotation angle around the Y-axis and can be calculated through the combination of the acceleration component on the X-axis and the acceleration component on the Z-axis. The calculation formula is Pitch = atan 2 (-X, Squrt(Y*Y + Z*Z)) Distance processing module: Calculate the distance between the user and the object, evaluate possible motion obstacles, and set the effective measurement range to 0 - 200 cm according to the usage scenario;

[0026] Light intensity processing module: Analyze the ambient light intensity information, including the LUX values of blue light and white light. Outdoor algorithm module: Set the indoor white light illumination to be between 300 - 500 lux and the outdoor illumination to be between 1000 - 2000 lux. When within the effective time of the algorithm (set between 8:00 and 18:00), if the distance sensor value is greater than 40 cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors.

[0027] Motion state determination: When there is no change in the accelerometer value or the change value is within 5%, it is determined to be in a stationary state. The ranges of Roll and pitch are 0 - 180°, which are the pitch angle and tilt angle respectively. Roughly speaking, when 80 < roll < 98 and 80 < pitch < 98, it is determined to be in a general posture; when (80 <= roll < 98) & (pitch < 98), it is determined to be in a head-down and downward posture; when (roll < 80) & (80 <= pitch < 98), it is determined to be in a left-tilted posture; when (roll > 80) & (80 <= pitch < 98), it is determined to be in a right-tilted posture;

[0028] For motion statistics, when it is determined to be indoors or outdoors, the timing starts to count the duration of indoors and outdoors. Then, determine whether it is stationary and the posture, and count respectively: the total indoor duration Ti, the indoor motion duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor motion duration t2, and the outdoor stationary duration. The indoor effective motion value and the outdoor effective motion value can be obtained. The larger the effective motion value, the more effective motion there is within the time and the higher the proportion. The formula for the effective motion value is as follows: Indoor effective motion value

[0029] Outdoor effective motion value

[0030] Then, according to different postures, the number of times of each posture is also counted to form the statistics of the number of times of each posture. Then, use the number of times of the posture / the total number of times of the posture to form the posture frequency record;

[0031] Memory module: Store all the collected data, including motion data and environmental data;

[0032] Reminder Module: Provide users with exercise suggestions and health reminders based on the analysis results. The length of outdoor activity time varies according to age, season, and daily schedule, but it is generally recommended to be no less than 2 to 3 hours. Summarize the daily exercise habits, and a daily report will be formed based on the data every day. If the daily outdoor exercise time is less than 2 hours, a reminder will be sent at 18:00 that the daily outdoor exercise duration is insufficient; if the proportion of normal postures in the postures is less than 30%, a reminder will be sent that posture adjustment is needed, and the posture with the highest proportion frequency will be listed and proposed.

[0033] The beneficial effects of the present invention are: it can not only monitor the outdoor exercise status, but also analyze environmental conditions, so as to provide more accurate and comprehensive exercise monitoring and health management suggestions.

[0034] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a system composition block diagram of an embodiment of the present invention;

[0036] Figure 2 It is a schematic diagram of the indoor and outdoor exercise determination algorithm of an embodiment of the present invention; DETAILED DESCRIPTION OF THE EMBODIMENTS

[0037] As Figures 1 to 2 shown, a motion monitoring method based on smart glasses includes the following steps:

[0038] S1: Data collection, collect the light intensity information of blue light and white light in the environment through an ambient light intensity sensor, collect the relative distance between the user and surrounding objects through a distance sensor, and collect the head movement data information of the user through an accelerometer;

[0039] S2: Judge the indoor and outdoor scenes. Set the indoor white light illumination to be 300 - 500 lux, and the outdoor white light illumination to be between 1000 - 2000 lux. When the value of the distance sensor is greater than 40 cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoor, and the rest are determined to be indoor;

[0040] S3: Head posture judgment. The posture is solved to determine the head posture of the user. The posture angle is solved through the accelerometer. When there is no numerical change in the accelerometer, or the change value is within 5%, it is determined to be a stationary state. The range of Roll and pitch is 0 - 180°, which are the pitch angle and tilt angle respectively. When 80 < roll < 98 and 80 < pitch < 98, it is determined to be a general posture; when (80 <= roll < 98) & (pitch < 98), it is determined to be a downward and bowed posture; when (roll < 80)

[0041] &(80<=pitch<98) is considered a leftward tilt; when (roll>80)&(80<=pitch<98) is considered a rightward tilt.

[0042] S4: Indoor / Outdoor Effective Motion Judgment. When the location is determined to be indoors or outdoors, the timer starts to record the duration of indoor and outdoor activities. Then, it is determined whether the person is stationary and their posture. The following are recorded separately: total indoor time Ti, indoor activity time t1, indoor stationary time, total outdoor time To, outdoor activity time t2, and outdoor stationary time. This yields the indoor effective motion value and the outdoor effective motion value. The larger the effective motion value, the more effective motion occurs within the time period, and the higher the percentage. The formula for the effective motion value is as follows:

[0043] Effective indoor exercise value: Effective outdoor exercise value:

[0044] S5: Data statistics. Count the number of times a pose is counted according to different poses to form the count of each pose. Then, the number of poses is divided by the total number of poses to form the pose frequency record.

[0045] S6: Data storage, storing all collected data, including exercise data and environmental data; S7: Reminders, providing users with exercise suggestions and health reminders based on the analysis results;

[0046] Using the above technical solution, an ambient light intensity sensor collects ambient light intensity information (including blue and white light), reading the intensity of blue and white light respectively. A distance sensor detects the relative distance between the user and surrounding objects. An accelerometer collects the user's head motion data to determine the user's posture and motion state. When the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors. Posture calculation determines the user's head posture, and the accelerometer calculates the roll and pitch angles. When the accelerometer value does not change or the change is within 5%, it is determined to be a stationary state. The range of roll and pitch is 0 to 180°. Based on the known sensor values, these are recorded and stored to obtain the indoor motion time t1, outdoor motion time t2, total indoor time Ti, and total outdoor time To over a period of time. The effective indoor and outdoor motion values ​​can then be obtained. The larger the effective motion value, the more effective motion occurs within the time period, and the higher its proportion. The formula for the effective motion value is as follows:

[0047] Indoor effective exercise value

[0048] Outdoor effective exercise value

[0049] An ambient light intensity sensor collects ambient light intensity information (including blue and white light). To read the intensity of blue and white light separately, the sensor includes elements sensitive to specific wavelengths of blue light (380 to 495 nm) and elements sensitive to white light (a wide wavelength range, including all colors in the visible spectrum). When ambient light shines on the sensor, different wavelengths of light are absorbed by corresponding photoelectric elements. These elements generate electrical signals based on the intensity of the received light. A distance sensor detects the relative distance between the user and surrounding objects; an accelerometer collects data on the user's head movements. Data is used to determine the user's posture and motion state, and then transmitted to the software layer. Posture calculation determines the user's head posture, and attitude angles are calculated using accelerometers. This is based on the components of gravitational acceleration measured by the accelerometers along the three spatial axes (X, Y, and Z). In static or uniform linear motion, the accelerometer primarily senses the Earth's gravitational acceleration. Tilt angle calculation: Roll angle (Roll): This is the rotation angle around the X-axis, which can be calculated using the acceleration components along the Y and Z axes. Generally, the atan2 function is used to calculate the roll angle, with the formula Roll = atan2. 2 (Y,Z), Pitch angle: This is the rotation angle around the Y-axis, which can be calculated by combining the acceleration components on the X-axis and Z-axis. The calculation formula is:

[0050] Pitch = atan 2 (-X,Squrt(Y*Y+Z*Z))

[0051] The system calculates the distance between the user and objects and assesses potential movement obstacles. Based on the usage scenario, we define the effective measurement range as 0–200 cm. The light intensity data processing module analyzes ambient light intensity information, including the LUX values ​​of blue and white light. Indoor / outdoor judgment: To ensure algorithm accuracy, indoor white light illuminance should be between 300–500 lux, and outdoor light illuminance should be between 1000–2000 lux. Within the algorithm's effective time (set between 8:00 and 18:00), if the distance sensor value is greater than 40 cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is judged as outdoor; otherwise, it is judged as indoor.

[0052] Motion state determination: When there is no change in the accelerometer value or the change value is within 5%, it is determined as the stationary state. The ranges of Roll and pitch are 0 to 180°, which are the pitch angle and tilt angle respectively. Among them, roughly divided, when 80 < roll < 98 and 80 < pitch < 98, it is determined as the general posture; when (80 <= roll < 98) & (pitch < 98), it is determined as the head-down and downward posture; when (roll < 80) & (80 <= pitch < 98), it is determined as the left-tilt posture; when (roll > 80) & (80 <= pitch < 98), it is determined as the right-tilt posture. Motion statistics: When it is determined as indoor or outdoor, the timing starts to count the duration of indoor and outdoor. Then, it is determined whether it is stationary and the posture, and respectively counted: the total indoor duration Ti, the indoor motion duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor motion duration t2, and the outdoor stationary duration. The indoor effective motion value and the outdoor effective motion value can be obtained. The larger the effective motion value, the more effective motion there is within the time, and the higher the proportion. The formula for the effective motion value is as follows,

[0053] Indoor effective motion value:

[0054] Outdoor effective motion value:

[0055] Furthermore, according to different postures, the number of posture times is also counted to form the statistics of the number of each posture. Then, the number of posture times / the total number of postures is used to form the posture frequency record. According to the analysis results, exercise suggestions and health reminders are provided to the user. The length of outdoor activity time varies depending on age, season, and daily arrangements, but it is usually recommended to be no less than 2 to 3 hours. Summarize the daily exercise habits. A daily report will be formed based on the data every day. If the daily time is less than 2 hours, a reminder will be sent at 18:00 that the daily outdoor exercise duration is insufficient; if the proportion of the general posture in the postures is less than 30%, a reminder will be sent to adjust the posture, and the posture with the highest proportion frequency will be listed and proposed. The intelligent glasses system of the present invention can not only monitor the outdoor exercise state, but also analyze environmental conditions, so as to provide more accurate and comprehensive exercise monitoring and health management suggestions.

[0056] An intelligent glasses motion monitoring system includes a sensor hardware layer and a software layer. The sensor hardware layer includes an ambient light sensor, a distance sensor, and an accelerometer. The software layer includes a time module, a posture processing module, a distance processing module, a light intensity processing module, a memory module, a reminder module, and an outdoor algorithm module. The time module, the posture processing module, the distance processing module, the light intensity processing module, and the memory module transfer data to the outdoor algorithm module for processing, and then the outdoor algorithm module outputs data to the reminder module to output exercise suggestions and health reminders.

[0057] Using the above technical solution, an ambient light intensity sensor collects ambient light intensity information (including blue light and white light), reads the intensity of blue light and white light respectively, and uses a distance sensor to detect the relative distance between the user and surrounding objects; an accelerometer collects the user's head motion data to determine the user's posture and motion state. When the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors.

[0058] Time module: Set the effective time to between 8:00 and 18:00, and the outdoor algorithm module will be activated during this time period;

[0059] Attitude processing module: Attitude calculation determines the user's head posture, calculates attitude angles using accelerometers, and measures the components of gravitational acceleration along the three spatial axes (X, Y, Z) as measured by the accelerometers. In static or uniform linear motion, the accelerometers primarily sense the Earth's gravitational acceleration. Tilt angle calculation: Roll angle (Roll): This is the rotation angle around the X-axis, calculated using the acceleration components along the Y and Z axes. The atan2 function is typically used to calculate the roll angle, with the formula Roll = atan2. 2 (Y,Z), Pitch: This is the rotation angle around the Y-axis, which can be calculated by combining the acceleration components on the X-axis and Z-axis. The formula is Pitch = atan 2 (-X,Squrt(Y*Y+Z*Z)) Distance processing module: Calculates the distance between the user and the object, assesses possible movement obstacles, and sets the effective measurement range to 0-200cm according to the usage scenario;

[0060] Light intensity processing module: Analyzes ambient light intensity information, including LUX values ​​of blue and white light. Outdoor algorithm module: Sets indoor white light illuminance between 300-500 lux and outdoor light illuminance between 1000-2000 lux. Within the algorithm's effective time (set between 8:00 and 18:00), if the distance sensor value is greater than 40cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoors; otherwise, it is determined to be indoors.

[0061] Motion state determination: When there is no change in the accelerometer value or the change value is within 5%, it is determined as the stationary state. The ranges of Roll and pitch are 0 to 180°, which are the pitch angle and tilt angle respectively. Roughly speaking, when 80 < roll < 98 and 80 < pitch < 98, it is determined as the general posture; when (80 <= roll < 98) & (pitch < 98), it is determined as the head-down and downward posture; when (roll < 80) & (80 <= pitch < 98), it is determined as the left-tilt posture; when (roll > 80) & (80 <= pitch < 98), it is determined as the right-tilt posture.

[0062] For motion statistics, when it is determined to be indoor or outdoor, the timing starts to count the duration of indoor and outdoor. Then, it determines whether it is stationary and the posture, and respectively counts: the total indoor duration Ti, the indoor motion duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor motion duration t2, and the outdoor stationary duration. The indoor effective motion value and the outdoor effective motion value can be obtained. The larger the effective motion value, the more effective motion there is within the time, and the higher the proportion. The formula for the effective motion value is as follows: the indoor effective motion value

[0063] The outdoor effective motion value

[0064] Furthermore, according to different postures, the number of times of each posture is also counted to form the statistics of the number of times of each posture. Then, the number of times of the posture / the total number of times of the posture is used to form the posture frequency record.

[0065] Memory module: Stores all the collected data, including motion data and environmental data; Reminder module: Provides the user with motion suggestions and health reminders according to the analysis results. The length of outdoor activity time varies according to age, season and daily arrangements, but it is usually recommended to be no less than 2 to 3 hours. Summarize the daily exercise habits. A daily report will be formed according to the data every day. If the daily exercise time is less than 2 hours, it will remind that the outdoor exercise time is insufficient at 18:00; if the proportion of the general posture in the postures is less than 30%, it will remind that posture adjustment is needed, and list and propose the posture with the highest proportion frequency.

[0066] The beneficial effects of the present invention are: It can not only monitor the outdoor exercise state, but also analyze the environmental conditions, so as to provide more accurate and comprehensive exercise monitoring and health management suggestions.

Claims

1. A motion monitoring method based on smart glasses, characterized in that, It includes the following steps: S1: Data collection. Collect the light intensity information of blue light and white light in the environment through an ambient light intensity sensor, collect the relative distance between the user and surrounding objects through a distance sensor, and collect the head movement data information of the user through an accelerometer. S2: Judgment of indoor and outdoor scenes. Set the indoor white light illumination to be 300 - 500 lux and the outdoor white light illumination to be 1000 - 2000 lux. When the value of the distance sensor is greater than 40 cm, the white light value is greater than 500 lux, and the blue light value is greater than 1800 lux, it is determined to be outdoor; otherwise, it is determined to be indoor. S3: Head pose judgment. The pose is solved to determine the head pose of the user. The pose angle is solved through the accelerometer. When there is no numerical change in the accelerometer or the change value is within 5%, it is determined to be in a stationary state. The range of Roll and pitch is 0 - 180°, which are the pitch angle and tilt angle respectively. When 80 < roll < 98 and 80 < pitch < 98, it is determined to be a general pose; when (80 <= roll < 98) & (pitch < 98), it is determined to be a bowed head and downward pose; when (roll < 80) & (80 <= pitch < 98), it is determined to be a left tilt pose; when (roll > 80) & (80 <= pitch < 98), it is determined to be a right tilt pose. S4: Judgment of effective movement indoors and outdoors. When it is determined to be indoor or outdoor, the timing starts to count the duration indoors and outdoors, and then it is determined whether it is stationary and the pose. Respectively count: the total indoor duration Ti, the indoor movement duration t1, the indoor stationary duration, the total outdoor duration To, the outdoor movement duration t2, and the outdoor stationary duration. The indoor effective movement value and the outdoor effective movement value can be obtained. The greater the effective movement value, the more effective movement there is within the time and the higher the proportion. The formula for the effective movement value is as follows: Effective indoor exercise value: Effective outdoor exercise value: S5: Data statistics. Count the number of times of each pose according to different poses to form the statistics of the number of times of each pose, and then use the number of times of the pose / the total number of poses to form the pose frequency record. S6: Data storage. Store all the collected data, including movement data and environmental data. S7: Reminder. Provide the user with movement suggestions and health reminders according to the analysis results.

2. A smart glasses motion monitoring system, characterized in that: It includes a sensor hardware layer and a software layer. The sensor hardware layer includes an ambient light sensor, a distance sensor, and an accelerometer. The software layer includes a time module, a pose processing module, a distance processing module, a light intensity processing module, a memory module, a reminder module, and an outdoor algorithm module. The time module, pose processing module, distance processing module, light intensity processing module, and memory module transfer data to the outdoor algorithm module for processing, and then the outdoor algorithm module outputs data to the reminder module to output movement suggestions and health reminders.

Citation Information

Patent Citations

  • Intelligent glasses that possess motion detection function

    CN204719348U