Movatterモバイル変換


[0]ホーム

URL:


CN105466422A - Algorithm for detecting position variation of toothbrush in mouth - Google Patents

Algorithm for detecting position variation of toothbrush in mouth
Download PDF

Info

Publication number
CN105466422A
CN105466422ACN201510871269.1ACN201510871269ACN105466422ACN 105466422 ACN105466422 ACN 105466422ACN 201510871269 ACN201510871269 ACN 201510871269ACN 105466422 ACN105466422 ACN 105466422A
Authority
CN
China
Prior art keywords
toothbrush
axles
acceleration
hypercomplex number
carried out
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510871269.1A
Other languages
Chinese (zh)
Inventor
苗得雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oracleen Technology Co
Original Assignee
Oracleen Technology Co
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 Oracleen Technology CofiledCriticalOracleen Technology Co
Priority to CN201510871269.1ApriorityCriticalpatent/CN105466422A/en
Publication of CN105466422ApublicationCriticalpatent/CN105466422A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses an algorithm for detecting the position variation of a toothbrush in a mouth. The acceleration of the toothbrush in three axes and angular speeds of the toothbrush in three axes in the mouth are acquired by a six-axis sensor respectively; integration operation is performed on the acquired acceleration in the three axes and the acquired angular speeds in the three axes, a quaternion is acquired, calculus processing is performed on the acquired quaternion, and then an Euler angle can be obtained through average filtering; the Euler angle is sent to a client side, and the client side captures the current position of the toothbrush in the mouth according to the acquired Euler angle. With the adoption of the algorithm, every action of the toothbrush can be captured accurately, so that a user can master the condition inside the mouth better.

Description

