TWI607200B - Real time sensor system - Google Patents
Real time sensor system Download PDFInfo
- Publication number
- TWI607200B TWI607200B TW105111330A TW105111330A TWI607200B TW I607200 B TWI607200 B TW I607200B TW 105111330 A TW105111330 A TW 105111330A TW 105111330 A TW105111330 A TW 105111330A TW I607200 B TWI607200 B TW I607200B
- Authority
- TW
- Taiwan
- Prior art keywords
- sensor
- estimator
- obs
- physical quantity
- response
- Prior art date
Links
Landscapes
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Description
本發明係關於一種即時感測系統,特別是關於一種應用高增益估測演算法於具低通響應特性之感測元件即時檢測技術的即時感測系統。 The present invention relates to an instant sensing system, and more particularly to an instant sensing system that applies a high gain estimation algorithm to a sensing element instant detection technique with low pass response characteristics.
感測器是一種能夠根據物理信號(例如溫度、氣體濃度)產生反應,將感知的物理信號轉換量化成為便於處理或讀取之信號的裝置。為了達成高度整合應用,現今市售的感測元件已達普遍化。而為了方便使用者進行開發,多數感測元件均已經過模組化設計。然而,感測元件本身之物理現象具有暫態特性,再加上感測元件在模組化後,經過訊號處理、低通濾波雜訊抑制等功能的執行,將會使得原始物理量暫態量測響應特性產生部分失真。 A sensor is a device that is capable of reacting a perceived physical signal to a signal that is easy to process or read based on a physical signal (eg, temperature, gas concentration). In order to achieve highly integrated applications, today's commercially available sensing components have become universal. In order to facilitate user development, most of the sensing components have been modularized. However, the physical phenomenon of the sensing component itself has transient characteristics, and after the sensing component is modularized, the function of signal processing, low-pass filtering noise suppression, etc., will cause the original physical quantity transient measurement. The response characteristics produce partial distortion.
此外,以氣體感測器而言,在進行氣體濃度量測時,須透過內部化學物質之反應來作為濃度檢出。基於其內部化學物質本身化學反應之特性,氣體感測器的濃度檢出將產生一定程度的時間延遲。若氣體感測器的動態響應不足,則濃度量測會延遲輸出,將使得真實環境濃度與當下量測到的濃度產生差異,即表示氣體濃度檢出之即時性不足。若對於有毒氣體(如一氧化碳)之監測,若量測響應時間過慢而不足以反映當下之濃度,將對人員與工作環境安全形成巨大危害。 In addition, in the case of a gas sensor, when the gas concentration measurement is performed, it is detected as a concentration by a reaction of an internal chemical substance. Based on the nature of the chemical reaction of the internal chemical itself, the concentration detection of the gas sensor will produce a certain degree of time delay. If the dynamic response of the gas sensor is insufficient, the concentration measurement will delay the output, which will cause the difference between the real environment concentration and the current measured concentration, that is, the immediacy of the gas concentration detection is insufficient. If the monitoring of toxic gases (such as carbon monoxide) is too slow to reflect the current concentration, it will pose a great hazard to the safety of personnel and the working environment.
感測器的暫態反應除了會影響量測之即時性外,若應用於控制系統,易造成控制頻寬之降低,產生控制目標輸出與實際參考輸入之不匹配性,形成控制系統穩定性與效能上的降低。 In addition to affecting the immediacy of measurement, if the transient response of the sensor is applied to the control system, it will easily reduce the control bandwidth, resulting in a mismatch between the control target output and the actual reference input, resulting in stability of the control system. Reduced performance.
故,有必要提供一種即時感測系統,以解決習用技術所存在的問題。 Therefore, it is necessary to provide an instant sensing system to solve the problems of the conventional technology.
本發明之主要目的在於提供一種即時感測系統,以縮短感測時間,同時亦能有效抑制量測雜訊,提高檢測之準確性與即時性。 The main purpose of the present invention is to provide an instant sensing system to shorten the sensing time, and at the same time, it can effectively suppress the measurement of noise and improve the accuracy and immediacy of the detection.
為達上述之目的,本發明提供一種即時感測系統,其包含:一感測器,係用以檢測環境物理量而提供一感測器響應輸出;以及一嵌入式微處理器,係接收該響應輸出並包含一高增益估測器及一高頻切換抑制濾波器,該高增益估測器係根據一物理量檢知方程式對該響應輸出進行估測,再通過該高頻切換抑制濾波器進行濾波而得到一估測器響應輸出。 To achieve the above object, the present invention provides an instant sensing system comprising: a sensor for detecting an environmental physical quantity to provide a sensor response output; and an embedded microprocessor for receiving the response output And including a high gain estimator and a high frequency switching suppression filter, the high gain estimator estimates the response output according to a physical quantity detection equation, and then filters the high frequency switching suppression filter. Get an estimator response output.
在本發明之一實施例中,該感測器進行檢測之動態特性之數學模型為:,其中τ為一時間常數,u代表實際的環境物理量輸入,y sensor 表示為該感測器響應輸出;該高增益估測器之數學模型為:,其中L為估測器增益值;該物理量檢知方程式為:u obs :=(1+τL)e obs +τηsign(e obs ),其中e obs 為估測誤差,e obs =x sensor -x obs ;該高頻切換抑制濾波器之數學模型為:,其中α為一給定的正值,u est 即為估測器響應輸出。 In an embodiment of the invention, the mathematical model of the dynamic characteristics of the sensor for detecting is: Where τ is a time constant, u represents the actual environmental physical quantity input, and y sensor represents the sensor response output; the mathematical model of the high gain estimator is: Where L is the estimator gain value; the physical quantity detection equation is: u obs :=(1+ τL ) e obs + τηsign ( e obs ), where e obs is the estimation error, e obs = x sensor - x Obs ; The mathematical model of the high frequency switching suppression filter is: Where α is a given positive value and u est is the estimator response output.
本發明主要是在既有低頻寬感測器之輸出資訊下,根據感測器本身動態特性之數學模型建立一估測器數學模型,搭配一高增益估測器演算法,來估測外在環境物理量。所得到的估測輸出,與外在環境參考值具有高度匹配性,能有效補償感測器過慢之量測響應,除縮短感測時間,同時亦能有效抑制量測雜訊,達到檢測準確性與即時性之目的。 The invention mainly establishes a mathematical model of the estimator according to the mathematical model of the dynamic characteristics of the sensor itself under the output information of the low-frequency wide sensor, and uses a high-gain estimator algorithm to estimate the externality. Environmental physical quantity. The estimated output obtained has a high matching with the external environmental reference value, which can effectively compensate the measurement response of the sensor too slow, in addition to shortening the sensing time, and effectively suppressing the measurement noise to achieve accurate detection. The purpose of sex and immediacy.
10‧‧‧感測器 10‧‧‧ Sensors
11‧‧‧嵌入式微處理器 11‧‧‧ embedded microprocessor
110‧‧‧高增益估測器 110‧‧‧High Gain Estimator
111‧‧‧高頻切換抑制濾波器 111‧‧‧High frequency switching suppression filter
第1圖係本發明一較佳實施例之即時感測系統之系統方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a system of an instant sensing system in accordance with a preferred embodiment of the present invention.
第2圖係示意本發明之即時感測系統的演算法之數學模型架構圖。 Figure 2 is a schematic diagram showing the mathematical model of the algorithm of the instant sensing system of the present invention.
第3圖係示意本發明之即時感測系統之估測器與感測器的測量響應比較示意圖。 Figure 3 is a schematic diagram showing the comparison of the measured responses of the estimator and the sensor of the instant sensing system of the present invention.
第4圖係對應第3圖之誤差響應比較示意圖。 Figure 4 is a schematic diagram comparing the error response corresponding to Figure 3.
第5圖係示意本發明之即時感測系統以溫度作為驗證物理量之估測器與感測器的測量響應比較示意圖。 Figure 5 is a schematic diagram showing the comparison of the measured response of the estimator and the sensor with the temperature as the verification physical quantity of the instant sensing system of the present invention.
第6圖係對應第5圖之溫度誤差響應比較圖。 Figure 6 is a comparison of temperature error response corresponding to Figure 5.
為了讓本發明之上述及其他目的、特徵、優點能更明顯易懂,下文將特舉本發明較佳實施例,並配合所附圖式,作詳細說明如下。 The above and other objects, features and advantages of the present invention will become more <RTIgt;
本發明的即時感測系統主要適用於感測環境物理量(例如溫度、氣體濃度)並予以轉換量化,並搭配本發明提供之估測器演算法以快速估測出真實環境的物理量,降低量測誤差,達到 快速即時的物理量檢知效果。 The instant sensing system of the present invention is mainly suitable for sensing environmental physical quantities (such as temperature, gas concentration) and converting and quantizing, and using the estimator algorithm provided by the present invention to quickly estimate the physical quantity of the real environment and reduce the measurement. Error, reach Quick and immediate physical volume detection.
請參考同時參考第1圖和第2圖所示,第1圖係本發明一較佳實施例之即時感測系統之系統方塊圖;第2圖則為其演算法之數學模型架構圖。本發明的即時感測系統主要可包括一感測器10與一嵌入式微處理器11。 Please refer to FIG. 1 and FIG. 2 simultaneously. FIG. 1 is a system block diagram of an instant sensing system according to a preferred embodiment of the present invention; and FIG. 2 is a mathematical model architecture diagram of the algorithm. The instant sensing system of the present invention can mainly include a sensor 10 and an embedded microprocessor 11.
該感測器10用以檢測環境物理量而提供一感測器響應輸出,且特別是一具低頻寬響應之感測器10,如第2圖所示,在一實施例中,為了使感測器10所檢測之環境物理量能夠對應至真實物理量,感測器10之動態特性可透過一階系統描述為:
如第1圖所示,該嵌入式微處理器11用以接收該感測器10的響應輸出,進而根據該感測器響應輸出同時搭配其自身的估測演算法估測出一能與真實環境物理量接近的估測器響應輸出。該嵌入式微處理器11主要包含一高增益估測器110及一高頻切換抑制濾波器111,該高增益估測器110係根據一物理量檢知方程式對該感測器響應輸出進行估測,再通過該高頻切換抑制濾波器 111進行濾波而得到一估測器響應輸出。 As shown in FIG. 1 , the embedded microprocessor 11 is configured to receive the response output of the sensor 10, and then estimate the energy and real environment according to the sensor response output and its own estimation algorithm. The physor is close to the estimator response output. The embedded microprocessor 11 mainly includes a high gain estimator 110 and a high frequency switching suppression filter 111. The high gain estimator 110 estimates the response output of the sensor according to a physical quantity detecting equation. Passing the high frequency switching suppression filter 111 performs filtering to obtain an estimator response output.
有關本發明即時感測系統之理論基礎,請參考如下所述:在實際測量目標上,前述感測器10之設計是為了在最短的時間內,使得y sensor =u。但由於前述感測器10本身反應具有動態延遲特性,例如電路濾波特性、化學反應特性等,使得其實際響應輸出無法即時反應真實環境物理量。因此,本發明為了透過感測器的動態延遲輸出,來估測實際物理量感測值,使得量測具備即時反應之特性,故設計該高增益估測器110之數學模型如下:
上述誤差動態方程式的估測性能響應,可藉由以下誤差能量方程式加以描述:
基於上式(9),真實環境物理量可藉由以下的物理量檢知方程式估測:u obs :=(1+τL)e obs +τηsign(e obs )........(10)實務上,為消除式(10)中之高頻數值切換同時萃取隱含於其中之估測物理量,設計一高頻切換抑制濾波器即可,如下:
第3圖係示意本發明之即時感測系統之估測器與感測器的測量響應比較示意圖,其中實線繪製的曲線是為外部環境參考物理量,作為檢測之基準、鏈線繪製的曲線代表經過具低通特性之感測器檢知輸出、虛線繪製的曲線是為估測器所計算之物理量。由時域響應可清楚看出本發明即時感測系統之高增益估測器在透過具延遲特性之感測器輸出的情況下,能夠快速估測真實 環境物理量,具備高頻寬響應特性。 Figure 3 is a schematic diagram showing the comparison of the measurement response of the estimator and the sensor of the instant sensing system of the present invention, wherein the curve drawn by the solid line is the reference physical quantity for the external environment, and is represented by the curve of the detection and the curve drawn by the chain line. The curve drawn by the sensor with the low-pass characteristic and the dotted line is the physical quantity calculated by the estimator. It can be clearly seen from the time domain response that the high gain estimator of the instant sensing system of the present invention can quickly estimate the true state through the sensor output with the delay characteristic. Environmental physical quantity with high frequency and wide response characteristics.
第4圖是對應第3圖之誤差響應,可看出相較於現有具低通特性之感測器的誤差響應(鏈線繪製的曲線),本發明即時感測系統之高增益估測器具備較低的誤差響應(虛線繪製的曲線),即具有較佳的暫態量測響應。 Figure 4 is the error response corresponding to Figure 3, and it can be seen that the high-gain estimator of the instant sensing system of the present invention is compared with the error response of the existing sensor with low-pass characteristics (the curve drawn by the chain line). It has a lower error response (curves drawn by dashed lines), which has a better transient measurement response.
請進一步參考第5圖和第6圖,以溫度作為驗證物理量為例,其中在第5圖中,實線繪製的曲線為外部溫度參考輸入,鏈線繪製的曲線為溫度感測器模組輸出、虛線繪製的曲線為估測器預測輸出。透過實務驗證可看出,在僅有溫度感測器資訊(如鏈線曲線所示)可得的條件下,本發明即時感測系統之高增益估測器確實具備較佳的暫態量測響應,且能預估反應外部參考溫度之暫態變化,且能快速反應真實溫度(如虛線曲線所示)。第6圖是對應第5圖之溫度誤差響應比較圖,亦顯示出相較於溫度感測器的誤差響應(A曲線),本發明之高增益估測器具備較低的誤差響應(B曲線),即本發明之高增益估測器具有較佳的暫態量測響應。 Please refer to Figure 5 and Figure 6 for further example. Take temperature as the verification physical quantity. In Figure 5, the curve drawn by the solid line is the external temperature reference input, and the curve drawn by the chain line is the output of the temperature sensor module. The curve drawn by the dotted line is the estimated output of the estimator. Through the practice verification, it can be seen that the high-gain estimator of the instant sensing system of the present invention does have better transient measurement under the condition that only the temperature sensor information (as shown by the chain curve) is available. Responsive, and can predict transient changes in the external reference temperature of the reaction, and can quickly reflect the true temperature (as shown by the dashed curve). Figure 6 is a comparison of the temperature error response corresponding to Figure 5, and also shows the error response (A curve) compared to the temperature sensor. The high gain estimator of the present invention has a lower error response (B curve). The high gain estimator of the present invention has a better transient measurement response.
綜上所述,本發明主要是在既有低頻寬感測器之輸出資訊下,透過感測器本身動態特性之數學模型加以建模,搭配本技術所開發之高增益估測器演算法,來估測外在環境物理量。所得到的估測輸出,與外在環境參考值具有高度匹配行,能有效補償感測器過慢之量測響應,除縮短感測時間,同時亦能有效抑制量測雜訊,達到檢測準確性與即時性之目的。 In summary, the present invention is mainly modeled by the mathematical model of the dynamic characteristics of the sensor itself under the output information of the low-frequency wide sensor, and is matched with the high-gain estimator algorithm developed by the technology. To estimate the physical quantity of the external environment. The estimated output obtained has a highly matching line with the external environmental reference value, which can effectively compensate the measurement response of the sensor too slow, in addition to shortening the sensing time, and effectively suppressing the measurement noise to achieve accurate detection. The purpose of sex and immediacy.
雖然本發明已以較佳實施例揭露,然其並非用以限 制本發明,任何熟習此項技藝之人士,在不脫離本發明之精神和範圍內,當可作各種更動與修飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the invention has been disclosed in the preferred embodiments, it is not intended to be limiting In the present invention, those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, and the scope of the present invention is defined by the scope of the appended claims. .
10‧‧‧感測器 10‧‧‧ Sensors
11‧‧‧嵌入式微處理器 11‧‧‧ embedded microprocessor
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105111330A TWI607200B (en) | 2016-04-12 | 2016-04-12 | Real time sensor system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW105111330A TWI607200B (en) | 2016-04-12 | 2016-04-12 | Real time sensor system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201736802A TW201736802A (en) | 2017-10-16 |
TWI607200B true TWI607200B (en) | 2017-12-01 |
Family
ID=61021748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW105111330A TWI607200B (en) | 2016-04-12 | 2016-04-12 | Real time sensor system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI607200B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0439912B1 (en) * | 1989-11-30 | 1994-08-17 | Texas Instruments Incorporated | Circuit and method for normalizing detector output |
US5642162A (en) * | 1993-12-03 | 1997-06-24 | Sony Corporation | Charge transfer device having a signal processing circuit for correcting output voltage |
US20040066327A1 (en) * | 2001-02-21 | 2004-04-08 | Salmon Neil A | Calibrating radiometers |
TW201321783A (en) * | 2011-11-24 | 2013-06-01 | Ind Tech Res Inst | Calibrating devices and calibrating methods |
-
2016
- 2016-04-12 TW TW105111330A patent/TWI607200B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0439912B1 (en) * | 1989-11-30 | 1994-08-17 | Texas Instruments Incorporated | Circuit and method for normalizing detector output |
US5642162A (en) * | 1993-12-03 | 1997-06-24 | Sony Corporation | Charge transfer device having a signal processing circuit for correcting output voltage |
US20040066327A1 (en) * | 2001-02-21 | 2004-04-08 | Salmon Neil A | Calibrating radiometers |
TW201321783A (en) * | 2011-11-24 | 2013-06-01 | Ind Tech Res Inst | Calibrating devices and calibrating methods |
Also Published As
Publication number | Publication date |
---|---|
TW201736802A (en) | 2017-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI658258B (en) | Process to determine the ambient temperature of a mobile device | |
US20210262981A1 (en) | Sensing Systems and Methods for the Estimation of Analyte Concentration | |
US9927318B2 (en) | Systems and methods that allow for simultaneous sensor and signal conditioning circuit performance testing | |
JP2017514115A (en) | Shunt current measurement with temperature compensation | |
WO2020251931A8 (en) | Gas sensor with separate contaminant detection element | |
CN103825576B (en) | The polynomial filtering fault detection method of nonlinear system | |
WO2018094929A1 (en) | Method and apparatus for estimating temperature | |
US20080136651A1 (en) | Data Fusion Alarm System And Method For Line Type Fire Detector | |
CN106104234B (en) | Method and apparatus for calculating the junction temperature of RF power MOSFET | |
CN108088589B (en) | Device and method for detecting validity of thermistor | |
CN102195541A (en) | PMSM (permanent magnet synchronous motor) for electrical vehicle and temperature detection circuit of controller system | |
CN110161115B (en) | Gas component detection method and system based on sound velocity frequency dispersion intensity change rate | |
TWI607200B (en) | Real time sensor system | |
US20210116423A1 (en) | Particle filter monitoring | |
CN117147022A (en) | Force sensor nonlinear compensation method and system | |
JP4810264B2 (en) | Concentration measuring device | |
CN107228672B (en) | Star sensor and gyroscope data fusion method suitable for attitude maneuver working condition | |
CN115372696A (en) | Grid voltage frequency calculation method and device based on recursive Fourier series | |
JP7407617B2 (en) | Acceleration measurement device and acceleration measurement method | |
JP6188170B2 (en) | Glow plug fault diagnosis method and glow plug fault diagnosis device | |
CN108918971B (en) | Method and device for calculating dynamic equivalent internal resistance | |
US10302515B2 (en) | Inferential sensing engine | |
Sun et al. | Online testing of lumber drying moisture based on layered information fusion | |
Grys et al. | Fast temperature determination using two thermometers with different dynamical properties | |
US20170131250A1 (en) | Device and method for detecting a gas component |