[go: up one dir, main page]

CN109782316B - Method for reducing Beidou positioning terminal positioning drift when vehicle stops - Google Patents

Method for reducing Beidou positioning terminal positioning drift when vehicle stops Download PDF

Info

Publication number
CN109782316B
CN109782316B CN201910175438.6A CN201910175438A CN109782316B CN 109782316 B CN109782316 B CN 109782316B CN 201910175438 A CN201910175438 A CN 201910175438A CN 109782316 B CN109782316 B CN 109782316B
Authority
CN
China
Prior art keywords
positioning
data
positioning data
new
speed
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.)
Active
Application number
CN201910175438.6A
Other languages
Chinese (zh)
Other versions
CN109782316A (en
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.)
Xi'an Dipp Intelligent Technology Co ltd
Original Assignee
Xi'an Dipp Intelligent Technology Co ltd
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 Xi'an Dipp Intelligent Technology Co ltd filed Critical Xi'an Dipp Intelligent Technology Co ltd
Priority to CN201910175438.6A priority Critical patent/CN109782316B/en
Publication of CN109782316A publication Critical patent/CN109782316A/en
Application granted granted Critical
Publication of CN109782316B publication Critical patent/CN109782316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)
  • Navigation (AREA)

Abstract

A method for reducing Beidou positioning terminal positioning drift when a vehicle stops comprises the following steps: 1) Judging the validity of the related data; 2) If no data exists, the new positioning data is put into a queue and output; 3) Calculating the average speed from the new locating point to the locating point in the queue, if the average speed is greater than the set maximum speed, discarding the new locating point; otherwise, the new positioning data is stored in a queue; 4) If the speed is greater than the set minimum speed, enter 5), otherwise enter 6); 5) Calculating the average value of the speeds, if the average value is larger than the set minimum speed, setting a stop mark to be false when the vehicle moves now, and outputting new positioning data; otherwise, enter 6); 6) The speed in the new positioning data is set to 0, and the vehicle is considered to be stopped; 7) If the stop flag is false, go to 8), otherwise go to 9); 8) Setting the stop sign as true, storing longitude and latitude as a parking position, and outputting correction positioning data; 9) Setting the longitude and latitude height as a parking position, and outputting correction positioning data; the method is simple and the positioning data is accurate.

Description

