CN104374406A - Method for calculating approximate value of pulse factor according to GPS data - Google Patents
Method for calculating approximate value of pulse factor according to GPS data Download PDFInfo
- Publication number
- CN104374406A CN104374406A CN201410631591.2A CN201410631591A CN104374406A CN 104374406 A CN104374406 A CN 104374406A CN 201410631591 A CN201410631591 A CN 201410631591A CN 104374406 A CN104374406 A CN 104374406A
- Authority
- CN
- China
- Prior art keywords
- time
- value
- impulse ratio
- calculating
- pulse
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Navigation (AREA)
Abstract
The invention provides a method for calculating an approximate value of a pulse factor according to GPS data. The method comprises the following steps: step 1, starting when detecting that a pulse signal is input; step 2, checking a satellite signal, and returning back to the step 1 if the satellite signal is not good, judging a vehicle driving states such as directions, speeds and time, returning back to the step 1 if the conditions cannot meet the requirements, detecting whether a driving distance reaches a preset value L or not or detecting whether driving time reaches time T or not, if not, entering the step 2, further accumulating the driving distance or the driving time, if so, calculating the pulse factor according to a formula: the pulse factor M=P/L, wherein P is the total pulse quantity in the driving distance L, and repeating the steps and calculating the pulse factor for multiple times so as to solve a final value. According to the method provided by the invention, a positioning state and a movement state are judged so that an error value is effectively reduced.
Description
[technical field]
The present invention relates to a kind of method calculating impulse ratio proximity values according to gps data.
[background technology]
Impulse ratio is the pulse sum that vehicle produces when travelling every kilometrage.Known impulse ratio is relevant with the pulse sum that this mileage produces with mileage.By real-time positioning information, known real-time longitude and latitude, thus the mileage calculating that vehicle exercises, but because locating information itself has certain error, and, required mileage error is comparatively large, causes final impulse ratio to occur big error in vehicle travel process likely at a slow speed or turning etc.
Drive recorder has individual function to be want recording impulse speed, and impulse speed needs at least two conditions: unit interval umber of pulse, impulse ratio.Impulse ratio generally manually arranges according to parameter of dispatching from the factory.But some in particular cases, do not have condition just to set impulse ratio to during drive recorder initialization, this just needs drive recorder automatically can calculate a close value relative to impulse ratio.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of method calculating impulse ratio proximity values according to gps data, by judging positioning states and motion state thus effectively reducing error amount.
The present invention is achieved in that
Calculate a method for impulse ratio proximity values according to gps data, comprise the steps:
Step 1: start when having detected that pulse signal inputs;
Step 2: check satellite-signal, if satellite-signal is bad, then returns step 1;
Step 3: judge vehicle running state, as direction, speed, time, then returns step 1 as condition does not meet;
Step 4: detect operating range and whether reach setting value L, or detect running time and whether reach time T, as do not reached, then proceed to step 2, continue accumulation operating range or time, as reached, pass through formula: impulse ratio M=P/L, wherein P is the pulse sum in operating range L, calculates impulse ratio;
Step 5: repeat above step, repeatedly calculate impulse ratio, to obtain end value.
Described step 1, when receiving continuous print pulse signal, and when GPS speed reaches V=30Km/H, automatically triggering and calculating beginning.
Described step 2, satellite-signal must meet location and satellite star number is greater than 8, each satellite signal to noise ratio (S/N ratio) is greater than 30, position dilution of precision, Horizontal Dilution of Precision and vertical dilution of precision are all less than 10, then judge that satellite-signal is good, and in the whole process calculating pulsatile once coefficient, all must meet this condition, if do not meet this condition, then return step 1, restart.
Described step 3, vehicle is exercised state and is judged by direction, speed and time;
First be direction, need to ensure that vehicle does not exercise large camber as far as possible, by judging that whether deflection difference in time period T is more than A °, as exceeded, thinking that vehicle has curve driving at short notice, easily causing apart from upper error;
Next judges Slow time whether overlength, need to ensure that automobile low-speed or stand-by time are not wanted overlength and caused because the double counting of static drift longitude and latitude, by calculate from be less than the cumulative time of V to speed this moment, if overtime P, then think that Slow time is long, easily cause the many calculating of longitude and latitude to cause error large;
If any one, then think and this time calculate failure, return step 1, restart in above two conditions;
Described time T value 3 seconds, angle A value 60, speed V value 30Km/H.
Described step 4, reaches setting and travels distance, calculate impulse ratio:
By calculate from be greater than the cumulative time of V to speed this moment, if overtime N, then think and reach setting value; Or accumulative from whether be greater than L to accumulation operating range this moment, if more than L, then think and reach setting value, calculate pulsatile once coefficient proximity values;
Operating range L1, L2, L3, L4, L5 per second can be calculated by the real-time longitude and latitude of generation per second ... Ln, thus calculate accumulative operating range L=L1+L2+L3+ ... Ln; Wherein Ln represents the distance of GPS every bit and previous point, by pulse number P1, P2, P3, P4, P5 of generation per second ... Pn, calculating starts to overall pulse number P=P1+P2+P3+ this moment ... Pn, the wherein umber of pulse of Pn corresponding each closely-spaced time period, by impulse ratio formula pulses coefficient M=P/L, the M calculated stores.
Described step 5, repeatedly calculates impulse ratio, measures N time, obtains N number of M value, then gets intermediate value to this N number of value, and this value is exactly final impulse ratio proximity values.
The invention has the advantages that: by calculating the design of impulse ratio proximity values method according to gps data, solve when no pulse coefficient, the problem of impulse speed cannot be tried to achieve.And by the method, the state travelled according to the performance and vehicle that judge satnav, greatly reduces the error of calculation caused because of external cause, asks the method for intermediate value to substantially increase the accuracy of the impulse ratio of finally trying to achieve through repetitive measurement.
[accompanying drawing explanation]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is method overall procedure sketch of the present invention.
[embodiment]
As shown in Figure 1, a kind of method calculating impulse ratio proximity values according to gps data, comprises the steps:
Step 1: start when having detected that pulse signal inputs;
Step 2: check satellite-signal, if satellite-signal is bad, returns step 1;
Step 3: judge vehicle running state, as direction, speed, time etc., then returns step 1 as condition does not meet;
Step 4: detect operating range and whether reach setting value L or detect running time whether reach time T, as do not reached, then entering step 2, continuing accumulation operating range or time, as reached, going out impulse ratio by formulae discovery;
Step 5: repeat above step, repeatedly calculate impulse ratio, to obtain end value.
Each step is described below in detail:
Step 1: pulse signal input starts.When receiving continuous print pulse signal, and when GPS speed reaches V, automatically triggering and calculating beginning.Speed needs to reach V, is in order to avoid in low speed, calculation of longitude & latitude is inaccurate, avoids carrying out invalid computation frequently.V can value 30Km/H.
Step 2: satellite-signal judges.Satellite-signal must meet location and satellite star number is greater than 8, and each satellite signal to noise ratio (S/N ratio) is greater than 30, and position dilution of precision, Horizontal Dilution of Precision and vertical dilution of precision are all less than 10.Then judge that satellite-signal is good, and in the whole process calculating pulsatile once coefficient, all must meet this condition, otherwise easily occur because drift appears in environment reason location, thus cause occurring comparatively big error.If do not meet this condition, then return previous step, restart.
Step 3: vehicle running state judges.Vehicle is exercised state and is judged mainly through direction, speed and time.First be direction, need to ensure that vehicle does not exercise large camber as far as possible, by judging that whether deflection difference in time period T is more than A °, as exceeded, thinking that vehicle has curve driving at short notice, easily causing apart from upper error.Next judges Slow time whether overlength, need to ensure that automobile low-speed or stand-by time are not wanted overlength and caused because the double counting of static drift longitude and latitude, by calculate from be less than the cumulative time of V to speed this moment, if overtime P, then think that Slow time is long, easily cause the many calculating of longitude and latitude to cause error large.If any one, then think and this time calculate failure, restart in above two conditions.T can value 3 seconds, A can value 60, V can value 30Km/H.
Step 4: reach setting and travel distance, calculate impulse ratio.By calculate from be greater than the cumulative time of V to speed this moment, if overtime N, then think and reach setting value; Or accumulative from whether be greater than L to accumulation operating range this moment, if more than L, then think and reach setting value, pulsatile once coefficient proximity values can be calculated.Operating range L1, L2, L3, L4, L5 per second can be calculated by the real-time longitude and latitude of generation per second ... Ln, thus calculate accumulative operating range L=L1+L2+L3+ ... Ln; Wherein Ln represents the distance of GPS every bit and previous point.By pulse number P1, P2, P3, P4, P5 of generation per second ... Pn, calculates and starts to overall pulse number P=P1+P2+P3+ this moment ... Pn.The wherein umber of pulse of Pn corresponding each closely-spaced time period.By impulse ratio implication: the pulse sum produced when vehicle travels every kilometrage.Formula pulses coefficient M=P/L can be obtained; Wherein L unit is kilometer.The M calculated stores.As desirable in setting-up time 3 minutes, desirable 3 kilometers of setpoint distance.
Step 5: repeat above step, repeatedly calculate impulse ratio, ask end value.Due to environmental problem, all there is certain error in the impulse ratio at every turn calculated, so take multiple measurements, by repetitive measurement, can reduce accidental error, allow the probability of error reduce.As measured N time, obtain N number of M value, then get intermediate value to this N number of value, this value is exactly final impulse ratio proximity values.Wherein N is more large more accurate.As desirable in N 15.
The present invention, by calculating the design of impulse ratio proximity values method according to gps data, solves when no pulse coefficient, cannot try to achieve the problem of impulse speed.And by the method, the state travelled according to the performance and vehicle that judge satnav, greatly reduces the error of calculation caused because of external cause, asks the method for intermediate value to substantially increase the accuracy of the impulse ratio of finally trying to achieve through repetitive measurement.
The foregoing is only better enforcement use-case of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. calculate a method for impulse ratio proximity values according to gps data, it is characterized in that: comprise the steps:
Step 1: start when having detected that pulse signal inputs;
Step 2: check satellite-signal, if satellite-signal is bad, then returns step 1;
Step 3: judge vehicle running state, as direction, speed, time, then returns step 1 as condition does not meet;
Step 4: detect operating range and whether reach setting value L, or detect running time and whether reach time T, as do not reached, then proceed to step 2, continue accumulation operating range or time, as reached, pass through formula: impulse ratio M=P/L, wherein P is the pulse sum in operating range L, calculates impulse ratio;
Step 5: repeat above step, repeatedly calculate impulse ratio, to obtain end value.
2. a kind of method calculating impulse ratio proximity values according to gps data as claimed in claim 1, is characterized in that: described step 1, when receiving continuous print pulse signal, and when GPS speed reaches V=30Km/H, automatically triggering calculating and starting.
3. a kind of method calculating impulse ratio proximity values according to gps data as claimed in claim 1, it is characterized in that: described step 2, satellite-signal must meet location and satellite star number is greater than 8, and each satellite signal to noise ratio (S/N ratio) is greater than 30, and position dilution of precision, Horizontal Dilution of Precision and vertical dilution of precision are all less than 10, then judge that satellite-signal is good, and in the whole process calculating pulsatile once coefficient, all must meet this condition, if do not meet this condition, then return step 1, restart.
4. a kind of method calculating impulse ratio proximity values according to gps data as claimed in claim 1, is characterized in that: described step 3, and vehicle is exercised state and judged by direction, speed and time;
First be direction, need to ensure that vehicle does not exercise large camber as far as possible, by judging that whether deflection difference in time period T is more than A °, as exceeded, thinking that vehicle has curve driving at short notice, easily causing apart from upper error;
Next judges Slow time whether overlength, need to ensure that automobile low-speed or stand-by time are not wanted overlength and caused because the double counting of static drift longitude and latitude, by calculate from be less than the cumulative time of V to speed this moment, if overtime P, then think that Slow time is long, easily cause the many calculating of longitude and latitude to cause error large;
If any one, then think and this time calculate failure, return step 1, restart in above two conditions;
Described time T value 3 seconds, angle A value 60, speed V value 30Km/H.
5. a kind of method calculating impulse ratio proximity values according to gps data as claimed in claim 1, is characterized in that: described step 4, reaches setting and travels distance, calculate impulse ratio:
By calculate from be greater than the cumulative time of V to speed this moment, if overtime N, then think and reach setting value; Or accumulative from whether be greater than L to accumulation operating range this moment, if more than L, then think and reach setting value, calculate pulsatile once coefficient proximity values;
Operating range L1, L2, L3, L4, L5 per second can be calculated by the real-time longitude and latitude of generation per second ... Ln, thus calculate accumulative operating range L=L1+L2+L3+ ... Ln; Wherein Ln represents the distance of GPS every bit and previous point, by pulse number P1, P2, P3, P4, P5 of generation per second ... Pn, calculating starts to overall pulse number P=P1+P2+P3+ this moment ... Pn, the wherein umber of pulse of Pn corresponding each closely-spaced time period, by impulse ratio formula pulses coefficient M=P/L, the M calculated stores.
6. a kind of method calculating impulse ratio proximity values according to gps data as claimed in claim 1, is characterized in that: described step 5, repeatedly calculates impulse ratio, measure N time, obtain N number of M value, then get intermediate value to this N number of value, this value is exactly final impulse ratio proximity values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410631591.2A CN104374406A (en) | 2014-11-11 | 2014-11-11 | Method for calculating approximate value of pulse factor according to GPS data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410631591.2A CN104374406A (en) | 2014-11-11 | 2014-11-11 | Method for calculating approximate value of pulse factor according to GPS data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104374406A true CN104374406A (en) | 2015-02-25 |
Family
ID=52553460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410631591.2A Pending CN104374406A (en) | 2014-11-11 | 2014-11-11 | Method for calculating approximate value of pulse factor according to GPS data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104374406A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105606838A (en) * | 2016-03-25 | 2016-05-25 | 航天科技控股集团股份有限公司 | Speed calibration method based on timer |
CN106525070A (en) * | 2016-10-31 | 2017-03-22 | 成都路行通信息技术有限公司 | Automobile motion state detection method and system |
CN112073899A (en) * | 2020-08-13 | 2020-12-11 | 北京骑胜科技有限公司 | Vehicle state detection method and processing method |
CN113267201A (en) * | 2021-06-24 | 2021-08-17 | 东风华神汽车有限公司 | Vehicle mileage correction method, device, equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5181061A (en) * | 1990-04-27 | 1993-01-19 | Asahi Kogaku Kogyo Kabushiki Kaisha | Camera system |
JPH07306056A (en) * | 1994-05-10 | 1995-11-21 | Sumitomo Electric Ind Ltd | Apparatus for detecting running distance of vehicle |
JPH08304089A (en) * | 1995-04-28 | 1996-11-22 | Fujitsu Ten Ltd | Vehicle-mounted electronic apparatus |
CN101688783A (en) * | 2007-07-04 | 2010-03-31 | 三菱电机株式会社 | Navigation system |
CN102980592A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) longitude and latitude |
CN102980589A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) speed |
CN103927796A (en) * | 2013-01-11 | 2014-07-16 | 深圳市伊爱高新技术开发有限公司 | Automatic calibration method of pulse coefficient of automobile traveling data recorder |
CN103969465A (en) * | 2014-05-23 | 2014-08-06 | 航天科技控股集团股份有限公司 | Automatic pulse factor calibrating method for vehicle-mounted terminal Beidou satellite positioning |
-
2014
- 2014-11-11 CN CN201410631591.2A patent/CN104374406A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5181061A (en) * | 1990-04-27 | 1993-01-19 | Asahi Kogaku Kogyo Kabushiki Kaisha | Camera system |
JPH07306056A (en) * | 1994-05-10 | 1995-11-21 | Sumitomo Electric Ind Ltd | Apparatus for detecting running distance of vehicle |
JPH08304089A (en) * | 1995-04-28 | 1996-11-22 | Fujitsu Ten Ltd | Vehicle-mounted electronic apparatus |
CN101688783A (en) * | 2007-07-04 | 2010-03-31 | 三菱电机株式会社 | Navigation system |
CN102980592A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) longitude and latitude |
CN102980589A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) speed |
CN103927796A (en) * | 2013-01-11 | 2014-07-16 | 深圳市伊爱高新技术开发有限公司 | Automatic calibration method of pulse coefficient of automobile traveling data recorder |
CN103969465A (en) * | 2014-05-23 | 2014-08-06 | 航天科技控股集团股份有限公司 | Automatic pulse factor calibrating method for vehicle-mounted terminal Beidou satellite positioning |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105606838A (en) * | 2016-03-25 | 2016-05-25 | 航天科技控股集团股份有限公司 | Speed calibration method based on timer |
CN106525070A (en) * | 2016-10-31 | 2017-03-22 | 成都路行通信息技术有限公司 | Automobile motion state detection method and system |
CN106525070B (en) * | 2016-10-31 | 2019-07-19 | 成都路行通信息技术有限公司 | A kind of detection method and system of motion state of automobile |
CN112073899A (en) * | 2020-08-13 | 2020-12-11 | 北京骑胜科技有限公司 | Vehicle state detection method and processing method |
CN113267201A (en) * | 2021-06-24 | 2021-08-17 | 东风华神汽车有限公司 | Vehicle mileage correction method, device, equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102662083B (en) | Accelerometer calibration method based on GPS velocity information | |
CN103162689B (en) | The assisted location method of auxiliary vehicle positioning system and vehicle | |
CN105509738B (en) | Vehicle positioning orientation method based on inertial navigation/Doppler radar combination | |
CN104374406A (en) | Method for calculating approximate value of pulse factor according to GPS data | |
WO2015141559A1 (en) | Road surface degradation detection method, information processing device, and program | |
CN103163536A (en) | Global position system (GPS) drifting processing method based on ACC signals and device using the same | |
CN102680002B (en) | Online calibrating method of zero-point voltage of micro-machine gyroscope for automobile | |
CN107792117B (en) | Locomotive wheel diameter self-checking device and method based on radar | |
CN102980589A (en) | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) speed | |
CN102607680A (en) | Vibration-based rapid detection method for vehicle load identification for bridges | |
CN109556630A (en) | A kind of vehicle mileage modification method and device | |
CN103308071B (en) | A kind of GPS/INS positioning navigation device micro-electro-mechanical gyroscope zero-point voltage bearing calibration | |
CN109946648B (en) | Ultra-wideband-based high-precision vehicle positioning method under cooperation of vehicle and road | |
CN104408914A (en) | Signal intersection single vehicle stopping delay time estimating method and system based on GPS data | |
CN104005324B (en) | A kind of detection system of pavement structure information | |
CN104006822B (en) | VMT Vehicle-Miles of Travel statistical method | |
CN112731483A (en) | Method for judging RTK abnormal value in automatic driving integrated navigation system | |
CN107764273B (en) | Vehicle navigation positioning method and system | |
CN101798793A (en) | Vehicular large-wave road shape measuring method and system | |
CN102980592A (en) | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) longitude and latitude | |
WO2022134685A1 (en) | Locomotive running state detection method based on satellite positioning | |
CN103273382B (en) | Reading device of grating ruler | |
CN102706364B (en) | Online calibration method of scaling factors of micromachining gyroscope for vehicle | |
CN106403999A (en) | GNSS-based real-time compensation method for inertial navigation accelerometer drifting | |
CN105357753A (en) | Multimode fusion recursion iteration based indoor positioning method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150225 |