針對目前使用的RS232接口數(shù)字化B超鍵盤存在PC主機啟動時不能設置BIOS,提出一種PS2鍵盤的設計方法。基于W78E052D單片機,采用8通道串行A/D轉(zhuǎn)換器設計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發(fā)送,正交編碼器信號通過XC9536XL轉(zhuǎn)換為單片機可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結(jié)果表明,在滿足開機可設置BIOS同時,又可實現(xiàn)超聲特有功能,不需要專門設計驅(qū)動程序,接口簡單,成本低。
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.
針對眾多低成本數(shù)據(jù)采集需求,采用帶有片上USB控制器和D/A轉(zhuǎn)換器的混合信號微處理器C8051F340,設計了一款可通過USB接口和LabVIEW圖形用戶界面實現(xiàn)與PC機聯(lián)機的數(shù)據(jù)采集器,同時借助系統(tǒng)的SD卡存儲獨立實現(xiàn)現(xiàn)場長時間采集數(shù)據(jù)。該數(shù)據(jù)采集器成本低,結(jié)構(gòu)簡單,體積小,已成功用于工業(yè)現(xiàn)場。
Abstract:
Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.
介紹一種無極可調(diào)交流電子負載設計的新方法,由ATmega48單片機輸出PWM波,通過上位機設定不同的占空比控制場效應管的通斷時間,即改變流過場效應管的平均電流。根據(jù)電流的大小,可以等效為相應的負載,并將采集的電流值顯示在上位機上。文中對該系統(tǒng)的軟﹑硬件設計思路作了詳細的分析,闡述了其設計原理。
Abstract:
A new type electronic load is introduced.Due to ATmega48 microcomputer output PWM wave.The different duty is set ratio through PC to control FET turn-on time.We can equivalent homologous load according the current and display the current at PC.The hardware and software designing are analysed in detail. The principle is explained and the output is also given.
針對材料試驗機等設備中要求測量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測位置信號,輸出正交編碼脈沖信號。若采用其他方法檢測位置信號,必然導致電路設計復雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗機設計方案。給出了試驗機中的控制器工作原理,LS7266R1與單片機的接口硬件設計,以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機械運動狀態(tài)的壓力或拉力以及位置坐標,變成了電壓信號和電脈沖數(shù)字信號,供A/D測量和LS7266R1計數(shù),從而實現(xiàn)了獨立完成材料試驗控制或通過PC機串口命令完成材料試驗控制。
Abstract:
Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.