Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for simulating 2D gravity sensor as 3D gravity sensor and mobile phone thereof

A technology of gravity sensor and sensor manager, which is applied in the direction of mechanical mode conversion, computer components, user/computer interaction input/output, etc., can solve the problems of high cost and inability to be widely used, and achieve easy implementation and principle clear effect

Inactive Publication Date: 2015-12-09
SHENZHEN TOPWISE COMM CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing 3D gravity sensors are costly and cannot be widely used

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for simulating 2D gravity sensor as 3D gravity sensor and mobile phone thereof

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0029] see figure 1 , the present invention is a method for simulating a 3D gravity sensor with a 2D gravity sensor. When the smart device is used, the 2D gravity sensor performs the following data processing steps:

[0030] S1. Obtain the force sensing value x of the X axis and the force sensing value y of the Y axis of the 2D gravity sensor;

[0031] S2. Calculate the z value from the physical principle z=math.sqrt(g*g-x*x-y*y);

[0032] S3. Record x, y every 0.2 seconds on average, record the change values ​​of multiple groups of x, y, and deduce the positive and negative values ​​of z by analyzing the change trends of x and y;

[0033] S4. If the value of x continuously decreases to exceed -9.8 and then increases in turn, or the value of x continuously increases to exceed 9.8 and then decreases in turn, it is considered that the mobile phone has flipped. At this time, the value of z is opposite to the previous value. , if the initial value of z is positive and its absolu...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for simulating a 2D gravity sensor as a 3D gravity sensor and a mobile phone thereof. The method comprises the following steps: acquiring the x-axis and y-axis force sensing values of a 2D gravity sensor parallel to the x axis and the y axis of the screen of a mobile phone; then, calculating the absolute value of the force sensing value perpendicular to the z axis of the screen of the mobile phone based on the physical principle z=math.sqrt(g*g-x*x-y*y); recording the force sensing values of x and y every 0.2 seconds, recording multiple groups of force sensing change values in the x and y directions, and deducing whether the z value is positive or negative by analyzing the change trend of x and y; determining that the mobile phone is overturned if the value of x continuously decreases until over -9.8 and then continuously increases or the value of x continuously increases until over 9.8 and then continuously decreases, wherein the value of z at the moment and a previous value are opposite in sign, and if the initial value of z is positive and the absolute value thereof is greater than 9.8, that the mobile phone is overturned can be determined when the left and right values decrease or increase, and the value of z at the moment and a previous value are opposite in sign; and obtaining the simulated value of z through the above operation, wherein the values of x, y and z can be reflected to a caller by the 2D gravity sensor.

Description

technical field [0001] The invention relates to the technical field of smart phone gravity sensors, in particular to a method for simulating a 3D gravity sensor with a 2D gravity sensor and a mobile phone thereof. Background technique [0002] Gravity sensors are sensors widely used in smartphones, tablets, and laptops. It uses elastic sensitive element to make cantilever displacement device, and uses elastic sensitive element to make energy storage spring to drive electrical contacts, completes the conversion from acceleration force change to electrical signal, and then calculates and analyzes through microprocessor to complete the The functions designed by the program, such as the balance ball game on the mobile phone, the user-friendly operation such as the automatic switching of the mobile phone screen between the horizontal and vertical screens when the mobile phone is placed horizontally and vertically. [0003] The 2D gravity sensor only provides force sensing values...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04M1/725G06F3/01H04M1/72454
Inventor 项少雄
Owner SHENZHEN TOPWISE COMM CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More