Method and device for improving application precision of mobile phone compass and readable storage medium
A compass and mobile phone technology, which is applied in the field of mobile phone compass, can solve the problems of mobile phone compass interference and inaccurate pointing, and achieve the effects of avoiding external magnetic field interference, accurate pointing, and improving application accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 5 example
[0155] Based on the fifth embodiment, in this embodiment, the estimated value of the three-axis component includes the estimated value of the three-axis geomagnetic component, and the actual value of the three-axis component includes the actual value of the three-axis geomagnetic component, wherein, step S2131, step 2132, step 2133 specifically:
[0156] Step 2137: Perform cross-product processing on the estimated value of the three-axis geomagnetic component and the actual value of the three-axis geomagnetic component to obtain a difference value of the three-axis geomagnetic component.
[0157] Step 2138: Integrate the phase difference of the three-axis geomagnetic components, and add them to the three-axis data of the gyroscope.
[0158] Step 2139: Perform a proportional operation on the phase difference of the three-axis geomagnetic components, and add it to the three-axis data of the gyroscope.
[0159]In this embodiment, gx, gy, and gz represent the components of the gy...
no. 1 example
[0213] Based on the first embodiment, in this embodiment, step S300 includes:
[0214] Step S301: Convert the motion posture data to obtain Euler angles, which include nutation angles, precession angles, and rotation angles.
[0215] Step S302: Make the deflection angle of the compass consistent with the nutation angle to obtain the direction of the compass.
[0216] After obtaining the corrected motion attitude data, it needs to be converted into an Euler angle that is more suitable for the user's imagination or observation. The Euler angle is a set of three independent angular parameters used to determine the position of a fixed-point rotating rigid body. Angle θ, precession angle ψ and rotation angle composition. The conversion method is as follows:
[0217] ψ=atan2(2*(w*x+y*z) / (1-2*(x*x+y*y)))
[0218] θ=arcsin(2*(w*y-z*x))
[0219]
[0220] Wherein, the nutation angle θ is the deflection angle of the compass, and by making the deflection angle of the compass cons...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com