TWI673675B - A system and calibration method of setting accelerometer and gyroscope to vehicle - Google Patents

A system and calibration method of setting accelerometer and gyroscope to vehicle Download PDF

Info

Publication number
TWI673675B
TWI673675B TW107124510A TW107124510A TWI673675B TW I673675 B TWI673675 B TW I673675B TW 107124510 A TW107124510 A TW 107124510A TW 107124510 A TW107124510 A TW 107124510A TW I673675 B TWI673675 B TW I673675B
Authority
TW
Taiwan
Prior art keywords
vehicle
gyroscope
accelerometer
value
mounted device
Prior art date
Application number
TW107124510A
Other languages
Chinese (zh)
Other versions
TW202006655A (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 TW107124510A priority Critical patent/TWI673675B/en
Priority to CN201810970368.9A priority patent/CN110726419B/en
Application granted granted Critical
Publication of TWI673675B publication Critical patent/TWI673675B/en
Publication of TW202006655A publication Critical patent/TW202006655A/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities

Abstract

本發明揭露一種安裝加速度計及陀螺儀於車用裝置的系統及校正方法,係由一智慧型手機、加速度計、陀螺儀、車載裝置組成,其中,利用智慧型手機將安裝於車輛上的加速度計及陀螺儀進行快速安裝校正,正常情況下安裝者操作智慧型手機,經由藍芽連線與車載裝置連結,達到加速度計與陀螺儀快速校正及安裝的功能。透過本發明之安裝加速度計及陀螺儀於車用裝置的系統及校正方法,可使安裝者正確且適當的將加速度計及陀螺儀安裝於車輛上合適位置,並可進行快速的設備校正及使用,提供有效率及便捷的安裝,達到車輛狀態偵測及管理的安全用途。 The invention discloses a system and a calibration method for installing an accelerometer and a gyroscope on a vehicle device. The system and a calibration method are composed of a smart phone, an accelerometer, a gyroscope, and a vehicle-mounted device. Among them, the acceleration mounted on a vehicle is used by the smart phone Taking into account the gyroscope for fast installation and calibration, under normal circumstances, the installer operates the smart phone and connects to the vehicle device via the Bluetooth connection to achieve the function of quick calibration and installation of the accelerometer and gyroscope. Through the system and calibration method for installing an accelerometer and a gyroscope in a vehicle device of the present invention, an installer can correctly and appropriately install the accelerometer and the gyroscope in a proper position on a vehicle, and can perform rapid equipment calibration and use. Provide efficient and convenient installation to achieve the safe use of vehicle condition detection and management.

Description

安裝加速度計及陀螺儀於車用裝置的系統及校正方法 System and calibration method for installing accelerometer and gyroscope in vehicle device

本發明係關於一種關於車用裝置之設備安裝與校正,特別是,係指一種安裝加速度計及陀螺儀於車用裝置的系統及校正方式。 The present invention relates to a device installation and calibration of a vehicle device, and more particularly, to a system and a calibration method for installing an accelerometer and a gyroscope on a vehicle device.

目前使用工具安裝加速度計及陀螺儀於車用裝置時,通常還是需要手動操作校正設備,對於以精確角度安裝之目的來說影響甚鉅,具體來說,車用裝置可透過長距離無線網路方式(GPRS、3G/HSDPA、WiMax、4G/LTE)連線後台,由後台進行偵測,接著針對加速度計及陀螺儀進行初始化及參數校正,並經由安裝人員進行手動校正,然此方式容易因為網路通訊狀況而影響校正時間及精確度。 At present, when tools are used to install accelerometers and gyroscopes in automotive devices, manual calibration equipment is usually required, which has a significant impact on the purpose of installing at precise angles. Specifically, automotive devices can be connected through long-distance wireless networks. (GPRS, 3G / HSDPA, WiMax, 4G / LTE) connection to the background, detection by the background, then initialization and parameter calibration for the accelerometer and gyroscope, and manual calibration by the installer, but this method is easy because Network communication conditions affect calibration time and accuracy.

如前所述,安裝加速度計及陀螺儀於車用裝置之方式,仍需有使用者操作介入或是只能透過遠端進行加速度計及陀螺儀的設備初始化及參數校正,此有校正時間可能受網路問題而受影響之缺點,另外,安裝人員也須隨身攜帶筆記型電腦或平板,也造成安裝人員之不便,考量今日智慧 型手機普遍使用的情況下,透過連線後台以及安裝人員透過筆記型電腦或平板進行設定實非良善之設計,如何有效改善加速度計及陀螺儀設備之安裝以及考量校正便利性,即變成相同重要。 As mentioned above, the method of installing the accelerometer and gyroscope on the vehicle device still requires user intervention or the device initialization and parameter calibration of the accelerometer and gyroscope can only be performed remotely. This may have a calibration time. Disadvantages affected by network problems. In addition, the installer must also carry a laptop or tablet with him, which also causes inconvenience to the installer. Consider today ’s wisdom In the case of universal use of mobile phones, it is not good to set up through the connection background and the installer through a laptop or tablet. How to effectively improve the installation of accelerometers and gyroscopes and consider the convenience of calibration, it becomes equally important. .

由上可知,若能找出一種車用裝置之設備安裝與校正的方法,例如透過隨身裝置,進而改善前述習用遠端進行加速度計及陀螺儀的設備初始化及參數校正的缺點,此將成為目前本技術領域人員急欲解決之技術問題。 It can be known from the above that if a method for installing and calibrating a vehicle device can be found, for example, a portable device can be used to improve the shortcomings of the conventional remote device for accelerometer and gyroscope initialization and parameter correction, which will become the current Those skilled in the art are eager to solve the technical problems.

本發明之目的在於透過簡單的設定,使用者僅需透過智慧型手機即可達到正確安裝加速度計及陀螺儀於車載設備的目的,使得車輛狀態之偵測及安全管理更加簡便,另外,還可應用於車廠的車輛主動安全前置裝設業務,藉此達到簡易控管之目的以及節省營運人力。 The purpose of the present invention is to achieve the purpose of correctly installing an accelerometer and a gyroscope on a vehicle-mounted device only through a smart phone through simple settings, so that the detection and safety management of the vehicle state is simpler. It is applied to the vehicle's active and safe front-loading business in the depot to achieve the purpose of simple control and save operating manpower.

為了達成上述或其他目的,本發明提出一種安裝加速度計及陀螺儀於車用裝置的系統,係包括:一車輛狀態偵測裝置,其係設置於車輛中,用於蒐集該車輛之車輛狀態資訊以得到車輛加速度值及角速度值;一車載裝置,其係設置於該車輛中,用於接收來自該車輛狀態偵測裝置之該車輛加速度值及該角速度值,以分析與運算該車輛加速度值及該角速度值而得到車輛速度值及旋轉角度值,俾於該車輛速度值和該旋轉角度值分別超出一設定值和一預設偏移角速度值產生校正訊息;一手持通訊設備,其經該車載裝置之身分識別下連線至該車載裝置,以提供使用者透過 該手持通訊設備控制該車載裝置以進行加速度計與陀螺儀之安裝與校正,其中,該手持通訊設備透過一長距離無線通訊網路與該車載裝置進行遠端管理訊息的傳輸,以及透過一短距離無線通訊網路與該車載裝置進行交握訊息與該校正訊息的傳輸。 In order to achieve the above or other objectives, the present invention proposes a system for installing an accelerometer and a gyroscope on a vehicle device, which includes: a vehicle state detection device, which is arranged in a vehicle and used to collect vehicle state information of the vehicle To obtain the vehicle acceleration value and the angular velocity value; a vehicle-mounted device is provided in the vehicle for receiving the vehicle acceleration value and the angular velocity value from the vehicle state detection device to analyze and calculate the vehicle acceleration value and The angular velocity value is used to obtain a vehicle speed value and a rotation angle value, and a correction message is generated when the vehicle speed value and the rotation angle value exceed a set value and a preset offset angular velocity value, respectively; a handheld communication device, which passes the vehicle Connect to the vehicle-mounted device under the identity of the device to provide users with The handheld communication device controls the vehicle-mounted device to install and calibrate the accelerometer and gyroscope, wherein the handheld communication device transmits remote management information to the vehicle-mounted device through a long-distance wireless communication network and through a short distance The wireless communication network performs transmission of the handshake message and the calibration message with the vehicle-mounted device.

於一實施例中,該車載裝置係用以判斷該車輛速度值是否超過該設定值,以於超過該設定值時,經由該短距離無線通訊網路通知該手持通訊設備,進行該加速度計參數及硬體設備之校正,以及判斷該車輛所安裝之該陀螺儀是否超過該預設偏移角速度值,以於超過該偏移角速度值時,經由該短距離無線通訊網路通知該手持通訊設備,進行該陀螺儀參數及硬體設備之校正。 In an embodiment, the vehicle-mounted device is used to determine whether the vehicle speed value exceeds the set value, so that when the set value is exceeded, the handheld communication device is notified via the short-range wireless communication network to perform the accelerometer parameters and Calibration of hardware equipment, and judging whether the gyroscope installed in the vehicle exceeds the preset offset angular velocity value, so that when the offset angular velocity value is exceeded, the hand-held communication device is notified via the short-range wireless communication network to perform Calibration of the gyroscope parameters and hardware equipment.

於另一實施例中,該車載裝置包含長距離無線通訊模組、短距離藍芽通訊介面以及有線傳輸介面,該有線傳輸介面用於與該車輛狀態偵測裝置連線。 In another embodiment, the vehicle-mounted device includes a long-range wireless communication module, a short-range Bluetooth communication interface, and a wired transmission interface, and the wired transmission interface is used to connect with the vehicle status detection device.

於又一實施例中,該車輛狀態偵測裝置包含該加速度計、該陀螺儀以及有線傳輸介面,該有線傳輸介面用於與該車載裝置連線,該加速度計與該陀螺儀用以取得該車輛狀態資訊。 In yet another embodiment, the vehicle state detection device includes the accelerometer, the gyroscope, and a wired transmission interface. The wired transmission interface is used to connect with the vehicle-mounted device, and the accelerometer and the gyroscope are used to obtain the Vehicle status information.

於再一實施例中,該手持通訊設備包括藍芽通訊介面、行動通訊網路與定位單元,該藍芽通訊介面用於與該車載裝置短距離連線,該行動通訊網路用於與該車載裝置長距離連線,以及該行動通訊網路及該定位單元係供與該車載裝置進行認證/設定、緊急連繫及校正功能啟動之用。另外, 該定位單元為利用GPS、AGPS、Wifi、或Cell ID進行定位。 In yet another embodiment, the handheld communication device includes a Bluetooth communication interface, a mobile communication network, and a positioning unit. The Bluetooth communication interface is used for short-distance connection with the vehicle-mounted device, and the mobile communication network is used for communication with the vehicle-mounted device. The long-distance connection, as well as the mobile communication network and the positioning unit, are used for authentication / setting, emergency connection and correction function activation with the vehicle-mounted device. In addition, The positioning unit uses GPS, AGPS, Wifi, or Cell ID for positioning.

於一實施例中,該車載裝置為車用電腦、外接式主機、平板電腦或智慧型手機,該長距離無線通訊網路為GPRS、3G/HSDPA、WiMax或4G/LTE,且該短距離無線通訊網路為藍芽通訊。 In one embodiment, the vehicle-mounted device is a car computer, an external host, a tablet computer, or a smart phone. The long-distance wireless communication network is GPRS, 3G / HSDPA, WiMax, or 4G / LTE, and the short-distance wireless communication network. The road is Bluetooth communication.

另外,該車輛狀態偵測裝置可整合於該車載裝置內。 In addition, the vehicle state detection device can be integrated into the vehicle-mounted device.

本發明復提出一種安裝加速度計及陀螺儀於車用裝置的校正方法,該校正方法包括:手持通訊設備經身分識別後與車載裝置連線;令車輛狀態偵測裝置取得車輛之車輛狀態資訊以傳送至該車載裝置;令該車載裝置分析與運算該車輛狀態資訊以得到該車輛之車輛速度值及旋轉角度值;以及令該車載裝置判斷該車輛速度值及該旋轉角度值是否超過設定值與預設偏移角速度值,以於該旋轉角度值超過該設定值或該旋轉角度值超過該預設偏移角速度值時,透過短距離無線通訊網路通知該手持通訊設備,進行加速度計參數及硬體設備之校正或陀螺儀參數及硬體設備之校正。 The invention further proposes a calibration method for installing an accelerometer and a gyroscope on a vehicle device. The calibration method includes: connecting a handheld communication device with an on-board device after identification, and enabling the vehicle state detection device to obtain vehicle state information of the vehicle to Transmit to the vehicle-mounted device; cause the vehicle-mounted device to analyze and calculate the vehicle state information to obtain the vehicle speed value and rotation angle value of the vehicle; and cause the vehicle-mounted device to determine whether the vehicle speed value and the rotation angle value exceed a set value and A preset offset angular velocity value, so that when the rotation angle value exceeds the set value or the rotation angle value exceeds the preset offset angular velocity value, the handheld communication device is notified via a short-range wireless communication network to perform accelerometer parameters and hardening. Calibration of body equipment or gyroscope parameters and calibration of hardware equipment.

另外,該車輛狀態資訊包括三軸角速度值和三軸加速度數值,該三軸角速度值和該三軸加速度數值傳送至該車載裝置之中央處理器計算以得到該車輛速度值與該旋轉角度值並儲存至該車載裝置之記憶體內,以於該車輛速度值及該旋轉角度值超過該設定值與該預設偏移角速度值時,執行該加速度計及該陀螺儀之安裝校正。 In addition, the vehicle state information includes a three-axis angular velocity value and a three-axis acceleration value, and the three-axis angular velocity value and the three-axis acceleration value are transmitted to a central processor of the vehicle-mounted device for calculation to obtain the vehicle speed value and the rotation angle value. It is stored in the memory of the vehicle-mounted device to perform the installation and calibration of the accelerometer and the gyroscope when the vehicle speed value and the rotation angle value exceed the set value and the preset offset angular speed value.

相較於現有技術,本發明目的係以例如智慧型手機之手持通訊設備進行安裝加速度計及陀螺儀於車用裝置上,系統由智慧型手機、加速度計、陀螺儀、車載裝置等組成,倘若使用於車廠的前置裝設業務或車輛管理系統則需增加遠端伺服裝置。具體來說,車載裝置內儲存允許安裝加速度計及陀螺儀設備之智慧型手機,可透過門號/IMSI碼/IMEI碼/藍芽裝置之MAC位址之一作為身分識別,藉以控管車載裝置之使用對象,車載裝置可具長距離無線(3G/HSDPA、4G/LTE)通訊功能,以執行校正數據回傳功能。另外,智慧型手機進行安裝加速度計及陀螺儀於車用裝置時,會依據使用者之智慧型手機的藍芽(Bluetooth)通訊介面訊號進行連結及開始安裝介面,車載裝置初次與智慧型手機連線時會立即啟動設備校正操作介面,並隨時偵測連線之智慧型手機之藍芽訊號強度,在車輛電門關閉或電瓶電壓過低或長距離無線通訊的訊號遺失或極弱的狀態下,依然可透過偵測智慧型手機的藍芽訊號自動開啟設備安裝校正介面,進行正確的加速度計及陀螺儀參數校正及位置加以固定,藉此達到協助使用者正確且有效率的安裝加速度計及陀螺儀於車用裝置的目的。 Compared with the prior art, the purpose of the present invention is to install an accelerometer and a gyroscope on a vehicle device using a handheld communication device such as a smart phone. The system is composed of a smartphone, an accelerometer, a gyroscope, and a vehicle device. The front-end installation business or vehicle management system used in a car factory needs to add a remote servo device. Specifically, a smart phone that allows accelerometers and gyroscopes to be stored in the vehicle device can use one of the door address / IMSI code / IMEI code / Bluetooth device's MAC address as an identification to control the vehicle device. For the use object, the in-vehicle device can have a long-range wireless (3G / HSDPA, 4G / LTE) communication function to perform a correction data return function. In addition, when a smartphone is installed with an accelerometer and a gyroscope on a car device, it will be connected and started to install the interface according to the Bluetooth communication interface signal of the user's smartphone. The car device is connected to the smartphone for the first time. When the line is online, the device calibration operation interface will be activated immediately, and the Bluetooth signal strength of the connected smartphone is detected at any time. When the vehicle's power switch is closed, the battery voltage is too low, or the long-range wireless communication signal is lost or extremely weak, It can still automatically open the device installation and calibration interface by detecting the Bluetooth signal of the smart phone, and correct the accelerometer and gyroscope parameters and fix the position, thereby helping users to install the accelerometer and gyroscope correctly and efficiently. Focus on the purpose of the vehicle device.

1‧‧‧車載裝置 1‧‧‧ vehicle device

11‧‧‧長距離無線通訊模組 11‧‧‧Long distance wireless communication module

12‧‧‧中央處理器 12‧‧‧Central Processing Unit

13‧‧‧記憶體 13‧‧‧Memory

14‧‧‧藍芽介面 14‧‧‧Bluetooth interface

15‧‧‧有線傳輸介面 15‧‧‧Wired transmission interface

2‧‧‧手持通訊設備 2‧‧‧ Handheld communication equipment

2’‧‧‧智慧型手機 2’‧‧‧ smart phone

21‧‧‧長距離無線通訊模組 21‧‧‧long-distance wireless communication module

22‧‧‧藍芽介面 22‧‧‧Bluetooth interface

23‧‧‧定位單元 23‧‧‧ positioning unit

3‧‧‧車輛狀態偵測裝置 3‧‧‧vehicle condition detection device

31‧‧‧加速度計 31‧‧‧Accelerometer

32‧‧‧陀螺儀 32‧‧‧ Gyroscope

33‧‧‧有線傳輸介面 33‧‧‧Wired transmission interface

34‧‧‧車輛控制介面 34‧‧‧ Vehicle Control Interface

4‧‧‧短距離無線通訊網路 4‧‧‧Short-range wireless communication network

5‧‧‧長距離無線通訊網路 5‧‧‧Long distance wireless communication network

100~102‧‧‧步驟 100 ~ 102‧‧‧ steps

200~207‧‧‧步驟 200 ~ 207‧‧‧ steps

300~307‧‧‧步驟 300 ~ 307‧‧‧ steps

S201~S204‧‧‧步驟 S201 ~ S204‧‧‧step

第1圖為本發明之安裝加速度計及陀螺儀於車用裝置的系統之系統架構圖;第2圖為本發明之安裝加速度計及陀螺儀於車用裝置的校正方法之步驟圖; 第3圖為本發明之安裝加速度計及陀螺儀於車用裝置的系統一具體實施例的架構示意圖;第4圖為本發明之安裝加速度計於車用裝置的校正方法的流程圖;以及第5圖為本發明之安裝陀螺儀於車用裝置的校正方法的流程圖。 FIG. 1 is a system architecture diagram of a system for installing an accelerometer and a gyroscope in a vehicle device according to the present invention; FIG. 2 is a step diagram of a calibration method for installing an accelerometer and a gyroscope in a vehicle device according to the present invention; FIG. 3 is a schematic structural diagram of a specific embodiment of a system for installing an accelerometer and a gyroscope to a vehicle device according to the present invention; FIG. 4 is a flowchart of a method for calibrating the accelerometer to a vehicle device according to the present invention; and FIG. 5 is a flowchart of a calibration method for installing a gyroscope on a vehicle device according to the present invention.

以下藉由特定的具體實施形態說明本發明之技術內容,熟悉此技藝之人士可由本說明書所揭示之內容輕易地瞭解本發明之優點與功效。然本發明亦可藉由其他不同的具體實施形態加以施行或應用。 The technical content of the present invention will be described below with specific embodiments. Those skilled in the art can easily understand the advantages and effects of the present invention from the content disclosed in this specification. However, the present invention can also be implemented or applied in other specific embodiments.

第1圖係說明本發明之安裝加速度計及陀螺儀於車用裝置的系統之系統架構圖。如圖所示,本發明之安裝加速度計及陀螺儀於車用裝置的系統包括車載裝置1、手持通訊設備2以及車輛狀態偵測裝置3。 FIG. 1 is a system architecture diagram illustrating a system for installing an accelerometer and a gyroscope in a vehicle device according to the present invention. As shown in the figure, the system for installing an accelerometer and a gyroscope in a vehicle device of the present invention includes a vehicle-mounted device 1, a handheld communication device 2 and a vehicle state detection device 3.

車輛狀態偵測裝置3係設置於車輛中,用於蒐集該車輛之車輛狀態資訊以得到車輛加速度值及角速度值。 The vehicle state detection device 3 is installed in a vehicle, and is used to collect vehicle state information of the vehicle to obtain a vehicle acceleration value and an angular velocity value.

於一實施例中,車輛狀態偵測裝置3包含加速度計、陀螺儀以及有線傳輸介面,其中,有線傳輸介面用於與車載裝置1連線,而加速度計與陀螺儀作為感測器,用以取得該車輛之車輛狀態資訊。 In one embodiment, the vehicle state detection device 3 includes an accelerometer, a gyroscope, and a wired transmission interface. The wired transmission interface is used to connect with the vehicle-mounted device 1, and the accelerometer and the gyroscope are used as sensors for Get the vehicle status information of the vehicle.

車載裝置1也設置於車輛中,於一實施例中,車載裝置1可為車用電腦、外接式主機、平板電腦或智慧型手機。車載裝置1用於接收來自車輛狀態偵測裝置3之該車輛加 速度值及該角速度值,以分析與運算該車輛加速度值及該角速度值得到車輛速度值及旋轉角度值,俾於該車輛速度值和該旋轉角度值分別超出一設定值和一預設偏移角速度值產生校正訊息。 The in-vehicle device 1 is also disposed in a vehicle. In an embodiment, the in-vehicle device 1 may be a car computer, an external host, a tablet computer, or a smart phone. The vehicle-mounted device 1 is used to receive the vehicle The speed value and the angular speed value are used to analyze and calculate the vehicle acceleration value and the angular speed value to obtain the vehicle speed value and the rotation angle value. The vehicle speed value and the rotation angle value exceed a set value and a preset offset, respectively. The angular velocity value generates a correction message.

於一實施例中,車載裝置1包含長距離無線通訊模組、短距離藍芽通訊介面以及有線傳輸介面,其中,該有線傳輸介面用於與車輛狀態偵測裝置3連線。 In one embodiment, the vehicle-mounted device 1 includes a long-range wireless communication module, a short-range Bluetooth communication interface, and a wired transmission interface. The wired transmission interface is used to connect with the vehicle status detection device 3.

手持通訊設備2經車載裝置1身分識別下連線至該車載裝置1,使用者可透過手持通訊設備2控制車載裝置1以進行加速度計與陀螺儀之安裝與校正,其中,手持通訊設備2透過一長距離無線通訊網路5與該車載裝置1進行遠端管理訊息的傳輸,舉例來說,長距離無線通訊網路可為GPRS、3G/HSDPA、WiMax或4G/LTE等通訊網路;另外,手持通訊設備2透過一短距離無線通訊網路4與該車載裝置1進行交握訊息與該校正訊息的傳輸,舉例來說,短距離無線通訊網路4為藍芽通訊。 The handheld communication device 2 is connected to the vehicle-mounted device 1 through the identification of the vehicle-mounted device 1. The user can control the vehicle-mounted device 1 through the handheld communication device 2 to install and calibrate the accelerometer and gyroscope. Among them, the handheld communication device 2 passes through A long-distance wireless communication network 5 transmits remote management information to the vehicle-mounted device 1. For example, the long-distance wireless communication network may be a communication network such as GPRS, 3G / HSDPA, WiMax, or 4G / LTE; in addition, handheld communication The device 2 transmits a handshake message and the calibration message to the vehicle-mounted device 1 through a short-range wireless communication network 4. For example, the short-range wireless communication network 4 is Bluetooth communication.

於一實施例中,手持通訊設備2包括藍芽通訊介面、行動通訊網路與定位單元,其中,藍芽通訊介面用於與車載裝置1短距離連線,行動通訊網路用於與車載裝置1長距離連線,而行動通訊網路及定位單元可用於與車載裝置1進行認證/設定、緊急連繫、校正功能啟動之用。另外,前述定位單元可利用GPS、AGPS、Wifi、或Cell ID進行定位 In one embodiment, the handheld communication device 2 includes a Bluetooth communication interface, a mobile communication network, and a positioning unit. The Bluetooth communication interface is used for short-distance connection with the vehicle-mounted device 1, and the mobile communication network is used for long-distance communication with the vehicle-mounted device 1. Distance connection, and the mobile communication network and positioning unit can be used for authentication / setting, emergency connection and activation of the calibration function with the vehicle-mounted device 1. In addition, the aforementioned positioning unit can use GPS, AGPS, Wifi, or Cell ID for positioning

具體來說,車載裝置1係用以判斷該車輛速度值是否 超過該設定值,於超過該設定值時,該短距離無線通訊網路4即通知該手持通訊設備2,以進行該加速度計參數及硬體設備之校正;另外,該車載裝置1並用以判斷該車輛所安裝之該陀螺儀是否超過預設偏移角速度值,以於超過該偏移角速度值時,經由該短距離無線通訊網路4通知手持通訊設備2,以進行該陀螺儀參數及硬體設備之校正。 Specifically, the vehicle-mounted device 1 is used to determine whether the vehicle speed value is When the set value is exceeded, when the set value is exceeded, the short-range wireless communication network 4 notifies the handheld communication device 2 to perform calibration of the accelerometer parameters and hardware equipment; in addition, the vehicle-mounted device 1 is used to judge the Whether the gyroscope installed in the vehicle exceeds a preset offset angular velocity value, so that when the offset angular velocity value is exceeded, the handheld communication device 2 is notified via the short-range wireless communication network 4 to perform the gyroscope parameters and hardware equipment Of correction.

為了減少車輛中設備佔據空間,於另一實施例中,車輛狀態偵測裝置3係整合於車載裝置1內。在此情況下,車輛狀態偵測裝置3與車載裝置1即能執行內部資料傳遞,而毋須透過外部線路進行訊息傳遞。 In order to reduce the space occupied by the equipment in the vehicle, in another embodiment, the vehicle state detection device 3 is integrated in the vehicle-mounted device 1. In this case, the vehicle state detection device 3 and the in-vehicle device 1 can perform internal data transfer without performing message transfer through an external line.

第2圖係說明本發明之安裝加速度計及陀螺儀於車用裝置的校正方法之步驟,即說明車輛架設有車載裝置與車輛狀態偵測裝置,車輛狀態偵測裝置感設車輛狀態並回傳至車載裝置,車載裝置可與使用者手持通訊設備連線,以供使用者透過其手持通訊設備進行加速度計和陀螺儀之安裝校正,步驟如圖所示,請一併參考第1圖的系統架構。 FIG. 2 illustrates the steps of the method for calibrating an accelerometer and a gyroscope in a vehicle device according to the present invention, that is, explaining that a vehicle is equipped with a vehicle-mounted device and a vehicle state detection device. The vehicle state detection device senses the vehicle state and returns To the vehicle-mounted device, the vehicle-mounted device can be connected with the user's handheld communication device, so that the user can install and calibrate the accelerometer and gyroscope through the handheld communication device. The steps are shown in the figure, please refer to the system in Figure 1 Architecture.

於步驟S201中,手持通訊設備經身分識別後與車載裝置連線。本步驟係說明手持通訊設備須通過身分識別後才能與車輛上之車載裝置連線,身分識別方式可透過例如智慧型手機之門號、IMSI碼、IMEI碼或藍芽裝置之MAC位址等其中一者來進行;在身分識別後,即允許手持通訊設備與車載裝置連線並交出校正設備的控制權由使用者操作。 In step S201, the handheld communication device is connected with the vehicle-mounted device after the identity is identified. This step is to explain that the handheld communication device must pass the identification before connecting with the on-board device on the vehicle. The identification method can be through, for example, the door number, IMSI code, IMEI code of the smart phone or the MAC address of the Bluetooth device. After identity recognition, the handheld communication device is allowed to connect with the vehicle-mounted device and hand over the control of the calibration device to be operated by the user.

於步驟S202中,令一車輛狀態偵測裝置取得車輛之 車輛狀態資訊以傳送至該車載裝置。由於要進行校正,故要取得車輛狀態資訊,例如三軸加速度數值、三軸角速度值等,並送至車載裝置進行分析判斷,若取得之車輛狀態資訊與加速度計和陀螺儀所呈現資料不同,即表示加速度計和陀螺儀需要執行校正。 In step S202, a vehicle state detection device is caused to obtain the vehicle status. Vehicle status information is transmitted to the vehicle-mounted device. Because of the correction, the vehicle status information, such as the triaxial acceleration value and triaxial angular velocity value, must be obtained and sent to the vehicle-mounted device for analysis and judgment. If the obtained vehicle status information is different from the data presented by the accelerometer and gyroscope, This means that the accelerometer and gyroscope need to be calibrated.

於步驟S203中,令該車載裝置分析與運算該車輛狀態資訊以得到該車輛之車輛速度值及旋轉角度值。此步驟說明車載裝置會依據車輛狀態資訊進行分析與運算,例如三軸角速度值和三軸加速度數值,以將之傳送至車載裝置之中央處理器計算,而得到該車輛之車輛速度值與旋轉角度值,車輛速度值與旋轉角度值可儲存車載裝置之記憶體內,之後即與加速度計和陀螺儀所呈現資料進行比對。 In step S203, the vehicle-mounted device is caused to analyze and calculate the vehicle state information to obtain a vehicle speed value and a rotation angle value of the vehicle. This step indicates that the vehicle-mounted device will analyze and calculate according to the vehicle status information, such as the triaxial angular velocity value and the triaxial acceleration value, and transmit it to the central processor of the vehicle device for calculation to obtain the vehicle speed value and rotation angle of the vehicle. Value, vehicle speed value and rotation angle value can be stored in the memory of the vehicle-mounted device, and then compared with the data presented by the accelerometer and gyroscope.

於步驟S204中,令該車載裝置判斷該車輛速度值及該旋轉角度值是否超過設定值與預設偏移角速度值,以於該旋轉角度值超過該設定值或該旋轉角度值超過該預設偏移角速度值時,透過短距離無線通訊告知該手持通訊設備,以進行加速度計參數及硬體設備之校正或陀螺儀參數及硬體設備之校正。此步驟說明判斷車輛速度值及旋轉角度值是否超過設定值與預設偏移角速度值,若有超過,表示加速度計或陀螺儀需要校正,故可經由短距離無線通訊網路聯繫手持通訊設備,供使用者在收到通知後,由手持通訊設備操作車載裝置,以進行加速度計或陀螺儀的參數及硬體設備之校正。 In step S204, the vehicle-mounted device is caused to determine whether the vehicle speed value and the rotation angle value exceed a set value and a preset offset angular speed value, so that the rotation angle value exceeds the set value or the rotation angle value exceeds the preset value. When offsetting the angular velocity value, the handheld communication device is notified via short-range wireless communication to perform calibration of accelerometer parameters and hardware devices or correction of gyroscope parameters and hardware devices. This step is to determine whether the vehicle speed value and the rotation angle value exceed the set value and the preset offset angular speed value. If it exceeds, it means that the accelerometer or gyroscope needs to be calibrated, so you can contact the handheld communication device via the short-range wireless communication network for After the user receives the notification, the on-board device is operated by the handheld communication device to calibrate the parameters of the accelerometer or gyroscope and the hardware equipment.

第3圖係本發明之安裝加速度計及陀螺儀於車用裝置 的系統一具體實施例的架構示意圖,在第1圖所示架構下,進一步說明安裝加速度計及陀螺儀於車用裝置的系統整體架構以及車載裝置1、智慧型手機2’和車輛狀態偵測裝置3等各裝置設備的具體實施細節。 FIG. 3 is a device for installing an accelerometer and a gyroscope in a vehicle according to the present invention The architecture diagram of a specific embodiment of the system is described below. The overall architecture of the system for installing an accelerometer and a gyroscope on a vehicle device, as well as the vehicle-mounted device 1, the smart phone 2 ', and the vehicle state detection are further explained under the structure shown in FIG. Specific implementation details of each device such as the device 3.

車載裝置1包括長距離無線通訊模組11、中央處理器12、記憶體13、藍芽介面14以及有線傳輸介面15。長距離無線通訊模組11可供管理設定/監控或接收智慧型手機2’安裝加速度計及陀螺儀等功能使用,另外,短距離藍芽通訊介面(簡稱藍芽介面)可供與智慧型手機2’連線,係用於判斷與執行自動提示安裝加速度計及陀螺儀校正時機。 The vehicle-mounted device 1 includes a long-distance wireless communication module 11, a central processing unit 12, a memory 13, a Bluetooth interface 14, and a wired transmission interface 15. The long-distance wireless communication module 11 can be used for management setting / monitoring or receiving functions of the smart phone 2 'and installing accelerometers and gyroscopes. In addition, the short-range Bluetooth communication interface (referred to as the Bluetooth interface) can be used with smart phones. 2 'connection, used to judge and execute the automatic prompt to install the accelerometer and gyroscope to correct the timing.

車載裝置1內儲存允許控制車門之智慧型手機,例如透過門號、IMSI碼、IMEI碼或藍芽裝置之MAC位址來進行身分識別,作為允許校正加速度計及陀螺儀功能之依據,亦係用以管理該車輛使用權限。車載裝置1與經過認證許可之智慧型手機2’完成連線作業時,進入校正選單,在只允許智慧型手機2’與其車載裝置1連線下,車載裝置1會交出校正設備的控制權由使用者操作。 The on-vehicle device 1 stores a smart phone that allows controlling the door, such as identification through door number, IMSI code, IMEI code, or the MAC address of the Bluetooth device, as a basis for allowing calibration of the accelerometer and gyroscope functions. Used to manage the use rights of the vehicle. When the vehicle-mounted device 1 and the certified smartphone 2 'complete the connection operation, enter the calibration menu. When only the smartphone 2' and the vehicle-mounted device 1 are allowed to be connected, the vehicle-mounted device 1 will surrender control of the calibration device Operated by the user.

具體來說,車載裝置1可為車用電腦、外接式主機、平板電腦或智慧型手機。車載裝置1之長距離無線通訊(GPRS、3G/HSDPA、WiMax、4G/LTE)模組11與藍芽介面14(短距離藍芽通訊介面)可使車載裝置1和智慧型手機2’連線和交換訊息而有線傳輸介面15可與車輛狀態偵測裝置3連結,例如透過USB/UART/RS-232,或是可將車輛狀態偵測裝置3整合於車載裝置1中,使兩者為單一設備。 Specifically, the in-vehicle device 1 may be a car computer, an external host, a tablet computer, or a smart phone. The long-range wireless communication (GPRS, 3G / HSDPA, WiMax, 4G / LTE) module 11 of the in-vehicle device 1 and the Bluetooth interface 14 (short-range Bluetooth communication interface) can connect the in-vehicle device 1 and the smartphone 2 ' The wired transmission interface 15 can exchange information with the vehicle condition detection device 3, for example, via USB / UART / RS-232, or the vehicle condition detection device 3 can be integrated in the vehicle device 1, so that the two are single. device.

車輛狀態偵測裝置3具有例如加速度計31和陀螺儀32之感測器、有線傳輸介面33以及車輛控制介面34。車輛控制介面34係收取車輛狀態,例如車門開關狀態、加速度計及陀螺儀校正狀態、電門ON/OFF狀態,並且具備校正數據回傳功能。感測器用於取得車輛狀態資訊,其內容可為三軸角速度、三軸加速度數值並經有線傳輸介面33(例如USB/UART/RS-232等)回傳至車載裝置1,車輛狀態偵測裝置3偵測車輛所得到之加速度值數值會送至車載裝置1之中央處理器12計算得到車輛速度值,以判斷行車速度是否超過設定值並儲存至車載裝置1之記憶體13內。另外,車輛狀態偵測裝置3偵測車輛所得到之角速度值係傳送至中央處理器12,以由中央處理器12進行計算以得到旋轉角度值,透過判斷旋轉角度是否超過預設偏移角速度值並儲存至記憶體13內,進而通知智慧型手機2’供使用者執行加速度計及陀螺儀安裝校正。 The vehicle state detection device 3 includes sensors such as an accelerometer 31 and a gyroscope 32, a wired transmission interface 33, and a vehicle control interface 34. The vehicle control interface 34 collects the vehicle status, such as the door opening and closing status, the accelerometer and gyroscope calibration status, and the switch ON / OFF status, and has the function of returning calibration data. The sensor is used to obtain the vehicle status information, and its content can be the three-axis angular velocity and three-axis acceleration value and transmitted back to the vehicle-mounted device 1 through the wired transmission interface 33 (such as USB / UART / RS-232, etc.), and the vehicle condition detection device 3 The acceleration value obtained by detecting the vehicle will be sent to the central processor 12 of the vehicle-mounted device 1 to calculate the vehicle speed value to determine whether the traveling speed exceeds the set value and stored in the memory 13 of the vehicle-mounted device 1. In addition, the angular velocity value obtained by the vehicle state detection device 3 detecting the vehicle is transmitted to the central processing unit 12, which is calculated by the central processing unit 12 to obtain the rotation angle value. By determining whether the rotation angle exceeds a preset offset angular velocity value, Then, it is stored in the memory 13, and then the smart phone 2 ′ is notified for the user to perform the calibration of the accelerometer and the gyroscope.

於前述中,車輛狀態偵測裝置3可整合於車載裝置1內,在此情況下,能減少車載裝置1與車輛狀態偵測裝置3之車輛控制介面34間有線傳輸介面(USB/RS-232)的設置。 In the foregoing, the vehicle status detection device 3 may be integrated in the vehicle-mounted device 1. In this case, the wired transmission interface (USB / RS-232) between the vehicle control interface 34 and the vehicle control interface 34 of the vehicle status detection device 3 can be reduced. )setting.

智慧型手機2’具有長距離無線通訊模組21、藍芽介面22(藍芽通訊介面)以及定位單元23。藍芽介面22提供使用者透過此智慧型手機2’與車載裝置1連結,此時,是通過短距離無線通訊網路4以接收車載裝置所得到之感測數據。長距離無線通訊模組21,例如GPRS、3G/HSDPA、 WiMax、4G/LTE等行動通訊系統,係用以提供智慧型手機2’通過長距離無線通訊網路5與車載裝置1連線,此狀態是指智慧型手機2’與車載裝置1相距甚遠時,僅能透過長距離無線通訊網路5進行訊息之傳遞,因而通常可提供與車載裝置1間使用認證/設定、緊急連繫與校正功能啟動之用。另外,定位單元23可利用GPS、AGPS、Wifi、Cell ID進行定位。 The smart phone 2 'has a long-distance wireless communication module 21, a Bluetooth interface 22 (Bluetooth communication interface), and a positioning unit 23. The Bluetooth interface 22 provides the user to connect with the vehicle-mounted device 1 through the smart phone 2 '. At this time, the short-distance wireless communication network 4 is used to receive the sensing data obtained by the vehicle-mounted device. Long-distance wireless communication module 21, such as GPRS, 3G / HSDPA, Mobile communication systems such as WiMax and 4G / LTE are used to provide the smart phone 2 'to connect with the in-vehicle device 1 through the long-distance wireless communication network 5. This state means that when the smart phone 2' is far from the in-vehicle device 1, Messages can only be transmitted through the long-distance wireless communication network 5, so it can usually be used for authentication / setting, emergency connection, and correction function activation with the vehicle-mounted device 1. In addition, the positioning unit 23 can perform positioning using GPS, AGPS, Wifi, and Cell ID.

在上述架構下,進一步說明自動提示安裝加速度計及陀螺儀校正情境。車載裝置1安裝於車輛中,能用無線傳輸方式與使用者之智慧型手機2’相互傳遞訊息,車輛狀態偵測裝置3亦安裝於車輛中,用以蒐集車輛狀態並傳送車輛加速度及角速度予車載裝置1進行數值運算;手持通訊設備特別指具藍芽通訊介面之智慧型手機2’,供使用者透過此設備與車載裝置1連結,以供車載裝置1進行安裝加速度計及陀螺儀之依據。長距離無線通訊網路5作為車載裝置1及智慧型手機2’遠端管理訊息傳輸之媒介,短距離無線通訊網路4作為車載裝置1及手智慧型手機2’訊息傳輸之媒介,並作為校正介接設備參數的依據。車載裝置1用以判斷行車速度是否超過設定值,當超過設定值時,則透過短距離無線通訊網路4告知手智慧型手機2’,以進行加速度計參數及硬體設備校正,且車載裝置1用以判斷車輛所安裝之陀螺儀是否超過預設偏移角速度值,於超過該偏移角速度值時,係透過短距離無線通訊網路4告知智慧型手機2’,以進行陀螺儀參數及硬體設備校正。 Under the above structure, the scenario of automatic prompting for accelerometer and gyroscope calibration is further explained. The vehicle-mounted device 1 is installed in the vehicle, and can transmit messages to and from the user's smartphone 2 'by wireless transmission. The vehicle condition detection device 3 is also installed in the vehicle to collect the vehicle status and transmit the vehicle acceleration and angular velocity to Vehicle-mounted device 1 performs numerical calculations; handheld communication devices specifically refer to smartphones 2 'with Bluetooth communication interfaces, for users to connect with vehicle-mounted device 1 through this device, so that vehicle-mounted device 1 can install accelerometers and gyroscopes on the basis . Long-distance wireless communication network 5 is used as a medium for remote management message transmission of vehicle-mounted device 1 and smart phone 2 ', and short-distance wireless communication network 4 is used as a medium for message transmission of vehicle-mounted device 1 and smart phone 2', and used as a calibration medium The basis of the device parameters. The vehicle-mounted device 1 is used to determine whether the traveling speed exceeds a set value. When the vehicle-mounted device 1 exceeds the set value, the mobile phone 2 'is notified via the short-range wireless communication network 4 for calibration of the accelerometer and hardware equipment. It is used to determine whether the gyroscope installed in the vehicle exceeds a preset offset angular velocity value. When the offset angular velocity value is exceeded, the smartphone 2 'is notified through the short-range wireless communication network 4 to perform the gyroscope parameters and hardware. Equipment calibration.

於其他情況下,例如在車輛電門關閉且長距離無線(3G/HSDPA、4G/LTE)訊號近乎失聯或遺失(Link-loss)的狀態下,車載裝置1能自動儲存及記錄當時的車速/轉速/定位(GPS/AGPS/Wifi/Cell ID定位)資訊。 In other cases, such as when the vehicle's power switch is closed and the long-range wireless (3G / HSDPA, 4G / LTE) signal is almost out of contact or lost (Link-loss), the in-vehicle device 1 can automatically store and record the current speed / Speed / positioning (GPS / AGPS / Wifi / Cell ID positioning) information.

在車載裝置1偵測到智慧型手機2’之藍芽訊號且訊號逐漸增強若干秒數後,車載裝置1自動提示安裝加速度計及陀螺儀校正程序,以達到使用者(駕駛)可便利安裝的目的。 After the vehicle-mounted device 1 detects the Bluetooth signal of the smartphone 2 'and the signal gradually increases for a few seconds, the vehicle-mounted device 1 automatically prompts to install the accelerometer and gyroscope calibration procedures to achieve a convenient installation for the user (driving). purpose.

為使車載裝置1進入省電模式,當智慧型手機2’最新位置如同前述相距一無法立即到達的距離時,智慧型手機2’能經由長距離無線通訊網路5自動下達車載裝置1休眠的指令並關閉藍芽通訊介面,此省電功能亦可由使用者自行操作智慧型手機2’手動執行指令休眠。另外,當使用者的智慧型手機2’進入一可數分鐘到達位置時,智慧型手機2’可經由長距離無線通訊網路5下達車載裝置1喚醒指令並啟動藍芽通訊介面,此喚醒機制亦可由使用者自行操作智慧型手機2’執行。 In order for the in-vehicle device 1 to enter the power-saving mode, when the latest position of the smartphone 2 ′ is as far away as the aforementioned distance that cannot be reached immediately, the smartphone 2 ′ can automatically issue a command for the in-vehicle device 1 to sleep via the long-distance wireless communication network 5. And close the bluetooth communication interface, this power saving function can also be operated by the user to operate the smart phone 2 'manually to execute the command to sleep. In addition, when the user's smart phone 2 'enters a position that can be reached within a few minutes, the smart phone 2' can issue a wake-up command of the in-vehicle device 1 via the long-distance wireless communication network 5 and start the Bluetooth communication interface. This wake-up mechanism also The smart phone 2 'can be operated by the user.

第4圖係說明本發明之安裝加速度計於車用裝置的校正方法的流程圖。如圖所示,步驟100~102是藉由確認電門是否開啟,決定現在是休眠模式還是需要進入休眠模式,當電門開啟且毋須為休眠狀態,則進入步驟200的待機模式,在待機模式下,步驟201~202會判斷車載裝置與智慧型手機是否存在連線,若存在連線,則進入步驟203~207,即車載裝置進入判斷是否需要校正階段,此時步驟203透 過加速度計讀取行車加速度,之後步驟204會將行車加速度送到中央處理器計算出行車速度,俾以步驟205判斷所計算出的行車速度是否等於實際行車速度。若是進入步驟206,表示校正完成,反之則進入步驟207,改變加速度計參數及安裝角度方位,之後再回到步驟203~205,以判斷是否校正完成或者還是需要再校正。 FIG. 4 is a flowchart illustrating a method of calibrating an accelerometer to a vehicle device according to the present invention. As shown in the figure, steps 100 to 102 determine whether the switch is turned on and determine whether it is in sleep mode or need to enter the sleep mode. When the switch is turned on and does not need to be in the sleep state, it enters the standby mode of step 200. In the standby mode, Steps 201 to 202 determine whether there is a connection between the in-vehicle device and the smart phone. If there is a connection, then proceed to steps 203 to 207, that is, the in-vehicle device enters the stage of determining whether a correction is required. The accelerometer is used to read the driving acceleration, and then step 204 sends the driving acceleration to the central processor to calculate the driving speed. Then, step 205 determines whether the calculated driving speed is equal to the actual driving speed. If it enters step 206, it indicates that the calibration is completed. Otherwise, it goes to step 207, changes the accelerometer parameters and the installation angle and orientation, and then returns to steps 203 to 205 to determine whether the calibration is completed or it needs to be recalibrated.

