CN114035345A - Intelligent glasses and working method thereof - Google Patents

Intelligent glasses and working method thereof Download PDF

Info

Publication number
CN114035345A
CN114035345A CN202111295741.3A CN202111295741A CN114035345A CN 114035345 A CN114035345 A CN 114035345A CN 202111295741 A CN202111295741 A CN 202111295741A CN 114035345 A CN114035345 A CN 114035345A
Authority
CN
China
Prior art keywords
magnetometer
gyroscope
glasses
axis
temple
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.)
Granted
Application number
CN202111295741.3A
Other languages
Chinese (zh)
Other versions
CN114035345B (en
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.)
Memsic Semiconductor Wuxi Co Ltd
Original Assignee
Memsic Semiconductor Wuxi 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 Memsic Semiconductor Wuxi Co Ltd filed Critical Memsic Semiconductor Wuxi Co Ltd
Priority to CN202111295741.3A priority Critical patent/CN114035345B/en
Publication of CN114035345A publication Critical patent/CN114035345A/en
Application granted granted Critical
Publication of CN114035345B publication Critical patent/CN114035345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02CSPECTACLES; SUNGLASSES OR GOGGLES INSOFAR AS THEY HAVE THE SAME FEATURES AS SPECTACLES; CONTACT LENSES
    • G02C11/00Non-optical adjuncts; Attachment thereof
    • G02C11/10Electronic devices other than hearing aids
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C1/00Measuring angles

Landscapes

  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Ophthalmology & Optometry (AREA)
  • Optics & Photonics (AREA)
  • Eyeglasses (AREA)
  • Gyroscopes (AREA)

Abstract

The invention provides intelligent glasses and a working method thereof. The smart glasses include: a frame mounted with lenses; two temples mounted on both sides of the frame, wherein each temple is capable of opening and closing with respect to the frame; two sets of inertial sensors, wherein each set of inertial sensors is mounted on a corresponding one of the temples, each set of inertial sensors including one or more of an accelerometer, a magnetometer and a gyroscope; and the processor is electrically connected with each group of inertial sensors, calculates the corresponding postures of the corresponding glasses legs according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two glasses legs, and judges whether the glasses legs are in a closed state or an open state based on the correlation and a preset threshold value. This scheme can be simple and convenient the accurate discernment of realization mirror leg state of opening and shutting.

Description

Intelligent glasses and working method thereof
[ technical field ] A method for producing a semiconductor device
The invention relates to the field of intelligent glasses, in particular to intelligent glasses for judging the opening and closing states of glasses legs based on an inertial sensor and a working method thereof.
[ background of the invention ]
Current intelligent glasses are limited by small and lead to the battery power not enough to influence equipment continuation of the journey and user experience. However, in practice, the smart glasses still consume electric energy when not worn, resulting in a shortened endurance time of the device. Therefore, a new scheme is desired to be provided to judge whether the smart glasses are in a use state, if the smart glasses are in the use state, the smart glasses can work in a normal working mode, and if the smart glasses are not in the use state, the smart glasses can enter a low power consumption mode, so that the power consumption can be reduced, and the endurance time can be prolonged.
[ summary of the invention ]
One of the objectives of the present invention is to provide smart glasses and a method for operating the same, which can determine the open/close state of the glasses legs, and have a relatively simple hardware structure and high recognition accuracy.
According to one aspect of the invention, the invention provides smart eyewear comprising: a frame mounted with lenses; two temples mounted on both sides of the frame, wherein each temple is capable of opening and closing with respect to the frame; two sets of inertial sensors, wherein each set of inertial sensors is mounted on a corresponding one of the temples, each set of inertial sensors including one or more of an accelerometer, a magnetometer and a gyroscope; and the processor is electrically connected with each group of inertial sensors, calculates the corresponding postures of the corresponding glasses legs according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two glasses legs, and judges whether the glasses legs are in a closed state or an open state based on the correlation and a preset threshold value.
According to another aspect of the present invention, there is provided a method of operating smart glasses, the smart glasses including a frame with lenses mounted thereon, two legs mounted on both sides of the frame, two sets of inertial sensors respectively mounted on the two legs, each set of inertial sensors including one or more of an accelerometer, a magnetometer, and a gyroscope, the method comprising: the processor calculates the postures of the corresponding temples according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two temples, and judges whether the temples are in a closed state or an open state based on the correlation and a preset threshold value.
Compared with the prior art, the glasses leg switching method based on the two sets of inertial sensors has the advantages that the glasses leg switching state is judged based on the two sets of inertial sensors, the hardware structure is simple, the recognition precision is high, and the power consumption mode switching of the intelligent glasses can be further optimized and the cruising ability can be further prolonged.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be 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 to obtain other drawings based on these drawings without inventive exercise. Wherein:
FIG. 1 is a schematic view of the smart eyewear of the present invention in one embodiment, with the temple arms in an open position;
fig. 2 is a schematic structural view of the smart glasses of fig. 1 with the temples in a closed state.
[ detailed description ] embodiments
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic may be included in at least one implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Unless otherwise specified, the terms connected, and connected as used herein mean electrically connected, directly or indirectly.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "left", "right", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, are only for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. Herein, "and/or" includes and/or, such as a and/or B includes a, or B, or both a and B.
In the present invention, the terms "connected," "coupled," and the like are to be construed broadly unless otherwise explicitly specified or limited; for example, they may be connected directly or indirectly through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
FIG. 1 is a schematic view of the smart eyewear of the present invention in one embodiment, with the temple arms in an open position; fig. 2 is a schematic view showing the result of the smart glasses of fig. 1 in a closed state of the temples.
As shown in fig. 1 and 2, the smart glasses 100 include a frame 110 having lenses mounted thereon, and two temples 120 mounted on both sides of the frame 110, wherein each of the temples 120 is capable of moving in an opening and closing manner with respect to the frame 110. The smart glasses 100 further include two sets of inertial sensors 130 and a processor (not shown) electrically connected to each set of inertial sensors, wherein each set of inertial sensors 130 is mounted on a corresponding one of the temples 120. Each set of inertial sensors 130 includes one or more of an accelerometer, a magnetometer, and a gyroscope.
The microprocessor may be installed in the frame 110 or the temples 120. The microprocessor calculates the posture q of the corresponding temple according to the data sensed by each group of inertial sensors 130aAnd q isbAnd calculating the postures q of the two templesaAnd q isbAnd judging whether the temple is in the closed state or in the open state based on the correlation R and a predetermined threshold value. The smart glasses also include batteries (not shown) mounted on the frame or temple that power the two sets of inertial sensors 130, the processor, etc.
In a further embodiment, when the temple is determined to be in the closed state, the processor causes the smart glasses 100 to enter the low power consumption mode, which may reduce power consumption and extend the endurance time, and when the temple is determined to be in the open state, the processor causes the smart glasses 100 to enter the normal operation mode.
The coordinate systems of the two sets of inertial sensors 130 coincide. When the temple 120 is in the open state, as shown in fig. 1, the orientations of x1, y1, and z1 of the first group of inertial sensors 130 and the orientations of x2, y2, and z2 of the second group of inertial sensors 130 are nearly coincident, and then the correlation of the postures of the two temples is the highest at this time. When the temple 120 is in the closed state, as shown in fig. 2, the coordinate axes corresponding to one set of the inertial sensors 130 are kept still, the other set of the inertial sensors 130 is rotated 180 ° around the z-axis, the coordinate axes of the two sets of the inertial sensors 130 are the same, and the x-axis and the y-axis are opposite, so that the correlation between the postures of the two temples is low, and therefore, the state of the open and close of the temples of the smart glasses can be judged by using the correlation between the postures of the temples and a predetermined threshold value. It is to be noted that fig. 1 and 2 only schematically show one block, in fact integrating a plurality of inertial sensors, such as accelerometers, magnetometers and gyroscopes. The accelerometer, magnetometer and gyroscope in each set of inertial sensors 130 are fixedly mounted in combination, and the coordinate systems of the accelerometer, magnetometer and gyroscope in the two sets of inertial sensors 130 are identical.
In one embodiment, the attitude q of the two temples is first combinedaAnd q isbNormalization processing is carried out, and then the postures q of the two temples are calculateda,qbCorrelation of (A):
R=Correlation(qa,qb),-1≤R≤1。
the postures of the two temples can be respectively expressed by two groups of quaternions, wherein the posture of the temple a is qa
qa=[qa0,qa1,qa2,qa3]
Quaternion consists of two parts, a scalar and a vector, qaThe first element q ina0As part of a scalar, the last three elements qa1,qa2,qa3Are vector parts, combined togetherThe latter can be used to represent the carrier attitude. Quaternions are all expressed in this form hereinafter.
Wherein the temples b are in the posture of qb
qb=[qb0,qb1,qb2,qb3]
Then the correlation between the two poses is:
cor=qa*qb=qa0*qb0+qa1*qb1+qa2*qb2+qa3*qb3. When the correlation R is less than a predetermined threshold thd, the temple is determined to be in the closed state, and when the correlation R is greater than the predetermined threshold thd, the temple is determined to be in the open state.
In one embodiment, assuming that the predetermined threshold thd is 0.75, the actual test results are shown in the following table:
actual state of temple Correlation R Determining the state
Open 0.984068 Open
Open 0.989532 Open
Open 0.990218 Open
Closure is provided 0.113416 Closure is provided
Closure is provided 0.137515 Closure is provided
Closure is provided 0.137684 Closure is provided
Closure is provided 0.672297 Closure is provided
Of course, a plurality of predetermined thresholds thd may be set, and a threshold greater than the larger predetermined threshold is considered as an open state, and a threshold less than the smaller predetermined threshold is considered as a closed state, and if the correlation is smaller than the larger predetermined threshold and greater than the smaller predetermined threshold, it is considered that the determination is possibly wrong, and data needs to be collected again for re-determination.
Therefore, the invention judges the opening and closing state of the glasses legs by utilizing the two groups of inertial sensors, has simpler hardware structure and high recognition precision, and can further optimize the power consumption mode switching of the intelligent glasses and prolong the endurance capacity, thereby overcoming the defects of small battery capacity, insufficient endurance and the like of the intelligent glasses.
In one embodiment, before determining the open/close state, the gyroscope needs to be calibrated to calibrate the magnetometer. The magnetometer is a three-axis magnetometer, and the gyroscope is a three-axis gyroscope.
Calibrating the gyroscope comprises: the intelligent glasses keep a static state, data of the gyroscope are collected for a period of time, the mean value of the data of each axis in the three axes is calculated, the mean value is used as a zero offset value of each axis of the gyroscope, and the value obtained by subtracting the zero offset value of the corresponding axis from the reading of each axis of the gyroscope is considered as a calibrated gyroscope value of the corresponding axis.
Calibrating the magnetometer includes: and taking the intelligent glasses to shake, collecting enough data of the magnetometer, and calculating to obtain the three-axis zero offset value and the geomagnetic field intensity of the magnetometer.
The specific calculation process is as follows:
from the sphere center formula:
fun=(Mx-Ox)2+(My-Oy)2+(Mz-Oz)2-R2
wherein the output value of the magnetometer is [ M ]x,Mx,Mx]The coefficient to be solved has a three-axis zero offset value of [ Ox,Ox,Ox]The geomagnetic field intensity is R. The method comprises the steps of acquiring output values of a plurality of groups of magnetometers to fit coefficients to be solved to obtain residual errors sigma, considering that calibration is successful if the residual errors are smaller than a preset threshold value, and storing calibration parameters Ox,Ox,Ox,R。
And if the acquired data of the magnetometer meets the recalibration condition (namely the residual error is smaller than a preset threshold), updating the calibration parameters of the magnetometer, namely the triaxial zero offset value and the geomagnetic field strength. And if the acquired data of the gyroscope meets the recalibration condition, updating the calibration parameters of the gyroscope, namely the three-axis zero offset value. The gyroscope calibration conditions are as follows: and collecting a plurality of groups of gyroscope data, and updating the triaxial zero offset value if the triaxial data variance is smaller than a set threshold value. Therefore, real-time calibration of the magnetometer and the gyroscope can be ensured, and the precision is improved.
In the actual use process, the earth magnetism is easily interfered by the surrounding electromagnetic environment, and the attitude and the calculation accuracy of the glasses legs are influenced. To improve accuracy, in one embodiment, the processor determines whether magnetic interference is present in combination with the data sensed by the magnetometer and/or the data sensed by the gyroscope, disables the data of the magnetometer to calculate the attitude of the temple if magnetic interference is present, and allows the data of the magnetometer to be used to calculate the attitude of the temple if magnetic interference is not present.
The determination of whether the magnetometer is disturbed is mainly done in two ways.
The first method is as follows:
the data of the currently acquired magnetometer are set as follows:
RawMag=[Mx,My,Mz]
setting the calibration parameters of the magnetometer, which are calculated in advance and stored, as follows:
ParaMagCali=[Ox,Oy,Oz,R],
wherein Ox is zero offset value of x axis, Oy is zero offset value of y axis, Oz is zero offset value of z axis, and R is geomagnetic field intensity.
The current geomagnetic field strength can be obtained from the data and calibration parameters of the magnetometer:
Radius=sqrt((Mx-Ox)2+(My-Oy)2+(Mz-Oz)2)
and obtaining the ratio of the current geomagnetic field intensity to R in the calibration parameters:
Ratio=Radius/R
and finally, comparing the Ratio with a threshold value, if the Ratio exceeds the threshold value, considering that the magnetic interference exists currently, and otherwise, considering that the interference does not exist.
The second method is as follows:
the attitude variation obtained by the magnetometer and the accelerometer in a certain time period is set as follows:
Δqmag=[qm0,qm1,qm2,qm3]
wherein q ism0……qm3Are attitude parameters derived from the magnetometer and the accelerometer.
The attitude variation calculated by the gyroscope is:
Δqgyro=[qg0,qg1,qg2,qg3]
wherein q isg0……qg3For the attitude parameters calculated by the gyroscope, Δ q is calculatedmagAnd Δ qgyroAnd comparing, and if the difference between the two values exceeds a preset threshold value, determining that the magnetic interference exists currently. In the absence of magnetic interference, each inertia is usedThe outputs of the accelerometer and magnetometer of the sensor 130 calculate the attitude of the corresponding temple.
In particular, by an accelerometer [ A ]x,Ay,Az]The pitch angle P and roll angle R can be calculated and combined with the magnetometer to output Mx,My,MZ]The following can be obtained:
Figure BDA0003336518400000061
wherein [ M ] isxn,Myn,Mzn]Is the value projected by the magnetometer onto the horizontal plane.
From the above equation:
Figure BDA0003336518400000062
and finally obtaining a course angle Y:
Y=arctan(-Mxn/Myn)
after the three attitude angles (namely the pitch angle P, the roll angle R and the course angle Y) are obtained, the attitude of the glasses leg can be obtained, and the attitude quaternion q can be obtained through conversion.
When magnetic interference exists, the corresponding posture of the temple is calculated by using the output of the accelerometer and the gyroscope of each inertial sensor 130, and specifically, the current posture of the temple is calculated by integrating and decomposing the previous posture by using the gyroscope. This can further improve the accuracy of the pose calculation.
Specifically, when the detection is subject to magnetic interference, the current attitude is attitWith the gyroscope output ω, then the attitude can be expressed as:
Figure BDA0003336518400000063
according to another aspect of the present invention, there is provided a method of operating smart glasses, the method comprising: the processor calculates the postures of the corresponding temples according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two temples, and judges whether the temples are in a closed state or an open state based on the correlation and a preset threshold value.
In one embodiment, when the correlation is smaller than a predetermined threshold, the temple is determined to be in a closed state, when the correlation is larger than the predetermined threshold, the temple is determined to be in an open state, when the temple is determined to be in the closed state, the processor causes the smart glasses to enter a low power consumption mode, and when the temple is determined to be in the open state, the processor causes the smart glasses to enter a normal operation mode.
In one embodiment, the accelerometer, the magnetometer and the gyroscope in each group of inertial sensors are fixedly and jointly installed, coordinate systems are consistent, whether magnetic interference exists is judged by combining data obtained by sensing of the magnetometer and data obtained by sensing of the gyroscope, if magnetic interference exists, data of the magnetometer is forbidden to calculate the posture of a temple, if magnetic interference does not exist, the posture of the temple is allowed to be calculated by using data of the magnetometer, and when no magnetic interference exists, the posture of the corresponding temple is calculated by using the output of the accelerometer and the magnetometer of each inertial sensor; calculating a posture of the corresponding temple using the outputs of the accelerometer and the gyroscope of each inertial sensor in the presence of magnetic interference.
In one embodiment, before determining the open/close state, the gyroscope needs to be calibrated to calibrate the magnetometer. The magnetometer is a three-axis magnetometer, and the gyroscope is a three-axis gyroscope. Calibrating the gyroscope comprises: the intelligent glasses keep a static state, data of the gyroscope are collected for a period of time, the mean value of the data of each axis in the three axes is calculated, the mean value is used as a zero offset value of each axis of the gyroscope, and the value obtained by subtracting the zero offset value of the corresponding axis from the reading of each axis of the gyroscope is considered as a calibrated gyroscope value of the corresponding axis. Calibrating the magnetometer includes: and taking the intelligent glasses to shake, collecting enough data of the magnetometer, and calculating to obtain the three-axis zero offset value and the geomagnetic field intensity of the magnetometer. If the acquired data of the magnetometer meets the recalibration condition, updating calibration parameters of the magnetometer, namely the triaxial zero offset value and the geomagnetic field intensity; and if the acquired data of the gyroscope meets the recalibration condition, updating the calibration parameters of the gyroscope, namely the three-axis zero offset value. Therefore, real-time calibration of the magnetometer and the gyroscope can be ensured, and the precision is improved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example" or "some examples" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples described in this specification can be combined and combined by one skilled in the art.
While embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present invention, and that changes, modifications and variations may be made therein by those of ordinary skill in the art within the scope of the present invention.

Claims (11)

1. A smart eyewear, comprising:
a frame mounted with lenses;
two temples mounted on both sides of the frame, wherein each temple is capable of opening and closing with respect to the frame;
two sets of inertial sensors, wherein each set of inertial sensors is mounted on a corresponding one of the temples, each set of inertial sensors including one or more of an accelerometer, a magnetometer and a gyroscope;
and the processor is electrically connected with each group of inertial sensors, calculates the corresponding postures of the corresponding glasses legs according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two glasses legs, and judges whether the glasses legs are in a closed state or an open state based on the correlation and a preset threshold value.
2. The smart eyewear of claim 1,
when the correlation is less than a predetermined threshold value, the temple is determined to be in the closed state, when the correlation is greater than the predetermined threshold value, the temple is determined to be in the open state,
the processor causes the smart glasses to enter a low power consumption mode when the temple is determined to be in the closed state, the processor causes the smart glasses to enter a normal operation mode when the temple is determined to be in the open state,
the intelligent glasses further comprise a battery mounted on the glasses frame or the glasses legs, and the processor is mounted on the glasses frame or the glasses legs.
3. The smart eyewear of claim 1 wherein the accelerometers, magnetometers and gyroscopes of each set of inertial sensors are fixedly mounted in combination, with a coordinate system that is consistent,
the processor judges whether magnetic interference exists or not by combining the data obtained by the magnetometer induction and/or the data obtained by the gyroscope induction, if the magnetic interference exists, the data of the magnetometer is forbidden to calculate the posture of the glasses leg, and if the magnetic interference does not exist, the data of the magnetometer is allowed to be used for calculating the posture of the glasses leg.
4. The smart eyewear of claim 3,
when no magnetic interference exists, calculating the corresponding posture of the glasses leg by utilizing the output of the accelerometer and the magnetometer of each inertial sensor;
in the presence of magnetic interference, the attitude of the corresponding temple is calculated using the outputs of the accelerometer and gyroscope of each inertial sensor.
5. The smart eyewear of claim 1, wherein the gyroscope is calibrated prior to the open-close state determination, the gyroscope being a three-axis gyroscope,
calibrating the gyroscope comprises: the intelligent glasses keep a static state, data of the gyroscope are collected for a period of time, the mean value of the data of each axis in the three axes is calculated, the mean value is used as a zero offset value of each axis of the gyroscope, and the value obtained by subtracting the zero offset value of the corresponding axis from the reading of each axis of the gyroscope is considered as a calibrated gyroscope value of the corresponding axis.
6. The smart glasses according to claim 5, wherein the magnetometer is calibrated before the open/close state is determined, the magnetometer is a three-axis magnetometer,
calibrating the magnetometer includes: and taking the intelligent glasses to shake, collecting a plurality of data of the magnetometer, and calculating to obtain the three-axis zero offset value and the geomagnetic field strength of the magnetometer.
7. The smart eyewear of claim 6,
if the acquired data of the magnetometer meets the recalibration condition, updating calibration parameters of the magnetometer, namely the triaxial zero offset value and the geomagnetic field intensity;
and if the acquired data of the gyroscope meets the recalibration condition, updating the calibration parameters of the gyroscope, namely the three-axis zero offset value.
8. The working method of the intelligent glasses is characterized in that the intelligent glasses comprise a glass frame provided with lenses, two glasses legs arranged on two sides of the glass frame, two sets of inertial sensors respectively arranged on the two glasses legs and a processor, each set of inertial sensor comprises one or more of an accelerometer, a magnetometer and a gyroscope, and the working method comprises the following steps:
the processor calculates the postures of the corresponding temples according to the data obtained by the induction of each group of inertial sensors, calculates the correlation of the postures of the two temples, and judges whether the temples are in a closed state or an open state based on the correlation and a preset threshold value.
9. The operating method according to claim 8,
when the correlation is less than a predetermined threshold value, the temple is determined to be in the closed state, when the correlation is greater than the predetermined threshold value, the temple is determined to be in the open state,
when the temple is determined to be in the closed state, the processor enables the smart glasses to enter a low power consumption mode, and when the temple is determined to be in the open state, the processor enables the smart glasses to enter a normal working mode.
10. The method of operation of claim 8, wherein the accelerometers, magnetometers and gyroscopes of each set of inertial sensors are fixedly mounted in combination, with a coordinate system that is consistent,
judging whether magnetic interference exists or not by combining the data obtained by the magnetometer and/or the data obtained by the gyroscope, if so, forbidding the data of the magnetometer to calculate the posture of the temple, if not, allowing the data of the magnetometer to be used for calculating the posture of the temple,
when no magnetic interference exists, calculating the corresponding posture of the glasses leg by utilizing the output of the accelerometer and the magnetometer of each inertial sensor;
calculating a posture of the corresponding temple using the outputs of the accelerometer and the gyroscope of each inertial sensor in the presence of magnetic interference.
11. The method of claim 8, wherein the gyroscope is calibrated prior to determining the open-closed state, the gyroscope being a three-axis gyroscope,
calibrating the gyroscope comprises: the intelligent glasses keep a static state, data of the gyroscope is collected for a period of time, the mean value of the data of each axis of the three axes is calculated, the mean value is used as a zero offset value of each axis of the gyroscope, the reading value of each axis of the gyroscope minus the zero offset value of the corresponding axis is considered as a calibrated gyroscope value of the corresponding axis,
before the open-close state judgment is carried out, the magnetometer is calibrated, the magnetometer is a three-axis magnetometer,
calibrating the magnetometer includes: and taking the intelligent glasses to shake, collecting a plurality of data of the magnetometer, and calculating to obtain the three-axis zero offset value and the geomagnetic field strength of the magnetometer.
CN202111295741.3A 2021-11-03 2021-11-03 Intelligent glasses and working method thereof Active CN114035345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111295741.3A CN114035345B (en) 2021-11-03 2021-11-03 Intelligent glasses and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111295741.3A CN114035345B (en) 2021-11-03 2021-11-03 Intelligent glasses and working method thereof