A kind of toothbrush that detects is at cavity interior shift in position algorithm
Technical field
The present invention relates to data processing field, particularly, relate to a kind of toothbrush that detects at cavity interior shift in position algorithm.
Background technology
Based on oral cavity variety of problems in the industry, user cannot understand oneself cavity interior situation clearly, and cannot find desirable solution when tooth goes wrong.
Summary of the invention
The object of the invention is to, for the problems referred to above, propose a kind of toothbrush that detects at cavity interior shift in position algorithm, to realize the clear advantage grasping cavity interior.
For achieving the above object, the technical solution used in the present invention is:
A kind of toothbrush that detects, at cavity interior shift in position algorithm, comprises
Six axle sensors are used to obtain the step of toothbrush at the acceleration of intraoral 3 axles and the angular velocity of 3 axles respectively;
Integration computing is carried out to the acceleration of 3 axles of above-mentioned acquisition and the angular velocity of 3 axles and obtains hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then draw the step of Eulerian angle by mean filter;
And Eulerian angle are sent to client, client captures the step of current toothbrush at mouth intracavitary locations according to the Eulerian angle obtained.
Preferably, integration computing is carried out to the acceleration of 3 axles of above-mentioned acquisition and the angular velocity of 3 axles and obtains hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then show that the step of Eulerian angle specifically comprises by mean filter:
The acceleration of 3 axles is carried out to the step of acceleration of gravity normalized;
Extract the step of the weight component in the equivalent cosine matrix of hypercomplex number;
The acceleration of 3 axles after degree of will speed up normalized and the weight component of extraction carry out the step that vector cross product calculates attitude error;
Attitude error is carried out to the step of integral and calculating;
Carry out complementary filter, and by the compensation of attitude error after above-mentioned integral and calculating on angular velocity, the step of correction angle rate integrating skew;
Single order runge kutta method is utilized to upgrade hypercomplex number, and to the step that the hypercomplex number after upgrading is normalized;
And
Hypercomplex number after above-mentioned normalized is converted to the step of Eulerian angle.
Simultaneously technical solution of the present invention also discloses and a kind ofly detects the system of toothbrush in cavity interior shift in position, comprises six axle sensors, data processor and the client that are arranged in toothbrush;
Described six axle sensors: for obtaining the acceleration of toothbrush at intraoral 3 axles and the angular velocity of 3 axles;
Described data processor: carry out integration computing for the acceleration of 3 axles to above-mentioned acquisition and the angular velocity of 3 axles and obtain hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then draw Eulerian angle by mean filter;
Described client: for receiving Eulerian angle data, thus catch current toothbrush at mouth intracavitary locations, and toothbrush is exported in a graphical form at mouth intracavitary locations and change in location.
Preferably, the data of described six axle sensors by bluetooth data transmission to data processor.
Technical scheme of the present invention has following beneficial effect:
Technical scheme of the present invention, by the algorithm monitors toothbrush of six axle sensor modules and technical solution of the present invention in cavity interior position change conditions constantly, can capture each action of toothbrush accurately, thus user better can grasp the situation of oneself cavity interior.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Fig. 1 is for the detection toothbrush described in the embodiment of the present invention is at the process flow diagram of cavity interior shift in position algorithm;
Fig. 2 is for the detection toothbrush described in the embodiment of the present invention is at the theory diagram of the system of cavity interior shift in position.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
As shown in Figure 1, a kind of toothbrush that detects, at cavity interior shift in position algorithm, comprises
Six axle sensors are used to obtain the step of toothbrush at the acceleration of intraoral 3 axles and the angular velocity of 3 axles respectively;
Integration computing is carried out to the acceleration of 3 axles of above-mentioned acquisition and the angular velocity of 3 axles and obtains hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then draw the step of Eulerian angle by mean filter;
And Eulerian angle are sent to client, client captures the step of current toothbrush at mouth intracavitary locations according to the Eulerian angle obtained.
Preferably, integration computing is carried out to the acceleration of 3 axles of above-mentioned acquisition and the angular velocity of 3 axles and obtains hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then show that the step of Eulerian angle specifically comprises by mean filter:
The acceleration of 3 axles is carried out to the step of acceleration of gravity normalized;
Extract the step of the weight component in the equivalent cosine matrix of hypercomplex number;
The acceleration of 3 axles after degree of will speed up normalized and the weight component of extraction carry out the step that vector cross product calculates attitude error;
Attitude error is carried out to the step of integral and calculating;
Carry out complementary filter, and by the compensation of attitude error after above-mentioned integral and calculating on angular velocity, the step of correction angle rate integrating skew;
Single order runge kutta method is utilized to upgrade hypercomplex number, and to the step that the hypercomplex number after upgrading is normalized;
And
Hypercomplex number after above-mentioned normalized is converted to the step of Eulerian angle.
As shown in Figure 2, a kind ofly detect the system of toothbrush in cavity interior shift in position, comprise six axle sensors, data processor and the client that are arranged in toothbrush;
Six axle sensors: for obtaining the acceleration of toothbrush at intraoral 3 axles and the angular velocity of 3 axles;
Data processor: carry out integration computing for the acceleration of 3 axles to above-mentioned acquisition and the angular velocity of 3 axles and obtain hypercomplex number, and infinitesimal analysis process is carried out to the hypercomplex number obtained, and then draw Eulerian angle by mean filter;
Client: for receiving Eulerian angle data, thus catch current toothbrush at mouth intracavitary locations, and toothbrush is exported in a graphical form at mouth intracavitary locations and change in location.
Wherein, the data of six axle sensors by bluetooth data transmission to data processor.
Client is the app installed within hardware, and hardware can be the smart machines such as smart mobile phone, flat board or bracelet.Toothbrush can select oracleen Intelligent toothbrush.
Technical scheme of the present invention can monitor toothbrush constantly in cavity interior shift in position method, so that can be more clear, people are made to observe oneself oral cavity and situations of teeth intuitively, this algorithm adopts six axle modules and Bluetooth data transfer, the current location of toothbrush in human oral cavity can be embodied more accurately, the acceleration of 3 axles is obtained respectively in six axle sensors, with the angular velocity of 3 axles, take after 6 axles divide other data, be integrated into row operation and obtain hypercomplex number, hypercomplex number is being carried out infinitesimal analysis process, each position data accurately of toothbrush translation and rotation can be obtained again by mean filter (disturbance fluctuation of each gear of toothbrush being filtered), this algorithm is used in the exploitation of mobile terminal, people can be made to know more intuitively in patterned mode current in the some positions of brush, and can according to the tooth-brushing habit of user for it formulates better toothbrushing regimen.
For existing technical matters, (space is imitated, the bit error rate is high, reaction velocity is slow) this algorithm utilizes six axles and enables bluetooth 4.0 transmission technology (every 50ms accepts to send out the speed of 15 bytes) by x, y, the algorithm process of z 3-axis acceleration and three axis angular rates, in being developed by this algorithm effect mobile terminal, can allow user more directly perceived in patterned mode, brush teeth clearly, and the situation that user brushes teeth for a long time can be shown.
Client and corresponding app, the graphical interfaces that can provide, can obtain the change of toothbrush diverse location state wherein.According to the algorithm of technical solution of the present invention, the change of 3d physical model in the state of interior volume and the monitoring of position can also be made.
Below utilize the code segment realizing algorithm of the present invention:
(1) data are taken data by Bluetooth transmission; Totally 12 bytes.Be 16 binary data
If the 3-axis acceleration read 16 system is respectively
acc_x_h,acc_x_l,acc_y_h,acc_y_l,acc_z_h,acc_z_l
The angular velocity of three axles read is
gyro_x_h,gyro_x_l,gyro_y_h,gyro_y_l,gyro_z_h,gyro_z,l
(2) selected datum mark O coordinate center (namely toothbrush position in oral cavity) on testee, builds three-dimensional system of coordinate O-XYZ, and setting along the six direction X forward of coordinate axis, X negative sense, Y forward, Y negative sense, Z forward, Z negative sense is reference direction,
Respectively x, y, z 3-axis acceleration is merged.
Formula 1:
Acc_x=(acc_x_h*256)+acc_x_l
Acc_y=(acc_y_h*256)+acc_y_l
Acc_z=(acc_z_h*256)+acc_z_l
Formula 2:
gyro_x=(gyro_x_h*256)+gyro_x_l
gyro_y=(gyro_y_h*256)+gyro_y_l
gyro_z=(gyro_z_h*256)+gyro_z_l
(3) hypercomplex number is defined, such rule is had: hypercomplex number is all made up of three imaginary units i, j, k on real add between hypercomplex number, and they have following relation: i^2=j^2=k^2=-1, i^0=j^0=k^0=1, each hypercomplex number is 1, the linear combination of i, j and k, namely be that hypercomplex number generally can be expressed as a+bk+cj+di, wherein a, b, c, d are real numbers.
Formula 3:
If q0=1, q1=0, q2=0, q3=0
q0q0=q0*q0
q0q1=q0*q1
q0q2=q0*q2
q0q3=q0*q3
q1q1=q1*q1
q1q2=q1*q2
q1q3=q1*q3
q2q2=q2*q2
q2q3=q2*q3
q3q3=q3*q3
(4) acceleration of gravity normalization can be obtained according to the value in the acceleration direction obtained in formula 1, namely
Formula 4:
If norm=(Acc_x*Acc_x+Acc_y*Acc_y+Acc_z*Acc_z) extracts square root
If:
ax=Acc_x/norm
ay=Acc_y/norm
az=Acc_z/norm
(5) weight component in the equivalent cosine matrix of hypercomplex number is extracted
Formula 5:
If:
vx=2*(q1q3-q0q2);
vy=2*(q0q1+q2q3);
vz=1-2*(q1*q1+q2*q2);
(6) vector cross product draws attitude error
ex=(ay*vz-az*vy);
ey=(az*vx-ax*vz);
ez=(ax*vy-ay*vx);
(7) integration is carried out to error
If ki=0.001//this is gyrostatic deviation
exInt=ex*Ki
eyInt=ey*Ki
ezInt=ez*Ki
(8) complementary filter, compensation of attitude error is on angular velocity, and correction angle rate integrating drifts about
gx+=Kp*ex+exInt;
gy+=Kp*ey+eyInt;
gz+=Kp*ez+ezInt;
(9) single order runge kutta method upgrades hypercomplex number
Q0+=(-q1*gx-q2*gy-q3*gz) * 0.5*deltaT; //delatT transfer rate
q1+=(q0*gx+q2*gz-q3*gy)*0.5*deltaT;
q2+=(q0*gy-q1*gz+q3*gx)*0.5*deltaT;
q3+=(q0*gz+q1*gy-q2*gx)*0.5*deltaT;
(10) hypercomplex number normalization
norm=sqrt(q0*q0+q1*q1+q2*q2+q3*q3);
q0=q0/norm;
q1=q1/norm;
q2=q2/norm;
q3=q3/norm;
(11) hypercomplex number turns Eulerian angle
If RAD_TO_DEG=1/ is π;
GyroAngle.z=tan2(2.0f*(q1*q2-q0*q3),2.0f*(q1q1+q2q2)-1)*RAD_TO_DEG;//YAW;
GyroAngle.x=sin(-2*q1*q3+2*q0*q2)*RAD_TO_DEG;//pitch;
GyroAngle.y=tan2(2*q2*q3+2*q0*q1,-2*q1*q1-2*q2*q+1)*RAD_TO_DEG;//roll。
After obtaining attitude, by data (crab angle, the angle of pitch, roll angle) be sent in app, app, by the position of Eulerian angle, can get the state of toothbrush in human oral cavity inside accurately, so just can capture current position of brushing teeth, user can be allowed more to understand the situations of teeth of oneself.
Last it is noted that the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (4)

