TWI234935B - Encoding method of high-resolution magnet inductive encoder - Google Patents

Encoding method of high-resolution magnet inductive encoder Download PDF

Info

Publication number
TWI234935B
TWI234935B TW93104877A TW93104877A TWI234935B TW I234935 B TWI234935 B TW I234935B TW 93104877 A TW93104877 A TW 93104877A TW 93104877 A TW93104877 A TW 93104877A TW I234935 B TWI234935 B TW I234935B
Authority
TW
Taiwan
Prior art keywords
signals
sine wave
degrees
signal
sine
Prior art date
Application number
TW93104877A
Other languages
Chinese (zh)
Other versions
TW200529567A (en
Inventor
Ming-Shian Wang
Ming-Chi Tsai
Jian-Hau Chen
Bing-Yu Chen
Original Assignee
Southern Taiwan University Of
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southern Taiwan University Of filed Critical Southern Taiwan University Of
Priority to TW93104877A priority Critical patent/TWI234935B/en
Application granted granted Critical
Publication of TWI234935B publication Critical patent/TWI234935B/en
Publication of TW200529567A publication Critical patent/TW200529567A/en

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The present invention relates to an encoding method of high-resolution magnet inductive encoder, in which first and second sine/cosine waveform signals with a phase difference of 90 degrees are commonly divided into 16 intervals form 0 to 360 degrees, each interval having 22.5 degrees. The encoding method cascades the first and second sine/cosine waveform signals via two inverting amplifiers, respectively, and loads an impedance matching. Based on determining the condition that the edge angles of the two sine waveform signals at the equally divided intervals of 22.5 degrees have a constant ratio, it is able to resolve more useful output signals. Then, these added output signals are combined with the comparator and the logic circuit for output. In addition, it is also applicable to use the analog to digital converter in a microprocessor to equally divide the sine waveform signal outputted from the magnetic encoder of a motor. This method allows the overall frequency multiplying technique to be established on a programmable basis, thereby possessing the advantage of modifying the program. Finally, a comparison circuit is employed to utilize the rising edges and falling edges of the two kinds of signals to achieve the effects of high frequency multiplication and high resolution.

Description

12349351234935

【發明所屬之技術領域】 本發明係關於-種高解析度磁感測編碼器之編碼方法 二2指-種運用程式化技術以達成易於維修、 畐有彈性’俾可依據系統需求倍頻數值,尸、需修 擇 而無,修改硬體料,以臻可達到大幅降低製造成本,並 可提昇產品之產業競爭能力者。 【先前技術】 s按,-般來說,傳統磁感測器感測編碼器出來的訊號 疋兩個相位差90度的弦波,波形如第一圖所示,其中,一 個是正弦波(sinewaveform),另一個是餘弦波 (cosine waveform )。這兩個相位差9〇度的弦波, 的編碼處理方式都是利用零交越點來做切割,因此,經切 害^)後所產生之訊號即如第一圖之下方圖面所示,由於傳統 ,種Λ號切割方式只是單純把感測出來的訊號轉成數位訊 號’沒有增加到解析度的動作。 然,現今許多精密電子設備,在執行運算速度上及其 、、、口構Λ α十上、^遍具有朝向南速化及高精密度化之趨勢,因 此,前述傳統之編碼技術無法達到精密電子設備之需求。 而第二圖所示為A/D轉換器(A/D C〇nverter,簡稱ADC) 之基本架構圖。A/D在變化過程中,基本上係先經過前置 濾波器後,再將類比信號做抽樣化(sampling),量子化 (quantizing) ’符碼化(c〇ding),以變換為數位值。至於 一般編碼技術欲藉由ADC來提升解析度會有很多問題產生、 轉速的不同而有所不同,轉速越快所感應出[Technical field to which the invention belongs] The present invention relates to a two-finger encoding method of a high-resolution magnetic sensor encoder, which employs stylized technology to achieve easy maintenance and is `` flexible '', which can be multiplied by the system's requirements. There is no need to modify the body, and the hardware is modified so as to reach those who can significantly reduce the manufacturing cost and improve the competitiveness of the product industry. [Previous technology] s Press, in general, the traditional magnetic sensor senses the signal from the encoder 疋 two sine waves with a phase difference of 90 degrees, the waveform is shown in the first figure, one of which is a sine wave ( sinewaveform), and the other is a cosine waveform. The encoding processing method of these two sine waves with a phase difference of 90 degrees is to use the zero-crossing point for cutting. Therefore, the signal generated after cutting ^) is as shown in the lower figure of the first figure Due to the tradition, the Λ number cutting method simply converts the sensed signal into a digital signal, which does not increase the resolution. However, many precision electronic devices today have a tendency to perform high speeds and high precision in the execution speed, and the structure Λ α is ten or more times. Therefore, the aforementioned traditional coding technology cannot achieve precision Demand for electronic equipment. The second figure shows the basic architecture of an A / D converter (ADC). In the process of A / D change, it basically passes through the pre-filter, then samples the analog signal, quantizes (quantizing) 'coding', and transforms it into a digital value. . As for the general encoding technology to improve the resolution by the ADC, there will be many problems. The speed will be different, and the faster the speed, the higher the speed.

