CN109781189A - A kind of method and device that identification protective spectacles are correctly worn - Google Patents
A kind of method and device that identification protective spectacles are correctly worn Download PDFInfo
- Publication number
- CN109781189A CN109781189A CN201910196381.8A CN201910196381A CN109781189A CN 109781189 A CN109781189 A CN 109781189A CN 201910196381 A CN201910196381 A CN 201910196381A CN 109781189 A CN109781189 A CN 109781189A
- Authority
- CN
- China
- Prior art keywords
- protective spectacles
- microprocessor
- sensor
- gravity
- data
- 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
Links
Abstract
The invention discloses a kind of method and device that identification protective spectacles are correctly worn, which includes blocking sensor, six axle sensors and microprocessor;It blocks sensor and six axle sensors is connect with microprocessor communication.The present invention by microprocessor cycle carries out operation, analysis to the data for blocking sensor and the acquisition of six axle sensors, learn the status data of protective spectacles, and then according to the status data of obtained protective spectacles analysis teenager either with or without correctly wearing protective spectacles, consequently facilitating guardian reminds teenager correctly protective spectacles and to acquire data using six axle sensors, it can more accurately reflect the motion state of protective spectacles, and then can more accurately estimate whether teenager correctly wears protective spectacles.
Description
Technical field
The present invention relates to eyewear arts, and in particular to a kind of method and device that identification protective spectacles are correctly worn.
Background technique
Glasses have incorporated people's lives as a kind of common device, and many people is helped to adjust eyesights, but its function
It is single, user can only be allowed to see clear.Teenager is poor due to itself self-disciplining, it will usually often take off one's glasses, even
Correct method wearing spectacles are not pressed, so that guardian cannot be helped really to recognize the whether correct wearing spectacles of teenager.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of method and device that identification protective spectacles are correctly worn.
The purpose of the present invention is realized using following technical scheme:
First aspect present invention provides a kind of method that identification protective spectacles are correctly worn, this method comprises:
S1. the acceleration of gravity data and angular velocity data that six axle sensor of microprocessor real-time reception is sent, and in real time
Receive the status data whether being blocked for blocking sensor transmission;Wherein, six axle sensor be set in protective spectacles with
The acceleration of gravity data and angular velocity data are acquired in real time, and the sensor that blocks is set on the inside of the protective spectacles with reality
When acquire the status data;
S2. the microprocessor cycle the acceleration of gravity data and angular velocity data are handled, is obtained
The angle change value of the protective spectacles;
S3. when the angle change value of the protective spectacles is greater than preset angle change threshold value λ1And acceleration of gravity is exhausted
Preset acceleration of gravity threshold value Th is greater than to value1When, the microprocessor judges that the protective spectacles are kept in motion, and goes forward side by side
Whether the state that sensor is blocked described in the judgement of one step is blocked;
If S4. blocking, angular speed number of the microprocessor to six axle sensor acquisition under current state
According to being handled, the angle value of protective spectacles is obtained, and further judges the angle value of the protective spectacles whether at preset angle
It spends in range;
S5. if so, the protective spectacles are correctly worn.
Preferably, the method also includes: when the protective spectacles are correctly worn, the microprocessor starts described in storage
Block the data of sensor and six axle sensor acquisition.
Preferably, in the S3 further include: when the angle change value of the protective spectacles is not more than preset angle change threshold
Value λ1And the absolute value of acceleration of gravity is not more than preset acceleration of gravity threshold value Th1When, then return to the S2.
Preferably, in the S4 further include: if not blocking, return to the S1.
Preferably, the S5 further include: if it is not, then returning to the S1.
Preferably, the method also includes the status numbers for blocking sensor that: S7. is received when the microprocessor
When according to for non-occlusion state, the microprocessor determines that the protective spectacles are removed.
Preferably, the S7 further include: when the sensor that blocks is non-occlusion state, the microprocessor is to the state
Under six axle sensor acquisition angular velocity data and gravity angular velocity data carry out attitude algorithm, obtain the protective spectacles
Angle change value, when N minutes continuous, the angle change value of the protective spectacles is not more than preset angle change threshold value λ1And
The absolute value of acceleration of gravity is not more than preset acceleration of gravity threshold value Th1When, the microprocessor determines the protective spectacles
It remains static.
The utility model has the advantages that by microprocessor cycle being transported to the data for blocking sensor and the acquisition of six axle sensors
It calculates, analysis, learns the status data of protective spectacles, and then teenager is analyzed either with or without just according to the status data of obtained protective spectacles
Protective spectacles really are worn, consequently facilitating guardian reminds teenager's correctly protective spectacles.And number is acquired using six axle sensors
According to can more accurately reflect the motion state of protective spectacles, and then more accurately whether correctly can wear eyeshield to teenager
Mirror is estimated.
Second aspect of the present invention provides a kind of device that identification protective spectacles are correctly worn, and described device includes: for holding
The capable method that identification protective spectacles are correctly worn a kind of as described above blocks sensor, six axle sensors and microprocessor.
Preferably, described device further includes for blocking sensor, six axle sensors and microprocessor power supply to described
System power supply.
The utility model has the advantages that by microprocessor cycle being transported to the data for blocking sensor and the acquisition of six axle sensors
It calculates, analysis, learns the status data of protective spectacles, and then teenager is analyzed either with or without just according to the status data of obtained protective spectacles
Protective spectacles really are worn, consequently facilitating guardian reminds teenager correctly protective spectacles and to acquire number using six axle sensors
According to can more accurately reflect the motion state of protective spectacles, and then more accurately whether correctly can wear eyeshield to teenager
Mirror is estimated.
Third aspect present invention provides a kind of readable computer storage medium, is stored thereon with computer program, the journey
Sequence is used to execute a kind of method that identification protective spectacles are correctly worn as described above by microprocessor.
Detailed description of the invention
The present invention will be further described with reference to the accompanying drawings, but the embodiment in attached drawing is not constituted to any limit of the invention
System, for those of ordinary skill in the art, without creative efforts, can also obtain according to the following drawings
Other attached drawings.
Fig. 1 is a kind of method flow diagram that identification protective spectacles are correctly worn provided in an embodiment of the present invention;
Fig. 2 is the schematic device provided in an embodiment of the present invention for realizing the method in Fig. 1.
Appended drawing reference: sensor 1 is blocked;Six axle sensors 2;Microprocessor 3;System power supply 4.
Specific embodiment
The invention will be further described with the following Examples.
An a kind of implementation of method that identification protective spectacles are correctly worn according to the present invention is shown referring to Fig. 1-2, Fig. 1
The process of example, this method can be executed by the microprocessor being placed on protective spectacles, this method comprises:
Step S1. is initialized to sensor 1, six axle sensors 2 and microprocessor 3 is blocked;
The acceleration of gravity data and angular speed number that 3 real-time reception of microprocessor, six axle sensor 2 described in step S2. is sent
According to, and real-time reception blocks the status data of the transmission of sensor 1 whether being blocked;Wherein, six axle sensor 2 is set to
To acquire the acceleration of gravity data and angular velocity data in real time in protective spectacles, the sensor 1 that blocks is set to the shield
To acquire the status data in real time on the inside of glasses;
Microprocessor 3 described in step S3. is periodically handled the acceleration of gravity data and angular velocity data,
Obtain the angle change value of the protective spectacles;
Step S4. is greater than preset angle change threshold value λ when the angle change value of the protective spectacles1And acceleration of gravity
Absolute value be greater than preset acceleration of gravity threshold value Th1When, whether the state that sensor 1 is further blocked described in judgement is hidden
Gear;Wherein, the angle change value θ ' (t) of protective spectacles=| θ (t)-θ (t- Δ t) |, θ ' (t) be t moment angle change value, θ
It (t) is the angle value of the protective spectacles of t moment, (t- Δ t) is (angle value of the protective spectacles at t- Δ t) moment, λ to θ1It=2 °, presets
Acceleration of gravity threshold value Th1Value be 30.
If step S5. is blocked, angle of the microprocessor 3 to six axle sensor 2 acquisition under current state
Whether speed data is handled, and the angle value of protective spectacles is obtained, and further judge the angle value of the protective spectacles pre-
If angular range in;
Step S6. is if so, the protective spectacles are correctly worn.
Preferably, according to six axle sensor 2 the characteristics of, the data of 32 any time of six axle sensors acquisition include three angles
The acceleration of gravity data of speed data and three directions, so microprocessor 3 is in the angular speed number acquired to six axle sensors 2
When according to carrying out attitude algorithm, what is obtained is three angle values, is the new line angle value of protective spectacles, the angle value and askew of bowing respectively
Therefore brilliance angle value is logical when analyzing angle changing value when judging whether the protective spectacles are kept in motion
The angle change value for calculating separately three angle values is crossed, any one angle change value is more than 2 ° when these three angle change values
When, and when the acceleration of gravity absolute value of either direction is more than 30, determine that the protective spectacles are motion states, and then further sentence
Whether the disconnected state for blocking sensor 1 is blocked.
Preferably, the method also includes: when the protective spectacles are correctly worn, the microprocessor 3 start store institute
State the data for blocking sensor 1 and six axle sensor 2 acquisition.
Preferably, in the S4 further include: S41 is not more than preset angle change when the angle change value of the protective spectacles
Threshold value λ1And the absolute value of acceleration of gravity is not more than preset acceleration of gravity threshold value Th1When, then it returns and executes the step
S2。
Preferably, in the step S5 further include: if step S51. is not blocked, return and execute the step S2.
Preferably, the step S6 further include: S61 executes the step S2 if it is not, then returning.
Preferably, the method also includes: step S7. described blocks sensor 1 when what the microprocessor 3 received
When status data is non-occlusion state, the microprocessor 3 determines that the protective spectacles are removed.
Preferably, the step S7 further include: when the sensor 1 that blocks is non-occlusion state, the microprocessor 3 is right
The angular velocity data and gravity angular velocity data of six axle sensor 2 acquisition under the state carry out attitude algorithm, obtain institute
The angle change value for stating protective spectacles, when continuous 2 minutes, the angle change value of the protective spectacles was not more than preset angle change threshold
Value λ1And the absolute value of acceleration of gravity is not more than preset acceleration of gravity threshold value Th1When, described in the microprocessor determines
Protective spectacles remain static.
Preferably, the method third aspect that one of embodiment of the present invention identification protective spectacles are correctly worn provides one kind
Readable computer storage medium, is stored thereon with computer program, and the program is by microprocessor for executing as described above one
The method that kind identification protective spectacles are correctly worn.
The utility model has the advantages that by microprocessor cycle being transported to the data for blocking sensor and the acquisition of six axle sensors
It calculates, analysis, learns the status data of protective spectacles, and then teenager is analyzed either with or without just according to the status data of obtained protective spectacles
Protective spectacles really are worn, consequently facilitating guardian reminds teenager's correctly protective spectacles.And number is acquired using six axle sensors 2
According to can more accurately reflect the motion state of protective spectacles, and then more accurately whether correctly can wear eyeshield to teenager
Mirror is estimated.
Fig. 2 shows a kind of device that identification protective spectacles are correctly worn, described device includes: as described above for executing
A kind of method correctly worn of identification protective spectacles blocks sensor 1, six axle sensors 2 and microprocessor 3.Block sensor 1
It is communicated to connect with six axle sensors 2 with microprocessor 3.
Preferably, described device further includes for powering to sensor 1, six axle sensors 2 and the microprocessor 3 of blocking
System power supply 4.
The utility model has the advantages that by microprocessor 3 periodically to block sensor 1 and six axle sensors 2 acquisition data into
Row operation, analysis learn the status data of protective spectacles, and then analyze teenager according to the status data of obtained protective spectacles to have not
Have and correctly wear protective spectacles, consequently facilitating guardian reminds teenager correctly protective spectacles and to adopt using six axle sensors 2
Collect data, can more accurately reflect the motion state of protective spectacles, and then more accurately whether can correctly wear to teenager
Protective spectacles are estimated.
The present invention also provides a kind of computer-readable medium, which is stored thereon with computer journey
The step of sequence, which realizes a kind of method that identification protective spectacles are correctly worn above-mentioned when being executed by microprocessor 3.It is acted on
Corresponding with preceding method, which is not described herein again.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered
Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention
Matter and range.
Claims (10)
1. a kind of method that identification protective spectacles are correctly worn, characterized in that the described method includes:
S1. the acceleration of gravity data and angular velocity data that six axle sensor of microprocessor real-time reception is sent, and real-time reception
Block the status data of sensor transmission whether being blocked;Wherein, six axle sensor is set in protective spectacles with real-time
The acceleration of gravity data and angular velocity data are acquired, the sensor that blocks is set on the inside of the protective spectacles to adopt in real time
Collect the status data;
S2. the microprocessor cycle the acceleration of gravity data and angular velocity data are handled, described in acquisition
The angle change value of protective spectacles;
S3. when the angle change value of the protective spectacles is greater than preset angle change threshold value λ1And the absolute value of acceleration of gravity
Greater than preset acceleration of gravity threshold value Th1When, the microprocessor judges that the protective spectacles are kept in motion, and further
Whether the state that sensor is blocked described in judgement is blocked;
If S4. blocking, the microprocessor under current state six axle sensor acquisition angular velocity data into
Whether row processing, obtains the angle value of protective spectacles, and further judge the angle value of the protective spectacles in preset angle model
In enclosing;
S5. if so, the protective spectacles are correctly worn.
2. according to the method described in claim 1, it is characterized in that, the method also includes:
When the protective spectacles are correctly worn, the microprocessor starts to block sensor and six axle sensor described in storage
The data of acquisition.
3. according to the method described in claim 1, it is characterized in that, in the S3 further include:
When the angle change value of the protective spectacles is not more than preset angle change threshold value λ1And the absolute value of acceleration of gravity is not
Greater than preset acceleration of gravity threshold value Th1When, then return to the S2.
4. according to the method described in claim 1, it is characterized in that, in the S4 further include:
If not blocking, the S1 is returned.
5. according to the method described in claim 1, it is characterized in that, the S5 further include:
If it is not, then returning to the S1.
6. according to the method described in claim 1, it is characterized in that, the method also includes:
S7. when the status data for blocking sensor described in the microprocessor receives is non-occlusion state, micro- place
Reason device determines that the protective spectacles are removed.
7. according to the method described in claim 6, it is characterized in that, the S7 further include:
When the sensor that blocks is non-occlusion state, the microprocessor is to six axle sensor acquisition under the state
Angular velocity data and gravity angular velocity data carry out attitude algorithm, obtain the angle change value of the protective spectacles, when continuous N points
The angle change value of clock, the protective spectacles is not more than preset angle change threshold value λ1And the absolute value of acceleration of gravity is little
In preset acceleration of gravity threshold value Th1When, the microprocessor determines that the protective spectacles remain static.
8. a kind of device that identification protective spectacles are correctly worn, characterized in that described device includes: for executing such as claim 1-
A kind of 7 any methods that identification protective spectacles are correctly worn block sensor, six axle sensors and microprocessor.
9. device according to claim 8, characterized in that further include for blocking sensor, six axle sensors to described
With the system power supply of microprocessor power supply.
10. a kind of readable computer storage medium, is stored thereon with computer program, which is characterized in that the program is by micro process
The method as described in any in claim 1-7 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910196381.8A CN109781189B (en) | 2019-03-15 | 2019-03-15 | Method and device for identifying correct wearing of goggles |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910196381.8A CN109781189B (en) | 2019-03-15 | 2019-03-15 | Method and device for identifying correct wearing of goggles |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109781189A true CN109781189A (en) | 2019-05-21 |
CN109781189B CN109781189B (en) | 2021-07-27 |
Family
ID=66488011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910196381.8A Active CN109781189B (en) | 2019-03-15 | 2019-03-15 | Method and device for identifying correct wearing of goggles |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109781189B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106510719A (en) * | 2016-09-30 | 2017-03-22 | 歌尔股份有限公司 | User posture monitoring method and wearable equipment |
CN107595239A (en) * | 2015-06-02 | 2018-01-19 | 杭州镜之镜科技有限公司 | Individual uses eye monitoring system |
CN107707763A (en) * | 2017-10-19 | 2018-02-16 | 杭州镜之镜科技有限公司 | Near-sighted prevention and control wearable device and near-sighted prevention and control system and method |
CN108646316A (en) * | 2018-05-02 | 2018-10-12 | 四川斐讯信息技术有限公司 | A kind of wearing state recognition methods of wearable device and wearable device |
CN109116586A (en) * | 2018-08-16 | 2019-01-01 | 丹阳智娃电子科技有限公司 | Multifunctional intellectual glasses |
-
2019
- 2019-03-15 CN CN201910196381.8A patent/CN109781189B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107595239A (en) * | 2015-06-02 | 2018-01-19 | 杭州镜之镜科技有限公司 | Individual uses eye monitoring system |
CN106510719A (en) * | 2016-09-30 | 2017-03-22 | 歌尔股份有限公司 | User posture monitoring method and wearable equipment |
CN107707763A (en) * | 2017-10-19 | 2018-02-16 | 杭州镜之镜科技有限公司 | Near-sighted prevention and control wearable device and near-sighted prevention and control system and method |
CN108646316A (en) * | 2018-05-02 | 2018-10-12 | 四川斐讯信息技术有限公司 | A kind of wearing state recognition methods of wearable device and wearable device |
CN109116586A (en) * | 2018-08-16 | 2019-01-01 | 丹阳智娃电子科技有限公司 | Multifunctional intellectual glasses |
Also Published As
Publication number | Publication date |
---|---|
CN109781189B (en) | 2021-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170176748A1 (en) | Text enhancements for head-mounted displays | |
US10078099B2 (en) | Methods and systems for aligning a mobile device to a vehicle | |
US20160325756A1 (en) | Methods and systems for sensor-based vehicle acceleration determination | |
CN105472069A (en) | Anti-fall device and mobile terminal anti-fall method | |
IL291915B1 (en) | Current drain reduction in ar/vr display systems | |
KR102257800B1 (en) | Estimation of direction of motion of users on mobile devices | |
CN105640508A (en) | Realtime sleep monitoring method and device and intelligent wearable equipment | |
EP3379202A1 (en) | A method for determining bias in an inertial measurement unit of an image acquisition device | |
CN104580693A (en) | Method and device for detecting user head-lowering posture | |
CN106131483A (en) | A kind of method for inspecting based on virtual reality and relevant device, system | |
CN104238752A (en) | Information processing method and first wearable equipment | |
CN106020667A (en) | Control method and device for screen status switching, and intelligent electronic equipment | |
CN109781189A (en) | A kind of method and device that identification protective spectacles are correctly worn | |
CN104424029A (en) | Information processing method and wearable electronic equipment | |
CN112513784B (en) | Data glasses for vehicles with automatic hiding display content | |
EP2958337B1 (en) | Reduced processor load for wireless communication between master unit and sensor unit | |
CN109920548A (en) | A kind of management method collected and analyzed and device with eye data | |
CN109916594A (en) | A kind of device of automatic detection protective spectacles wearing state | |
CN109117325A (en) | Endpoint detection methods, terminal and storage medium | |
CN104980621B (en) | A kind of frame per second method of adjustment and electronic equipment | |
CN208780221U (en) | The timing update the system of sensor | |
CN107608512B (en) | VR equipment control method and VR equipment | |
CN109709691A (en) | A kind of intelligent glasses with detection vertebra fatigue degree | |
CN104009813B (en) | Electro-static Driven Comb detection method, Apparatus and system | |
CN106949887B (en) | Space position tracking method, space position tracking device and navigation system |
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 |