CN201510871269.1A2015-12-022015-12-02Algorithm for detecting position variation of toothbrush in mouthPendingCN105466422A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510871269.1ACN105466422A (en)2015-12-022015-12-02Algorithm for detecting position variation of toothbrush in mouth

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510871269.1ACN105466422A (en)2015-12-022015-12-02Algorithm for detecting position variation of toothbrush in mouth

Publications (1)

Publication NumberPublication Date
CN105466422Atrue CN105466422A (en)2016-04-06

Family

ID=55604381

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510871269.1APendingCN105466422A (en)2015-12-022015-12-02Algorithm for detecting position variation of toothbrush in mouth

Country Status (1)

CountryLink
CN (1)CN105466422A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106940793A (en)*2017-03-222017-07-11上海大学A kind of posture processing method and system based on apparatus for cleaning oral cavity
CN108594640A (en)*2018-03-282018-09-28郭剑东A kind of intelligent electric frequency conversion toothbrush, control system and method
CN109115224A (en)*2018-08-302019-01-01衡阳市衡山科学城科技创新研究院有限公司A kind of high dynamic trajectory processing method and device of nine axle sensors
CN110139582A (en)*2016-12-012019-08-16皇家飞利浦有限公司 Method for determining the orientation of a user's head during tooth cleaning
CN110403345A (en)*2016-08-302019-11-05北京易得道科技有限公司Toothbrush system
CN110537989A (en)*2019-09-112019-12-06爱芽(北京)科技有限公司Tooth cleaning method and system
CN110612044A (en)*2017-07-112019-12-24欧姆龙健康医疗事业株式会社 Electric toothbrush, system, brushing site detection method and procedure
CN110608753A (en)*2019-08-302019-12-24深圳市云顶信息技术有限公司 Oral area identification method, device, computer equipment and storage medium
CN112051868A (en)*2020-09-102020-12-08湖北咿呀医疗投资管理股份有限公司Method and system for positioning track of intelligent electric toothbrush
CN112336341A (en)*2020-10-272021-02-09华东光电集成器件研究所Human body falling detection system based on inertia and position sensors
US12121139B2 (en)2020-06-222024-10-22Colgate-Palmolive CompanyOral care system and method for promoting oral hygiene

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102065791A (en)*2008-02-272011-05-18皇家飞利浦电子股份有限公司Dental position tracking system for a toothbrush
CN204501067U (en)*2015-02-062015-07-29北京希澈科技有限公司dental care system
WO2015140340A1 (en)*2014-03-212015-09-24Koninklijke Philips N.V.A system and a method for treating a part of a body of a person
CN105012035A (en)*2014-04-302015-11-04上海华博信息服务有限公司Intelligent toothbrush sleeve system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102065791A (en)*2008-02-272011-05-18皇家飞利浦电子股份有限公司Dental position tracking system for a toothbrush
WO2015140340A1 (en)*2014-03-212015-09-24Koninklijke Philips N.V.A system and a method for treating a part of a body of a person
CN105012035A (en)*2014-04-302015-11-04上海华博信息服务有限公司Intelligent toothbrush sleeve system
CN204501067U (en)*2015-02-062015-07-29北京希澈科技有限公司dental care system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
关越魏 等: "基于四元数解算陀螺仪姿态角算法的实现", 《电脑编程技巧与维护》*
王超杰 等: "蛇形机器人互补滤波和四元数的姿态解算", 《传感器与微系统》*

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110403345A (en)*2016-08-302019-11-05北京易得道科技有限公司Toothbrush system
CN110403345B (en)*2016-08-302021-09-07北京易得道科技有限公司Toothbrush system
CN110139582A (en)*2016-12-012019-08-16皇家飞利浦有限公司 Method for determining the orientation of a user's head during tooth cleaning
CN106940793A (en)*2017-03-222017-07-11上海大学A kind of posture processing method and system based on apparatus for cleaning oral cavity
CN110612044A (en)*2017-07-112019-12-24欧姆龙健康医疗事业株式会社 Electric toothbrush, system, brushing site detection method and procedure
CN110612044B (en)*2017-07-112021-06-22欧姆龙健康医疗事业株式会社 Electric toothbrush, system, brushing site detection method and storage medium
US11484113B2 (en)2017-07-112022-11-01Omron Healthcare Co., Ltd.Electric toothbrush, system, brushing site detection method, and computer-readable recording medium
CN108594640A (en)*2018-03-282018-09-28郭剑东A kind of intelligent electric frequency conversion toothbrush, control system and method
CN109115224A (en)*2018-08-302019-01-01衡阳市衡山科学城科技创新研究院有限公司A kind of high dynamic trajectory processing method and device of nine axle sensors
CN110608753A (en)*2019-08-302019-12-24深圳市云顶信息技术有限公司 Oral area identification method, device, computer equipment and storage medium
CN110537989A (en)*2019-09-112019-12-06爱芽(北京)科技有限公司Tooth cleaning method and system
US12121139B2 (en)2020-06-222024-10-22Colgate-Palmolive CompanyOral care system and method for promoting oral hygiene
CN112051868A (en)*2020-09-102020-12-08湖北咿呀医疗投资管理股份有限公司Method and system for positioning track of intelligent electric toothbrush
CN112336341A (en)*2020-10-272021-02-09华东光电集成器件研究所Human body falling detection system based on inertia and position sensors

Similar Documents

PublicationPublication DateTitle
CN105466422A (en)Algorithm for detecting position variation of toothbrush in mouth
CN107293099B (en)A kind of attitude monitoring method, apparatus and wearable device
CN109108936A (en)A kind of the self-balance robot control system and control method of Multiple Source Sensor data fusion
CN107016342A (en)A kind of action identification method and system
CN109724602A (en) An attitude calculation system based on hardware FPU and its calculation method
CN107040694A (en)A kind of method, system and the portable terminal of panoramic video stabilization
CN109109866A (en)Vehicle running state monitoring method, device, computer equipment and storage medium
CN103837157A (en)Motion measuring method and device
US20190271543A1 (en)Method and system for lean angle estimation of motorcycles
CN116189383A (en) An early warning method for falls and similar actions based on inertial sensing
CN113618730A (en)Robot motion analysis method and device, readable storage medium and robot
US10424224B2 (en)Glove for use in collecting data for sign language recognition
CN113503873A (en)Multi-sensor fusion visual positioning method
CN108592908B (en) Method and device for attitude safety monitoring of riding vehicle
CN106940793A (en)A kind of posture processing method and system based on apparatus for cleaning oral cavity
CN106227368A (en)A kind of human synovial angle calculation method and device
CN110537989A (en)Tooth cleaning method and system
CN109343713B (en)Human body action mapping method based on inertial measurement unit
CN114327098A (en) A data processing method, device and smart pen
CN109567814A (en)The classifying identification method of brushing action calculates equipment, system and storage medium
CN112907895A (en)Boats and ships personnel falling perception method, device, system, medium and electronic equipment
Abbasi-Kesbi et al.A mini wearable wireless sensor for rehabilitation applications
CN111879325B (en) A method for estimating IMU attitude angle with high accuracy and anti-interference ability
CN207428525U (en)Intelligent shoe
CN113246124A (en)Robot control method, device, computer readable storage medium and robot

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160406


[8]ページ先頭

©2009-2025 Movatter.jp