Publications (2)

Publication Number Publication Date
CN114035345A true CN114035345A (en) 2022-02-11
CN114035345B CN114035345B (en) 2024-03-12

Family

ID=80142748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111295741.3A Active CN114035345B (en) 2021-11-03 2021-11-03 Intelligent glasses and working method thereof

Country Status (1)

Country Link
CN (1) CN114035345B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4283435A1 (en) * 2022-05-27 2023-11-29 STMicroelectronics S.r.l. Device and method for lid angle detection
US12007237B2 (en) 2020-05-05 2024-06-11 Stmicroelectronics S.R.L. Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
CN109946853A (en) * 2019-03-26 2019-06-28 华为技术有限公司 A kind of intelligent glasses
WO2019132106A1 (en) * 2017-12-27 2019-07-04 (주)이노션 Modularized eyeglass temples and smart eyewear
CN110687683A (en) * 2019-11-12 2020-01-14 Oppo广东移动通信有限公司 Intelligent glasses control method and intelligent glasses
CN111309161A (en) * 2020-01-20 2020-06-19 华为技术有限公司 Wearable device wearing state detection method and device and wearable device
CN113534500A (en) * 2020-04-14 2021-10-22 所乐思(深圳)科技有限公司 Intelligent glasses, method for monitoring human body posture, medium, terminal and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107576321A (en) * 2017-08-30 2018-01-12 北京小米移动软件有限公司 Determine the method, device and mobile terminal of magnetic azimuth
WO2019132106A1 (en) * 2017-12-27 2019-07-04 (주)이노션 Modularized eyeglass temples and smart eyewear
CN109946853A (en) * 2019-03-26 2019-06-28 华为技术有限公司 A kind of intelligent glasses
CN110687683A (en) * 2019-11-12 2020-01-14 Oppo广东移动通信有限公司 Intelligent glasses control method and intelligent glasses
CN111309161A (en) * 2020-01-20 2020-06-19 华为技术有限公司 Wearable device wearing state detection method and device and wearable device
CN113534500A (en) * 2020-04-14 2021-10-22 所乐思(深圳)科技有限公司 Intelligent glasses, method for monitoring human body posture, medium, terminal and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12007237B2 (en) 2020-05-05 2024-06-11 Stmicroelectronics S.R.L. Electronic apparatus control method performed through lid angle calculation, electronic apparatus thereof and software product
EP4283435A1 (en) * 2022-05-27 2023-11-29 STMicroelectronics S.r.l. Device and method for lid angle detection