Method for reducing Beidou positioning terminal positioning drift when vehicle stops
Technical Field
The invention belongs to the technical field of vehicle positioning, and particularly relates to a method for reducing the positioning drift of a Beidou positioning terminal when a vehicle stops.
Background
At present, when a Beidou positioning terminal is used for vehicle positioning, the following two problems are found: 1) When the vehicle is stationary, the output speed of the Beidou positioning terminal is not necessarily 0 and can become larger (reaching more than 5.0 km/h), and meanwhile, the longitude and latitude data output by the terminal also randomly and slowly change along with time, so that the formed track resembles a group of random hemp when the vehicle is stationary for a long time;
2) In the running process of the vehicle, the positioning data output by the Beidou positioning terminal is accurate, but the situation that the longitude and latitude speed is suddenly jumped and returns to the correct value can occur occasionally.
The existing method for reducing the positioning drift cannot well solve the two problems, particularly the first problem.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a method for reducing the positioning drift of a Beidou positioning terminal when a vehicle stops, and the method has the characteristics of simplicity, accurate positioning data and clear and non-chaotic formed track.
In order to achieve the above purpose, the invention adopts the following technical scheme: a method for reducing the positioning drift of a Beidou positioning terminal when a vehicle stops filters and corrects GGA and RMC data packets acquired from the Beidou positioning terminal, and comprises the following steps:
s1, checking whether a state indication field in a GGA data packet is 0, wherein 0 indicates that positioning is unavailable or invalid, and whether a positioning state field in a RMC data packet is V, wherein V indicates invalid positioning, and ending if the state indication field in the GGA data packet is 0 or the positioning state field in the RMC data packet is V; otherwise, entering a step S2;
s2, if no data exists in the positioning data queue, putting new positioning data into the queue, outputting the new positioning data, and ending; otherwise, enter step S3;
s3, calculating the average speed from the new locating point to the last locating point in the queue, and if the average speed is greater than the set maximum speed, considering that the data is illegal, discarding and ending; otherwise, the new positioning data is stored in a queue, and the step S4 is entered;
s4, if the speed in the new positioning data is greater than the set minimum speed, entering a step S5, otherwise entering a step S6;
s5, calculating the average value of the speeds in the positioning data queue, if the average speed is greater than the set minimum speed, considering that the vehicle is moving now, setting a stop mark as false, outputting new positioning data, and ending; otherwise, enter step S6;
s6, setting the speed in the new positioning data to 0, and considering that the vehicle is stopped;
s7, if the stop sign is false, entering a step S8, otherwise, entering a step S9;
s8, setting a stop sign as true, storing longitude and latitude in the new positioning data as a parking position, outputting the corrected positioning data, and ending;
s9, setting the longitude and latitude in the new positioning data as the parking position stored before, outputting the corrected positioning data, and ending.
The beneficial effects of the invention are as follows:
compared with the prior art, the invention eliminates speed noise by adopting a smooth filtering technology, and filters and corrects the GGA and RMC data packets acquired from the Beidou positioning terminal, thereby reducing the positioning drift of the Beidou positioning terminal, especially the positioning drift when the vehicle is stationary, filtering and correcting the positioning data each time new positioning data is acquired from the Beidou positioning terminal, wherein fields such as longitude, latitude, altitude, speed, direction and timestamp are included, and finally the obtained positioning data information eliminates some displacement abnormal points, more importantly, the speed and average speed are used for judging whether the vehicle is stopped or not, the positioning drift is effectively restrained under the stationary state of the vehicle, and the accuracy of the positioning data is improved.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples.
Referring to fig. 1, a method for reducing positioning drift of a Beidou positioning terminal when a vehicle stops, filtering and correcting GGA and RMC data packets acquired from the Beidou positioning terminal, includes the following steps:
s1, checking whether a state indication field in the GGA data packet is 0, wherein 0 indicates that positioning is unavailable or invalid, and whether a positioning state field in the RMC data packet is V, wherein V indicates invalid positioning, and ending if the state indication field in the GGA data packet is 0 or the positioning state field in the RMC data packet is V; otherwise, entering a step S2;
s2, if no data exists in the positioning data queue, placing new positioning data into the queue, wherein the length of the queue is 9 at maximum, outputting the new positioning data, and ending; otherwise, enter step S3;
s3, calculating the average speed from the new locating point to the last locating point in the queue, if the average speed is greater than the set maximum speed and the set value is 150 km/h, recognizing that the data is illegal, discarding the data, and ending; otherwise, the new positioning data is stored in a queue, and the step S4 is entered;
s4, if the speed in the new positioning data is greater than the set minimum speed of 3.6 km/h, entering a step S5, otherwise entering a step S6;
s5, calculating the average value of the speeds in the positioning data queue, if the average speed is greater than the set minimum speed of 3.6 km/h, considering that the vehicle is moving now, setting a stop mark as false, outputting new positioning data, and ending; otherwise, enter step S6;
s6, setting the speed in the new positioning data to 0, and considering that the vehicle is stopped;
s7, if the stop sign is false, entering a step S8, otherwise, entering a step S9;
s8, setting a stop sign as true, storing longitude and latitude in the new positioning data as a parking position, outputting the corrected positioning data, and ending;
s9, setting the longitude and latitude in the new positioning data as the parking position stored before, outputting the corrected positioning data, and ending.
Table 1 below shows the output results of some test cases according to the above steps, wherein 4 elements included in [ ] (e.g., [109,34,35,1514736001 ]) of "input positioning data", "output positioning data", and "positioning data queue" are longitude (unit degree), latitude (unit degree), speed (unit kilometer/hour), and positioning sampling time (unit second) indicated by unix timestamp, respectively, and 2 elements included in [ ] of "stop position" are longitude (unit degree), and latitude (unit degree), respectively.
TABLE 1

Claims (1)

