TW498599B - Control system and method for motor - Google Patents

Control system and method for motor Download PDF

Info

Publication number
TW498599B
TW498599B TW89116317A TW89116317A TW498599B TW 498599 B TW498599 B TW 498599B TW 89116317 A TW89116317 A TW 89116317A TW 89116317 A TW89116317 A TW 89116317A TW 498599 B TW498599 B TW 498599B
Authority
TW
Taiwan
Prior art keywords
base
control
motor
aforementioned
pulse
Prior art date
Application number
TW89116317A
Other languages
Chinese (zh)
Inventor
Hal Huang
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to TW89116317A priority Critical patent/TW498599B/en
Application granted granted Critical
Publication of TW498599B publication Critical patent/TW498599B/en

Links

Landscapes

  • Control Of Stepping Motors (AREA)

Abstract

A method for controlling a step motor of a scanner by using three parameters is provided. The three parameters include a pulse count number PCN, a count base CB, and a motor constant speed interval MCSI. The method includes the following steps. First, generate a synchronous trigger signal in correspondence with each exposure trigger signal generated by CVTR generated by an image- sensing module of the scanner and clear a base accumulator BA. Then, add the count base CB to the base accumulator BA in correspondence with each reference pulse. Finally, generate an asynchronous trigger signal and clear the base accumulator when the base accumulator is greater than or equal to the pulse count number PCN. Since the acceleration and deceleration of the step motor only relates to the pulse count number PCN and the count base CB, the step motor can be controlled by only setting these parameters.

Description

月 曰 修正 案號 89116317 五、發明說明(!) [發明領域] 本發明係關於馬達控制系轉 胜μ 控制掃t哭夕牛、佳= 特別是關於以較少參數 利坷锸益之步進馬達的馬達控制系統。 [習知技術] 動m==_ai"iage) 一般是由步進馬達來驅 的速ίί: 等之慣量大的負載能夠加速至需求 態慣;;:捧】控制·方式來克服靜 步進馬達,Ή € ί 錢性加速之控制方式來啟動 、、達,孩y進馬達不易達到較高速之運轉。 但目如應用於掃据哭夕半仓 制方式,必須提供多;;二進 ί動觸ck)控制。該等控制參數包括馬達Month amendment number 89116317 V. Description of the invention (!) [Field of the invention] The present invention relates to the motor control system's victory over the μ control sweep, and it is especially good for the step with less parameters to benefit. Motor control system for the motor. [Knowledge technology] Dynamic m == _ ai " iage) Speed generally driven by stepping motor: waiting for a large inertia load to accelerate to the demand state of inertia ;; Motor, Ή € ί The control method of money acceleration is used to start, drive, and drive. It is not easy to achieve higher speed operation. However, if it is applied to the system of scanning data, it must provide more; Binary control. These control parameters include the motor

Mm Λ m〇t〇r m〇Vement trigger interval * 馬達移動樣式表(motor movement mmPT)、馬達移動樣式表長度(mQtQr m〇vement pattern table length > MMPTL) ^ ^ it # i fa^(m〇t〇r stop lnterval,MSI)、馬達反轉間隔(m〇t〇r inters,MRI)、馬達減速間隔(㈣七” speed化㈣ inters ’MSM)、以及馬達減速比(m〇t〇r speed d〇wn rat ion,MSDR)等。 夕,、ί Ϊ移動觸發間隔MMTI的定義是在正常情形下,間隔 夕y ♦考脈,會產生一個馬達移動觸發信號,亦即可定義 為觸發時間9皁位。馬達移動樣式表MMPT與馬達移動樣式表 長度MMPTL是用來定義一般掃描時之觸發,例如 修正 曰 直號89"⑽7— 五、發明說明(2) _ ΜΜΡΤ=Β〇 1 00000 且黯ρτ —' 位元作為移動控制參數,不取ΜΜΡΤ之则的兩俩 ΜΜΤβ考脈衝,亦不 ;時,雖然間隔 ΜΜΡΤ之位元w時,^:馬達移動觸發信號,只有當 觸發信號。因此,馬、衾 > 考脈衝才會提供馬達移動 表ΜΜΡΤ與馬達移動檨彳 觸發間隔ΜΜΤΙ、馬達移動樣式 另外,馬:式表長_PTL均會影響馬達速度。 韓-¾ Λ ^ I間隔Ms I用來定義回跡控制時由正轉變反 ^ ^ , t: t : Μ ! 5"/-Β ν' ^ ^ ^ ^ - 如MRI=8表示回跡反缠日士 :二研反轉日卞所移動之間隔,例 減速間隔_!與,達轉^ ^ 5運減速&MSDR則用來定義慢速轉動之門 隔與速度。例如,MSDI = 6且_=1時,表示j轉動之間 動6個觸發時間單位。在 ^ 速又移 Έ ^ m 、,^ 隹上边參數中,母個苓數的設定會 i!:響 至於應用在不同掃描器日夺,其參數大都需重 新设疋’且由於參數多達7組,因此在設 而重 [發明概要] $ μ 了 有#於上述問題,本發明之 :制參數:可控制應用於掃描器之步進馬達的步:馬;; 制系統及其控制方法。 疋’逆徑 根據本發明之步進馬達控制,係 則、計數基細、以及定速期間咖等三組參十數= 馬達之轉動,該控制方法包含下列步驟: (a)產生同步馬達觸發信號’即以該掃描器之影像感 $ 6頁 498599 修正 曰 案號 89117 五、發明說明(3) _Mm Λ m〇t〇rm〇Vement trigger interval * motor movement style table (motor movement mmPT), motor movement style table length (mQtQr m〇vement pattern table length > MMPTL) ^ ^ it # i fa ^ (m〇t 〇r stop lnterval (MSI), motor reversal interval (m〇toral inters, MRI), motor deceleration interval (㈣ 七 "speed ㈣ inters' MSM), and motor speed reduction ratio (m〇t〇r speed d 〇wn rat ion (MSDR), etc. Xi ,, ί Ϊ The definition of the movement trigger interval MMTI is under normal circumstances, the interval y ♦ test pulses will generate a motor movement trigger signal, which can also be defined as the trigger time 9 soap The motor movement style sheet MMPT and the motor movement style sheet length MMPTL are used to define the trigger during general scanning. For example, modify the straight number 89 " ⑽7— V. Description of the invention (2) _ ΜΜΡΤ = B〇1 00000 and dark ρτ — 'Bit is used as a movement control parameter, and the two MMT β test pulses are not taken. Also, when the bit w of the MMPT is spaced, ^: the motor movement trigger signal, only when the trigger signal. Therefore, the horse , 衾 > Test Pulse The motor movement table MMPT and the motor movement trigger interval MMTI and the motor movement style are also provided. In addition, the horse: type table length_PTL will affect the motor speed. Han-¾ ^ ^ I interval Ms I is used to define the traceback control ^ ^, T: t: Μ! 5 " /-Β ν '^ ^ ^ ^-if MRI = 8 means retrograde anti-entanglement: the interval moved by Niken reverse sundial, for example deceleration The interval _! And, up to the turn ^ ^ 5 deceleration & MSDR is used to define the doorway and speed of slow rotation. For example, when MSDI = 6 and _ = 1, it means 6 trigger time units between j rotation In the above parameters, ^ m and ^ 隹, the setting of the number of females will be i !: As it is applied to different scanners, most of its parameters need to be reset. There are 7 groups, so it is re-designed. [Invention Summary] $ μ 了 # In the above problem, the present invention: Control parameters: can control the step of the stepping motor applied to the scanner: horse; Control system and its control method逆 'Reverse diameter according to the control of the stepping motor of the present invention, three sets of rules, counting basis, and coffee during the fixed speed Reference number = the rotation of the motor, the control method includes the following steps: (a) Generate a synchronous motor trigger signal ’, which is based on the image of the scanner. $ 6 pages 498599 Amendment Case number 89117 V. Description of the invention (3) _