Also Published As

Publication number Publication date
CN114035345B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN114035345B (en) Intelligent glasses and working method thereof
CN106647791B (en) Three-dimensional attitude measurement and control device, mechanical equipment and three-dimensional attitude measurement and control method
CN104237822B (en) Compensation magnetic disturbance for electronic magnetic flowmeter sensor
CN106885566B (en) Wearable motion sensor and magnetic field interference resisting method thereof
US9683865B2 (en) In-use automatic calibration methodology for sensors in mobile devices
CN107493531B (en) A kind of head pose detection method, device and earphone
CN109916395B (en) Gesture autonomous redundant combined navigation algorithm
US9733729B2 (en) Method and device for sensing orientation of an object in space in a fixed frame of reference
CN105606096B (en) A kind of posture of carrier movement status information auxiliary and course calculate method and system
US7305315B2 (en) Method of compensating tilt using two-axis geomagnetic sensor, and acceleration sensor, and apparatus thereof
JP5469670B2 (en) Geomagnetic detector
CN105716610B (en) A kind of attitude of carrier and course calculating method and system of Geomagnetic Field Model auxiliary
US7835878B2 (en) Travel angle detection system for mobile object
CN112611380B (en) Attitude detection method based on multi-IMU fusion and attitude detection device thereof
US20120296596A1 (en) Mobile device
JP5809416B2 (en) Mobile devices and autonomous navigation calculation
EP2482034A1 (en) Geomagnetism sensing device
Hoang et al. Pre-processing technique for compass-less madgwick in heading estimation for industry 4.0
CN106767789A (en) A kind of pedestrian course Optimal Fusion based on adaptive Kalman filter
CN112033405B (en) Indoor environment magnetic anomaly real-time correction and navigation method and device
CN110375773B (en) Attitude initialization method for MEMS inertial navigation system
Ali et al. An improved personal dead-reckoning algorithm for dynamically changing smartphone user modes
Liu et al. Estimation of inertial/magnetic sensor orientation for human-motion-capture system
CN115096336A (en) Environmental magnetic field interference determination method based on nine-axis MEMS MARG sensor and computer system
CN112729280B (en) Polyhedral array structure-based micro-inertia attitude measurement device and method

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
GR01 Patent grant
GR01 Patent grant