便攜式信號采集在機器健康診斷系統中有較高的應用價值。機器健康診斷的信號特點是包括低頻信號。本文研究是為了實現簡易而且低成本的低頻便攜式信號采集。以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.
針對目前使用的RS232接口數字化B超鍵盤存在PC主機啟動時不能設置BIOS,提出一種PS2鍵盤的設計方法。基于W78E052D單片機,采用8通道串行A/D轉換器設計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發送,正交編碼器信號通過XC9536XL轉換為單片機可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結果表明,在滿足開機可設置BIOS同時,又可實現超聲特有功能,不需要專門設計驅動程序,接口簡單,成本低。
Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.