第5圖係說明本發明之安裝陀螺儀於車用裝置的校正方法的流程圖。如圖所示,步驟100~102是藉由確認電門是否開啟,決定現在是休眠模式還是需要進入休眠模式,當電門開啟且毋須為休眠狀態時,則進入步驟300的待機模式,在待機模式下,步驟301~302會判斷車載裝置與智慧型手機是否存在連線,若存在連線,則進入步驟303~307,即由車載裝置判斷是否需要校正階段,此時在步驟303令陀螺儀讀取旋轉角速度,之後步驟304將所讀取之旋轉角速度送到中央處理器計算出旋轉角度,於步驟305中,判斷所計算出的旋轉角度是否等於實際角度。若是進入步驟306,則表示校正完成,反之,則進入步驟307,以改變加陀螺儀參數及安裝角度方位,之後再回到進入步驟303~305,以判斷是否校正完成或者還是需要再校正。 FIG. 5 is a flowchart illustrating a method for calibrating a gyroscope to a vehicle device according to the present invention. As shown in the figure, steps 100 to 102 determine whether the switch is turned on and decides whether it is in sleep mode or needs to enter the sleep mode. When the switch is turned on and does not need to be in the sleep state, it enters the standby mode of step 300. In the standby mode Steps 301 to 302 determine whether there is a connection between the in-vehicle device and the smart phone. If there is a connection, then proceed to steps 303 to 307, that is, the in-vehicle device determines whether the calibration phase is required. At this time, the gyroscope is read by step The rotational angular velocity, and then the step 304 sends the read rotational angular velocity to the central processing unit to calculate the rotational angle. In step 305, it is determined whether the calculated rotational angle is equal to the actual angle. If it enters step 306, it indicates that the calibration is complete. Otherwise, it proceeds to step 307 to change the gyroscope parameters and installation angle and orientation, and then returns to steps 303 to 305 to determine whether the calibration is completed or it is necessary to recalibrate.

綜上所述,本發明提供一種安裝加速度計及陀螺儀於車用裝置的系統及校正方法,其相較於習知技術,更具有下列之優點:(1)車載裝置能自動判斷安裝設備的時機,在使用者接近車載裝置且偵測到智慧型手機之藍芽訊號時,自動提示安裝加速度計及陀螺儀校正程序,毋須駕駛再手 動開啟校正選單;(2)車載裝置在車主熄火、長距離無線(3G/HSDPA、4G/LTE)訊號近乎失聯或遺失(Link-loss)的狀態下,能執行安裝加速度計及陀螺儀程序,具便利與安全等優點;(3)本發明結合車隊管理業務,執行車輛狀態的偵測及安全管理。因此,本發明可結合車廠的車輛主動安全前置裝設業務,達到簡易控管與節省營運人力的目的。 In summary, the present invention provides a system and a calibration method for installing an accelerometer and a gyroscope on a vehicle device, which have the following advantages compared with the conventional technology: (1) the vehicle-mounted device can automatically determine the Timing, when the user approaches the in-vehicle device and detects the Bluetooth signal of the smart phone, it will automatically prompt to install the accelerometer and gyroscope calibration procedure, no need to drive again Automatically open the calibration menu; (2) The vehicle-mounted device can execute the process of installing the accelerometer and gyroscope when the owner of the vehicle is turned off and the long-range wireless (3G / HSDPA, 4G / LTE) signal is almost out of link or lost , Has advantages such as convenience and safety; (3) the present invention performs vehicle state detection and safety management in combination with the fleet management business. Therefore, the present invention can be combined with the vehicle's active and safe front-mounted installation business in the depot to achieve the goals of simple control and management manpower savings.

上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。 The above detailed description is a specific description of a feasible embodiment of the present invention, but this embodiment is not intended to limit the patent scope of the present invention. Any equivalent implementation or change that does not depart from the technical spirit of the present invention should be included in Within the scope of the patent in this case.

Claims (12)

一種安裝加速度計及陀螺儀於車用裝置的系統,係包括:一車輛狀態偵測裝置,其係設置於車輛中,用於蒐集該車輛之車輛狀態資訊以得到車輛加速度值及角速度值;一車載裝置,其係設置於該車輛中,用於接收來自該車輛狀態偵測裝置之該車輛加速度值及該角速度值,以分析與運算該車輛加速度值及該角速度值而得到車輛速度值及旋轉角度值,俾於該車輛速度值和該旋轉角度值分別超出一設定值和一預設偏移角速度值產生校正訊息;一手持通訊設備,其經該車載裝置之身分識別下連線至該車載裝置,以提供使用者透過該手持通訊設備控制該車載裝置以進行加速度計與陀螺儀之安裝與校正,其中,該手持通訊設備透過一長距離無線通訊網路與該車載裝置進行遠端管理訊息的傳輸,以及透過一短距離無線通訊網路與該車載裝置進行交握訊息與該校正訊息的傳輸。A system for installing an accelerometer and a gyroscope in a vehicle device includes: a vehicle state detection device, which is provided in a vehicle and used to collect vehicle state information of the vehicle to obtain vehicle acceleration values and angular velocity values; An on-vehicle device, which is provided in the vehicle and used to receive the vehicle acceleration value and the angular velocity value from the vehicle state detection device, to analyze and calculate the vehicle acceleration value and the angular velocity value to obtain the vehicle speed value and rotation The angle value is generated when the vehicle speed value and the rotation angle value exceed a set value and a preset offset angular speed value, respectively; a correction message is generated; a hand-held communication device, which is connected to the vehicle under the identity of the vehicle-mounted device Device to provide the user to control the vehicle-mounted device through the handheld communication device for the installation and calibration of the accelerometer and gyroscope, wherein the handheld communication device performs remote management of messages with the vehicle-mounted device through a long-distance wireless communication network Transmission and transmission of handshaking messages and calibration messages with the vehicle-mounted device through a short-distance wireless communication network. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該車載裝置係用以判斷該車輛速度值是否超過該設定值,以於超過該設定值時,經由該短距離無線通訊網路通知該手持通訊設備,進行該加速度計參數及硬體設備之校正,以及判斷該車輛所安裝之該陀螺儀是否超過該預設偏移角速度值,以於超過該偏移角速度值時,經由該短距離無線通訊網路通知該手持通訊設備,進行該陀螺儀參數及硬體設備之校正。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent scope, wherein the vehicle-mounted device is used to determine whether the vehicle speed value exceeds the set value, and when the set value is exceeded, Notify the handheld communication device via the short-range wireless communication network to perform calibration of the accelerometer parameters and hardware devices, and determine whether the gyroscope installed in the vehicle exceeds the preset offset angular velocity value to exceed the offset When the angular velocity value is passed, the handheld communication device is notified via the short-range wireless communication network to perform calibration of the gyroscope parameters and hardware devices. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該車載裝置為車用電腦、外接式主機、平板電腦或智慧型手機。The system for installing an accelerometer and a gyroscope in a car device as described in item 1 of the patent application scope, wherein the car device is a car computer, an external host, a tablet computer, or a smartphone. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該車載裝置包含長距離無線通訊模組、短距離藍芽通訊介面以及有線傳輸介面,該有線傳輸介面用於與該車輛狀態偵測裝置連線。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent application scope, wherein the vehicle-mounted device includes a long-distance wireless communication module, a short-distance Bluetooth communication interface, and a wired transmission interface, the wired transmission The interface is used to connect with the vehicle state detection device. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該車輛狀態偵測裝置包含該加速度計、該陀螺儀以及有線傳輸介面,該有線傳輸介面用於與該車載裝置連線,且該加速度計與該陀螺儀用以取得該車輛狀態資訊。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent scope, wherein the vehicle state detection device includes the accelerometer, the gyroscope and a wired transmission interface, the wired transmission interface is used for It is connected to the vehicle-mounted device, and the accelerometer and the gyroscope are used to obtain the vehicle state information. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該車輛狀態偵測裝置係整合於該車載裝置內。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent application scope, wherein the vehicle state detection device is integrated in the vehicle-mounted device. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該手持通訊設備包括藍芽通訊介面、行動通訊網路與定位單元,該藍芽通訊介面用於與該車載裝置短距離連線,該行動通訊網路用於與該車載裝置長距離連線,以及該行動通訊網路及該定位單元係供與該車載裝置進行認證/設定、緊急連繫及校正功能啟動之用。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent application scope, wherein the handheld communication device includes a Bluetooth communication interface, a mobile communication network and a positioning unit, and the Bluetooth communication interface is used for The vehicle-mounted device is connected for a short distance, the mobile communication network is used for long-distance connection with the vehicle-mounted device, and the mobile communication network and the positioning unit are used for authentication/setting, emergency connection and correction function activation with the vehicle-mounted device Purpose. 如申請專利範圍第7項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該定位單元為利用GPS、AGPS、Wifi、或Cell ID進行定位。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 7 of the patent application scope, wherein the positioning unit uses GPS, AGPS, Wifi, or Cell ID for positioning. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該長距離無線通訊網路為GPRS、3G/HSDPA、WiMax或4G/LTE。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent scope, wherein the long-distance wireless communication network is GPRS, 3G/HSDPA, WiMax, or 4G/LTE. 如申請專利範圍第1項所述之安裝加速度計及陀螺儀於車用裝置的系統,其中,該短距離無線通訊網路為藍芽通訊。The system for installing an accelerometer and a gyroscope in a vehicle device as described in item 1 of the patent application scope, wherein the short-range wireless communication network is Bluetooth communication. 一種安裝加速度計及陀螺儀於車用裝置的校正方法,該校正方法包括:手持通訊設備經身分識別後與車載裝置連線;令車輛狀態偵測裝置取得車輛之車輛狀態資訊以傳送至該車載裝置;令該車載裝置分析與運算該車輛狀態資訊以得到該車輛之車輛速度值及旋轉角度值;以及令該車載裝置判斷該車輛速度值及該旋轉角度值是否超過設定值與預設偏移角速度值,以於該旋轉角度值超過該設定值或該旋轉角度值超過該預設偏移角速度值時,透過短距離無線通訊網路通知該手持通訊設備,以進行加速度計參數及硬體設備之校正或陀螺儀參數及硬體設備之校正。A calibration method for installing an accelerometer and a gyroscope in a vehicle device. The calibration method includes: connecting the handheld communication device to the vehicle-mounted device after being identified; and enabling the vehicle state detection device to obtain vehicle state information of the vehicle for transmission to the vehicle-mounted device Device; causing the vehicle-mounted device to analyze and calculate the vehicle state information to obtain the vehicle speed value and rotation angle value of the vehicle; and the vehicle-mounted device to determine whether the vehicle speed value and the rotation angle value exceed the set value and the preset offset Angular velocity value, when the rotation angle value exceeds the set value or the rotation angle value exceeds the preset offset angular velocity value, the handheld communication device is notified via a short-distance wireless communication network to perform accelerometer parameters and hardware device Calibration or calibration of gyroscope parameters and hardware equipment. 如申請專利範圍第11項所述之安裝加速度計及陀螺儀於車用裝置的校正方法,其中,該車輛狀態資訊包括三軸角速度值和三軸加速度數值,該三軸角速度值和該三軸加速度數值傳送至該車載裝置之中央處理器計算以得到該車輛速度值與該旋轉角度值並儲存至該車載裝置之記憶體內,以於該車輛速度值及該旋轉角度值超過該設定值與該預設偏移角速度值時,執行該加速度計及該陀螺儀之安裝校正。The calibration method of installing an accelerometer and a gyroscope in a vehicle device as described in item 11 of the patent application scope, wherein the vehicle state information includes a three-axis angular velocity value and a three-axis acceleration value, the three-axis angular velocity value and the three-axis The acceleration value is transmitted to the central processing unit of the vehicle-mounted device for calculation to obtain the vehicle speed value and the rotation angle value and stored in the memory of the vehicle-mounted device, so that the vehicle speed value and the rotation angle value exceed the set value and the When the offset angular velocity value is preset, the installation and calibration of the accelerometer and the gyroscope are performed.
TW107124510A 2018-07-16 2018-07-16 A system and calibration method of setting accelerometer and gyroscope to vehicle TWI673675B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW107124510A TWI673675B (en) 2018-07-16 2018-07-16 A system and calibration method of setting accelerometer and gyroscope to vehicle
CN201810970368.9A CN110726419B (en) 2018-07-16 2018-08-24 System for installing accelerometer and gyroscope on vehicle device and correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107124510A TWI673675B (en) 2018-07-16 2018-07-16 A system and calibration method of setting accelerometer and gyroscope to vehicle

Publications (2)

Publication Number Publication Date
TWI673675B true TWI673675B (en) 2019-10-01
TW202006655A TW202006655A (en) 2020-02-01

Family

ID=69023622

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107124510A TWI673675B (en) 2018-07-16 2018-07-16 A system and calibration method of setting accelerometer and gyroscope to vehicle

Country Status (2)

Country Link
CN (1) CN110726419B (en)
TW (1) TWI673675B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104359493A (en) * 2014-11-18 2015-02-18 浙江工商大学 High-precision direction correction method under vehicle-mounted condition of smart phone
TWM548102U (en) * 2017-05-09 2017-09-01 創星物聯科技股份有限公司 System for detecting sharp turn of vehicle
TWM552611U (en) * 2017-04-14 2017-12-01 綠源動力科技股份有限公司 A system and an apparatus for adjusting the parameters of an electric vehicle system
US20180199159A1 (en) * 2016-09-13 2018-07-12 Allstate Insurance Company Systems and methods for detecting mobile device movement within a vehicle using accelerometer data

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1967282B (en) * 2005-11-18 2011-02-16 上海双微导航技术有限公司 Total station and GPS single-frequency real-time dynamic combined measuring method and system
JP4481258B2 (en) * 2006-03-14 2010-06-16 三菱電機株式会社 Offset correction diagnostic device and rollover compatible airbag system
JP5099522B2 (en) * 2009-01-09 2012-12-19 三菱電機株式会社 Self-diagnosis device and self-diagnosis method of acceleration or angular velocity sensor, acceleration or angular velocity sensor, and initial setting method of acceleration or angular velocity sensor
TW201110068A (en) * 2009-09-04 2011-03-16 Chunghwa Telecom Co Ltd Vehicle dynamic information system
JP6012204B2 (en) * 2012-03-06 2016-10-25 株式会社メガチップス POSITIONING SYSTEM, TERMINAL DEVICE, PROGRAM, AND POSITIONING METHOD
TWM522404U (en) * 2016-01-13 2016-05-21 Systems & Technology Corp Vehicle device with vehicle status detection
CN105737853B (en) * 2016-02-04 2018-11-23 中国科学院电子学研究所 A kind of drift calibration method of robot inertial navigation system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104359493A (en) * 2014-11-18 2015-02-18 浙江工商大学 High-precision direction correction method under vehicle-mounted condition of smart phone
US20180199159A1 (en) * 2016-09-13 2018-07-12 Allstate Insurance Company Systems and methods for detecting mobile device movement within a vehicle using accelerometer data
TWM552611U (en) * 2017-04-14 2017-12-01 綠源動力科技股份有限公司 A system and an apparatus for adjusting the parameters of an electric vehicle system
TWM548102U (en) * 2017-05-09 2017-09-01 創星物聯科技股份有限公司 System for detecting sharp turn of vehicle

Also Published As

Publication number Publication date
CN110726419B (en) 2024-03-12
CN110726419A (en) 2020-01-24
TW202006655A (en) 2020-02-01

Similar Documents

Publication Publication Date Title
US10166948B2 (en) Mobile device system for remote starting and management of a vehicle
TW201709713A (en) System and method for automatically locking/unlocking vehicle door using smart phone further providing the purpose of unmanned vehicle rent or vehicle management by matching with a remote management and authentication device
US10798188B2 (en) Electronic device and method for processing information associated with driving
CN105916742A (en) Vehicle system for activating a vehicle component
CN104331947A (en) Vehicle monitoring method and related equipment and system
WO2015155604A2 (en) Smart phone, vehicle control system having smart phone, and control method
WO2018157525A1 (en) Vehicle-mounted air conditioner control method and system
US20170302774A1 (en) Method and apparatus for cellular network backup connectivity
EP3076715A1 (en) Vehicle-mounted communication device, and method of controlling same
US20180322273A1 (en) Method and apparatus for limited starting authorization
CN113436369A (en) Intelligent vehicle remote controller and vehicle control method
JP2019156283A (en) Walking detection device and system
TWI673675B (en) A system and calibration method of setting accelerometer and gyroscope to vehicle
JP2008015750A (en) Vehicle management system
WO2021205731A1 (en) Control device and control method
CN109362071A (en) Method and system of the off roader in network black spots and server emergency communication
US10828957B2 (en) Vehicle system, vehicle, and information processing device
US20210367937A1 (en) Control device and control method
US20220030392A1 (en) Vehicle control system, vehicle control method, and vehicle control server
EP3904165A1 (en) Vehicle tracking device
KR20120100311A (en) Car, method for charging thereof, charging system and method for charging thereof
CN108297831B (en) Automobile anti-theft system based on biological recognition and implementation method and implementation system thereof
CN114202333A (en) Near field communication control method and device, electronic equipment and storage medium
KR20170015009A (en) Apparatus for supporting smartkey system of vehicle united with mobile device
JP2008014851A (en) Vehicle management system