[go: up one dir, main page]

TWI404932B - Nuclear control module for tri-axis accelerometer - Google Patents

Nuclear control module for tri-axis accelerometer Download PDF

Info

Publication number
TWI404932B
TWI404932B TW98123836A TW98123836A TWI404932B TW I404932 B TWI404932 B TW I404932B TW 98123836 A TW98123836 A TW 98123836A TW 98123836 A TW98123836 A TW 98123836A TW I404932 B TWI404932 B TW I404932B
Authority
TW
Taiwan
Prior art keywords
accelerometer
control module
chip controller
axis accelerometer
core control
Prior art date
Application number
TW98123836A
Other languages
Chinese (zh)
Other versions
TW201102655A (en
Inventor
Jenq Ruey Horng
Guo Zhi Horng
Original Assignee
Univ Southern Taiwan Tech
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 Univ Southern Taiwan Tech filed Critical Univ Southern Taiwan Tech
Priority to TW98123836A priority Critical patent/TWI404932B/en
Publication of TW201102655A publication Critical patent/TW201102655A/en
Application granted granted Critical
Publication of TWI404932B publication Critical patent/TWI404932B/en

Links

Landscapes

  • Pressure Sensors (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention relates to a nuclear control module for a tri-axis accelerometer, which comprises an accelerator, a transmission interface, a single chip controller and a display; wherein the single chip controller is provided with a low-pass digital filter and a vector algorithm unit. As a result, the linear acceleration values captured by the accelerator can be transmitted to the single chip controller via the transmission interface, and a low-pass digital filter inside the single chip controller can be used to filter out the undesired situations of drift jumping resulted from the drift errors at the time when the accelerator captures data. At last the vector algorithm unit may use the tri-axis vector components to do analysis and further determine the angular values, which can be outputted to and shown on the display.

Description

三軸加速度計之核心控制模組 Core control module for three-axis accelerometer

本發明係有關於一種三軸加速度計之核心控制模組,尤其係指一種感測結果更為精準、穩定,且反應時間快的三軸加速度計之核心控制模組的結構創新設計。 The invention relates to a core control module of a three-axis accelerometer, in particular to a structural innovation design of a core control module of a three-axis accelerometer with more accurate and stable sensing results and fast response time.

按,綜觀目前市面上所見之三軸加速度計的常應用於轉動及角度偵測,但市面上所用加速度感測元件通常以非線性數值對應加速度值,因此常會發生角度誤差;此外,現有的加速度器在應用上雖可判斷狀態,但都無標示精準度。 According to the survey, the three-axis accelerometers currently seen on the market are often used for rotation and angle detection. However, the acceleration sensing components used in the market usually correspond to the acceleration values with non-linear values, so angular errors often occur; in addition, the existing accelerations Although the state can be judged in the application, there is no indication accuracy.

請參我國證書號第M332833號「具有三軸加速度感測器之腕錶型運動量量測裝置」新型專利案,此專利是以感測運動者移行時其手部於一第一軸向、第二軸向和第三軸向所產生之運動信號再將其傳送至微處理器,微處理器再將所接收之運動信號予以運算處理為運動者之運動資訊,顯示單元係用以顯示微處理器所運算處理之運動資訊。 Please refer to the new patent case of "Model-type motion measuring device with three-axis accelerometer" in China No. M332833. This patent is to sense the movement of the hand in a first axial direction. The motion signals generated by the two axial directions and the third axial direction are transmitted to the microprocessor, and the microprocessor then processes the received motion signals into motion information of the athletes, and the display unit is used to display the micro processing. The motion information processed by the device.

然而,此一量測裝置在實際的實施使用上卻只能判斷方向,而無法做出角度量測,因此其量測結果較容易失真,不準確。 However, the measuring device can only determine the direction in actual implementation, and cannot make the angle measurement, so the measurement result is more easily distorted and inaccurate.

今,本發明人即是鑒於如上所述之加速度計在實際的實施使用上所產生之缺失處,於是開發設計出一種感測結果更為精準、穩定,且反應時間快的三軸加速度計之核心控制模組,進而改善現有技術之缺失,而此亦即為本發明之主要目的。 Now, the present inventors have developed a design for a three-axis accelerometer that is more accurate, stable, and has a fast response time in view of the lack of accelerometers as described above. The core control module, which in turn improves the lack of prior art, is the primary purpose of the present invention.

為達上述之主要目的,本發明乃提供一種三軸加速度計之核心控制模組;該三軸加速度計之核心控制模組包括一加速度器、一傳輸介面、一單晶片控制器及一顯示器;其中該單晶片控制器內具有低通數位濾波器與向量演算單元;據此,利用該加速度器將其抓取得到之線性加速度值透過傳輸介面傳送給該單晶片控制器,而單晶片控制器藉其內部之低通數位濾波器濾除加速度器在抓取資料時因漂移誤差所產生之漂移跳動情況,再由向量演算單元以三軸方向向量之數值分量作分析,決定角度數值,且將此角度數值輸出至顯示器顯示。 In order to achieve the above-mentioned main purpose, the present invention provides a core control module of a three-axis accelerometer; the core control module of the three-axis accelerometer comprises an accelerometer, a transmission interface, a single-chip controller and a display; Wherein the single-wafer controller has a low-pass digital filter and a vector calculation unit; accordingly, the accelerometer is used to transmit the linear acceleration value obtained by the acceleration to the single-chip controller through the transmission interface, and the single-chip controller The internal low-pass digital filter filters out the drift of the accelerometer caused by the drift error when the data is captured, and then the vector calculation unit analyzes the numerical component of the triaxial direction vector to determine the angle value, and This angle value is output to the display.

(1)‧‧‧加速度器 (1)‧‧‧ Accelerator

(11)‧‧‧可變電容 (11)‧‧‧Variable Capacitance

(111)‧‧‧電極 (111)‧‧‧ electrodes

(112)‧‧‧電極 (112)‧‧‧ electrodes

(2)‧‧‧傳輸介面 (2) ‧‧‧Transport interface

(3)‧‧‧單晶片控制器 (3) ‧‧‧Single chip controller

(31)‧‧‧低通數位濾波器 (31)‧‧‧Low-pass digital filter

(32)‧‧‧向量演算單元 (32)‧‧‧Vector calculation unit

(4)‧‧‧顯示器 (4) ‧ ‧ display

第一圖:本發明三軸加速度計之核心控制模組的架構方塊示意圖 First: Schematic block diagram of the core control module of the three-axis accelerometer of the present invention

第二圖:低通數位濾波器疊代取樣示意圖 Second: Schematic diagram of low-pass digital filter overlay sampling

第三圖:加速度計架構示意圖 Figure 3: Accelerometer architecture diagram

為令本發明之技術手段、發明目的及達成功效有更完整及清楚的揭露,茲於下詳細說明之,並請一併參閱揭示之圖式及元件符號。 For a more complete and clear disclosure of the technical means, the object of the invention and the effect of the present invention, the following detailed description, and the accompanying drawings,

以下請參閱第一圖所示,其係顯示本發明三軸加速度計之核 心控制模組的架構方塊示意圖。本發明之三軸加速度計之核心控制模組包括有:一加速度器(1)、一傳輸介面(2)、一單晶片控制器(3)及一顯示器(4);其中,該單晶片控制器(3)內更包括有低通數位濾波器(31)與向量演算單元(32)。 Please refer to the first figure, which shows the core of the triaxial accelerometer of the present invention. Schematic diagram of the architecture of the heart control module. The core control module of the three-axis accelerometer of the present invention comprises: an accelerometer (1), a transmission interface (2), a single chip controller (3) and a display (4); wherein the single chip control The device (3) further includes a low-pass digital filter (31) and a vector calculation unit (32).

據此,利用該加速度器(1)將其抓取得到之線性加速度值透過傳輸介面(2)傳送給該單晶片控制器(3),而單晶片控制器(3)藉其內部之低通數位濾波器(31)濾除加速度器(1)在抓取資料時因漂移誤差所產生之漂移跳動情況,再由向量演算單元(32)以三軸方向向量之數值分量作分析,決定角度數值,且將此角度數值輸出至顯示器(4)顯示。 Accordingly, the linear acceleration value obtained by the accelerometer (1) is transmitted to the single-chip controller (3) through the transmission interface (2), and the single-chip controller (3) is borrowed from the internal low-pass The digital filter (31) filters out the drift of the accelerometer (1) due to the drift error when grabbing the data, and then the vector calculation unit (32) analyzes the numerical component of the triaxial direction vector to determine the angle value. And output the angle value to the display (4) display.

其中,單晶片控制器(3)經由傳輸介面(2),設定加速度器(1)取樣速度為100或400Hz,在本實施例中係使用400Hz取樣速度來抓取三軸(X、Y、Z)資料命令,抓一筆加速度資料為2.5m(Sec),由於加速度器(1)有漂移誤差,所以在抓取資料後用低通數位濾波器(31)濾除漂移跳動情況,該低通數位濾波器作法如第二圖所示。其係將第1筆到第50筆累加作平均,第51筆資料進來時,由第2筆到第51筆資料累加作平均,以此類推,此方式能每抓一筆做計算,此即所謂之疊代方式。而一般作平均方式為第1筆到第50筆資料作平均,第51筆到第100筆資料作平均,此方式有兩個缺點:(1)為雖有作平均動作,但時間間隔要每50筆作計算,故降低了取樣速度;(2)在固定不動的情況下,每一筆加速度 值還是有些微3~5數值誤差,所以在LCD顯示數值上會看到數值有2~3跳動不穩定情況。而本發明所採用的低通數位濾波方式在動作迅速變化的情形下能較快反應出來,且數值能每1度刻度顯示不會跳動。 The single-wafer controller (3) sets the acceleration speed of the accelerometer (1) to 100 or 400 Hz via the transmission interface (2). In the present embodiment, the sampling speed of 400 Hz is used to capture the three axes (X, Y, Z). The data command captures an acceleration data of 2.5m (Sec). Since the accelerometer (1) has drift error, the drift jitter condition is filtered out by the low-pass digital filter (31) after the data is captured. The low-pass digital position The filter works as shown in the second figure. It adds the first to the 50th as an average. When the 51st data comes in, the second to the 51th data are accumulated for averaging, and so on. This method can be calculated for each stroke. This is called The iteration method. In general, the average method is averaged from the first to the 50th data, and the 51st to the 100th data are averaged. This method has two disadvantages: (1) Although there is an average action, the time interval is required. 50 strokes are calculated, so the sampling speed is reduced; (2) each acceleration is fixed without moving The value is still slightly different from the 3~5 numerical error, so the value of the LCD display will see that the value has 2~3 jitter instability. However, the low-pass digital filtering method adopted by the present invention can react faster in the case of rapid change of motion, and the numerical value can be displayed without jumping at every 1 degree scale.

其中,加速度器(1)之架構如第三圖所示,其判斷角度原理為:利用可變電容(11)的兩塊電極(111)、(112),一塊為固定電極(111),另一塊為可動電極(112),可動電極(112)上附著一個質量塊,當受到外力產生加速度作用時,質量塊因慣性作用而產生位移,因此改變了固定電極(111)與可動電極(112)間的距離;二電極(111)、(112)間的間距改變,其電容值也會跟著改變,再經由電容值量測電路與放大電路,得知其加速度值。 The structure of the accelerometer (1) is as shown in the third figure. The principle of determining the angle is: using two electrodes (111) and (112) of the variable capacitor (11), one for the fixed electrode (111), and the other One block is a movable electrode (112), and a mass is attached to the movable electrode (112). When an external force generates an acceleration, the mass is displaced by the inertia, thereby changing the fixed electrode (111) and the movable electrode (112). The distance between the two electrodes (111) and (112) changes, and the capacitance value also changes, and the acceleration value is obtained through the capacitance value measuring circuit and the amplifying circuit.

其中,本發明之傳輸介面(2)採用序列周邊介面【Serial Peripheral Interface,SPI】,加速度器(1)係使用ST公司型號為LIS302DL的三軸式加速度計作為感測元件;該LIS302DL三軸方向加速度計內部運算係以1LSB為18mg線性加速度值傳送給單晶片控制器(3)。該單晶片控制器(3)則使用Microchip公司16位元的數位訊號單晶片dsPIC30F4011作為控制核心。 The transmission interface (2) of the present invention adopts a Serial Peripheral Interface (SPI), and the accelerometer (1) uses a three-axis accelerometer of ST company model LIS302DL as a sensing element; the LIS302DL three-axis direction The internal calculation of the accelerometer is transmitted to the single-chip controller (3) with a linear acceleration value of 18 mg at 1 LSB. The single-chip controller (3) uses Microchip's 16-bit digital signal single-chip dsPIC30F4011 as the control core.

本發明之三軸加速度計之核心控制模組透過加速度器(1)以疊代方式抓取三軸加速度資料,並將抓取得到之線性加速度值傳送給單晶片控制器(3),再經單晶片控制器(3)內部之低通數位濾波器(31)濾除漂移跳動之情形,並以向量演算單元(32)以三軸方向向量分量,決定角度數值,其所測角度數值 與量角器比對,誤差值在0.5度以內,且其整體實體已縮小化,能方便攜帶。 The core control module of the three-axis accelerometer of the present invention captures the three-axis acceleration data in an iterative manner through the accelerometer (1), and transmits the captured linear acceleration value to the single-chip controller (3), and then The low-pass digital filter (31) inside the single-chip controller (3) filters out the drift jitter, and uses the vector calculation unit (32) to determine the angle value by the three-axis direction vector component. Compared with the protractor, the error value is within 0.5 degrees, and its overall entity has been reduced, which is convenient to carry.

以上所舉者僅係本發明之部份實施例,並非用以限制本發明,致依本發明之創意精神及特徵,稍加變化修飾而成者,亦應包括在本專利範圍之內。 The above is only a part of the embodiments of the present invention, and is not intended to limit the present invention. It is intended to be included in the scope of the present invention.

綜上所述,本發明實施例確能達到所預期之使用功效,又其所揭露之具體構造,不僅未曾見諸於同類產品中,亦未曾公開於申請前,誠已完全符合專利法之規定與要求,爰依法提出發明專利之申請,懇請惠予審查,並賜准專利,則實感德便。 In summary, the embodiments of the present invention can achieve the expected use efficiency, and the specific structure disclosed therein has not been seen in similar products, nor has it been disclosed before the application, and has completely complied with the provisions of the Patent Law. And the request, the application for the invention of a patent in accordance with the law, please forgive the review, and grant the patent, it is really sensible.

(1)‧‧‧加速度器 (1)‧‧‧ Accelerator

(2)‧‧‧傳輸介面 (2) ‧‧‧Transport interface

(3)‧‧‧單晶片控制器 (3) ‧‧‧Single chip controller

(31)‧‧‧低通數位濾波器 (31)‧‧‧Low-pass digital filter

(32)‧‧‧向量演算單元 (32)‧‧‧Vector calculation unit

(4)‧‧‧顯示器 (4) ‧ ‧ display

Claims (5)

一種三軸加速度計之核心控制模組,包括有:一加速度器、一傳輸介面、一單晶片控制器及一顯示器;其中,該加速度計係利用可變電容的兩塊電極,一塊為固定電極,另一塊為可動電極,可動電極附著一個質量塊,當受到外力產生加速度而作用於質量塊時,改變固定電極與可動電極間的距離,其電容值也會跟著改變,並藉此得知其加速度值;該加速度計係利用可變電容的兩塊電極,一塊為固定電極,另一塊為可動電極,可動電極著一個質量塊,當受到外力產生加速度而作用於質量塊時,改變固定電極與可動電極間的距離,其電容值也會跟著改變,並藉此得知其加速度值;該加速度器透過傳輸介面將抓取得到之線性加速度值傳送給該單晶片控制器,該單晶片控制器內設有低通數位濾波器與向量演算單元,利用低通數位濾波器濾除加速度器所抓取資料之漂移跳動情況,再由向量演算單元以三軸方向向量分量,決定角度數值,且將此角度數值輸出至顯示器顯示。 A core control module for a three-axis accelerometer includes: an accelerometer, a transmission interface, a single-chip controller, and a display; wherein the accelerometer uses two electrodes of a variable capacitor, one of which is a fixed electrode The other piece is a movable electrode, and the movable electrode is attached with a mass. When an external force generates acceleration and acts on the mass, the distance between the fixed electrode and the movable electrode is changed, and the capacitance value thereof is also changed, and thereby the Acceleration value; the accelerometer uses two electrodes of variable capacitance, one is a fixed electrode, the other is a movable electrode, and the movable electrode is provided with a mass. When an external force generates acceleration and acts on the mass, the fixed electrode is changed. The distance between the movable electrodes and the capacitance value thereof will also change, and the acceleration value thereof will be known; the accelerometer transmits the captured linear acceleration value to the single chip controller through the transmission interface, the single chip controller A low-pass digital filter and a vector calculation unit are provided therein, and the low-pass digital filter is used to filter out the accelerometer. The beating of the drift, and then by the vector arithmetic unit vector components in three axial directions, the angle values determined, and this value is output to the display to display an angle. 如申請專利範圍第1項所述三軸加速度計之核心控制模組,其中,低通數位濾波器濾除漂移跳動情況之方式係採疊代方式。 For example, the core control module of the three-axis accelerometer described in claim 1 of the patent scope, wherein the low-pass digital filter filters out the drifting behavior is adopted in an iterative manner. 如申請專利範圍第1項所述三軸加速度計之核心控制模組,其中,該加速度器設定取樣速度為100或400Hz。 The core control module of the three-axis accelerometer according to claim 1, wherein the accelerometer sets the sampling speed to be 100 or 400 Hz. 如申請專利範圍第1、2或3項所述三軸加速度計之核心控制模組,其中,該傳輸介面採用序列周邊介面。 For example, the core control module of the three-axis accelerometer described in claim 1, 2 or 3, wherein the transmission interface uses a sequence peripheral interface. 如申請專利範圍第1、2或3項所述三軸加速度計之核心控制模組 ,其中,該傳輸介面採用序列周邊介面。 The core control module of the three-axis accelerometer as described in claim 1, 2 or 3 Wherein the transmission interface uses a sequence peripheral interface.
TW98123836A 2009-07-15 2009-07-15 Nuclear control module for tri-axis accelerometer TWI404932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98123836A TWI404932B (en) 2009-07-15 2009-07-15 Nuclear control module for tri-axis accelerometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98123836A TWI404932B (en) 2009-07-15 2009-07-15 Nuclear control module for tri-axis accelerometer

Publications (2)

Publication Number Publication Date
TW201102655A TW201102655A (en) 2011-01-16
TWI404932B true TWI404932B (en) 2013-08-11

Family

ID=44837521

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98123836A TWI404932B (en) 2009-07-15 2009-07-15 Nuclear control module for tri-axis accelerometer

Country Status (1)

Country Link
TW (1) TWI404932B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09251031A (en) * 1996-03-14 1997-09-22 Rion Co Ltd 3-axis accelerometer calibration jig
TW384399B (en) * 1998-05-19 2000-03-11 Matsushita Electric Ind Co Ltd Speed-up sensor and speed-up apparatus using said speed-up sensor
EP1362748B1 (en) * 2002-05-13 2006-08-09 INDIANA MILLS & MANUFACTURING, INC. Roll sensor system for a vehicle
US7428471B2 (en) * 1997-10-02 2008-09-23 Nike, Inc. Monitoring activity of a user in locomotion on foot
TW200928888A (en) * 2007-10-30 2009-07-01 Imu Solutions Inc Method for processing data from accelerometer to control cursor movement and cursor control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09251031A (en) * 1996-03-14 1997-09-22 Rion Co Ltd 3-axis accelerometer calibration jig
US7428471B2 (en) * 1997-10-02 2008-09-23 Nike, Inc. Monitoring activity of a user in locomotion on foot
TW384399B (en) * 1998-05-19 2000-03-11 Matsushita Electric Ind Co Ltd Speed-up sensor and speed-up apparatus using said speed-up sensor
EP1362748B1 (en) * 2002-05-13 2006-08-09 INDIANA MILLS & MANUFACTURING, INC. Roll sensor system for a vehicle
TW200928888A (en) * 2007-10-30 2009-07-01 Imu Solutions Inc Method for processing data from accelerometer to control cursor movement and cursor control device

Also Published As

Publication number Publication date
TW201102655A (en) 2011-01-16

Similar Documents

Publication Publication Date Title
CN105698765B (en) Object pose method under double IMU monocular visions measurement in a closed series noninertial systems
TWI474265B (en) Moving trajectory calibration method and moving trajectory generation method
CN101949954B (en) Redundant parallel six-dimensional acceleration transducer and measuring method thereof
CN102411440B (en) Wireless head-controlled mouse based on accelerometer and gyro sensor
CN103487011B (en) A kind of attitude angle detection method of data glove
TW201310005A (en) Inertia sensing apparatus
US11740089B2 (en) MEMS inertial sensor, application method of MEMS inertial sensor, and electronic device
CN111076748A (en) Error compensation method and system of horizontal inclinometer based on MEMS accelerometer
CN103294226B (en) A virtual input device and method
CN104197957A (en) Micro-gyroscope measurement system and method for measuring zero-bias stability by using system
CN106873612A (en) Electrodynamic balance car attitude method for quick
CN102306054B (en) Attitude sensing equipment and positioning method and device thereof and method and device for controlling mouse pointer
CN102607509A (en) Method and device for measuring attitude dip angle of moving carrier based on floating point type DSP (digital signal processor)
TWI404932B (en) Nuclear control module for tri-axis accelerometer
CN106643785B (en) A kind of adaptive step number detection method of multi-source information based on MEMS Inertial Measurement Units
CN102809670B (en) Monolithic open-loop integrated circuit of acceleration sensor
JP7293793B2 (en) Swing analysis method and swing analysis device
CN202710030U (en) Motion carrier posture dip angle metering device based on floating-point type digital signal processor (DSP)
CN205749941U (en) The non-horizontal of acceleration of gravity measures system
CN205714168U (en) A kind of oil well inclination measurement system based on MEMS inertia device
Wei et al. The study of variable sensitivity in dual-axis tilt sensor
CN106813661A (en) Inertial measuring unit
CN105286759B (en) Cavity deformation resetting detection device and reset detection method based on inertial navigation system
Xu et al. Design of Measurement Memory System Based on MEMS Acceleration Sensor.
CN103733026B (en) For analyzing the method and speed sensor unit of the output signal of processing speed sensor unit

Legal Events

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