1. The method for reducing the positioning drift of the Beidou positioning terminal when the vehicle stops filters and corrects the GGA and RMC data packets acquired from the Beidou positioning terminal, and is characterized by comprising the following steps:
s1, checking whether a state indication field in a GGA data packet is 0, wherein 0 indicates that positioning is unavailable or invalid, and whether a positioning state field in a RMC data packet is V, wherein V indicates invalid positioning, and ending if the state indication field in the GGA data packet is 0 or the positioning state field in the RMC data packet is V; otherwise, entering a step S2;
s2, if no data exists in the positioning data queue, putting new positioning data into the queue, outputting the new positioning data, and ending; otherwise, enter step S3;
s3, calculating the average speed from the new locating point to the last locating point in the queue, and if the average speed is greater than the set maximum speed, considering that the data is illegal, discarding and ending; otherwise, the new positioning data is stored in a queue, and the step S4 is entered;
s4, if the speed in the new positioning data is greater than the set minimum speed, entering a step S5, otherwise entering a step S6;
s5, calculating the average value of the speeds in the positioning data queue, if the average speed is greater than the set minimum speed, considering that the vehicle is moving now, setting a stop mark as false, outputting new positioning data, and ending; otherwise, enter step S6;
s6, setting the speed in the new positioning data to 0, and considering that the vehicle is stopped;
s7, if the stop sign is false, entering a step S8, otherwise, entering a step S9;
s8, setting a stop sign as true, storing longitude and latitude in the new positioning data as a parking position, outputting the corrected positioning data, and ending;
s9, setting the longitude and latitude in the new positioning data as the parking position stored before, outputting the corrected positioning data, and ending.
CN201910175438.6A 2019-03-08 2019-03-08 Method for reducing Beidou positioning terminal positioning drift when vehicle stops Active CN109782316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910175438.6A CN109782316B (en) 2019-03-08 2019-03-08 Method for reducing Beidou positioning terminal positioning drift when vehicle stops

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910175438.6A CN109782316B (en) 2019-03-08 2019-03-08 Method for reducing Beidou positioning terminal positioning drift when vehicle stops

Publications (2)

Publication Number Publication Date
CN109782316A CN109782316A (en) 2019-05-21
CN109782316B true CN109782316B (en) 2023-09-08

Family

ID=66486250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910175438.6A Active CN109782316B (en) 2019-03-08 2019-03-08 Method for reducing Beidou positioning terminal positioning drift when vehicle stops

Country Status (1)

