TW201344161A - Self-calibrating tuning fork type sensor and its self-calibrating method - Google Patents

Self-calibrating tuning fork type sensor and its self-calibrating method Download PDF

Info

Publication number
TW201344161A
TW201344161A TW101115033A TW101115033A TW201344161A TW 201344161 A TW201344161 A TW 201344161A TW 101115033 A TW101115033 A TW 101115033A TW 101115033 A TW101115033 A TW 101115033A TW 201344161 A TW201344161 A TW 201344161A
Authority
TW
Taiwan
Prior art keywords
output
module
controller
tuning fork
voltage
Prior art date
Application number
TW101115033A
Other languages
Chinese (zh)
Other versions
TWI521189B (en
Inventor
Ji-Fan Liao
shi-ying Wang
ren-shun Wang
zhao-kai Zheng
Original Assignee
Finetek Co Ltd
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 Finetek Co Ltd filed Critical Finetek Co Ltd
Priority to TW101115033A priority Critical patent/TWI521189B/en
Publication of TW201344161A publication Critical patent/TW201344161A/en
Application granted granted Critical
Publication of TWI521189B publication Critical patent/TWI521189B/en

Links

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Gyroscopes (AREA)

Abstract

This invention relates to a self-calibrating tuning fork type sensor and its self-calibrating method. The tuning fork type sensor comprises a diapason module, a controller, a sensing module, an output module, and a power module. The power module drives the tuning fork module to generate resonance frequency, and the amplitude of the resonance frequency is compared with a built-in voltage reference of a controller, after which a corresponding correction signal is outputted to the power unit so as to adjust the output voltage from the power unit to the diapason module and the controller. The controller is used to continuously compare the output voltage of the sensing module unit and the voltage reference built in the controller, and the output voltage of the power unit is continuously outputted and corrected to change the voltage outputted to the diapason module, until the voltage value of the sensing module unit is matched to the reference voltage, thereby achieving the purpose of self-calibration, allowing application by users to materials of different specific gravity and avoiding detection errors of the specific gravity due to environmental drift.

Description

可自我校正的音叉式感測裝置及其自我校正的方法Self-correcting tuning fork sensing device and self-correcting method thereof

本發明係有關於音叉式感測裝置,尤指一種可自我校正的音叉式感測裝置及其自我校正的方法。The invention relates to a tuning fork type sensing device, in particular to a self-correcting tuning fork type sensing device and a self-correcting method thereof.

坊間化學桶槽、食品工業、石油化學等各類型產業多係利用音叉式感測裝置檢知其倉儲的物、液位高度,便可監控其倉儲內的物料之高度變化,以進一步得知其物料的存量變化,以供使用者參考。Various types of industries such as chemical barrel tanks, food industry, petrochemical industry, etc. use the tuning fork type sensing device to detect the height of the storage and liquid level, and then monitor the height change of the materials in the warehouse to further know its The stock of materials changes for the user's reference.

音叉式感測裝置於使用時,係藉由一控制模組驅動一壓電元件,進而可使一音叉產生共振頻率,透過音叉與物料接觸,可使音叉取得一個頻率訊號並傳送至控制模組,並經由計算其頻率的變化,即可得出該物料的深度,進而可得知該物料於倉儲內的儲量。When the tuning fork type sensing device is used, a piezoelectric element is driven by a control module, so that a tuning fork can generate a resonant frequency, and the tuning fork can contact the material through the tuning fork to obtain a frequency signal and transmit the signal to the control module. And by calculating the change in its frequency, the depth of the material can be obtained, and the reserves of the material in the warehouse can be known.

然不同的物料具有不同的比重,故音叉與物料接觸時所產生的頻率訊號不盡相同,也因此使音叉傳送至控制模組的頻率變化亦不相同,進而造成該音叉感測裝置所計算出來的物料之深度有所誤差,如美國公開第US2006/0053863A1號專利案已揭露如何利用診斷方式來判斷適合作為驅動的振盪部分,此種設計方式除了針對振盪的部份做診斷外,並沒有將不同物料比重所造成的影響列入考慮,這可能使桶槽內物料改變時容易造成計算誤差。However, different materials have different specific gravity, so the frequency signals generated when the tuning fork is in contact with the material are not the same, and thus the frequency change of the tuning fork to the control module is also different, thereby causing the tuning fork sensing device to calculate There is an error in the depth of the material. For example, the US Patent Publication No. US2006/0053863A1 discloses how to use a diagnostic method to determine the portion of the oscillation that is suitable as a drive. This design method does not diagnose the oscillation portion. The effects of the specific gravity of different materials are taken into consideration, which may cause calculation errors when the materials in the tank are changed.

一般相同的物料中,其比重會隨著溫度的變化而變化,如汽油、酒精或鹽水等易因溫度的高低而造成該物料的比重有所飄移,故極易造成音叉式感測裝置的偵測誤差,鑑於上述問題,實有必要檢討,並謀求可行的解決方案。Generally, the specific gravity of the same material will change with the change of temperature. For example, gasoline, alcohol or salt water may cause the specific gravity of the material to drift due to the temperature, so it is easy to cause the detection of the tuning fork type sensing device. In order to measure the error, in view of the above problems, it is necessary to review and seek a feasible solution.

有鑒於上述現有技術的缺點,本發明主要目的係提供一種可自我校正的音叉式感測裝置,主要係藉由不斷地信號回饋以調整感測裝置的感測誤差,藉此提供可適用於各種物質及各種環境的音叉式感測裝置。In view of the above disadvantages of the prior art, the main object of the present invention is to provide a self-correcting tuning fork type sensing device, which mainly adjusts the sensing error of the sensing device by continuously signal feedback, thereby providing applicable to various types. Tuning fork sensing device for materials and various environments.

為達成上述目的所採取的技術手段係令前述音叉式感測裝置包含有:一音叉模組,包含有一音叉組及一個以上的壓電元件,該音叉組係與壓電元件連接;一控制器,具有運算功能,其內部包含有多數個類比數位轉換器、一個以上的數位類比轉換器,另控制器內建有一個以上音叉振盪時具備的電壓參考值;一感測模組,具有一個以上的差動放大器、一個以上的濾波器及一個以上的放大器,該差動放大器輸出端係分別連接至濾波器及控制器的一類比數位轉換器,該濾波器係自差動放大器取得輸出訊號並輸出至放大器,該放大器的輸出端係連接至控制器;一輸出模組,包括一個以上的保護單元及一個以上的狀態輸出器,該保護單元的輸出端係與控制器連接,該狀態輸出器係自控制器及保護單元取得訊號後,以輸出對應的狀態控制訊號;一電源單元,其內設有多數個直流對直流轉換器,且其輸出端係分別連接至前述的控制器、感測模組、輸出模組及音叉模組,其中一直流對直流轉換器的輸出端係連接至音叉模組的壓電元件及控制器的一類比數位轉換器;依照上述構造所構成的音叉式感測裝置,主要係藉由音叉模組的壓電元件自電源單元取得電源後,會因壓電元件電能與機械能互換特性而產生形變,進而使該音叉組共振以產生共振頻率及振幅,其中此振幅會藉由感測模組的差動放大器輸出至控制器,並與內建的電壓參考值相比較,如相符合則維持不變,如預設電壓值不足,則該控制器會輸出一修正訊號至電源單元,以提升該電源單元輸出至壓電元件及控制器內的類比數位轉換器的電壓,進一步使音叉組的壓電元件得以因此提升其振幅,並同時將此電壓與控制器的電壓參考值比較,根據兩者差值再輸出對應的修正訊號,如此重複運作,直至與該電壓參考值相符合後,始表示自我校正完畢,方可透過音叉組與待測物料接觸並取得正確的物料容積訊息;反之該電壓參考值過大時,亦可透過控制器輸出一修正訊號至電源單元以降低該壓電元件之電壓,藉以降低音叉組的振幅,如同前述重複修正,直至此振幅與控制器的內建參考電壓值相符,再以音叉組感測正確的物料之容積訊息,以供使用者得以正確的監控物料容積,如此一來藉由前述控制器重複輸出修正訊號,使達到自我校正的目的,且於不同比重的物料及各種環境所產生比重飄移現象之狀態時,亦可正確的感測倉儲內的物料存量,以避免使用者監控錯誤。The technical means for achieving the above object is that the tuning fork type sensing device comprises: a tuning fork module comprising a tuning fork set and one or more piezoelectric elements, the tuning fork set being connected with the piezoelectric element; a controller It has an arithmetic function, which includes a plurality of analog-to-digital converters and one or more analog-to-digital converters. The controller has built-in voltage reference values for one or more tuning fork oscillations; one sensing module has more than one a differential amplifier, one or more filters, and one or more amplifiers, the differential amplifier outputs are respectively connected to an analog-to-digital converter of the filter and the controller, and the filter obtains an output signal from the differential amplifier and Output to the amplifier, the output of the amplifier is connected to the controller; an output module includes more than one protection unit and more than one status outputter, the output end of the protection unit is connected to the controller, the status outputter After the controller and the protection unit obtain the signal, the corresponding state control signal is output; a power supply unit is included therein. There are a plurality of DC-to-DC converters, and the output ends thereof are respectively connected to the foregoing controller, the sensing module, the output module and the tuning fork module, wherein the output of the DC-DC converter is connected to the tuning fork module. The piezoelectric element of the group and the analog-digital converter of the controller; the tuning fork type sensing device constructed according to the above structure mainly relies on the piezoelectric element of the tuning fork module to obtain power from the power supply unit, and the piezoelectric element The electrical energy and mechanical energy exchange characteristics are deformed, and the tuning fork group is resonated to generate a resonant frequency and amplitude, wherein the amplitude is output to the controller through the differential amplifier of the sensing module, and the built-in voltage reference value In comparison, if the matching is the same, if the preset voltage is insufficient, the controller will output a correction signal to the power supply unit to improve the output of the power unit to the piezoelectric element and the analog digital converter in the controller. The voltage further increases the amplitude of the piezoelectric element of the tuning fork group, and at the same time compares this voltage with the voltage reference value of the controller, and then subtracts the difference according to the difference The corresponding correction signal is repeated until the voltage reference value is met, and the self-correction is completed, so that the tuning fork group can be contacted with the material to be tested to obtain the correct material volume information; otherwise, the voltage reference value is too large. The controller can also output a correction signal to the power supply unit to reduce the voltage of the piezoelectric element, thereby reducing the amplitude of the tuning fork group, as described above, until the amplitude matches the built-in reference voltage value of the controller, and then The tuning fork group senses the volume information of the correct material for the user to properly monitor the volume of the material, so that the correction signal is repeatedly outputted by the controller to achieve the purpose of self-correction, and materials of different specific gravity and various materials. When the environment is in a state of drifting in specific gravity, the stock of materials in the warehouse can be correctly sensed to avoid user monitoring errors.

本發明主要目的係提供一種音叉式感測裝置自我校正的方法,為達成前述目的主要係令前述感測裝置內的控制器執行以下步驟,其包含有:The main purpose of the present invention is to provide a method for self-correction of a tuning fork type sensing device. To achieve the foregoing objective, the controller in the sensing device performs the following steps, which include:

a.開始;Start

b.初始程序,讀取內建的物料之電壓參考值;b. The initial procedure reads the voltage reference value of the built-in material;

c.取得一共振頻率的電壓值;c. obtaining a voltage value of a resonant frequency;

d.比較電壓值大小,係將c步驟的電壓值與電壓參考值相比較,如不符合,則執行e步驟,如符合,則執行h步驟;d. comparing the magnitude of the voltage value, comparing the voltage value of step c with the voltage reference value, if not, performing step e, if yes, performing step h;

e.輸出一修正訊號,使一輸出電壓提升或降低;e. outputting a correction signal to increase or decrease an output voltage;

f.取得修正電壓值;f. obtaining a corrected voltage value;

g.比較電壓值大小,係將f步驟的修正電壓值與電壓參考值相比較,如不符合,則執行e步驟;g. comparing the magnitude of the voltage value, comparing the corrected voltage value of the f step with the voltage reference value, and if not, performing the e step;

h.輸出運算後的物料訊號;h. Output the calculated material signal;

上述音叉式感測裝置自我校正的方法,主要係初始時將音叉組共振時的振幅利用該感測單元的差動放大器輸出至控制器的類比數位轉換器以取得一數位訊號的原電壓值,藉以與控制器內的電壓參考值相互比較電壓大小,如二者不相同,則控制器會輸出一修正訊號至電源單元,使電源單元的直流對直流轉換器可依此修正訊號提高或降低其輸出至壓電元件的電壓,以供音叉模組修正該共振頻率的振幅,同時將此電壓值回授至控制器的類比數位轉換器,進一步與控制器的電壓參考值比較以輸出另一修正訊號,如此重複e步驟至g步驟,直至該修正電壓值與電壓參考值相符合後,始將此修正電壓值輸出至壓電元件以供該音叉組得以共振於適當振幅,並藉此與物料接觸取得其物料訊號,如此一來即可透過自我校正而能正確地偵測其物料的存量,以解決因振幅過大或不足時造成感測多種物料及不同環境下因不同比重下造成偵測誤差之問題。The method for self-correcting the tuning fork type sensing device is mainly to initially output the amplitude of the tuning fork group by the differential amplifier of the sensing unit to the analog digital converter of the controller to obtain the original voltage value of a digital signal. The voltage is compared with the voltage reference value in the controller. If the two are different, the controller outputs a correction signal to the power supply unit, so that the DC-to-DC converter of the power supply unit can improve or reduce the signal according to the correction signal. The voltage output to the piezoelectric element is used by the tuning fork module to correct the amplitude of the resonant frequency, and the voltage value is fed back to the controller's analog digital converter, and further compared with the controller's voltage reference value to output another correction. Signal, repeating the e step to the g step, until the corrected voltage value matches the voltage reference value, and then outputting the corrected voltage value to the piezoelectric element for the tuning fork group to resonate to an appropriate amplitude, thereby using the material Contact to obtain the material signal, so that the self-correction can correctly detect the stock of the material to solve the amplitude Resulting in a variety of materials and sensing under different environmental problems caused by the detection error due to different specific gravity or insufficient.

關於本發明之一實施例,請參閱圖1,該感測裝置係包含有一音叉模組10、一控制器20、一感測模組30、一輸出模組40及一電源單元50,其中:該音叉模組10設有一音叉組11(如圖2所示)及一壓電元件12,該壓電元件12主要係受電源單元50驅動及感測模組30的輸出端回授,始可進一步使音叉組11產生共振。Referring to FIG. 1 , the sensing device includes a tuning fork module 10 , a controller 20 , a sensing module 30 , an output module 40 , and a power unit 50 . The tuning fork module 10 is provided with a tuning fork set 11 (shown in FIG. 2 ) and a piezoelectric element 12 . The piezoelectric component 12 is mainly driven by the power supply unit 50 and the output of the sensing module 30 is returned. The tuning fork group 11 is further caused to resonate.

該控制器20具有運算功能,並設有多數個類比數位轉換器21、26、一個以上的數位類比轉換器22,另控制器20內建有多數個符合不同物料的電壓參考值。The controller 20 has an arithmetic function and is provided with a plurality of analog-to-digital converters 21, 26 and one or more digital analog converters 22. The controller 20 has a plurality of voltage reference values corresponding to different materials.

該感測模組30內設有依序連接的一個以上的差動放大器31、一個以上的濾波器32及一個以上的放大器33,其中差動放大器31輸出端係連接至濾波器32及控制器20的一類比數位轉換器26。The sensing module 30 is provided with one or more differential amplifiers 31, one or more filters 32 and one or more amplifiers 33 connected in sequence, wherein the output of the differential amplifier 31 is connected to the filter 32 and the controller. An analog to digital converter 26 of 20.

該輸出模組40設有一個以上的保護單元及一狀態輸出器43,於本實施例中,計有兩個保護單元,分別為一過電流保護單元41及一電壓保護單元42,該電壓保護單元42係可偵測過高壓及過低壓,該過電流保護單元41及電壓保護單元42係分別自電源單元50取得其輸出電源,藉以判斷電源單元50的輸出電流及輸出電壓,可保護該音叉式感測裝置避免損毀,又該狀態輸出器43係自控制器20及過電流保護單元41與電壓保護單元42取得訊號後以輸出對應的狀態訊號,以供使用者可得知該音叉式感測裝置是否發生異常、有關物料的資訊或藉以控制進料開關以維持物料存量。The output module 40 is provided with one or more protection units and a status output unit 43. In this embodiment, two protection units are provided, which are an overcurrent protection unit 41 and a voltage protection unit 42, respectively. The unit 42 can detect the high voltage and the low voltage. The overcurrent protection unit 41 and the voltage protection unit 42 respectively obtain the output power from the power unit 50, thereby determining the output current and the output voltage of the power unit 50, thereby protecting the tuning fork. The sensor device avoids damage, and the state outputter 43 obtains a signal from the controller 20 and the overcurrent protection unit 41 and the voltage protection unit 42 to output a corresponding status signal, so that the user can know the tuning fork sense. Test equipment for abnormalities, information about materials or to control the feed switch to maintain material inventory.

該電源單元50設有多數個直流對直流轉換器51,且其輸出端係分別連接至前述的音叉模組10、控制器20、感測模組30及輸出模組40,於本實施例中,其中一直流對直流轉換器51係對應至音叉模組10,使可驅動該壓電元件12並使音叉組11產生共振。The power supply unit 50 is provided with a plurality of DC-to-DC converters 51, and the output ends thereof are respectively connected to the aforementioned tuning fork module 10, the controller 20, the sensing module 30 and the output module 40, in this embodiment. The DC-to-DC converter 51 corresponds to the tuning fork module 10 so that the piezoelectric element 12 can be driven and the tuning fork group 11 can resonate.

該音叉式感測裝置於本實施例中進一步設有一使用者5介面60,其包含有一測試單元61及一顯示單元62,該測試單元61係與控制器20連接,主要係供使用者簡易測試該音叉式感測裝置是否有異常,使能快速地初步檢知,另顯示單元62係接收控制器20及輸出模組40的狀態輸出器43之狀態訊號,並依其狀態訊號顯示其所對應的燈號或影像等以供使用者即時得知監控。The tuning fork type sensing device is further provided with a user 5 interface 60, which includes a testing unit 61 and a display unit 62. The testing unit 61 is connected to the controller 20, and is mainly used for simple testing by the user. Whether the tuning fork type sensing device has an abnormality, enabling rapid initial detection, and the display unit 62 receives the status signals of the controller 20 and the status outputter 43 of the output module 40, and displays the corresponding signals according to the status signals thereof. The light number or image, etc., for the user to immediately know the monitoring.

上述音叉模組10的壓電元件12係於第一次送入驅動電壓之後,該壓電元件12即進行自振產生一第一時脈訊號,該第一時脈訊號經由感測模組30而於放大器33輸出端產生一第二時脈訊號,此第二時脈訊號係用以回授推動壓電元件12,其第一、第二時脈訊號之相位差可達90度或180度,另該感測模組30的放大器33輸出端的第二時脈訊號會回授至音叉模組10,以提供該壓電元件12一方波訊號,藉此方波訊號可提供該壓電元件12維持固定頻率振盪。After the piezoelectric element 12 of the tuning fork module 10 is sent to the driving voltage for the first time, the piezoelectric element 12 is self-oscillated to generate a first clock signal, and the first clock signal is transmitted through the sensing module 30. A second clock signal is generated at the output of the amplifier 33, and the second clock signal is used to feedback the piezoelectric element 12, and the phase difference between the first and second clock signals can reach 90 degrees or 180 degrees. The second clock signal at the output of the amplifier 33 of the sensing module 30 is fed back to the tuning fork module 10 to provide a square wave signal of the piezoelectric element 12, and the square wave signal can provide the piezoelectric element 12 Maintain a fixed frequency oscillation.

另於本實施例中,上述控制器20進一步設有一偵測錯誤單元23、一限流器24及一頻率計算器25,該偵測錯誤單元23主要係偵測該音叉式感測裝置因外力或電路關係使其控制器20頻率計算器25計算出來的頻率是否於非預期的範圍內,並將其偵測結果輸出至使用者介面60的顯示單元62顯示或透過輸出單元40輸出,另限流器24主要係讀取輸出模組40中的過電流保護單元41之輸出訊號,當偵測發生有過電流狀況發生時,該限流器24則會關閉狀態輸出器43,藉此可減少其電流流量,以避免持續性的過電流產生而造成損毀,並顯示於使用者介面60的顯示單元提供告警,確保使用端的安全。又該頻率計算器25內建有一預設值,其主要係計算經由感測模組30運算後的頻率,始可依其頻率進一步得知該音叉組11所偵測的物料係為何種物料,並顯示於使用者介面60的顯示單元62或透過輸出模組40輸出,當頻率計算器25計算出的頻率小於或是大於該預設值,則將其顯示於使用者介面60的顯示單元,藉以告知目前的音叉組11其音叉可能因為外力撞擊損壞或是腐蝕而造成動作異常,並關閉輸出模組40中的狀態輸出器43,確保使用端的安全。In addition, in the embodiment, the controller 20 further includes a detection error unit 23, a current limiter 24, and a frequency calculator 25. The detection error unit 23 mainly detects the external force of the tuning fork type sensing device. Or the circuit relationship is such that the frequency calculated by the controller 20 frequency calculator 25 is within an unintended range, and the detection result is outputted to the display unit 62 of the user interface 60 for display or output through the output unit 40, and the limit is limited. The streamer 24 mainly reads the output signal of the overcurrent protection unit 41 in the output module 40. When an overcurrent condition occurs, the current limiter 24 turns off the state outputter 43, thereby reducing The current flow is prevented from causing damage due to continuous overcurrent generation, and the display unit displayed on the user interface 60 provides an alarm to ensure the safety of the use end. The frequency calculator 25 has a built-in preset value, which mainly calculates the frequency calculated by the sensing module 30, and further knows according to the frequency, what material is detected by the tuning fork group 11 . And displayed on the display unit 62 of the user interface 60 or outputted through the output module 40. When the frequency calculated by the frequency calculator 25 is less than or greater than the preset value, it is displayed on the display unit of the user interface 60. Therefore, the current tuning fork group 11 can be informed that its tuning fork may cause abnormal operation due to external impact damage or corrosion, and the state output device 43 in the output module 40 is turned off to ensure the safety of the use end.

依上述構造所構成的音叉式感測裝置,主要係透過電源單元50驅動音叉模組10的壓電元件12使能自振,進而使音叉組11得以共振,再藉由音叉組11與物料接觸而取得物料訊號,此物料訊號經由感測單元30後並輸出至控制器20,以透過控制器20運算即可得知正確的物料存量,其中,為避免音叉組11感測誤差,主要係透過控制器20分別取得差動放大器31的輸出電壓及電源單元50輸出至音叉模組10的壓電元件12之輸出電壓,初始時先透過電源單元50輸出至壓電元件12以供自振,並令音叉組11共振,此時透過差動放大器31取得音叉模組10共振的輸出振幅電壓,並令其與控制器20的參考電壓值相比,如相等,則無須變更任何設定,並藉由控制器20輸出至使用者介面60的顯示單元62及輸出模組40,如不相等,則利用控制器20輸出一修正訊號至控制電源單元50,進一步調整電源單元50輸出至該壓電元件12的電壓值,同時將此電壓值回授至控制器20以再次與該電壓參考值比較,如此重複運作,直至電源單元50的輸出電壓與控制器20的電壓參考值相等時,即維持該電源單元50輸出至壓電元件12的輸出電壓,使能進一步讓該音叉組11振盪至適當的幅度以取得正確的物料訊號,如此一來使用者即可正確得知物料的存量,且藉此可透過該音叉式感測裝置的自我校正的功能,可讓使用者方便地使用於各種比重的物料,並且無須擔心其溫度高低所造成比重飄移而使偵測出現誤差。The tuning fork type sensing device constructed as described above mainly drives the piezoelectric element 12 of the tuning fork module 10 through the power supply unit 50 to enable self-vibration, thereby causing the tuning fork group 11 to resonate, and then contacting the material by the tuning fork group 11 The material signal is obtained, and the material signal is outputted to the controller 20 through the sensing unit 30, so as to obtain the correct material inventory through the operation of the controller 20, wherein, in order to avoid the sensing error of the tuning fork group 11, the main transmission is The controller 20 obtains the output voltage of the differential amplifier 31 and the output voltage of the piezoelectric element 12 output from the power supply unit 50 to the tuning fork module 10, and initially outputs the piezoelectric element 12 to the piezoelectric element 12 for self-vibration through the power supply unit 50, and The tuning fork group 11 is resonated. At this time, the output amplitude voltage of the resonance of the tuning fork module 10 is obtained through the differential amplifier 31, and if it is equal to the reference voltage value of the controller 20, it is not necessary to change any setting, and by The controller 20 outputs the display unit 62 and the output module 40 to the user interface 60. If not, the controller 20 outputs a correction signal to the control power unit 50 to further adjust the power unit. 50 is output to the voltage value of the piezoelectric element 12, and the voltage value is fed back to the controller 20 to be compared with the voltage reference value again, and the operation is repeated until the output voltage of the power supply unit 50 and the voltage reference of the controller 20 are When the values are equal, the output voltage of the power unit 50 is output to the piezoelectric element 12, so that the tuning fork group 11 can be further oscillated to an appropriate amplitude to obtain a correct material signal, so that the user can correctly know. The stock of materials, and through the self-correcting function of the tuning fork type sensing device, allows the user to conveniently use materials of various specific gravity, and does not have to worry about the temperature shift caused by the temperature difference, and the detection error occurs. .

由上述說明可知,本發明進一步使前述控制器提供一種音叉式感測裝置自我校正的方法,其包含有(如圖3所示):It can be seen from the above description that the present invention further provides the foregoing controller with a method for self-correcting the tuning fork type sensing device, which includes (as shown in FIG. 3):

a.開始;Start

b.初始程序,讀取內建的物料之電壓參考值;b. The initial procedure reads the voltage reference value of the built-in material;

c.取得一共振頻率的電壓值;c. obtaining a voltage value of a resonant frequency;

d.比較電壓值大小,係將c步驟的電壓值與電壓參考值相比較,如不符合,則執行e步驟,如符合,則執行h步驟;d. comparing the magnitude of the voltage value, comparing the voltage value of step c with the voltage reference value, if not, performing step e, if yes, performing step h;

e.輸出一修正訊號,使一輸出電壓提升或降低;e. outputting a correction signal to increase or decrease an output voltage;

f.取得修正電壓值;f. obtaining a corrected voltage value;

g.比較電壓值大小,係將f步驟的修正電壓值與電壓參考值相比較,如不符合,則執行e步驟;g. comparing the magnitude of the voltage value, comparing the corrected voltage value of the f step with the voltage reference value, and if not, performing the e step;

h.輸出運算後的物料訊號。h. Output the calculated material signal.

上述音叉式感測裝置自我校正的方法,主要係初始時將該音叉組11共振頻率的振幅利用感測單元30的差動放大器31輸出至控制器20的類比數位轉換器26,藉以取得一數位訊號,供控制器20透過此數位訊號可得知該振幅的一原電壓值,藉以與控制器20內的電壓參考值相互比較電壓大小,如二者不相同,則控制器20會輸出一修正訊號至電源單元50,使電源單元50的直流對直流轉換器51可依此修正訊號提高或降低其輸出至壓電元件12的修正電壓值,如此重複e步驟至g步驟,直至該修正電壓值與電壓參考值相符合後,始將此修正電壓值輸出至壓電元件12,如此一來即可達到自我校正的音叉式感測裝置,以供該音叉模組10得以共振於適當的振幅,並供該感測器能正確地偵測其物料的存量,且可適用於多種比重的物料,且亦可使用於不同環境所造成的比重誤差之狀態,又該修正電壓值亦同時回授至控制器20,並由類比數位轉換器21讀入,且與電壓參考值比較,接著使控制器20輸出另一修正訊號至電源單元50,藉以輸出另一對應的修正電壓值,藉以增加其校正的效率以穩定修正後的值。The method for self-correcting the tuning fork type sensing device is mainly to initially output the amplitude of the resonance frequency of the tuning fork group 11 to the analog digital converter 26 of the controller 20 by using the differential amplifier 31 of the sensing unit 30, thereby obtaining a digital position. a signal for the controller 20 to know the original voltage value of the amplitude through the digital signal, so as to compare the voltage with the voltage reference value in the controller 20, if the two are different, the controller 20 outputs a correction. The signal is sent to the power supply unit 50, so that the DC-to-DC converter 51 of the power supply unit 50 can correct or decrease the output voltage of the output voltage to the piezoelectric element 12 according to the correction signal, and then repeat the steps e to g until the corrected voltage value After the voltage reference value is matched, the corrected voltage value is output to the piezoelectric element 12, so that the self-correcting tuning fork sensing device can be realized, so that the tuning fork module 10 can resonate to an appropriate amplitude. And the sensor can correctly detect the stock of materials, and can be applied to materials of various specific gravity, and can also be used in the state of specific gravity caused by different environments, and The corrected voltage value is also fed back to the controller 20 and read by the analog digital converter 21, and compared with the voltage reference value, and then the controller 20 outputs another correction signal to the power supply unit 50, thereby outputting another corresponding The voltage value is corrected to increase the efficiency of its correction to stabilize the corrected value.

10...音叉模組10. . . Tuning fork module

11...音叉組11. . . Tuning fork set

12...壓電元件12. . . Piezoelectric element

20...控制器20. . . Controller

21...類比數位轉換器twenty one. . . Analog digital converter

22...數位類比轉換器twenty two. . . Digital analog converter

23...偵測單元twenty three. . . Detection unit

24...限流器twenty four. . . Current limiter

25...頻率計算器25. . . Frequency calculator

26...類比數位轉換器26. . . Analog digital converter

30...感測模組30. . . Sensing module

31...差動放大器31. . . Differential amplifier

32...濾波器32. . . filter

33...放大器33. . . Amplifier

40...輸出模組40. . . Output module

41...過電流保護單元41. . . Overcurrent protection unit

42...電壓保護單元42. . . Voltage protection unit

43...狀態輸出器43. . . Status exporter

50...電源單元50. . . Power unit

51...直流對直流轉換器51. . . DC to DC converter

60...使用者介面60. . . user interface

61...測試單元61. . . Test unit

62...顯示單元62. . . Display unit

圖1:係為本發明之方塊圖。Figure 1: is a block diagram of the present invention.

圖2:係為本發明之剖面圖。Figure 2 is a cross-sectional view of the present invention.

圖3:係為本發明之控制器流程圖。Figure 3 is a flow chart of the controller of the present invention.

10...音叉模組10. . . Tuning fork module

11...音叉組11. . . Tuning fork set

12...壓電元件12. . . Piezoelectric element

20...控制器20. . . Controller

21...類比數位轉換器twenty one. . . Analog digital converter

22...數位類比轉換器twenty two. . . Digital analog converter

23...偵測單元twenty three. . . Detection unit

24...限流器twenty four. . . Current limiter

25...頻率計算器25. . . Frequency calculator

26...類比數位轉換器26. . . Analog digital converter

30...感測模組30. . . Sensing module

31...差動放大器31. . . Differential amplifier

32...濾波器32. . . filter

33...放大器33. . . Amplifier

40...輸出模組40. . . Output module

41...過電流保護單元41. . . Overcurrent protection unit

42...電壓保護單元42. . . Voltage protection unit

43...狀態輸出器43. . . Status exporter

50...電源單元50. . . Power unit

51...直流對直流轉換器51. . . DC to DC converter

60...使用者介面60. . . user interface

61...測試單元61. . . Test unit

62...顯示單元62. . . Display unit

Claims (7)

一種可自我校正的音叉式感測模組,其包含有:一音叉模組,包含有一音叉組及一個以上的壓電元件,該音叉組係分別與壓電元件連接;一控制器,具有運算功能,其內部包含有多數個類比數位轉換器、一個以上的數位類比轉換器,另控制器內建有多數個符合不同物料的電壓參考值;一感測模組,具有一個以上的差動放大器、一個以上的濾波器及一個以上的放大器,該差動放大器輸出端係分別連接至濾波器及控制器的一類比數位轉換器,該濾波器係自差動放大器取得輸出訊號並輸出至放大器,該放大器的輸出端係連接至控制器;一輸出模組,包括一個以上的保護單元及一狀態輸出器,該保護單元的輸出端係與控制器連接,該狀態輸出器係自控制器及保護單元取得訊號後,以輸出對應的狀態訊號;一電源單元,其內設有多數個直流對直流轉換器,且其輸出端係分別連接至前述的控制器、感測模組、輸出模組及音叉模組,其中一直流對直流轉換器的輸出端係連接至音叉模組的壓電元件及控制器的一類比數位轉換器。A self-correcting tuning fork type sensing module, comprising: a tuning fork module comprising a tuning fork set and one or more piezoelectric elements, the tuning fork set being respectively connected with the piezoelectric element; a controller having an operation Function, which contains many analog-to-digital converters and more than one analog-to-digital converter. The controller has built-in voltage reference values for different materials. One sensing module has more than one differential amplifier. More than one filter and one or more amplifiers, the differential amplifier output is respectively connected to an analog-to-digital converter of the filter and the controller, and the filter obtains an output signal from the differential amplifier and outputs the signal to the amplifier. The output end of the amplifier is connected to the controller; an output module includes more than one protection unit and a status outputter, and the output end of the protection unit is connected to the controller, and the status output device is self-controller and protection After the unit obtains the signal, it outputs a corresponding status signal; a power supply unit having a plurality of DC-to-DC converters therein, and The output ends are respectively connected to the foregoing controller, the sensing module, the output module and the tuning fork module, wherein the output of the DC-to-DC converter is connected to the analog component of the tuning element module and the controller Digital converter. 如請求項1所述之可自我校正的音叉式感測模組,該音叉式感測模組進一步設有一使用者介面,其內包含有一測試單元及一顯示單元;該顯示單元係分別自控制器及輸出模組取得其輸出訊號;該測試單元係與控制器連接。The self-correcting tuning fork sensing module of claim 1, wherein the tuning fork sensing module further comprises a user interface, comprising a test unit and a display unit; the display unit is separately controlled And the output module obtains its output signal; the test unit is connected to the controller. 如請求項2所述之可自我校正的音叉式感測模組,該輸出模組的保護器係包含有一過電流保護單元及一電壓保護單元;該過電流保護單元係自電源單元輸入電流,並輸出至控制器及該狀態輸出器;該電壓保護單元係可偵測過電壓及過低壓,其係自電源單元輸入電壓,並輸出至狀態輸出器。The self-correcting tuning fork sensing module of claim 2, wherein the protector of the output module comprises an overcurrent protection unit and a voltage protection unit; the overcurrent protection unit is configured to input current from the power supply unit. And output to the controller and the state output device; the voltage protection unit is capable of detecting overvoltage and overvoltage, which is input voltage from the power supply unit and output to the state output device. 如請求項1至3項中任一項所述之可自我校正的音叉式感測模組,該控制器進一步設有一偵測錯誤單元、一頻率計算器、限流器;該偵測錯誤單元係輸出至使用者介面的顯示單元或輸出模組的狀態輸出器;該頻率計算器係取得感測模組的輸出訊號以計算其訊號頻率,並輸出至偵測錯誤單元;該限流器係取得輸出模組的過電流保護單元的輸出訊號,藉以可關閉控制器。The self-correcting tuning fork sensing module according to any one of claims 1 to 3, wherein the controller further comprises a detecting error unit, a frequency calculator, and a current limiter; the detecting error unit Outputting to the display unit of the user interface or the status output of the output module; the frequency calculator obtains the output signal of the sensing module to calculate the signal frequency, and outputs the signal to the detection error unit; the current limiter is The output signal of the overcurrent protection unit of the output module is obtained, so that the controller can be turned off. 如請求項4所述之可自我校正的音叉式感測模組,該感測模組的回授訊號與該感測模組的差動放大器的輸入端之相位差為90度。The self-correcting tuning fork sensing module of claim 4, wherein the feedback module has a phase difference of 90 degrees from the input end of the differential amplifier of the sensing module. 如請求項4所述之可自我校正的音叉式感測模組,該感測模組的回授訊號與該感測模組的差動放大器的輸入端之相位差為180度。The self-correcting tuning fork sensing module of claim 4, wherein the feedback module has a phase difference of 180 degrees from the input end of the differential amplifier of the sensing module. 一種音叉式感測裝置自我校正的方法,主要係由請求項1至6中任一項所述之控制器所執行,其包含有:a.開始;b.初始程序,讀取內建的物料之電壓參考值;c.取得一物料訊號的電壓值;d.比較電壓值大小,係將c步驟的電壓值與電壓參考值相比較,如不符合,則執行e步驟,如符合,則執行h步驟;e.輸出一修正訊號,使一輸出電壓提升或降低;f.取得修正電壓值;g.比較電壓值大小,係將f步驟的修正電壓值與電壓參考值相比較,如不符合,則執行e步驟;h.輸出運算後的物料訊號。A method for self-correcting a tuning fork type sensing device, which is mainly executed by a controller according to any one of claims 1 to 6, which comprises: a. starting; b. initial procedure, reading built-in materials The voltage reference value; c. obtain the voltage value of a material signal; d. compare the voltage value, compare the voltage value of the c step with the voltage reference value, if not, perform the e step, if yes, execute h step; e. outputting a correction signal to increase or decrease an output voltage; f. obtaining a corrected voltage value; g. comparing the magnitude of the voltage value, comparing the corrected voltage value of the f step with a voltage reference value, if not , then perform the e step; h. output the material signal after the operation.
TW101115033A 2012-04-27 2012-04-27 Self - correcting tuning - fork sensing device and its self - correcting method TWI521189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101115033A TWI521189B (en) 2012-04-27 2012-04-27 Self - correcting tuning - fork sensing device and its self - correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101115033A TWI521189B (en) 2012-04-27 2012-04-27 Self - correcting tuning - fork sensing device and its self - correcting method

Publications (2)

Publication Number Publication Date
TW201344161A true TW201344161A (en) 2013-11-01
TWI521189B TWI521189B (en) 2016-02-11

Family

ID=49990154

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101115033A TWI521189B (en) 2012-04-27 2012-04-27 Self - correcting tuning - fork sensing device and its self - correcting method

Country Status (1)

Country Link
TW (1) TWI521189B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741789A (en) * 2020-05-28 2021-12-03 瑞昱半导体股份有限公司 Signal processing system and operation method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11614026B2 (en) 2019-11-25 2023-03-28 Wheeler Fleet Solutions, Co. Interchangeable coolant sensor for vehicle applications and methods of manufacture and use thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741789A (en) * 2020-05-28 2021-12-03 瑞昱半导体股份有限公司 Signal processing system and operation method thereof

Also Published As

Publication number Publication date
TWI521189B (en) 2016-02-11

Similar Documents

Publication Publication Date Title
JP5820368B2 (en) Field equipment having measurement accuracy reporting function and process parameter measurement method
US10444192B2 (en) Environment measuring device and environment measuring method
JP2008057988A (en) Digital gravimeter
JP2012524935A5 (en) Field equipment with measurement accuracy reporting function
CN104865411B (en) Dynamics compensation circuits
TW201344161A (en) Self-calibrating tuning fork type sensor and its self-calibrating method
JP6141691B2 (en) Pressure calibration device
CN101608927B (en) System and method for objective self-diagnosis of measurement device calibration condition
JP4770916B2 (en) Electronic price tag system
US9417150B2 (en) Pressure transmitter for measuring the pressure of a process fluid and related method
KR102032292B1 (en) Method of manufacturing proximity sensor and manufacturing system for proximity sensor
JP6054788B2 (en) Storage battery residual quantity estimation device and residual quantity estimation method
US11293790B2 (en) Piezoelectric transducer condition monitoring
JP2005180927A (en) Impedance-measuring instrument
JP4537438B2 (en) Encoder and motor control device
JP2018009855A (en) Sensor device
JP5601258B2 (en) Environmental monitoring device
JP6091105B2 (en) Physical quantity measuring apparatus and physical quantity measuring method
TWI481826B (en) Optimized phase modulation level detection tuning fork
KR20150129575A (en) Foreign object detection apparatus for wireless charger
JP3153812U (en) Force detection device
JP7301050B2 (en) Method and device for performing said method for detecting malfunction of an acoustic sensor coupled to an electrochemical generator
JP2013003033A (en) Battery life estimation apparatus
CN117093029A (en) Temperature rise abnormality detection system and temperature rise abnormality detection method for electric equipment
JP5226141B1 (en) Ultrasonic cleaning device and power control method thereof