<![endif]–>
不好意思各位前輩小弟目前需控制一台XY軸線性馬達。控制方式為使用DAQ介面資料擷取卡作2AO的輸出與2Count的輸入控制。DAQ資料擷取卡為PXIe-6363,而使用的Driver為Copley的Xenus系列。
<p =“msonormal” style=“text-align:justify;text-justify:inter-ideograph;
text-indent:24.0pt;mso-char-indent-count:2.0”><<問題一>>為若須對Driver做AO控制須將光學尺的訊號線接至Driver上,但是Driver本身提供將光學尺訊號輸出的功能,而光學尺訊號為差動式。我目前是沒有接A inverse與B inverse訊號,但好像感覺不對。有聽過要使用一顆IC將差動訊號轉換為Single ended訊號,也看過Bridge大大說的在A inverse與B inverse訊號各串上100K歐姆的電阻即可,不曉得小弟的方案也可如此做?
(附上Driver接線圖如下圖)
<!–[if gte mso 10]>
<![endif]–>
如上圖所示,PXIe-6363與腳位16~21接即可得到光學尺訊號。
<p =“msonormal” style=“text-align:justify;text-justify:inter-ideograph;
text-indent:24.0pt;mso-char-indent-count:2.0”>我目前沒有接A
inverse與B inverse訊號時,採用範例Measure
Angular Position.vi去做修改改成線性型態,光學尺解析度為0.1um,但是不管我將Decoding Type改為X1、X2與X4,我只要將distance per pulse設為0.004,我讀到的數值就跟Driver上看到的一樣,請問一下為什麼改Decoding Type我的數值皆沒變化呢?
<<問題二>>若Sample Clock使用Hardware timed single point我要如何將平台現在位置與時間關係呢?因後續要使用Matlab將響應圖繪出,因此想請問各位大大如何得知位置與時間關係,謝謝。
PS.附上檔案
<!–[if !mso]>
<![endif]–><!–[if gte mso 10]>
/* Style Definitions */ table.MsoNormalTable {mso-style-name:表格內文; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; mso-bidi-font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:1.0pt;}<![endif]–>Henn Position.vi