METHOD AND DEVICE FOR TESTING MOVEMENT SPEED

20170307377 · 2017-10-26

Assignee

Inventors

Cpc classification

International classification

Abstract

A method for testing movement speed includes, but is not limited to: measuring a static pressure P.sub.0 of an inner cavity of a pressure hole of a mobile device (S100); aligning the pressure hole to a wind direction and measuring a total pressure P of the wind in a static state (S101); aligning the pressure hole to the wind direction in a moving process, and measuring a pressure P.sub.m of the inner cavity of the pressure hole in a movement direction (S102); obtaining a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0; and obtaining a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0 (S103); and obtaining a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f (S104).

Claims

1. A method for testing movement speed, wherein the method comprises: measuring a static pressure P.sub.0 of an inner cavity of a pressure hole of a mobile device, wherein the pressure hole is in communication with the outside, and is a specifically formed opening or an existing designed opening in the mobile device; aligning the pressure hole to a wind direction and measuring a total pressure P of the wind in a static state; aligning the pressure hole to the wind direction in a moving process, and measuring a pressure P.sub.m of the inner cavity of the pressure hole in the movement direction; obtaining a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0, and obtaining a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0; and obtaining a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f.

2. The method for testing movement speed according to claim 1, wherein the obtaining a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0, and the obtaining a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0 comprise: obtaining the current wind speed v.sub.f according to the formula v f = 2 .Math. ( P - P 0 ) ρ ; and obtaining the current relative movement speed v.sub.r according to the formula v r = 2 .Math. ( P m - P 0 ) ρ ; wherein p is air density.

3. The method for testing movement speed according to claim 2, wherein the method further comprises: measuring a water vapor pressure e in air and measuring an air temperature T; and calculating the air density p according to the formula ρ = P R B .Math. T .Math. ( 1 - 0.378 .Math. e .Math. / .Math. P ) , wherein R.sub.B=287.05J.Math.kg.sup.-1.Math.K.sup.-1 is a gas constant of dry air.

4. The method for testing movement speed according to claim 1, wherein the obtaining a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f comprises: calculating the current movement speed v according to the formula v=v.sub.r+v.sub.f.Math.cosθ, wherein θ is an angle of the deviating of the movement direction from the wind direction and in a range of [0°, 360°].

5. The method for testing movement speed according to claim 1, wherein the obtaining a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f comprises: in upwind movement, calculating the current movement speed v according to the formula v=v.sub.r−v.sub.f; and in downwind movement, calculating the current movement speed v according to

6. A device for testing movement speed, wherein the device comprises: a pressure sensor, disposed in an inner cavity of a pressure hole of the testing device, wherein the pressure hole is in communication with the outside, and is a specifically formed opening or an existing designed opening in the mobile device; the pressure sensor is configured to obtain a static pressure P.sub.0 of the inner cavity of the pressure hole, and align the pressure hole to a wind direction and measure a total pressure P the wind in a static state, and measure a pressure P.sub.m of the inner cavity of the pressure hole in a movement direction during movement; a speed acquiring unit configured to obtain a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0, and obtain a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0; and a movement speed acquiring unit configured to obtain a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f.

7. The device for testing movement speed according to claim 6, wherein the speed acquiring unit comprises: a wind speed acquiring module configured to obtain the current wind speed v.sub.f according to the formula v f = 2 .Math. ( P - P 0 ) ρ ; and a relative speed acquiring module configured to obtain the current relative movement speed v.sub.r according to the formula v r = 2 .Math. ( P m - P 0 ) ρ ; wherein p is air density.

8. The device for testing movement speed according to claim 7, wherein the device for testing movement speed further comprises: a humidity sensor configured to measure a water vapor pressure e in air; a temperature sensor configured to measure an air temperature T; and an air density acquiring unit configured to calculate the air density P according to the formula ρ = P R B .Math. T .Math. ( 1 - 0.378 .Math. e .Math. / .Math. P ) , wherein R.sub.B=287.05J.Math.kg.sup.-1.Math.K.sup.-1 is a gas constant of dry air.

9. The device for testing movement speed according to claim 6, wherein the movement speed acquiring unit is specifically configured to calculate the current movement speed v according to the formula v=v.sub.r+v.sub.f.Math.cosθ, wherein θis an angle of the deviating of the movement direction from the wind direction and in a range of [0°, 360°];

10. The device for testing movement speed according to claim 6, wherein the movement speed acquiring unit is specifically configured to, in upwind movement, calculate the current movement speed v according to the formula v=v.sub.r−v.sub.f ; and in downwind movement, calculate the current movement speed v according to the formula v=v.sub.r+v.sub.f.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The present invention will hereinafter be described in conjunction with the following drawing figures, wherein like numerals denote like elements, and

[0034] FIG. 1 is a flow chart of a method for testing movement speed according to an embodiment of the present disclosure; and

[0035] FIG. 2 is a block diagram of a device for testing movement speed according to an embodiment of the present disclosure.

DETAILED DESCRIPTION

[0036] The following detailed description is merely exemplary in nature and is not intended to limit the invention or the application and uses of the invention. Furthermore, there is no intention to be bound by any theory presented in the preceding background of the invention or the following detailed description.

[0037] FIG. 1 is a flow chart of a method for testing movement speed according to an embodiment of the present disclosure. The method comprises:

[0038] S100: measuring a static pressure P.sub.0 of an inner cavity of a pressure hole of a mobile device; wherein the pressure hole communicates with the outside, and is specifically disposed on the mobile device or is an already-existing designed opening;

[0039] The mobile device may be a mobile phone, a wearable device or the like.

[0040] Since a too large cross-sectional area of the inner cavity of the pressure hole affects wind resistance and further affects the precision of the speed testing, the inner diameter of the inner cavity of the pressure hole is generally set to be about 3.5 mm in practical application, but it is not limited to this. The cross-sectional area of its inner cavity may be specifically set according to the design structure and the application needs of the mobile device.

[0041] It needs to be appreciated that the pressure hole may be specifically arranged to match with the design structure of the mobile device, and other openings of the mobile device, e.g., an earphone jack, a power supply hole or other openings connected to the outside, may be used as the pressure hole of the present embodiment to make the appearance of the mobile device simple and beautiful.

[0042] S101: aligning the pressure hole to a wind direction and measuring a total pressure P of the wind in a static state.

[0043] S102: aligning the pressure hole to the wind direction in a moving process, and measuring a pressure P.sub.m in of the inner cavity of the pressure hole in a movement direction.

[0044] S103: obtaining a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0; and obtaining a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0.

[0045] Specifically, the current wind speed v.sub.f is obtained according to the formula

[00007] v f = 2 .Math. ( P - P 0 ) ρ ,

and the current relative movement speed v.sub.r is obtained according to the formula

[00008] v r = 2 .Math. ( P m - P 0 ) ρ ,

wherein P is air density.

[0046] It needs to be appreciated that the air density P in the above technical solution may be the air density constant 1.29 kg/m3 in the standard state, or may be the air density constant 1.205 kg/m3 at the normal temperature and under the normal pressure, or may be the air density obtained by other methods in any environment.

[0047] In a preferred implementation, the air density P in any environment is obtained by the following steps:

[0048] measuring a water vapor pressure e in air and measuring an air temperature T; and

[0049] calculating the air density P according to the formula

[00009] ρ = P R B .Math. T .Math. ( 1 - 0.378 .Math. e .Math. / .Math. P ) ,

wherein R.sub.B=287.05J.Math.kg.sup.-1.Math.K.sup.-1 is a gas constant of dry air, and P is the total pressure of the wind.

[0050] The present preferred embodiment can precisely measure the air density and thereby improve the testing precision of movement speed by measuring the water vapor pressure and temperature in air in any environment.

[0051] S104: obtaining a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f.

[0052] Specifically, the current movement speed v is calculated according to the formula v=v.sub.r+v.sub.f.Math.cosθ, wherein θ is an angle of the deviating of the movement direction from the wind direction and in a range of [0°, 360°].

[0053] In practical application, a device such as a gyro may be used to measure the angle of the deviating of the movement direction from the wind direction, so that a movement speed in any wind direction state is obtained and the accuracy of the calculation results is ensured.

[0054] In a preferred solution of the present embodiment, in upwind movement, the current movement speed v is calculated according to the formula v=v.sub.r−v.sub.f; and in downwind movement, the current movement speed v is calculated according to the formula v=v.sub.r+v.sub.f.

[0055] The above method of obtaining the movement speed by calculating the wind speed v.sub.f and relative movement speed v.sub.r in the movement direction exhibits a high accuracy, but requires a device such as gyro to measure the angle of the deviating of the movement direction from the wind direction. However, in the preferred solution, the wind speed in the movement direction is simplified as two cases, namely, upwind and downwind, and the movement speed is calculated respectively using corresponding formulas in downwind movement and upwind movement. The method is simple and produces accurate and reliable results. A suitable solution may be selected according to the demands in uses in practical application.

[0056] It needs to be appreciated that the method of the present technical solution may obtain the real-time state of the movement procedure, e.g., an acceleration sensor is used to measure the acceleration during movement, and a magnetic sensor and a gyro are used to measure the turning angle in the movement direction.

[0057] FIG. 2 is a block diagram of a device for testing movement speed according to an embodiment of the present disclosure. The device for testing movement speed comprises:

[0058] a pressure sensor 21 disposed in an inner cavity of a pressure hole of the testing device; wherein the pressure hole communicates with the outside, and is specifically disposed on the testing device or is an already-existing designed opening; the pressure sensor 21 is configured to obtain a static pressure P.sub.0 of the inner cavity of the pressure hole, and align the pressure hole to a wind direction and measure a total pressure P of the wind in a static state, and measure a pressure P.sub.m of the inner cavity of the pressure hole in the movement direction during movement.

[0059] It needs to be appreciated that the device for testing movement speed of the present embodiment may be disposed in a mobile device such as a mobile phone, a wearable device or the like.

[0060] The device for testing movement speed comprises: a speed acquiring unit 22 configured to obtain a current wind speed v.sub.f according to a correspondence relationship between a wind speed v.sub.f and a dynamic pressure P-P.sub.0, and obtain a current relative movement speed v.sub.r according to a correspondence relationship between a relative movement speed v.sub.r and a pressure difference P.sub.m-P.sub.0.

[0061] Preferably, the speed acquiring unit 22 comprises:

[0062] a wind speed acquiring module configured to obtain the current wind speed v.sub.f according to the formula

[00010] v f = 2 .Math. ( P - P 0 ) ρ ;

[0063] a relative speed acquiring module configured to obtain the current relative movement speed v.sub.r according to the formula

[00011] v r = 2 .Math. ( P m - P 0 ) ρ ,

wherein P is air density; and

[0064] a movement speed acquiring unit 23 configured to obtain a current movement speed v according to the current relative movement speed v.sub.r and the current wind speed v.sub.f.

[0065] Specifically, the movement speed acquiring unit 23 is further configured to:

[0066] calculate the current movement speed v according to the formula v=v.sub.r+v.sub.f.Math.cosθ, wherein θ is an angle of the deviating of the movement direction from the wind direction and in a range of [0°, 360°]. In practical application, a device such as a gyro may be used to measure the angle of the deviating of the movement direction from the wind direction, so that a movement speed in any wind direction state is obtained and the accuracy of the calculation results is ensured.

[0067] In addition, the movement speed acquiring unit 23 may further be configured to, in upwind movement, calculate the current movement speed v according to the formula v=v.sub.r−v.sub.f; and in downwind movement, calculate the current movement speed v according to the formula v=v.sub.r+v.sub.f.

[0068] In a preferred embodiment, device for testing movement speed further comprises:

[0069] a humidity sensor configured to measure a water vapor pressure e in air;

[0070] a temperature sensor configured to measure an air temperature T; and

[0071] an air density acquiring unit configured to calculate the air density P according to the formula

[00012] ρ = P R B .Math. T .Math. ( 1 - 0.378 .Math. e .Math. / .Math. P ) ,

wherein R.sub.B=287.05J.Math.kg.sup.-1.Math.K.sup.-1 is a gas constant of dry air.

[0072] Preferably, the temperature sensor and the humidity sensor of the present embodiment are both disposed in the inner cavity of the pressure hole of the device for testing movement speed to improve the accuracy of the obtained air density. Further, preferably, the temperature sensor and the pressure sensor of the present embodiment are integrated on the same chip, or the temperature sensor, the humidity sensor and the pressure sensor may be integrated on the same chip, to save physical space and improve the integration degree of the device.

[0073] It needs to be appreciated that in practical application, the device for testing movement speed may further comprise an acceleration sensor, a magnetic sensor and a gyro, to thereby obtain the real-time movement states during movement such as the acceleration, the movement direction and the turning angle in the movement direction.

[0074] To conclude, the embodiments of the present disclosure provide a method and device for testing movement speed, wherein the pressure sensor is used to measure the static pressure of the inner cavity of the pressure hole of the testing device and the total pressure in the static state, and the pressure in the inner cavity during movement; the wind speed and the relative movement speed are obtained individually according to the correspondence relationship of the speed and the pressure difference; and the movement speed is obtained by selecting corresponding relation formulas according to upwind and downwind situations.

[0075] The present technical solution can effectively improve the testing precision of movement speed, there are no influence from external factors during testing, the testing results is accurate and reliable, and the technical solution is completely different from the solution of using the GPS to test movement speed in the prior art. In the preferred embodiment, the temperature sensor and the humidity sensor are respectively used to measure the air temperature and humidity, and the air density in any environment is calculated according to the air temperature and the humidity to replace the air density constant at the normal temperature and under the normal pressure, to further improve the testing precision of movement speed.

[0076] While at least one exemplary embodiment has been presented in the foregoing detailed description, it should be appreciated that a vast number of variations exist. It should also be appreciated that the exemplary embodiment or exemplary embodiments are only examples, and are not intended to limit the scope, applicability, or configuration of the invention in any way. Rather, the foregoing detailed description will provide those skilled in the art with a convenient road map for implementing an exemplary embodiment, it being understood that various changes may be made in the function and arrangement of elements described in an exemplary embodiment without departing from the scope of the invention as set forth in the appended claims and their legal equivalents.