第 頁 ’尤其’因磁感測器感測出編碼器的弦波振幅會隨著馬達 1234935Page ‘especially’ because the magnetic sensor senses that the encoder ’s sine wave amplitude will follow the motor 1234935

會越小,故在此以一般的ADC方式來增加解析度有其困難 度,誠難以可行。 習知關於高解析度編碼器之技術,已有公開在美國專 利公報中,由Santos等人所發明,專利名稱為:「High resolution encoder」,專利號碼分別為4,987,41 5及 5、’ 0 8 9, 8 1 7等兩件專利,然其皆係屬於固定機構之設計, 並不具有彈性選擇倍頻之功能,產業上之利用範圍有限。 【發明内容】 是以,本發明之主要目的係提供一種高解析度磁感測 編碼器之編碼方法,並以程式化技術實現維修方便、且倍 頻選擇富有彈性之產業上利用價值,俾可依據系統需求^ 頻數值,只需修改程式,而無需修改硬體電'路Y以臻可^ 到大幅降低製造成本,並可提昇產品之產業競爭能力者。 為達致上述目的,本發明係將兩個相位差g 〇度的第一 弦波δΚ號與第一弦波訊號波形,從0度至3 6 〇度共同區分為 16個區間寬度皆為22· 5度之區間,編碼方法係^上述兩個 弦波訊號各自經由兩個反相放大器串接,並搭載阻抗匹配 ,依據此兩個弦波訊號在22· 5度等份區間邊界角度有固定 比值的條件判斷,以解析出更多之可用輸出信號;嗣,再 把這些所增加之輸出信號,結合比較器及邏輯電路設置輸 出,並結合比較電路,利用兩種訊號的上升及下降緣,^ 到高倍頻(如十六倍)高解析度效果。 另,亦可將上述兩個弦波訊號之編碼方法採用微處理 器中的類比數位轉換器(ADC)對馬達所用磁編碼器輸出 的弦波訊號做等份分割,嗣,依據此兩個弦波1號在22 5 1234935It will be smaller, so it is difficult to increase the resolution with the general ADC method, which is hardly feasible. Known technology about high-resolution encoders has been disclosed in the U.S. Patent Gazette and invented by Santos et al. The patent name is "High resolution encoder" and the patent numbers are 4,987,41 5 and 5, 0 8 9, 8 1 7 and other two patents, but they belong to the design of fixed institutions, do not have the function of flexible selection of frequency multiplication, the industrial scope of use is limited. [Summary of the invention] Therefore, the main purpose of the present invention is to provide a high-resolution magnetic sensing encoder encoding method, and use programmatic technology to achieve convenient maintenance and flexible frequency doubling. According to the system requirements, the frequency value only needs to modify the program without modifying the hardware circuit to achieve a significant reduction in manufacturing costs and improve the competitiveness of the product industry. In order to achieve the above object, the present invention distinguishes two first sine wave δK and first sine wave signal waveforms with phase difference g 0 degrees from 0 degrees to 3 6 0 degrees into 16 sections with a width of 22 5 degree interval. The encoding method is ^ The two sine wave signals are connected in series through two inverting amplifiers, and equipped with impedance matching. Based on these two sine wave signals, the boundary angle is fixed at the 22.5 degree equal interval. The condition of the ratio is judged to parse out more available output signals; 嗣, then these increased output signals are combined with the comparator and the logic circuit to set the output, and the comparison circuit is used to use the rising and falling edges of the two signals. ^ To high-resolution (such as sixteen-fold) high-resolution effects. In addition, the encoding method of the above two sine wave signals can also use an analog digital converter (ADC) in the microprocessor to divide the sine wave signal output by the magnetic encoder used by the motor into equal parts. Alas, according to these two strings, Wave 1 at 22 5 1234935

度等份區間邊界角度有固定比值的條件判斷,並結合比較 電路’利用此兩種訊號的上升及下降緣,達到高解析度效 果;此方式可使得整體倍頻技術都架構在程式化的基^上 ’具有修改程式方便之優點。 【實施方式】 本發明係可利用運算放大器(〇perati〇nal Ampl i f ier,以下簡稱〇PA )硬體電路及微處理器實現高解 析度編碼器,茲將較佳實施範例分別詳述如下: 利用運算放大器(Operational Amplifier,以下簡 稱0PA )硬體電路實現高解析度編碼器:基本上,本發^ 此一較佳實施例磁感測器感測編碼器之編碼方法出來$的訊 號亦是兩個相位差90度的弦波訊號(如第三圖所示),因 此,這兩個弦波一個可當作是第一弦波信號,如正弦波 (sine wavef0rm ),另一個當作是第二弦波信號,如餘 弦波(cosine waveform)。 一為了實現高解析度編碼器,本發明此一較佳實施例係 將这兩個相位差9 〇度的弦波訊號關係以第四圖中所示之 360度做16等分的動作呈現;這其中,橫軸(即义軸)表示 係正弦訊號(sin〇,而縱軸(即γ轴)表示係、餘弦訊號 (cos 0 ),以致,可劃分為16個區間寬度皆為22· 5度之區 間,至於第五圖所示即為其區間邊界圖。由於x轴之正弦 訊號)與Y軸之餘弦訊號(c〇s0 )在22 5度時, sinlcoW有—個0·414倍的關係,因此,利用此關係以 及其他一些弦波的基本定理,就可以藉此規如 私一扣料你於山K rrr 时— ^ ^The condition that the boundary angle of the equal interval interval has a fixed ratio is judged, and the comparison circuit is used to use the rising and falling edges of these two signals to achieve a high-resolution effect; this method can make the overall frequency multiplication technology based on a stylized basis. ^ 上 'has the advantage of convenient program modification. [Embodiment] The present invention can implement a high-resolution encoder by using an operational amplifier (〇perati〇nal Ampl if ier (hereinafter referred to as 〇PA)) hardware circuit and a microprocessor. The preferred implementation examples are described in detail below: An operational amplifier (Operational Amplifier, hereinafter referred to as 0PA) hardware circuit is used to implement a high-resolution encoder: Basically, the present invention ^ This preferred embodiment of the magnetic sensor is an encoding method of the encoder. The signal of $ is also Two sine wave signals that are 90 degrees out of phase (as shown in the third picture), so one of the two sine waves can be regarded as the first sine wave signal, such as a sine wave (sine wavef0rm), and the other as A second sine wave signal, such as a cosine waveform. Firstly, in order to implement a high-resolution encoder, a preferred embodiment of the present invention presents the relationship between these two sine wave signals with a phase difference of 90 degrees as a 16-division motion at 360 degrees shown in the fourth figure; Among them, the horizontal axis (that is, the sense axis) represents the sine signal (sin0), and the vertical axis (that is, the gamma axis) represents the system and cosine signal (cos 0), so that it can be divided into 16 sections with a width of 22 · 5. The interval of degrees, as shown in the fifth figure is the interval boundary diagram. Due to the sine signal of the x axis) and the cosine signal of the y axis (c0s0) at 22 5 degrees, sinlcoW has a value of 0.414 times. Relationship, therefore, using this relationship and some other basic theorems of sine waves, you can use this as a personal deduction when you are in the mountain K rrr — ^ ^

Ml 1234935Ml 1234935

第 案號 93104877 五、發明說明(4) 稱相反的關係,如訊號A ( Channe 1 A )的第_气 式、第二式和第四式,訊號B (Channe 1 B )的第和 式、第二式和第四式,所以可利用這相 v二一式和第 電路’由式子來看訊號A需要八個比較器,但利’、來簡化 對稱相反關係和及閘與反或閘輸入反相的關係,i這式子 八個比較器減少到四個比較器,式子中所带二就可以把 ^ 而的四你η 會變成二個及閘二個反或閘,第九圖中第一個、w及閘就 (> =1後面有一個圈圈的方塊)其輸出等於第反或閘 式子[(X>0) & (y>x)]、第九圖第二個為及第一個 第六圖第三個式子、第九圖第三個為反或閘复、兩出等於 六圖第四個式子、第九圖第四個為及閘其^出等於第 二個式子,最後在四個式子輸出的地方用—個:第六圖第 後面沒有圈圈的方塊)結合起來就變成一條=問(> =1 輸出線,訊號B也以此類推。因此,利用這、所想要的 可以更進一步得到如第七圖所示的倍頻輪出圖。糸圖也就 上述硬體部分的設計方式係可利用運算放大器 (OPA )做訊號倍率更改與訊號互相比較來達 / 切割,在倍率更改部分運算放大器(〇ΡΑ )是作二二抑 用’只需調整電阻的比值就可以做不同倍率的轉換 恭 ’把所需的訊號製作“,透“五圖所示之區 間邊界圖,即可非常清楚了解到所需的訊號有X、—X、 0.414Χ、Υ、-Υ和〇.414γ等六種訊號,本發;明此一較佳實 施例只要把上述這兩個原始訊號(即正弦訊號與餘弦訊號 ),各自經由兩個反相放大器〇P1串接〇ρ2與〇ρ3串接〇ρ4, 並搭配適當的阻抗匹配’就可以製作出上述所需的訊號Case No. 93104877 V. Description of the Invention (4) The opposite relationship is called, such as the qi, second and fourth signals of the signal A (Channe 1 A), the sum of the signal B (Channe 1 B), The second formula and the fourth formula, so this phase can be used v two one formula and the first circuit 'from the formula to see that the signal A requires eight comparators, but Lee', to simplify the symmetric inverse relationship and the gate and anti-OR gate The relationship of input inversion, i this formula reduces eight comparators to four comparators, the two in the formula can change ^ and the four you n will become two and the gate two anti-or gate, the ninth In the figure, the first, w, and gate are (> = 1 followed by a circled square) whose output is equal to the inverse OR gate formula [(X > 0) & (y > x)], the ninth graph The second formula is the third formula of the first sixth figure, the third formula of the ninth figure is the reverse OR gate compound, the two formulas are equal to the fourth formula of the sixth figure, and the fourth formula of the ninth figure is the sum gate. ^ The output is equal to the second expression, and finally used in the place where the four expressions are output-one: the square without the circle in the back of the sixth figure) is combined into a single = Q (> = 1 output line, signal B Also with Analogy. Therefore, using this and what you want, you can further get the multiplier diagram shown in Figure 7. The figure also shows that the design method of the hardware part above is to use an operational amplifier (OPA) for signal magnification. The change and the signal are compared with each other to reach / cut. In the magnification change part, the operational amplifier (〇ΡΑ) is used for two or two suppressions. 'Just adjust the ratio of the resistor to do different magnification conversions.' Make the required signal. ', Through the interval boundary diagram shown in the "five figures", it can be clearly understood that the required signals are six signals such as X, -X, 0.414X, Υ, -Υ, and 0.414γ. In the preferred embodiment, as long as the above two original signals (ie, the sine signal and the cosine signal) are connected in series through two inverting amplifiers 0P1, 0ρ2 and 0ρ3, and 0ρ4, they can be matched with appropriate impedance matching. Produce the signals needed above

第8頁 1234935 年 月 曰 修正 案號 93104877 -Y和0· 414Y ),其電路示意圖如 五、發明說明(5)Page 8 1234935 (Amendment No. 93104877-Y and 0.414Y), the schematic diagram of the circuit is as shown in V. Description of the invention (5)

(X、-X、0· 414X、Y 第八圖所示。再把這些訊號依照第五圖的關係下去互相做 比較,結合比較電路,包括有:比較器CPI、CP2、CP3、 CP4、CP5、CP6、CP7、CP8,並再結合各自需求之邏輯電 路(請配合參閱第九圖所示)LI、L2、L3、L4、L5、L6、 L7、L8就可以各自得到四個脈波PI、Ρ2、Ρ3、Ρ4、ρ5、 Ρ6、Ρ7、Ρ8的輸出’之後,再將Ρ1、Ρ2、Ρ3、?4之訊號經 由及閘結合與Ρ5、Ρ6、Ρ7、Ρ8之訊號經由及閘結合就可^以 得到最終邏輯電路輸出L9及L1 0,也就是我們所要之輸出 訊號Output Α及Output Β (此訊號即具有四倍頻)。 此法在做較低的倍頻化技術(如四倍頻)時因硬體電 路較不複雜且訊號處理速度快,以硬體方式機構處理係較 為適合的選擇。但如要處理更高的倍頻技術時就會因硬體 電路擴大而造成系統整合與偵錯困難,此外因利用〇pA做 等比例分割在電阻值匹配需有一定的準確度,否則極易造 成輸出誤差,此點在實際應用上有一定的困難。 一因此,本發明為了能達到處理更高的倍頻技術,以提 Μ高SP'1。度、發明另一較佳實施例係採用微處理器(如 器幹出1 Λ的類比數位轉換器(道)對馬達所用磁編碼 類比數位轉換’且不斷將最新轉換 行運算,依區間分割每組弦波訊號來達 式:利用此方式可使得整體倍頻技術都架構在程 料時,只需修改程式中的數 …、需修改硬體電路’ λ大增加系統彈 1234935 _案號 93104877 年 月 曰 修正 五、發明說明(6) 成本的目標。 再者,本發明此另一較佳實施例可利用微處理器内部 、、DC將弦波说號轉成數位值做運鼻,再用等比例分判 方式計算弦波分割點所對應的數值,最後當 =i =等於分㈣應料,立料㈣此;^優 於可將系統簡化且易於維修,又因倍頻化過程是利用 ^理n做為實現工具,故在倍頻數選擇上相t具有彈 眚银,實際測試,目前在微處理器方面已可完成MSP—430 6倍頻技術。第十圖所示即為本發明另一較佳實施 =整個16倍頻電路之方塊圖,其可以分為兩個部分 BL〇CKl與虬0(:1(2 ;其中,前半部(即BL〇cn )為前面所敘的部分,訊號Ph a、Ph B就等於第九圖中比較電 輸出訊號A (0utput A)、輸出訊號B (〇utput B), ^部為利用計數Ph A、Ph B訊號的上升/下降緣,一個 二訊號經過四倍頻技術會產±四個脈波,戶“乂一個弦波 ,j時間内Ph A加Ph B訊號會有八個脈波,而一個脈波會 個^升緣及一個下降緣,整個計數起來就會有丨6個數 領器ί往上計數還是往下計數就要判斷是訊號A " 還疋領先A,以此方式即可達到1 6倍的效果。 本發明實施例經實際測試所呈現之波形圖請配合參閱 盥兩ί ::不’由圖中可發現四組訊號,分別為兩組弦波 組方波,弦波即為馬達轉動時由磁編碼器輸出的A、Β ,丄、 口孔就輸入到MSP-430的ADC通道,當 程式啟動時ADC會以敢;1¾拥r 冰却缺似m 〇樣週期5 w時間間隔對這2組弦 波訊號做A/D轉變,日π - _ , --- 且不斷將最新轉換值代入數學模組 V.LIMUP..IJ ... ...................... ........ . 晒 第10頁(X, -X, 0.4414X, Y are shown in the eighth figure. Then these signals are compared with each other according to the relationship in the fifth figure, and the comparison circuit is included, including: comparators CPI, CP2, CP3, CP4, CP5 , CP6, CP7, CP8, and combined with the logic circuits of their respective needs (please refer to Figure 9), LI, L2, L3, L4, L5, L6, L7, and L8 can each obtain four pulse waves PI, After the outputs of P2, P3, P4, ρ5, P6, P7, and P8 ', the signals of P1, P2, P3, and? 4 can be combined with the gates and the signals of P5, P6, P7, and P8 can be combined with the gates. ^ In order to get the final logic circuit output L9 and L1 0, which is the output signal we want Output Α and Output Β (this signal has four times the frequency). This method is doing lower frequency doubling technology (such as four times the frequency ), Because the hardware circuit is less complicated and the signal processing speed is fast, the hardware system processing system is a more suitable choice. However, if you want to handle higher frequency multiplication technology, the system integration and system expansion will be caused by the expansion of the hardware circuit. Difficult to debug, in addition, because the use of 〇pA for proportional division in resistance value matching needs A certain degree of accuracy, otherwise it is very easy to cause output errors, which has certain difficulties in practical application. Firstly, in order to achieve a higher frequency doubling technology, the present invention can improve the SP'1. Another preferred embodiment is to use a microprocessor (such as a 1 Λ analog digital converter (channel) to convert the magnetic coding analog digital conversion of the motor 'and continuously calculate the latest conversion line to divide each group of sine waves in intervals. Signal arrival: using this method can make the overall frequency multiplication technology in the process, only need to modify the number in the program ..., need to modify the hardware circuit 'λ greatly increase the system bomb 1234935 _ case number 93104877 V. Description of the invention (6) The target of cost. Furthermore, in another preferred embodiment of the present invention, the internal signal of the microprocessor, DC can be used to convert the sine wave signal into a digital value for the nose, and then divide it in equal proportions. The judgment method calculates the value corresponding to the sine wave segmentation point. Finally, when = i = equal to the expected response, this is not the case; ^ is better than simplifying the system and easy to maintain. As an implementation tool, The frequency multiplier is selected. The upper phase t has impeached silver. In actual testing, the MSP-430 6-frequency multiplication technology can be completed in the microprocessor. The tenth figure shows another preferred implementation of the present invention = the entire 16-frequency multiplier. The block diagram of the circuit can be divided into two parts BL0CK1 and 虬 0 (: 1 (2; where the first half (ie BL0cn) is the part described earlier, and the signals Ph a and Ph B are equal to the first Figure 9 compares the electrical output signal A (0utput A) and the output signal B (〇utput B). The ^ part is to count the rising / falling edges of the Ph A and Ph B signals. There are four pulse waves. If you take a sine wave, there will be eight pulse waves in the Ph A plus Ph B signal in j time, and one pulse wave will have a rising edge and a falling edge. The whole count will have 6 The number of collars counts up or down to determine whether the signal A " also leads A, in this way you can achieve 16 times the effect. Please refer to the waveform diagrams shown in the examples of the present invention after actual testing. Please refer to the following two: :: 不 'Four sets of signals can be found in the figure, which are two sets of sine waves and square waves. The A, B, 丄, and mouth of the encoder output are input to the ADC channel of the MSP-430. When the program starts, the ADC will dare; 1 ¾ r r ice but lacks m 〇 sample period 5 w time interval for these two groups The sine wave signal undergoes A / D conversion, π-_, --- and the latest conversion value is continuously substituted into the mathematical module V.LIMUP..IJ ... .............. ....... Sun page 10

1234935 修正 曰 案號 93104877 五、發明說明(7) 進行運算,依區間分割每組弦 號;又因有A、6兩個訊號,所=會:出四個方波訊號 實現16倍頻之高解析度。彳以共可切出八個方波,達到 是以,經由上述說明可知 設備之編碼用途上,如運用号X明可應用在各種電子 高其解析度,將一圈原=二達/編碼Λ的部*,即可提 用兩種訊號的上升及下^降緣,^回授董提升到8〇〇,利 馬達係應用在極精準的定位* 1 200 ’甚至更高。若 用太路明^ 系統裡_會有更好的控制,使 修改及維護也很簡單,具有顯著之 申請,懇請賜;d:::定’爱依法提出發明專利 告不斤述者,僅為本發明之較佳可行實施例而已, ;圍:二:即限,本發明之實施範圍’舉凡依本發明專利 ^ ^ 之均等變化與修飾,皆應仍屬本發明專利涵括 之轭圍内,於此先申明之。 括 鲁 第11頁 1234935 -±_3__倏正__ 第一圖所示你、> 經過編石i/哭習知磁感測器感測編碼器出來的原始訊號盥 •勺态之輪出波形圖。 " # 了圖所二係—般ADC轉換器之基本架構圖。 弟二圖所示係本發明實施例磁感測器感測編碼器出來的原 始訊號與經過編碼器輸出的示意圖。 第四圖所示係本發明實施例將兩個相位差9〇度的弦波以 360度做16等分的示意圖。 第五圖所示係第四圖中22· 5度區間之邊界圖。 第六圖所示係第四圖中相對於輪出的區間圖。 第七圖所示係本發明實施例四倍頻之輸出圖。 第八圖所示係本發明實施例四倍頻之阻抗匹配示意圖。 第九圖所示係本發明實施例四倍頻之訊號比值示意圖。 第十圖所示係本發明實施例1 6倍頻電路之方塊圖。 第十一圖所示係本發明實施例1 6倍頻經測試時所呈現之波 形圖。1234935 Amend case number 93104877 V. Description of the invention (7) Perform operations to divide each group of chords by interval; and because there are two signals A and 6, so = will: Four square wave signals are achieved to achieve 16 times the frequency Resolution.彳 A total of eight square waves can be cut to achieve the above. According to the above description, we can know the coding use of the device. For example, the application number X can be applied to various electronic devices with high resolution. You can use two types of signals to raise and lower the edge of the signal. ^ The feedback to the director is raised to 800. The Lima motor is used in extremely accurate positioning * 1 200 'or higher. If you use Tailuming ^ system, there will be better control, so that the modification and maintenance are also very simple, there are significant applications, and I kindly ask for your help; d ::: ding 'love to file a patent for invention according to law is not worth mentioning, only It is only the preferred feasible embodiment of the present invention, and the enclosing: two: the limit, the scope of implementation of the present invention 'for all changes and modifications equivalent to the invention patent ^ ^ should still belong to the yoke encompassed by the invention patent Inside, hereby declare it. Page 11 1234935-± _3__ 倏 正 __ as shown in the first picture, > The original signal from the encoder after being edited by i / crying magnetic sensor Wave chart. "# The basic structure of the general ADC converter is shown in Figure 2. The second figure is a schematic diagram of the original signal from the encoder and the output of the encoder through the magnetic sensor according to the embodiment of the present invention. The fourth diagram is a schematic diagram of two sine waves with a phase difference of 90 degrees and 16 equal divisions at 360 degrees in the embodiment of the present invention. The fifth figure shows the boundary map of the 22.5 degree interval in the fourth figure. The sixth diagram is the interval diagram relative to the rotation in the fourth diagram. The seventh figure shows the output of the quadruple frequency in the embodiment of the present invention. The eighth figure is a schematic diagram of the impedance matching of the fourth frequency in the embodiment of the present invention. The ninth figure is a schematic diagram of the signal ratio of the quadruple frequency in the embodiment of the present invention. The tenth figure is a block diagram of a 16-frequency multiplication circuit according to the embodiment of the present invention. The eleventh figure is a waveform diagram when the 16-fold frequency of the embodiment 16 of the present invention is tested.

第12頁Page 12

Claims (1)

1234935 ———__y號 93104877 一 年 月 日__修正 —__ 六、申請專利範圍 1 · 一種高解析度磁感測編碼器之編碼方法,係將兩個相位 差90度的第一弦波信號與第二弦波信號,從〇度至36〇度共 同區分為1 6個區間寬度皆為2 2 · 5度之區間,該編碼方法係 將上述兩個弦波信號各自經由兩個反相放大器串接,並搭 載阻抗匹配,依據這兩個弦波訊號在2 2 · 5度等份區間邊界 角度有固定比值的條件判斷,以解析出更多之可用輸出信 號,再把這些所增加之輪出信號,結合比較器及邏輯電路 5又置輸出’並結合比較電路,利用兩種訊號的上升及下降 緣,達到高倍頻高解析度效果。 2· —種高解析度磁感測編碼器之編碼方法,係將兩個相位 差90度的第一弦波信號與第二弦波信號,從〇度至36〇度共 同區分為16個區間寬度皆為22· 5度之區間,該編碼方法係 採用微處理器中的類比數位轉換器(ADC )對馬達所用磁 編碼器輸出的弦波訊號做等份分割,依據上述這兩個弦波 δΚ 5虎在2 2 · 5度荨份區間邊界角度有固定比值的條件判斷, 並結合比較電路,利用此兩種訊號的上升及下降緣,達到 南倍頻高解析度效果。 3·如申請專利範圍第1或第2項所述之高解析度磁感測編碼 器之編碼方法,其中,該第一弦波信號係為正弦訊號 (s i η 0 ) 〇 4 ·如申請專利範圍第1或第2項所述之高解析度磁感測編碼 器之編碼方法,其中,該第二弦波信號係為餘弦訊號 (cos Θ ) 〇1234935 ———__ y No. 93104877 __correction___ VI. Patent application scope 1 · A high-resolution magnetic sensing encoder encoding method, which is a first sine wave signal with two phase differences of 90 degrees With the second sine wave signal, it is divided into 16 sections with a width of 2 2 · 5 degrees from 0 to 36 °. This coding method passes the two sine wave signals through two inverting amplifiers each. It is connected in series and equipped with impedance matching. According to the condition that the two sine wave signals have a fixed ratio in the boundary angle of the 2 2 · 5 degree equal interval, it can analyze more available output signals, and then increase these additional wheels. The output signal is combined with the comparator and the logic circuit 5 to output again, and combined with the comparison circuit, the rising and falling edges of the two signals are used to achieve the effect of high frequency and high resolution. 2 · —An encoding method of a high-resolution magnetic sensor encoder, which divides two first sine wave signals and second sine wave signals with a phase difference of 90 degrees into 16 sections from 0 to 36 The width is 22.5 degrees. The encoding method uses an analog digital converter (ADC) in the microprocessor to divide the sine wave signal output by the magnetic encoder used by the motor into equal parts. According to the two sine waves above The δK 5 tiger judges the condition that the boundary angle of the 2 2 · 5 degree netting interval has a fixed ratio, and uses a comparison circuit to use the rising and falling edges of these two signals to achieve the high-frequency effect of the south frequency. 3. The encoding method of the high-resolution magnetic sensor encoder according to item 1 or 2 of the scope of patent application, wherein the first sine wave signal is a sine signal (si η 0). The encoding method of the high-resolution magnetic sensor encoder according to the first or second range of the range, wherein the second sine wave signal is a cosine signal (cos Θ). 第13頁Page 13
TW93104877A 2004-02-26 2004-02-26 Encoding method of high-resolution magnet inductive encoder TWI234935B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW93104877A TWI234935B (en) 2004-02-26 2004-02-26 Encoding method of high-resolution magnet inductive encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW93104877A TWI234935B (en) 2004-02-26 2004-02-26 Encoding method of high-resolution magnet inductive encoder

Publications (2)

Publication Number Publication Date
TWI234935B true TWI234935B (en) 2005-06-21
TW200529567A TW200529567A (en) 2005-09-01

Family

ID=36597994

Family Applications (1)

Application Number Title Priority Date Filing Date
TW93104877A TWI234935B (en) 2004-02-26 2004-02-26 Encoding method of high-resolution magnet inductive encoder

Country Status (1)

Country Link
TW (1) TWI234935B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110864713A (en) * 2018-08-27 2020-03-06 佳能株式会社 Absolute position detection apparatus and method, and storage medium
CN111669153A (en) * 2020-06-18 2020-09-15 长春汇通光电技术有限公司 Circuit for improving resolution of sine and cosine encoder

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102223015A (en) * 2011-06-03 2011-10-19 台湾津圣企业有限公司 Servo motor transmission structure
TWI730564B (en) * 2019-12-26 2021-06-11 財團法人工業技術研究院 Encoder and signal processing method using the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110864713A (en) * 2018-08-27 2020-03-06 佳能株式会社 Absolute position detection apparatus and method, and storage medium
CN110864713B (en) * 2018-08-27 2023-01-10 佳能株式会社 Absolute position detection apparatus and method, and storage medium
CN111669153A (en) * 2020-06-18 2020-09-15 长春汇通光电技术有限公司 Circuit for improving resolution of sine and cosine encoder
CN111669153B (en) * 2020-06-18 2023-06-23 长春汇通光电技术有限公司 Resolution improving circuit of sine and cosine encoder

Also Published As

Publication number Publication date
TW200529567A (en) 2005-09-01

Similar Documents

Publication Publication Date Title
CN106685421B (en) Analog signal acquisition method and device
CN104567955A (en) Grating subdivision device and method based on FPGA
TWI234935B (en) Encoding method of high-resolution magnet inductive encoder
CN110133316B (en) Precise speed measurement system and method for photoelectric encoder
Benammar A novel amplitude-to-phase converter for sine/cosine position transducers
EP1943482A1 (en) Method for signal processing of capacitive measurement scales
Zivanovi et al. A novel linearization method of sin/cos sensor signals used for angular position determination
CN111368584A (en) Self-correcting high-resolution position information splicing method for sine and cosine encoder
JP5162739B2 (en) Encoder signal processing method, encoder device, and servo motor
Wang et al. Study on high precision magnetic encoder based on the arctangent cross-intervals tabulation method
TWI273774B (en) Apparatus and method of improving encoder resolution
JP7281778B1 (en) absolute position encoder
Jovanović et al. An improved linearization circuit used for optical rotary encoders
KR102713860B1 (en) Angle measurement system based on magnetic method measurement method therefor and the magnet for the measurement
JPH02186221A (en) Interpolation apparatus of encoder
US3295061A (en) Measuring system having condition responsive means wherein measured and reference ampitude varying signals are converted to proportional phase displaced signals
SU1283807A1 (en) Phase interpolator of two quadrature signals
KR20020058908A (en) Apparatus and method for high resolution processing of encoder signal for a motor control
Bartik et al. Angle tracking observer for the velocity estimation with the filtered control variable
RU2247936C1 (en) Device for measuring linear displacements and deformations of object
JP2938472B2 (en) Rotation angle detector
JPS6182112A (en) Length measuring machine
RU2133041C1 (en) Method determining spectrum of electric signals
JPH0399219A (en) Encoder
SU1088044A2 (en) Shaft turn angle encoder

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees