便攜式信號采集在機器健康診斷系統中有較高的應用價值。機器健康診斷的信號特點是包括低頻信號。本文研究是為了實現簡易而且低成本的低頻便攜式信號采集。以Microchip公司單片機PIC18F1320為核心設計信號采集電路,實現了信號的采集和保存。系統采用串行電可擦除芯片24LC32A保存數據,經過有線通信,信號數據由串行口通過MAX232芯片輸送到微型計算機接收和保存,最后繪制出信號波形。 微型計算機程序采用Visual Basic編程。研究成功采樣頻率為3 kHz的復雜信號,證明該方案符合設計要求。
Abstract:
Portable signal acquisition is useful in machine health monitoring systems. The signal characteristics of machine health monitoring includes low frequency signals. The goal of this study is to realize simple, inexpensive and portable low frequency signal sampling. This paper provides the project of signal acquisition system design based on PIC18F1320 microcontroller manufactured by the Microchip Technology Incorporation to achieve signal sampling and storage. The system adopted EEPROM 24LC32A to store the signal data. The microcomputer received data via wired link with the MAX232 IC through the serial port. The microcomputer program, programmed in Visual Basic, received the data, stored it and plotted the signal. The study successfully samples 3kHz complicated signals and thus meets the design requirement.
首先研究CAN總線和SAE J1939協議,提出一種基于MC9S12HZ256微控制器的總線式汽車數字儀表解決方案。詳細介紹SAE J1939協議的報文幀格式及應用層協議中發動機相關參數的定義,以及步進電機及其驅動和車速信號的處理方法。該數字儀表系統硬件平臺由微處理器和信號采集和信息處理及顯示等模塊組成。軟件設計部分編程實現了對CAN總線和各傳感器數據的讀取、處理。該系統能夠實時反映車輛工況。
Abstract:
In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.