TWI687827B - System and method for automatically collecting driving information - Google Patents

System and method for automatically collecting driving information Download PDF

Info

Publication number
TWI687827B
TWI687827B TW107145258A TW107145258A TWI687827B TW I687827 B TWI687827 B TW I687827B TW 107145258 A TW107145258 A TW 107145258A TW 107145258 A TW107145258 A TW 107145258A TW I687827 B TWI687827 B TW I687827B
Authority
TW
Taiwan
Prior art keywords
waveform
user
signal vector
state
module
Prior art date
Application number
TW107145258A
Other languages
Chinese (zh)
Other versions
TW202022654A (en
Inventor
陳泰瑜
洪嘉辰
高淑娟
張琮勛
謝文生
Original Assignee
中華電信股份有限公司
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 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW107145258A priority Critical patent/TWI687827B/en
Application granted granted Critical
Publication of TWI687827B publication Critical patent/TWI687827B/en
Publication of TW202022654A publication Critical patent/TW202022654A/en

Links

Images

Abstract

This invention provides a system and a method of automatically collecting driving information comprising a waveform sampling module for obtaining an acceleration value waveform signal of the accelerometer three-axis and then converting the acceleration value waveform signal into a signal vector magnitude (SVM) waveform; a waveform smoothing module with a filtering algorithm for filtering the high frequency noise of the signal vector magnitude waveform by using a filtering algorithm; a user state recognition module for identifying the current motion state of a user by analyzing and comparing the signal vector magnitude waveform processed by the waveform smoothing module; and a control module executing a control algorithm by using the current state of motion of a user identified by the user state recognition module to automatically start a driving information collection module to collect driving information or stop collecting. This invention also discloses a method for automatically collecting driving information.

Description

自動蒐集行車資訊的系統及其方法 System and method for automatically collecting driving information

本發明係關於一種蒐集行車資訊的技術,尤指一種可使用行動裝置自動蒐集行車資訊的系統及其方法。 The invention relates to a technology for collecting driving information, in particular to a system and method for automatically collecting driving information using a mobile device.

車聯網時代來臨,因應車聯網而衍生的產業鏈中最實際可行且能即刻上路者,當屬「UBI車聯網保險」(usage-based insurance;UBI)。 With the advent of the Internet of Vehicles era, the most practical and viable industry chain derived from the Internet of Vehicles is the "UBI Internet-based Insurance" (UBI).

UBI車聯網保險是一種連結智慧型手機蒐集行車數據、分析保戶駕駛行為,再根據分析結果來客製化保費的新型車險,不但能提供回饋改善駕駛行為,還能有效降低事故機率,也降低保險公司的賠款率,與傳統車險只使用幾個固定的變數(如駕駛人性別、年齡、車種、車型、車齡、排氣量)來計算保費卻無法反映真實的駕駛行為有明顯的不同。 UBI Internet of Vehicles Insurance is a new type of car insurance that connects smartphones to collect driving data, analyzes the driving behavior of insured persons, and then customizes the premium based on the analysis results. The company's compensation rate is significantly different from traditional auto insurance that uses only a few fixed variables (such as driver's gender, age, vehicle type, model, vehicle age, and exhaust volume) to calculate the premium, but it does not reflect the real driving behavior.

然而,如何提供一種有效記錄使用者真實的駕駛行為,成為許多系統開發商的重要課題。 However, how to provide an effective record of the user's real driving behavior has become an important issue for many system developers.

為解決至少上述問題,本案提供一種自動蒐集行車資 訊的系統,係包括:波形取樣模組,係用以取得一加速度計三軸之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度(SVM;Signal Vector Magnitude)波形;波形平滑化模組,係具有一過濾演算法,用以利用該過濾演算法過濾該波形平滑化模組之該訊號向量強度波形之高頻雜訊;使用者狀態辨識模組,係對經該波形平滑化模組過濾處理後的該訊號向量強度波形進行分析比對與相似度計算,以藉之辨識出一使用者當前的運動狀態;以及控制模組,係利用該使用者狀態辨識模組所辨識出的該使用者當前的運動狀態,執行一控制演算法以自動啟動一行車資訊蒐集模組蒐集一行車資訊或停止蒐集。 In order to solve at least the above problems, this case provides an automatic collection of driving expenses The signal system includes: a waveform sampling module, which is used to obtain an accelerometer three-axis acceleration value waveform signal, and then convert the acceleration value waveform signal into a signal vector intensity (SVM; Signal Vector Magnitude) waveform; waveform The smoothing module has a filtering algorithm for filtering the high-frequency noise of the signal vector intensity waveform of the waveform smoothing module by using the filtering algorithm; the user state recognition module detects the waveform The signal vector intensity waveform filtered by the smoothing module is analyzed, compared, and similarity calculated to identify a user's current motion state; and the control module utilizes the user state identification module Recognizing the current movement state of the user, a control algorithm is executed to automatically start the vehicle information collection module to collect the vehicle information or stop the collection.

本發明復提出一種自動蒐集行車資訊的方法,係包括:取得一加速度計三軸之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度波形;利用一過濾演算法過濾該訊號向量強度波形之高頻雜訊;將過濾處理之該訊號向量強度波形進行分析比對與相似度計算,以藉之辨識出一使用者當前的運動狀態;以及利用所辨識的使用者當前的運動狀態執行一控制演算法,以自動蒐集一行車資訊或停止蒐集。 The present invention further proposes a method for automatically collecting driving information, which includes: acquiring an acceleration value waveform signal of an accelerometer in three axes, and then converting the acceleration value waveform signal into a signal vector intensity waveform; and filtering the signal using a filtering algorithm The high-frequency noise of the vector intensity waveform; the filtered vector intensity waveform of the signal is analyzed and compared with the similarity calculation to identify a user's current motion state; and use the identified user's current motion The state executes a control algorithm to automatically collect a line of vehicle information or stop collecting.

在前述之自動蒐集行車資訊的系統及其方法中,復包括使用者狀態波形資料庫,係用以儲存該使用者在不同運動狀態下該加速度計所產生之相對應的該訊號向量強度波形。 In the aforementioned system and method for automatically collecting driving information, it includes a user state waveform database, which is used to store the corresponding signal vector intensity waveform generated by the accelerometer under different motion states of the user.

在前述之自動蒐集行車資訊的系統及其方法中,復包 括使用者狀態學習模組,其具有波形合成功能,係根據該使用者狀態辨識模組所辨識出之該使用者當前的運動狀態,將儲存於該使用者狀態波形資料庫內代表該狀態的對應波形與經由該波形平滑化模組過濾的該訊號向量強度波形進行合成為一新訊號向量強度波形,再將該合成的新訊號向量強度波形儲存至該使用者狀態波形資料庫。 In the aforementioned system and method for automatically collecting driving information, repacking Including the user state learning module, which has a waveform synthesis function, is based on the user's current motion state recognized by the user state recognition module, and will be stored in the user state waveform database to represent the state The corresponding waveform and the signal vector intensity waveform filtered by the waveform smoothing module are synthesized into a new signal vector intensity waveform, and then the synthesized new signal vector intensity waveform is stored in the user state waveform database.

在前述之自動蒐集行車資訊的系統及其方法中,該使用者狀態辨識模組復包括一波形特徵參數偵測單元,係用以對該訊號向量強度波形進行特徵偵測,以獲得波形特徵參數值。 In the aforementioned system and method for automatically collecting driving information, the user state recognition module also includes a waveform feature parameter detection unit for feature detection of the signal vector intensity waveform to obtain waveform feature parameters value.

在前述之自動蒐集行車資訊的系統及其方法中,該使用者狀態辨識模組復包括一特徵相似度計算單元,係用以對該波形特徵參數偵測單元所取得之波形特徵參數與該使用者狀態波形資料庫中各種運動狀態的該訊號向量強度波形之波形特徵參數進行相似度計算,俾藉由該相似度判斷該使用者當前的運動狀態。 In the aforementioned system and method for automatically collecting driving information, the user state recognition module also includes a feature similarity calculation unit for the waveform feature parameters obtained by the waveform feature parameter detection unit and the usage The waveform characteristic parameters of the signal vector intensity waveform of various motion states in the state waveform database are calculated for similarity, so that the current motion state of the user is judged by the similarity.

由上可知,本發明之自動蒐集行車資訊的系統及其方法,主要利用隨身攜帶之行動通訊裝置(例如:智慧型手機、平板電腦、PDA)內建之加速度計(Accelerometer)自動辨識使用者當前之運動狀態(例如:靜止、走路、跑步、騎自行車、開車),當使用者處於開車狀態時,自動蒐集行車資訊;而當處於其他狀態時,自動停止蒐集行車資訊的方法。除了能辨識使用者當前之運動狀態外,也具備學習機制以達到個人化辨識之目的。如此,即不需使用者介入,不會有 遺漏記錄行車資訊的情況發生,也不需額外安裝其他硬體設備,故可節省昂貴的成本花費。 As can be seen from the above, the system and method for automatically collecting driving information of the present invention mainly use the built-in accelerometer (Accelerometer) of the mobile communication device (such as a smart phone, tablet computer, PDA) to automatically identify the user's current When the user is in the driving state (for example, stationary, walking, running, cycling, driving), when the user is in the driving state, the driving information is automatically collected; when in the other state, the method for automatically collecting the driving information is stopped. In addition to being able to identify the current movement state of the user, it also has a learning mechanism to achieve the purpose of personalized identification. So, without user intervention, there will be no Occurrence of missing driving information does not require additional hardware equipment, so it can save expensive costs.

此外,本發明之自動蒐集行車資訊的系統及其方法可與現今熱門車聯網應用-UBI車險商品之關鍵技術結合,降低行車資料蒐集成本,有利於與保險公司建立新的商業合作模式。 In addition, the system and method for automatically collecting driving information of the present invention can be combined with the key technology of the popular Internet of Vehicles application-UBI car insurance products to reduce the cost of driving data collection, which is conducive to establishing a new business cooperation model with insurance companies.

1‧‧‧波形取樣模組 1‧‧‧wave sampling module

2‧‧‧波形平滑化模組 2‧‧‧wave smoothing module

3‧‧‧使用者狀態辨識模組 3‧‧‧User status recognition module

31‧‧‧波形特徵參數偵測單元 31‧‧‧ waveform characteristic parameter detection unit

32‧‧‧特徵相似度計算單元 32‧‧‧ Feature similarity calculation unit

4‧‧‧控制模組 4‧‧‧Control module

5‧‧‧行車資訊蒐集模組 5‧‧‧ Driving information collection module

6‧‧‧使用者狀態波形資料庫 6‧‧‧User state waveform database

7‧‧‧使用者狀態學習模組 7‧‧‧User status learning module

9‧‧‧行動裝置 9‧‧‧Mobile device

91‧‧‧加速度計 91‧‧‧Accelerometer

W1~W3‧‧‧波形 W1~W3‧‧‧Waveform

S1~S48‧‧‧步驟 S1~S48‧‧‧Step

t‧‧‧時間點 t‧‧‧point in time

本案揭露之具體實施例將搭配下列圖式詳述,這些說明顯示在下列圖式: The specific embodiments disclosed in this case will be described in detail with the following drawings, and these descriptions are shown in the following drawings:

第1圖為本發明自動蒐集行車資訊的系統中內建加速度計之行動裝置示意圖。 FIG. 1 is a schematic diagram of a mobile device with a built-in accelerometer in the system for automatically collecting driving information of the present invention.

第2圖為本發明自動蒐集行車資訊的系統架構示意圖。 FIG. 2 is a schematic diagram of the system architecture of the present invention for automatically collecting driving information.

第3圖係為本發明自動蒐集行車資訊方法之流程圖。 Figure 3 is a flow chart of the method for automatically collecting driving information of the present invention.

第4圖係為本發明加速度值波形訊號轉換為訊號向量強度波形之流程圖。 FIG. 4 is a flowchart of the acceleration value waveform signal of the present invention converted into a signal vector intensity waveform.

第5圖係為本發明波形平滑化取樣方式之示意圖。 FIG. 5 is a schematic diagram of the waveform smoothing sampling method of the present invention.

第6圖係為本發明波形特徵參數值之示意圖。 Fig. 6 is a schematic diagram of waveform characteristic parameter values of the present invention.

第7a~7h圖係為本發明利用模糊理論之歸屬函數進行波形特徵參數相似度計算之示意圖。 Figures 7a to 7h are schematic diagrams of the present invention using the attribution function of fuzzy theory to calculate the similarity of waveform characteristic parameters.

第8圖係為本發明啟動自動蒐集行車資訊方法之邏輯流程圖。 FIG. 8 is a logic flow chart of the method for automatically collecting driving information of the present invention.

第9圖係為本發明關閉自動蒐集行車資訊方法之邏輯流程圖。 Figure 9 is a logic flow diagram of the method for turning off automatic collection of driving information of the present invention.

第10圖係為本發明自動蒐集行車資訊系統之波形合成示意圖。 FIG. 10 is a schematic diagram of waveform synthesis of the automatic collecting driving information system of the present invention.

以下藉由特定的具體實施例說明本發明之實施方式,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之其他優點及功效。 The following describes the implementation of the present invention by specific specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification.

須知,本說明書所附圖式所繪示之結構、比例、大小等,均僅用以配合說明書所揭示之內容,以供熟悉此技藝之人士之瞭解與閱讀,並非用以限定本發明可實施之限定條件,故不具技術上之實質意義,任何結構之修飾、比例關係之改變或大小之調整,在不影響本發明所能產生之功效及所能達成之目的下,均應仍落在本發明所揭示之技術內容得能涵蓋之範圍內。同時,本說明書中所引用之如「前」、「後」及「一」等之用語,亦僅為便於敘述之明瞭,而非用以限定本發明可實施之範圍,其相對關係之改變或調整,在無實質變更技術內容下,當視為本發明可實施之範疇。 It should be noted that the structure, ratio, size, etc. shown in the drawings of this specification are only used to match the content disclosed in the specification, for those who are familiar with this skill to understand and read, not to limit the implementation of the present invention The limited conditions do not have technical significance. Any modification of structure, change of proportional relationship or adjustment of size should still fall within the scope of the invention without affecting the efficacy and the purpose of the invention. The technical content disclosed by the invention can be covered. At the same time, the terms such as "front", "back" and "one" quoted in this specification are only for the convenience of description, and are not used to limit the scope of the invention, the change of the relative relationship or Adjustments, without substantial changes in the technical content, should be regarded as the scope of the invention.

請參照第1、2圖,分別為本發明自動蒐集行車資訊的系統中內建加速度計之行動裝置示意圖與自動蒐集行車資訊的系統架構示意圖。 Please refer to FIG. 1 and FIG. 2, which are schematic diagrams of a mobile device with an accelerometer and a system architecture diagram for automatically collecting driving information in the system for automatically collecting driving information of the present invention.

如第1圖所示,本發明首先透過一使用者隨身攜帶之行動裝置9,藉由內建之加速度計91蒐集使用者活動所產生之波形訊號,其中,波形訊號為加速度計91三軸(X軸、Y軸、Z軸)之加速度值波形訊號。行動裝置9可為平板電腦、智慧型手機或個人數位助理(PDA)等電子裝置,本發 明不以此為限。 As shown in FIG. 1, the present invention first collects waveform signals generated by user activities through a built-in accelerometer 91 through a mobile device 9 carried by the user, wherein the waveform signal is the three-axis of the accelerometer 91 ( X axis, Y axis, Z axis) acceleration value waveform signal. The mobile device 9 may be an electronic device such as a tablet computer, a smart phone, or a personal digital assistant (PDA). This is not the limit.

如第2圖所示,其為本發明自動蒐集行車資訊的系統架構示意圖。該自動蒐集行車資訊的系統包括波形取樣模組1、波形平滑化模組2、使用者狀態辨識模組3、控制模組4、行車資訊蒐集模組5、使用者狀態波形資料庫6與使用者狀態學習模組7。 As shown in FIG. 2, it is a schematic diagram of the system architecture of the present invention for automatically collecting driving information. The system for automatically collecting driving information includes a waveform sampling module 1, a waveform smoothing module 2, a user state recognition module 3, a control module 4, a driving information collection module 5, a user state waveform database 6 and use者国家培训模型7.

波形取樣模組1係用以取得加速度計91三軸(X、Y、Z)之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度波形。如第4圖之加速度值波形訊號轉換為訊號向量強度波形之流程圖所示,波形取樣模組1具有加速度計偵測、加速度計軟體模擬、與加速度計數據取樣功能。 The waveform sampling module 1 is used to obtain the acceleration value waveform signal of the three axes (X, Y, Z) of the accelerometer 91, and then convert the acceleration value waveform signal into a signal vector intensity waveform. As shown in the flow chart of the conversion of the acceleration value waveform signal into the signal vector intensity waveform in FIG. 4, the waveform sampling module 1 has accelerometer detection, accelerometer software simulation, and accelerometer data sampling functions.

首先,在步驟S11中:偵測加速度計,以確定行動裝置是否具有加速度計。詳言之,其係透過加速度計偵測功能呼叫行動裝置負責管理感測器之物件,以獲得所有內建感測器的種類與名稱,然後判斷加速度計91是否存在。 First, in step S11: detect the accelerometer to determine whether the mobile device has an accelerometer. In detail, it uses the accelerometer detection function to call the mobile device to manage the sensor objects to obtain the types and names of all built-in sensors, and then determine whether the accelerometer 91 exists.

倘若加速度計不存在,則啟動加速度計軟體模擬功能,如步驟S14所示,利用軟體模擬一加速度計91。換言之,本發明可利用其他感測器共同合作或者呼叫行動裝置提供之軟體方法模擬出加速度計。 If the accelerometer does not exist, the accelerometer software simulation function is activated. As shown in step S14, the software is used to simulate an accelerometer 91. In other words, the present invention can use other sensors to work together or call a software method provided by the mobile device to simulate the accelerometer.

在步驟S12中:取樣加速度計91三軸(X、Y、Z)之加速度值波形訊號。 In step S12: the acceleration signal waveform signals of the three axes (X, Y, Z) of the accelerometer 91 are sampled.

在步驟S13中:將該加速度值波形訊號轉換為一訊號向量強度波形。之後將此訊號向量強度波形傳送至波形平 滑化模組2。其中,從加速度計三軸(X,Y,Z)轉換得到SVM的公式為

Figure 107145258-A0101-12-0007-1
In step S13: convert the acceleration value waveform signal into a signal vector intensity waveform. Then, the signal vector intensity waveform is transmitted to the waveform smoothing module 2. Among them, the formula for converting SVM from the three axes (X, Y, Z) of the accelerometer is:
Figure 107145258-A0101-12-0007-1

波形平滑化模組2係具有一過濾演算法,且利用該過濾演算法過濾該訊號向量強度波形之高頻雜訊。如第5圖之本發明波形平滑化取樣方式之示意圖所示,過濾演算法分為兩階段:(1)滑動視窗大小設定,及(2)訊號值計算。「滑動視窗大小設定」之目的在於取出訊號向量強度波形位於時間點t之前後n個時間點取樣,藉由較長時間(n個時間點)之資料變化趨勢來平衡單一時間點的數值誤差。接著進行「訊號值計算」;「訊號值計算」之目的為將前述n個時間點取樣進行權重(Weight)計算,

Figure 107145258-A0101-12-0007-2
The waveform smoothing module 2 has a filtering algorithm, and uses the filtering algorithm to filter the high-frequency noise of the signal vector intensity waveform. As shown in the schematic diagram of the waveform smoothing sampling method of the present invention shown in Fig. 5, the filtering algorithm is divided into two stages: (1) sliding window size setting, and (2) signal value calculation. The purpose of "sliding window size setting" is to take out the signal vector intensity waveform and sample it at n time points before and after the time point t, and balance the numerical error of a single time point by the data change trend of a longer time (n time points). Then "signal value calculation"; the purpose of "signal value calculation" is to sample the aforementioned n time points for weight calculation,
Figure 107145258-A0101-12-0007-2

利用此n個時間點取樣之計算結果來替換掉原先時間點t的數值,以降低由高頻雜訊所引起之單一時間點數值異常。 The calculation results of the n time points are used to replace the value at the original time point t, so as to reduce the single-point value anomaly caused by high-frequency noise.

使用者狀態辨識模組3係將該波形平滑化模組2處理過後的該訊號向量強度波形進行分析比對與相似度計算,用以辨識一使用者當前的運動狀態。本發明預設的運動狀態為靜止、走路、跑步、騎自行車、開車等5種態樣。根據所偵測的加速度數值,以決定該使用者當前的運動狀態,如加速度數值為0,代表使用者為靜止狀態。 The user state recognition module 3 analyzes and compares the signal vector intensity waveform processed by the waveform smoothing module 2 and performs similarity calculation to identify a user's current motion state. The preset motion states of the present invention are five states such as stationary, walking, running, cycling, and driving. According to the detected acceleration value, the current movement state of the user is determined. For example, if the acceleration value is 0, the user is in a stationary state.

使用者狀態波形資料庫6係用以儲存使用者在不同運 動狀態下由加速度計91所產生之相對應該訊號向量強度波形。在一些實施例中,該些訊號向量強度波形數據產生方式可從選取小範圍的測試人群擷取在各種狀態下的波形數據再取平均值而獲得,以作為使用者狀態波形資料庫6的預設值。 User status waveform database 6 is used to store user The intensity waveform of the corresponding signal vector generated by the accelerometer 91 in the dynamic state. In some embodiments, these signal vector intensity waveform data generation methods can be obtained from a small range of test population by capturing waveform data in various states and then averaging them to serve as a predictor of the user state waveform database 6 Set value.

在一些實施例中,使用者狀態辨識模組3更包括波形特徵參數偵測單元31與特徵相似度計算單元32。波形特徵參數偵測單元31係將該訊號向量強度波形進行特徵偵測,藉以獲得波形特徵參數值。如第6圖波形特徵參數值之示意圖所示,該波形特徵參數值可為第一峰值、第一峰值上升時間、第一峰值下降時間、波形週期時間、相鄰峰值間隔時間、第二峰值、第二峰值上升時間、第二峰值下降時間等8個波形特徵參數值。 In some embodiments, the user state recognition module 3 further includes a waveform feature parameter detection unit 31 and a feature similarity calculation unit 32. The waveform feature parameter detection unit 31 performs feature detection on the signal vector intensity waveform to obtain the waveform feature parameter value. As shown in the schematic diagram of the waveform characteristic parameter values in Figure 6, the waveform characteristic parameter values can be the first peak, the first peak rise time, the first peak fall time, the waveform cycle time, the interval between adjacent peaks, the second peak, 8 waveform characteristic parameter values such as second peak rise time and second peak fall time.

特徵相似度計算單元32係將該波形特徵參數偵測單元31取得之波形特徵參數與該使用者狀態波形資料庫6中各種運動狀態的該訊號向量強度波形之波形特徵參數進行相似度計算,藉由該相似度以判斷使用者當前的運動狀態。其中,相似度計算方式採用模糊理論之歸屬函數(membership function),將相似程度用0~1之間數值,再加權各特徵相似度值以獲得代表整體波形之相似度。之後,根據此相似度推測使用者當前的運動狀態(靜止、走路、跑步、騎自行車、開車),並將此運動狀態傳送至控制模組4。 The characteristic similarity calculation unit 32 performs similarity calculation on the waveform characteristic parameters obtained by the waveform characteristic parameter detection unit 31 and the waveform characteristic parameters of the signal vector intensity waveforms of various motion states in the user state waveform database 6, by The similarity is used to determine the current movement state of the user. Among them, the calculation method of similarity adopts the membership function of fuzzy theory, the similarity is used as a value between 0~1, and then the similarity value of each feature is weighted to obtain the similarity representing the overall waveform. After that, the current movement state of the user (still, walking, running, cycling, driving) is estimated based on the similarity, and the movement state is transmitted to the control module 4.

第7a~7h圖係為本發明利用模糊理論之歸屬函數進行波形特徵參數相似度計算之示意圖。 Figures 7a to 7h are schematic diagrams of the present invention using the attribution function of fuzzy theory to calculate the similarity of waveform characteristic parameters.

舉例說明相似度計算方式如下:現以使用者狀態波形資料庫中之代表走路狀態之波形特徵參數為例,相似度計算方式如下:分別定義走路狀態波形8個特徵參數之相似度歸屬函數(如第7a~7h圖)。 For example, the calculation method of similarity is as follows: The waveform characteristic parameters representing the walking state in the user state waveform database are taken as examples. (Figure 7a~7h).

將經由波形特徵參數偵測單元31取得之8個波形特徵參數值分別帶入相對應之歸屬函數,分別獲得與走路狀態波形每一個特徵之相似度。 The eight waveform feature parameter values obtained through the waveform feature parameter detection unit 31 are respectively brought into corresponding attribution functions to obtain the similarity of each feature of the walking state waveform.

如:特徵參數值{1.85,1.5,10,1.81,4.3,7.2,1.9,6.8}相似度值{0.8,0.7,0.85,0.47,0.58,0.8,0.89,0.52} Such as: characteristic parameter values {1.85, 1.5, 10, 1.81, 4.3, 7.2, 1.9, 6.8} similarity values {0.8, 0.7, 0.85, 0.47, 0.58, 0.8, 0.89, 0.52}

再加權此8個特徵相似度值以獲得與走路波形之整體相似度。 Reweight these 8 feature similarity values to obtain the overall similarity to the walking waveform.

如:走路波形之整體相似度=0.8*m1+0.7*m2+0.85*m3+0.47*m4+0.58*m5+0.8*m6+0.89*m7+0.52*m8 For example: the overall similarity of walking waveform = 0.8*m1+0.7*m2+0.85*m3+0.47*m4+0.58*m5+0.8*m6+0.89*m7+0.52*m8

第8、9圖分別為本發明啟動、關閉自動蒐集行車資訊方法之邏輯流程圖。控制模組4係利用該使用者狀態辨識模組3所辨識的使用者當前的運動狀態,執行一控制演算法以自動啟動一行車資訊蒐集模組5蒐集一行車資訊或停止蒐集。 Figures 8 and 9 are respectively logic flow charts of the method for starting and closing the automatic collection of driving information of the present invention. The control module 4 uses the current movement state of the user identified by the user state identification module 3 to execute a control algorithm to automatically start the trip information collection module 5 to collect trip information or stop the collection.

如第8圖所示,本發明啟動自動蒐集行車資訊的方法之邏輯為: As shown in FIG. 8, the logic of the method for automatically collecting driving information of the present invention is as follows:

在步驟S41中,使用者狀態辨識模組推測為開車狀 態。 In step S41, the user state recognition module is presumed to be driving state.

在步驟S42中,啟動GPS感測器偵測速度。 In step S42, the GPS sensor is activated to detect the speed.

在步驟S43中,根據速度確認是否為開車狀態。詳言之,係先開起行動裝置9之GPS感測器,以偵測當前速度,俾再次確認當前速度確實符合開車狀態而並非使用者狀態辨識模組3之誤判。 In step S43, it is confirmed whether it is a driving state based on the speed. In detail, the GPS sensor of the mobile device 9 is turned on first to detect the current speed, so as to reconfirm that the current speed does indeed conform to the driving state rather than the misjudgment of the user state recognition module 3.

在步驟S44中,判斷行車資訊蒐集模組是否已啟動。 In step S44, it is determined whether the driving information collection module has been activated.

在步驟S45中,啟動行車資訊蒐集模組。若已經啟動,則不做任何動作;若尚未啟動則則啟動行車資訊蒐集模組。 In step S45, the driving information collection module is activated. If it has been activated, no action will be taken; if it has not been activated, the driving information collection module will be activated.

如第9圖所示,本發明關閉自動蒐集行車資訊的方法之邏輯為: As shown in FIG. 9, the logic of the method for turning off automatic collection of driving information of the present invention is:

在步驟S46中,當使用者狀態辨識模組推測為非開車狀態。 In step S46, when the user state recognition module presumes the non-driving state.

在步驟S47中,判斷行車資訊蒐集模組是否已關閉。 In step S47, it is determined whether the driving information collection module has been turned off.

在步驟S48中,關閉行車資訊蒐集模組,且儲存行車資訊至行動裝置。 In step S48, the driving information collection module is turned off, and the driving information is stored in the mobile device.

在一些實施例中,行車資訊蒐集模組5可包含GPS數據接收與運算單元、加速度值計算單元與行車資訊定時儲存單元。GPS數據接收與運算單元負責記錄整趟行車路途的GPS數據軌跡並計算多種行車資訊(例如:行車里程、行車時間、方向和速度);加速度值計算單元則根據行動裝置9之加速度計91所提供的三軸加速度值計算急加速、急煞車與急轉彎事件;行車資訊定時儲存單元則是為了避免 因行動通訊裝置突發狀況(例如:當機或沒電關機)遺失行車資訊,會定時(例如:30秒)將上述所有行車資訊儲存於行動裝置9之記憶空間。 In some embodiments, the driving information collecting module 5 may include a GPS data receiving and calculating unit, an acceleration value calculating unit, and a driving information timing storage unit. The GPS data receiving and computing unit is responsible for recording the GPS data track of the entire driving route and calculating various driving information (for example: driving distance, driving time, direction and speed); the acceleration value calculation unit is provided according to the accelerometer 91 of the mobile device 9 The three-axis acceleration value of the car calculates sharp acceleration, sharp braking and sharp turning events; the driving information timing storage unit is to avoid If the mobile communication device loses driving information due to an unexpected situation (for example, crash or power off), all the above driving information will be stored in the memory space of the mobile device 9 regularly (for example: 30 seconds).

第10圖係為本發明自動蒐集行車資訊的系統之波形合成示意圖。如第10圖所示,使用者狀態學習模組7具有波形合成功能,可根據該使用者狀態辨識模組3所辨識使用者當前的運動狀態,將儲存於該使用者狀態波形資料庫6內代表該狀態的對應波形(如W3)與經由該波形平滑化模組2過濾的該訊號向量強度波形(如W1)進行合成,以調整波形型態(如W2),並將合成的新訊號向量強度波形儲存至該使用者狀態波形資料庫6。 FIG. 10 is a schematic diagram of waveform synthesis of the system for automatically collecting driving information of the present invention. As shown in FIG. 10, the user state learning module 7 has a waveform synthesis function, and can recognize the current movement state of the user according to the user state recognition module 3 and store it in the user state waveform database 6 The corresponding waveform (such as W3) representing the state is synthesized with the signal vector intensity waveform (such as W1) filtered by the waveform smoothing module 2 to adjust the waveform type (such as W2) and the synthesized new signal vector The intensity waveform is stored in the user state waveform database 6.

其中,波形合成方法說明如下:利用Z=m1 * X+m2 * Y,其中:X表示已過濾高頻雜訊之訊號向量強度波形W1,Y表示使用者狀態波形資料庫6中對應之波形資料W3,Z為合成後的新波形W2:m1與m2為權重參數,將依據不同狀態(靜止、走路、跑步、騎自行車、開車)進行調配。 Among them, the waveform synthesis method is described as follows: using Z=m1 * X+m2 * Y, where: X represents the signal vector intensity waveform W1 of the filtered high-frequency noise, and Y represents the corresponding waveform data in the user state waveform database 6 W3, Z are the synthesized new waveform W2: m1 and m2 are weight parameters, which will be adjusted according to different states (stationary, walking, running, cycling, driving).

每當使用者狀態辨識模組3完成辨識後隨即進行波形合成,持續一段時間後,經融合的波形會逐漸演變成使用者個人化專屬波形,此個人化波形將有助於提升使用者狀態辨識模組3判斷的準確度。 Whenever the user status recognition module 3 completes the recognition, the waveform synthesis is performed immediately. After a period of time, the fused waveform will gradually evolve into a user-specific exclusive waveform. This personalized waveform will help improve user status recognition. The accuracy of module 3 judgment.

本發明復提供一種自動蒐集行車資訊的方法,其方法 流程圖如第3圖所示。 The invention further provides a method for automatically collecting driving information, and the method The flow chart is shown in Figure 3.

在步驟S1中,取得一加速度計91三軸(X、Y、Z)之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度波形。 In step S1, an accelerometer 91 three-axis (X, Y, Z) acceleration value waveform signal is obtained, and then the acceleration value waveform signal is converted into a signal vector intensity waveform.

在步驟S2中,利用一過濾演算法過濾該訊號向量強度波形之高頻雜訊。 In step S2, a filtering algorithm is used to filter the high frequency noise of the signal vector intensity waveform.

在步驟S3中,將處理過後的該訊號向量強度波形進行分析比對與相似度計算,用以辨識一使用者當前的運動狀態。 In step S3, the processed signal vector intensity waveform is analyzed, compared, and similarity calculated to identify a user's current motion state.

在步驟S4中,執行一控制演算法,利用所辨識的使用者當前的運動狀態,以自動蒐集一行車資訊或停止蒐集。 In step S4, a control algorithm is executed, using the identified user's current movement status, to automatically collect driving information or stop collecting.

綜上所述,本發明之自動蒐集行車資訊的系統及其方法,主要利用隨身攜帶之行動通訊裝置(例如:智慧型手機、平板電腦、PDA)內建之加速度計(Accelerometer)及GPS感測器自動辨識使用者當前之運動狀態(例如:靜止、走路、跑步、騎自行車、開車),當使用者處於開車狀態時,自動蒐集行車資訊;而當處於其他狀態時,自動停止蒐集行車資訊的方法。除了能辨識使用者當前之運動狀態外,也具備學習機制以達到個人化辨識之目的。如此不需使用者介入,不會有遺漏記錄行車資訊的情況發生,也不需額外安裝其他硬體設備,可節省昂貴的成本花費。 In summary, the system and method for automatically collecting driving information of the present invention mainly utilizes the built-in accelerometer (Accelerometer) and GPS sensing of mobile communication devices (such as smart phones, tablet computers, PDAs) The device automatically recognizes the current movement state of the user (for example: still, walking, running, cycling, driving), when the user is in the driving state, it automatically collects driving information; when in other states, it automatically stops collecting the driving information. method. In addition to being able to identify the current movement state of the user, it also has a learning mechanism to achieve the purpose of personalized identification. In this way, there is no need for user intervention, there will be no missing recorded driving information, and no additional hardware equipment is required, which can save expensive costs.

此外,本發明之自動蒐集行車資訊的系統及其方法可與現今熱門車聯網應用-UBI車險商品之關鍵技術結合,降 低行車資料蒐集成本,有利於與保險公司建立新的商業合作模式。 In addition, the system and method for automatically collecting driving information of the present invention can be combined with the key technology of the popular Internet of Vehicles application-UBI car insurance products to reduce The low-cost driving information search cost is conducive to establishing a new business cooperation model with insurance companies.

上述實施例係用以例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修改。因此本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above embodiments are used to exemplify the principles and effects of the present invention, rather than to limit the present invention. Anyone who is familiar with this skill can modify the above embodiments without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the rights of the present invention should be as listed in the scope of patent application mentioned later.

1‧‧‧波形取樣模組 1‧‧‧wave sampling module

2‧‧‧波形平滑化模組 2‧‧‧wave smoothing module

3‧‧‧使用者狀態辨識模組 3‧‧‧User status recognition module

31‧‧‧波形特徵參數偵測單元 31‧‧‧ waveform characteristic parameter detection unit

32‧‧‧特徵相似度計算單元 32‧‧‧ Feature similarity calculation unit

4‧‧‧控制模組 4‧‧‧Control module

5‧‧‧行車資訊蒐集模組 5‧‧‧ Driving information collection module

6‧‧‧使用者狀態波形資料庫 6‧‧‧User state waveform database

7‧‧‧使用者狀態學習模組 7‧‧‧User status learning module

9‧‧‧行動裝置 9‧‧‧Mobile device

Claims (8)

一種自動蒐集行車資訊的系統,係包括:波形取樣模組,係用以取得一加速度計三軸之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度(SVM)波形;波形平滑化模組,係具有一過濾演算法,以利用該過濾演算法過濾該波形平滑化模組之該訊號向量強度波形之高頻雜訊;使用者狀態辨識模組,係將該波形平滑化模組過濾處理後的該訊號向量強度波形進行分析比對與相似度計算,以藉之辨識出一使用者當前的運動狀態;以及控制模組,係利用該使用者狀態辨識模組所辨識出的使用者當前的運動狀態,執行一控制演算法以自動啟動一行車資訊蒐集模組蒐集一行車資訊或停止蒐集;其中,該使用者狀態辨識模組復包括一波形特徵參數偵測單元,係用以對該訊號向量強度波形進行特徵偵測,以獲得波形特徵參數值。 A system for automatically collecting driving information includes: a waveform sampling module for acquiring an acceleration value waveform signal of three axes of an accelerometer, and then converting the acceleration value waveform signal into a signal vector intensity (SVM) waveform; waveform The smoothing module has a filtering algorithm to filter the high-frequency noise of the signal vector intensity waveform of the waveform smoothing module using the filtering algorithm; the user state recognition module smoothes the waveform The signal vector intensity waveform filtered by the module is analyzed, compared, and similarity calculated to identify a user's current motion state; and the control module is identified by the user state identification module Of the current movement state of the user, execute a control algorithm to automatically start the traffic information collection module to collect the traffic information or stop the collection; wherein, the user state recognition module also includes a waveform feature parameter detection unit, which is It is used to perform feature detection on the signal vector intensity waveform to obtain waveform characteristic parameter values. 如申請專利範圍第1項所述之自動蒐集行車資訊的系統,復包括使用者狀態波形資料庫,係用以儲存該使用者在不同運動狀態下該加速度計所產生之相對應的該訊號向量強度波形。 The system for automatically collecting driving information as described in item 1 of the patent scope includes a user state waveform database, which is used to store the corresponding signal vector generated by the accelerometer of the user in different motion states Intensity waveform. 如申請專利範圍第2項所述之自動蒐集行車資訊的系統,復包括使用者狀態學習模組,其具有波形合成功能,係根據該使用者狀態辨識模組所辨識出之該使用者當 前的運動狀態,將儲存於該使用者狀態波形資料庫內代表該狀態的對應波形與經由該波形平滑化模組過濾的該訊號向量強度波形進行合成為一新訊號向量強度波形,再將該合成的新訊號向量強度波形儲存至該使用者狀態波形資料庫。 The system for automatically collecting driving information as described in item 2 of the patent scope includes a user state learning module, which has a waveform synthesis function, and is based on the user identified by the user state identification module. The previous motion state, the corresponding waveform representing the state stored in the user state waveform database and the signal vector intensity waveform filtered by the waveform smoothing module are synthesized into a new signal vector intensity waveform, and then the The synthesized new signal vector intensity waveform is stored in the user state waveform database. 如申請專利範圍第2項所述之自動蒐集行車資訊的系統,其中,該使用者狀態辨識模組復包括一特徵相似度計算單元,係用以對該波形特徵參數偵測單元所取得之波形特徵參數與該使用者狀態波形資料庫中各種運動狀態的該訊號向量強度波形之波形特徵參數進行相似度計算,俾藉由該相似度判斷該使用者當前的運動狀態。 The system for automatically collecting driving information as described in item 2 of the patent scope, wherein the user state recognition module also includes a feature similarity calculation unit for the waveform obtained by the waveform feature parameter detection unit The characteristic parameters are similar to the waveform characteristic parameters of the signal vector intensity waveform of various motion states in the user state waveform database, and the current motion state of the user is judged by the similarity. 一種自動蒐集行車資訊的方法,係包括:取得一加速度計三軸之加速度值波形訊號,再將該加速度值波形訊號轉換為一訊號向量強度波形;利用一過濾演算法過濾該訊號向量強度波形之高頻雜訊;將過濾處理之該訊號向量強度波形進行分析比對與相似度計算,以藉之辨識出一使用者當前的運動狀態;以及利用所辨識出的該使用者當前的運動狀態執行一控制演算法,以自動蒐集一行車資訊或停止蒐集;其中,利用一過濾演算法過濾該訊號向量強度波形之高頻雜訊之步驟復包括將該訊號向量強度波形進行特徵偵測,以獲得波形特徵參數值。 A method for automatically collecting driving information includes: acquiring an acceleration value waveform signal of three axes of an accelerometer, and then converting the acceleration value waveform signal into a signal vector intensity waveform; and filtering the signal vector intensity waveform using a filtering algorithm High-frequency noise; analyze and compare the filtered signal intensity waveform with similarity calculation to identify the current movement state of a user; and use the identified current movement state of the user to perform A control algorithm to automatically collect the vehicle information or stop the collection; wherein, the step of filtering the high-frequency noise of the signal vector intensity waveform using a filtering algorithm includes the feature detection of the signal vector intensity waveform to obtain Waveform characteristic parameter value. 如申請專利範圍第5項所述之自動蒐集行車資訊的方法,復包括利用一使用者狀態波形資料庫儲存該使用者在不同運動狀態下所產生之相對應之該訊號向量強度波形。 The method for automatically collecting driving information as described in item 5 of the patent scope includes the use of a user state waveform database to store the corresponding signal vector intensity waveform generated by the user under different motion states. 如申請專利範圍第6項所述之自動蒐集行車資訊的方法,復包括根據該所辨識出之使用者當前的運動狀態,對儲存於該使用者狀態波形資料庫內代表該狀態的對應波形與經過濾的該訊號向量強度波形進行合成為一新訊號向量強度波形,再將該經合成的新訊號向量強度波形儲存至該使用者狀態波形資料庫。 The method for automatically collecting driving information as described in item 6 of the scope of the patent application includes, according to the current movement state of the identified user, the corresponding waveform and the corresponding waveform stored in the user state waveform database representing the state and The filtered signal vector intensity waveform is synthesized into a new signal vector intensity waveform, and then the synthesized new signal vector intensity waveform is stored in the user state waveform database. 如申請專利範圍第6項所述之自動蒐集行車資訊的方法,復包括將該獲得之波形特徵參數與該使用者狀態波形資料庫中各種運動狀態的該訊號向量強度波形之波形特徵參數進行相似度計算,以藉由該相似度判斷該使用者當前的運動狀態。 The method for automatically collecting driving information as described in item 6 of the scope of the patent application includes the similarity of the obtained waveform characteristic parameter with the waveform characteristic parameter of the signal vector intensity waveform of various motion states in the user state waveform database Degree calculation to determine the current movement state of the user based on the similarity.
TW107145258A 2018-12-14 2018-12-14 System and method for automatically collecting driving information TWI687827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107145258A TWI687827B (en) 2018-12-14 2018-12-14 System and method for automatically collecting driving information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107145258A TWI687827B (en) 2018-12-14 2018-12-14 System and method for automatically collecting driving information

Publications (2)

Publication Number Publication Date
TWI687827B true TWI687827B (en) 2020-03-11
TW202022654A TW202022654A (en) 2020-06-16

Family

ID=70767263

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107145258A TWI687827B (en) 2018-12-14 2018-12-14 System and method for automatically collecting driving information

Country Status (1)

Country Link
TW (1) TWI687827B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201214292A (en) * 2010-09-20 2012-04-01 Ind Tech Res Inst Automatic identifying method for exercise mode
TW201250274A (en) * 2011-05-11 2012-12-16 Broadcom Corp Determining GPS mode of operation based upon accelerometer input
TWM517126U (en) * 2015-11-04 2016-02-11 Jarvish Inc Intelligent Event data recorder
US20180197101A1 (en) * 2015-05-07 2018-07-12 Truemotion, Inc. Methods and systems for sensor-based driving data collection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201214292A (en) * 2010-09-20 2012-04-01 Ind Tech Res Inst Automatic identifying method for exercise mode
TW201250274A (en) * 2011-05-11 2012-12-16 Broadcom Corp Determining GPS mode of operation based upon accelerometer input
US20180197101A1 (en) * 2015-05-07 2018-07-12 Truemotion, Inc. Methods and systems for sensor-based driving data collection
TWM517126U (en) * 2015-11-04 2016-02-11 Jarvish Inc Intelligent Event data recorder

Also Published As

Publication number Publication date
TW202022654A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
Maekawa et al. Toward practical factory activity recognition: unsupervised understanding of repetitive assembly work in a factory
Vlahogianni et al. Driving analytics using smartphones: Algorithms, comparisons and challenges
KR101939683B1 (en) Apparatus and method for recognizing user activity
Qing et al. A perclos-based driver fatigue recognition application for smart vehicle space
CN111857356A (en) Method, device, equipment and storage medium for recognizing interaction gesture
US20090157206A1 (en) Detecting User Gestures with a Personal Mobile Communication Device
KR101473957B1 (en) Apparatus and method for determining insurance premium based on driving pattern recognition
CN108847941B (en) Identity authentication method, device, terminal and storage medium
CN101853388B (en) Unchanged view angle behavior identification method based on geometric invariable
US10977345B2 (en) Authentication session extension using ephemeral behavior detection
CN109840480B (en) Interaction method and interaction system of smart watch
Wang et al. Sound-based transportation mode recognition with smartphones
CN109766798A (en) Gesture data processing method, server and awareness apparatus based on experience small echo
CN109720353B (en) Driving behavior detection method based on smart phone
TWI687827B (en) System and method for automatically collecting driving information
CN116092193A (en) Pedestrian track reckoning method based on human motion state identification
Hemminki et al. Gravity and linear acceleration estimation on mobile devices
CN114167487B (en) Seismic magnitude estimation method and device based on characteristic waveform
CN114327045A (en) Fall detection method and system based on category unbalanced signals
Namioka et al. Automatic measurement of lead time of repetitive assembly work in a factory using a wearable sensor
Vecchio et al. Gait-based Authentication: Evaluation of Energy Consumption on Commercial Devices
CN113400309A (en) Motion state identification method of upper limb assistance exoskeleton robot
Zhang et al. Stacked LSTM-Based Dynamic Hand Gesture Recognition with Six-Axis Motion Sensors
Zhang et al. ARD: accurate and reliable fall detection with using a single wearable inertial sensor
WO2022099588A1 (en) Character input method and apparatus, electronic device, and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees