TWI390183B - High-precision absolute type encoder apparatus and method for operating the same - Google Patents

High-precision absolute type encoder apparatus and method for operating the same Download PDF

Info

Publication number
TWI390183B
TWI390183B TW97115709A TW97115709A TWI390183B TW I390183 B TWI390183 B TW I390183B TW 97115709 A TW97115709 A TW 97115709A TW 97115709 A TW97115709 A TW 97115709A TW I390183 B TWI390183 B TW I390183B
Authority
TW
Taiwan
Prior art keywords
encoder
signal
control signal
power
pulse
Prior art date
Application number
TW97115709A
Other languages
Chinese (zh)
Other versions
TW200944762A (en
Inventor
Ching Hsiung Tsai
Cheng Ping Lin
Po Ming Chen
meng chang Lin
Original Assignee
Delta Electronics Inc
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 Delta Electronics Inc filed Critical Delta Electronics Inc
Priority to TW97115709A priority Critical patent/TWI390183B/en
Publication of TW200944762A publication Critical patent/TW200944762A/en
Application granted granted Critical
Publication of TWI390183B publication Critical patent/TWI390183B/en

Links

Description

高解析絕對型編碼裝置及其操作方法High-resolution absolute type coding device and operation method thereof

本發明係有關於一種高解析絕對型編碼裝置及其操作方法,特別是有關於一種可在斷電時提供高解析絕對型編碼裝置及其操作方法。The present invention relates to a high resolution absolute type encoding device and an operating method thereof, and more particularly to a high resolution absolute type encoding device and a method of operating the same that can be provided during power down.

習知交流伺服馬達通常內含一個光學編碼器,該光學編碼器提供轉子的角度以獲知一馬達轉速資訊,該轉速資訊可回授至相關速度控制單元以精確控制馬達轉速。Conventional AC servo motors typically include an optical encoder that provides the angle of the rotor for information on a motor speed that can be fed back to the associated speed control unit to precisely control the motor speed.

第一圖為一習知交流伺服馬達控制系統之方塊圖,馬達10之轉子的角度位置係由一光學編碼器12偵測並經一信號處理單元20處理以得到一角度資訊θ。該角度資訊送至一控制器14處理以得到一馬達估計轉速,然後一速度控制器30接收該馬達估計轉速及一速度命令,藉以控制一控制器模組32及一絕緣柵雙極電晶體(IGBT)模組34產生控制馬達轉速信號,以精確控制馬達10轉速。The first figure is a block diagram of a conventional AC servo motor control system. The angular position of the rotor of the motor 10 is detected by an optical encoder 12 and processed by a signal processing unit 20 to obtain an angle information θ. The angle information is sent to a controller 14 for processing to obtain a motor estimated speed, and then a speed controller 30 receives the motor estimated speed and a speed command to control a controller module 32 and an insulated gate bipolar transistor ( The IGBT) module 34 generates a control motor speed signal to precisely control the motor 10 speed.

更明確而言,在伺服驅動馬達中,鎖附在馬達轉軸上的位置感測器便是光學編碼器12。伺服馬達的定位精確度取決於編碼器的解析度高低,光學編碼器(或稱旋轉編碼器)12又分為增量型編碼器(incremental encoder)和絕對型編碼器(absolute encoder)。More specifically, in the servo drive motor, the position sensor attached to the motor shaft is the optical encoder 12. The positioning accuracy of the servo motor depends on the resolution of the encoder. The optical encoder (or rotary encoder) 12 is further divided into an incremental encoder and an absolute encoder.

增量型編碼器只能提供位置相對於前一位置的資訊,所以電源中斷後,位置的資訊變化必須重新歸零才可確認。在斷電後再重新上電的瞬間,增量型編碼器無法立即 知道目前機構所在位置。絕對型的位置編碼器能隨時輸出軸角度(位置)的絕對值且不會因為電源中斷而喪失位置的資訊,因此斷電再上電後無需進行歸零程序,簡化了控制系統的運作。The incremental encoder can only provide information about the position relative to the previous position, so after the power is interrupted, the information change of the position must be reset to zero to confirm. The incremental encoder cannot be immediately turned on after the power is turned off. Know where the current organization is. The absolute position encoder can output the absolute value of the shaft angle (position) at any time without losing the position information due to the power interruption. Therefore, the zero return procedure is not required after the power is turned off and the control system is simplified.

參見第二圖,為一光學編碼器的基本構造,一光源(例如一雷射二極體LD)260發出的光線經過一旋轉碼盤(disk)200及一個固定不動的副編碼片(mask)220到達一光感測元件(例如一光二極體PD)240,光感測元件240接收到的光線強度隨著旋轉碼盤200位置不同而有不同的強度變化,透過光感測元件240上的信號變化便可檢知位置訊息。Referring to the second figure, the basic configuration of an optical encoder, a light source (e.g., a laser diode LD) 260 emits light through a rotating disk 200 and a fixed sub-code mask. 220 reaches a light sensing component (eg, a photodiode PD) 240, and the intensity of the light received by the light sensing component 240 varies with the position of the rotating code wheel 200, and is transmitted through the light sensing component 240. The signal change can detect the location message.

參見第三圖,為一絕對型編碼器之旋轉碼盤300之示意圖,其中該旋轉碼盤300為一6位元(6bit)二進位角度碼(Gray code)的碼盤設計。該旋轉碼盤300包含一圓形主體302及多數之光柵。該光柵包含在最內圈編碼軌道且佔有1/2圓周之1個第一光柵304A、在內側第二圈編碼軌道且各佔有1/4圓周之2個第二光柵304B、第三光柵304C、第四光柵304D、第五光柵304E及在最外側編碼軌道且各佔有1/64圓周之32個第六光柵304F。因此沿著輻射(radial)方向可以產生不同的明暗信號,並可沿著圓周方向達成=64的解析度。然而在如第三圖所示之絕對型編碼器架構,解析度每增加一個位元(bit),碼盤便必須增加一圈的編碼軌道。解析度越高編碼軌道數便越多,編碼器的體積就越大;在一些有體積限制的場合,絕對式編碼器的精 度便有所限制。Referring to the third figure, it is a schematic diagram of a rotary encoder 300 of an absolute encoder, wherein the rotary encoder 300 is a 6-bit (6-bit) Gray code code disc design. The rotary code wheel 300 includes a circular body 302 and a plurality of gratings. The grating includes one first grating 304A occupying the innermost circumference coding track and occupying 1/2 circumference, two second gratings 304B and three third gratings 304C occupying the track on the inner side and occupying 1/4 circumference each. The fourth grating 304D, the fifth grating 304E, and the 32 sixth gratings 304F each occupying the tracks at the outermost side and occupying 1/64 of the circumference. Therefore, different light and dark signals can be generated along the radial direction, and a resolution of =64 can be achieved along the circumferential direction. However, in the absolute encoder architecture shown in Figure 3, for each bit added to the resolution, the code wheel must add one more code track. The higher the resolution, the more the number of encoded tracks, the larger the size of the encoder; in some cases where there is a volume limitation, the absolute encoder is fine. There are limits to the degree.

參見第四A圖,為一増量式編碼器之一旋轉碼盤400示意圖,該旋轉碼盤400包含一圓形主體402及多數之光柵。該些光柵包含主光柵404A、第一副光柵404B及第二副光柵404C。參見第四B圖,為副編碼盤420之示意圖;該副編碼盤420包含四排光柵420A。Referring to FIG. 4A, a schematic diagram of a rotary encoder 400 for one of the encoders, the rotary encoder 400 includes a circular body 402 and a plurality of gratings. The gratings include a main grating 404A, a first sub-grating 404B, and a second sub-grating 404C. Referring to FIG. 4B, it is a schematic diagram of the sub-code disc 420; the sub-code disc 420 includes four rows of gratings 420A.

參見第四C圖,為光感測元件440之示意圖,該光感測元件440包含對應於主光柵404A之主感測單元442A,444A,442B,444B(亦即標示為A+,B+,A-,B-之區域)。當旋轉碼盤400旋轉時,在光感測元件440的四個單元主感測單元442A,444A,442B,444B(A+,B+,A-,B-)會產生類似弦波的信號。這四個弦波的相位分別為0/90/180/270度,取0/180信號(A+,A-)作差動放大後可得到消除共模雜訊(common mode noise)的正弦信號A;同樣的取90/270信號(B+,B-)作差動放大後可得到消除共模雜訊的餘弦信號B,AB兩個信號的相位差90度,可以用來判斷正轉或反轉。Referring to FIG. 4C, which is a schematic diagram of a light sensing element 440, the light sensing element 440 includes main sensing units 442A, 444A, 442B, 444B corresponding to the main grating 404A (also labeled as A+, B+, A- , the area of B-). When the rotary code wheel 400 is rotated, the four unit main sensing units 442A, 444A, 442B, 444B (A+, B+, A-, B-) of the light sensing element 440 generate a signal similar to a sine wave. The phases of the four sine waves are 0/90/180/270 degrees, respectively, and the 0/180 signals (A+, A-) are differentially amplified to obtain a sinusoidal signal A that eliminates common mode noise. The same 90/270 signal (B+, B-) is used for differential amplification to obtain the cosine signal B that cancels the common mode noise. The phase difference between the two signals of AB is 90 degrees, which can be used to judge forward or reverse. .

増量式編碼器基本上只須AB脈波信號就可以檢知位置訊息,但由於此位置訊息只提供相對於前一位置的資訊,因此還需另外設置原點信號感測單元446A,446B(Z+,Z-),在每次系統上電時先回原點歸零後才可得到絕對位置訊息。增量式編碼器的優點是只需六個信號,及利用兩相差距90∘的正弦信號和餘弦信號進行插補便可得到高解析度的位置訊息,其缺點則是每次開機上電都須執行回原點動作。此種做法不但浪費時間且在某些不容許回原點程 序的應用場合,増量式編碼器就無法符合需求而需增設使用絕對式編碼器。The volume encoder basically only needs the AB pulse signal to detect the position information, but since the position information only provides information relative to the previous position, the origin signal sensing unit 446A, 446B (Z+) needs to be additionally set. , Z-), the absolute position message can be obtained after returning to the original zero point each time the system is powered on. The advantage of the incremental encoder is that it only needs six signals, and the sine signal and the cosine signal with two-phase difference of 90 进行 can be interpolated to obtain high-resolution position information. The disadvantage is that each time the power is turned on. The homing action must be performed. This practice is not only a waste of time but also does not allow the return to the original point. For the application of the sequence, the quantized encoder can not meet the demand and an absolute encoder is required.

為了解決斷電時的多圈的絕對定址問題,相關技術中圈數的計數有兩種作法: (1)機械齒輪式 為了圈數的計數,齒輪組的每一個齒輪互相咬合,形成有編碼器軸心來帶動第一個齒輪,再由第一個齒輪來帶動第二個齒輪(如第五圖所示)。In order to solve the problem of absolute addressing of multiple turns during power failure, there are two ways to count the number of turns in the related art: (1) Mechanical gear type For the counting of the number of turns, each of the gears of the gear set meshes with each other to form an encoder shaft to drive the first gear, and the first gear drives the second gear (as shown in the fifth figure).

在每個齒輪上刻有絕對碼,設為一圈有n個絕對定址,利用分散式雷射二極體LD和光二極體PD來讀取。同時,這齒輪組可以記錄編碼器軸心轉動n*n*n圈An absolute code is engraved on each gear, and there are n absolute addresses in one circle, which are read by the distributed laser diode LD and the photodiode PD. At the same time, this gear set can record the encoder axis rotation n*n*n circle

(2)單圈絕對型配合電池計數圈數 在斷電下,以電池供電給專用晶片,專用晶片只以間隔觸發雷射二極體(LD),使得光二極體(PD)產生間隔時間的一圈絕對定址的資料信號。藉由這絕對定址的資料信號資料,可以判斷是否正轉或反轉一圈,進而累計圈數。(2) Single-turn absolute type with battery counting laps Under power failure, the battery is powered by a dedicated chip. The dedicated chip only triggers the laser diode (LD) at intervals, so that the photodiode (PD) generates a data signal that is absolutely addressed at intervals. With this absolutely addressed data signal data, it can be judged whether or not it is rotated or reversed one turn, and then the number of turns is accumulated.

當復電時,編碼器的晶片會讀已累積的圈數,同時也讀取碟片上的角度碼目前的數值,最後再做插補來得到更精細的角度值。然而在讀取角度碼時,有時會有臨界數值問題,或者粉塵在碟片上導致與真實位置有一些偏差,此時需要一些校正點來修正這些偏差。一般而言,剛上電時,編碼器所傳回的數值還有些偏差,等到通過一些校正點後,角度值才會變正確。換言之,復電時,一開始只得接近角度值;待轉至校正點後,才有正確角度值。When re-powering, the encoder's chip will read the accumulated number of turns, and also read the current value of the angle code on the disc, and then interpolate to get a finer angle value. However, when reading the angle code, there are sometimes critical value problems, or the dust on the disc causes some deviation from the real position, and some correction points are needed to correct these deviations. In general, when the power is turned on, the value returned by the encoder is still somewhat biased, and the angle value will be correct after some calibration points are passed. In other words, when power is restored, it is only close to the angle value at the beginning; after the calibration point is reached, the correct angle value is obtained.

因此本發明之目的即在於提供一種高解析絕對型編碼器及其操作方法,可以在斷電時精確且省電地計算旋轉角度,以利復電後迅速啟動。Therefore, the object of the present invention is to provide a high-resolution absolute encoder and an operation method thereof, which can accurately and power-savingly calculate the rotation angle during power-off, so as to promptly start after power-on.

為了達成上述目的,本發明提供一種高解析絕對型編碼裝置,係利用一増量式編碼器及一電池而在斷電時進行絕對角度量測,包含:一控制器,係電連接到該増量式編碼器,並產生一控制信號至該増量式編碼器;一比較器,電連接到該増量式編碼器之輸出,以對該増量式編碼器輸出作操作而得到第一脈波信號;一閂鎖單元,電連接到該比較器之輸出,以對該比較器之輸出作閂鎖操作而得到第二脈波信號;其中該控制器在斷電時,驅動該控制信號為斷續導通之脈波信號,且計算由第二脈波信號產生之計數而得知一絕對角度資訊。In order to achieve the above object, the present invention provides a high-resolution absolute type encoding apparatus which performs absolute angle measurement during power-off using a measuring encoder and a battery, and includes: a controller electrically connected to the measuring unit An encoder and generating a control signal to the measurement encoder; a comparator electrically coupled to the output of the measurement encoder for operating the measurement encoder output to obtain a first pulse signal; a latch a lock unit electrically connected to the output of the comparator to perform a latching operation on the output of the comparator to obtain a second pulse signal; wherein the controller drives the control signal to be a discontinuous conduction pulse when the controller is powered off The wave signal, and calculating the count generated by the second pulse signal, knows an absolute angle information.

為了克服前述所產生的問題,本發明以在斷電時如何造出正確A、B脈波來計數為主要內容,而不是計數圈數。如此,斷電與復電間,對於A、B脈波計數是一致的,沒有任何區別,圈數的計數也從A、B脈波計數來進位。In order to overcome the problems caused by the foregoing, the present invention counts as the main content by generating the correct A and B pulse waves at the time of power failure, instead of counting the number of turns. Thus, between the power-off and the re-power, the A and B pulse counts are identical, and there is no difference. The count of the number of turns is also counted from the A and B pulse counts.

參考第六圖,為依據本發明之高解析絕對型編碼裝置60之方塊圖,該高解析絕對型編碼裝置60包含一控制器100、一電力開關120、一増量式編碼器140、一比較器160、一個閂鎖單元(latch)180及一個電池(未圖示,供應 電力Vcc),該電池供應上述單元之電力。該増量式編碼器140為一習知之增量式編碼器,且包含一雷射二極體LD、一光二極體PD及對應之旋轉碼盤(未標號)。該控制器100電連接到該電力開關120,並提供一控制信號SW至該電力開關120,以選擇性地控制雷射二極體LD電源為持續點亮(正常供電模式,或是類正常模式(quasi-normal mode))或是脈波式操作(電池模式)。再者,該控制器100亦電連接到該比較器160及該閂鎖單元180,以提供該控制信號SW至該比較器160及該閂鎖單元180。由光二極體PD接收到的0/180信號(A+,A-)及90/270信號(B+,B-)經過比較器160處理後可以得到第一脈波信號A1及B1;而第一脈波信號A1及B1經過閂鎖單元180處理後可以得到第二脈波信號A2及B2。第二脈波信號A2及B2由控制器100之計數器102處理即可知道旋轉角度,該控制器100可由斷電前之角度與斷電後角度的累加而知道目前之絕對角度。6 is a block diagram of a high resolution absolute encoding device 60 according to the present invention. The high resolution absolute encoding device 60 includes a controller 100, a power switch 120, a volume encoder 140, and a comparator. 160, a latch unit (latch) 180 and a battery (not shown, supplied Power Vcc), the battery supplies power to the above unit. The measurement encoder 140 is a conventional incremental encoder and includes a laser diode LD, a photodiode PD and a corresponding rotary code wheel (not labeled). The controller 100 is electrically connected to the power switch 120 and provides a control signal SW to the power switch 120 to selectively control the laser diode LD power supply to be continuously lit (normal power supply mode, or normal mode) (quasi-normal mode) or pulse mode operation (battery mode). Moreover, the controller 100 is also electrically connected to the comparator 160 and the latch unit 180 to provide the control signal SW to the comparator 160 and the latch unit 180. The 0/180 signals (A+, A-) and 90/270 signals (B+, B-) received by the photodiode PD are processed by the comparator 160 to obtain the first pulse signals A1 and B1; The wave signals A1 and B1 are processed by the latch unit 180 to obtain the second pulse signals A2 and B2. The second pulse signal A2 and B2 are processed by the counter 102 of the controller 100 to know the angle of rotation. The controller 100 can know the current absolute angle from the angle before the power-off and the angle after the power-off.

第七圖所示為在第六圖之高解析絕對型編碼裝置60中部份信號之波形圖,由控制器100的韌體設計或邏輯設計可產生如第七圖的控制信號SW。此控制信號SW在導通(High)狀態來點亮雷射二極體LD,也因此在這同時光二極體PD也產生感光信號。感光信號由旋轉碼盤(disk)和副編碼片(mask)是否遮蔽而決定。雷射二極體LD的輸出信號經過放大及比較後,而產生第一脈波信號A1及B1。該第一脈波信號A1及B1透過控制信號SW控制該閂鎖單元 180進行閂鎖,以得到第二脈波信號A2及B2。該第二脈波信號A2及B2信號和雷射二極體LD一直持續開啟(On)所得到的信號是相同的。只是隨著轉動速度加快,間隔時間也越短(詳見後述)。The seventh figure shows a waveform diagram of a part of the signal in the high resolution absolute type encoding device 60 of the sixth figure. The control signal SW of the seventh figure can be generated by the firmware design or logic design of the controller 100. The control signal SW illuminates the laser diode LD in a high state, and thus the photodiode PD also generates a light-sensing signal. The light sensing signal is determined by whether the rotating disk and the sub-code mask are masked. The output signals of the laser diode LD are amplified and compared to generate first pulse signals A1 and B1. The first pulse signals A1 and B1 control the latch unit through a control signal SW 180 is latched to obtain second pulse signals A2 and B2. The signals obtained by the second pulse signal A2 and the B2 signal and the laser diode LD are continuously turned on (On) are the same. Just as the speed of rotation increases, the interval time is shorter (see below for details).

由於計數A1、B1脈波,相較於計數圈數,控制信號SW的間隔時間需要比較短。舉例而言,若旋轉碼盤(disk)之解析度為512ppr,那麼轉速為60rpm時,第一脈波信號A1及B1的脈波週期為60/60/512=1/512s=:2ms。控制信號SW的間隔時間至少需要2/5ms=0.4ms,才能正確計數脈波數。至於控制信號SW的持續開啟(On)時間由雷射二極體LD及光二極體PD的反應時間測量決定。當正常供電時,控制信號SW信號一直處於持續開啟(On)狀態。因此當斷電被檢測時,控制器100會依據角度計算轉速,並等到轉速到足夠低(例如小於30rpm)時,才切換到電池模式,此時控制信號SW的間隔時間以0.4ms來進行。透過計數器102的累加,可以估算目前的轉速。當轉速超過30rpm時,則控制信號SW信號將設於持續開啟(On)狀態,讓高轉速可以安全計數。當轉速又夠低時,控制信號SW的間隔時間以0.4ms(亦即每0.4ms導通一次)來進行。如第七圖所示,在斷電時,一般而言編碼器旋轉速度不會很快,因此用斷續導通之控制信號SW配合閂鎖即可精確得知旋轉角度計數。如此圖所示,計數器計數結果為88,87,86,85,而控制器100即可依據計數器計數結果及斷電前角度資訊而精確得知目前之絕對位置。Since the pulse waves A1 and B1 are counted, the interval time of the control signal SW needs to be relatively short compared to the number of counting turns. For example, if the resolution of the rotary disk is 512 ppr, then the pulse period of the first pulse signals A1 and B1 is 60/60/512=1/512s=:2 ms when the rotational speed is 60 rpm. The interval of the control signal SW needs at least 2/5 ms = 0.4 ms in order to correctly count the pulse wave number. The continuous on time of the control signal SW is determined by the reaction time measurement of the laser diode LD and the photodiode PD. When the power is normally supplied, the control signal SW signal is always in the on state. Therefore, when the power failure is detected, the controller 100 calculates the rotation speed according to the angle, and waits until the rotation speed is sufficiently low (for example, less than 30 rpm) to switch to the battery mode, at which time the interval of the control signal SW is performed at 0.4 ms. The current speed can be estimated by the accumulation of the counter 102. When the speed exceeds 30 rpm, the control signal SW signal will be set to the On state, so that the high speed can be safely counted. When the rotational speed is sufficiently low, the interval of the control signal SW is performed at 0.4 ms (that is, once every 0.4 ms). As shown in the seventh figure, in the case of power failure, the encoder rotation speed is generally not fast, so that the rotation angle count can be accurately known by the intermittently conducting control signal SW in conjunction with the latch. As shown in the figure, the counter counts 88, 87, 86, 85, and the controller 100 can accurately know the current absolute position based on the counter count result and the angle information before the power is turned off.

參見第八圖,為本發明之高解析絕對型編碼裝置操作方法,首先偵測是否正常供電(S100),若是正常供電,則由控制器100驅動控制信號SW持續導通(正常模式),以持續偵測旋轉碼盤(disk)轉速(S102);若非為正常供電(例如馬達的三相電力失常時),則以電池電力供電且間隔方式供應控制信號SW,以在節電狀態下估計轉速(電池模式)(S104)。隨後控制器100判斷轉速是否超過30rpm(S110),若轉速超過,則控制器100控制控制信號SW持續開啟(On),以持續偵測旋轉碼盤(disk)轉速,此時雖然係用電池電力,但是為了偵測較為高速的旋轉碼盤旋轉,因此還是送出持續開啟之控制信號SW,此模式稱為類正常模式(quasi normal mode)(S112);若轉速未超過,則由控制器100以間隔方式供應控制信號SW,以在節電狀態下估計轉速(電池模式)(S104)。Referring to FIG. 8 , the method for operating the high-resolution absolute encoding device of the present invention first detects whether the power is normally supplied (S100). If the power is normal, the controller 100 drives the control signal SW to be continuously turned on (normal mode) to continue. Detecting the rotation speed of the rotary disk (S102); if it is not normal power supply (for example, when the three-phase power of the motor is abnormal), the control signal SW is supplied in a battery power supply and in an interval manner to estimate the rotation speed in the power saving state (battery) Mode) (S104). Then, the controller 100 determines whether the rotation speed exceeds 30 rpm (S110). If the rotation speed exceeds, the controller 100 controls the control signal SW to be continuously turned on (On) to continuously detect the rotation speed of the rotary disk (disk). However, in order to detect a relatively high speed rotary code wheel rotation, a control signal SW that is continuously turned on is sent, and this mode is called a quasi normal mode (S112); if the rotation speed is not exceeded, the controller 100 The control signal SW is supplied in a spaced manner to estimate the rotational speed (battery mode) in the power saving state (S104).

本專利的技術特徵有下列 1)斷電時,不以單圈絕對位置來計數圈數,而是以間隔時間來觸發雷射二極體LD,得到脈波信號A、B來計數角度位置資料,也同時包括圈數進位累計。The technical features of this patent are as follows 1) When the power is off, the number of turns is not counted in the absolute position of the single turn, but the laser diode LD is triggered at intervals, and the pulse wave signals A and B are obtained to count the angular position data, and also includes the number of turns. Grand total.

2)利用閂鎖方式還原間隔的脈波信號A、B成為正常連續的脈波,使得計數器在斷電時依然保持正常計數。2) The pulse signal A and B of the interval are restored by the latch mode to become a normal continuous pulse wave, so that the counter still maintains a normal count when the power is turned off.

3)利用不同切換週期來正常計數不同轉速的脈波數。3) Use different switching cycles to normally count the number of pulses at different speeds.

上述僅為本發明之較佳實施例而已,並非用來限定本發明實施範圍。即凡依本發明申請專利範圍所做的均等變 化與修飾,皆為本發明專利範圍所涵蓋。The above are only the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. That is, the equal variation made by the scope of the patent application of the present invention Both modification and modification are covered by the scope of the invention.

【習知】[Practical]

馬達‧‧‧10Motor ‧‧10

光學編碼器‧‧‧12Optical encoder ‧‧12

控制器‧‧‧14Controller ‧‧14

信號處理單元‧‧‧20Signal Processing Unit ‧‧20

速度控制器‧‧‧30Speed controller ‧ ‧ 30

控制器模組‧‧‧32Controller module ‧‧32

絕緣柵雙極電晶體(IGBT)模組‧‧‧34Insulated Gate Bipolar Transistor (IGBT) Module ‧‧34

旋轉碼盤‧‧‧200,300,400Rotary code wheel ‧‧200,300,400

副編碼片‧‧‧220,420Deputy code ‧‧‧220,420

光感測元件‧‧‧240,440Light sensing element ‧‧‧240,440

光源‧‧‧260Light source ‧‧‧260

圓形主體‧‧‧302,402Round body ‧‧‧302,402

第一光柵‧‧‧304AFirst grating ‧‧‧304A

第二光柵‧‧‧304BSecond grating ‧‧‧304B

第三光柵‧‧‧304CThird raster ‧‧ ‧304C

第四光柵‧‧‧304DFourth grating ‧‧‧304D

第五光柵‧‧‧304EFifth raster ‧‧‧304E

第六光柵‧‧‧304FSixth grating ‧‧ ‧304F

主光柵‧‧‧404AMain grating ‧‧ 404A

第一副光柵‧‧‧404BFirst light barrier ‧‧‧404B

第二副光柵‧‧‧404CSecond light barrier ‧‧‧404C

光柵‧‧‧420ARaster ‧‧ 420A

主感測單元‧‧‧442A,444A,442B,444BMain sensing unit ‧‧‧442A, 444A, 442B, 444B

原點信號感測單元‧‧‧446A,446BOrigin signal sensing unit ‧‧‧446A,446B

【本發明】【this invention】

高解析絕對型編碼裝置‧‧‧60High resolution absolute coding device ‧‧60

控制器‧‧‧100Controller ‧‧100

電力開關‧‧‧120Power switch ‧‧‧120

増量式編碼器‧‧‧140Measuring encoder ‧‧140

比較器‧‧‧160Comparator ‧‧160

閂鎖單元‧‧‧180Latch unit ‧‧‧180

計數器‧‧‧102Counter ‧‧‧102

控制信號‧‧‧SWControl signal ‧‧‧SW

電池電力‧‧‧VccBattery power ‧‧VCC

第一脈波信號‧‧‧A1、B1First pulse signal ‧‧‧A1, B1

第二脈波信號‧‧‧A2、B2Second pulse signal ‧‧‧A2, B2

步驟‧‧‧S100-S112Step ‧‧S100-S112

第一圖為一習知交流伺服馬達控制系統之方塊圖。The first figure is a block diagram of a conventional AC servo motor control system.

第二圖為光學式編碼器的基本構造。The second picture shows the basic construction of an optical encoder.

第三圖為一習知絕對型編碼器之旋轉碼盤之示意圖。The third figure is a schematic diagram of a conventional rotary encoder with an absolute encoder.

第四A圖為一習知增量型編碼器之旋轉碼盤之示意圖。Figure 4A is a schematic diagram of a conventional rotary encoder with an incremental encoder.

第四B圖為一習知副編碼盤之示意圖。Figure 4B is a schematic diagram of a conventional sub-coded disc.

第四C圖為一習知光感測元件之示意圖。Figure 4C is a schematic diagram of a conventional light sensing element.

第五圖為機械齒輪示意圖。The fifth picture is a schematic diagram of the mechanical gear.

第六圖為依據本發明之高解析絕對型編碼裝置之方塊圖。Figure 6 is a block diagram of a high resolution absolute type encoding apparatus in accordance with the present invention.

第七圖所示為在第六圖之高解析絕對型編碼裝置中部份信號之波形圖。The seventh figure shows the waveform diagram of some signals in the high resolution absolute type encoding device of the sixth figure.

第八圖為本發明之高解析絕對型編碼裝置操作方法。The eighth figure is a method for operating the high resolution absolute type encoding device of the present invention.

高解析絕對型編碼裝置‧‧‧60High resolution absolute coding device ‧‧60

控制器‧‧‧100Controller ‧‧100

電力開關‧‧‧120Power switch ‧‧‧120

増量式編碼器‧‧‧140Measuring encoder ‧‧140

比較器‧‧‧160Comparator ‧‧160

閂鎖單元‧‧‧180Latch unit ‧‧‧180

計數器‧‧‧102Counter ‧‧‧102

控制信號‧‧‧SWControl signal ‧‧‧SW

電池電力‧‧‧VccBattery power ‧‧VCC

第一脈波信號‧‧‧A1、B1First pulse signal ‧‧‧A1, B1

第二脈波信號‧‧‧A2、B2Second pulse signal ‧‧‧A2, B2

Claims (7)

一種高解析絕對型編碼裝置,係利用一増量式編碼器及一電池而在斷電時進行絕對角度量測,包含:一控制器,係電連接到該増量式編碼器,並產生一控制信號至該増量式編碼器;一比較器,電連接到該増量式編碼器之輸出,以對該増量式編碼器輸出操作而得到第一脈波信號;及一閂鎖單元,電連接到該比較器之輸出,以對該比較器之輸出作閂鎖操作而得到第二脈波信號;其中該控制器在剛斷電時,驅動該控制信號為持續開啟之信號;轉速低於一轉速設定時,驅動該控制信號為斷續導通之脈波信號,且計算由第二脈波信號產生之計數而得知一角度資訊。 A high-resolution absolute type encoding device performs absolute angle measurement during power-off using a measuring encoder and a battery, comprising: a controller electrically connected to the measuring encoder and generating a control signal To the measurement encoder; a comparator electrically connected to the output of the measurement encoder for outputting the first encoder signal to the output of the measurement encoder; and a latch unit electrically connected to the comparison The output of the comparator is latched to obtain a second pulse signal; wherein the controller drives the control signal to be continuously turned on when the power is off; when the speed is lower than a speed setting The control signal is driven as a pulse signal that is intermittently turned on, and a count generated by the second pulse signal is calculated to obtain an angle information. 如申請專利範圍第1項之高解析絕對型編碼裝置,其中在斷電時該閂鎖單元係在控制信號為導通(High)時閂鎖該第一脈波信號。 The high resolution absolute type encoding device of claim 1, wherein the latch unit latches the first pulse signal when the control signal is high during power down. 如申請專利範圍第1項之高解析絕對型編碼裝置,其中該控制器在該増量式編碼器之一旋轉碼盤轉速超過30RPM時,驅動該控制信號為持續開啟(On)之信號。 The high resolution absolute type encoding device of claim 1, wherein the controller drives the control signal to be continuously on (On) when the rotating code wheel speed of one of the measuring encoders exceeds 30 RPM. 如申請專利範圍第3項之高解析絕對型編碼裝置,其中該増量式編碼器之該旋轉碼盤解析度為512 ppr,且該控制信號的間隔時間為0.4 ms。 The high resolution absolute encoding device of claim 3, wherein the rotating encoder has a resolution of 512 ppr and the control signal has an interval of 0.4 ms. 一種高解析絕對型編碼方法,係利用一増量式編碼器及一電池而在斷電時進行絕對角度量測,包含: 在斷電且該増量式編碼器轉速低於一轉速設定值時,以一斷續導通之控制信號驅動該増量式編碼器,以產生第一脈波信號;利用該控制信號閂鎖該第一脈波信號,以產生第二脈波信號;及利用該第二脈波信號計算該増量式編碼器之一旋轉角度;其中在斷電且轉速高於該轉速設定值時,驅動該控制信號回復為持續開啟之信號。 A high-resolution absolute type encoding method uses an encoder and a battery to perform absolute angle measurement during power-off, including: When the power is off and the speed of the encoder is lower than a speed setting, the measuring encoder is driven by a discontinuous conduction control signal to generate a first pulse signal; the first signal is latched by the control signal a pulse wave signal for generating a second pulse wave signal; and calculating a rotation angle of the one of the volume encoders by using the second pulse wave signal; wherein the control signal is driven to be restored when the power is turned off and the rotation speed is higher than the speed setting value A signal that is continuously turned on. 如申請專利範圍第5項之高解析絕對型編碼方法,其中該轉速設定值為30RPM。 For example, the high resolution absolute encoding method of claim 5, wherein the speed setting value is 30 RPM. 如申請專利範圍第5項之高解析絕對型編碼方法,其中該該増量式編碼器之一旋轉碼盤解析度為512 ppr,且該控制信號的間隔時間為0.4 ms。 The high resolution absolute coding method according to claim 5, wherein the one of the measurement encoders has a rotation code resolution of 512 ppr, and the control signal has an interval of 0.4 ms.
TW97115709A 2008-04-29 2008-04-29 High-precision absolute type encoder apparatus and method for operating the same TWI390183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97115709A TWI390183B (en) 2008-04-29 2008-04-29 High-precision absolute type encoder apparatus and method for operating the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97115709A TWI390183B (en) 2008-04-29 2008-04-29 High-precision absolute type encoder apparatus and method for operating the same

Publications (2)

Publication Number Publication Date
TW200944762A TW200944762A (en) 2009-11-01
TWI390183B true TWI390183B (en) 2013-03-21

Family

ID=44869482

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97115709A TWI390183B (en) 2008-04-29 2008-04-29 High-precision absolute type encoder apparatus and method for operating the same

Country Status (1)

Country Link
TW (1) TWI390183B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5769879B2 (en) * 2012-04-17 2015-08-26 三菱電機株式会社 Multi-turn encoder
US11342818B2 (en) 2019-12-23 2022-05-24 Delta Electronics, Inc. Encoder, motor and controlling method of encoder

Also Published As

Publication number Publication date
TW200944762A (en) 2009-11-01

Similar Documents

Publication Publication Date Title
US7547875B1 (en) Absolute type encoder apparatus and method for operating the same
US9372481B2 (en) Encoder, motor with encoder, servo system, and signal processing method for encoder
US7875844B2 (en) Absolute-type encoder and method for detecting absolute position
US8825439B2 (en) Multiturn rotary encoder
US8154427B2 (en) Multiturn rotary encoder and method of operating a multiturn rotary encoder
JP5480967B2 (en) Multi-period absolute position detector
TWI403699B (en) Absolute-type encoder and method for detecting absolute position
US6914543B2 (en) Method for initializing position with an encoder
JP6445310B2 (en) Multi-turn rotary encoder
JP2009526214A (en) Rotational angle sensor and method for determining the absolute angular position of an object that can rotate multiple times
TWI390183B (en) High-precision absolute type encoder apparatus and method for operating the same
JP2005140557A (en) Steering angle detector
WO2004092683A1 (en) Rotary encoder
CN101586968B (en) High-resolution absolute type code device and operation method thereof
JP5006270B2 (en) Absolute encoder device and its operation method
ES2370429T3 (en) DEVICE AND METHOD FOR DETECTION OF A POSITION OF A MOTOR UNIT.
EP1480012B1 (en) Position encoder
JP2002101692A (en) Actuator
JP2626609B2 (en) Rotary encoder and rotary disk used for this rotary encoder
JPH09273943A (en) Multi rotation absolute encoder
JP2982837B2 (en) Absolute rotary encoder
JP2005127761A (en) Encoder signal processing apparatus
JP2009294117A (en) Absolute encoder and method for detecting absolute position
JP2521747B2 (en) Analog / digital conversion circuit with slip correction circuit
JP2001289670A (en) Abnormality detection methods for encoder