測模組所產生之曝光脈衝CVTR 除基數累加值; k出^達觸發信號,並清 ?)累、計前述基數累加值,即在每個參 數累加值加上計數基數CB ;以及, 將基 、(C)產生非同步馬達觸發信號,即各美數g ^ # 或等於脈衝計數值PCN時,送出大於 並清除該基數累加值。 非同步馬達觸發信號, 本發明之步進馬達控制系統,係 TCB之方式控制步進馬達在回時H暫存叶數基數 驟如下: k制矸的動作,其控制步 (a) 初值設定,即將一暫存計數基數了^执 基數CB,並將正轉旗標致能; "又疋成叶數 (b) 減速控制,執行副程序a以輸出非同步 =基計數基數TCB減〗,並重複該步驟至該Λ (C)反轉加速控制,將正轉旗標取消致 言:數基數TGB加?,並執行副程序“輸出㈣步馬達將暫存 d唬,並重後戎步驟至該暫存計數基數TCB等於計數基^ (d) 反轉定速控制,執行副程序a以輸出 觸發信號,並重複該步驟至定速期間‘31所儲 (e) 反轉減速控制,執行副程序A以輸出非人, 觸發信號’並將暫存計數基數TCB·,i 驟馬達 存計數基數TCB為0; 驟该暫 498599 修正 曰 案號 89116317 五、發明說明(4) 正轉加速控制,即當收到一啟動信號後, 旗私致旎,並將暫存計數基數TCB加丨,且執行 成 輸出非同步馬達觸發信號,心複該步驟至該:=以 數TCB等於計數基數CB ;以及, 曰存计數基 (g)正轉定速控制,執行副程序A以輸出非同步 =信號,並重複該步驟至定速期哪SI所儲^^達 其中,副程序A包含下列步驟·· 數, (a) 累計基數累加值,即對應每個參考脈衝 累加值加上暫存計數基數丁 CB ;以及, 將基數 (b) 產生非同步馬達觸發信號,^ ^ ^ ^ ^ ^ ^ ^ ,等於脈衝計數值PCN時,送出一非同步馬達數大於 並清除該基數累加值。 毛L號’ [實施例] 以下參考圖式說明本發明之較佳實施例。 進馬達控制系統係用來控制裝配於掃描哭内 V進馬達的轉動,進而控制移動機架的一 言’掃描器之移動機架包括幾個動作 二 進、歸位時的快速後退、預掃時的快速前:守的;疋速則 、友衝飽和日寸停止的回跡控制。且該回跡栌 ς 速、反轉加速、反轉定速、反轉減速、停:、正::減 以及正轉定速等階段。本發明僅需輸入三 =可 控制上述掃描器之移動機架的動作。 > 數Ρ可 PCN C〇Unt 4數基數(count baSe)CB、以及馬達定速間隔 第8頁 498599 __案號8911B317____年 』-§_鉢 — 五、發明說明(5) (motor constant speed interval)MCSI 等。脈衝計數值 PCN係用來決定非同步馬達觸發信號之週期。而計數基數 C B具有兩個功能,一個功能是调整馬達速度(用來作為非 同步馬達觸發信號之累計基數),另一個功能是在回跡控 制時作為馬達加速與減速之減速比。另外,第三個控制來 數為馬達定速間隔MCS I,是用來設定在回跡控制時,馬達 疋速彳于走的步數。 脈衝計數值PCN之計算方式為掃描器之影像感測模組 母次曝光時間(exposure time,E—time)所計算的參考頻 率R —CLK之脈衝數,即如式(1 )所示之函數: 、 PCN = E — time * R —CLK …·(1 ) 例如,對於參考頻率為0.25MHz、2400dpi且可掃描8 5”文件之掃描器,若CCD之資料傳輸率為^“3,則其c⑶ 具有20400(2400*8.5)個感測單元,其曝光時間為 4.08ms( 2 040 0/5 (MB/s)),故其脈衝計數值PCN根據 為 1 020 ( 4.08ms * 〇·25ΜΗζ)。 圖1所示為本發明步進馬達控制系統所產生之 發信號的時序,。®中顯示參考頻率R_CLK、影像感^ 組之曝光觸發信號CVTR、馬達同步觸發信號STR、:、 達非同步觸發信號ASTR之關係。—般的掃及馬 較高頻之工作頻率,本發明之牛、隹均會提供-工作頻率經過除頻後作為參考頻率R c 了利用该 器内之影像感測模組,例如CCD ’於每次 知描 會送出曝光觸發信號CVTR。、 *先開始日寸,均 馬達同步觸發信號STR與馬達The exposure pulse CVTR generated by the measurement module is divided by the accumulated base value; k reaches ^ to reach the trigger signal and cleared.) Accumulate and calculate the aforementioned accumulated base value, that is, add the counting base CB to the accumulated value of each parameter; and, (C) When an asynchronous motor trigger signal is generated, that is, when each US number g ^ # or equal to the pulse count value PCN, a value greater than and cleared from the base number is sent. Non-synchronous motor trigger signal. The stepping motor control system of the present invention is a TCB method that controls the stepper motor's temporary storage of the number of bases in H. The following steps are described below: The action of k system, the control step (a) initial value setting , That is, to temporarily store the cardinality of the cardinality ^ to implement the cardinality CB, and enable the flag of forward rotation; " Another leaf number (b) deceleration control, execute the subroutine a to output asynchronous = cardinality cardinality TCB minus ", Repeat this step to the Λ (C) reverse acceleration control, cancel the forward rotation flag, say: increase the number base TGB, and execute the subroutine "output Liaobu motor will temporarily store dbl, and repeat the steps to The temporary counting base TCB is equal to the counting base ^ (d) Reverse fixed speed control, execute subroutine a to output a trigger signal, and repeat this step to the fixed speed period '31 (e) Reverse deceleration control, execute the sub Program A outputs a non-human, trigger signal 'and temporarily stores the counting base TCB ·, i. The motor stores the counting base TCB as 0; this time 498599 amended the case number 89116317 5. Description of the invention (4) Forward rotation acceleration control, That is, when a start signal is received, the flag is sent privately, and the temporary storage plan is stored. The base TCB is increased and executed to output a non-synchronous motor trigger signal. Repeat the steps to this: = Take the number TCB equal to the count base CB; and, Store the count base (g) forward rotation constant speed control, execute the subroutine A outputs the non-synchronous signal, and repeats this step until the fixed speed period, where SI is stored ^^, the subroutine A includes the following steps ... (a) Accumulate the cumulative base value, which corresponds to the accumulation of each reference pulse Value plus the temporary count base CB; and, the base (b) will generate an asynchronous motor trigger signal, ^ ^ ^ ^ ^ ^ ^ ^, when the pulse count value PCN is sent, send an asynchronous motor number greater than and clear the Base accumulated value. "Mao L" [Embodiment] The following describes the preferred embodiment of the present invention with reference to the drawings. The input motor control system is used to control the rotation of the V input motor installed in the scanning unit to control the movement of the mobile frame. In a word, the scanner's moving frame includes several motions, two movements, fast retreat when returning to position, fast forward when pre-scanning: guarding; fast speed, and trajectory control of saturation and saturation. Tracking speed, reverse speed, reverse speed , Reverse deceleration, stop :, positive :: deceleration and forward rotation and fixed speed stages. The invention only needs to input three = can control the movement of the above-mentioned scanner's mobile rack. ≫ Number P can be PCN C〇Unt 4 numbers Base (count baSe) CB, and motor constant speed interval Page 8 498599 __Case No. 8911B317____ years "-§_ bowl — V. Description of the invention (5) (motor constant speed interval) MCSI, etc. Pulse count value PCN system Used to determine the period of the trigger signal of the asynchronous motor. The counting base C B has two functions. One function is to adjust the motor speed (used as the cumulative base for the trigger signal of the asynchronous motor), and the other function is to use it as the reduction ratio of the acceleration and deceleration of the motor during tracking control. In addition, the third control number is the motor constant speed interval MCS I, which is used to set the number of steps that the motor speed will be slower during the backtracking control. The calculation method of the pulse count value PCN is the number of pulses of the reference frequency R-CLK calculated by the mother and secondary exposure time (E-time) of the image sensor module of the scanner, which is a function as shown in formula (1) :, PCN = E — time * R —CLK… (1) For example, for a scanner with a reference frequency of 0.25MHz, 2400dpi, and which can scan 8 5 ”documents, if the data transmission rate of the CCD is ^“ 3, its c⑶ With 20400 (2400 * 8.5) sensing units, its exposure time is 4.08ms (2 0400 0/5 (MB / s)), so its pulse count value PCN is 1 020 (4.08ms * 〇 · 25ΜΗζ) . Figure 1 shows the timing of the signals generated by the stepping motor control system of the present invention. ® shows the relationship between the reference frequency R_CLK, the exposure trigger signal CVTR, the motor synchronization trigger signal STR, and the asynchronous trigger signal ASTR. —Sweet and high-frequency operating frequencies are provided by the cattle and crickets of the present invention.- The operating frequency is used as the reference frequency R c after dividing the frequency. The image sensing module in the device is used, such as CCD '于An exposure trigger signal CVTR will be sent out each time the scan is performed. , * Start the day first, both motor synchronous trigger signal STR and motor

498599498599

案號 89116317 五、發明說明(6) 非同步觸發信號ASTR是以OR運算方式提供觸發信號給步進 馬達,藉以驅動該步進馬達轉動。 如圖1所示,在每個曝光觸發信號CVTR之後緣產生同 步馬達觸發信號STR,而在曝光觸發信號CVTR之前緣清除 一基數累加值(Base Accumulator) BA。基數累加值ba是根 據式(2 )來計算: BA= BA + CB ---(2) 當基數累加值BA > = PCN時,除了產生一非同步馬達觸 1¾ k號A S T R外’還同時將該基數累加值β a清除為q,重新 計數。根據脈衝計數值PCN的定義可了解,在一個曝光觸 發信號CVTR週期内,會產生脈衝計數值pCN所設定之參考 脈衝數。因此,當計數基數(^為!時,由於基數累加值BA 尚未大於或等於脈衝計數值PCN,即被曝光觸發信號cvtr 清除’因此僅有同步馬達觸發信號會產生馬達觸發脈 衝。當計數基數CB為2時,則因基數累加值BA每次加2,因 此非同步馬達觸發信號ASTR會在曝光觸發信號CVTR大約一 半的位置產生一脈衝。在此情形下,同步馬達觸發信號 STR與非同步馬達觸發信號“^會在一個曝光觸發信號 CVTR週期内產生2個馬達觸發脈衝,步進馬達的速度變為2 倍。而在圖1所示的例子中,由於計數基數CB為4,因此非 同步馬達觸發信號ASTR會在曝光觸發信號CVTR的大約 1/4 1/2與3 / 4位置分別產生一馬達觸發脈衝。在此情 形下,同步馬達觸發信號STR與非同步馬達觸發信號“^ 會在一個曝光觸發信號以^週期内產生4個馬達觸發脈Case No. 89116317 V. Description of the invention (6) Asynchronous trigger signal ASTR provides a trigger signal to the stepping motor by OR operation method, thereby driving the stepping motor to rotate. As shown in Fig. 1, a synchronous motor trigger signal STR is generated at the trailing edge of each exposure trigger signal CVTR, and a base accumulator BA is cleared at the leading edge of the exposure trigger signal CVTR. The base cumulated value ba is calculated according to the formula (2): BA = BA + CB --- (2) When the base cumulated value BA > = PCN, in addition to generating an asynchronous motor touching 1¾ k ASTR, it also simultaneously Clear the accumulated base value β a to q, and count again. According to the definition of the pulse count value PCN, it is understood that within one cycle of the exposure trigger signal CVTR, the reference pulse number set by the pulse count value pCN will be generated. Therefore, when counting the base (^ is!, Because the base cumulative value BA has not been greater than or equal to the pulse count PCN, that is, cleared by the exposure trigger signal cvtr ', so only the synchronous motor trigger signal will generate a motor trigger pulse. When counting the base CB When it is 2, the base cumulative value BA is increased by 2 each time, so the asynchronous motor trigger signal ASTR will generate a pulse at about half of the exposure trigger signal CVTR. In this case, the synchronous motor trigger signal STR and the asynchronous motor The trigger signal "^ will generate 2 motor trigger pulses in one exposure trigger signal CVTR cycle, and the speed of the stepper motor will be doubled. In the example shown in Figure 1, because the count base CB is 4, it is asynchronous. The motor trigger signal ASTR generates a motor trigger pulse at approximately 1/4 1/2 and 3/4 positions of the exposure trigger signal CVTR, respectively. In this case, the synchronous motor trigger signal STR and the asynchronous motor trigger signal "^ will be at One exposure trigger signal generates 4 motor trigger pulses in a period

第10頁 498599 __案號89116317___年月日 絛正 五、發明說明(7) 衝,步進馬達的速度變為4倍。因此,可藉由不同之計數 基數CB值來控制步進馬達速度。 參考表1,係顯示脈衝計數值PCN、計數基數CB、以及 掃描器之解析度DP I之間的關係。 表1 PCN DPI 1020 1020*2 1020*4 ~*—-r 1020*8 2400 CB=1 CB=1*2 CB=1 木4 1200 CB=2 CB=2=*c2 CB=2 木4 CB=2 木 8 600 CB=4 CB=4木2 CB=4 木 8 ----~~~: 如表1所不,若在上述例子中,對於解析度為2 4⑽心土 且可掃描8· 5”文件之掃描器,其脈衝計數值ρ(:Ν根據式(ι) 為PCN = 1 0 20,此時其計數基數“值為!。若是解析度降為 1 20 0dpi46 0 0dpi,則只要將計數基數⑶改為2或4即可, ί ί : ϊ ί Ϊ :簡單。而ΐ ’由於計數基數CB兼具調整馬 數^釤^ 一,因此可藉由同時將脈衝計數值PCN與計 “rU t基數’例如2、4或8。如此,可增加計數 &數CB值,而使馬達加減速改變,但不影響運轉速度之控 圖2顯示當掃描器之記情妒 制時,其移動機年之移❺Λ Λ 動回跡控 s為回跡控制開始時的移動機架位 所、"直: 一為掃描器在回跡控制前之宗砗义w 以囷所不狀態 心狀您二為前進減速狀態後之Page 10 498599 __Case No. 89116317 ___ Month day V. Explanation of the invention (7) The speed of the stepping motor becomes 4 times. Therefore, the speed of the stepping motor can be controlled by different counting base CB values. Referring to Table 1, the relationship between the pulse count value PCN, the count base CB, and the resolution DP I of the scanner is shown. Table 1 PCN DPI 1020 1020 * 2 1020 * 4 ~ * -r 1020 * 8 2400 CB = 1 CB = 1 * 2 CB = 1 wood 4 1200 CB = 2 CB = 2 = * c2 CB = 2 wood 4 CB = 2 wood 8 600 CB = 4 CB = 4 wood 2 CB = 4 wood 8 ---- ~~~: As shown in Table 1, if in the above example, for a resolution of 2 4 ⑽ heart soil and can scan 8 · For a scanner of a 5 ”file, its pulse count value ρ (: N is PCN = 1 0 20 according to formula (ι), at this time its count base value is !! If the resolution is reduced to 1 20 0dpi46 0 0dpi, as long as The counting base ⑶ can be changed to 2 or 4. ί ί: ϊ ί Ϊ: simple. And ΐ 'Because the counting base CB also has the ability to adjust the number of horses ^ 一 ^, so you can use the pulse count value PCN and the count at the same time. "RU t base number" is for example 2, 4, or 8. In this way, the count & number CB value can be increased, and the acceleration and deceleration of the motor can be changed without affecting the control of the running speed. Fig. 2 shows that when the scanner's memory is jealous, The movement of the mobile machine year is Λ Λ. The moving traceback control s is the mobile rack position at the beginning of the traceback control. Straight: One is the meaning of the scanner before the traceback control. After you are in the state of forward deceleration

第11頁 ^yQjyy 五、發明說明(8) Ϊ。I大^ :::狀Ϊ四為後退加速狀態後之後退定速狀 i退減i狀ί 大態後之後退減速狀態。狀態六為 後之前進定i狀能Ί ΐ速狀恶°狀態七為前進加速狀態 間會暫時停止,;待:;二步進馬達在狀態五與狀態六之 每個狀態之控制流程,其中圖4〜圖9為對應ΐ ίϊΐϊί 跡控制流程。在狀態二至狀態七之每個 速^。工1流程,是藉由改變暫存計數基數TCB值來控制 =貝一丁本毛明控制糸統中,馬達觸發信號之控制流程 :各牛開始驅動馬達運轉’即執行該控制流程。 兵各步驟之說明如下: -定正轉旗標設定為1 ’將暫存計數基數TCB a又疋為汁數基數CB,並清除基數累加值, TCB^CB , BA=G ; 夫考:=κ:偵:是否有參考脈衝R-CLK,若有偵測到 參考脈衝R —CLK,則跳至步驟S3()6,否則持續 ; 步驟S306 :將基數累加值BA加上暫存計數 值,即BA二BA+TCB ; ^ ^ ^ ^ ^ ^ tt 數值PCN右大於或專於脈衝計數值PCN,則跳至牛驟 S311,否則跳至步驟S310 ; 步驟S310 ··偵測是否有曝光觸發信號mR,若有谓測Page 11 ^ yQjyy V. Description of the Invention (8) Ϊ. I big ^ ::: state four is the state of reversing and accelerating, and then retreating at a fixed speed. State 6 is the state of advancement of the i-shaped energy. 状 Speed is evil. State 7 is temporarily stopped during the forward acceleration state. To be waited for; The control flow of the two stepper motors in each state of state 5 and state 6, where Figure 4 to Figure 9 show the corresponding trace control flow. Speed in each of state two to state seven. The process of process 1 is controlled by changing the temporary counting base TCB value. In the control system of Bei Yiding Ben Maoming, the motor trigger signal control process: each cow starts to drive the motor to run. The description of each step of the soldier is as follows:-Set the positive rotation flag to 1 'set the temporary counting base TCB a to the juice base CB and clear the accumulated base value, TCB ^ CB, BA = G; Fu Kao: = κ: detect whether there is a reference pulse R-CLK, if it has detected a reference pulse R-CLK, skip to step S3 () 6, otherwise continue; step S306: add the base cumulative value BA to the temporary count value, That is, BA + BA + TCB; ^ ^ ^ ^ ^ ^ ^ tt If the value of PCN is greater than or specialized in the pulse count value PCN, skip to step S311, otherwise skip to step S310; Step S310 ·· Detect if there is an exposure trigger signal mR, if there is a test

到曝光觸發 S304 ; ……,則跳至步 修正To exposure trigger S304; ……, skip to step

mm达出一非同步馬達觸發信號astr,並清除 累加值BA,並跳至步驟S304; 月除 - 一非同步 逵 基數累加值BA,並跳至步驟S3Q4 ; ^ " 數累:=1送出一同步馬達觸發信號STR,並清除基 步驟S314 : 和旗標BFF是否 S318 ; 偵測記憶體緩衝器是否已滿 為1,若是則跳至步驟S 3 1 6, 即緩衝器飽 否則珧至步驟 ,若是則結束該控制 否則 步驟S316 :啟動回跡控制 步驟S318 :是否結束驅動 跳至步驟S304。 圖4顯示掃描器在回跡控制啟動後之前進減速 態二),本發明控制系統的控制流程圖。其各步驟之二明 如下: ^ 步驟S40 2 :將正轉旗標設定為1,並將暫存計數基數 TCB設定為計數基數CB值,即CW = 1,TCB = CB ; 步驟S404 :執行程序A,並輸出非同步馬達觸發信號 ASTR ; " 步驟S406 :將暫存計數基數TCB減1,即TCB = TCB-1 ; 步驟S408 :比較暫存計數基數TCB是否為0,若為〇, 跳至狀態三控制步驟,否則跳至步驟S404。 圖5顯示掃描器在回跡控制啟動後之後退加速狀態(狀 態三),本發明控制系統的控制流程圖。其各步驟之說明mm reaches a non-synchronous motor trigger signal astr, clears the accumulated value BA, and skips to step S304; month division-a non-synchronized 逵 radix accumulated value BA, and skips to step S3Q4; ^ " number accumulated: = 1 sent A synchronous motor triggers the signal STR and clears the basic step S314: whether the flag BFF is S318; detects whether the memory buffer is full to 1, and if so, skips to step S3 1 6; If yes, end the control; otherwise, step S316: start the traceback control step S318: whether to end the driving and go to step S304. Fig. 4 shows the state of the scanner before and after the tracking control is started. 2) The control flowchart of the control system of the present invention. The two steps are as follows: ^ Step S40 2: Set the forward rotation flag to 1 and set the temporary counting base TCB to the counting base CB value, that is, CW = 1, TCB = CB; Step S404: execute the program A, and output the asynchronous motor trigger signal ASTR; " Step S406: Decrement the temporary count base TCB by 1, that is, TCB = TCB-1; Step S408: Compare whether the temporary count base TCB is 0, if it is 0, skip Go to state three control step, otherwise skip to step S404. Fig. 5 shows the control flowchart of the control system of the present invention after the scanner is in the accelerated state (state 3) after the traceback control is started. Explanation of each step

第13頁Page 13

如下: 步驟S5 0 2 :將正轉旗標設定為〇,並清除暫存計數基 數TCB ,即CW=0 , TCB=〇 ; 步驟S5 04 :將暫存計數基數TCB加1,即TCB = TCB + 1 ; 步驟S5 0 6 ·執行程序a,並輸出非同步馬達觸發信號 ASTR ; 步驟S5 08 :比較暫存計數基數TCB是否等於計數基數 CB值,若等於則跳至狀態四控制步驟,否則跳至步驟 S504 〇 圖6顯示掃描器在回跡控制啟動後之後退定速狀態(狀 悲四),本發明控制系統的控制流程圖。其各步驟之說明 如下: —步驟S602 :將正轉旗標設定為〇,並將暫存計數代設 定為馬達定速間隔MCSI,即CW = 0,TO MCSI ; 步驟S604 :執行程序Α,並輸出非同步馬達 ASTR ; 步驟S60 6 :將暫存計數TC減1,即TC = TC-1 ; 步驟S608 :比較暫存計數TC是否為0,若為〇,跳至狀 悲五控制步驟,否則跳至步驟s 6 0 4。 二圖7顯不掃描器在回跡控制啟動後之後退減速狀態(狀 態五)’本發明控制系統的控制流程圖。其各步驟之說明 如下: 步驟S702 :將正轉旗標設定為〇,並將暫存計數基數 TCB設定為計數基數⑶值,即cw:z〇,tCB = Cb ;As follows: Step S5 0 2: Set the forward rotation flag to 0, and clear the temporary counting base TCB, that is, CW = 0, TCB = 〇; Step S5 04: increase the temporary counting base TCB by 1, that is, TCB = TCB + 1; Step S5 0 6 · Execute program a and output the asynchronous motor trigger signal ASTR; Step S5 08: Compare whether the temporary counting base TCB is equal to the counting base CB value. If it is equal, go to state four control step, otherwise skip Go to step S504. FIG. 6 shows the control flowchart of the control system of the present invention after the scanner is retracted to a constant speed state (track 4) after the traceback control is started. The description of each step is as follows:-Step S602: Set the forward rotation flag to 0, and set the temporary count generation to the motor constant speed interval MCSI, that is, CW = 0, TO MCSI; Step S604: execute the program A, and Output a non-synchronous motor ASTR; Step S60 6: Decrement the temporary count TC by 1, that is, TC = TC-1; Step S608: Compare whether the temporary count TC is 0, if it is 0, skip to the five-step control step, otherwise Skip to step s 6 0 4. Fig. 7 shows a control flowchart of the control system of the present invention after the scanner has decelerated and decelerated (state 5) after the tracking control is started. The description of each step is as follows: Step S702: Set the forward rotation flag to 0, and set the temporary counting base TCB to the counting base ⑶ value, that is, cw: z0, tCB = Cb;

第14頁Page 14

步驟S704 ASTR ; 執行私序A,並輸出非同步馬達觸發信號 步驟S706 ]將暫存計數基數TCB減1,即TCB = TCB-1 ; 跳5 t :比較暫存計數基數TCB是否為0,若為0則 跳至步驟S710,否則跳至步驟S7〇4 ; —步驟S71 0 ·偵測掃描器之記憶體緩衝器是否可繼續 存資料,是則跳至狀態六控制步驟。 .圖8顯示掃描器在回跡控制啟動後之前進加速狀態(狀 恶’、)’本發明控制系統的控制流程圖。其各步驟之說明 步驟S802 : 數TCB ,即CW=1 步驟S804 : 步驟S80 6 : ASTR ; 將正轉旗標設定為1,並清除暫存計數基 ’ TCB=〇 ; 將暫存計數基數TCB加1,即TCB = TCB + 1 ; 執行程序A,並輸出非同步馬達觸發信號 步驟別08 :比較暫存計數基數TCB是否等於計數基數 CB值,若等於則跳至狀態七控制步驟,否則跳至 S804。 ^ 圖9顯示掃描器在回跡控制啟動後之後退定速狀態(狀 悲七),本發明控制系統的控制流程圖。其各步驟之說明 如下: ° ッ驟S9()2 •將正轉旗標設定為1,並將暫存計數設 定為馬達定速間隔MCSI,即cw = 1,TC= MCSI ; 步驟S 9 Ο 4 ·執行程序A,並輸出非同步馬達觸發信號Step S704 ASTR; execute the private sequence A and output the asynchronous motor trigger signal step S706] Decrease the temporary counting base TCB by 1, that is, TCB = TCB-1; skip 5 t: compare whether the temporary counting base TCB is 0, if If it is 0, skip to step S710; otherwise, skip to step S704; -Step S71 0 · Detect whether the memory buffer of the scanner can continue to store data, if yes, skip to state 6 control step. Fig. 8 shows a control flow chart of the control system of the present invention in a state where the scanner is in an accelerated state (evil state) after the traceback control is activated. Description of each step S802: Count TCB, that is, CW = 1 Step S804: Step S80 6: ASTR; Set the forward rotation flag to 1, and clear the temporary counting base 'TCB = 〇; Temporary counting base TCB Add 1 , that is, TCB = TCB + 1; execute program A and output the trigger signal of asynchronous motor. Step 08: Compare whether the temporary counting base TCB is equal to the counting base CB value. If it is equal, go to state 7 control step, otherwise skip Go to S804. ^ Fig. 9 shows the control flowchart of the control system of the present invention after the scanner has decelerated to a constant speed after the start of traceback control. The description of each step is as follows: ° Step S9 () 2 • Set the forward rotation flag to 1, and set the temporary count to the motor constant speed interval MCSI, that is cw = 1, TC = MCSI; Step S 9 Ο 4 · Execute program A and output trigger signal of asynchronous motor

第15頁 ^8599 曰 案號 89116317 五、發明說明(12) ASTR ; 步驟S90 6 :將暫存計數基數代減丨, 步驟S9 08 :比較暫存計數基數ΤΓ 9 ’ 至狀態一控制步,驟,否則跳至步驟S9〇1。…,右為0,跳 如上述狀態二至狀態七之控制户 存計數基數TCB值的變化,藉由不π L ’主要是控制暫Page 15 ^ 8599 Case No. 89116317 V. Description of the invention (12) ASTR; Step S90 6: Subtract the temporary counting base number 丨, Step S9 08: Compare the temporary counting base number ΓΓ 9 'to the state one control step, Otherwise, skip to step S910. …, The right is 0, jump as described above. The change of the control account base TCB value of the state two to state seven, by not π L ′ is mainly to control the temporary

值,即可有效控制步進馬達错Λ不度同之暫存計數基數TCB 圖10顯示馬達在回跡控制時,不同之 停止與啟動的加減速度曲線,其中實 土值之Value, you can effectively control the stepped motor with the same number of temporary counting base TCB. Figure 10 shows the different acceleration and deceleration curves of the stop and start when the motor is in backtracking control.

之計數基數以值,而虛線之曲^/線^之曲線八表不較小 值。由n千夕“ ^ 較大之計數基數CB 停止與啟動之時間越長,因此可 值越大’其 選擇適當之計數基⑽值。表: = 之設計需求’ 度以及脈衝計數值PCN之關係表。’若掃描心數二值产、解析 24 0 0.PI,„ tt „PCN , 1 , 數CB值為1。在此場合時,苴 1要文暴 僅為1個非同步馬達觸發信號ASTR之了相日= 增加4倍,在此場合時,其馬達之停止時Η 間延長為4個非同步馬達觸發信㈣以“間 口表斤不,在將計數基數CB值倍數增加的同時,介 脈衝計數值PGN倍數增加。 ’亦需將 到每^ Ϊ =程序A之控制流•。該控制流程是在偵測 >考頻率脈衝時,將基數累加值βΑ加上暫存計數基The count base is in value, and the curve of the dotted curve ^ / line ^ indicates a smaller value. From n Qian Xi "^ The larger the counting base CB, the longer it takes to stop and start, so the greater the value can be 'it selects the appropriate counting base value. Table: the relationship between the design requirements of = and the pulse count PCN Table. 'If scanning the heart number binary production, analysis 24 0 0.PI, „tt„ PCN, 1, the number CB value is 1. In this case, 苴 1 to the text storm is only a trigger signal of asynchronous motor The phase date of ASTR = 4 times increase. In this case, the stop time of the motor is extended to 4 asynchronous motor trigger signals. Dielectric pulse count value increased by multiples of PGN. ’Also needs to reach every ^ Ϊ = control flow of program A •. The control flow is to add the base cumulated value βΑ to the temporary count base when detecting >

第16頁 498599 修正Page 16 498599 Correction

案號 89116317 五、發明說明(13) JTCB值,即BA = BA + TCB ;並於基數累加值B 衝計數值㈣時’輸出-非同步馬達觸發信號astrM於脈 ,外,-般的掃描器均有提供預掃(pre_sc :。在進,預掃功能日寺,由於其解析度較低,例: ,故/、移動機架之速度亦相對提昇。 ^達若無有效之加速調整來克服其靜摩擦力,;步 ::速轉動。本發明之步進馬達控制系統 ;j 達在短時間内達到高速運轉。圖12顯示此 進、二 圖。以下說明圖12之控制流程: 乃正之机 乂驟811 02 ·利用主機化以(圖未示)將所需之複數組 脈衝計數值PCN與計數基數CB填入加速控制表; 、’ 步驟S1104 :載入一組脈衝計數值]?(^與 並將基數累加值BA清除為〇 ; 步驟S1106 ·偵測曝光觸發信號CVTR是否為,若 為High則跳至步驟S1104,否則執行下一步驟; 步驟S1108 :偵測是否有參考脈衝R —CLK,若有偵測 參考脈衝R — CLK,則執行下一步驟,否則持續偵測; 步驟smo :將基數累加值BA加上計數基數CB值, BA=BA+CB ; 二步驟S1112 :比較基數累加值BA是否大於或等於脈衝 计數值PCN。若大於或等於脈衝計數值pcN,則跳至步驟 S1114,否則跳至步驟Slii6 ; 步驟SI 114 ··送出一非同步馬達觸發信號ASTR,並清Case No. 89116317 V. Description of the invention (13) JTCB value, that is, BA = BA + TCB; and when the base value accumulates the value of B and the counter value ㈣, the output of the non-synchronous motor trigger signal astrM is in the pulse, outside, and the general scanner Both provide pre-scan (pre_sc :. In advance, pre-scan function Risi, because of its lower resolution, for example :, so, /, the speed of the mobile rack is also relatively increased. ^ If there is no effective acceleration adjustment to overcome Its static friction force; Step: Speed rotation. The stepping motor control system of the present invention; j reaches high-speed operation in a short time. Figure 12 shows this progress and the second figure. The control process of Figure 12 is explained below: Step 811 02 · Use hostization to fill in the required complex array pulse count value PCN and count base CB into the acceleration control table (not shown); 'Step S1104: Load a set of pulse count values]? (^ Step S1106: Detect whether the exposure trigger signal CVTR is, if it is High, skip to Step S1104, otherwise go to the next step; Step S1108: Detect whether there is a reference pulse R —CLK If there is a detection reference pulse R — CLK, then Go to the next step, otherwise continue to detect; Step smo: Add the base cumulative value BA plus the counting base CB value, BA = BA + CB; Second step S1112: Compare whether the base cumulative value BA is greater than or equal to the pulse count value PCN. If Greater than or equal to the pulse count value pcN, skip to step S1114, otherwise skip to step Slii6; step SI 114 ·· send an asynchronous motor trigger signal ASTR, and clear

第17頁 498599Page 17 498599

案號 89116317 五、發明說明(14) 除基數累加值BA,並跳至步驟S1120 ; 步驟S1116 :偵測曝光觸發信號CVTR是否為有負緣變 化,若無則跳至步驟S1120,若有則執行下一步驟;' 步驟S1118 :送出一同步馬達觸發信號STR,並清除基 數累加值B A,並跳至步驟S11 2 0 ; 步驟SI 1 20 ·是否結束控制,若否則跳至步驟S1丨, 若是則結束。 根據上述控制流程,只要主機填入適當之複數組脈衝 计數值PCN與计數基數CB至加速表,之後只要在每次偵測 曝光觸發信號CVTR為High時依序載入一組脈衝計數值pCN 與計數基數CB,即可確實控制馬達之啟動。而填入加速表 之脈衝計數值PCN與計數基數CB可有不同變化,分別敘述 如下: 第一種方式是固定脈衝計數值PCN,調整計數基數 CB。即令脈衝計數值pcn固定,而將計數基數CB由小變大 依序調整,例如計數基數CB從1調整至32。由於計數基數 CB由1開始逐步增加至32,若計數基數cb為1時,其解析度 為240 0DPI,則當計數基數cb為32時,其解析度為75DPI。 故該控制流程結束後,馬達即以7 5 DP I之速度持續轉動, 以進行預掃之快速掃描動作。第二種方式是調整脈衝計數 值PCN,固定計數基數CB。即令計數基數CB固定,而將脈 衝計數值PCN由大變小依序調整。而第三種方式是同時調 整脈衝計數值PCN與計數基數CB。 [發明效果]Case No. 89116317 V. Description of the invention (14) Divide the accumulated base value BA and skip to step S1120; Step S1116: Detect whether the exposure trigger signal CVTR has a negative edge change, if not, skip to step S1120, and if there is, execute Next step; 'Step S1118: Send a synchronous motor trigger signal STR, and clear the base number accumulation value BA, and skip to step S11 2 0; Step SI 1 20 · Whether to end the control, if not, skip to step S1 丨, if yes End. According to the above control flow, as long as the host fills in the appropriate complex array pulse count value PCN and counting base CB to the accelerometer, then as long as each detection exposure trigger signal CVTR is High, a set of pulse count values pCN are sequentially loaded. And counting base CB, you can surely control the start of the motor. The pulse count value PCN and the count base CB filled in the accelerometer can have different changes, which are described as follows: The first method is to fix the pulse count PCN and adjust the count base CB. That is, the pulse count value pcn is fixed, and the count base CB is adjusted from small to large in order, for example, the count base CB is adjusted from 1 to 32. Since the counting base CB gradually increases from 1 to 32, if the counting base cb is 1, its resolution is 240 0 DPI, and when the counting base cb is 32, its resolution is 75 DPI. Therefore, after the control process is over, the motor will continue to rotate at a speed of 7 5 DP I to perform the pre-scanning fast scanning action. The second method is to adjust the pulse count PCN and fix the count base CB. That is, the count base CB is fixed, and the pulse count PCN is adjusted from large to small in order. The third method is to adjust the pulse count value PCN and the count base CB at the same time. [Inventive effect]

第18頁 498599Page 18 498599

本發明步進馬達控制系統因只需3個控制泉 控制掃描器之步進馬達的速,,包括正常轉二數?可 動,同時還支援回跡動作,且參數設計簡單。 二j = 3組參數,可節省1(;之(^^數。再者,當本發明之步進使馬用 達控制糸統應用於所謂線速率(丨丨n e 一 r a七e )掃描器時,例 如C I S掃描器,僅需將參考頻率除以3,或是將脈衝計數值 PCN乘以3,並且遮蔽兩個CVTR信號,即可適用上述之控制 方法。 以上所述僅為一種實施例,並不因此限定本發明之範 圍,只要不脫離本發明之要旨,該行業者 < 進行各種變形 或變更。The stepping motor control system of the present invention requires only three control springs to control the speed of the stepping motor of the scanner, including the normal rotation of two? It is movable, and also supports backtracking, and the parameter design is simple. Two j = 3 sets of parameters can save 1 (; of (^^ number. Moreover, when the stepping of the present invention makes the Ma Yongda control system applied to the so-called line rate (丨 丨 ne-ra-7e) scanner In the case of a CIS scanner, for example, only the reference frequency is divided by 3, or the pulse count value PCN is multiplied by 3, and two CVTR signals are masked, and the above control method is applicable. The above description is only an embodiment. It does not limit the scope of the present invention, as long as it does not deviate from the gist of the present invention, those skilled in the art will make various modifications or changes.

498599498599

-------- 89116317 圖式簡單說明 [圖式之簡單說明] 圖1顯示本發明步進馬達控制系統所產 信號的時序圖。 馬達觸發 時 圖2顯示本發明步進馬達控制系統之 其移動機架之位置示意圖。 回跡流程控 制 圖 圖3顯示本發明步進馬達控制 系統之主動作控制流程 回跡控制時之減 回跡控制時之反 、 圖4顯示本發明步進馬達控制系統在 速狀態的控制流程圖。 圖5顯示本發明步進馬達控制系統在 轉加速狀態的控制流程圖。 系統在回跡控制時之反 系統在回跡控制時之反 系統在回跡控制時之正 圖6顯示本發明步進馬達控制 轉疋速狀態的控制流程圖。 圖7顯示本發明步進馬達控制 轉減速狀態的控制流程圖。 圖8顯示本發明步進馬達控制 轉加速狀態的控制流程圖。 統在回跡控制時之正 系統在回跡控制時之馬 ^圖9顯示本發明步進馬達控制系 轉定速狀態的控制流程圖。 、 圖1 0顯示本發明步進馬達控制 達的速度與時間的關係圖。 圖11顯示本發明副程序A的控制流程圖。 定迷m不本發明步進馬達控制系統預掃加速時之正轉 疋連狀怨的控制流程圖。 了〈止轉-------- 89116317 Brief description of the drawings [Simplified description of the drawings] Fig. 1 shows a timing chart of signals produced by the stepping motor control system of the present invention. When the motor is triggered FIG. 2 is a schematic diagram showing the position of the moving frame of the stepping motor control system of the present invention. Tracking process control diagram. Figure 3 shows the main action control flow of the stepping motor control system of the present invention. In the case of backtracking control, the decremental backtracking control is reversed. Figure 4 shows the control flow chart of the stepping motor control system of the present invention in the fast state. . Fig. 5 shows a control flow chart of the stepping motor control system of the present invention in a state of rotation acceleration. The reverse of the system in the backtracking control The reverse of the system in the backtracking control The positive of the system in the backtracking control Fig. 6 shows a control flow chart of the stepping motor control of the present invention in the turning speed state. Fig. 7 shows a control flowchart of the stepping motor controlling the rotation and deceleration state of the present invention. FIG. 8 shows a control flowchart of the stepping motor controlling rotation acceleration state of the present invention. Positive during the tracking control system. Figure 9 shows the control flow chart of the stepping motor control system of the present invention in a constant speed state. Fig. 10 shows the relationship between the speed and time controlled by the stepping motor of the present invention. FIG. 11 shows a control flowchart of the subroutine A of the present invention. Ding Mi is not a control flow chart of the forward rotation of the stepping motor control system according to the present invention during pre-scan acceleration. <Stop rotation

Claims (1)

曰 修正 六、申請專利範圍 數值;CN一、種广/1器之步進馬達的控制方法,係利用脈衝計 栌制% ϋ H數⑶、以及定速期間Mcsi等三組參數來 技制馬達之轉動,該控制方法包含下列步驟: 產生同步馬達觸發信號,即對應於該掃描 1拉組所產生之每個曝光脈衝CVTR產 ° ; 號,並清除一基數累加值; b馬達觸0 述A: ΪI Ϊ ί數累加值’即對應於每個參考脈衝,將前 迩土數累加值加上前述計數基數CB ; 或等達觸發信號,當前述基數累加值大於 i 數值啊,送出-非同步馬達觸發信 就,並α除该基數累加值;以及, 跡控ί镇測到前述掃描器之記憶體緩衝器已滿時,啟動回 達的2控請所記載的掃描器之步進馬 —2中則述回跡控制包含下列步驟: 基數cb,D正—暫存計數基數tcb設定成前述計數 丞数,並將正轉旗標致能; 減速控制,執杆p e 號,並將前述暫存計;出非同步馬達觸發信 存計數基㈣;數⑽減1,並重複該步驟至該暫 反轉加速控制,脸Α、1、 暫存計數基數TCB加卜:f正轉旗標取消致能’且將前述 觸發信號,並重複哕牛ί執仃副程序A以輸出非同步馬達 基數CB ; ^ v驟至該暫存計數基數TCB等於計數 第21頁 498599Amendment VI. The value of the patent application range; CN I. The control method of stepper motors of various types and wide range is based on the use of a pulse meter to control% ϋ H number ⑶, and Mcsi to determine the motor during the fixed speed. The control method includes the following steps: generating a synchronous motor trigger signal, that is, corresponding to each exposure pulse CVTR produced by the scan 1 pull group; and clearing a base accumulation value; b the motor touches 0 A : ΪI Ϊ ίAccumulated value of the number 'means corresponding to each reference pulse, add the accumulated value of the former soil number to the aforementioned counting base CB; or wait until the trigger signal, when the accumulated value of the aforementioned base is greater than i, send out-asynchronous The motor triggers the letter and divides the accumulated value by α; and, when the trace control detects that the memory buffer of the foregoing scanner is full, it starts the scanner's stepping horse of the 2-control request recorded— The traceback control described in 2 includes the following steps: cardinality cb, D positive—temporarily stores the counting cardinality tcb to the aforementioned counting threshold and enables the forward rotation flag; deceleration control, holding the pe number, and temporarily storing the aforementioned Count; The synchronous motor triggers the storage of the counting base; the number decreases by 1 and the process is repeated until the temporary reverse acceleration control, face A, 1, the temporary counting base TCB is added: f the forward rotation flag is cancelled and enabled 'and The aforementioned trigger signal, and repeat the execution of the subroutine A to output the asynchronous motor base CB; ^ v to the temporary counting base TCB equal to the count page 498599 案號 89116317 六、申請專利範圍 __ 反轉定速控制,執行副程序A以輸出非同牛 信號,並重複該步驟至前述定速期間Mcs丨所儲&quot;&quot;#…、&quot;觸發 反轉減速控制,執行副程序A以輸出非同牛子之人數, 信號’並將暫存計數基數TCB減1,並重複該步^、、、觸發 數基數TCB為0 ; 少驟该暫存計 正轉加速控制,即當收到一啟動信號後, 旗標致能,並將暫存計數基數ΊΧβ加1,執行5 &quot;轉 出非同步馬達觸發信號,並重複該步;m輸 TCB等於計數基數CB ;以及, 為暫存計數基數 信號驟;=,以輸出非同步馬達觸發 1中,jΓ驟至丽述疋速期間MCSI所儲存之次數· /、 則述副程序A包含下列步驟: ’ 值加上則迷暫存計數基數TCB ; ^ 產生非同步馬達觸發信號,即當砉置 :)專於前述脈衝計數航N時 ,數累加值大於 旎,並清除該基數累加值。 非同步馬達觸發信 達的控制n ί=,第2項所記载的掃描器之步進馬 數CB乘上—整數基:同==脈衝計數值PCN與計數基 減迷度。 土 〇 °°正别述回跡控制時的加速度與 達的控制::凊J:J圍第3項所記載的掃描器之步進馬 可應用於該掃描u加速控制程序’該加速控制程序 .__ ,時之馬達啟動控制,以及後退時之Case No. 89116317 VI. Scope of patent application __ Reverse fixed speed control, execute subroutine A to output non-identical signals, and repeat this step to the aforementioned fixed speed period Mcs 丨 stored &quot; &quot;# ... 、 &quot; trigger Reverse the deceleration control, execute the subroutine A to output the number of people who are not the same, signal 'and decrement the temporary count base TCB by 1, and repeat this step ^ ,,, and trigger base TCB is 0; Forward rotation acceleration control, that is, when a start signal is received, the flag is enabled, and the temporary counting base number χβ is increased by 1, and 5 is executed to turn out the asynchronous motor trigger signal and repeat this step; m input TCB equals the count Cardinality CB; and, is the temporary storage of the cardinality signal step; =, to output the number of times MCSI is stored during the period from jΓ to Lishu in the asynchronous motor trigger 1, /, then the subroutine A includes the following steps: ' If the value is added, the counting base TCB is temporarily stored; ^ Generates a non-synchronous motor trigger signal, that is, when it is set to :) specialize in the aforementioned pulse counting line N, the accumulated value of the number is greater than 旎 and the accumulated value of the base is cleared. Control of non-synchronous motor triggering signal n ί =, stepping horse number CB of the scanner described in item 2 multiplied by integer base: same == pulse count value PCN and count base. Soil 0 °° Control of acceleration and reach during traceback control:: 凊 J: J The stepping horse of the scanner described in item 3 can be applied to the scan u acceleration control program 'the acceleration control program .__, motor start control at the time, and 498599 修正 案號89116317 生 曰 日 六、申請專利範圍 馬達啟動控’該加速控制程序包含·· _ 步驟一 ··填入複數組脈衝計數值PCN與計數基數CB至 ~加速控制表; . 步驟二··從上述加速控制表載入一組脈衝計數值PCN 與計數基⑽,並清除基數累加麵; m 、f _步驟三:若偵測到曝光脈衝CVTR,則輸出前述同步馬 發信號,並載入下一組脈衝計數值PCN與計數基數 ’同時清除基數累加值βΑ ; 加上叙ΐΐ貞測到參考脈衝時,將前述基數累加腿 °十數基數CB,並於前述基數累加值ΒΑ大於戋等於 別述脈衝計數值PCN時,送出_ 人於次專於 清除該基數累加值Λ及非同步馬達觸發信號,並 束。步驟五:重複步驟三與步驟四至該加速控制程序結 達的圍第3項所記載的掃描器之步進馬 將前述參考脈衝之頻率除以3,/曰奋於f逮率知描時,係 CVTR信號。 ’、 並且遮蔽兩個曝光脈衝 達據申請專利範圍第3項所記載的掃描哭之牛推邑 達的控制方法,其中該控制方法 抱-之步進馬 將所述脈衝計數值PCN乘以3 ^齡 '、率知描時’係 信號。 並且遮蔽兩個曝光脈衝CVTR 7· 一種掃描器之步進馬達的 少 數值PCN、計數美數u +工制方法,係利用脈衝計 t數基數、以及定速期間mgsi等三組參數來 第23頁 _^年月 曰 申請專利範ϊ &quot; ------- 控制馬達之轉動,該控制方法包含下列步驟·· 產生同步馬達觸發信號, 應 測模組所產生之每個曝光脈衝產生:同;::=影:感 產生非同步馬達觸發信號,即對’、、、達觸考“吕唬, 衝產生—非同步馬達觸發信冑;以及於—複數個參考脈 當偵測到前述掃描器之記憶 跡控制; 」命匕渴時,啟動回 ,t前述複數個參考m衝 述計數基數CB所決定。 衝冲數值PCN及刖 8.根據申料利範圍第7項所記載 建的控,其中前述回跡控制包含下列步°驟 基數CB ; 仔彳數基數TCB没定成前述計數 正轉減速控制,勃彳千5 4 t 信號,並將前述暫出非同步馬達觸發 地計數基數CB所儲存之次&quot;數;;,並重硬該步驟至丽 反轉加速控制,鸱诰、+、^ A 副程序A以輸出非同步馬達觸存^數基數TCB加1,且執行 迷計數基脚所儲存並重複該步驟至前 反轉定速控制,勃耔Μ &gt; + a 信號,並重複該步驟以輸出非同步馬達觸發 反轉減速控制,執mA期間⑹^所儲存之次數; 信號,並將暫存計數二田^?以輸出非同步馬達觸發 數基數CB戶斤儲存之/數 減1,並重複該步驟至前述計498599 Amendment No. 89116317 Appeared on the sixth day of the patent application scope Motor start control 'The acceleration control program contains ... Step 1 Fill in the complex array pulse count value PCN and count base CB to ~ acceleration control table; Step 2 Load a set of pulse count values PCN and count basis ⑽ from the acceleration control table, and clear the base accumulation surface; m, f _ Step 3: If the exposure pulse CVTR is detected, the aforementioned synchronous horse signal is output, and Load the next set of pulse count values PCN and counting bases' while clearing the bases cumulative value βA; plus when Xu Jianzhen detects the reference pulse, add the bases to the base of the decimal base ° CB, and the bases cumulative value BAA is greater than When 戋 is equal to the other-mentioned pulse count value PCN, the _ person is dedicated to clearing the accumulated value of the base Λ and the trigger signal of the asynchronous motor, and the beam is tied. Step 5: Repeat step 3 and step 4 until the stepping horse of the scanner described in item 3 of the acceleration control program is completed. Divide the frequency of the aforementioned reference pulse by 3. CVTR signal. ', And masking two exposure pulses according to the control method of scanning the crying ox pushing the yupta as described in item 3 of the patent application scope, wherein the control method holds the stepping horse to multiply the pulse count value PCN by 3 ^ 'Age', the rate of the time of tracing 'is a signal. And masking two exposure pulses CVTR 7 · A scanner's stepping motor's minority value PCN, counting beauty number u + manufacturing method, using three sets of parameters such as the pulse meter t number base and mgsi during the constant speed to 23rd Page_ ^ Yueyue said patent application &quot; ------- Control the rotation of the motor, the control method includes the following steps: · Generate a synchronous motor trigger signal, each exposure pulse generated by the test module is generated : Same; :: = Shadow: The sensor generates a non-synchronous motor trigger signal, that is, it responds to the ",,,,, and" touch ", and generates a non-synchronous motor trigger signal; and-a plurality of reference pulses when detected The memory trace control of the aforementioned scanner; "When the dagger is thirsty, start back, t said a plurality of reference m and determined by counting the base CB. Punch value PCN and 刖 8. The control built according to item 7 of the claim range, where the aforementioned traceback control includes the following steps: the base CB; the base TCB is not set to the aforementioned forward rotation deceleration control,彳 5 5 5 4 t signal, and count the number of times stored in the base CB temporarily triggered by the asynchronous motor mentioned above; and harden this step to Li reverse acceleration control, 鸱 诰, +, ^ A vice Program A outputs the non-synchronized motor touch base TCB plus 1 and executes the steps stored in the fan counting foot and repeats this step to the forward reverse constant speed control, the signal 耔 耔 M &gt; + a, and repeats this step to Output the asynchronous motor trigger reverse deceleration control, ⑹ ^ the number of times stored during the mA execution period; signal, and temporarily store the count Ertian ^? To output the asynchronous motor trigger number base CB / kg minus 1 / number stored, And repeat this step until 第24頁 案號 89116317 修正 曰 六、申請專利範圍 _ 正轉加速控制,將暫左&amp; ^ # 序Α以輸出非同步馬達觸發信號,土數1 ’且執行副程 數基數CB所儲存之次數;^,’、’稷“步驟至前述計 正轉定速控制,執行副程 信號,並重複該步驟至前述+ 輸出非同步馬達觸發 其中,前述副程序Α包含下列步驟··省存之-數, 產生非同步馬達觸發信&amp;,即對應於複數個 產生一非同步馬達觸發作垆甘士二 4考脈衝 前述脈衝計數值PCN及前^數基數數個參考脈衝由 同時乘上一整數3 衝計數值PCN與計數基數CB 減速度。 1 ’可调整前述回跡控制時的加速度與 1 〇.根據申請專利範圍第q 達的控制方法,還包含一加、亲」:己f的知描器之步進馬 可應用於該掃描写預掃時之ίϋ序’該加速控制程序 馬達啟動控:該加速;;;;=動控制’以及後退時之 一加表填入複數組脈衝計數值pcn與計數基數⑽ 與計從上述加速㈣表載人—組脈料數訊N 達觸發H,===到曝光脈衝CVTR,則產生前述同步馬 CB ; 並載入下一組脈衝計數值PCN與計數基數 第25頁 498599 六、 __案號 89116317 申請專利範圍Case No. 89116317 on page 24 Amendment VI. Scope of patent application _ Forward rotation acceleration control, temporarily left &amp; ^ # sequence A to output the asynchronous motor trigger signal, the number of soil 1 'and the number of bases CB stored in the execution of the sub-pass number Number of times; ^, ',' 稷 "steps to the aforementioned forward rotation control and constant speed control, execute the sub-stroke signal, and repeat this step to the aforementioned + output asynchronous motor trigger, where the aforementioned sub-program A includes the following steps ... -Count, generate the asynchronous motor trigger letter &amp; that is, corresponding to a plurality of asynchronous motor triggers generated as the Gansu II 4 test pulses, the aforementioned pulse count value PCN and the first base number of reference pulses are multiplied by one at the same time. Integer 3 decrement count value PCN and count base CB deceleration. 1 'Adjustment of the aforementioned acceleration and 1 in the backtracking control can be adjusted. 0. According to the control method of the patent application, the control method can also include one plus, close ":: f 的The stepping horse of the scanner can be applied to the sequence of the scanning and pre-scanning: the acceleration control program, the motor start control: the acceleration; ;;; The counting value pcn and the counting base number and the counting load from the above-mentioned acceleration table show the number of pulses N of the group of pulses reaches the trigger H, === to the exposure pulse CVTR, the aforementioned synchronous horse CB is generated; and the next set of pulse meters is loaded Numerical PCN and counting base page 25498599 VI. __ Case No. 89116317 Patent Application Scope 步驟四:若偵測到複數個參者 1 衝時·,客a 馬達觸發信號,其中前述複數個表 二座生一非同步 值PCN及前述計數基數CB決定;/及,脈衝由前述脈衝計數 束 步驟五:重複步 主该加速控制程序結 11 ·根據申請專利範圍第9項所 達的控制方法,其中該控制方法應用勺掃描器之步進馬 將前述參考脈衝之頻率除以3, ;線速率掃描時,係 CVTR信號。 &quot;遮蔽兩個曝光脈衝 、12 ·根據申請專利範圍第g項所印截 達的控制方法,其中該控制方法用勺掃描器之步進馬 將前述脈衝計數值PCN乘以3,/ j線速率掃描時,係 信號。 、,遮敝兩個曝光脈衝CVTRStep 4: If a plurality of participants 1 are detected, a passenger a motor trigger signal, wherein the aforementioned plurality of tables generates an asynchronous value PCN and the aforementioned counting base CB are determined; and, and the pulse is counted by the aforementioned pulse Step 5: Repeat the acceleration control program step 11 · According to the control method achieved in item 9 of the patent application scope, wherein the control method uses a stepping horse of a spoon scanner to divide the frequency of the aforementioned reference pulse by 3; When the line rate is scanned, it is a CVTR signal. &quot; Mask two exposure pulses, 12 · Control method printed according to item g of the patent application range, wherein the control method multiplies the aforementioned pulse count value PCN by a stepper of a spoon scanner by 3, / j line It is a signal during rate sweep. ,, Block two exposure pulses CVTR
TW89116317A 2000-08-11 2000-08-11 Control system and method for motor TW498599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW89116317A TW498599B (en) 2000-08-11 2000-08-11 Control system and method for motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW89116317A TW498599B (en) 2000-08-11 2000-08-11 Control system and method for motor

Publications (1)

Publication Number Publication Date
TW498599B true TW498599B (en) 2002-08-11

Family

ID=21660755

Family Applications (1)

Application Number Title Priority Date Filing Date
TW89116317A TW498599B (en) 2000-08-11 2000-08-11 Control system and method for motor

Country Status (1)

Country Link
TW (1) TW498599B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI448075B (en) * 2008-09-12 2014-08-01 Foxnum Technology Co Ltd Pulse generate device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI448075B (en) * 2008-09-12 2014-08-01 Foxnum Technology Co Ltd Pulse generate device

Similar Documents

Publication Publication Date Title
SU1087064A3 (en) Method for making screen printing forms
TW498599B (en) Control system and method for motor
JPS6223495B2 (en)
DE3216213A1 (en) METHOD AND SYSTEM FOR IMAGE REPRODUCTION
JP2009232174A (en) Image pickup element
EP1335054A3 (en) Method and device for measuring weft thread, particularly in electronic circular knitting machines
CN1178375C (en) Control method of step motor
KR100737557B1 (en) Stepping motor control circuit, electronic camera, and stepping motor control method
US4408327A (en) Method and circuit for synchronization
US6714606B1 (en) Integrated services digital broadcasting deinterleaver architecture
US11516413B2 (en) Adaptive readout from an optical biometric sensor to a host device
JP5278072B2 (en) Image reading apparatus and image reading method
JPH07185165A (en) Sewing machine device
JP2018137631A (en) Solid-state imaging device and control method of the same
SU529470A1 (en) Device for counting the working strokes of the press
JP3390628B2 (en) Memory controller
JP2008118249A5 (en)
JP6589398B2 (en) Sheet processing apparatus, sheet processing apparatus control program, and sheet processing apparatus control method
GB2079513A (en) Phase synchronisation of digitally synthesised notes of a musical instrument
DE3333805C2 (en)
IT8721545A0 (en) DRIVING DEVICE FOR TUBE BARS IN CROCHET GALLON FRAMES.
JPS6036950B2 (en) paper handling device
RU2001365C1 (en) Timber pile drying chamber
SU617825A1 (en) Pulse time selector
JPS5257900A (en) Stacker mecahnism

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees