CN105142114A - Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface - Google Patents
Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface Download PDFInfo
- Publication number
- CN105142114A CN105142114A CN201510501787.4A CN201510501787A CN105142114A CN 105142114 A CN105142114 A CN 105142114A CN 201510501787 A CN201510501787 A CN 201510501787A CN 105142114 A CN105142114 A CN 105142114A
- Authority
- CN
- China
- Prior art keywords
- module
- chip
- time
- car
- obd interface
- 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
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/35—Constructional details or hardware or software details of the signal processing chain
- G01S19/37—Hardware or software details of the signal processing chain
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention provides a method for increasing the locating speed of a vehicular terminal based on an OBD (On-Board Diagnostic) interface, capable of rapidly realizing initial location of the vehicular terminal based on the OBD interface. The vehicular terminal based on the OBD interface at least comprises many functional modules including a MCU (Micro-programmed Control Unit) micro-controller, a communication module, a satellite locating module, a real-time clock chip, a flash storage chip, an antenna system and the like, wherein an LPC 1754 chip of the NXP is adopted in the MCU micro-controller; the communication module is a CDMA (Code Division Multiple Access) module, which is an MC8332 module of the Zhongxing; the satellite locating module is a GPS (Global Position System) receiver, which is an NEO-6M-0-001 module of the U-BLOX; the real-time clock chip is a PCF8536 clock chip; the flash storage chip is an SST25VF040 chip; and the antenna system comprises a CDMA antenna and a GPS active antenna.
Description
Technical field
Patent of the present invention relates to a kind of car-mounted terminal localization method of OBD interface, particularly relates to the method for a kind of raising based on the car-mounted terminal locating speed of OBD interface.
Background technology
OBD (OnBoardDiagnostics) is OBD.The car-mounted terminal of OBD interface is integrated with the various functions modules such as MCU microcontroller, communication module, satellite positioning module, real-time timepiece chip, flash storage chip, antenna system.Global position system is the real-time navigation capability utilizing the global positioning system of the U.S. (GPS) to realize the car-mounted terminal of OBD interface.This system can ensure at any time, and on the earth, any point can observe 4 satellites simultaneously, to ensure that satellite can collect longitude and latitude and the height of this observation station, to realize the functions such as navigation, location, time service.
After the gps receiver startup of the car-mounted terminal of OBD interface, the almanac data time-out that any almanac data or preservation are not preserved in its inside lost efficacy, just must to start from scratch reception gps satellite signal, after only having signal integrity to receive, can analyze the information such as the frequency of satellite above current location, numbering, track, final locking satellite also orients current location information.This process is long in the time of initial alignment, generally can more than 3 minutes even more than more than 5 minutes.For the user of the car-mounted terminal of OBD interface, be to locate in time and to see vehicle position information, manifested the defect of product.
Summary of the invention
The object of the invention is the deficiency in order to solve the said goods initial alignment aspect, providing a kind of raising based on the method for the car-mounted terminal locating speed of OBD interface, the stand-by period of product initial alignment can be shortened.
The object of the invention is to be realized by following scheme:
Raising of the present invention is based on the method for the car-mounted terminal locating speed of OBD interface, and the car-mounted terminal of described OBD interface at least comprises MCU microcontroller, communication module, satellite positioning module, real-time timepiece chip, flash storage chip, antenna system; The method comprises the following steps:
Step one: the car-mounted terminal of OBD interface carries out system initialization, complete GPS module initialization, CDMA module start and initialization, flash initialization;
Step 2: by cdma network current real-time clock time calibration; Read flash last and store the ephemeris time;
Judge that current real-time clock and flash last store the ephemeris time, whether two time intervals exceed the term of validity of ephemeris;
Step 3: according to the judged result of step 2, if the time interval exceedes the term of validity, then obtains up-to-date ephemeris data from AGPS server; If the time interval does not exceed the term of validity, then from flash memory, read the effective ephemeris data stored;
Step 4: waited for for 15 seconds and judge whether GPS locates successfully;
Step 5: according to the judged result of step 4, if no-fix success, then again reads ephemeris data, if locate successfully, performs main program from flash memory;
Step 6: when main program runs, timing stored ephemeris data to flash memory every 30 minutes, stored and adopted nybble alignment thereof storage format, store real time clock data and ephemeris data simultaneously.
Further, the AGPS server in above-mentioned steps three is provided by U-BLOX company, obtains current ephemeris data from its server.
Above-mentioned MCU microcontroller adopts the LPC1754 chip of NXP; Described communication module is CDMA module, employing be in emerging MC8332 module; Described satellite positioning module is gps receiver, employing be the NEO-6M-0-001 module of U-BLOX; What described real-time timepiece chip adopted is PCF8563 clock chip; What described flash storage chip adopted is SST25VF040 chip; Described antenna system comprises CDMA antenna and GPS active antenna.
The modules related in the present invention, chip are existing mature technology, are well known to those skilled in the art; Compared with prior art, a kind of method improved based on the car-mounted terminal locating speed of OBD interface provided by the invention, mainly have employed new memory mechanism method, shorten the initial satellite positioning time of the vehicle-mounted terminal equipment of OBD interface, is had 3-5 minute the initial alignment time and foreshortened to 20-60 second, and the car-mounted terminal that improve OBD interface brings the locating effect impression of user.
Accompanying drawing explanation
Fig. 1 is the minimal structure block diagram of the car-mounted terminal of OBD interface in the present invention;
Fig. 2 is the software flow pattern of a kind of raising of the present invention based on the method for the car-mounted terminal locating speed of OBD interface.
Embodiment
Below in conjunction with drawings and Examples, the present invention will be further described.
As shown in Figure 1, the car-mounted terminal of the OBD interface described in the present invention at least should comprise the various functions modules such as MCU microcontroller, communication module, satellite positioning module, real-time timepiece chip, flash storage chip, antenna system.Wherein said MCU microcontroller adopts the LPC1754 chip of NXP; Described communication module is CDMA module, employing be in emerging MC8332 module; Described satellite positioning module is gps receiver, employing be the NEO-6M-0-001 module of U-BLOX; What described real-time timepiece chip adopted is PCF8563 clock chip; What described flash storage chip adopted is SST25VF040 chip; Described antenna system comprises CDMA antenna and GPS active antenna;
See Fig. 2, the present invention improves the method based on the car-mounted terminal locating speed of OBD interface, comprises the following steps:
Step one: the car-mounted terminal of OBD interface carries out system initialization, mainly completes GPS module initialization, CDMA module starts and initialization, flash initialization etc.;
Step 2: by cdma network current real-time clock time calibration; Read flash last and store the ephemeris time.
Judge that current real-time clock and flash last store the ephemeris time, whether two time intervals exceed the term of validity of ephemeris.
Step 3: according to the judged result of step 2, if the time interval exceedes the term of validity, then obtains up-to-date ephemeris data from AGPS server; If the time interval does not exceed the term of validity, then from flash memory, read the effective ephemeris data stored.
Step 4: waited for for 15 seconds and judge whether GPS locates successfully.
Step 5: according to the judged result of step 4, if no-fix success, then again reads ephemeris data, if locate successfully, performs main program from flash memory.
Step 6: when main program runs, timing stored ephemeris data to flash memory every 30 minutes, stored and adopted nybble alignment thereof storage format, store real time clock data and ephemeris data simultaneously.
AGPS server in described step 3 is provided by U-BLOX company, can obtain current ephemeris data from its server.
The foregoing is only preferred embodiment of the present invention, but protection scope of the present invention is not limited thereto.Anyly be familiar with those skilled in the art, technical scheme of the present invention and design be equal to and replace or change, all should be included within protection scope of the present invention.
Claims (3)
1. improve the method based on the car-mounted terminal locating speed of OBD interface, the car-mounted terminal of described OBD interface at least comprises MCU microcontroller, communication module, satellite positioning module, real-time timepiece chip, flash storage chip, antenna system; It is characterized in that: comprise the following steps:
Step one: the car-mounted terminal of OBD interface carries out system initialization, complete GPS module initialization, CDMA module start and initialization, flash initialization;
Step 2: by cdma network current real-time clock time calibration; Read flash last and store the ephemeris time;
Judge that current real-time clock and flash last store the ephemeris time, whether two time intervals exceed the term of validity of ephemeris;
Step 3: according to the judged result of step 2, if the time interval exceedes the term of validity, then obtains up-to-date ephemeris data from AGPS server; If the time interval does not exceed the term of validity, then from flash memory, read the effective ephemeris data stored;
Step 4: waited for for 15 seconds and judge whether GPS locates successfully;
Step 5: according to the judged result of step 4, if no-fix success, then again reads ephemeris data, if locate successfully, performs main program from flash memory;
Step 6: when main program runs, timing stored ephemeris data to flash memory every 30 minutes, stored and adopted nybble alignment thereof storage format, store real time clock data and ephemeris data simultaneously.
2. raising according to claim 1 is based on the method for the car-mounted terminal locating speed of OBD interface, it is characterized in that: the AGPS server in described step 3 is provided by U-BLOX company, obtains current ephemeris data from its server.
3. raising according to claim 1 is based on the method for the car-mounted terminal locating speed of OBD interface, it is characterized in that: described MCU microcontroller adopts the LPC1754 chip of NXP; Described communication module is CDMA module, employing be in emerging MC8332 module; Described satellite positioning module is gps receiver, employing be the NEO-6M-0-001 module of U-BLOX; What described real-time timepiece chip adopted is PCF8563 clock chip; What described flash storage chip adopted is SST25VF040 chip; Described antenna system comprises CDMA antenna and GPS active antenna.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510501787.4A CN105142114A (en) | 2015-08-14 | 2015-08-14 | Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510501787.4A CN105142114A (en) | 2015-08-14 | 2015-08-14 | Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105142114A true CN105142114A (en) | 2015-12-09 |
Family
ID=54727295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510501787.4A Pending CN105142114A (en) | 2015-08-14 | 2015-08-14 | Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105142114A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107064971A (en) * | 2017-04-12 | 2017-08-18 | 贵州北斗空间信息技术有限公司 | A kind of Big Dipper satellite signal receives display circuit |
CN107229218A (en) * | 2017-06-20 | 2017-10-03 | 中通客车控股股份有限公司 | The multiple clock sources correction device and method of a kind of vehicle-mounted TBOX systems |
CN114882617A (en) * | 2022-03-25 | 2022-08-09 | 潍柴动力股份有限公司 | Multi-terminal emergency unlocking method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008047521A1 (en) * | 2006-10-18 | 2008-04-24 | Nec Corporation | Mobile communication terminal with gps function, positioning system, operation control method, and program |
CN101726727A (en) * | 2008-10-13 | 2010-06-09 | 美国博通公司 | Method and system for processing signal |
CN102472819A (en) * | 2009-08-17 | 2012-05-23 | 株式会社Ntt都科摩 | GPS positioning system, GPS positioning method, and GPS positioning terminal |
CN103792560A (en) * | 2012-10-30 | 2014-05-14 | 中兴通讯股份有限公司 | Satellite positioning method, device and system |
CN103974189A (en) * | 2013-01-24 | 2014-08-06 | 华为终端有限公司 | GPS positioning method of mobile terminal and mobile terminal |
CN204065414U (en) * | 2014-09-15 | 2014-12-31 | 大连楼兰科技股份有限公司 | A kind of OBD mobile unit based on AGPS location |
CN104461654A (en) * | 2014-12-27 | 2015-03-25 | 西安大唐电信有限公司 | OBD equipment function unit and firmware classification optional upgrading method |
CN204269827U (en) * | 2014-11-12 | 2015-04-15 | 辽宁省交通高等专科学校 | A kind of GPS positioning system |
-
2015
- 2015-08-14 CN CN201510501787.4A patent/CN105142114A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008047521A1 (en) * | 2006-10-18 | 2008-04-24 | Nec Corporation | Mobile communication terminal with gps function, positioning system, operation control method, and program |
CN101726727A (en) * | 2008-10-13 | 2010-06-09 | 美国博通公司 | Method and system for processing signal |
CN102472819A (en) * | 2009-08-17 | 2012-05-23 | 株式会社Ntt都科摩 | GPS positioning system, GPS positioning method, and GPS positioning terminal |
CN103792560A (en) * | 2012-10-30 | 2014-05-14 | 中兴通讯股份有限公司 | Satellite positioning method, device and system |
CN103974189A (en) * | 2013-01-24 | 2014-08-06 | 华为终端有限公司 | GPS positioning method of mobile terminal and mobile terminal |
CN204065414U (en) * | 2014-09-15 | 2014-12-31 | 大连楼兰科技股份有限公司 | A kind of OBD mobile unit based on AGPS location |
CN204269827U (en) * | 2014-11-12 | 2015-04-15 | 辽宁省交通高等专科学校 | A kind of GPS positioning system |
CN104461654A (en) * | 2014-12-27 | 2015-03-25 | 西安大唐电信有限公司 | OBD equipment function unit and firmware classification optional upgrading method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107064971A (en) * | 2017-04-12 | 2017-08-18 | 贵州北斗空间信息技术有限公司 | A kind of Big Dipper satellite signal receives display circuit |
CN107229218A (en) * | 2017-06-20 | 2017-10-03 | 中通客车控股股份有限公司 | The multiple clock sources correction device and method of a kind of vehicle-mounted TBOX systems |
CN114882617A (en) * | 2022-03-25 | 2022-08-09 | 潍柴动力股份有限公司 | Multi-terminal emergency unlocking method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830141B (en) | Time synchronization method, system, storage medium and processor | |
US9354321B2 (en) | Method for position determination with measurement stitching | |
JP6385651B2 (en) | On-vehicle device and spoofing detection method | |
US9645247B2 (en) | Fast estimation of UTC time in a mobile device using GNSS | |
CN100416296C (en) | Method and system for using altitude information in a satellite positioning system | |
US8532571B2 (en) | Method and system for determining a location for a RF communication device based on its proximity to a mobile device | |
CN110687562A (en) | Positioning method and vehicle-mounted device | |
Damani et al. | Global positioning system for object tracking | |
JP6496472B2 (en) | On-vehicle device and spoofing detection method | |
US20160370469A1 (en) | On-board unit and spoofing detecting method | |
EP3190429A1 (en) | Method and device for hybrid positioning based on v2x and gnss | |
Dey et al. | Anti-theft protection of vehicle by GSM & GPS with fingerprint verification | |
CN103235323A (en) | Method for reducing power consumption of GPS (Global Positioning System) | |
CN101977435A (en) | Terminal positioning method and system | |
CN104395778A (en) | Unmanned airplane positioning method and unmanned airplane, personal wireless terminal, positioning system | |
CN105142114A (en) | Method for increasing locating speed of vehicular terminal based on OBD (On-Board Diagnostic) interface | |
CN101634696A (en) | Signal processing method for GPS/CAPS double-module combination receiver | |
CN101772162B (en) | Localization method and mobile terminal | |
US20150084813A1 (en) | Gps positioning system | |
CN105182393A (en) | Realization method based on Beidou satellite positioning technology and internet-of-vehicles technology | |
CN102638758A (en) | Method for positioning and monitoring geographical position in mobile communication terminal | |
TWI462061B (en) | Method and device of automatic vehicle location monitoring and related communication system | |
CN201965441U (en) | GPS (Global Positioning System) time service receiving card | |
CN204269827U (en) | A kind of GPS positioning system | |
WO2013071944A1 (en) | Improved time to first fix, ttff, sensitivity and accuracy for a global navigation satellite system positioning device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151209 |