Country Link
CN (1) CN109782316B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188154A (en) * 2019-05-31 2019-08-30 北京首汽智行科技有限公司 A kind of algorithm of the magnanimity vehicle track data based on spark
CN110406565B (en) * 2019-08-01 2021-07-20 南京富岛信息工程有限公司 Method and device for positioning, correcting and judging theft of intelligent iron shoe
CN110415545B (en) * 2019-08-02 2020-09-29 辰芯科技有限公司 Lane positioning method and device, electronic equipment and storage medium
CN110927755B (en) * 2019-11-14 2021-10-15 深圳市麦谷科技有限公司 Filtering method and device for vehicle drift point
CN111267910B (en) * 2020-02-10 2021-03-26 西南交通大学 Train real-time positioning method based on speed weighted filtering
CN114547471A (en) * 2020-10-10 2022-05-27 北京骑胜科技有限公司 Position determination method, device, storage medium and electronic equipment
CN117805867B (en) * 2024-02-29 2024-05-14 四川参盘供应链科技有限公司 GPS drift point filtering method based on positioning points

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008116370A (en) * 2006-11-06 2008-05-22 Toyota Motor Corp Mobile positioning device
CN102740457A (en) * 2012-06-21 2012-10-17 宁波波导股份有限公司 Method for preventing drift of mobile positioning of terminal
CN102749631A (en) * 2012-07-26 2012-10-24 海华电子企业(中国)有限公司 Method for reducing positioning drift of Big Dipper satellite navigating and positioning device
CN103116165A (en) * 2013-01-23 2013-05-22 深圳市华宝电子科技有限公司 Method of restraining satellite positioning drift and navigation unit
CN103852771A (en) * 2012-12-05 2014-06-11 厦门雅迅网络股份有限公司 Positioning drifting processing method
CN106324626A (en) * 2015-06-19 2017-01-11 杭州海康威视数字技术股份有限公司 Method and apparatus of filtering GPS position drift points
CN106530789A (en) * 2016-10-31 2017-03-22 成都路行通信息技术有限公司 Automobile parking point static drift detection method and system
CN106597497A (en) * 2016-12-20 2017-04-26 德州富路汽车智能化研究有限公司 Method and equipment for inhibiting GPS drift in vehicle stationary state
CN107450087A (en) * 2017-08-03 2017-12-08 千寻位置网络有限公司 A kind of quality of data service end analysis method for being used to share bicycle high accuracy positioning

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016093725A1 (en) * 2014-12-08 2016-06-16 Инвенсенс Интернешнл, Инк. Method for positioning a mobile terminal at the moment of a trigger event

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008116370A (en) * 2006-11-06 2008-05-22 Toyota Motor Corp Mobile positioning device
CN102740457A (en) * 2012-06-21 2012-10-17 宁波波导股份有限公司 Method for preventing drift of mobile positioning of terminal
CN102749631A (en) * 2012-07-26 2012-10-24 海华电子企业(中国)有限公司 Method for reducing positioning drift of Big Dipper satellite navigating and positioning device
CN103852771A (en) * 2012-12-05 2014-06-11 厦门雅迅网络股份有限公司 Positioning drifting processing method
CN103116165A (en) * 2013-01-23 2013-05-22 深圳市华宝电子科技有限公司 Method of restraining satellite positioning drift and navigation unit
CN106324626A (en) * 2015-06-19 2017-01-11 杭州海康威视数字技术股份有限公司 Method and apparatus of filtering GPS position drift points
CN106530789A (en) * 2016-10-31 2017-03-22 成都路行通信息技术有限公司 Automobile parking point static drift detection method and system
CN106597497A (en) * 2016-12-20 2017-04-26 德州富路汽车智能化研究有限公司 Method and equipment for inhibiting GPS drift in vehicle stationary state
CN107450087A (en) * 2017-08-03 2017-12-08 千寻位置网络有限公司 A kind of quality of data service end analysis method for being used to share bicycle high accuracy positioning

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于高次差法的降低北斗定位漂移研究;陈石平等;《现代导航》;20180630;第9卷(第03期);第177-182页 *

Also Published As

Publication number Publication date
CN109782316A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109782316B (en) Method for reducing Beidou positioning terminal positioning drift when vehicle stops
CN105241472B (en) Vehicle driving mileage statistical method and device based on OBD vehicle speed
CN102944886A (en) Method for filtering speed drift of GPS (Global Positioning System)
CN102137048B (en) The method and system that a kind of frequency deviation is estimated
CN106408935B (en) Motor vehicle continuous lane change behavior monitoring system and method based on navigation
CN109507699B (en) Satellite positioning correction method and device for vehicle
CN113254569B (en) Positioning deviation rectifying method and device
CN109186607A (en) A kind of method of vehicle driving trace point prediction
CN110927755B (en) Filtering method and device for vehicle drift point
CN114114369A (en) Autonomous vehicle positioning method and apparatus, electronic device, and storage medium
CN111024096A (en) Vehicle positioning data uploading method and vehicle-mounted terminal
CN110567482A (en) Vehicle travel calculation method, computer-readable storage medium, and terminal device
CN105216830A (en) A kind of train enters tunnel method for early warning
WO2016145887A1 (en) Obu positioning, subdividing and calculating method and system
CN112729725B (en) Vehicle dynamic seal index determination method and device, medium, equipment and vehicle
CN104361650B (en) A kind of automobile travel recorder impulse ratio automatic calibrating method
CN109975851A (en) A kind of train line fault point accurate positioning method and system
CN111551973B (en) Fault detection and correction method for unmanned inertial navigation system of strip mine
CN114323143B (en) Vehicle data detection method and device, computer equipment and storage medium
CN107063292B (en) Method for accurately calculating driving mileage of motor vehicle through GPS navigation information
CN101975568A (en) High-precision real-time measuring system for platform inclination and application method thereof
CN113324560A (en) Method, system and computer readable medium for obtaining vehicle mileage
CN105089904B (en) Adjusting spark ignition of an engine using remote data
CN113625234B (en) Mounting angle correction method of vehicle radar and vehicle radar
CN112874528A (en) Vehicle speed determination method, vehicle speed determination device, vehicle-mounted terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant