為實現對于未知數量紙張的計數,使用FDC2214電容檢測傳感器通過I2C方式來采集兩極板的電容值,以STM32 F103單片機作為主控板進行數據處理。通過采集多組不同紙張所對應的電容值,并將多組數據進行數據擬合,找到最合適的擬合函數作為標準數據函數,在測量時只需將所采數據與標準數據函數逐一對比,便可找到此時所對應的紙張數,達到紙張計數的目的。在正式開始測量前,可進入自校準模式,通過按鍵修改擬合函數的常量,以便獲得較為精準的標準數據函數。
標簽:
紙張計數
上傳時間:
2022-03-26
上傳用戶:
基于TMS320F28335的超聲波流量計硬件原理圖+軟件源碼本文以TMS320F28335 處理器為核心,設計一種用于管道流量測量的超聲波流量計。系統硬件由核心板,超聲波發射和接收電路,切換電路,超聲換能器,基于ADS805 的高速信號采集電路,人機交互以及電源等模塊構成。采用時差法進行管道流量測量,時差測量采用SCOT 加權的廣義互相關時延估計算法。本論文設計的超聲波流量計具有測量速度快、準確性好、成本低等優點。關鍵字:C2000,超聲波,流量,廣義互相關算法AbstractA kind of ultrasonic flowmeter using for the pipe flow measurement is designed based onTMS320F28335 in this paper. The system hardware consists of the following parts: the core board,ultrasonic signal transmitter and receiver circuits, switch circuit, ultrasonic transducer, signalacquisition circuit based on ADS805, human-computer interaction module and power supplymodule, etc. The system use the method of time difference for pipeline flow measurement and thetime difference is calculated by the time-delay algorithm of SCOT weighted generalizedcross-correlation. The ultrasonic flowmeter has the features of high testing speed, high precisionand low cost, etc.Keywords: C2000,Ultrasonic, Flow, Generalized Cross-Correlation Algorithm
標簽:
tms320f28335
超聲波流量計
上傳時間:
2022-05-06
上傳用戶: