Positioning method and mobile equipment

文档序号:1503736 发布日期:2020-02-07 浏览:11次 中文

阅读说明:本技术 定位方法和移动设备 (Positioning method and mobile equipment ) 是由 周艳敏 王�华 于 2019-10-30 设计创作,主要内容包括:本申请提供了一种定位方法和移动设备。该方法包括:在移动设备的行驶状态为静止状态或超低速状态的情况下,确定所述移动设备上的全球定位系统GPS输出的定位数据是否可信;如果所述GPS输出的定位数据可信,不依靠其他定位设备,直接根据所述GPS输出的定位数据确定所述移动设备的位置;如果所述GPS输出的定位数据不可信,对所述GPS输出的定位数据进行校准,以确定所述移动设备的位置。本申请技术方案利用GPS单独完成定位,不依靠其他定位设备,从而简化了定位系统,且能够有效抑制GPS单独定位导致的飘点问题。(The application provides a positioning method and mobile equipment. The method comprises the following steps: determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state; if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment; and if the positioning data output by the GPS is not credible, calibrating the positioning data output by the GPS to determine the position of the mobile equipment. According to the technical scheme, the GPS is used for independently completing positioning, other positioning equipment is not relied on, so that a positioning system is simplified, and the floating point problem caused by independent positioning of the GPS can be effectively restrained.)

1. A method of positioning, comprising:

determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state;

if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS;

and if the positioning data output by the GPS is not credible, calibrating the positioning data output by the GPS to determine the position of the mobile equipment.

2. The method of claim 1, wherein the determining whether the GPS-output positioning data on the mobile device is authentic comprises:

determining an estimated value of the position of the mobile equipment at the next moment according to the historical motion information of the mobile equipment;

determining a measurement value of the position of the GPS at the next moment according to the positioning data output by the GPS;

and determining whether the positioning data output by the GPS is credible according to the estimated value and the measured value.

3. The method of claim 2, wherein said determining whether the GPS-output positioning data is authentic based on the estimate and the measurement comprises:

when the difference value between the estimated value and the measured value is smaller than or equal to a preset difference threshold value, determining that the positioning data output by the GPS is credible;

determining that the GPS-output positioning data is not authentic when the difference between the estimate and the measurement is greater than the difference threshold.

4. The method according to any one of claims 1-3, further comprising:

and when the running state of the mobile equipment is a normal state, directly determining the position of the mobile equipment according to the positioning data output by the GPS.

5. The method according to any one of claims 1-4, further comprising:

determining a driving state of the mobile device from an accelerometer.

6. The method of claim 5, wherein the stationary state is a travel speed of the mobile device of 0; the ultra-low speed state is that the running speed of the mobile equipment is less than or equal to a first threshold value; the normal state is that the running speed of the mobile equipment is greater than a first threshold value.

7. A mobile device, comprising:

a memory to store instructions;

a processor for executing the instructions to perform the steps of:

determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state;

if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS;

and if the positioning data output by the GPS is not credible, calibrating the positioning data output by the GPS to determine the position of the mobile equipment.

8. The mobile device of claim 7, wherein the processor is specifically configured to:

determining an estimated value of the position of the mobile equipment at the next moment according to the historical motion information of the mobile equipment;

determining a measurement value of the position of the GPS at the next moment according to the positioning data output by the GPS;

and determining whether the positioning data output by the GPS is credible according to the estimated value and the measured value.

9. The mobile device of claim 8, wherein the processor is specifically configured to:

when the difference value between the estimated value and the measured value is smaller than or equal to a preset difference threshold value, determining that the positioning data output by the GPS is credible;

determining that the GPS-output positioning data is not authentic when the difference between the estimate and the measurement is greater than the difference threshold.

10. The mobile device of any of claims 7-9, wherein the processor is further configured to perform the steps of:

and when the running state of the mobile equipment is a normal state, directly determining the position of the mobile equipment according to the positioning data output by the GPS.

11. The mobile device according to any of claims 7-10, wherein the mobile device further comprises:

an accelerometer to determine a driving state of the mobile device.

12. The mobile device of claim 11, wherein the stationary state is a traveling speed of the mobile device of 0; the ultra-low speed state is that the running speed of the mobile equipment is less than or equal to a first threshold value; the normal state is that the running speed of the mobile equipment is greater than a first threshold value.

13. The mobile device according to any of claims 7-12, wherein the mobile device is a vehicle.

Technical Field

The present application relates to the field of positioning technologies, and in particular, to a positioning method and a mobile device.

Background

During driving, the mobile device is often required to be positioned.

In order to improve the positioning accuracy of a GPS, a real-time kinematic (RTK) differential positioning system and a real-time differential code (RTD) differential positioning system are generally required, but other positioning devices are required to be used as reference positioning, which results in a complicated positioning system.

Disclosure of Invention

The application provides a positioning method and mobile equipment, which can effectively inhibit the floating point problem caused by GPS independent positioning without depending on other positioning equipment, and improve the accuracy of GPS independent positioning.

In a first aspect, a positioning method is provided, and the method includes: determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state; if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment; and if the positioning data output by the GPS is not credible, calibrating the positioning data output by the GPS to determine the position of the mobile equipment.

In the technical scheme, when the output data of the GPS is credible, the GPS is directly utilized for positioning; and when the positioning data output by the GPS is not credible, calibrating the GPS positioning data. The technical scheme does not depend on other positioning equipment, thereby simplifying a positioning system and effectively inhibiting the floating point problem caused by GPS independent positioning.

In a second aspect, a mobile device is provided, comprising: a memory to store instructions; a processor for executing the instructions to perform the steps of: determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state; if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment; if the positioning data output by the GPS is not authentic, the positioning data output by the GPS is calibrated to determine the position of the mobile device.

Drawings

Fig. 1 is a schematic flow chart of a positioning method according to an embodiment of the present application.

Fig. 2 is another schematic flow chart of a positioning method according to an embodiment of the present application.

Fig. 3 is a further schematic diagram of a positioning method according to an embodiment of the present application.

Fig. 4 is a schematic diagram of a mobile device according to an embodiment of the present application.

Detailed Description

The technical solution in the present application will be described below with reference to the accompanying drawings.

The embodiment of the application can be applied to positioning of the mobile equipment, for example, positioning in the case that the running state of the mobile equipment is a static state or an ultra-low speed state.

When the mobile device is in a stationary state or an ultra-low speed driving state, the position information output by the GPS positioning device may be biased, resulting in inaccurate positioning data of the mobile device. In order to improve the accuracy of GPS positioning, an RTK differential positioning system and an RTD differential positioning system are generally used, but other positioning devices are used as a reference, and a corresponding module such as a network or a radio station communicating with a reference positioning server is also needed, so that the positioning system is complex and high in cost.

With the development of positioning technology, the positioning accuracy of a single GPS is also higher, and the positioning requirement of the mobile equipment under high speed or normal driving can be met. However, in a stationary state or an ultra-low speed driving state of the mobile device, the positioning data of a single GPS may be deviated, resulting in a floating point phenomenon.

According to the embodiment of the application, when the positioning data output by the GPS is credible, the GPS is directly utilized to complete positioning. When the positioning data output by the GPS is not credible, the GPS positioning data is calibrated, the position of the mobile equipment can be determined by utilizing the GPS without depending on other positioning equipment, so that the positioning system is simplified, and the floating point problem caused by independent positioning of the GPS can be effectively inhibited.

The positioning method of the present application will be described below with reference to fig. 1. Fig. 1 is a schematic flow chart of a positioning method according to an embodiment of the present application. As shown in fig. 1, the method 100 includes steps S110 to S130.

Step S110 is to determine whether the positioning data output by the GPS on the mobile device is authentic when the traveling state of the mobile device is a stationary state or an ultra-low speed state.

The mobile device in the embodiment of the present application is in a stationary state, which means that the moving speed of the mobile device is 0; an ultra-low speed driving state refers to a driving speed of the mobile device being less than or equal to a first threshold, for example, the first threshold may be 0.5m/s, or may be 1 m/s; the normal state refers to that the traveling speed of the mobile device is greater than a first threshold, which is not specifically limited in the embodiment of the present application.

And under the normal driving state of the mobile equipment, the position of the equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment.

The technical scheme can determine the driving state of the mobile equipment according to an accelerometer on the mobile equipment; the driving state of the mobile device may also be determined according to a speedometer, which is not particularly limited in the embodiment of the present application.

