[go: up one dir, main page]

TWI417520B - Electronic device and method for detecting errors of gps of the electronic device - Google Patents

Electronic device and method for detecting errors of gps of the electronic device Download PDF

Info

Publication number
TWI417520B
TWI417520B TW99127674A TW99127674A TWI417520B TW I417520 B TWI417520 B TW I417520B TW 99127674 A TW99127674 A TW 99127674A TW 99127674 A TW99127674 A TW 99127674A TW I417520 B TWI417520 B TW I417520B
Authority
TW
Taiwan
Prior art keywords
coordinate value
electronic device
line
longitude
decomposed
Prior art date
Application number
TW99127674A
Other languages
Chinese (zh)
Other versions
TW201209376A (en
Inventor
Suprapto Eka Candra
zhi-xin Xiao
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW99127674A priority Critical patent/TWI417520B/en
Publication of TW201209376A publication Critical patent/TW201209376A/en
Application granted granted Critical
Publication of TWI417520B publication Critical patent/TWI417520B/en

Links

Landscapes

  • Navigation (AREA)

Description

電子裝置及其GPS誤差偵測方法 Electronic device and GPS error detecting method thereof

本發明涉及一種偵測方法,尤其涉及一種電子裝置及其GPS誤差偵測方法。 The invention relates to a detection method, in particular to an electronic device and a GPS error detection method thereof.

隨著科技日新月異的進步,電子技術得以不斷的發展,應用於電子裝置上的各種輔助功能日益增加。越來越多的電子裝置配備了GPS以獲取該電子裝置的定位資訊,例如汽車、手機等。然而通常由於GPS的誤差導致GPS顯示電子裝置的位置不在道路上,或者不在該電子裝置的實際位置上,對用戶造成了困擾。 With the rapid advancement of technology, electronic technology has been continuously developed, and various auxiliary functions applied to electronic devices are increasing. More and more electronic devices are equipped with GPS to obtain positioning information of the electronic device, such as a car, a mobile phone, and the like. However, the position of the GPS display electronic device is usually not on the road due to the error of the GPS, or is not in the actual position of the electronic device, which causes trouble to the user.

鑒於以上內容,有必要提供一種電子裝置及其GPS誤差偵測方法,可以即時對安裝於電子裝置內的GPS進行誤差偵測。 In view of the above, it is necessary to provide an electronic device and a GPS error detecting method thereof, which can instantly detect an error of a GPS installed in an electronic device.

一種電子裝置,該電子裝置包括GPS單元,該電子裝置還包括GPS誤差偵測系統,該GPS誤差偵測系統包括:採集模組,用於每隔一個時間間隔從該電子裝置的電子地圖上採集該電子裝置的移動速度和位置,該位置對應的座標值為第一座標值;路線預估模組,用於根據採集到的該電子裝置的移動速度和該電子裝置的位置及第一座標值預估該電子裝置所在的實際位置及其座標值,該座 標值為第二座標值,並根據該第二座標值預估該電子裝置所在的道路;計算模組,用於當預估到的該電子裝置所在的道路平行於經度線時,計算所述第一座標值和第二座標值在緯度方向上的偏移差值,當預估到的該電子裝置所在的道路平行於緯度線時,計算所述第一座標值和第二座標值在經度方向上的偏移差值,當預估到的該電子裝置所在的道路既不平行於經度線也不平行於緯度線時,分別將第一座標值和第二座標值分解到經度線與緯度線上,計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及計算第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線上的座標值之間的偏移差值;及校準模組,用於根據該電子裝置的第二座標值和所計算出來的偏移差值校準所述GPS單元。 An electronic device includes a GPS unit, the electronic device further comprising a GPS error detection system, the GPS error detection system comprising: an acquisition module, configured to collect from an electronic map of the electronic device every other time interval The movement speed and position of the electronic device, the coordinate value corresponding to the position is a first coordinate value; the route estimation module is configured to: according to the collected moving speed of the electronic device and the position and the first coordinate value of the electronic device Estimating the actual location of the electronic device and its coordinate value, the seat The value is a second coordinate value, and the road where the electronic device is located is estimated according to the second coordinate value; and the calculation module is configured to calculate the road when the estimated road where the electronic device is located is parallel to the longitude line The difference between the first landmark value and the second coordinate value in the latitude direction. When the estimated road where the electronic device is located is parallel to the latitude line, the first coordinate value and the second coordinate value are calculated in the longitude. The offset difference in the direction, when the predicted road where the electronic device is located is neither parallel to the longitude line nor parallel to the latitude line, respectively decompose the first coordinate value and the second coordinate value into the longitude line and the latitude On the line, calculate the offset value between the coordinate value of the first coordinate value decomposed to the longitude line and the coordinate value of the second coordinate value decomposed into the longitude line, and calculate the coordinate value of the first coordinate value decomposed to the latitude line and the second The coordinate value is decomposed into an offset difference between coordinate values on the latitude line; and a calibration module is configured to calibrate the GPS unit based on the second coordinate value of the electronic device and the calculated offset difference.

一種GPS誤差偵測方法,該方法運用於電子裝置上,該電子裝置包括GPS單元,該方法包括如下步驟:(a)每隔一個時間間隔從該電子裝置的電子地圖上採集該電子裝置的移動速度和該電子裝置的位置,該位置對應的座標值為第一座標值;(b)根據採集的該電子裝置的移動速度和該電子裝置的位置及第一座標值預估該電子裝置所在的實際位置及其座標值,該座標值為第二座標值,並根據該第二座標值預估該電子裝置所在的道路,然後執行步驟(c),(d)或(e);(c)當預估到的該電子裝置所在的道路平行於經度線時,計算所述第一座標值和第二座標值在緯度方向上的偏移差值;(d)當預估到的該電子裝置所在的道路平行於緯度線時,計算所述第一座標值和第二座標值在經度方向上的 偏移差值;(e)當預估到的該電子裝置所在的道路既不平行於經度線也不平行於緯度線時,分別將第一座標值和第二座標值分解到經度線與緯度線上,計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及計算第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線上的座標值之間的偏移差值;及(f)根據該電子裝置的第二座標值和所計算出來的偏移差值校準所述GPS單元。 A GPS error detection method is applied to an electronic device, the electronic device comprising a GPS unit, the method comprising the steps of: (a) collecting the movement of the electronic device from an electronic map of the electronic device at every other time interval a speed and a position of the electronic device, the coordinate value corresponding to the position is a first coordinate value; (b) estimating the location of the electronic device according to the moving speed of the electronic device and the position of the electronic device and the first coordinate value The actual position and its coordinate value, the coordinate value is the second coordinate value, and the road where the electronic device is located is estimated according to the second coordinate value, and then steps (c), (d) or (e); (c) are performed. Calculating an offset difference between the first coordinate value and the second coordinate value in a latitude direction when the estimated road where the electronic device is located is parallel to the longitude line; (d) when the estimated electronic device is When the road where the road is parallel to the latitude line, calculate the first coordinate value and the second coordinate value in the longitude direction Offset difference; (e) Decompose the first coordinate value and the second coordinate value into the longitude line and the latitude when the predicted road where the electronic device is located is neither parallel to the longitude line nor parallel to the latitude line On the line, calculate the offset value between the coordinate value of the first coordinate value decomposed to the longitude line and the coordinate value of the second coordinate value decomposed into the longitude line, and calculate the coordinate value of the first coordinate value decomposed to the latitude line and the second The coordinate value is decomposed into an offset difference between coordinate values on the latitude line; and (f) the GPS unit is calibrated based on the second coordinate value of the electronic device and the calculated offset difference.

相較於習知技術,所述電子裝置及其GPS誤差偵測方法,利用電子地圖上顯示的該電子裝置的位置來偵測該GPS的誤差,使得GPS及時得到校準。 Compared with the prior art, the electronic device and the GPS error detecting method use the position of the electronic device displayed on the electronic map to detect the GPS error, so that the GPS is calibrated in time.

1‧‧‧電子裝置 1‧‧‧Electronic device

10‧‧‧GPS誤差偵測系統 10‧‧‧GPS error detection system

11‧‧‧GPS單元 11‧‧‧GPS unit

12‧‧‧顯示幕 12‧‧‧ display screen

13‧‧‧資料庫 13‧‧‧Database

100‧‧‧接收模組 100‧‧‧ receiving module

101‧‧‧採集模組 101‧‧‧ Acquisition module

102‧‧‧路線預估模組 102‧‧‧ route estimation module

103‧‧‧判斷模組 103‧‧‧Judgement module

104‧‧‧計算模組 104‧‧‧Computation Module

105‧‧‧校準模組 105‧‧‧ Calibration Module

106‧‧‧顯示模組 106‧‧‧Display module

圖1係本發明電子裝置較佳實施例之硬體架構圖。 1 is a hardware structural diagram of a preferred embodiment of an electronic device of the present invention.

圖2係圖1中GPS誤差偵測系統10之功能模組圖。 2 is a functional block diagram of the GPS error detection system 10 of FIG.

圖3係本發明GPS誤差偵測方法較佳實施例之作業流程圖。 3 is a flow chart showing the operation of the preferred embodiment of the GPS error detecting method of the present invention.

圖4係預估電子裝置所在的道路之示意圖。 Figure 4 is a schematic diagram of the road on which the electronic device is estimated.

圖5係電子裝置所在的道路既不平行於經度線也不平行於緯度線時之示意圖。 Figure 5 is a schematic diagram of the road where the electronic device is located, which is neither parallel to the longitude line nor parallel to the latitude line.

如圖1所示,係本發明電子裝置較佳實施例之硬體架構圖。該電子裝置1包括全球定位系統(Global Position System,GPS)誤差偵測系統10、GPS單元11、顯示幕12及資料庫13。本實施例中,該電子裝置1可以為車用導航裝置或手機等。該資料庫13儲存 了電子地圖,所述顯示幕12顯示該電子地圖。所述GPS單元11用於偵測該電子裝置1的位置,並在所述電子地圖上顯示偵測到的該電子裝置1的位置及其座標值。所述資料庫13中還儲存了電子地圖在顯示該電子裝置1的位置和座標值時所允許的誤差範圍,該允許的誤差範圍包括經度方向上的誤差範圍和緯度方向上的誤差範圍。 1 is a hardware architecture diagram of a preferred embodiment of an electronic device of the present invention. The electronic device 1 includes a Global Position System (GPS) error detection system 10, a GPS unit 11, a display screen 12, and a database 13. In this embodiment, the electronic device 1 may be a car navigation device, a mobile phone, or the like. The database 13 is stored An electronic map is displayed, and the display screen 12 displays the electronic map. The GPS unit 11 is configured to detect the location of the electronic device 1 and display the detected location of the electronic device 1 and its coordinate value on the electronic map. The data bank 13 also stores an error range allowed by the electronic map when displaying the position and coordinate value of the electronic device 1, and the allowable error range includes an error range in the longitude direction and an error range in the latitude direction.

如圖2所示,係圖1中GPS誤差偵測系統10之功能模組圖。所述GPS誤差偵測系統10包括:接收模組100、採集模組101、路線預估模組102、判斷模組103、計算模組104、校準模組105及顯示模組106。所述模組是具有特定功能的軟體程式段,該軟體儲存於電腦可讀儲存介質或其他儲存設備,可被電腦或其他包含處理器的計算裝置執行,從而完成本發明中偵測GPS單元11的誤差的作業流程。 As shown in FIG. 2, it is a functional module diagram of the GPS error detection system 10 in FIG. The GPS error detection system 10 includes a receiving module 100, an acquisition module 101, a route estimation module 102, a determination module 103, a calculation module 104, a calibration module 105, and a display module 106. The module is a software program segment having a specific function, and the software is stored in a computer readable storage medium or other storage device, and can be executed by a computer or other computing device including a processor, thereby completing the detection GPS unit 11 of the present invention. The error of the workflow.

接收模組100用於接收用戶輸入的定時採集所述電子裝置1的位置的時間間隔T。 The receiving module 100 is configured to receive a time interval T for collecting the position of the electronic device 1 at a timing input by a user.

採集模組101用於每隔時間間隔T從顯示幕12所顯示的電子地圖上採集該電子裝置1的移動速度和該電子裝置1的位置及其座標值(以下稱為第一座標值)。 The acquisition module 101 is configured to collect the moving speed of the electronic device 1 and the position of the electronic device 1 and its coordinate value (hereinafter referred to as a first coordinate value) from the electronic map displayed on the display screen 12 at intervals T.

路線預估模組102用於根據所採集到的該電子裝置1的移動速度和該電子裝置1的位置及第一座標值來預估該電子裝置1的實際位置及其座標值(以下稱為第二座標值),並根據預估得到的該電子裝置1的實際位置及第二座標值預估該電子裝置1所在的道路。舉 例來說,如圖4所示,若採集模組101在時間t1、t2和t3時所採集到的電子裝置1所在的位置分別為A、B、C。位置A和B都在道路L上,只有位置C不在該道路L上。由於誤差,該路線預估模組102根據該三點的位置以及該電子裝置1的移動速度預估該電子裝置1在時間t3時不可能運行到點C處,而在C1處,也就是說,該路線預估模組102預估到該電子裝置1在該道路L上移動。 The route estimation module 102 is configured to estimate the actual position of the electronic device 1 and its coordinate value according to the collected moving speed of the electronic device 1 and the position and the first coordinate value of the electronic device 1 (hereinafter referred to as The second coordinate value is used, and the road where the electronic device 1 is located is estimated according to the estimated actual position and the second coordinate value of the electronic device 1. Lift For example, as shown in FIG. 4, the positions of the electronic device 1 collected by the acquisition module 101 at times t1, t2, and t3 are A, B, and C, respectively. Both positions A and B are on the road L, and only the position C is not on the road L. Due to the error, the route estimation module 102 estimates that the electronic device 1 cannot run to the point C at time t3 according to the position of the three points and the moving speed of the electronic device 1, but at C1, that is, The route estimation module 102 predicts that the electronic device 1 moves on the road L.

判斷模組103用於判斷所預估的該電子裝置1所在的道路是否與經度線或緯度線平行。 The judging module 103 is configured to judge whether the predicted road where the electronic device 1 is located is parallel to the longitude line or the latitude line.

當預估該電子裝置1所在的道路與經度線平行時,計算模組104用於計算所述第一座標值和第二座標值在緯度方向上的偏移差值,如圖4所示,由於該道路L與經度線平行,因此該計算模組104計算所述第一座標值和第二座標值在緯度方向上的偏移差值,即第一座標值中的橫座標值和第二座標值中的橫座標值之間的差值。 When the road where the electronic device 1 is located is estimated to be parallel to the longitude line, the calculation module 104 is configured to calculate an offset difference between the first coordinate value and the second coordinate value in the latitude direction, as shown in FIG. Since the road L is parallel to the longitude line, the calculation module 104 calculates an offset difference between the first coordinate value and the second coordinate value in the latitude direction, that is, the abscissa value and the second value in the first coordinate value. The difference between the abscissa values in the coordinate values.

當該電子裝置1所在的道路與緯度線平行時,該計算模組104還用於計算所述第一座標值和第二座標值在經度方向上的偏移差值,即第一座標值中的縱座標值和第二座標值中的縱座標值之間的差值。 When the road where the electronic device 1 is located is parallel to the latitude line, the calculation module 104 is further configured to calculate an offset difference between the first coordinate value and the second coordinate value in the longitude direction, that is, the first coordinate value. The difference between the ordinate value and the ordinate value in the second coordinate value.

當該電子裝置1所在的道路既不平行於經度線也不平行於緯度線時,該計算模組104用於分別將第一座標值和第二座標值分解到經度線與緯度線上,然後計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線 上的座標值之間的偏移差值,如圖5所示,道路L1既不平行於經度線,也不平行於緯度線,點M(X,Y)為路線預估模組102預估得到的該電子裝置1的位置,點N(P,Q)為電子地圖上顯示的該電子裝置1的位置。點M(X,Y)分解到經度方向的座標值為(X1,Y1),分解到緯度方向的座標值為(X2,Y2)。點N(P,Q)分解到經度方向的座標值為(P1,Q1),分解到緯度方向上的座標值為(P2,Q2)。計算模組104計算點M和點N在經度方向的偏移差值為(X1-P1,Y1-Q1),點M和點N在緯度方向的偏移差值為(X2-P2,Y2-Q2)。 When the road where the electronic device 1 is located is neither parallel to the longitude line nor parallel to the latitude line, the calculation module 104 is configured to respectively decompose the first coordinate value and the second coordinate value into the longitude line and the latitude line, and then calculate The first value is decomposed into the offset value between the coordinate value on the longitude line and the coordinate value decomposed into the longitude line on the longitude line, and the coordinate value and the second coordinate value of the first coordinate value decomposed into the latitude line are decomposed into Latitude line The offset difference between the coordinate values on the upper side, as shown in FIG. 5, the road L1 is neither parallel to the longitude line nor parallel to the latitude line, and the point M(X, Y) is estimated by the route estimation module 102. The position of the obtained electronic device 1 and the point N(P, Q) are the positions of the electronic device 1 displayed on the electronic map. The coordinate value of the point M(X, Y) decomposed into the longitude direction is (X1, Y1), and the coordinate value decomposed into the latitude direction is (X2, Y2). The coordinate value of the point N(P, Q) decomposed into the longitude direction is (P1, Q1), and the coordinate value decomposed into the latitude direction is (P2, Q2). The calculation module 104 calculates the offset difference between the point M and the point N in the longitude direction as (X1-P1, Y1-Q1), and the offset difference between the point M and the point N in the latitude direction is (X2-P2, Y2- Q2).

所述判斷模組103還用於判斷所計算出來的偏移差值是否在允許的誤差範圍內。當所述偏移差值不在所述允許的誤差範圍內時,校準模組105用於根據該電子裝置1的第二座標值和所述偏移差值來校準所述GPS單元11。當所述偏移差值在允許的誤差範圍內時,所述GPS單元11不需要校準。 The determining module 103 is further configured to determine whether the calculated offset difference is within an allowable error range. When the offset difference is not within the allowable error range, the calibration module 105 is configured to calibrate the GPS unit 11 according to the second coordinate value of the electronic device 1 and the offset difference. The GPS unit 11 does not require calibration when the offset difference is within an allowable error range.

校準後的GPS單元11重新偵測電子裝置1的位置及其座標值,顯示模組106用於將該電子裝置1的位置及其座標值顯示在顯示幕12所顯示的電子地圖上。 The calibrated GPS unit 11 re-detects the position of the electronic device 1 and its coordinate value, and the display module 106 is configured to display the position of the electronic device 1 and its coordinate value on the electronic map displayed on the display screen 12.

如圖3所示,係本發明GPS誤差偵測方法較佳實施例之作業流程圖。 As shown in FIG. 3, it is a flowchart of a preferred embodiment of the GPS error detecting method of the present invention.

步驟S30,接收模組100接收用戶輸入的定時採集所述電子裝置1位置的時間間隔T。 In step S30, the receiving module 100 receives the time interval T at which the position of the electronic device 1 is collected by the timing input by the user.

步驟S31,採集模組101每隔時間間隔T從顯示幕12所顯示的電子 地圖上採集該電子裝置1的移動速度和該電子裝置的位置及其座標值(以下稱為第一座標值)。 Step S31, the collection module 101 displays the electrons from the display screen 12 at intervals T. The moving speed of the electronic device 1 and the position of the electronic device and its coordinate value (hereinafter referred to as a first coordinate value) are acquired on the map.

步驟S32,路線預估模組102根據所採集到的該電子裝置1的移動速度和該電子裝置1的位置及第一座標值來預估該電子裝置1的實際位置及其座標值(以下稱為第二座標值),並根據預估得到的該電子裝置1的位置及第二座標值預估該電子裝置1所在的道路。舉例來說,如圖4所示,若採集模組101在時間t1、t2和t3時從電子地圖上所採集到的電子裝置1所在的位置分別為A、B、C。位置A和B都在道路L上,只有位置C不在該道路L上。由於誤差,該路線預估模組102根據該三點的位置以及該電子裝置1的移動速度預估該電子裝置1在時間t3時不可能運行到點C處,而在C1處,也就是說,該路線預估模組102預估到該電子裝置1在該道路L上移動。 In step S32, the route estimation module 102 estimates the actual position of the electronic device 1 and its coordinate value according to the collected moving speed of the electronic device 1 and the position and the first coordinate value of the electronic device 1 (hereinafter referred to as The second coordinate value is used, and the road where the electronic device 1 is located is estimated based on the estimated position of the electronic device 1 and the second coordinate value. For example, as shown in FIG. 4, if the acquisition module 101 is at the time t1, t2, and t3, the positions of the electronic devices 1 collected from the electronic map are A, B, and C, respectively. Both positions A and B are on the road L, and only the position C is not on the road L. Due to the error, the route estimation module 102 estimates that the electronic device 1 cannot run to the point C at time t3 according to the position of the three points and the moving speed of the electronic device 1, but at C1, that is, The route estimation module 102 predicts that the electronic device 1 moves on the road L.

步驟S33,判斷模組103判斷所預估的該電子裝置1所在的道路是否與經度線平行。若該電子裝置1所在的道路與經度線平行,執行步驟S34。若該電子裝置1所在的道路不與經度線平行,則執行步驟S38。 In step S33, the determining module 103 determines whether the predicted road where the electronic device 1 is located is parallel to the longitude line. If the road where the electronic device 1 is located is parallel to the longitude line, step S34 is performed. If the road on which the electronic device 1 is located is not parallel to the longitude line, step S38 is performed.

步驟S34,計算模組104計算所述第一座標值和第二座標值在緯度方向上的偏移差值,如圖4所示,由於該道路L與經度線平行,因此該計算模組104計算所述第一座標值和第二座標值在緯度方向上的偏移差值,即第一座標值中的橫座標值和第二座標值中的橫座標值之間的差值。 Step S34, the calculation module 104 calculates an offset difference between the first coordinate value and the second coordinate value in the latitude direction. As shown in FIG. 4, since the road L is parallel to the longitude line, the calculation module 104 Calculating an offset difference between the first coordinate value and the second coordinate value in the latitude direction, that is, a difference between the abscissa value in the first coordinate value and the abscissa value in the second coordinate value.

步驟S35,所述判斷模組103還用於判斷所計算出來的偏移差值是否在允許的誤差範圍內。當該偏移差值不在允許的誤差範圍內時,執行步驟S36。當該偏移差值在允許的誤差範圍內時,結束流程。 In step S35, the determining module 103 is further configured to determine whether the calculated offset difference is within an allowable error range. When the offset difference is not within the allowable error range, step S36 is performed. When the offset difference is within the allowable error range, the flow is ended.

步驟S36,校準模組105用於根據該電子裝置1的第二座標值和所述偏移誤差來校準所述GPS單元11。 In step S36, the calibration module 105 is configured to calibrate the GPS unit 11 according to the second coordinate value of the electronic device 1 and the offset error.

步驟S37,校準後的GPS單元11重新偵測電子裝置1的位置,顯示模組106將該電子裝置1的位置及其座標值顯示在顯示幕12所顯示的電子地圖上。 In step S37, the calibrated GPS unit 11 re-detects the position of the electronic device 1, and the display module 106 displays the position of the electronic device 1 and its coordinate value on the electronic map displayed on the display screen 12.

步驟S38,所述判斷模組103判斷所述預估的該電子裝置1所在的道路是否平行於緯度線。若該電子裝置1所在的道路平行於緯度線,於步驟S39中,所述計算模組104計算所述第一座標值和第二座標值在經度方向上的偏移差值,即第一座標值中的縱座標值和第二座標值中的縱座標值之間的差值,並轉至步驟S35。若所述電子裝置1所在的道路既不平行於經度線也不平行於緯度線,則執行步驟S40。 In step S38, the determining module 103 determines whether the predicted road where the electronic device 1 is located is parallel to the latitude line. If the road where the electronic device 1 is located is parallel to the latitude line, in step S39, the calculation module 104 calculates an offset difference between the first coordinate value and the second coordinate value in the longitude direction, that is, the first coordinate The difference between the ordinate value in the value and the ordinate value in the second coordinate value, and the flow proceeds to step S35. If the road on which the electronic device 1 is located is neither parallel to the longitude line nor parallel to the latitude line, step S40 is performed.

步驟S40,該計算模組104分別將第一座標值和第二座標值分解到經度線與緯度線上,然後計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線上的座標值之間的偏移差值,並轉至步驟S35。 In step S40, the calculation module 104 decomposes the first coordinate value and the second coordinate value into the longitude line and the latitude line respectively, and then calculates the coordinate value and the second coordinate value decomposed into the longitude line of the first coordinate value and decomposed into the longitude line. The offset difference between the coordinate values, and the offset value between the coordinate value of the first coordinate value decomposed to the latitude line and the coordinate value of the second coordinate value decomposed into the latitude line, and the flow proceeds to step S35.

舉例來說,如圖5所示,道路L1既不平行於經度線,也不平行於 緯度線,點M(X,Y)為路線預估模組102預估得到的該電子裝置1的位置,點N(P,Q)為電子地圖上顯示的該電子裝置1的位置。點M(X,Y)分解到經度方向的座標值為(X1,Y1),分解到緯度方向的座標值為(X2,Y2)。點N(P,Q)分解到經度方向的座標值為(P1,Q1),分解到緯度方向上的座標值為(P2,Q2)。計算模組104計算點M和點N在經度方向的偏移差值為(X1-P1,Y1-Q1),點M和點N在緯度方向的偏移差值為(X2-P2,Y2-Q2)。 For example, as shown in FIG. 5, the road L1 is neither parallel to the longitude line nor parallel to The latitude line, the point M(X, Y) is the position of the electronic device 1 estimated by the route estimation module 102, and the point N(P, Q) is the position of the electronic device 1 displayed on the electronic map. The coordinate value of the point M(X, Y) decomposed into the longitude direction is (X1, Y1), and the coordinate value decomposed into the latitude direction is (X2, Y2). The coordinate value of the point N(P, Q) decomposed into the longitude direction is (P1, Q1), and the coordinate value decomposed into the latitude direction is (P2, Q2). The calculation module 104 calculates the offset difference between the point M and the point N in the longitude direction as (X1-P1, Y1-Q1), and the offset difference between the point M and the point N in the latitude direction is (X2-P2, Y2- Q2).

最後所應說明的是,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。 It should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments thereof The technical solutions are modified or equivalently substituted without departing from the spirit and scope of the technical solutions of the present invention.

10‧‧‧GPS誤差偵測系統 10‧‧‧GPS error detection system

100‧‧‧接收模組 100‧‧‧ receiving module

101‧‧‧採集模組 101‧‧‧ Acquisition module

102‧‧‧路線預估模組 102‧‧‧ route estimation module

103‧‧‧判斷模組 103‧‧‧Judgement module

104‧‧‧計算模組 104‧‧‧Computation Module

105‧‧‧校準模組 105‧‧‧ Calibration Module

106‧‧‧顯示模組 106‧‧‧Display module

Claims (7)

一種電子裝置,該電子裝置包括GPS單元,該電子裝置還包括GPS誤差偵測系統,該GPS誤差偵測系統包括:採集模組,用於每隔一個時間間隔從該電子裝置的電子地圖上採集該電子裝置的移動速度和位置,該位置對應的座標值為第一座標值;路線預估模組,用於根據採集到的該電子裝置的移動速度和該電子裝置的位置及第一座標值預估該電子裝置所在的實際位置及該實際位置的座標值,該座標值為第二座標值,並根據該第二座標值預估該電子裝置所在的道路;計算模組,用於當預估到的該電子裝置所在的道路平行於經度線時,計算所述第一座標值和第二座標值在緯度方向上的偏移差值,當預估到的該電子裝置所在的道路平行於緯度線時,計算所述第一座標值和第二座標值在經度方向上的偏移差值,當預估到的該電子裝置所在的道路既不平行於經度線也不平行於緯度線時,分別將第一座標值和第二座標值分解到經度線與緯度線上,計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及計算第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線上的座標值之間的偏移差值;及校準模組,用於根據該電子裝置的第二座標值和所計算出來的偏移差值校準所述GPS單元。 An electronic device includes a GPS unit, the electronic device further comprising a GPS error detection system, the GPS error detection system comprising: an acquisition module, configured to collect from an electronic map of the electronic device every other time interval The movement speed and position of the electronic device, the coordinate value corresponding to the position is a first coordinate value; the route estimation module is configured to: according to the collected moving speed of the electronic device and the position and the first coordinate value of the electronic device Estimating the actual position of the electronic device and the coordinate value of the actual position, the coordinate value is the second coordinate value, and estimating the road where the electronic device is located according to the second coordinate value; the calculation module is used to pre- Calculating the offset difference between the first coordinate value and the second coordinate value in the latitude direction when the estimated road where the electronic device is located is parallel to the longitude line, when the estimated road where the electronic device is located is parallel to a latitude line, calculating an offset difference between the first coordinate value and the second coordinate value in the longitude direction, when the estimated road where the electronic device is located is not parallel to the longitude line Parallel to the latitude line, the first coordinate value and the second coordinate value are respectively decomposed into the longitude line and the latitude line, and the coordinate value of the first coordinate value decomposed into the longitude line and the coordinate value of the second coordinate value decomposed into the longitude line are calculated. The offset difference between the offset value and the offset value between the coordinate value of the first coordinate value decomposed to the latitude line and the coordinate value of the second coordinate value decomposed into the latitude line; and a calibration module for the electronic The GPS unit is calibrated by a second coordinate value of the device and the calculated offset difference. 如申請專利範圍第1項所述之電子裝置,所述GPS誤差偵測系統還包括判斷模組,用於判斷所述計算出來的偏移差值是否在允許的誤差範圍內。 The electronic device of claim 1, wherein the GPS error detection system further comprises a determining module, configured to determine whether the calculated offset difference is within an allowable error range. 如申請專利範圍第1項所述之電子裝置,在所述校準模組校準所述GPS單元後,該GPS單元還用於重新偵測所述電子裝置的位置及該位置的座標值。 The electronic device of claim 1, wherein after the calibration module calibrates the GPS unit, the GPS unit is further configured to re-detect the position of the electronic device and the coordinate value of the position. 如申請專利範圍第3項所述之電子裝置,所述GPS誤差偵測系統還包括顯示模組,用於將該重新測到的電子裝置的位置及該位置的座標值顯示在電子地圖上。 The electronic device of claim 3, wherein the GPS error detection system further comprises a display module for displaying the position of the re-measured electronic device and the coordinate value of the position on the electronic map. 一種GPS誤差偵測方法,該方法運用於電子裝置上,該電子裝置包括GPS單元,該方法包括如下步驟:(a)每隔一個時間間隔從該電子裝置的電子地圖上採集該電子裝置的移動速度和該電子裝置的位置,該位置對應的座標值為第一座標值;(b)根據採集的該電子裝置的移動速度和該電子裝置的位置及第一座標值預估該電子裝置所在的實際位置及該實際位置的座標值,該座標值為第二座標值,並根據該第二座標值預估該電子裝置所在的道路,然後執行步驟(c),(d)或(e);(c)當預估到的該電子裝置所在的道路平行於經度線時,計算所述第一座標值和第二座標值在緯度方向上的偏移差值;(d)當預估到的該電子裝置所在的道路平行於緯度線時,計算所述第一座標值和第二座標值在經度方向上的偏移差值;(e)當預估到的該電子裝置所在的道路既不平行於經度線也不平行於緯度線時,分別將第一座標值和第二座標值分解到經度線 與緯度線上,計算第一座標值分解到經度線上的座標值和第二座標值分解到經度線上的座標值之間的偏移差值,以及計算第一座標值分解到緯度線上的座標值和第二座標值分解到緯度線上的座標值之間的偏移差值;及(f)根據該電子裝置的第二座標值和所計算出來的偏移差值校準所述GPS單元。 A GPS error detection method is applied to an electronic device, the electronic device comprising a GPS unit, the method comprising the steps of: (a) collecting the movement of the electronic device from an electronic map of the electronic device at every other time interval a speed and a position of the electronic device, the coordinate value corresponding to the position is a first coordinate value; (b) estimating the location of the electronic device according to the moving speed of the electronic device and the position of the electronic device and the first coordinate value The actual position and the coordinate value of the actual position, the coordinate value is a second coordinate value, and the road where the electronic device is located is estimated according to the second coordinate value, and then steps (c), (d) or (e) are performed; (c) calculating an offset difference between the first coordinate value and the second coordinate value in the latitude direction when the estimated road on which the electronic device is located is parallel to the longitude line; (d) when estimated When the road where the electronic device is located is parallel to the latitude line, the offset difference between the first coordinate value and the second coordinate value in the longitude direction is calculated; (e) when the estimated road where the electronic device is located is neither Parallel to the longitude line is not parallel Latitude line, respectively, a first coordinate value and second coordinate value decomposition to the line of longitude And the latitude line, calculating the offset value between the coordinate value of the first coordinate value decomposed to the longitude line and the coordinate value of the second coordinate value decomposed into the longitude line, and calculating the coordinate value of the first coordinate value decomposed into the latitude line and The second coordinate value is decomposed into an offset difference between coordinate values on the latitude line; and (f) the GPS unit is calibrated based on the second coordinate value of the electronic device and the calculated offset difference. 如申請專利範圍第5項所述之GPS誤差偵測方法,該方法在步驟(f)之前還包括:判斷所述計算出來的偏移差值是否在允許的誤差範圍內;若所述偏移差值不在允許的誤差範圍內,則執行步驟(f);及若所述偏移差值在允許的誤差範圍內,則結束流程。 The method for detecting a GPS error according to claim 5, wherein before the step (f), the method further comprises: determining whether the calculated offset difference is within an allowable error range; If the difference is not within the allowable error range, then step (f) is performed; and if the offset difference is within the allowable error range, the process ends. 如申請專利範圍第5項所述之GPS誤差偵測方法,該方法在步驟(f)之後還包括:校準後的GPS單元重新偵測所述電子裝置的位置及該位置的座標值;及將該重新偵測到的電子裝置的位置及該位置的座標值顯示在所述電子地圖上。 The method for detecting a GPS error according to claim 5, wherein after the step (f), the method further comprises: the calibrated GPS unit re-detecting the position of the electronic device and the coordinate value of the position; The position of the re-detected electronic device and the coordinate value of the location are displayed on the electronic map.
TW99127674A 2010-08-19 2010-08-19 Electronic device and method for detecting errors of gps of the electronic device TWI417520B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99127674A TWI417520B (en) 2010-08-19 2010-08-19 Electronic device and method for detecting errors of gps of the electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99127674A TWI417520B (en) 2010-08-19 2010-08-19 Electronic device and method for detecting errors of gps of the electronic device

Publications (2)

Publication Number Publication Date
TW201209376A TW201209376A (en) 2012-03-01
TWI417520B true TWI417520B (en) 2013-12-01

Family

ID=46763578

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99127674A TWI417520B (en) 2010-08-19 2010-08-19 Electronic device and method for detecting errors of gps of the electronic device

Country Status (1)

Country Link
TW (1) TWI417520B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM335678U (en) * 2007-10-19 2008-07-01 Chiu Di Augmented navigation system of a moving object
CN101363740A (en) * 2007-08-07 2009-02-11 株式会社电装 Position correction apparatus
TW200946871A (en) * 2008-05-05 2009-11-16 Universal Scient Ind Co Ltd A navigation method for adjusting accumulated errors

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101363740A (en) * 2007-08-07 2009-02-11 株式会社电装 Position correction apparatus
TWM335678U (en) * 2007-10-19 2008-07-01 Chiu Di Augmented navigation system of a moving object
TW200946871A (en) * 2008-05-05 2009-11-16 Universal Scient Ind Co Ltd A navigation method for adjusting accumulated errors

Also Published As

Publication number Publication date
TW201209376A (en) 2012-03-01

Similar Documents

Publication Publication Date Title
US20230273326A1 (en) Inferring vehicle location and movement using sensor data fusion
US7848881B2 (en) Automatic past error corrections for location and inventory tracking
US20200292570A1 (en) Positioning apparatus comprising an inertial sensor and inertial sensor temperature compensation method
US10641612B2 (en) Method and apparatus for correcting current position in navigation system via human-machine interface
CA2893306C (en) System and method for augmenting a gnss/ins navigation system in a cargo port environment
EP2957928B1 (en) Method for using partially occluded images for navigation and positioning
CN109669202A (en) Position estimation device and method
JP7203805B2 (en) Analysis of localization errors of moving objects
CN106062843A (en) Road surface degradation detection method, information processing device, and program
CN102375151B (en) Electronic device and GPS error detection method thereof
CN109631886B (en) Vehicle positioning method, device, electronic device, storage medium
JP2017053777A (en) Road surface measuring system, and road surface measuring method
WO2016145887A1 (en) Obu positioning, subdividing and calculating method and system
CN115046549A (en) IMU sensor random error online estimation and compensation method
Liu et al. Robust state and protection-level estimation within tightly coupled GNSS/INS navigation system
CN118347510A (en) Vehicle positioning method and device, vehicle and storage medium
US11350241B2 (en) Condition based accurate indoor positioning
CN107421494B (en) vehicle attitude detection method and device
TWI417520B (en) Electronic device and method for detecting errors of gps of the electronic device
CN101680768A (en) Map matching for security applications
CN114001730B (en) Fusion positioning method, fusion positioning device, computer equipment and storage medium
US12354330B2 (en) Information processing method, information processing apparatus, and program for selecting images for machine learning for self driving
CN101308207B (en) Calculation method of GPS directional distance measurement and directional distance measurement module using the method
CA2893717A1 (en) Method for using partially occluded images for navigation and positioning
TW201322005A (en) Navigation positioning method and system based on genetic algorithm