1293121 九、發明說明: 【發明所屬之技術領域】 本發明係有關一種感测元件自動债測系統,尤指一種 能夠自動分辨感測元件(電阻型、電容型或電感型)之規 格種類的系統,並自動切換至專屬的量測電路,以進行待 測環境量測,且把量测數值自動傳輸到電腦上,再自動繪 製量測分析圖表,將數據加以紀錄、儲存,而達到即時量 測的目的之感测元件自動偵測系統。 【先前技術】 一般在控制系統上,經常需要使用到不同種類的感測 元件,這些感測元件把感測到的變化量轉換成回授信號, 而回授信號不外乎就是由電阻、電容或電感的變化所產生 之電壓、電流與電荷之變化。目前市面上,可以找到簡單 功能的接收模組,此接收模組能將信號加以擷取與紀錄, 以提供系統所需的分析。 然而,由於這些模組都是零散分開的,只適用於單一 功能的特定規格,若要使用不同回授信號的感測元件時, 就同時需要有多種獨立模組,如此一來,多種模組所組成 的控制系統就顯得相當複雜,不同系統間之信號連接和處 理不容易,雜訊也較多,量測效能差且成本高。另外,這 些感测元件電阻、電容或電感所感測出的變化量係相當微 小,唯有使用多功能且高精密度的訊號量測系統,才能將 這些微小的變化量擷取出來,並作進一步的運用,但是此 類多功能且高精密度的訊號量測系統之缺點,在於價格昂 5 1293121 貴,使用上也相當複雜。 故,如何運用市面上現有的電子元件而設計出具有簡 單操作、價格低廉、擴充性能佳等優點的自動化感測偵測 系統,乃是本發明研究之重點。 【發明内容】 本發明之主要目的,在於解決上述的問題而提供一種 感测元件自動偵測系統,此系統是以現有不同的電阻、電 容和電感量測系統為設計基礎,重新設計及加以整合,使 _ 不同感測元件之感測信號可被自動判斷量測出來,並同時 設計傳輸接收機構與分析功能,以得知待分析之感測元件 的變化量,且清楚判定元件屬性,然後,適當切換到該元 件專屬的量測電路,最終正確的量測數值會透過串列通訊 傳輸的方式,將所得到的量測數值傳入電腦,而再由電腦 端所設計的接收程式分析其量測的結果,以及將數值顯示 在監控螢幕上,並藉由所設計的程式以繪製圖表方式而清 晰顯示分析量測結果,且將量測分析數據加以儲存,作為 φ 將來欲作其他運用時,可以擷取出來再作進一步的分析, 而提供多元化的用途。 為達前述之目的,本發明係包括: 一電源整流變壓電路,此電源整流變壓電路係供該系 統直流電與交流電之定電壓電源。 一偵測與量测裝置,此偵測與量测裝置上更設置有一 待測座,此待測座係供一待測之感測元件放置。 一顯示裝置,此顯示裝置係以視覺化顯示此偵測與量 6 1293121 测裝置所量測的數值。 其中,此偵測與量测裝置包含·· 正弦波產生電路,此正弦波產生電路藉由該電源整 =壓電路所提供之交流電壓源而輪出—正弦波訊號,並 透過-電流放大電路,而輸㈣率較大的正减訊號。 H流電輸人匹配電阻,該第—直流電輸入匹配 =接受來自㈣源整流變壓電路之直流電壓源的供應, ^連結於該勒放大電路之輪_,且更連接有—正弦波 =入匹配電阻;而該第一直流電輪入匹配電阻與該正弦波 輸入匹配電阻則-同連結於—量測組類比多工器。 -第二直流電輸人匹配電阻,該第二直流電輪入匹配 電阻亦連結於該電流放大電路之輪_,該第二直流電輸 入匹配電阻之輸出端則連結有—對照組類比多卫器。 該量測組類比多工器係連結於該待測座,以供將流經 該待/則座之正弦波δίΐ號繼績送至一電壓比較器,並透過一 量測組轉換電路,將原屬類比波形之正弦波訊號轉換為一 量測組數位訊號,再將該量測組數位訊號分別送至一計時 器及一微處理器。 該對照組類比多工器係將該正弦波訊號送至該電壓比 較器,並經由-對照組轉換電路,將原屬類比波形之正弦 波訊號轉換為一對照組數位訊號,再將該對照組數位訊號 分別送至該計時器及該微處理器内。 該計時器係藉由内部所具之-邏輯比較器而讀出該量 測組轉換電路之輸出量測組數位訊號波形與該對照組轉換 7 1293121 電路之輸出對照組數位訊號波形之間的相位墓 位的領先與落後的關係,而判斷出該感測元侏”侠照相 將判斷結果的訊號送至該微處理器。 賴,息 該待測座更連結一類比數位轉換器,該類t 器係供量測直流電流經電阻型之感測元件的輪數饮轉換 號,並將該輸出電壓訊號轉換成數位訊號,教電壓tn 理器内加以分析,而計算出該電阻型感測元件的入讀彳後處1293121 IX. Description of the Invention: [Technical Field] The present invention relates to a sensing component automatic debt measuring system, and more particularly to a system capable of automatically distinguishing a sensing component (resistive, capacitive or inductive) And automatically switch to the dedicated measurement circuit to measure the environment to be tested, and automatically transfer the measured value to the computer, then automatically draw the measurement analysis chart, record and store the data, and achieve real-time measurement The purpose of the sensing component automatic detection system. [Prior Art] Generally, in the control system, it is often necessary to use different kinds of sensing elements, which convert the sensed change into a feedback signal, and the feedback signal is nothing more than a resistor or a capacitor. Or changes in voltage, current, and charge produced by changes in inductance. At present, a simple function receiving module can be found on the market, which can capture and record signals to provide the analysis required by the system. However, since these modules are scattered and separated, they are only applicable to specific specifications of a single function. If different sensing elements of feedback signals are to be used, multiple independent modules are required at the same time. The control system is quite complicated, the signal connection and processing between different systems is not easy, the noise is also more, the measurement performance is poor and the cost is high. In addition, the amount of change sensed by the resistance, capacitance, or inductance of these sensing components is quite small. Only by using a versatile and high-precision signal measurement system can these small changes be taken out and further The use of this type of versatile and high-precision signal measurement system is that the price is very high, and the use is quite complicated. Therefore, how to design an automated sensing detection system with the advantages of simple operation, low price, and good expansion performance by using the existing electronic components on the market is the focus of the research of the present invention. SUMMARY OF THE INVENTION The main object of the present invention is to solve the above problems and provide an automatic detection system for sensing components. The system is designed and redesigned and integrated based on different resistance, capacitance and inductance measurement systems. So that the sensing signals of different sensing components can be automatically determined, and the transmission receiving mechanism and the analysis function are simultaneously designed to know the variation of the sensing components to be analyzed, and the component properties are clearly determined. Then, Properly switch to the measurement circuit of the component, and finally the correct measurement value will be transmitted to the computer through the serial communication transmission method, and then the receiving program designed by the computer will analyze the amount. The result of the test, and the numerical value displayed on the monitoring screen, and the designed measurement result is clearly displayed by the designed program, and the measurement and analysis data is stored, as φ, for other applications in the future, It can be extracted for further analysis and provides a variety of uses. To achieve the foregoing objects, the present invention comprises: a power rectification transformer circuit for supplying a constant voltage source for direct current and alternating current of the system. A detecting and measuring device is further disposed on the detecting and measuring device, and the device to be tested is placed for a sensing component to be tested. A display device for visually displaying the detected value and the amount measured by the measuring device. Wherein, the detecting and measuring device comprises: a sine wave generating circuit, wherein the sine wave generating circuit turns out by the AC voltage source provided by the power supply voltage=voltage signal, and transmits the current through the current source The circuit, while the (four) rate is larger, the positive decrement signal. H-current input matching resistor, the first-DC input matching = accepting the supply of the DC voltage source from the (4) source rectification transformer circuit, ^ connected to the wheel of the amplifier circuit, and more connected with - sine wave = input The matching resistance is coupled to the first DC electric wheel matching matching resistor and the sine wave input matching resistor - the same as the - measuring group analog multiplexer. - a second direct current input matching resistor, the second direct current input matching resistor is also coupled to the current amplifier circuit wheel _, and the second direct current input matching resistor output is coupled to the control group analog multi-guard. The measuring group analog multiplexer is coupled to the to-be-tested block for transmitting the sine wave δίΐ of the to-be-seat/seat to a voltage comparator, and through a measuring group conversion circuit, The sinusoidal signal of the original analog waveform is converted into a measurement group digital signal, and the measurement group digital signal is sent to a timer and a microprocessor respectively. The control analog multiplexer sends the sine wave signal to the voltage comparator, and converts the sinusoidal signal of the original analog waveform into a control digital signal via the control-conversion circuit, and then the control group Digital signals are sent to the timer and the microprocessor. The timer reads the phase between the output measurement group digital signal waveform of the measurement group conversion circuit and the output control digital signal waveform of the control group 7 7293121 circuit by the internal logic comparator. The relationship between the lead and the backward position of the tomb is judged by the sensory 侏 侏 侠 侠 将 将 将 将 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 侠 息 息 息 息 息 息 息 息 息 息 息 息 息The device is configured to measure the DC current through the resistance number of the resistance component of the resistance type, convert the output voltage signal into a digital signal, and analyze the voltage tn in the processor to calculate the resistance type sensing component. After reading
該量測組類比多工器與該對照組類比多上器電卩且值。 連結,並接受該微處理器所分析決定之感測元件係彳皮此相 制訊號,而使該量測組類比多工器切換至合適的^4_的控 該微處理器更將最後分析、量測的數值傳、、惠剛電略。 裝置作顯示。 逢至讀 本發明之上述及其他目的與優點,不難從卞、、 實施例之詳細說明與附圖中,獲得深入了解。塊所選用 當然,本發明在某些另件上,或另件之安拂 ^ 所不同,但所選用之實施例,則於本說明書中,上谷許有 說明,並於附圖中展示其構造。 予以祥細 【實施方式】 請參閱第1圖至第4圖,圖中所示者為本發明所選用 之實施例架構,此僅供說明之用,在專利申請上並不受此 種架構之限制。 本實施例之感测元件自動偵測系統,其包括: 一電源整流變壓電路1,此電源整流變壓電路1係供 應該系統直流電1 1與交流電1 2之定電壓電源,於本實 8 1293121 施例中所供應之定電壓電源為±5伏特與 甘 中,電源整流變壓電路i係具有多數裝置有 、:二 子電壓調節器1 3、一變壓哭1 4· 月…片之二端 命初併 〇σ 1 4、一保險絲1 5、多數 電解貝電容1 6、多數二極體17及一;LPm , ^ ^ L E D電源指示燈 8 ’以構成整㈣壓電路。此三端子電壓 線^壓調整器除了具有電壓調節功能之外,同;;也有= 電流、過熱及輸出短路之保護功能。 偵測與里测裝置2,此偵測與量测裝置2上更設置 有一待測座3,此待測座3係供一欲待測之感測元件4的 放置。其中,感測元件4可為電阻型、電容型、電感型之 其中一種。 一顯示裝置5,此顯示裝置5係以視覺化顯示此偵測 與量测裝置2所量測的數值。 其中,此偵測與量测裝置2係包含:The metrology multiplexer of the measurement group is analogous to the control group and has a value. The sensing component that is connected and accepted by the microprocessor analyzes the phase signal, and the analog group of the measurement group is switched to the appropriate ^4_ control. , the measured value of the transmission, Hui Gang slightly. The device is displayed. The above and other objects and advantages of the present invention will become more apparent from the detailed description and the appended claims. The selection of the block of course, the invention is different on some parts, or the parts of the other parts, but the selected embodiment is described in the specification, and the structure is shown in the figure. . [Embodiment] Please refer to Fig. 1 to Fig. 4, which shows the structure of the embodiment selected for the present invention. This is for illustrative purposes only and is not subject to such a structure. limit. The sensing component automatic detecting system of the embodiment comprises: a power rectifying transformer circuit 1 , wherein the power rectifying transformer circuit 1 supplies a constant voltage power source of the system DC 1 1 and AC 1 2 in the real 8 1293121 The constant voltage power supply supplied in the example is ±5 volts and Ganzhong. The power rectification transformer circuit i has many devices, including: two sub-voltage regulators, one, one transformer, one cry, and one. End of life and 〇 σ 1 4, a fuse 1 5, a majority of electrolytic shell capacitors 16 , most of the diodes 17 and one; LPm , ^ ^ LED power indicator 8 ' to form a whole (four) voltage circuit. In addition to the voltage regulation function, the three-terminal voltage line voltage regulator has the same protection functions as current, overheat and output short circuit. The detecting and measuring device 2 is further provided with a to-be-tested seat 3 for the placement of the sensing element 4 to be tested. The sensing component 4 can be one of a resistive type, a capacitive type, and an inductive type. A display device 5 for visually displaying the value measured by the detecting and measuring device 2. Wherein, the detecting and measuring device 2 comprises:
一正弦波產生電路2 1,此正弦波產生電路2 1藉由 該電源整流變壓電路1所提供之交流電壓源1 2而輸出一 正弦波訊號6,並透過一電流放大電路2 1 3,而輸出功 率較大的正弦波訊號6。其中,該電流放大電路2 1 3係 為以電晶體缓衝放大器所構成之放大電路,以維持良好的 高頻響應,及推動低阻抗的負載,例如電感型的感测元件。 此外,於本實施例中,正弦波產生電路2 1更包括一 1 κ Hz正弦波產生電路2 11及一ΙΟΟΚΗζ正弦波產生 電路212,ΙΚΗζ正弦波產生電路2 1 2係藉由此電 源整流變壓電路1之交流電1 2的輸入而輸出1Κ Η z之 9 1293121 正弦波訊號6,並送至一選擇開關電路2 1 4。另1 〇 〇 KHz正弦波產生電路2 1 2亦藉由電源整流變壓電路1 之交流電1 2的輸入而輸出1 Ο Ο Κ Η z之正弦波訊號 6,並送至選擇開關電路2 1 4。該選擇開關電路2 1 4 又受到一微處理器2 2的控制,而將合適振盪頻率之正弦 波訊號6再送至該電流放大電路2 1 3。另外,該選擇開 關電路2 1 4中具有一繼電器2 1 5,以供自由切換兩種 不同振盪頻率ΙΚΗζ或ΙΟΟΚΗζ之正弦波訊號6的 輸入,該繼電器2 1 5為機械電磁開關擁有二輸入端不會 互相干擾及降低雜訊的優點,可以提高本發明的穩定性。 一第一直流電輸入匹配電阻2 3 1,第一直流電輸入 匹配電阻2 3 1接受來自該電源整流變壓電路1之直流電 1 1的供應,並連結於該電流放大電路2 1 3之訊號輸出 端,且更連接有一正弦波輸入匹配電阻2 3 2 ;而第一直 流電輸入匹配電阻2 3 1與正弦波輸入匹配電阻2 3 2則 一同連結於一量測組類比多工器2 4 1。 一弟二直流電輸入匹配電阻2 3 3,第二直流電輪入 匹配電阻2 3 3亦連結於該電流放大電路2 1 3之訊號輸 出知’弟二直流電輸入匹配電阻2 3 3之輸出端則連結有 一對照組類比多工器2 4 2。 此量測組類比多工器2 4 1係連結於待測座3,並將 流經該待測座3之正弦波訊號6繼續送至一電壓比較器2 5,且透過一量測組轉換電路2 5 1,將原屬類比波形之 正弦波訊號6轉換為一量測組數位訊號61,再將此量測 1293121 組數位訊號6 1分別送至一計時器2 6及微處理器2 2。 …對照,類比多U 4 2係將此正弦波訊號6送至該 電壓比較器2 5,並經由一對照組轉換電路2 5 2,將原 屬类員比波幵v之正弦波訊號6 II換為一對照組數位訊號6 2,再將此對照組數位訊號6 2分別送至計時器2 6及微 處理器2 2内。 *計時器2 6係藉由内部所具之一邏輯比較器2 6工而 、 讀出該量測組轉換電路2 5 1之輸出量測組數位訊號6 I ㈣與該對照組轉換電路2 5 2之輸出對照組數位訊號6 2波开> 之間的相位差值,並依照相位差的領先與落後情 形,而判斷出該感測元件4之種類,且將其判斷結果的訊 旒送至微處理器2 2分析。其中,計時器2 6係由邏輯比 較器2 6 1、一1 〇 MHz石英頻率產生器2 6 2、一計 數斋2 6 3所組成,而邏輯比較器2 6 1於本實施例中係 為一互斥或閘(X 〇 R)。 該待測座3更連結一類比數位轉換器2 7,該類比數 瞻.位轉換器2 7係供量測直流電流1 1經電阻型之感測元件 、 4的輸出電壓訊號,並將此輸出電壓訊號轉換成數位訊 號,並傳入該微處理器2 2内加以分析,而計算出該電阻 型感測元件4的電阻值。 量測組類比多工器2 4 1與對照組類比多工器2 4 2 係彼此相連結,並接受微處理器2 2所辨別之感測元件4 種類的控制訊號,而使量測組類比多工器2 4 1切換至合 適的量測電路。 11 1293121 微處理器2 2更將最後分析、量測到的數值傳送至該 顯不裝置5作顯示。 、 其中,s亥顯示裝置5更包括一LCD液晶顯示器5 1 、一R S 2 3 2轉換電路5 2、一串列通訊埠5 3及一電 4。該微處理器2 2在讀取量測數值以後,會加以運 算出結果,而在LCD液晶顯示器5丄上顯示其結果,並 同時透過R S 2 3 2轉換電路5 2的轉換及串列通訊琿5 3的傳輸,而送至電腦5 4内作分析、處理,電腦5 4再 藉由自行設計的程式以繪製圖表方式而清晰顯示分析量測 結果,且將量測分析數據加以儲存。 本發明之操作流程如下: a ·開啟電腦5 4及將電源整流變壓電路1接上1 1 〇伏 特6 0 Hz的電源,以啟動本系統。 b•放置一感測元件4於待測座3上。 c ·使1 KHz正弦波產生電路2 i丄產生丄KHz之正弦 波訊號6並透過該電流放大電路2丄3的放大,而輸 入第一直流電輸入匹配電阻2 3 1與正弦波輸入匹配 電阻2 3 2,及第二直流電輸入匹配電阻2 3 3。 d ·打開量測組類比多工器2 4丄與對照組類比多工器2 4 2,使正弦波訊號6經量測組類比多工器2 4 1與 該感測元件4而送至電壓比較器2 5,以及同樣的正 弦波訊號6經對照組類比多工器2 4 2也輸入於電壓 比較器2 5。 e ·電壓比較器2 5和0伏特做比較,取上升邊緣(〇 — 12 1293121 f·經由計時器26每隔一段時間判讀出該量測組轉換電 路2 5 1之輸出量測組數位訊號6 1波形與該對照組 轉換電路2 5 2之輸出對照組數位訊號6 2波形之間 的相位差值,並依照二數位訊號6 1、6 2波形間相 位的領先、落後情形,使微處理器2 2偵測出此感測 元件4的種類。若量測組數位訊號6 1波形與對照組 數位訊號6 2波形間沒有相位差時,微處理器2 2則 偵測出此感測元件4係為電阻型之感測元件;若量測 組數位訊號6 1波形相位超前對照組數位訊號6 2波 形時,微處理器22則偵測出此感測元件4為電感型 的感測元件;若量測組數位訊號61波形相位落後對 照組數位訊號6 2波形時,微處理器2 2則偵測出此 感測元件4為電容型的感測元件。 1·若微處理器22偵測出感測元件4為電阻型之感測元 件時,微處理器2 2會關掉量測組類比多工器2 4 1 内所連結之正弦波輸入匹配電阻2 3 2的類比開關, 而只打開連結於第一直流電輸入匹配電阻2 3 1的類 比開關,使直流電1 1能流至該感測元件4,並用類 比數位轉換器2 7量測出流經此感測元件4的電壓值 ’再將此輸出電壓訊號轉換成數位訊號,且傳入微處 理器2 2内,以運算出此電阻型感測元件4的量測電 阻值。 j ·若微處理器22偵測出感測元件4為電容型或電感型 13 1293121 之感測元件4時,微處理器2 2則會關掉量測組類比 多工器2 4 1内所連結之直流電輸入匹配電阻2 3 1 的類比開關,而只打開連結於正弦波輸入匹配電阻2 3 2的類比開關,以取得最佳的量測範圍,並經電壓 比較器2 5使微處理器2 2量測出量測組數位訊號6 ΐ 1與對照組數位訊號6 2間的時間差,以計算出該感 測元件4之頻率響應。 k ·最後,將步驟i與步驟j微處理器2 2所運算出的數 值在L C D液晶顯示器5 1上顯示其結果,並同時透 過R S 2 3 2轉換電路5 2的轉換將微處理器2 2的 信號準位轉至R S 2 3 2的信號準位,及串列通訊槔 5 3的俸輸,而送至電腦5 4内作分析、處理。 1·至終,利用電腦54上自行設計的程式以圖表方式顯 示,而清晰顯示分析量測結果,且將量測分析數據加 以儲存。 故,本發明之技術手段極為單純,當進行偵測感測元 件種類時,若接上的感測元件是電阻型以電阻為變化量, 從電壓比較器所輸出的量測組數位訊號與對照組數位訊號 間不會有相位差;若接上的感測元件是電容型以電容為變 化量,從電壓比較器所輸出的量測組數位訊號波形會落後 對照組數位訊號的波形;若接上的感測元件是電感型以電 感為變化量,則從電壓比較器所輸出的量測組數位訊號波 形會領先對照組數位訊號的波形。 綜上所述,本發明是以現有不同的電阻、電容和電感 1293121 量測系統為設計基礎’重新設計及加以整合,使不同感測 元件之感測信號可被自動判斷量測出來,並同時設計傳輸 接收機構與分析功能,以得知待分析之感測元件的變化量 ,且清楚判定元件屬性,然後,適當地切換到該元件專屬 的量測電路,最終正確的量測數值會透過串列通訊傳輸的 ▲方式,將所得到的量測數值傳人電腦,㈣㈣腦端所設 叶的接收程式分析量測的結果,以及將數值顯示在監控螢a sine wave generating circuit 2 1 , the sine wave generating circuit 2 1 outputs a sine wave signal 6 through the AC voltage source 12 provided by the power rectifying transformer circuit 1 , and transmits a current amplifying circuit 2 1 3 , The sine wave signal 6 with a large output power. The current amplifying circuit 2 1 3 is an amplifying circuit composed of a transistor buffer amplifier to maintain a good high frequency response and to push a low impedance load such as an inductive sensing element. In addition, in the embodiment, the sine wave generating circuit 2 1 further includes a 1 κ Hz sine wave generating circuit 2 11 and a sine wave generating circuit 212, and the sine wave generating circuit 2 1 2 is rectified by the power source. The input of the alternating current 1 2 of the voltage circuit 1 outputs a 1 293 之 z 9 1293121 sine wave signal 6 and is sent to a selection switch circuit 2 1 4 . The other 〇〇KHz sine wave generating circuit 2 1 2 also outputs a sine wave signal 6 of 1 Ο Ο Κ Η z by the input of the alternating current 1 2 of the power rectifying transformer circuit 1 and sends it to the selection switch circuit 2 1 4 . The selection switch circuit 2 14 is again controlled by a microprocessor 2 2, and a sine wave signal 6 of a suitable oscillation frequency is sent to the current amplifying circuit 2 1 3 again. In addition, the selection switch circuit 2 1 4 has a relay 2 15 for freely switching the input of two different oscillation frequencies ΙΚΗζ or 正 sine wave signal 6 , the relay 2 15 being a mechanical electromagnetic switch having two inputs The stability of the present invention can be improved without interfering with each other and reducing the advantages of noise. a first DC input matching resistor 2 3 1, a first DC input matching resistor 2 3 1 receives a supply of DC 1 1 from the power rectifier circuit 1 and is coupled to a signal output of the current amplifier circuit 2 1 3 And a sine wave input matching resistor 2 3 2 is further connected; and the first DC input matching resistor 2 3 1 and the sine wave input matching resistor 2 3 2 are connected together with a measuring group analog multiplexer 2 4 1 . The second DC electric input matching resistor 2 3 3, the second DC electric wheel matching matching resistor 2 3 3 is also connected to the current amplifying circuit 2 1 3 signal output knows that the second DC electric input matching resistor 2 3 3 output is connected There is a control analog multiplexer 2 4 2 . The measuring group analog multiplexer 2 4 1 is connected to the socket 3 to be tested, and the sine wave signal 6 flowing through the socket 3 to be tested is further sent to a voltage comparator 25 and converted by a measurement group. The circuit 2 5 1 converts the original analog waveform sine wave signal 6 into a measurement group digital signal 61, and then sends the measured 1293121 digital signal 6 1 to a timer 26 and a microprocessor 2 2 respectively. . ...control, analogous U 4 2 system sends this sine wave signal 6 to the voltage comparator 25, and through a control conversion circuit 2 5 2, the original class member is compared to the wave sine sine wave signal 6 II The signal is changed to a control digital signal 6 2 , and the control digital signal 6 2 is sent to the timer 26 and the microprocessor 2 2 respectively. * Timer 2 6 reads out the output measurement group digital signal 6 I (4) of the measurement group conversion circuit 2 5 and the control conversion circuit 2 5 by using one of the logic comparators 6 6 built therein. 2, the output phase of the control group digital signal 6 2 wave open > phase difference, and according to the lead and the backward situation of the phase difference, determine the type of the sensing component 4, and send the signal of the judgment result To the microprocessor 2 2 analysis. The timer 26 is composed of a logic comparator 2 6 1 , a 1 〇 MHz quartz frequency generator 2 6 2, a counting circuit 2 6 3 , and the logic comparator 261 is in this embodiment A mutual exclusion or gate (X 〇 R). The to-be-tested stand 3 is further connected with an analog-to-digital converter 2, 7. The analog-to-digital converter 2 7 is used for measuring the direct current 1 1 through the resistive sensing element, the output voltage signal of 4, and this The output voltage signal is converted into a digital signal and sent to the microprocessor 2 2 for analysis, and the resistance value of the resistive sensing element 4 is calculated. The measurement group analog multiplexer 2 4 1 and the control analog multiplexer 2 4 2 are connected to each other, and receive the control signals of the sensing element 4 type identified by the microprocessor 2 2, so that the measurement group analogy The multiplexer 2 4 1 switches to a suitable measuring circuit. 11 1293121 The microprocessor 2 2 further transmits the last analyzed and measured value to the display device 5 for display. The display device 5 further includes an LCD liquid crystal display 5 1 , an R S 2 3 2 conversion circuit 5 2, a serial communication port 5 3 and an electric battery 4 . After the microprocessor 22 reads the measured value, the result is calculated, and the result is displayed on the LCD liquid crystal display 5, and simultaneously through the conversion and serial communication of the RS 2 2 conversion circuit 52. The transmission of 5 3 is sent to the computer 5 for analysis and processing, and the computer 5 4 clearly displays the analysis measurement result by drawing a chart by a self-designed program, and stores the measurement analysis data. The operation flow of the present invention is as follows: a. Turn on the computer 5 4 and connect the power rectification transformer circuit 1 to the power supply of 1 1 〇 volt 60 Hz to start the system. b• Place a sensing element 4 on the socket 3 to be tested. c. The 1 KHz sine wave generating circuit 2 i 丄 generates a sine wave signal 6 of 丄 KHz and is amplified by the current amplifying circuit 2 丄 3, and inputs a first DC input matching resistor 2 3 1 and a sine wave input matching resistor 2 3 2, and the second DC input matching resistor 2 3 3 . d · Open the measurement group analog multiplexer 2 4 丄 and the control analog multiplexer 2 4 2, so that the sine wave signal 6 is sent to the voltage by the analog group multiplexer 2 4 1 and the sensing element 4 Comparator 25 and the same sinusoidal signal 6 are also input to voltage comparator 25 via control analog multiplexer 242. e · Voltage comparator 2 5 and 0 volts for comparison, take the rising edge (〇 - 12 1293121 f · through the timer 26 every other time to read out the measurement group conversion circuit 2 5 1 output measurement group digital signal 6 1 waveform and the phase difference between the waveform of the control group conversion circuit 2 5 2 and the control group digital signal 6 2 waveform, and according to the leading and backward situation of the phase between the two digit signals 6 1 and 6 2 , the microprocessor is made 2 2 Detecting the type of the sensing component 4. If there is no phase difference between the waveform of the measuring group digital signal 6 1 and the waveform of the control digital signal 6 2 , the microprocessor 2 2 detects the sensing component 4 The sensing element is a resistive type sensing element; if the measuring group digital signal 6 1 waveform phase leads the control group digital signal 6 2 waveform, the microprocessor 22 detects that the sensing component 4 is an inductive sensing element; If the waveform of the measurement group digital signal 61 is behind the waveform of the digital signal of the control group, the microprocessor 2 2 detects that the sensing component 4 is a capacitive sensing component. When the sensing element 4 is a resistive sensing element, the microprocessor 2 2 Turn off the analog switch of the sine wave input matching resistor 2 3 2 connected in the analog multiplexer 2 4 1 of the measuring group, and open only the analog switch connected to the first DC input matching resistor 2 3 1 to make the DC 1 1 The current can flow to the sensing component 4, and the analog voltage converter 27 is used to measure the voltage value flowing through the sensing component 4, and then the output voltage signal is converted into a digital signal, and is transmitted to the microprocessor 2 2 . To calculate the measured resistance value of the resistive sensing element 4. j. If the microprocessor 22 detects that the sensing element 4 is a capacitive or inductive type 13 1293121 sensing element 4, the microprocessor 2 2, the analog switch of the DC input matching resistor 2 3 1 connected in the analog group multiplexer 2 4 1 is turned off, and only the analog switch connected to the sine wave input matching resistor 2 3 2 is turned on to obtain the most a good measurement range, and the voltage comparator 25 causes the microprocessor 22 to measure the time difference between the measurement group digital signal 6 ΐ 1 and the control digital signal 6 2 to calculate the sensing element 4 Frequency response k · Finally, step i and step j microprocessor 2 2 The output value is displayed on the LCD liquid crystal display 51, and at the same time, the signal level of the microprocessor 2 2 is transferred to the signal level of the RS 2 3 2 through the conversion of the RS 2 2 2 conversion circuit 52, and the string The column communication 槔 5 3 is transmitted and sent to the computer 5 4 for analysis and processing. 1. At the end, the program designed by the computer 54 is displayed in a graphical manner, and the analysis measurement result is clearly displayed, and the amount is clearly displayed. The analytical data is stored and stored. Therefore, the technical means of the present invention is extremely simple. When detecting the type of the sensing component, if the connected sensing component is a resistive type and the resistance is a variable amount, the amount output from the voltage comparator is There is no phase difference between the digital signal of the measurement group and the digital signal of the control group; if the sensing component connected is capacitive and the capacitance is changed, the digital signal waveform of the measurement group output from the voltage comparator will be behind the control digit. The waveform of the signal; if the connected sensing component is inductive and the inductance is the amount of change, the digital signal waveform of the measuring group output from the voltage comparator will lead the waveform of the digital signal of the control group. In summary, the present invention is based on the existing different resistance, capacitance and inductance 1293121 measurement system as a design basis 'redesigned and integrated, so that the sensing signals of different sensing components can be automatically determined and simultaneously Design the transmission receiving mechanism and analysis function to know the amount of change of the sensing element to be analyzed, and clearly determine the component properties, and then switch to the measurement circuit exclusive to the component, and finally the correct measurement value will pass through the string. The ▲ mode of the column communication transmission, the obtained measurement value is transmitted to the computer, (4) (4) the result of the measurement analysis of the receiver set by the brain, and the numerical value is displayed in the monitoring
幕^,並藉由所設計的程式以繪製圖表方式而清晰顯示分 析量測結果’且將量測分析數據加以儲存,作為將來欲作 其他運用時’可以擷取出來再作進一步的分析,而提供多 兀化的用途’可說是-種相當實用的自動化偵測系統。 以上所述實施例之揭示係用以說明本發明,並非用以 =本發明,故舉凡數狀變更或等效元件之置換仍應隸 屬本發明之範疇。 由以上詳細說明,可使熟知本項技藝者明瞭本發明的 ,可達成前述目的’實已符合專利法之規定,爰提出專利 申請0 【圖式簡單說明】 第1圖係本發明之系統大部方塊示意圖 第2圖係本發明之系統整合電路方塊示意圖 第3圖係本發明之電源整流變壓電路方塊示意圖 第4圖係本發明之計時器方塊示意圖 【主要元件符號說明】 (習用部分) 無 15 1293121 (本發明部分) 電源整流變壓電路1 直流電1 1 交流電1 2 三端子電壓調節器13 變壓器1 4 保險絲1 5 電解質電容16 二極體1 7 L E D電源指示燈1 8 偵測與量测裝置2 正弦波產生電路2 1 1 KHz正弦波產生電路2 1 1 1 0 0 KHz正弦波產生電路2 1 2 電流放大電路213 選擇開關電路214 繼電器2 1 5 第一直流電輸入匹配電阻2 3 1 正弦波輸入匹配電阻2 3 2 第二直流電輸入匹配電阻2 3 3 量測組類比多工器2 4 1 16 1293121 對照組類比多工器2 4 2 電壓比較器2 5 量測組轉換電路2 5 1 對照組轉換電路252 計時器2 6 邏輯比較器2 6 1 1 ΟΜΗζ石英頻率產生器2 6 2 計數器2 6 3 類比數位轉換器2 7 待測座3 感測元件4 顯示裝置5 L C D液晶顯示器51 R S 2 3 2轉換電路5 2 串列通訊埠5 3 電腦5 4 正弦波訊號6 量測組數位訊號61 對照組數位訊號6 2 17Curtain ^, and through the designed program to clearly display the analytical measurement results by drawing the chart 'and the measurement analysis data is stored, as the future for other applications, 'can be extracted for further analysis, and It provides a multi-functional use of what is arguably a very practical automated detection system. The above description of the embodiments is intended to be illustrative of the invention, and is not intended to be a limitation of the invention. From the above detailed description, those skilled in the art can understand the present invention, and the above-mentioned objects can be achieved. The patent law has been met. Patent application 0 [Simple description of the drawing] FIG. 1 is a system of the present invention. 2 is a block diagram of a system integrated circuit of the present invention. FIG. 3 is a block diagram of a power rectifying and transforming circuit of the present invention. FIG. 4 is a schematic diagram of a timer block of the present invention [Description of main components] (customized part) No 15 1293121 (part of the invention) Power rectification transformer circuit 1 DC 1 1 AC 1 2 Three-terminal voltage regulator 13 Transformer 1 4 Fuse 1 5 Electrolyte capacitor 16 Diode 1 7 LED power indicator 1 8 Detection and quantity Measuring device 2 sine wave generating circuit 2 1 1 KHz sine wave generating circuit 2 1 1 1 0 0 KHz sine wave generating circuit 2 1 2 current amplifying circuit 213 selecting switching circuit 214 relay 2 1 5 first direct current input matching resistor 2 3 1 Sine wave input matching resistor 2 3 2 Second DC input matching resistor 2 3 3 Measurement group analog multiplexer 2 4 1 16 1293121 Control analog multiplexer 2 4 2 Voltage Comparator 2 5 Measurement group conversion circuit 2 5 1 Control conversion circuit 252 Timer 2 6 Logic comparator 2 6 1 1 ΟΜΗζ Quartz frequency generator 2 6 2 Counter 2 6 3 Analog-to-digital converter 2 7 Stand 3 Sensing element 4 Display device 5 LCD liquid crystal display 51 RS 2 3 2 conversion circuit 5 2 Serial communication 埠 5 3 Computer 5 4 Sine wave signal 6 Measurement group digital signal 61 Control digital signal 6 2 17