Optionally, it is determined whether the positioning data output by the GPS is trusted according to historical motion information of the mobile device, it may also be determined whether the positioning data output by the GPS is trusted according to a difference between two previous and subsequent positioning of the mobile device, and it may also be determined whether the positioning data output by the GPS is trusted according to experience or other manners, which is not specifically limited in this embodiment of the present application. Whether the positioning data output by the GPS is reliable will be described in conjunction with specific embodiments, and will not be described in detail here.

And S120, if the positioning data output by the GPS is credible, directly determining the position of the mobile equipment according to the positioning data output by the GPS without depending on other positioning equipment.

And S130, if the positioning data output by the GPS is not credible, calibrating the positioning data output by the GPS to determine the position of the mobile equipment.

As an example, when it is determined that the positioning data output by the GPS is not authentic, the positioning data output by the GPS needs to be calibrated, and the estimated value of the position at the next time may replace the measured value output by the GPS at the next time, so as to achieve the purpose of calibration. As another example, the mean value of the estimated value of the position and the measured value output by the GPS of the position can be used as the final positioning data of the position for calibration.

By using the technical scheme, when the positioning data output by the GPS is credible, the GPS is directly utilized to complete positioning. And when the positioning data output by the GPS is not credible, calibrating the GPS positioning data. Therefore, the positioning system is simplified without depending on other positioning equipment, the floating point problem caused by independent positioning of the GPS can be effectively inhibited, and the accuracy of the GPS positioning is improved.

Whether the positioning data output by the GPS according to the embodiment of the present application is reliable will be described with reference to fig. 2. As shown in fig. 2, the method 200 includes steps S210 to S230.

Step S210, determining an estimated value of the position of the mobile equipment at the next moment according to the historical motion information of the mobile equipment; determining the measured value of the position of the GPS at the next moment according to the positioning data output by the GPS; and determining whether the positioning data output by the GPS is credible according to the estimated value and the measured value.

In step S220, when the difference between the estimated value and the measured value is less than or equal to a preset difference threshold, it is determined that the positioning data output by the GPS is reliable.

The embodiment of the application can also determine that the positioning data output by the GPS is reliable when the ratio between the estimated value and the measured value meets a preset difference threshold.

When the positioning data output by the GPS is credible, the positioning is directly finished according to the positioning data of the GPS.

In step S230, when the difference between the estimated value and the measured value is greater than the difference threshold, it is determined that the positioning data output by the GPS is not authentic.

The embodiment of the application may also determine that the positioning data output by the GPS is not reliable according to a condition that a ratio between the estimated value and the measured value exceeds a preset difference threshold.

When the positioning data output by the GPS is not authentic, the positioning data output by the GPS may be calibrated, one possible implementation manner is to replace the measurement value output by the GPS with the estimated value, and one possible implementation manner is to take the average value of the estimated value and the measurement value, which will be described in conjunction with specific embodiments and will not be described in detail herein.

The technical scheme compares the estimated value and the measured value of the position, can determine whether the positioning data output by the GPS is accurate by using the difference or the ratio between the estimated value and the measured value, does not need to depend on other positioning equipment for auxiliary positioning, and simplifies a positioning system.

The positioning method of the embodiment of the present application will be described below with reference to fig. 3. As an example, as shown in fig. 3, P2 is the current location of the mobile device, P1 is the previous location of the mobile device, P3 is the next location estimate of the mobile device, and P3' is the next location measurement output by the GPS.

Optionally, when the driving state of the mobile device is a stationary state or an ultra-low speed state, a direction change rule of the mobile device may be obtained according to historical motion information of the mobile device, such as the latest position, speed, direction information and the like within 10 seconds, and an estimated value P3 of the position of the mobile device at the next time may be calculated according to the speed, direction and position information at the current point P2, it should be understood that the solution may be to calculate the estimated value P3 by fitting a straight line, or may be to calculate the estimated value P3 by fitting a curve, which is not specifically limited in this application; the GPS on the mobile equipment outputs the position information of the mobile equipment in real time; comparing the estimated value P3 of the position with the measured value P3' of the position to determine whether the positioning data output by the GPS on the mobile equipment is credible; if the difference between the estimated value P3 of the position and the measured value P3 'of the position is less than or equal to a preset difference threshold, such as 10 cm or 20 cm, the positioning data output by the GPS is considered to be authentic, and the measured value P3' of the position output by the GPS is directly used as the positioning data of the mobile device; if the difference between the estimated value P3 of the position and the measured value P3' of the position exceeds the difference threshold, the positioning data output by the GPS is deemed to be unreliable, and calibration of the positioning data output by the GPS is required to determine the position information of the mobile device at that time. The calibration of the positioning data may be performed by using the estimated value P3 as the position information at the time, or by using the average value between the estimated value P3 and the measured value P3' as the position information at the time.

When the mobile device is in a normal driving state, the positioning data P3' output by the GPS is directly used as the position information of the moment, and other positioning devices are not needed.

Alternatively, the travel state of the mobile device may be determined from an accelerometer.

Optionally, the mobile device is a vehicle.

According to the embodiment of the application, under the normal driving state of the mobile equipment, the position of the mobile equipment is directly determined according to the positioning data output by the GPS; the method has the advantages that reliability of the positioning data output by the GPS is judged under the condition that the driving state of the mobile equipment is in a static state or an ultra-low speed state, when the data output by the GPS is reliable, the position of the mobile equipment is directly determined according to the positioning data output by the GPS, when the positioning data output by the GPS is not reliable, the positioning data output by the GPS is calibrated, other positioning equipment is not needed for auxiliary positioning, the positioning system is simplified, the floating point problem caused by independent positioning of the GPS can be effectively restrained, and the positioning accuracy of the mobile equipment is improved.

Fig. 4 is a schematic diagram of a mobile device according to an embodiment of the present application. As shown in fig. 4, the mobile device 400 includes a memory 410 and a processor 420. The memory 410 is used primarily for storing instructions; the processor 420 is mainly configured to perform the following steps: determining whether the positioning data output by a Global Positioning System (GPS) on the mobile equipment is credible or not under the condition that the driving state of the mobile equipment is a static state or an ultra-low speed state; if the positioning data output by the GPS is credible, the position of the mobile equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment; if the positioning data output by the GPS is not authentic, the positioning data output by the GPS is calibrated to determine the position of the mobile device.

In the technical scheme, when the output data of the GPS is credible, the GPS is directly utilized for positioning; and when the positioning data output by the GPS is not credible, calibrating the GPS positioning data. The technical scheme does not depend on other positioning equipment, thereby simplifying a positioning system and effectively inhibiting the floating point problem caused by GPS independent positioning.

Optionally, as an embodiment, the processor 420 is further configured to perform the following steps: and when the driving state of the mobile equipment is a normal state, the position of the mobile equipment is directly determined according to the positioning data output by the GPS without depending on other positioning equipment.

Under the normal driving state of the mobile equipment, the positioning data output by the GPS on the mobile equipment is directly used as the position information of the mobile equipment without other positioning equipment, so that the positioning system is simplified.

Optionally, as an embodiment, the processor 420 is specifically configured to: determining an estimated value of the position of the mobile equipment at the next moment according to the historical motion information of the mobile equipment; determining the measured value of the position of the GPS at the next moment according to the positioning data output by the GPS; and determining whether the positioning data output by the GPS is credible according to the estimated value and the measured value.

According to the technical scheme, the position information of the mobile equipment at the next moment is estimated according to the historical motion information of the mobile equipment, and the estimated value of the position is used for evaluating whether the positioning data output by the GPS is credible or not, so that the positioning is assisted by other positioning equipment.

Optionally, as an embodiment, the processor 420 is specifically configured to: when the difference value between the estimated value and the measured value is smaller than or equal to a preset difference threshold value, determining that the positioning data output by the GPS is credible; when the difference between the estimated value and the measured value is greater than the difference threshold, it is determined that the positioning data output by the GPS is not authentic.

The technical scheme compares the estimated value and the measured value of the position, and can determine whether the positioning data output by the GPS is accurate or not by using the difference value between the estimated value and the measured value.

Optionally, as an embodiment, the mobile device 400 further includes: an accelerometer to determine a driving state of the mobile device.

Optionally, as an embodiment, the mobile device 400 is a vehicle.

Those of ordinary skill in the art will appreciate that the various illustrative algorithmic steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or as a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:基于全站仪的检测机器人天线与传感器相对位置标定方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类