針對(duì)材料試驗(yàn)機(jī)等設(shè)備中要求測(cè)量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測(cè)位置信號(hào),輸出正交編碼脈沖信號(hào)。若采用其他方法檢測(cè)位置信號(hào),必然導(dǎo)致電路設(shè)計(jì)復(fù)雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬(wàn)能材料試驗(yàn)機(jī)設(shè)計(jì)方案。給出了試驗(yàn)機(jī)中的控制器工作原理,LS7266R1與單片機(jī)的接口硬件設(shè)計(jì),以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機(jī)械運(yùn)動(dòng)狀態(tài)的壓力或拉力以及位置坐標(biāo),變成了電壓信號(hào)和電脈沖數(shù)字信號(hào),供A/D測(cè)量和LS7266R1計(jì)數(shù),從而實(shí)現(xiàn)了獨(dú)立完成材料試驗(yàn)控制或通過PC機(jī)串口命令完成材料試驗(yàn)控制。
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.