TWI715238B - Zigzag pattern detection method and device thereof - Google Patents
Zigzag pattern detection method and device thereof Download PDFInfo
- Publication number
- TWI715238B TWI715238B TW108136182A TW108136182A TWI715238B TW I715238 B TWI715238 B TW I715238B TW 108136182 A TW108136182 A TW 108136182A TW 108136182 A TW108136182 A TW 108136182A TW I715238 B TWI715238 B TW I715238B
- Authority
- TW
- Taiwan
- Prior art keywords
- information
- hunting
- current
- curve
- path
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/182—Level alarms, e.g. alarms responsive to variables exceeding a threshold
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/09—Arrangements for giving variable traffic instructions
- G08G1/0962—Arrangements for giving variable traffic instructions having an indicator mounted inside the vehicle, e.g. giving voice messages
- G08G1/0967—Systems involving transmission of highway information, e.g. weather, speed limits
- G08G1/096708—Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control
- G08G1/096716—Systems involving transmission of highway information, e.g. weather, speed limits where the received information might be used to generate an automatic action on the vehicle control where the received information does not generate an automatic action on the vehicle control
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Life Sciences & Earth Sciences (AREA)
- Atmospheric Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
本發明是有關於一種偵測技術,且特別是有關於一種蛇行偵測方法及其裝置。The present invention relates to a detection technology, and particularly relates to a snake detection method and device.
在自動駕駛的領域之中,車輛控制與行車安全息息相關,是一個相當重要的項目。在此其中,平穩的控制車輛是重要的課題,倘若在自動駕駛過程中車輛失控並以蛇行的方式行進,駕駛人/操控單位必須即時地獲知失控情形,以作出適當的反應。因此,如何偵測蛇行為本領域技術人員所致力的課題。In the field of autonomous driving, vehicle control is closely related to driving safety and is a very important project. Among them, the smooth control of the vehicle is an important issue. If the vehicle loses control and snaking during the automatic driving process, the driver/control unit must be informed of the loss of control in real time to make an appropriate response. Therefore, how to detect snake behavior is the subject of those skilled in the art.
本發明提供一種蛇行偵測方法及其裝置,用以即時偵測蛇行事件。The invention provides a hunting detection method and device for detecting hunting events in real time.
本發明一實施例的蛇行偵測方法具有下列步驟:獲取路徑資訊;獲取當前位置以及當前行駛資訊;依據路徑資訊,判斷當前位置對應的路段是否為彎道;響應於當前位置對應的路段不為彎道,將當前行駛資訊加入判斷資料組;依據判斷資料組取得蛇行資訊;判斷蛇行資訊是否大於蛇行門檻值;以及響應於蛇行資訊大於蛇行門檻值,產生警示訊號。The hunting detection method of an embodiment of the present invention has the following steps: acquiring path information; acquiring current location and current driving information; judging whether the road section corresponding to the current position is a curve according to the path information; responding that the road section corresponding to the current position is not In a curve, add the current driving information to the judgment data group; obtain the snake information according to the judgment data group; determine whether the snake information is greater than the snake threshold value; and generate a warning signal in response to the snake information being greater than the snake threshold value.
本發明一實施例的蛇行偵測裝置具有感測器、位置偵測器、儲存裝置以及處理器。感測器用以獲取當前行駛資訊。位置偵測器用以獲取當前位置;處理器連接至感測器及儲存裝置,並用以執行:獲取路徑資訊,並儲存在儲存裝置中;獲取當前位置以及當前行駛資訊;依據路徑資訊,判斷當前位置對應的路段是否為彎道;響應於當前位置對應的路段不為彎道,將當前行駛資訊加入判斷資料組;依據判斷資料組取得蛇行資訊;判斷蛇行資訊是否大於蛇行門檻值;以及響應於蛇行資訊大於蛇行門檻值,產生警示訊號。The snake detection device according to an embodiment of the invention has a sensor, a position detector, a storage device and a processor. The sensor is used to obtain current driving information. The position detector is used to obtain the current position; the processor is connected to the sensor and the storage device and is used to execute: obtain path information and store it in the storage device; obtain the current position and current driving information; determine the current position based on the path information Whether the corresponding road section is a curve; in response to the road section corresponding to the current position is not a curve, the current driving information is added to the judgment data group; the snake information is obtained according to the judgment data group; it is judged whether the snake information is greater than the threshold value of the snake; and in response to the snake If the information is greater than the snake threshold, a warning signal is generated.
基於上述,透過本發明的蛇行偵測方法及其裝置,在蛇行事件發生時能夠立即的被偵測,並產生相應的警示訊號給使用者,以達到即時偵測警示的作用。Based on the above, the snake detection method and device of the present invention can be detected immediately when a snake event occurs, and a corresponding warning signal is generated to the user to achieve the effect of real-time detection and warning.
為了能夠即時地反應蛇行的狀況,本發明提供一種蛇行偵測裝置。此蛇行偵測裝置能夠被安裝在交通工具上(例如,汽機車、貨車等),以即時地偵測蛇行事件。In order to be able to instantly reflect the situation of snakes, the present invention provides a snake detecting device. The snake detection device can be installed on vehicles (for example, automobiles, motorcycles, trucks, etc.) to detect snakes in real time.
圖1繪示本發明一實施例蛇行偵測裝置的方塊示意圖。請參照圖1,蛇行偵測裝置100具有感測器110、儲存裝置130以及處理器140。FIG. 1 is a block diagram of a snake detection device according to an embodiment of the present invention. Please refer to FIG. 1, the
感測器110用以獲取當前行駛資訊。在本發明的一實施例中,感測器110為慣性測量單元(Inertial measurement unit,IMU),當前行駛資訊為側向加速度。具體而言,慣性測量單元可以獲取交通工具在三維空間中各軸的加速度值,而車輛在轉彎或蛇行時,側向加速度會因受到離心力的影響而增加。基此,側向加速度能夠作為判斷蛇行事件的依據。在本發明的其他實施例中,感測器110也可以攝影機所實現,而當前行駛資訊為側向偏移。又或者是,感測器110也可以為陀螺儀,當前行駛資訊為角度偏移。在一實施例中,感測器110也可以為慣性測量單元、攝影機、陀螺儀的等效元件,亦可以為慣性測量單元、攝影機、陀螺儀中的各種組合所實現,本發明不限於此。The
位置偵測器120用以偵測蛇行偵測裝置100的當前位置。在本發明的一實施例中,位置偵測器120能夠以全球定位系統(Global Positioning System,GPS)的晶片所實作,並以其所偵測到的GPS位址作為當前位置。在本發明的其他實施例中,位置偵測器120能夠採用其他類型的通訊晶片進行實作,例如,支援無線保真(WiFi)的晶片,進而透過WiFi進行定位。在其他的實施例中,亦可以採用其他等效的元件,本發明不限於此。The
儲存裝置130用以儲存完成蛇行偵測方法所需的各類型程式與資料,舉例來說,儲存裝置130能夠儲存路徑資訊以及蛇行偵測方法的程式碼。在本發明的一實施例中,儲存裝置130例如但不限於,任何型態的固定或可移動隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(flash memory)、硬碟(Hard Disk Drive,HDD)、固態硬碟(Solid State Drive,SSD)或類似元件或上述元件的組合。The
處理器140連接感測器110、位置偵測器120以及儲存裝置130,用以執行蛇行偵測裝置100所需的各類運算。在本發明的一實施例中,處理器140可以是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位信號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)或其他類似元件或上述元件的組合,本揭露不限於此。The
圖2繪示本發明一實施例蛇行偵測方法的流程示意圖。此實施例的蛇行偵測方法至少適用於圖1所繪示蛇行偵測裝置100中,然本發明不限於此。以下將同時參照圖1及圖2說明蛇行偵測裝置100以及蛇行偵測方法的細節。FIG. 2 is a schematic flowchart of a snake detection method according to an embodiment of the present invention. The snake detection method of this embodiment is at least applicable to the
在步驟S210,由處理器140獲取路徑資訊。在本發明的一實施例中,使用者必須預先輸入路徑以使交通工具自動駕駛,因此,處理器140可以依據使用者所預先輸入的路徑獲取相對應的路徑資訊,或者是依據位置偵測器120所提供的位置資訊獲取蛇行偵測裝置100所在的區域的地圖資訊,進而找到相應於此區域的路徑資訊。In step S210, the
值得一提的是,在本發明的一實施例中,儲存裝置130已於出廠時記錄好地圖資訊,而使處理器140從地圖資訊中獲取路徑資訊。或者是,處理器140也可以從網路上下載地圖資訊,例如谷歌地圖或蘋果地圖。又或者是,處理器140也可以提供地圖設定介面,以讓使用者透過地圖設定介面建立其經常行駛路段相應的路徑資訊。然而,本發明並不以上述的實施方式為限。It is worth mentioning that, in an embodiment of the present invention, the
在步驟S220,由處理器140獲取當前位置以及當前行駛資訊。在此實施例中,處理器140是透過位置偵測器120來獲取當前位置,並透過感測器110獲取當前行駛資訊。特別是,處理器140會以固定頻率對當前位置以及當前行駛資訊進行採樣,舉例但不限於,處理器140會以每秒100次的頻率獲取當前位置及當前行駛資訊。值得一提的是,為確保行車安全,當前行駛資訊的採樣頻率多半很短,如前述的每經1/100秒就獲取一次當前行駛資訊。然而,在此1/100秒鐘,當前位置的改變並不大。因此,在本發明的另一實施例中,處理器140獲取當前位置及當前行駛資訊的頻率可以不同,然本發明並不以此為限。下述將採用感測器110為慣性感測單元,當前行駛資訊為側向加速度為例進行說明。In step S220, the
在步驟S230,處理器140依據路徑資訊,判斷當前位置對應的路段是否為彎道。詳細來說,由於處理器140已獲得蛇行偵測裝置100的當前位置,因此,處理器140能夠將當前位置與路徑資訊進行比對,以確定交通工具目前所在的位置在路徑資訊中的哪一個路段,並判斷路徑資訊中對應當前路徑的路段是否為彎道。In step S230, the
具體而言,處理器140會獲取路徑資訊中對應當前位置當前路徑曲率,並判斷當前路徑區率是否不超過彎道閾值。在當前路徑區率不超過彎道閾值時,處理器140判斷當前路徑對應的路段不為彎道。在一實際的測試案例中,彎道閾值被設定為0.02。也就是說,倘若當前路徑曲率大於0.02,處理器140會判斷當前位置對應的路段為彎道,反之,則判斷當前位置對應的路段不為彎道。Specifically, the
在步驟S240,
響應於當前位置對應的路段不為彎道,處理器 140 將當前行駛資訊加入判斷資料組。倘若當前位置對應的路段為彎道,則表示在此路段中必定會受到離心力影響導致側向加速度增加,若將此側向加速度加入判斷資料組會導致對蛇行資訊的判斷誤差。因此,處理器140在當前位置對應的路段為彎道時,會捨棄當前行駛資訊,並在當前位置對應的路段不為彎道時,將當前行駛資訊加入判斷資料組。也就是說,判斷資料組中會儲存多筆子資料,且這些子資料為不為彎道情形下,被儲存起來的當前行駛資訊。
In step S240, in response to the road section corresponding to the current position is not a curve, the
在步驟S250,處理器140依據判斷資料組取得蛇行資訊。在此實施例中,處理器140是先加總側向加速度資料的平方,以作為一第一結果。接著,處理器140將第一結果除以側向加速度資料的數量,以作為第二結果。並且,處理器140會將第二結果開根號,以獲取蛇行資訊。In step S250, the
倘若側向加速度的資料共有n筆,並且,我們將側向加速度資料以
表示,則處理器140的運算可以被表示為下述公式(1):
… (1)
If there are n pieces of lateral acceleration data, and we use the lateral acceleration data to , The operation of the
在本發明的其他實施例中,處理器140可以採用角度誤差、側向偏移等參數來取代或結合側向加速度,本發明並不限於此。In other embodiments of the present invention, the
在本發明的其他實施例中,處理器140也可以加總側向加速度資料的標準差來取代側向加速度資料的平方,本發明亦不限於此。In other embodiments of the present invention, the
值得一提的是,在本發明的一實施例中,為了避免判斷資料組的數量越來越多,進而使異常的側向加速度資料在經過平均而被忽略,處理器140所保留的判斷資料組僅為一特定時間或一特定筆數的子資料。舉例來說,處理器140被設定為保留連續3分鐘內的子資料,因此,處理器140會保留時間第0~3分鐘內的子資料,而進入第4分鐘時,處理器140會捨棄掉第1分鐘的子資料。It is worth mentioning that, in an embodiment of the present invention, in order to avoid that the number of judgment data sets is increasing and the abnormal lateral acceleration data is averaged and ignored, the judgment data reserved by the
又或者是,處理器140可以僅保留連續10000筆的子資料(例如,側向加速度),而在進入第10001筆時,第1筆子資料將會被消除,然本發明不限於此。Alternatively, the
在步驟S260,處理器140判斷蛇行資訊是否大於蛇行門檻值。在步驟S270,響應於蛇行資訊大於蛇行門檻值,產生警示訊號。在本發明的一實施例中,蛇行門檻值為0.25,然本發明不限於此。也就是說,倘若步驟S250所獲取的蛇行資訊大於0.25,則表示蛇行事件發生。此時,處理器140會相應地發出警示訊息,例如,透過聲音、影像、警鈴等方式以提示使用者蛇行事件發生。In step S260, the
在本發明的另一實施例中,處理器140還會響應於蛇行資訊大於蛇行門檻值,控制交通工具停止前進。In another embodiment of the present invention, the
綜上所述,透過本發明的蛇行偵測方法及其裝置,在蛇行事件發生時能夠立即的被偵測,並產生相應的警示訊號給使用者,以達到即時偵測警示的作用,甚至能夠控制交通工具停止前進,以提升自動駕駛的穩定性與安全性。In summary, through the snake detection method and device of the present invention, it can be detected immediately when a snake event occurs, and a corresponding warning signal is generated to the user, so as to achieve the effect of real-time detection and warning, even Control the vehicles to stop to improve the stability and safety of autonomous driving.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:蛇行偵測方法裝置 110:感測器 120:位置偵測器 130:儲存裝置 140:處理器 S210~S270:步驟 100: Snake detection method device 110: Sensor 120: position detector 130: storage device 140: processor S210~S270: steps
圖1繪示本發明一實施例蛇行偵測裝置的方塊示意圖。 圖2繪示本發明一實施例蛇行偵測方法的流程示意圖。 FIG. 1 is a block diagram of a snake detection device according to an embodiment of the present invention. FIG. 2 is a schematic flowchart of a snake detection method according to an embodiment of the present invention.
S210~S270:步驟 S210~S270: steps
Claims (10)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108136182A TWI715238B (en) | 2019-10-05 | 2019-10-05 | Zigzag pattern detection method and device thereof |
| CN202010142363.4A CN112614334A (en) | 2019-10-05 | 2020-03-04 | Snake detection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW108136182A TWI715238B (en) | 2019-10-05 | 2019-10-05 | Zigzag pattern detection method and device thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI715238B true TWI715238B (en) | 2021-01-01 |
| TW202115686A TW202115686A (en) | 2021-04-16 |
Family
ID=75224839
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW108136182A TWI715238B (en) | 2019-10-05 | 2019-10-05 | Zigzag pattern detection method and device thereof |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112614334A (en) |
| TW (1) | TWI715238B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5383127A (en) * | 1991-09-19 | 1995-01-17 | Matsushita Electric Industrial Co., Ltd. | On-vehicle position computing apparatus |
| JP2011227551A (en) * | 2010-04-15 | 2011-11-10 | Yazaki Corp | Meander driving detection device for vehicle |
| CN103261840A (en) * | 2010-10-18 | 2013-08-21 | 泰为信息科技公司 | Navigation system with lane-evel mechanism and method of operation thereof |
| CN104246850A (en) * | 2012-04-25 | 2014-12-24 | 丰田自动车株式会社 | Snake determination device |
| TW201506856A (en) * | 2013-08-06 | 2015-02-16 | Nuvoton Technology Corp | Driving alert method and alert system thereof |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE10049013B4 (en) * | 1999-12-01 | 2015-12-03 | Honda Giken Kogyo K.K. | Driving condition monitoring device for vehicles |
| TWI498242B (en) * | 2012-09-26 | 2015-09-01 | Univ Nat Kaohsiung Applied Sci | Vehicle dangerous driving behavior detection device and method |
| JP6222768B2 (en) * | 2013-06-21 | 2017-11-01 | 株式会社Subaru | Lane departure warning control device |
| CN104463244A (en) * | 2014-12-04 | 2015-03-25 | 上海交通大学 | Aberrant driving behavior monitoring and recognizing method and system based on smart mobile terminal |
| CN107499311B (en) * | 2016-06-14 | 2020-01-31 | 斑马网络技术有限公司 | Driving mode switching method, device and device |
| CN107380318A (en) * | 2017-07-11 | 2017-11-24 | 上海与德科技有限公司 | The monitoring method and electronic equipment of a kind of transport condition |
| CN110286667A (en) * | 2019-07-03 | 2019-09-27 | 上运车物联网科技(深圳)有限公司 | Abnormal driving condition intelligent control method and Intelligent terminal for Internet of things |
-
2019
- 2019-10-05 TW TW108136182A patent/TWI715238B/en not_active IP Right Cessation
-
2020
- 2020-03-04 CN CN202010142363.4A patent/CN112614334A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5383127A (en) * | 1991-09-19 | 1995-01-17 | Matsushita Electric Industrial Co., Ltd. | On-vehicle position computing apparatus |
| JP2011227551A (en) * | 2010-04-15 | 2011-11-10 | Yazaki Corp | Meander driving detection device for vehicle |
| CN103261840A (en) * | 2010-10-18 | 2013-08-21 | 泰为信息科技公司 | Navigation system with lane-evel mechanism and method of operation thereof |
| CN103261840B (en) | 2010-10-18 | 2017-03-15 | 泰为信息科技公司 | There is the navigation system and its operational approach of lane-level mechanism |
| CN104246850A (en) * | 2012-04-25 | 2014-12-24 | 丰田自动车株式会社 | Snake determination device |
| TW201506856A (en) * | 2013-08-06 | 2015-02-16 | Nuvoton Technology Corp | Driving alert method and alert system thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112614334A (en) | 2021-04-06 |
| TW202115686A (en) | 2021-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11469921B2 (en) | Security device, network system, and fraud detection method | |
| CN104850119B (en) | Autonomous vehicle and fault determination method thereof | |
| JPWO2022024208A5 (en) | ||
| CN108364372B (en) | Vehicle driving state detection method and device | |
| JPWO2019239463A1 (en) | Vehicle travel control device, vehicle travel control method, control circuit and storage medium | |
| JP2016091056A (en) | Driver's state diagnosing device | |
| JPWO2012143999A1 (en) | Driver status determination device | |
| US12148210B2 (en) | Information processing method, information processing device, non-transitory computer-readable recording medium recording information processing program, and information processing system | |
| JP2010128637A (en) | Device for facilitating braking preparation | |
| TWI715238B (en) | Zigzag pattern detection method and device thereof | |
| JP5733429B2 (en) | Information processing apparatus and information processing method | |
| SE528567C2 (en) | Data generating system for adaptive cruise control method in vehicle, measures distance to vehicle in front repeatedly when driving around bend | |
| JP2016105257A (en) | Map information providing apparatus | |
| CN116954185A (en) | Vehicle remote diagnostic service system and method | |
| JP5967196B2 (en) | Driver state determination device and driver state determination method | |
| US11358670B2 (en) | Straddle-type vehicle information processor and straddle-type vehicle information processing method | |
| CN108733050B (en) | Information processing method and information processing device | |
| JP2017182678A (en) | Driving state determination device, driving state determination method, program | |
| CN110032172B (en) | A kind of vehicle driving control system accuracy detection method and device | |
| JP2020190526A (en) | Anomaly detection device, anomaly detection method, anomaly detection program | |
| JP2015121463A (en) | Operation state recording device | |
| TW201341227A (en) | Method for resetting an indicator signal on motor bikes | |
| US11525687B2 (en) | Method for determining correction values, method for determining a position of a motor vehicle | |
| JP2019523417A (en) | Method and apparatus for determining absolute position of automobile, position identification system, automobile | |
| CN116242395B (en) | Performance evaluation method, device, equipment and storage medium of integrated navigation equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |